From 71b447b8b469fc71989fabc47f6a3fcea478a127 Mon Sep 17 00:00:00 2001 From: David Fugate Date: Sun, 25 Sep 2011 12:03:31 -0700 Subject: [PATCH] Removed sputnik_converted. We now take what's under external/contributions/Google/* directly. --- test/suite/SputnikGlobalScope.js | 366 --- .../7.2_White_Space/S7.2_A1.1_T1.js | 56 - .../7.2_White_Space/S7.2_A1.1_T2.js | 38 - .../7.2_White_Space/S7.2_A1.2_T1.js | 56 - .../7.2_White_Space/S7.2_A1.2_T2.js | 39 - .../7.2_White_Space/S7.2_A1.3_T1.js | 56 - .../7.2_White_Space/S7.2_A1.3_T2.js | 39 - .../7.2_White_Space/S7.2_A1.4_T1.js | 38 - .../7.2_White_Space/S7.2_A1.4_T2.js | 39 - .../7.2_White_Space/S7.2_A1.5_T1.js | 38 - .../7.2_White_Space/S7.2_A1.5_T2.js | 39 - .../7.2_White_Space/S7.2_A2.1_T1.js | 36 - .../7.2_White_Space/S7.2_A2.1_T2.js | 31 - .../7.2_White_Space/S7.2_A2.2_T1.js | 36 - .../7.2_White_Space/S7.2_A2.2_T2.js | 31 - .../7.2_White_Space/S7.2_A2.3_T1.js | 36 - .../7.2_White_Space/S7.2_A2.3_T2.js | 31 - .../7.2_White_Space/S7.2_A2.4_T1.js | 36 - .../7.2_White_Space/S7.2_A2.4_T2.js | 31 - .../7.2_White_Space/S7.2_A2.5_T1.js | 31 - .../7.2_White_Space/S7.2_A2.5_T2.js | 31 - .../7.2_White_Space/S7.2_A3.1_T1.js | 36 - .../7.2_White_Space/S7.2_A3.1_T2.js | 33 - .../7.2_White_Space/S7.2_A3.2_T1.js | 36 - .../7.2_White_Space/S7.2_A3.2_T2.js | 33 - .../7.2_White_Space/S7.2_A3.3_T1.js | 36 - .../7.2_White_Space/S7.2_A3.3_T2.js | 33 - .../7.2_White_Space/S7.2_A3.4_T1.js | 36 - .../7.2_White_Space/S7.2_A3.4_T2.js | 33 - .../7.2_White_Space/S7.2_A3.5_T1.js | 36 - .../7.2_White_Space/S7.2_A3.5_T2.js | 33 - .../7.2_White_Space/S7.2_A4.1_T1.js | 36 - .../7.2_White_Space/S7.2_A4.1_T2.js | 33 - .../7.2_White_Space/S7.2_A4.2_T1.js | 36 - .../7.2_White_Space/S7.2_A4.2_T2.js | 33 - .../7.2_White_Space/S7.2_A4.3_T1.js | 36 - .../7.2_White_Space/S7.2_A4.3_T2.js | 33 - .../7.2_White_Space/S7.2_A4.4_T1.js | 36 - .../7.2_White_Space/S7.2_A4.4_T2.js | 33 - .../7.2_White_Space/S7.2_A4.5_T1.js | 36 - .../7.2_White_Space/S7.2_A4.5_T2.js | 33 - .../7.2_White_Space/S7.2_A5_T1.js | 9 - .../7.2_White_Space/S7.2_A5_T2.js | 9 - .../7.2_White_Space/S7.2_A5_T3.js | 9 - .../7.2_White_Space/S7.2_A5_T4.js | 9 - .../7.2_White_Space/S7.2_A5_T5.js | 9 - .../7.3_Line_Terminators/S7.3_A1.1_T1.js | 56 - .../7.3_Line_Terminators/S7.3_A1.1_T2.js | 35 - .../7.3_Line_Terminators/S7.3_A1.2_T1.js | 56 - .../7.3_Line_Terminators/S7.3_A1.2_T2.js | 28 - .../7.3_Line_Terminators/S7.3_A1.3.js | 39 - .../7.3_Line_Terminators/S7.3_A1.4.js | 41 - .../7.3_Line_Terminators/S7.3_A2.1_T1.js | 12 - .../7.3_Line_Terminators/S7.3_A2.1_T2.js | 13 - .../7.3_Line_Terminators/S7.3_A2.2_T1.js | 12 - .../7.3_Line_Terminators/S7.3_A2.2_T2.js | 9 - .../7.3_Line_Terminators/S7.3_A2.3.js | 12 - .../7.3_Line_Terminators/S7.3_A2.4.js | 12 - .../7.3_Line_Terminators/S7.3_A3.1_T1.js | 9 - .../7.3_Line_Terminators/S7.3_A3.1_T2.js | 9 - .../7.3_Line_Terminators/S7.3_A3.1_T3.js | 11 - .../7.3_Line_Terminators/S7.3_A3.2_T1.js | 9 - .../7.3_Line_Terminators/S7.3_A3.2_T2.js | 9 - .../7.3_Line_Terminators/S7.3_A3.2_T3.js | 9 - .../7.3_Line_Terminators/S7.3_A3.3_T1.js | 9 - .../7.3_Line_Terminators/S7.3_A3.3_T2.js | 9 - .../7.3_Line_Terminators/S7.3_A3.4_T1.js | 9 - .../7.3_Line_Terminators/S7.3_A3.4_T2.js | 9 - .../7.3_Line_Terminators/S7.3_A4_T1.js | 21 - .../7.3_Line_Terminators/S7.3_A4_T2.js | 21 - .../7.3_Line_Terminators/S7.3_A4_T3.js | 21 - .../7.3_Line_Terminators/S7.3_A4_T4.js | 21 - .../7.3_Line_Terminators/S7.3_A5.1_T1.js | 36 - .../7.3_Line_Terminators/S7.3_A5.1_T2.js | 38 - .../7.3_Line_Terminators/S7.3_A5.2_T1.js | 36 - .../7.3_Line_Terminators/S7.3_A5.2_T2.js | 27 - .../7.3_Line_Terminators/S7.3_A5.3.js | 36 - .../7.3_Line_Terminators/S7.3_A5.4.js | 36 - .../7.3_Line_Terminators/S7.3_A6_T1.js | 9 - .../7.3_Line_Terminators/S7.3_A6_T2.js | 9 - .../7.3_Line_Terminators/S7.3_A6_T3.js | 9 - .../7.3_Line_Terminators/S7.3_A6_T4.js | 9 - .../7.3_Line_Terminators/S7.3_A7_T1.js | 73 - .../7.3_Line_Terminators/S7.3_A7_T2.js | 73 - .../7.3_Line_Terminators/S7.3_A7_T3.js | 73 - .../7.3_Line_Terminators/S7.3_A7_T4.js | 73 - .../7.3_Line_Terminators/S7.3_A7_T5.js | 73 - .../7.3_Line_Terminators/S7.3_A7_T6.js | 73 - .../7.3_Line_Terminators/S7.3_A7_T7.js | 73 - .../7.3_Line_Terminators/S7.3_A7_T8.js | 73 - .../7.4_Comments/S7.4_A1_T1.js | 60 - .../7.4_Comments/S7.4_A1_T2.js | 29 - .../7.4_Comments/S7.4_A2_T1.js | 94 - .../7.4_Comments/S7.4_A2_T2.js | 9 - .../7.4_Comments/S7.4_A3.js | 16 - .../7.4_Comments/S7.4_A4_T1.js | 12 - .../7.4_Comments/S7.4_A4_T2.js | 31 - .../7.4_Comments/S7.4_A4_T3.js | 32 - .../7.4_Comments/S7.4_A4_T4.js | 12 - .../7.4_Comments/S7.4_A4_T5.js | 30 - .../7.4_Comments/S7.4_A4_T6.js | 30 - .../7.4_Comments/S7.4_A4_T7.js | 33 - .../7.4_Comments/S7.4_A5.js | 65 - .../7.4_Comments/S7.4_A6.js | 73 - .../7.5.1_Reserved_Words/S7.5.1_A1.1.js | 9 - .../7.5.1_Reserved_Words/S7.5.1_A1.2.js | 9 - .../7.5.1_Reserved_Words/S7.5.1_A1.3.js | 9 - .../7.5.1_Reserved_Words/S7.5.1_A2.js | 138 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.js | 9 - .../7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.js | 9 - .../S7.5.3_A1.1.js | 28 - .../S7.5.3_A1.10.js | 9 - .../S7.5.3_A1.11.js | 9 - .../S7.5.3_A1.12.js | 28 - .../S7.5.3_A1.13.js | 28 - .../S7.5.3_A1.14.js | 28 - .../S7.5.3_A1.15.js | 9 - .../S7.5.3_A1.15ns.js | 27 - .../S7.5.3_A1.16.js | 9 - .../S7.5.3_A1.17.js | 28 - .../S7.5.3_A1.18.js | 10 - .../S7.5.3_A1.18ns.js | 28 - .../S7.5.3_A1.19.js | 28 - .../S7.5.3_A1.2.js | 28 - .../S7.5.3_A1.20.js | 28 - .../S7.5.3_A1.21.js | 10 - .../S7.5.3_A1.21ns.js | 28 - .../S7.5.3_A1.22.js | 10 - .../S7.5.3_A1.22ns.js | 28 - .../S7.5.3_A1.23.js | 10 - .../S7.5.3_A1.23ns.js | 28 - .../S7.5.3_A1.24.js | 10 - .../S7.5.3_A1.24ns.js | 28 - .../S7.5.3_A1.25.js | 28 - .../S7.5.3_A1.26.js | 10 - .../S7.5.3_A1.26ns.js | 28 - .../S7.5.3_A1.27.js | 9 - .../S7.5.3_A1.28.js | 28 - .../S7.5.3_A1.29.js | 28 - .../S7.5.3_A1.3.js | 28 - .../S7.5.3_A1.30.js | 28 - .../S7.5.3_A1.31.js | 28 - .../S7.5.3_A1.4.js | 28 - .../S7.5.3_A1.5.js | 9 - .../S7.5.3_A1.6.js | 9 - .../S7.5.3_A1.7.js | 9 - .../S7.5.3_A1.8.js | 28 - .../S7.5.3_A1.9.js | 9 - .../7.6_Identifiers/S7.6_A1.2_T1.js | 32 - .../7.6_Identifiers/S7.6_A1.2_T2.js | 32 - .../7.6_Identifiers/S7.6_A1.2_T3.js | 38 - .../7.6_Identifiers/S7.6_A1.3_T1.js | 32 - .../7.6_Identifiers/S7.6_A1.3_T2.js | 32 - .../7.6_Identifiers/S7.6_A1.3_T3.js | 38 - .../7.6_Identifiers/S7.6_A2.1_T1.js | 91 - .../7.6_Identifiers/S7.6_A2.1_T2.js | 91 - .../7.6_Identifiers/S7.6_A2.1_T3.js | 91 - .../7.6_Identifiers/S7.6_A2.1_T4.js | 66 - .../7.6_Identifiers/S7.6_A4.1_T1.js | 132 - .../7.6_Identifiers/S7.6_A4.1_T2.js | 133 - .../7.6_Identifiers/S7.6_A4.2_T1.js | 160 - .../7.6_Identifiers/S7.6_A4.2_T2.js | 160 - .../7.6_Identifiers/S7.6_A4.3_T1.js | 68 - .../7.7_Punctuators/S7.7_A1.js | 38 - .../7.7_Punctuators/S7.7_A2_T1.js | 9 - .../7.7_Punctuators/S7.7_A2_T10.js | 9 - .../7.7_Punctuators/S7.7_A2_T2.js | 9 - .../7.7_Punctuators/S7.7_A2_T3.js | 9 - .../7.7_Punctuators/S7.7_A2_T4.js | 9 - .../7.7_Punctuators/S7.7_A2_T5.js | 10 - .../7.7_Punctuators/S7.7_A2_T6.js | 9 - .../7.7_Punctuators/S7.7_A2_T7.js | 9 - .../7.7_Punctuators/S7.7_A2_T8.js | 9 - .../7.7_Punctuators/S7.7_A2_T9.js | 9 - .../7.8.1_Null_Literals/S7.8.1_A1_T1.js | 31 - .../7.8.1_Null_Literals/S7.8.1_A1_T2.js | 32 - .../7.8.2_Boolean_Literals/S7.8.2_A1_T1.js | 31 - .../7.8.2_Boolean_Literals/S7.8.2_A1_T2.js | 32 - .../7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.js | 72 - .../7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.js | 72 - .../7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.js | 76 - .../7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.js | 106 - .../7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.js | 106 - .../7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.js | 71 - .../7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.js | 71 - .../7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.js | 71 - .../7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.js | 71 - .../7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.js | 56 - .../7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.js | 56 - .../7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.js | 10 - .../7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.js | 10 - .../7.8.4_String_Literals/S7.8.4_A1.1_T1.js | 10 - .../7.8.4_String_Literals/S7.8.4_A1.1_T2.js | 11 - .../7.8.4_String_Literals/S7.8.4_A1.2_T1.js | 10 - .../7.8.4_String_Literals/S7.8.4_A1.2_T2.js | 11 - .../7.8.4_String_Literals/S7.8.4_A2.1_T1.js | 35 - .../7.8.4_String_Literals/S7.8.4_A2.1_T2.js | 35 - .../7.8.4_String_Literals/S7.8.4_A2.2_T1.js | 35 - .../7.8.4_String_Literals/S7.8.4_A2.2_T2.js | 35 - .../7.8.4_String_Literals/S7.8.4_A2.3_T1.js | 35 - .../7.8.4_String_Literals/S7.8.4_A3.1_T1.js | 10 - .../7.8.4_String_Literals/S7.8.4_A3.1_T2.js | 10 - .../7.8.4_String_Literals/S7.8.4_A3.2_T1.js | 10 - .../7.8.4_String_Literals/S7.8.4_A3.2_T2.js | 10 - .../7.8.4_String_Literals/S7.8.4_A4.1_T1.js | 56 - .../7.8.4_String_Literals/S7.8.4_A4.1_T2.js | 51 - .../7.8.4_String_Literals/S7.8.4_A4.2_T1.js | 35 - .../7.8.4_String_Literals/S7.8.4_A4.2_T2.js | 131 - .../7.8.4_String_Literals/S7.8.4_A4.2_T3.js | 35 - .../7.8.4_String_Literals/S7.8.4_A4.2_T4.js | 102 - .../7.8.4_String_Literals/S7.8.4_A4.2_T5.js | 35 - .../7.8.4_String_Literals/S7.8.4_A4.2_T6.js | 160 - .../7.8.4_String_Literals/S7.8.4_A4.2_T7.js | 35 - .../7.8.4_String_Literals/S7.8.4_A4.2_T8.js | 160 - .../7.8.4_String_Literals/S7.8.4_A4.3_T1.js | 10 - .../7.8.4_String_Literals/S7.8.4_A4.3_T2.js | 10 - .../7.8.4_String_Literals/S7.8.4_A4.3_T3.js | 10 - .../7.8.4_String_Literals/S7.8.4_A4.3_T4.js | 10 - .../7.8.4_String_Literals/S7.8.4_A4.3_T5.js | 10 - .../7.8.4_String_Literals/S7.8.4_A4.3_T6.js | 10 - .../7.8.4_String_Literals/S7.8.4_A4.3_T7.js | 52 - .../7.8.4_String_Literals/S7.8.4_A5.1_T1.js | 31 - .../7.8.4_String_Literals/S7.8.4_A5.1_T2.js | 31 - .../7.8.4_String_Literals/S7.8.4_A5.1_T3.js | 31 - .../7.8.4_String_Literals/S7.8.4_A6.1_T1.js | 106 - .../7.8.4_String_Literals/S7.8.4_A6.1_T2.js | 35 - .../7.8.4_String_Literals/S7.8.4_A6.1_T3.js | 35 - .../7.8.4_String_Literals/S7.8.4_A6.1_T4.js | 10 - .../7.8.4_String_Literals/S7.8.4_A6.2_T1.js | 10 - .../7.8.4_String_Literals/S7.8.4_A6.2_T2.js | 10 - .../7.8.4_String_Literals/S7.8.4_A6.3_T1.js | 101 - .../7.8.4_String_Literals/S7.8.4_A6.4_T1.js | 10 - .../7.8.4_String_Literals/S7.8.4_A6.4_T2.js | 10 - .../7.8.4_String_Literals/S7.8.4_A7.1_T1.js | 106 - .../7.8.4_String_Literals/S7.8.4_A7.1_T2.js | 35 - .../7.8.4_String_Literals/S7.8.4_A7.1_T3.js | 35 - .../7.8.4_String_Literals/S7.8.4_A7.1_T4.js | 10 - .../7.8.4_String_Literals/S7.8.4_A7.2_T1.js | 10 - .../7.8.4_String_Literals/S7.8.4_A7.2_T2.js | 10 - .../7.8.4_String_Literals/S7.8.4_A7.2_T3.js | 10 - .../7.8.4_String_Literals/S7.8.4_A7.2_T4.js | 10 - .../7.8.4_String_Literals/S7.8.4_A7.2_T5.js | 10 - .../7.8.4_String_Literals/S7.8.4_A7.2_T6.js | 10 - .../7.8.4_String_Literals/S7.8.4_A7.3_T1.js | 101 - .../7.8.4_String_Literals/S7.8.4_A7.4_T1.js | 10 - .../7.8.4_String_Literals/S7.8.4_A7.4_T2.js | 10 - .../S7.8.5_A1.1_T1.js | 52 - .../S7.8.5_A1.1_T2.js | 71 - .../S7.8.5_A1.2_T1.js | 10 - .../S7.8.5_A1.2_T2.js | 10 - .../S7.8.5_A1.2_T3.js | 11 - .../S7.8.5_A1.2_T4.js | 11 - .../S7.8.5_A1.3_T1.js | 11 - .../S7.8.5_A1.3_T2.js | 37 - .../S7.8.5_A1.3_T3.js | 10 - .../S7.8.5_A1.3_T4.js | 37 - .../S7.8.5_A1.3_T5.js | 37 - .../S7.8.5_A1.3_T6.js | 37 - .../S7.8.5_A1.4_T1.js | 47 - .../S7.8.5_A1.4_T2.js | 71 - .../S7.8.5_A1.5_T1.js | 11 - .../S7.8.5_A1.5_T2.js | 37 - .../S7.8.5_A1.5_T3.js | 10 - .../S7.8.5_A1.5_T4.js | 37 - .../S7.8.5_A1.5_T5.js | 37 - .../S7.8.5_A1.5_T6.js | 37 - .../S7.8.5_A2.1_T1.js | 52 - .../S7.8.5_A2.1_T2.js | 72 - .../S7.8.5_A2.2_T1.js | 10 - .../S7.8.5_A2.2_T2.js | 10 - .../S7.8.5_A2.3_T1.js | 11 - .../S7.8.5_A2.3_T2.js | 37 - .../S7.8.5_A2.3_T3.js | 10 - .../S7.8.5_A2.3_T4.js | 37 - .../S7.8.5_A2.3_T5.js | 37 - .../S7.8.5_A2.3_T6.js | 37 - .../S7.8.5_A2.4_T1.js | 47 - .../S7.8.5_A2.4_T2.js | 71 - .../S7.8.5_A2.5_T1.js | 11 - .../S7.8.5_A2.5_T2.js | 37 - .../S7.8.5_A2.5_T3.js | 10 - .../S7.8.5_A2.5_T4.js | 37 - .../S7.8.5_A2.5_T5.js | 37 - .../S7.8.5_A2.5_T6.js | 37 - .../S7.8.5_A3.1_T1.js | 42 - .../S7.8.5_A3.1_T2.js | 42 - .../S7.8.5_A3.1_T3.js | 42 - .../S7.8.5_A3.1_T4.js | 42 - .../S7.8.5_A3.1_T5.js | 42 - .../S7.8.5_A3.1_T6.js | 42 - .../S7.8.5_A3.1_T7.js | 32 - .../S7.8.5_A3.1_T8.js | 32 - .../S7.8.5_A3.1_T9.js | 32 - .../S7.8.5_A4.1.js | 33 - .../S7.8.5_A4.2.js | 36 - .../S7.9.2_A1_T1.js | 10 - .../S7.9.2_A1_T2.js | 30 - .../S7.9.2_A1_T3.js | 11 - .../S7.9.2_A1_T4.js | 36 - .../S7.9.2_A1_T5.js | 34 - .../S7.9.2_A1_T6.js | 12 - .../S7.9.2_A1_T7.js | 39 - .../S7.9_A1.js | 54 - .../S7.9_A10_T1.js | 29 - .../S7.9_A10_T10.js | 30 - .../S7.9_A10_T11.js | 31 - .../S7.9_A10_T12.js | 33 - .../S7.9_A10_T2.js | 10 - .../S7.9_A10_T3.js | 29 - .../S7.9_A10_T4.js | 10 - .../S7.9_A10_T5.js | 31 - .../S7.9_A10_T6.js | 11 - .../S7.9_A10_T7.js | 29 - .../S7.9_A10_T8.js | 10 - .../S7.9_A10_T9.js | 30 - .../S7.9_A11_T1.js | 33 - .../S7.9_A11_T10.js | 33 - .../S7.9_A11_T11.js | 34 - .../S7.9_A11_T2.js | 34 - .../S7.9_A11_T3.js | 34 - .../S7.9_A11_T4.js | 11 - .../S7.9_A11_T5.js | 33 - .../S7.9_A11_T6.js | 34 - .../S7.9_A11_T7.js | 34 - .../S7.9_A11_T8.js | 15 - .../S7.9_A11_T9.js | 34 - .../S7.9_A2.js | 48 - .../S7.9_A3.js | 45 - .../S7.9_A4.js | 15 - .../S7.9_A5.1_T1.js | 13 - .../S7.9_A5.2_T1.js | 40 - .../S7.9_A5.3_T1.js | 13 - .../S7.9_A5.4_T1.js | 39 - .../S7.9_A5.5_T1.js | 36 - .../S7.9_A5.5_T2.js | 33 - .../S7.9_A5.5_T3.js | 33 - .../S7.9_A5.5_T4.js | 38 - .../S7.9_A5.5_T5.js | 47 - .../S7.9_A5.6_T1.js | 52 - .../S7.9_A5.6_T2.js | 53 - .../S7.9_A5.7_T1.js | 14 - .../S7.9_A5.8_T1.js | 68 - .../S7.9_A5.9_T1.js | 68 - .../S7.9_A6.1_T1.js | 32 - .../S7.9_A6.1_T10.js | 33 - .../S7.9_A6.1_T11.js | 34 - .../S7.9_A6.1_T12.js | 34 - .../S7.9_A6.1_T13.js | 34 - .../S7.9_A6.1_T2.js | 33 - .../S7.9_A6.1_T3.js | 33 - .../S7.9_A6.1_T4.js | 34 - .../S7.9_A6.1_T5.js | 35 - .../S7.9_A6.1_T6.js | 32 - .../S7.9_A6.1_T7.js | 33 - .../S7.9_A6.1_T8.js | 33 - .../S7.9_A6.1_T9.js | 33 - .../S7.9_A6.2_T1.js | 13 - .../S7.9_A6.2_T10.js | 14 - .../S7.9_A6.2_T2.js | 14 - .../S7.9_A6.2_T3.js | 13 - .../S7.9_A6.2_T4.js | 14 - .../S7.9_A6.2_T5.js | 13 - .../S7.9_A6.2_T6.js | 14 - .../S7.9_A6.2_T7.js | 14 - .../S7.9_A6.2_T8.js | 14 - .../S7.9_A6.2_T9.js | 13 - .../S7.9_A6.3_T1.js | 13 - .../S7.9_A6.3_T2.js | 14 - .../S7.9_A6.3_T3.js | 15 - .../S7.9_A6.3_T4.js | 14 - .../S7.9_A6.3_T5.js | 14 - .../S7.9_A6.3_T6.js | 15 - .../S7.9_A6.3_T7.js | 16 - .../S7.9_A6.4_T1.js | 12 - .../S7.9_A6.4_T2.js | 12 - .../S7.9_A7_T1.js | 31 - .../S7.9_A7_T2.js | 30 - .../S7.9_A7_T3.js | 31 - .../S7.9_A7_T4.js | 31 - .../S7.9_A7_T5.js | 33 - .../S7.9_A7_T6.js | 31 - .../S7.9_A7_T7.js | 12 - .../S7.9_A7_T8.js | 31 - .../S7.9_A7_T9.js | 32 - .../S7.9_A8_T1.js | 29 - .../S7.9_A8_T2.js | 32 - .../S7.9_A8_T3.js | 29 - .../S7.9_A8_T4.js | 32 - .../S7.9_A8_T5.js | 29 - .../S7.9_A9_T1.js | 30 - .../S7.9_A9_T2.js | 30 - .../S7.9_A9_T3.js | 31 - .../S7.9_A9_T4.js | 30 - .../S7.9_A9_T5.js | 32 - .../S7.9_A9_T6.js | 11 - .../S7.9_A9_T7.js | 12 - .../S7.9_A9_T8.js | 11 - .../S7.9_A9_T9.js | 30 - .../8.1_The_Undefined_Type/S8.1_A1_T1.js | 29 - .../8.1_The_Undefined_Type/S8.1_A1_T2.js | 41 - .../8.1_The_Undefined_Type/S8.1_A2_T1.js | 52 - .../8.1_The_Undefined_Type/S8.1_A2_T2.js | 43 - .../8.1_The_Undefined_Type/S8.1_A3.js | 32 - .../8.1_The_Undefined_Type/S8.1_A4.js | 32 - .../8.1_The_Undefined_Type/S8.1_A5.js | 39 - .../08_Types/8.2_The_Null_Type/S8.2_A1_T1.js | 33 - .../08_Types/8.2_The_Null_Type/S8.2_A1_T2.js | 33 - .../08_Types/8.2_The_Null_Type/S8.2_A2.js | 11 - .../08_Types/8.2_The_Null_Type/S8.2_A3.js | 39 - .../8.3_The_Boolean_Type/S8.3_A1_T1.js | 37 - .../8.3_The_Boolean_Type/S8.3_A1_T2.js | 91 - .../8.3_The_Boolean_Type/S8.3_A2.1.js | 9 - .../8.3_The_Boolean_Type/S8.3_A2.2.js | 9 - .../08_Types/8.3_The_Boolean_Type/S8.3_A3.js | 58 - .../08_Types/8.4_The_String_Type/S8.4_A1.js | 62 - .../08_Types/8.4_The_String_Type/S8.4_A10.js | 53 - .../08_Types/8.4_The_String_Type/S8.4_A11.js | 32 - .../08_Types/8.4_The_String_Type/S8.4_A12.js | 35 - .../8.4_The_String_Type/S8.4_A13_T1.js | 9 - .../8.4_The_String_Type/S8.4_A13_T2.js | 9 - .../8.4_The_String_Type/S8.4_A13_T3.js | 9 - .../8.4_The_String_Type/S8.4_A14_T1.js | 9 - .../8.4_The_String_Type/S8.4_A14_T2.js | 9 - .../8.4_The_String_Type/S8.4_A14_T3.js | 9 - .../08_Types/8.4_The_String_Type/S8.4_A2.js | 44 - .../08_Types/8.4_The_String_Type/S8.4_A3.js | 35 - .../08_Types/8.4_The_String_Type/S8.4_A4.js | 35 - .../08_Types/8.4_The_String_Type/S8.4_A5.js | 36 - .../08_Types/8.4_The_String_Type/S8.4_A6.1.js | 35 - .../08_Types/8.4_The_String_Type/S8.4_A6.2.js | 35 - .../08_Types/8.4_The_String_Type/S8.4_A7.1.js | 9 - .../08_Types/8.4_The_String_Type/S8.4_A7.2.js | 9 - .../08_Types/8.4_The_String_Type/S8.4_A7.3.js | 9 - .../08_Types/8.4_The_String_Type/S8.4_A7.4.js | 9 - .../08_Types/8.4_The_String_Type/S8.4_A8.js | 60 - .../8.4_The_String_Type/S8.4_A9_T1.js | 53 - .../8.4_The_String_Type/S8.4_A9_T2.js | 78 - .../8.4_The_String_Type/S8.4_A9_T3.js | 62 - .../08_Types/8.5_The_Number_Type/S8.5_A1.js | 37 - .../08_Types/8.5_The_Number_Type/S8.5_A10.js | 30 - .../8.5_The_Number_Type/S8.5_A11_T1.js | 33 - .../8.5_The_Number_Type/S8.5_A11_T2.js | 54 - .../8.5_The_Number_Type/S8.5_A12.1.js | 40 - .../8.5_The_Number_Type/S8.5_A12.2.js | 34 - .../8.5_The_Number_Type/S8.5_A13_T1.js | 43 - .../8.5_The_Number_Type/S8.5_A13_T2.js | 43 - .../8.5_The_Number_Type/S8.5_A14_T1.js | 36 - .../8.5_The_Number_Type/S8.5_A14_T2.js | 36 - .../08_Types/8.5_The_Number_Type/S8.5_A2.1.js | 35 - .../08_Types/8.5_The_Number_Type/S8.5_A2.2.js | 35 - .../08_Types/8.5_The_Number_Type/S8.5_A3.js | 44 - .../08_Types/8.5_The_Number_Type/S8.5_A4.js | 31 - .../08_Types/8.5_The_Number_Type/S8.5_A5.js | 73 - .../08_Types/8.5_The_Number_Type/S8.5_A6.js | 44 - .../08_Types/8.5_The_Number_Type/S8.5_A7.js | 44 - .../08_Types/8.5_The_Number_Type/S8.5_A8.js | 37 - .../08_Types/8.5_The_Number_Type/S8.5_A9.js | 33 - .../8.6.1_Property_Attributes/S8.6.1_A1.js | 33 - .../8.6.1_Property_Attributes/S8.6.1_A2.js | 33 - .../8.6.1_Property_Attributes/S8.6.1_A3.js | 42 - .../S8.6.2.1_A1.js | 48 - .../S8.6.2.1_A2.js | 44 - .../S8.6.2.1_A3.js | 76 - .../S8.6.2.2_A1.js | 54 - .../S8.6.2.2_A2.js | 65 - .../S8.6.2.3_A1.js | 33 - .../S8.6.2.4_A1.js | 36 - .../S8.6.2.4_A2_T1.js | 37 - .../S8.6.2.4_A2_T2.js | 61 - .../S8.6.2.4_A3.js | 60 - .../S8.6.2.5_A1.js | 45 - .../S8.6.2.5_A2_T1.js | 55 - .../S8.6.2.5_A2_T2.js | 57 - .../S8.6.2.5_A3.js | 64 - .../S8.6.2.6_A1.js | 42 - .../S8.6.2.6_A2.js | 42 - .../S8.6.2.6_A3.js | 45 - .../S8.6.2.6_A4.js | 40 - .../S8.6.2_A1.js | 89 - .../S8.6.2_A2.js | 54 - .../S8.6.2_A3.js | 35 - .../S8.6.2_A4.js | 69 - .../S8.6.2_A5_T1.js | 48 - .../S8.6.2_A5_T2.js | 48 - .../S8.6.2_A5_T3.js | 47 - .../S8.6.2_A5_T4.js | 48 - .../S8.6.2_A6.js | 44 - .../S8.6.2_A7.js | 13 - .../8.6_The_Object_Type/S8.6_A2_T1.js | 39 - .../8.6_The_Object_Type/S8.6_A2_T2.js | 44 - .../8.6_The_Object_Type/S8.6_A3_T1.js | 39 - .../8.6_The_Object_Type/S8.6_A3_T2.js | 44 - .../8.6_The_Object_Type/S8.6_A4_T1.js | 73 - .../8.7_The_Reference_Type/S8.7.1_A1.js | 44 - .../8.7_The_Reference_Type/S8.7.1_A2.js | 44 - .../8.7_The_Reference_Type/S8.7.2_A1_T1.js | 9 - .../8.7_The_Reference_Type/S8.7.2_A1_T2.js | 9 - .../8.7_The_Reference_Type/S8.7.2_A2.js | 44 - .../8.7_The_Reference_Type/S8.7.2_A3.js | 43 - .../8.7_The_Reference_Type/S8.7_A1.js | 46 - .../8.7_The_Reference_Type/S8.7_A2.js | 58 - .../8.7_The_Reference_Type/S8.7_A3.js | 45 - .../8.7_The_Reference_Type/S8.7_A4.js | 44 - .../8.7_The_Reference_Type/S8.7_A5_T1.js | 70 - .../8.7_The_Reference_Type/S8.7_A5_T2.js | 70 - .../8.7_The_Reference_Type/S8.7_A6.js | 43 - .../8.7_The_Reference_Type/S8.7_A7.js | 51 - .../08_Types/8.8_The_List_Type/S8.8_A2_T1.js | 35 - .../08_Types/8.8_The_List_Type/S8.8_A2_T2.js | 35 - .../08_Types/8.8_The_List_Type/S8.8_A2_T3.js | 35 - .../9.1_ToPrimitive/S9.1_A1_T1.js | 39 - .../9.1_ToPrimitive/S9.1_A1_T2.js | 39 - .../9.1_ToPrimitive/S9.1_A1_T3.js | 39 - .../9.1_ToPrimitive/S9.1_A1_T4.js | 39 - .../9.2_ToBoolean/S9.2_A1_T1.js | 46 - .../9.2_ToBoolean/S9.2_A1_T2.js | 41 - .../9.2_ToBoolean/S9.2_A2_T1.js | 31 - .../9.2_ToBoolean/S9.2_A2_T2.js | 31 - .../9.2_ToBoolean/S9.2_A3_T1.js | 36 - .../9.2_ToBoolean/S9.2_A3_T2.js | 36 - .../9.2_ToBoolean/S9.2_A4_T1.js | 41 - .../9.2_ToBoolean/S9.2_A4_T2.js | 41 - .../9.2_ToBoolean/S9.2_A4_T3.js | 67 - .../9.2_ToBoolean/S9.2_A4_T4.js | 67 - .../9.2_ToBoolean/S9.2_A5_T1.js | 31 - .../9.2_ToBoolean/S9.2_A5_T2.js | 31 - .../9.2_ToBoolean/S9.2_A5_T3.js | 36 - .../9.2_ToBoolean/S9.2_A5_T4.js | 36 - .../9.2_ToBoolean/S9.2_A6_T1.js | 121 - .../9.2_ToBoolean/S9.2_A6_T2.js | 121 - .../9.3.1_ToNumber_from_String/S9.3.1_A1.js | 35 - .../9.3.1_ToNumber_from_String/S9.3.1_A10.js | 33 - .../9.3.1_ToNumber_from_String/S9.3.1_A11.js | 39 - .../9.3.1_ToNumber_from_String/S9.3.1_A12.js | 38 - .../9.3.1_ToNumber_from_String/S9.3.1_A13.js | 42 - .../9.3.1_ToNumber_from_String/S9.3.1_A14.js | 31 - .../9.3.1_ToNumber_from_String/S9.3.1_A15.js | 31 - .../9.3.1_ToNumber_from_String/S9.3.1_A16.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A17.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A18.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A19.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A2.js | 305 -- .../9.3.1_ToNumber_from_String/S9.3.1_A20.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A21.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A22.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A23.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A24.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A25.js | 41 - .../9.3.1_ToNumber_from_String/S9.3.1_A26.js | 46 - .../9.3.1_ToNumber_from_String/S9.3.1_A27.js | 46 - .../9.3.1_ToNumber_from_String/S9.3.1_A28.js | 46 - .../9.3.1_ToNumber_from_String/S9.3.1_A29.js | 46 - .../9.3.1_ToNumber_from_String/S9.3.1_A30.js | 46 - .../9.3.1_ToNumber_from_String/S9.3.1_A31.js | 46 - .../9.3.1_ToNumber_from_String/S9.3.1_A32.js | 54 - .../S9.3.1_A3_T1.js | 46 - .../S9.3.1_A3_T2.js | 49 - .../S9.3.1_A4_T1.js | 66 - .../S9.3.1_A4_T2.js | 70 - .../S9.3.1_A5_T1.js | 77 - .../S9.3.1_A5_T2.js | 162 - .../S9.3.1_A5_T3.js | 81 - .../S9.3.1_A6_T1.js | 47 - .../S9.3.1_A6_T2.js | 52 - .../9.3.1_ToNumber_from_String/S9.3.1_A7.js | 33 - .../9.3.1_ToNumber_from_String/S9.3.1_A8.js | 37 - .../9.3.1_ToNumber_from_String/S9.3.1_A9.js | 40 - .../9.3_ToNumber/S9.3_A1_T1.js | 41 - .../9.3_ToNumber/S9.3_A1_T2.js | 41 - .../9.3_ToNumber/S9.3_A2_T1.js | 35 - .../9.3_ToNumber/S9.3_A2_T2.js | 35 - .../9.3_ToNumber/S9.3_A3_T1.js | 40 - .../9.3_ToNumber/S9.3_A3_T2.js | 40 - .../9.3_ToNumber/S9.3_A4.1_T1.js | 56 - .../9.3_ToNumber/S9.3_A4.1_T2.js | 56 - .../9.3_ToNumber/S9.3_A4.2_T1.js | 70 - .../9.3_ToNumber/S9.3_A4.2_T2.js | 70 - .../9.3_ToNumber/S9.3_A5_T1.js | 142 - .../9.3_ToNumber/S9.3_A5_T2.js | 142 - .../9.4_ToInteger/S9.4_A1.js | 36 - .../9.4_ToInteger/S9.4_A2.js | 37 - .../9.4_ToInteger/S9.4_A3_T1.js | 99 - .../9.4_ToInteger/S9.4_A3_T2.js | 57 - .../9.5_ToInt32/S9.5_A1_T1.js | 68 - .../9.5_ToInt32/S9.5_A2.1_T1.js | 66 - .../9.5_ToInt32/S9.5_A2.1_T2.js | 46 - .../9.5_ToInt32/S9.5_A2.2_T1.js | 86 - .../9.5_ToInt32/S9.5_A2.2_T2.js | 86 - .../9.5_ToInt32/S9.5_A2.3_T1.js | 58 - .../9.5_ToInt32/S9.5_A2.3_T2.js | 56 - .../9.5_ToInt32/S9.5_A3.1_T1.js | 36 - .../9.5_ToInt32/S9.5_A3.1_T2.js | 36 - .../9.5_ToInt32/S9.5_A3.1_T3.js | 36 - .../9.5_ToInt32/S9.5_A3.1_T4.js | 95 - .../9.5_ToInt32/S9.5_A3.2_T1.js | 36 - .../9.5_ToInt32/S9.5_A3.2_T2.js | 36 - .../9.6_ToUint32/S9.6_A1.js | 70 - .../9.6_ToUint32/S9.6_A2.1.js | 56 - .../9.6_ToUint32/S9.6_A2.2.js | 86 - .../9.6_ToUint32/S9.6_A3.1_T1.js | 36 - .../9.6_ToUint32/S9.6_A3.1_T2.js | 36 - .../9.6_ToUint32/S9.6_A3.1_T3.js | 36 - .../9.6_ToUint32/S9.6_A3.1_T4.js | 95 - .../9.6_ToUint32/S9.6_A3.2_T1.js | 36 - .../9.7_ToUint16/S9.7_A1.js | 70 - .../9.7_ToUint16/S9.7_A2.1.js | 71 - .../9.7_ToUint16/S9.7_A2.2.js | 86 - .../9.7_ToUint16/S9.7_A3.1_T1.js | 36 - .../9.7_ToUint16/S9.7_A3.1_T2.js | 36 - .../9.7_ToUint16/S9.7_A3.1_T3.js | 36 - .../9.7_ToUint16/S9.7_A3.1_T4.js | 95 - .../9.7_ToUint16/S9.7_A3.2_T1.js | 36 - .../S9.8.1_A1.js | 41 - .../S9.8.1_A10.js | 76 - .../S9.8.1_A2.js | 36 - .../S9.8.1_A3.js | 37 - .../S9.8.1_A4.js | 46 - .../S9.8.1_A6.js | 109 - .../S9.8.1_A7.js | 39 - .../S9.8.1_A8.js | 70 - .../S9.8.1_A9_T1.js | 89 - .../S9.8.1_A9_T2.js | 89 - .../9.8_ToString/S9.8_A1_T1.js | 41 - .../9.8_ToString/S9.8_A1_T2.js | 41 - .../9.8_ToString/S9.8_A2_T1.js | 31 - .../9.8_ToString/S9.8_A2_T2.js | 31 - .../9.8_ToString/S9.8_A3_T1.js | 37 - .../9.8_ToString/S9.8_A3_T2.js | 37 - .../9.8_ToString/S9.8_A4_T1.js | 38 - .../9.8_ToString/S9.8_A4_T2.js | 38 - .../9.8_ToString/S9.8_A5_T1.js | 109 - .../9.8_ToString/S9.8_A5_T2.js | 108 - .../9.9_ToObject/S9.9_A1.js | 70 - .../9.9_ToObject/S9.9_A2.js | 70 - .../9.9_ToObject/S9.9_A3.js | 57 - .../9.9_ToObject/S9.9_A4.js | 194 -- .../9.9_ToObject/S9.9_A5.js | 87 - .../9.9_ToObject/S9.9_A6.js | 56 - .../S10.1.3_A1.js | 45 - .../S10.1.3_A2.js | 52 - .../S10.1.3_A3.js | 37 - .../S10.1.3_A4_T1.js | 64 - .../S10.1.3_A4_T2.js | 57 - .../S10.1.3_A5.1_T1.js | 51 - .../S10.1.3_A5.1_T2.js | 51 - .../S10.1.3_A5.2_T1.js | 50 - .../S10.1.4_A1_T1.js | 42 - .../S10.1.4_A1_T2.js | 41 - .../S10.1.4_A1_T3.js | 44 - .../S10.1.4_A1_T4.js | 43 - .../S10.1.4_A1_T5.js | 46 - .../S10.1.4_A1_T6.js | 45 - .../S10.1.4_A1_T7.js | 47 - .../S10.1.4_A1_T8.js | 47 - .../S10.1.4_A1_T9.js | 42 - .../10.1.5_Global_Object/S10.1.5_A1.1_T1.js | 42 - .../10.1.5_Global_Object/S10.1.5_A1.1_T2.js | 72 - .../10.1.5_Global_Object/S10.1.5_A1.1_T3.js | 103 - .../10.1.5_Global_Object/S10.1.5_A1.1_T4.js | 32 - .../10.1.5_Global_Object/S10.1.5_A1.2_T1.js | 46 - .../10.1.5_Global_Object/S10.1.5_A1.2_T2.js | 76 - .../10.1.5_Global_Object/S10.1.5_A1.2_T3.js | 106 - .../10.1.5_Global_Object/S10.1.5_A1.2_T4.js | 36 - .../10.1.5_Global_Object/S10.1.5_A1.3_T1.js | 46 - .../10.1.5_Global_Object/S10.1.5_A1.3_T2.js | 76 - .../10.1.5_Global_Object/S10.1.5_A1.3_T3.js | 106 - .../10.1.5_Global_Object/S10.1.5_A1.3_T4.js | 36 - .../10.1.5_Global_Object/S10.1.5_A2.1_T1.js | 37 - .../10.1.5_Global_Object/S10.1.5_A2.1_T2.js | 49 - .../10.1.5_Global_Object/S10.1.5_A2.1_T3.js | 61 - .../10.1.5_Global_Object/S10.1.5_A2.1_T4.js | 33 - .../10.1.5_Global_Object/S10.1.5_A2.2_T1.js | 41 - .../10.1.5_Global_Object/S10.1.5_A2.2_T2.js | 53 - .../10.1.5_Global_Object/S10.1.5_A2.2_T3.js | 65 - .../10.1.5_Global_Object/S10.1.5_A2.2_T4.js | 37 - .../10.1.5_Global_Object/S10.1.5_A2.3_T1.js | 40 - .../10.1.5_Global_Object/S10.1.5_A2.3_T2.js | 52 - .../10.1.5_Global_Object/S10.1.5_A2.3_T3.js | 64 - .../10.1.5_Global_Object/S10.1.5_A2.3_T4.js | 36 - .../10.1.8_Arguments_Object/S10.1.8_A1.js | 51 - .../10.1.8_Arguments_Object/S10.1.8_A2.js | 52 - .../10.1.8_Arguments_Object/S10.1.8_A3_T1.js | 51 - .../10.1.8_Arguments_Object/S10.1.8_A3_T2.js | 65 - .../10.1.8_Arguments_Object/S10.1.8_A3_T3.js | 55 - .../10.1.8_Arguments_Object/S10.1.8_A3_T4.js | 57 - .../10.1.8_Arguments_Object/S10.1.8_A4.js | 53 - .../10.1.8_Arguments_Object/S10.1.8_A5_T1.js | 51 - .../10.1.8_Arguments_Object/S10.1.8_A5_T2.js | 66 - .../10.1.8_Arguments_Object/S10.1.8_A5_T3.js | 55 - .../10.1.8_Arguments_Object/S10.1.8_A5_T4.js | 57 - .../10.1.8_Arguments_Object/S10.1.8_A6.js | 83 - .../10.1.8_Arguments_Object/S10.1.8_A7.js | 36 - .../10.1_Definitions/S10.1.1_A1_T1.js | 34 - .../10.1_Definitions/S10.1.1_A1_T2.js | 44 - .../10.1_Definitions/S10.1.1_A1_T3.js | 32 - .../10.1_Definitions/S10.1.1_A2_T1.js | 36 - .../10.1_Definitions/S10.1.6_A1_T1.js | 35 - .../10.1_Definitions/S10.1.6_A1_T2.js | 49 - .../10.1_Definitions/S10.1.6_A1_T3.js | 35 - .../10.1_Definitions/S10.1.7_A1_T1.js | 31 - .../10.2.1_Global_Code/S10.2.1_A1_T1.js | 37 - .../10.2.1_Global_Code/S10.2.1_A1_T2.js | 37 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T1.js | 44 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T10.js | 44 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T11.js | 45 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T2.js | 45 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T3.js | 44 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T4.js | 45 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T5.js | 45 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T6.js | 45 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T7.js | 45 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T8.js | 45 - .../10.2.2_Eval_Code/S10.2.2_A1.1_T9.js | 45 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T1.js | 47 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T10.js | 48 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T11.js | 49 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T2.js | 48 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T3.js | 48 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T4.js | 49 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T5.js | 50 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T6.js | 50 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T7.js | 51 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T8.js | 50 - .../10.2.2_Eval_Code/S10.2.2_A1.2_T9.js | 50 - .../S10.2_A1.1_T1.js | 47 - .../S10.2_A1.1_T2.js | 49 - .../11.10.1_AND_Operator/S11.10.1_A1.js | 77 - .../11.10.1_AND_Operator/S11.10.1_A2.1_T1.js | 59 - .../11.10.1_AND_Operator/S11.10.1_A2.1_T2.js | 37 - .../11.10.1_AND_Operator/S11.10.1_A2.1_T3.js | 38 - .../11.10.1_AND_Operator/S11.10.1_A2.2_T1.js | 87 - .../11.10.1_AND_Operator/S11.10.1_A2.3_T1.js | 42 - .../11.10.1_AND_Operator/S11.10.1_A2.4_T1.js | 39 - .../11.10.1_AND_Operator/S11.10.1_A2.4_T2.js | 42 - .../11.10.1_AND_Operator/S11.10.1_A2.4_T3.js | 43 - .../11.10.1_AND_Operator/S11.10.1_A3_T1.1.js | 46 - .../11.10.1_AND_Operator/S11.10.1_A3_T1.2.js | 47 - .../11.10.1_AND_Operator/S11.10.1_A3_T1.3.js | 56 - .../11.10.1_AND_Operator/S11.10.1_A3_T1.4.js | 46 - .../11.10.1_AND_Operator/S11.10.1_A3_T1.5.js | 47 - .../11.10.1_AND_Operator/S11.10.1_A3_T2.1.js | 66 - .../11.10.1_AND_Operator/S11.10.1_A3_T2.2.js | 76 - .../11.10.1_AND_Operator/S11.10.1_A3_T2.3.js | 46 - .../11.10.1_AND_Operator/S11.10.1_A3_T2.4.js | 46 - .../11.10.1_AND_Operator/S11.10.1_A3_T2.5.js | 66 - .../11.10.1_AND_Operator/S11.10.1_A3_T2.6.js | 46 - .../11.10.1_AND_Operator/S11.10.1_A3_T2.7.js | 46 - .../11.10.1_AND_Operator/S11.10.1_A3_T2.8.js | 46 - .../11.10.1_AND_Operator/S11.10.1_A3_T2.9.js | 46 - .../11.10.2_XOR_Operator/S11.10.2_A1.js | 77 - .../11.10.2_XOR_Operator/S11.10.2_A2.1_T1.js | 60 - .../11.10.2_XOR_Operator/S11.10.2_A2.1_T2.js | 38 - .../11.10.2_XOR_Operator/S11.10.2_A2.1_T3.js | 37 - .../11.10.2_XOR_Operator/S11.10.2_A2.2_T1.js | 88 - .../11.10.2_XOR_Operator/S11.10.2_A2.3_T1.js | 42 - .../11.10.2_XOR_Operator/S11.10.2_A2.4_T1.js | 40 - .../11.10.2_XOR_Operator/S11.10.2_A2.4_T2.js | 42 - .../11.10.2_XOR_Operator/S11.10.2_A2.4_T3.js | 44 - .../11.10.2_XOR_Operator/S11.10.2_A3_T1.1.js | 46 - .../11.10.2_XOR_Operator/S11.10.2_A3_T1.2.js | 47 - .../11.10.2_XOR_Operator/S11.10.2_A3_T1.3.js | 56 - .../11.10.2_XOR_Operator/S11.10.2_A3_T1.4.js | 46 - .../11.10.2_XOR_Operator/S11.10.2_A3_T1.5.js | 47 - .../11.10.2_XOR_Operator/S11.10.2_A3_T2.1.js | 66 - .../11.10.2_XOR_Operator/S11.10.2_A3_T2.2.js | 76 - .../11.10.2_XOR_Operator/S11.10.2_A3_T2.3.js | 46 - .../11.10.2_XOR_Operator/S11.10.2_A3_T2.4.js | 46 - .../11.10.2_XOR_Operator/S11.10.2_A3_T2.5.js | 66 - .../11.10.2_XOR_Operator/S11.10.2_A3_T2.6.js | 46 - .../11.10.2_XOR_Operator/S11.10.2_A3_T2.7.js | 46 - .../11.10.2_XOR_Operator/S11.10.2_A3_T2.8.js | 46 - .../11.10.2_XOR_Operator/S11.10.2_A3_T2.9.js | 46 - .../11.10.3_OR_Operator/S11.10.3_A1.js | 77 - .../11.10.3_OR_Operator/S11.10.3_A2.1_T1.js | 59 - .../11.10.3_OR_Operator/S11.10.3_A2.1_T2.js | 37 - .../11.10.3_OR_Operator/S11.10.3_A2.1_T3.js | 37 - .../11.10.3_OR_Operator/S11.10.3_A2.2_T1.js | 87 - .../11.10.3_OR_Operator/S11.10.3_A2.3_T1.js | 42 - .../11.10.3_OR_Operator/S11.10.3_A2.4_T1.js | 38 - .../11.10.3_OR_Operator/S11.10.3_A2.4_T2.js | 42 - .../11.10.3_OR_Operator/S11.10.3_A2.4_T3.js | 42 - .../11.10.3_OR_Operator/S11.10.3_A3_T1.1.js | 46 - .../11.10.3_OR_Operator/S11.10.3_A3_T1.2.js | 47 - .../11.10.3_OR_Operator/S11.10.3_A3_T1.3.js | 56 - .../11.10.3_OR_Operator/S11.10.3_A3_T1.4.js | 46 - .../11.10.3_OR_Operator/S11.10.3_A3_T1.5.js | 47 - .../11.10.3_OR_Operator/S11.10.3_A3_T2.1.js | 66 - .../11.10.3_OR_Operator/S11.10.3_A3_T2.2.js | 76 - .../11.10.3_OR_Operator/S11.10.3_A3_T2.3.js | 46 - .../11.10.3_OR_Operator/S11.10.3_A3_T2.4.js | 46 - .../11.10.3_OR_Operator/S11.10.3_A3_T2.5.js | 66 - .../11.10.3_OR_Operator/S11.10.3_A3_T2.6.js | 46 - .../11.10.3_OR_Operator/S11.10.3_A3_T2.7.js | 46 - .../11.10.3_OR_Operator/S11.10.3_A3_T2.8.js | 46 - .../11.10.3_OR_Operator/S11.10.3_A3_T2.9.js | 46 - .../S11.11.1_A1.js | 77 - .../S11.11.1_A2.1_T1.js | 80 - .../S11.11.1_A2.1_T2.js | 37 - .../S11.11.1_A2.1_T3.js | 37 - .../S11.11.1_A2.1_T4.js | 31 - .../S11.11.1_A2.4_T1.js | 39 - .../S11.11.1_A2.4_T2.js | 42 - .../S11.11.1_A2.4_T3.js | 43 - .../S11.11.1_A3_T1.js | 46 - .../S11.11.1_A3_T2.js | 49 - .../S11.11.1_A3_T3.js | 36 - .../S11.11.1_A3_T4.js | 36 - .../S11.11.1_A4_T1.js | 60 - .../S11.11.1_A4_T2.js | 67 - .../S11.11.1_A4_T3.js | 60 - .../S11.11.1_A4_T4.js | 36 - .../S11.11.2_A1.js | 77 - .../S11.11.2_A2.1_T1.js | 80 - .../S11.11.2_A2.1_T2.js | 37 - .../S11.11.2_A2.1_T3.js | 37 - .../S11.11.2_A2.1_T4.js | 31 - .../S11.11.2_A2.4_T1.js | 38 - .../S11.11.2_A2.4_T2.js | 42 - .../S11.11.2_A2.4_T3.js | 43 - .../S11.11.2_A3_T1.js | 48 - .../S11.11.2_A3_T2.js | 56 - .../S11.11.2_A3_T3.js | 37 - .../S11.11.2_A3_T4.js | 36 - .../S11.11.2_A4_T1.js | 60 - .../S11.11.2_A4_T2.js | 59 - .../S11.11.2_A4_T3.js | 60 - .../S11.11.2_A4_T4.js | 36 - .../11.12_Conditional_Operator/S11.12_A1.js | 76 - .../S11.12_A2.1_T1.js | 65 - .../S11.12_A2.1_T2.js | 37 - .../S11.12_A2.1_T3.js | 37 - .../S11.12_A2.1_T4.js | 37 - .../S11.12_A2.1_T5.js | 32 - .../S11.12_A2.1_T6.js | 32 - .../S11.12_A3_T1.js | 37 - .../S11.12_A3_T2.js | 37 - .../S11.12_A3_T3.js | 37 - .../S11.12_A3_T4.js | 36 - .../S11.12_A4_T1.js | 43 - .../S11.12_A4_T2.js | 43 - .../S11.12_A4_T3.js | 43 - .../S11.12_A4_T4.js | 36 - .../11.13.1_Simple_Assignment/S11.13.1_A1.js | 77 - .../S11.13.1_A2.1_T1.js | 66 - .../S11.13.1_A2.1_T2.js | 37 - .../S11.13.1_A2.1_T3.js | 20 - .../S11.13.1_A3.1.js | 38 - .../S11.13.1_A3.2.js | 38 - .../S11.13.1_A4_T1.js | 34 - .../S11.13.1_A4_T2.js | 38 - .../S11.13.2_A1_T1.js | 87 - .../S11.13.2_A1_T10.js | 87 - .../S11.13.2_A1_T11.js | 87 - .../S11.13.2_A1_T2.js | 87 - .../S11.13.2_A1_T3.js | 87 - .../S11.13.2_A1_T4.js | 87 - .../S11.13.2_A1_T5.js | 87 - .../S11.13.2_A1_T6.js | 87 - .../S11.13.2_A1_T7.js | 87 - .../S11.13.2_A1_T8.js | 87 - .../S11.13.2_A1_T9.js | 87 - .../S11.13.2_A2.1_T1.1.js | 42 - .../S11.13.2_A2.1_T1.10.js | 42 - .../S11.13.2_A2.1_T1.11.js | 42 - .../S11.13.2_A2.1_T1.2.js | 42 - .../S11.13.2_A2.1_T1.3.js | 42 - .../S11.13.2_A2.1_T1.4.js | 42 - .../S11.13.2_A2.1_T1.5.js | 42 - .../S11.13.2_A2.1_T1.6.js | 42 - .../S11.13.2_A2.1_T1.7.js | 42 - .../S11.13.2_A2.1_T1.8.js | 42 - .../S11.13.2_A2.1_T1.9.js | 42 - .../S11.13.2_A2.1_T2.1.js | 38 - .../S11.13.2_A2.1_T2.10.js | 38 - .../S11.13.2_A2.1_T2.11.js | 38 - .../S11.13.2_A2.1_T2.2.js | 38 - .../S11.13.2_A2.1_T2.3.js | 38 - .../S11.13.2_A2.1_T2.4.js | 38 - .../S11.13.2_A2.1_T2.5.js | 38 - .../S11.13.2_A2.1_T2.6.js | 38 - .../S11.13.2_A2.1_T2.7.js | 38 - .../S11.13.2_A2.1_T2.8.js | 38 - .../S11.13.2_A2.1_T2.9.js | 38 - .../S11.13.2_A2.1_T3.1.js | 37 - .../S11.13.2_A2.1_T3.10.js | 37 - .../S11.13.2_A2.1_T3.11.js | 37 - .../S11.13.2_A2.1_T3.2.js | 37 - .../S11.13.2_A2.1_T3.3.js | 37 - .../S11.13.2_A2.1_T3.4.js | 37 - .../S11.13.2_A2.1_T3.5.js | 37 - .../S11.13.2_A2.1_T3.6.js | 37 - .../S11.13.2_A2.1_T3.7.js | 37 - .../S11.13.2_A2.1_T3.8.js | 37 - .../S11.13.2_A2.1_T3.9.js | 37 - .../S11.13.2_A2.2_T1.js | 20 - .../S11.13.2_A2.2_T10.js | 20 - .../S11.13.2_A2.2_T11.js | 20 - .../S11.13.2_A2.2_T2.js | 20 - .../S11.13.2_A2.2_T3.js | 20 - .../S11.13.2_A2.2_T4.js | 20 - .../S11.13.2_A2.2_T5.js | 20 - .../S11.13.2_A2.2_T6.js | 20 - .../S11.13.2_A2.2_T7.js | 20 - .../S11.13.2_A2.2_T8.js | 20 - .../S11.13.2_A2.2_T9.js | 20 - .../S11.13.2_A3.1_T1.js | 40 - .../S11.13.2_A3.1_T10.js | 40 - .../S11.13.2_A3.1_T11.js | 40 - .../S11.13.2_A3.1_T2.js | 40 - .../S11.13.2_A3.1_T3.js | 40 - .../S11.13.2_A3.1_T4.js | 40 - .../S11.13.2_A3.1_T5.js | 40 - .../S11.13.2_A3.1_T6.js | 40 - .../S11.13.2_A3.1_T7.js | 40 - .../S11.13.2_A3.1_T8.js | 40 - .../S11.13.2_A3.1_T9.js | 40 - .../S11.13.2_A3.2_T1.js | 40 - .../S11.13.2_A3.2_T10.js | 40 - .../S11.13.2_A3.2_T11.js | 40 - .../S11.13.2_A3.2_T2.js | 40 - .../S11.13.2_A3.2_T3.js | 40 - .../S11.13.2_A3.2_T4.js | 40 - .../S11.13.2_A3.2_T5.js | 40 - .../S11.13.2_A3.2_T6.js | 40 - .../S11.13.2_A3.2_T7.js | 40 - .../S11.13.2_A3.2_T8.js | 40 - .../S11.13.2_A3.2_T9.js | 40 - .../S11.13.2_A4.10_T1.1.js | 54 - .../S11.13.2_A4.10_T1.2.js | 55 - .../S11.13.2_A4.10_T1.3.js | 68 - .../S11.13.2_A4.10_T1.4.js | 54 - .../S11.13.2_A4.10_T2.1.js | 82 - .../S11.13.2_A4.10_T2.2.js | 96 - .../S11.13.2_A4.10_T2.3.js | 54 - .../S11.13.2_A4.10_T2.4.js | 54 - .../S11.13.2_A4.10_T2.5.js | 82 - .../S11.13.2_A4.10_T2.6.js | 54 - .../S11.13.2_A4.10_T2.7.js | 54 - .../S11.13.2_A4.10_T2.8.js | 54 - .../S11.13.2_A4.10_T2.9.js | 54 - .../S11.13.2_A4.11_T1.1.js | 54 - .../S11.13.2_A4.11_T1.2.js | 55 - .../S11.13.2_A4.11_T1.3.js | 68 - .../S11.13.2_A4.11_T1.4.js | 54 - .../S11.13.2_A4.11_T2.1.js | 82 - .../S11.13.2_A4.11_T2.2.js | 96 - .../S11.13.2_A4.11_T2.3.js | 54 - .../S11.13.2_A4.11_T2.4.js | 54 - .../S11.13.2_A4.11_T2.5.js | 82 - .../S11.13.2_A4.11_T2.6.js | 54 - .../S11.13.2_A4.11_T2.7.js | 54 - .../S11.13.2_A4.11_T2.8.js | 54 - .../S11.13.2_A4.11_T2.9.js | 54 - .../S11.13.2_A4.1_T1.1.js | 54 - .../S11.13.2_A4.1_T1.2.js | 55 - .../S11.13.2_A4.1_T1.3.js | 68 - .../S11.13.2_A4.1_T1.4.js | 54 - .../S11.13.2_A4.1_T2.1.js | 82 - .../S11.13.2_A4.1_T2.2.js | 96 - .../S11.13.2_A4.1_T2.3.js | 54 - .../S11.13.2_A4.1_T2.4.js | 54 - .../S11.13.2_A4.1_T2.5.js | 82 - .../S11.13.2_A4.1_T2.6.js | 54 - .../S11.13.2_A4.1_T2.7.js | 54 - .../S11.13.2_A4.1_T2.8.js | 54 - .../S11.13.2_A4.1_T2.9.js | 54 - .../S11.13.2_A4.2_T1.1.js | 54 - .../S11.13.2_A4.2_T1.2.js | 55 - .../S11.13.2_A4.2_T1.3.js | 68 - .../S11.13.2_A4.2_T1.4.js | 54 - .../S11.13.2_A4.2_T2.1.js | 82 - .../S11.13.2_A4.2_T2.2.js | 96 - .../S11.13.2_A4.2_T2.3.js | 54 - .../S11.13.2_A4.2_T2.4.js | 54 - .../S11.13.2_A4.2_T2.5.js | 82 - .../S11.13.2_A4.2_T2.6.js | 54 - .../S11.13.2_A4.2_T2.7.js | 54 - .../S11.13.2_A4.2_T2.8.js | 54 - .../S11.13.2_A4.2_T2.9.js | 54 - .../S11.13.2_A4.3_T1.1.js | 54 - .../S11.13.2_A4.3_T1.2.js | 55 - .../S11.13.2_A4.3_T1.3.js | 68 - .../S11.13.2_A4.3_T1.4.js | 54 - .../S11.13.2_A4.3_T2.1.js | 82 - .../S11.13.2_A4.3_T2.2.js | 96 - .../S11.13.2_A4.3_T2.3.js | 54 - .../S11.13.2_A4.3_T2.4.js | 54 - .../S11.13.2_A4.3_T2.5.js | 82 - .../S11.13.2_A4.3_T2.6.js | 54 - .../S11.13.2_A4.3_T2.7.js | 54 - .../S11.13.2_A4.3_T2.8.js | 54 - .../S11.13.2_A4.3_T2.9.js | 54 - .../S11.13.2_A4.4_T1.1.js | 54 - .../S11.13.2_A4.4_T1.2.js | 55 - .../S11.13.2_A4.4_T1.3.js | 54 - .../S11.13.2_A4.4_T1.4.js | 66 - .../S11.13.2_A4.4_T2.1.js | 82 - .../S11.13.2_A4.4_T2.2.js | 54 - .../S11.13.2_A4.4_T2.3.js | 54 - .../S11.13.2_A4.4_T2.4.js | 54 - .../S11.13.2_A4.4_T2.5.js | 54 - .../S11.13.2_A4.4_T2.6.js | 94 - .../S11.13.2_A4.4_T2.7.js | 82 - .../S11.13.2_A4.4_T2.8.js | 54 - .../S11.13.2_A4.4_T2.9.js | 54 - .../S11.13.2_A4.5_T1.1.js | 54 - .../S11.13.2_A4.5_T1.2.js | 55 - .../S11.13.2_A4.5_T1.3.js | 68 - .../S11.13.2_A4.5_T1.4.js | 54 - .../S11.13.2_A4.5_T2.1.js | 82 - .../S11.13.2_A4.5_T2.2.js | 96 - .../S11.13.2_A4.5_T2.3.js | 54 - .../S11.13.2_A4.5_T2.4.js | 54 - .../S11.13.2_A4.5_T2.5.js | 82 - .../S11.13.2_A4.5_T2.6.js | 54 - .../S11.13.2_A4.5_T2.7.js | 54 - .../S11.13.2_A4.5_T2.8.js | 54 - .../S11.13.2_A4.5_T2.9.js | 54 - .../S11.13.2_A4.6_T1.1.js | 54 - .../S11.13.2_A4.6_T1.2.js | 55 - .../S11.13.2_A4.6_T1.3.js | 68 - .../S11.13.2_A4.6_T1.4.js | 54 - .../S11.13.2_A4.6_T2.1.js | 82 - .../S11.13.2_A4.6_T2.2.js | 96 - .../S11.13.2_A4.6_T2.3.js | 54 - .../S11.13.2_A4.6_T2.4.js | 54 - .../S11.13.2_A4.6_T2.5.js | 82 - .../S11.13.2_A4.6_T2.6.js | 54 - .../S11.13.2_A4.6_T2.7.js | 54 - .../S11.13.2_A4.6_T2.8.js | 54 - .../S11.13.2_A4.6_T2.9.js | 54 - .../S11.13.2_A4.7_T1.1.js | 54 - .../S11.13.2_A4.7_T1.2.js | 55 - .../S11.13.2_A4.7_T1.3.js | 68 - .../S11.13.2_A4.7_T1.4.js | 54 - .../S11.13.2_A4.7_T2.1.js | 82 - .../S11.13.2_A4.7_T2.2.js | 96 - .../S11.13.2_A4.7_T2.3.js | 54 - .../S11.13.2_A4.7_T2.4.js | 54 - .../S11.13.2_A4.7_T2.5.js | 82 - .../S11.13.2_A4.7_T2.6.js | 54 - .../S11.13.2_A4.7_T2.7.js | 54 - .../S11.13.2_A4.7_T2.8.js | 54 - .../S11.13.2_A4.7_T2.9.js | 54 - .../S11.13.2_A4.8_T1.1.js | 54 - .../S11.13.2_A4.8_T1.2.js | 55 - .../S11.13.2_A4.8_T1.3.js | 68 - .../S11.13.2_A4.8_T1.4.js | 54 - .../S11.13.2_A4.8_T2.1.js | 82 - .../S11.13.2_A4.8_T2.2.js | 96 - .../S11.13.2_A4.8_T2.3.js | 54 - .../S11.13.2_A4.8_T2.4.js | 54 - .../S11.13.2_A4.8_T2.5.js | 82 - .../S11.13.2_A4.8_T2.6.js | 54 - .../S11.13.2_A4.8_T2.7.js | 54 - .../S11.13.2_A4.8_T2.8.js | 54 - .../S11.13.2_A4.8_T2.9.js | 54 - .../S11.13.2_A4.9_T1.1.js | 54 - .../S11.13.2_A4.9_T1.2.js | 55 - .../S11.13.2_A4.9_T1.3.js | 68 - .../S11.13.2_A4.9_T1.4.js | 54 - .../S11.13.2_A4.9_T2.1.js | 82 - .../S11.13.2_A4.9_T2.2.js | 96 - .../S11.13.2_A4.9_T2.3.js | 54 - .../S11.13.2_A4.9_T2.4.js | 54 - .../S11.13.2_A4.9_T2.5.js | 82 - .../S11.13.2_A4.9_T2.6.js | 54 - .../S11.13.2_A4.9_T2.7.js | 54 - .../S11.13.2_A4.9_T2.8.js | 54 - .../S11.13.2_A4.9_T2.9.js | 54 - .../11.14_Comma_Operator/S11.14_A1.js | 77 - .../11.14_Comma_Operator/S11.14_A2.1_T1.js | 70 - .../11.14_Comma_Operator/S11.14_A2.1_T2.js | 37 - .../11.14_Comma_Operator/S11.14_A2.1_T3.js | 37 - .../11.14_Comma_Operator/S11.14_A3.js | 54 - .../11.1.1_The_this_Keyword/S11.1.1_A1.js | 9 - .../11.1.1_The_this_Keyword/S11.1.1_A2.js | 36 - .../11.1.1_The_this_Keyword/S11.1.1_A3.1.js | 40 - .../11.1.1_The_this_Keyword/S11.1.1_A3.2.js | 39 - .../11.1.1_The_this_Keyword/S11.1.1_A4.1.js | 40 - .../11.1.1_The_this_Keyword/S11.1.1_A4.2.js | 41 - .../S11.1.2_A1_T1.js | 43 - .../S11.1.2_A1_T2.js | 37 - .../11.1.4_Array_Initialiser/S11.1.4_A1.1.js | 48 - .../11.1.4_Array_Initialiser/S11.1.4_A1.2.js | 48 - .../11.1.4_Array_Initialiser/S11.1.4_A1.3.js | 73 - .../11.1.4_Array_Initialiser/S11.1.4_A1.4.js | 73 - .../11.1.4_Array_Initialiser/S11.1.4_A1.5.js | 73 - .../11.1.4_Array_Initialiser/S11.1.4_A1.6.js | 73 - .../11.1.4_Array_Initialiser/S11.1.4_A1.7.js | 73 - .../11.1.4_Array_Initialiser/S11.1.4_A2.js | 144 - .../11.1.5_Object_Initializer/S11.1.5_A1.1.js | 48 - .../11.1.5_Object_Initializer/S11.1.5_A1.2.js | 54 - .../11.1.5_Object_Initializer/S11.1.5_A1.3.js | 53 - .../11.1.5_Object_Initializer/S11.1.5_A1.4.js | 53 - .../11.1.5_Object_Initializer/S11.1.5_A2.js | 110 - .../11.1.5_Object_Initializer/S11.1.5_A3.js | 43 - .../11.1.5_Object_Initializer/S11.1.5_A4.1.js | 10 - .../11.1.5_Object_Initializer/S11.1.5_A4.2.js | 10 - .../11.1.5_Object_Initializer/S11.1.5_A4.3.js | 50 - .../S11.1.6_A1.js | 76 - .../S11.1.6_A2.js | 47 - .../S11.1.6_A3_T1.js | 39 - .../S11.1.6_A3_T2.js | 39 - .../S11.1.6_A3_T3.js | 44 - .../S11.1.6_A3_T4.js | 43 - .../S11.1.6_A3_T5.js | 38 - .../S11.1.6_A3_T6.js | 36 - .../11.2.1_Property_Accessors/S11.2.1_A1.1.js | 76 - .../11.2.1_Property_Accessors/S11.2.1_A1.2.js | 76 - .../11.2.1_Property_Accessors/S11.2.1_A2.js | 48 - .../S11.2.1_A3_T1.js | 46 - .../S11.2.1_A3_T2.js | 56 - .../S11.2.1_A3_T3.js | 57 - .../S11.2.1_A3_T4.js | 48 - .../S11.2.1_A3_T5.js | 48 - .../S11.2.1_A4_T1.js | 60 - .../S11.2.1_A4_T2.js | 36 - .../S11.2.1_A4_T3.js | 36 - .../S11.2.1_A4_T4.js | 43 - .../S11.2.1_A4_T5.js | 57 - .../S11.2.1_A4_T6.js | 37 - .../S11.2.1_A4_T7.js | 46 - .../S11.2.1_A4_T8.js | 81 - .../S11.2.1_A4_T9.js | 117 - .../11.2.2_The_new_Operator/S11.2.2_A1.1.js | 76 - .../11.2.2_The_new_Operator/S11.2.2_A1.2.js | 76 - .../11.2.2_The_new_Operator/S11.2.2_A2.js | 48 - .../11.2.2_The_new_Operator/S11.2.2_A3_T1.js | 62 - .../11.2.2_The_new_Operator/S11.2.2_A3_T2.js | 61 - .../11.2.2_The_new_Operator/S11.2.2_A3_T3.js | 61 - .../11.2.2_The_new_Operator/S11.2.2_A3_T4.js | 61 - .../11.2.2_The_new_Operator/S11.2.2_A3_T5.js | 61 - .../11.2.2_The_new_Operator/S11.2.2_A4_T1.js | 62 - .../11.2.2_The_new_Operator/S11.2.2_A4_T2.js | 62 - .../11.2.2_The_new_Operator/S11.2.2_A4_T3.js | 62 - .../11.2.2_The_new_Operator/S11.2.2_A4_T4.js | 48 - .../11.2.2_The_new_Operator/S11.2.2_A4_T5.js | 61 - .../11.2.3_Function_Calls/S11.2.3_A1.js | 76 - .../11.2.3_Function_Calls/S11.2.3_A2.js | 48 - .../11.2.3_Function_Calls/S11.2.3_A3_T1.js | 49 - .../11.2.3_Function_Calls/S11.2.3_A3_T2.js | 49 - .../11.2.3_Function_Calls/S11.2.3_A3_T3.js | 49 - .../11.2.3_Function_Calls/S11.2.3_A3_T4.js | 49 - .../11.2.3_Function_Calls/S11.2.3_A3_T5.js | 49 - .../11.2.3_Function_Calls/S11.2.3_A4_T1.js | 50 - .../11.2.3_Function_Calls/S11.2.3_A4_T2.js | 50 - .../11.2.3_Function_Calls/S11.2.3_A4_T3.js | 49 - .../11.2.3_Function_Calls/S11.2.3_A4_T4.js | 37 - .../11.2.3_Function_Calls/S11.2.3_A4_T5.js | 38 - .../11.2.4_Argument_Lists/S11.2.4_A1.1_T1.js | 40 - .../11.2.4_Argument_Lists/S11.2.4_A1.1_T2.js | 45 - .../11.2.4_Argument_Lists/S11.2.4_A1.2_T1.js | 55 - .../11.2.4_Argument_Lists/S11.2.4_A1.2_T2.js | 60 - .../11.2.4_Argument_Lists/S11.2.4_A1.3_T1.js | 12 - .../11.2.4_Argument_Lists/S11.2.4_A1.4_T1.js | 35 - .../11.2.4_Argument_Lists/S11.2.4_A1.4_T2.js | 43 - .../11.2.4_Argument_Lists/S11.2.4_A1.4_T3.js | 38 - .../11.2.4_Argument_Lists/S11.2.4_A1.4_T4.js | 50 - .../S11.3.1_A1.1_T1.js | 10 - .../S11.3.1_A1.1_T2.js | 10 - .../S11.3.1_A1.1_T3.js | 10 - .../S11.3.1_A1.1_T4.js | 10 - .../S11.3.1_A1.2_T1.js | 56 - .../S11.3.1_A2.1_T1.js | 62 - .../S11.3.1_A2.1_T2.js | 37 - .../S11.3.1_A2.1_T3.js | 20 - .../S11.3.1_A2.2_T1.js | 126 - .../S11.3.1_A3_T1.js | 40 - .../S11.3.1_A3_T2.js | 40 - .../S11.3.1_A3_T3.js | 47 - .../S11.3.1_A3_T4.js | 40 - .../S11.3.1_A3_T5.js | 40 - .../S11.3.1_A4_T1.js | 40 - .../S11.3.1_A4_T2.js | 40 - .../S11.3.1_A4_T3.js | 47 - .../S11.3.1_A4_T4.js | 40 - .../S11.3.1_A4_T5.js | 40 - .../S11.3.2_A1.1_T1.js | 10 - .../S11.3.2_A1.1_T2.js | 10 - .../S11.3.2_A1.1_T3.js | 10 - .../S11.3.2_A1.1_T4.js | 10 - .../S11.3.2_A1.2_T1.js | 56 - .../S11.3.2_A2.1_T1.js | 57 - .../S11.3.2_A2.1_T2.js | 37 - .../S11.3.2_A2.1_T3.js | 20 - .../S11.3.2_A2.2_T1.js | 126 - .../S11.3.2_A3_T1.js | 40 - .../S11.3.2_A3_T2.js | 40 - .../S11.3.2_A3_T3.js | 47 - .../S11.3.2_A3_T4.js | 40 - .../S11.3.2_A3_T5.js | 40 - .../S11.3.2_A4_T1.js | 40 - .../S11.3.2_A4_T2.js | 40 - .../S11.3.2_A4_T3.js | 47 - .../S11.3.2_A4_T4.js | 40 - .../S11.3.2_A4_T5.js | 40 - .../11.4.1_The_delete_Operator/S11.4.1_A1.js | 76 - .../S11.4.1_A2.1.js | 37 - .../S11.4.1_A2.2_T1.js | 36 - .../S11.4.1_A2.2_T2.js | 39 - .../S11.4.1_A3.1.js | 56 - .../S11.4.1_A3.2.js | 47 - .../S11.4.1_A3.3.js | 77 - .../11.4.1_The_delete_Operator/S11.4.1_A4.js | 35 - .../11.4.2_The_void_Operator/S11.4.2_A1.js | 76 - .../11.4.2_The_void_Operator/S11.4.2_A2_T1.js | 43 - .../11.4.2_The_void_Operator/S11.4.2_A2_T2.js | 10 - .../11.4.2_The_void_Operator/S11.4.2_A4_T1.js | 38 - .../11.4.2_The_void_Operator/S11.4.2_A4_T2.js | 38 - .../11.4.2_The_void_Operator/S11.4.2_A4_T3.js | 44 - .../11.4.2_The_void_Operator/S11.4.2_A4_T4.js | 38 - .../11.4.2_The_void_Operator/S11.4.2_A4_T5.js | 38 - .../11.4.2_The_void_Operator/S11.4.2_A4_T6.js | 36 - .../11.4.3_The_typeof_Operator/S11.4.3_A1.js | 76 - .../S11.4.3_A2_T1.js | 43 - .../S11.4.3_A2_T2.js | 31 - .../S11.4.3_A3.1.js | 36 - .../S11.4.3_A3.2.js | 36 - .../S11.4.3_A3.3.js | 41 - .../S11.4.3_A3.4.js | 51 - .../S11.4.3_A3.5.js | 56 - .../S11.4.3_A3.6.js | 89 - .../S11.4.3_A3.7.js | 71 - .../S11.4.4_A1.js | 76 - .../S11.4.4_A2.1_T1.js | 57 - .../S11.4.4_A2.1_T2.js | 37 - .../S11.4.4_A2.1_T3.js | 21 - .../S11.4.4_A2.2_T1.js | 120 - .../S11.4.4_A3_T1.js | 40 - .../S11.4.4_A3_T2.js | 40 - .../S11.4.4_A3_T3.js | 47 - .../S11.4.4_A3_T4.js | 40 - .../S11.4.4_A3_T5.js | 40 - .../S11.4.4_A4_T1.js | 38 - .../S11.4.4_A4_T2.js | 38 - .../S11.4.4_A4_T3.js | 44 - .../S11.4.4_A4_T4.js | 38 - .../S11.4.4_A4_T5.js | 38 - .../S11.4.5_A1.js | 76 - .../S11.4.5_A2.1_T1.js | 57 - .../S11.4.5_A2.1_T2.js | 38 - .../S11.4.5_A2.1_T3.js | 20 - .../S11.4.5_A2.2_T1.js | 120 - .../S11.4.5_A3_T1.js | 40 - .../S11.4.5_A3_T2.js | 40 - .../S11.4.5_A3_T3.js | 47 - .../S11.4.5_A3_T4.js | 40 - .../S11.4.5_A3_T5.js | 40 - .../S11.4.5_A4_T1.js | 38 - .../S11.4.5_A4_T2.js | 38 - .../S11.4.5_A4_T3.js | 44 - .../S11.4.5_A4_T4.js | 39 - .../S11.4.5_A4_T5.js | 38 - .../11.4.6_Unary_plus_Operator/S11.4.6_A1.js | 76 - .../S11.4.6_A2.1_T1.js | 55 - .../S11.4.6_A2.1_T2.js | 37 - .../S11.4.6_A2.2_T1.js | 95 - .../S11.4.6_A3_T1.js | 36 - .../S11.4.6_A3_T2.js | 36 - .../S11.4.6_A3_T3.js | 41 - .../S11.4.6_A3_T4.js | 36 - .../S11.4.6_A3_T5.js | 36 - .../11.4.7_Unary_minus_Operator/S11.4.7_A1.js | 76 - .../S11.4.7_A2.1_T1.js | 55 - .../S11.4.7_A2.1_T2.js | 38 - .../S11.4.7_A2.2_T1.js | 95 - .../S11.4.7_A3_T1.js | 36 - .../S11.4.7_A3_T2.js | 36 - .../S11.4.7_A3_T3.js | 41 - .../S11.4.7_A3_T4.js | 36 - .../S11.4.7_A3_T5.js | 36 - .../S11.4.7_A4.1.js | 37 - .../S11.4.7_A4.2.js | 49 - .../11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.js | 76 - .../S11.4.8_A2.1_T1.js | 55 - .../S11.4.8_A2.1_T2.js | 38 - .../S11.4.8_A2.2_T1.js | 95 - .../S11.4.8_A3_T1.js | 41 - .../S11.4.8_A3_T2.js | 61 - .../S11.4.8_A3_T3.js | 51 - .../S11.4.8_A3_T4.js | 36 - .../S11.4.8_A3_T5.js | 36 - .../11.4.9_Logical_NOT_Operator/S11.4.9_A1.js | 76 - .../S11.4.9_A2.1_T1.js | 55 - .../S11.4.9_A2.1_T2.js | 38 - .../S11.4.9_A2.2_T1.js | 74 - .../S11.4.9_A3_T1.js | 41 - .../S11.4.9_A3_T2.js | 61 - .../S11.4.9_A3_T3.js | 51 - .../S11.4.9_A3_T4.js | 36 - .../S11.4.9_A3_T5.js | 36 - .../S11.5.1_A1.js | 76 - .../S11.5.1_A2.1_T1.js | 59 - .../S11.5.1_A2.1_T2.js | 38 - .../S11.5.1_A2.1_T3.js | 38 - .../S11.5.1_A2.2_T1.js | 87 - .../S11.5.1_A2.3_T1.js | 42 - .../S11.5.1_A2.4_T1.js | 39 - .../S11.5.1_A2.4_T2.js | 42 - .../S11.5.1_A2.4_T3.js | 43 - .../S11.5.1_A3_T1.1.js | 46 - .../S11.5.1_A3_T1.2.js | 47 - .../S11.5.1_A3_T1.3.js | 56 - .../S11.5.1_A3_T1.4.js | 46 - .../S11.5.1_A3_T1.5.js | 46 - .../S11.5.1_A3_T2.1.js | 66 - .../S11.5.1_A3_T2.2.js | 76 - .../S11.5.1_A3_T2.3.js | 46 - .../S11.5.1_A3_T2.4.js | 46 - .../S11.5.1_A3_T2.5.js | 66 - .../S11.5.1_A3_T2.6.js | 46 - .../S11.5.1_A3_T2.7.js | 46 - .../S11.5.1_A3_T2.8.js | 46 - .../S11.5.1_A3_T2.9.js | 46 - .../S11.5.1_A4_T1.1.js | 66 - .../S11.5.1_A4_T1.2.js | 66 - .../S11.5.1_A4_T2.js | 82 - .../S11.5.1_A4_T3.js | 66 - .../S11.5.1_A4_T4.js | 46 - .../S11.5.1_A4_T5.js | 66 - .../S11.5.1_A4_T6.js | 46 - .../S11.5.1_A4_T7.js | 74 - .../S11.5.1_A4_T8.js | 36 - .../S11.5.2_A1.js | 76 - .../S11.5.2_A2.1_T1.js | 60 - .../S11.5.2_A2.1_T2.js | 38 - .../S11.5.2_A2.1_T3.js | 37 - .../S11.5.2_A2.2_T1.js | 87 - .../S11.5.2_A2.3_T1.js | 42 - .../S11.5.2_A2.4_T1.js | 39 - .../S11.5.2_A2.4_T2.js | 42 - .../S11.5.2_A2.4_T3.js | 43 - .../S11.5.2_A3_T1.1.js | 46 - .../S11.5.2_A3_T1.2.js | 47 - .../S11.5.2_A3_T1.3.js | 56 - .../S11.5.2_A3_T1.4.js | 46 - .../S11.5.2_A3_T1.5.js | 46 - .../S11.5.2_A3_T2.1.js | 66 - .../S11.5.2_A3_T2.2.js | 76 - .../S11.5.2_A3_T2.3.js | 46 - .../S11.5.2_A3_T2.4.js | 46 - .../S11.5.2_A3_T2.5.js | 66 - .../S11.5.2_A3_T2.6.js | 46 - .../S11.5.2_A3_T2.7.js | 46 - .../S11.5.2_A3_T2.8.js | 46 - .../S11.5.2_A3_T2.9.js | 46 - .../S11.5.2_A4_T1.1.js | 66 - .../S11.5.2_A4_T1.2.js | 66 - .../S11.5.2_A4_T10.js | 75 - .../S11.5.2_A4_T2.js | 46 - .../S11.5.2_A4_T3.js | 46 - .../S11.5.2_A4_T4.js | 46 - .../S11.5.2_A4_T5.js | 56 - .../S11.5.2_A4_T6.js | 62 - .../S11.5.2_A4_T7.js | 46 - .../S11.5.2_A4_T8.js | 80 - .../S11.5.2_A4_T9.js | 51 - .../S11.5.3_A1.js | 76 - .../S11.5.3_A2.1_T1.js | 59 - .../S11.5.3_A2.1_T2.js | 38 - .../S11.5.3_A2.1_T3.js | 37 - .../S11.5.3_A2.2_T1.js | 87 - .../S11.5.3_A2.3_T1.js | 42 - .../S11.5.3_A2.4_T1.js | 39 - .../S11.5.3_A2.4_T2.js | 42 - .../S11.5.3_A2.4_T3.js | 43 - .../S11.5.3_A3_T1.1.js | 46 - .../S11.5.3_A3_T1.2.js | 47 - .../S11.5.3_A3_T1.3.js | 56 - .../S11.5.3_A3_T1.4.js | 46 - .../S11.5.3_A3_T1.5.js | 46 - .../S11.5.3_A3_T2.1.js | 66 - .../S11.5.3_A3_T2.2.js | 76 - .../S11.5.3_A3_T2.3.js | 46 - .../S11.5.3_A3_T2.4.js | 46 - .../S11.5.3_A3_T2.5.js | 66 - .../S11.5.3_A3_T2.6.js | 46 - .../S11.5.3_A3_T2.7.js | 46 - .../S11.5.3_A3_T2.8.js | 46 - .../S11.5.3_A3_T2.9.js | 46 - .../S11.5.3_A4_T1.1.js | 66 - .../S11.5.3_A4_T1.2.js | 66 - .../S11.5.3_A4_T2.js | 82 - .../S11.5.3_A4_T3.js | 86 - .../S11.5.3_A4_T4.js | 106 - .../S11.5.3_A4_T5.js | 120 - .../S11.5.3_A4_T6.js | 98 - .../S11.5.3_A4_T7.js | 90 - .../S11.6.1_A1.js | 76 - .../S11.6.1_A2.1_T1.js | 59 - .../S11.6.1_A2.1_T2.js | 38 - .../S11.6.1_A2.1_T3.js | 38 - .../S11.6.1_A2.2_T1.js | 87 - .../S11.6.1_A2.2_T2.js | 51 - .../S11.6.1_A2.2_T3.js | 62 - .../S11.6.1_A2.3_T1.js | 42 - .../S11.6.1_A2.4_T1.js | 39 - .../S11.6.1_A2.4_T2.js | 42 - .../S11.6.1_A2.4_T3.js | 43 - .../S11.6.1_A3.1_T1.1.js | 46 - .../S11.6.1_A3.1_T1.2.js | 47 - .../S11.6.1_A3.1_T1.3.js | 46 - .../S11.6.1_A3.1_T2.1.js | 66 - .../S11.6.1_A3.1_T2.2.js | 46 - .../S11.6.1_A3.1_T2.3.js | 46 - .../S11.6.1_A3.1_T2.4.js | 46 - .../S11.6.1_A3.1_T2.5.js | 46 - .../S11.6.1_A3.2_T1.1.js | 56 - .../S11.6.1_A3.2_T1.2.js | 48 - .../S11.6.1_A3.2_T2.1.js | 76 - .../S11.6.1_A3.2_T2.2.js | 66 - .../S11.6.1_A3.2_T2.3.js | 46 - .../S11.6.1_A3.2_T2.4.js | 46 - .../S11.6.1_A4_T1.js | 57 - .../S11.6.1_A4_T2.js | 39 - .../S11.6.1_A4_T3.js | 39 - .../S11.6.1_A4_T4.js | 69 - .../S11.6.1_A4_T5.js | 62 - .../S11.6.1_A4_T6.js | 66 - .../S11.6.1_A4_T7.js | 53 - .../S11.6.1_A4_T8.js | 46 - .../S11.6.1_A4_T9.js | 46 - .../S11.6.2_A1.js | 76 - .../S11.6.2_A2.1_T1.js | 59 - .../S11.6.2_A2.1_T2.js | 37 - .../S11.6.2_A2.1_T3.js | 37 - .../S11.6.2_A2.2_T1.js | 87 - .../S11.6.2_A2.3_T1.js | 42 - .../S11.6.2_A2.4_T1.js | 39 - .../S11.6.2_A2.4_T2.js | 42 - .../S11.6.2_A2.4_T3.js | 43 - .../S11.6.2_A3_T1.1.js | 46 - .../S11.6.2_A3_T1.2.js | 47 - .../S11.6.2_A3_T1.3.js | 56 - .../S11.6.2_A3_T1.4.js | 46 - .../S11.6.2_A3_T1.5.js | 46 - .../S11.6.2_A3_T2.1.js | 66 - .../S11.6.2_A3_T2.2.js | 76 - .../S11.6.2_A3_T2.3.js | 46 - .../S11.6.2_A3_T2.4.js | 46 - .../S11.6.2_A3_T2.5.js | 66 - .../S11.6.2_A3_T2.6.js | 46 - .../S11.6.2_A3_T2.7.js | 46 - .../S11.6.2_A3_T2.8.js | 46 - .../S11.6.2_A3_T2.9.js | 46 - .../S11.6.2_A4_T1.js | 56 - .../S11.6.2_A4_T2.js | 39 - .../S11.6.2_A4_T3.js | 39 - .../S11.6.2_A4_T4.js | 69 - .../S11.6.2_A4_T5.js | 62 - .../S11.6.2_A4_T6.js | 66 - .../S11.6.2_A4_T7.js | 53 - .../S11.6.2_A4_T8.js | 46 - .../S11.7.1_A1.js | 76 - .../S11.7.1_A2.1_T1.js | 59 - .../S11.7.1_A2.1_T2.js | 37 - .../S11.7.1_A2.1_T3.js | 37 - .../S11.7.1_A2.2_T1.js | 87 - .../S11.7.1_A2.3_T1.js | 42 - .../S11.7.1_A2.4_T1.js | 39 - .../S11.7.1_A2.4_T2.js | 42 - .../S11.7.1_A2.4_T3.js | 43 - .../S11.7.1_A3_T1.1.js | 46 - .../S11.7.1_A3_T1.2.js | 47 - .../S11.7.1_A3_T1.3.js | 56 - .../S11.7.1_A3_T1.4.js | 46 - .../S11.7.1_A3_T1.5.js | 47 - .../S11.7.1_A3_T2.1.js | 66 - .../S11.7.1_A3_T2.2.js | 76 - .../S11.7.1_A3_T2.3.js | 46 - .../S11.7.1_A3_T2.4.js | 46 - .../S11.7.1_A3_T2.5.js | 66 - .../S11.7.1_A3_T2.6.js | 46 - .../S11.7.1_A3_T2.7.js | 46 - .../S11.7.1_A3_T2.8.js | 46 - .../S11.7.1_A3_T2.9.js | 46 - .../S11.7.1_A4_T1.js | 2587 ---------------- .../S11.7.1_A4_T2.js | 2588 ---------------- .../S11.7.1_A4_T3.js | 2587 ---------------- .../S11.7.1_A4_T4.js | 2587 ---------------- .../S11.7.1_A5.1_T1.js | 76 - .../S11.7.1_A5.2_T1.js | 346 --- .../S11.7.2_A1.js | 76 - .../S11.7.2_A2.1_T1.js | 59 - .../S11.7.2_A2.1_T2.js | 38 - .../S11.7.2_A2.1_T3.js | 38 - .../S11.7.2_A2.2_T1.js | 87 - .../S11.7.2_A2.3_T1.js | 42 - .../S11.7.2_A2.4_T1.js | 39 - .../S11.7.2_A2.4_T2.js | 42 - .../S11.7.2_A2.4_T3.js | 43 - .../S11.7.2_A3_T1.1.js | 46 - .../S11.7.2_A3_T1.2.js | 47 - .../S11.7.2_A3_T1.3.js | 56 - .../S11.7.2_A3_T1.4.js | 46 - .../S11.7.2_A3_T1.5.js | 47 - .../S11.7.2_A3_T2.1.js | 66 - .../S11.7.2_A3_T2.2.js | 76 - .../S11.7.2_A3_T2.3.js | 46 - .../S11.7.2_A3_T2.4.js | 46 - .../S11.7.2_A3_T2.5.js | 66 - .../S11.7.2_A3_T2.6.js | 46 - .../S11.7.2_A3_T2.7.js | 46 - .../S11.7.2_A3_T2.8.js | 46 - .../S11.7.2_A3_T2.9.js | 46 - .../S11.7.2_A4_T1.js | 2587 ---------------- .../S11.7.2_A4_T2.js | 2587 ---------------- .../S11.7.2_A4_T3.js | 2587 ---------------- .../S11.7.2_A4_T4.js | 2582 ---------------- .../S11.7.2_A5.1_T1.js | 76 - .../S11.7.2_A5.2_T1.js | 346 --- .../S11.7.3_A1.js | 76 - .../S11.7.3_A2.1_T1.js | 59 - .../S11.7.3_A2.1_T2.js | 38 - .../S11.7.3_A2.1_T3.js | 38 - .../S11.7.3_A2.2_T1.js | 87 - .../S11.7.3_A2.3_T1.js | 42 - .../S11.7.3_A2.4_T1.js | 39 - .../S11.7.3_A2.4_T2.js | 42 - .../S11.7.3_A2.4_T3.js | 43 - .../S11.7.3_A3_T1.1.js | 46 - .../S11.7.3_A3_T1.2.js | 47 - .../S11.7.3_A3_T1.3.js | 56 - .../S11.7.3_A3_T1.4.js | 46 - .../S11.7.3_A3_T1.5.js | 46 - .../S11.7.3_A3_T2.1.js | 66 - .../S11.7.3_A3_T2.2.js | 76 - .../S11.7.3_A3_T2.3.js | 46 - .../S11.7.3_A3_T2.4.js | 46 - .../S11.7.3_A3_T2.5.js | 66 - .../S11.7.3_A3_T2.6.js | 46 - .../S11.7.3_A3_T2.7.js | 46 - .../S11.7.3_A3_T2.8.js | 46 - .../S11.7.3_A3_T2.9.js | 46 - .../S11.7.3_A4_T1.js | 2587 ---------------- .../S11.7.3_A4_T2.js | 2587 ---------------- .../S11.7.3_A4_T3.js | 2667 ----------------- .../S11.7.3_A4_T4.js | 2667 ----------------- .../S11.7.3_A5.1_T1.js | 76 - .../S11.7.3_A5.2_T1.js | 347 --- .../S11.8.1_A1.js | 76 - .../S11.8.1_A2.1_T1.js | 59 - .../S11.8.1_A2.1_T2.js | 37 - .../S11.8.1_A2.1_T3.js | 38 - .../S11.8.1_A2.2_T1.js | 87 - .../S11.8.1_A2.3_T1.js | 42 - .../S11.8.1_A2.4_T1.js | 39 - .../S11.8.1_A2.4_T2.js | 42 - .../S11.8.1_A2.4_T3.js | 43 - .../S11.8.1_A3.1_T1.1.js | 46 - .../S11.8.1_A3.1_T1.2.js | 47 - .../S11.8.1_A3.1_T1.3.js | 46 - .../S11.8.1_A3.1_T2.1.js | 66 - .../S11.8.1_A3.1_T2.2.js | 76 - .../S11.8.1_A3.1_T2.3.js | 46 - .../S11.8.1_A3.1_T2.4.js | 46 - .../S11.8.1_A3.1_T2.5.js | 66 - .../S11.8.1_A3.1_T2.6.js | 46 - .../S11.8.1_A3.1_T2.7.js | 46 - .../S11.8.1_A3.1_T2.8.js | 46 - .../S11.8.1_A3.1_T2.9.js | 46 - .../S11.8.1_A3.2_T1.1.js | 56 - .../S11.8.1_A3.2_T1.2.js | 46 - .../S11.8.1_A4.1.js | 67 - .../S11.8.1_A4.10.js | 58 - .../S11.8.1_A4.11.js | 69 - .../S11.8.1_A4.12_T1.js | 61 - .../S11.8.1_A4.12_T2.js | 61 - .../S11.8.1_A4.2.js | 67 - .../S11.8.1_A4.3.js | 63 - .../S11.8.1_A4.4.js | 47 - .../S11.8.1_A4.5.js | 57 - .../S11.8.1_A4.6.js | 57 - .../S11.8.1_A4.7.js | 57 - .../S11.8.1_A4.8.js | 57 - .../S11.8.1_A4.9.js | 68 - .../S11.8.2_A1.js | 76 - .../S11.8.2_A2.1_T1.js | 59 - .../S11.8.2_A2.1_T2.js | 38 - .../S11.8.2_A2.1_T3.js | 38 - .../S11.8.2_A2.2_T1.js | 87 - .../S11.8.2_A2.3_T1.js | 42 - .../S11.8.2_A2.4_T1.js | 39 - .../S11.8.2_A2.4_T2.js | 42 - .../S11.8.2_A2.4_T3.js | 43 - .../S11.8.2_A3.1_T1.1.js | 46 - .../S11.8.2_A3.1_T1.2.js | 47 - .../S11.8.2_A3.1_T1.3.js | 46 - .../S11.8.2_A3.1_T2.1.js | 66 - .../S11.8.2_A3.1_T2.2.js | 76 - .../S11.8.2_A3.1_T2.3.js | 46 - .../S11.8.2_A3.1_T2.4.js | 46 - .../S11.8.2_A3.1_T2.5.js | 66 - .../S11.8.2_A3.1_T2.6.js | 46 - .../S11.8.2_A3.1_T2.7.js | 46 - .../S11.8.2_A3.1_T2.8.js | 46 - .../S11.8.2_A3.1_T2.9.js | 46 - .../S11.8.2_A3.2_T1.1.js | 56 - .../S11.8.2_A3.2_T1.2.js | 46 - .../S11.8.2_A4.1.js | 67 - .../S11.8.2_A4.10.js | 57 - .../S11.8.2_A4.11.js | 68 - .../S11.8.2_A4.12_T1.js | 61 - .../S11.8.2_A4.12_T2.js | 61 - .../S11.8.2_A4.2.js | 67 - .../S11.8.2_A4.3.js | 63 - .../S11.8.2_A4.4.js | 47 - .../S11.8.2_A4.5.js | 57 - .../S11.8.2_A4.6.js | 57 - .../S11.8.2_A4.7.js | 57 - .../S11.8.2_A4.8.js | 57 - .../S11.8.2_A4.9.js | 68 - .../S11.8.3_A1.js | 76 - .../S11.8.3_A2.1_T1.js | 59 - .../S11.8.3_A2.1_T2.js | 37 - .../S11.8.3_A2.1_T3.js | 38 - .../S11.8.3_A2.2_T1.js | 87 - .../S11.8.3_A2.3_T1.js | 42 - .../S11.8.3_A2.4_T1.js | 39 - .../S11.8.3_A2.4_T2.js | 42 - .../S11.8.3_A2.4_T3.js | 43 - .../S11.8.3_A3.1_T1.1.js | 46 - .../S11.8.3_A3.1_T1.2.js | 47 - .../S11.8.3_A3.1_T1.3.js | 46 - .../S11.8.3_A3.1_T2.1.js | 66 - .../S11.8.3_A3.1_T2.2.js | 76 - .../S11.8.3_A3.1_T2.3.js | 46 - .../S11.8.3_A3.1_T2.4.js | 46 - .../S11.8.3_A3.1_T2.5.js | 66 - .../S11.8.3_A3.1_T2.6.js | 46 - .../S11.8.3_A3.1_T2.7.js | 46 - .../S11.8.3_A3.1_T2.8.js | 46 - .../S11.8.3_A3.1_T2.9.js | 46 - .../S11.8.3_A3.2_T1.1.js | 56 - .../S11.8.3_A3.2_T1.2.js | 46 - .../S11.8.3_A4.1.js | 67 - .../S11.8.3_A4.10.js | 58 - .../S11.8.3_A4.11.js | 69 - .../S11.8.3_A4.12_T1.js | 61 - .../S11.8.3_A4.12_T2.js | 61 - .../S11.8.3_A4.2.js | 67 - .../S11.8.3_A4.3.js | 63 - .../S11.8.3_A4.4.js | 47 - .../S11.8.3_A4.5.js | 57 - .../S11.8.3_A4.6.js | 57 - .../S11.8.3_A4.7.js | 57 - .../S11.8.3_A4.8.js | 57 - .../S11.8.3_A4.9.js | 68 - .../S11.8.4_A1.js | 76 - .../S11.8.4_A2.1_T1.js | 59 - .../S11.8.4_A2.1_T2.js | 38 - .../S11.8.4_A2.1_T3.js | 38 - .../S11.8.4_A2.2_T1.js | 87 - .../S11.8.4_A2.3_T1.js | 42 - .../S11.8.4_A2.4_T1.js | 39 - .../S11.8.4_A2.4_T2.js | 42 - .../S11.8.4_A2.4_T3.js | 43 - .../S11.8.4_A3.1_T1.1.js | 46 - .../S11.8.4_A3.1_T1.2.js | 47 - .../S11.8.4_A3.1_T1.3.js | 46 - .../S11.8.4_A3.1_T2.1.js | 66 - .../S11.8.4_A3.1_T2.2.js | 76 - .../S11.8.4_A3.1_T2.3.js | 46 - .../S11.8.4_A3.1_T2.4.js | 46 - .../S11.8.4_A3.1_T2.5.js | 66 - .../S11.8.4_A3.1_T2.6.js | 46 - .../S11.8.4_A3.1_T2.7.js | 46 - .../S11.8.4_A3.1_T2.8.js | 46 - .../S11.8.4_A3.1_T2.9.js | 46 - .../S11.8.4_A3.2_T1.1.js | 56 - .../S11.8.4_A3.2_T1.2.js | 46 - .../S11.8.4_A4.1.js | 67 - .../S11.8.4_A4.10.js | 57 - .../S11.8.4_A4.11.js | 68 - .../S11.8.4_A4.12_T1.js | 61 - .../S11.8.4_A4.12_T2.js | 61 - .../S11.8.4_A4.2.js | 67 - .../S11.8.4_A4.3.js | 63 - .../S11.8.4_A4.4.js | 47 - .../S11.8.4_A4.5.js | 57 - .../S11.8.4_A4.6.js | 57 - .../S11.8.4_A4.7.js | 57 - .../S11.8.4_A4.8.js | 57 - .../S11.8.4_A4.9.js | 68 - .../S11.8.6_A1.js | 76 - .../S11.8.6_A2.1_T1.js | 51 - .../S11.8.6_A2.1_T2.js | 37 - .../S11.8.6_A2.1_T3.js | 37 - .../S11.8.6_A2.4_T1.js | 39 - .../S11.8.6_A2.4_T2.js | 42 - .../S11.8.6_A2.4_T3.js | 43 - .../S11.8.6_A3.js | 81 - .../S11.8.6_A4_T1.js | 42 - .../S11.8.6_A4_T2.js | 42 - .../S11.8.6_A4_T3.js | 41 - .../S11.8.6_A5_T1.js | 63 - .../S11.8.6_A5_T2.js | 52 - .../S11.8.6_A6_T1.js | 37 - .../S11.8.6_A6_T2.js | 37 - .../S11.8.6_A6_T3.js | 43 - .../S11.8.6_A6_T4.js | 56 - .../S11.8.6_A7_T1.js | 38 - .../S11.8.6_A7_T2.js | 38 - .../S11.8.6_A7_T3.js | 39 - .../11.8.7_The_in_operator/S11.8.7_A1.js | 76 - .../11.8.7_The_in_operator/S11.8.7_A2.1_T1.js | 51 - .../11.8.7_The_in_operator/S11.8.7_A2.1_T2.js | 37 - .../11.8.7_The_in_operator/S11.8.7_A2.1_T3.js | 37 - .../11.8.7_The_in_operator/S11.8.7_A2.4_T1.js | 39 - .../11.8.7_The_in_operator/S11.8.7_A2.4_T2.js | 42 - .../11.8.7_The_in_operator/S11.8.7_A2.4_T3.js | 43 - .../11.8.7_The_in_operator/S11.8.7_A3.js | 81 - .../11.8.7_The_in_operator/S11.8.7_A4.js | 54 - .../11.9.1_The_Equals_Operator/S11.9.1_A1.js | 76 - .../S11.9.1_A2.1_T1.js | 59 - .../S11.9.1_A2.1_T2.js | 38 - .../S11.9.1_A2.1_T3.js | 38 - .../S11.9.1_A2.4_T1.js | 39 - .../S11.9.1_A2.4_T2.js | 42 - .../S11.9.1_A2.4_T3.js | 43 - .../S11.9.1_A3.1.js | 46 - .../S11.9.1_A3.2.js | 37 - .../S11.9.1_A3.3.js | 37 - .../S11.9.1_A4.1_T1.js | 72 - .../S11.9.1_A4.1_T2.js | 71 - .../S11.9.1_A4.2.js | 36 - .../S11.9.1_A4.3.js | 52 - .../S11.9.1_A5.1.js | 62 - .../S11.9.1_A5.2.js | 52 - .../S11.9.1_A5.3.js | 48 - .../S11.9.1_A6.1.js | 56 - .../S11.9.1_A6.2_T1.js | 66 - .../S11.9.1_A6.2_T2.js | 66 - .../S11.9.1_A7.1.js | 69 - .../S11.9.1_A7.2.js | 42 - .../S11.9.1_A7.3.js | 42 - .../S11.9.1_A7.4.js | 42 - .../S11.9.1_A7.5.js | 42 - .../S11.9.1_A7.6.js | 42 - .../S11.9.1_A7.7.js | 42 - .../S11.9.1_A7.8.js | 92 - .../S11.9.1_A7.9.js | 92 - .../S11.9.2_A1.js | 76 - .../S11.9.2_A2.1_T1.js | 59 - .../S11.9.2_A2.1_T2.js | 38 - .../S11.9.2_A2.1_T3.js | 38 - .../S11.9.2_A2.4_T1.js | 39 - .../S11.9.2_A2.4_T2.js | 42 - .../S11.9.2_A2.4_T3.js | 43 - .../S11.9.2_A3.1.js | 46 - .../S11.9.2_A3.2.js | 48 - .../S11.9.2_A3.3.js | 47 - .../S11.9.2_A4.1_T1.js | 72 - .../S11.9.2_A4.1_T2.js | 71 - .../S11.9.2_A4.2.js | 36 - .../S11.9.2_A4.3.js | 52 - .../S11.9.2_A5.1.js | 62 - .../S11.9.2_A5.2.js | 52 - .../S11.9.2_A5.3.js | 48 - .../S11.9.2_A6.1.js | 56 - .../S11.9.2_A6.2_T1.js | 66 - .../S11.9.2_A6.2_T2.js | 66 - .../S11.9.2_A7.1.js | 69 - .../S11.9.2_A7.2.js | 42 - .../S11.9.2_A7.3.js | 42 - .../S11.9.2_A7.4.js | 42 - .../S11.9.2_A7.5.js | 42 - .../S11.9.2_A7.6.js | 42 - .../S11.9.2_A7.7.js | 42 - .../S11.9.2_A7.8.js | 92 - .../S11.9.2_A7.9.js | 92 - .../S11.9.4_A1.js | 76 - .../S11.9.4_A2.1_T1.js | 60 - .../S11.9.4_A2.1_T2.js | 38 - .../S11.9.4_A2.1_T3.js | 38 - .../S11.9.4_A2.4_T1.js | 39 - .../S11.9.4_A2.4_T2.js | 42 - .../S11.9.4_A2.4_T3.js | 43 - .../S11.9.4_A3.js | 47 - .../S11.9.4_A4.1_T1.js | 72 - .../S11.9.4_A4.1_T2.js | 71 - .../S11.9.4_A4.2.js | 36 - .../S11.9.4_A4.3.js | 72 - .../S11.9.4_A5.js | 52 - .../S11.9.4_A6.1.js | 41 - .../S11.9.4_A6.2.js | 31 - .../S11.9.4_A7.js | 69 - .../S11.9.4_A8_T1.js | 81 - .../S11.9.4_A8_T2.js | 81 - .../S11.9.4_A8_T3.js | 81 - .../S11.9.4_A8_T4.js | 96 - .../S11.9.4_A8_T5.js | 44 - .../S11.9.5_A1.js | 76 - .../S11.9.5_A2.1_T1.js | 60 - .../S11.9.5_A2.1_T2.js | 38 - .../S11.9.5_A2.1_T3.js | 38 - .../S11.9.5_A2.4_T1.js | 39 - .../S11.9.5_A2.4_T2.js | 42 - .../S11.9.5_A2.4_T3.js | 43 - .../S11.9.5_A3.js | 47 - .../S11.9.5_A4.1_T1.js | 72 - .../S11.9.5_A4.1_T2.js | 71 - .../S11.9.5_A4.2.js | 36 - .../S11.9.5_A4.3.js | 72 - .../S11.9.5_A5.js | 52 - .../S11.9.5_A6.1.js | 41 - .../S11.9.5_A6.2.js | 31 - .../S11.9.5_A7.js | 71 - .../S11.9.5_A8_T1.js | 81 - .../S11.9.5_A8_T2.js | 81 - .../S11.9.5_A8_T3.js | 82 - .../S11.9.5_A8_T4.js | 96 - .../S11.9.5_A8_T5.js | 44 - .../S12.10_A1.10_T1.js | 154 - .../S12.10_A1.10_T2.js | 163 - .../S12.10_A1.10_T3.js | 166 - .../S12.10_A1.10_T4.js | 156 - .../S12.10_A1.10_T5.js | 157 - .../S12.10_A1.11_T1.js | 162 - .../S12.10_A1.11_T2.js | 167 -- .../S12.10_A1.11_T3.js | 167 -- .../S12.10_A1.11_T4.js | 170 -- .../S12.10_A1.11_T5.js | 170 -- .../S12.10_A1.12_T1.js | 159 - .../S12.10_A1.12_T2.js | 165 - .../S12.10_A1.12_T3.js | 167 -- .../S12.10_A1.12_T4.js | 167 -- .../S12.10_A1.12_T5.js | 171 -- .../S12.10_A1.1_T1.js | 152 - .../S12.10_A1.1_T2.js | 160 - .../S12.10_A1.1_T3.js | 162 - .../S12.10_A1.2_T1.js | 159 - .../S12.10_A1.2_T2.js | 164 - .../S12.10_A1.2_T3.js | 167 -- .../S12.10_A1.2_T4.js | 168 -- .../S12.10_A1.2_T5.js | 166 - .../S12.10_A1.3_T1.js | 159 - .../S12.10_A1.3_T2.js | 160 - .../S12.10_A1.3_T3.js | 163 - .../S12.10_A1.3_T4.js | 164 - .../S12.10_A1.3_T5.js | 171 -- .../S12.10_A1.4_T1.js | 154 - .../S12.10_A1.4_T2.js | 163 - .../S12.10_A1.4_T3.js | 165 - .../S12.10_A1.4_T4.js | 155 - .../S12.10_A1.4_T5.js | 157 - .../S12.10_A1.5_T1.js | 159 - .../S12.10_A1.5_T2.js | 162 - .../S12.10_A1.5_T3.js | 170 -- .../S12.10_A1.5_T4.js | 154 - .../S12.10_A1.5_T5.js | 162 - .../S12.10_A1.6_T1.js | 153 - .../S12.10_A1.6_T2.js | 162 - .../S12.10_A1.6_T3.js | 164 - .../S12.10_A1.7_T1.js | 159 - .../S12.10_A1.7_T2.js | 164 - .../S12.10_A1.7_T3.js | 166 - .../S12.10_A1.7_T4.js | 168 -- .../S12.10_A1.7_T5.js | 170 -- .../S12.10_A1.8_T1.js | 159 - .../S12.10_A1.8_T2.js | 159 - .../S12.10_A1.8_T3.js | 162 - .../S12.10_A1.8_T4.js | 167 -- .../S12.10_A1.8_T5.js | 170 -- .../S12.10_A1.9_T1.js | 159 - .../S12.10_A1.9_T2.js | 154 - .../S12.10_A1.9_T3.js | 162 - .../S12.10_A3.10_T1.js | 63 - .../S12.10_A3.10_T2.js | 73 - .../S12.10_A3.10_T3.js | 73 - .../S12.10_A3.10_T4.js | 63 - .../S12.10_A3.10_T5.js | 61 - .../S12.10_A3.11_T1.js | 50 - .../S12.10_A3.11_T2.js | 56 - .../S12.10_A3.11_T3.js | 57 - .../S12.10_A3.11_T4.js | 62 - .../S12.10_A3.11_T5.js | 60 - .../S12.10_A3.12_T1.js | 50 - .../S12.10_A3.12_T2.js | 56 - .../S12.10_A3.12_T3.js | 55 - .../S12.10_A3.12_T4.js | 60 - .../S12.10_A3.12_T5.js | 59 - .../S12.10_A3.1_T1.js | 61 - .../S12.10_A3.1_T2.js | 75 - .../S12.10_A3.1_T3.js | 73 - .../S12.10_A3.2_T1.js | 62 - .../S12.10_A3.2_T2.js | 65 - .../S12.10_A3.2_T3.js | 63 - .../S12.10_A3.2_T4.js | 76 - .../S12.10_A3.2_T5.js | 79 - .../S12.10_A3.3_T1.js | 64 - .../S12.10_A3.3_T2.js | 63 - .../S12.10_A3.3_T3.js | 65 - .../S12.10_A3.3_T4.js | 74 - .../S12.10_A3.3_T5.js | 75 - .../S12.10_A3.4_T1.js | 62 - .../S12.10_A3.4_T2.js | 73 - .../S12.10_A3.4_T3.js | 73 - .../S12.10_A3.4_T4.js | 63 - .../S12.10_A3.4_T5.js | 63 - .../S12.10_A3.5_T1.js | 60 - .../S12.10_A3.5_T2.js | 73 - .../S12.10_A3.5_T3.js | 73 - .../S12.10_A3.5_T4.js | 61 - .../S12.10_A3.5_T5.js | 64 - .../S12.10_A3.6_T1.js | 76 - .../S12.10_A3.6_T2.js | 81 - .../S12.10_A3.6_T3.js | 82 - .../S12.10_A3.7_T1.js | 62 - .../S12.10_A3.7_T2.js | 71 - .../S12.10_A3.7_T3.js | 69 - .../S12.10_A3.7_T4.js | 73 - .../S12.10_A3.7_T5.js | 73 - .../S12.10_A3.8_T1.js | 61 - .../S12.10_A3.8_T2.js | 62 - .../S12.10_A3.8_T3.js | 62 - .../S12.10_A3.8_T4.js | 74 - .../S12.10_A3.8_T5.js | 74 - .../S12.10_A3.9_T1.js | 62 - .../S12.10_A3.9_T2.js | 62 - .../S12.10_A3.9_T3.js | 62 - .../12.10_The_with_Statement/S12.10_A4_T1.js | 49 - .../12.10_The_with_Statement/S12.10_A4_T2.js | 49 - .../12.10_The_with_Statement/S12.10_A4_T3.js | 49 - .../12.10_The_with_Statement/S12.10_A4_T4.js | 58 - .../12.10_The_with_Statement/S12.10_A4_T5.js | 49 - .../12.10_The_with_Statement/S12.10_A4_T6.js | 49 - .../12.10_The_with_Statement/S12.10_A5_T1.js | 66 - .../12.10_The_with_Statement/S12.10_A5_T2.js | 66 - .../12.10_The_with_Statement/S12.10_A5_T3.js | 67 - .../12.10_The_with_Statement/S12.10_A5_T4.js | 71 - .../12.10_The_with_Statement/S12.10_A5_T5.js | 71 - .../12.10_The_with_Statement/S12.10_A5_T6.js | 71 - .../S12.11_A1_T1.js | 90 - .../S12.11_A1_T2.js | 104 - .../S12.11_A1_T3.js | 108 - .../S12.11_A1_T4.js | 96 - .../S12.11_A2_T1.js | 26 - .../S12.11_A3_T1.js | 23 - .../S12.11_A3_T2.js | 23 - .../S12.11_A3_T3.js | 9 - .../S12.11_A3_T4.js | 23 - .../S12.11_A3_T5.js | 24 - .../S12.11_A4_T1.js | 52 - .../12.12_Labelled_Statements/S12.12_A1_T1.js | 38 - .../12.13_The_throw_statement/S12.13_A1.js | 9 - .../12.13_The_throw_statement/S12.13_A2_T1.js | 34 - .../12.13_The_throw_statement/S12.13_A2_T2.js | 34 - .../12.13_The_throw_statement/S12.13_A2_T3.js | 60 - .../12.13_The_throw_statement/S12.13_A2_T4.js | 43 - .../12.13_The_throw_statement/S12.13_A2_T5.js | 91 - .../12.13_The_throw_statement/S12.13_A2_T6.js | 61 - .../12.13_The_throw_statement/S12.13_A2_T7.js | 46 - .../12.13_The_throw_statement/S12.13_A3_T1.js | 61 - .../12.13_The_throw_statement/S12.13_A3_T2.js | 44 - .../12.13_The_throw_statement/S12.13_A3_T3.js | 108 - .../12.13_The_throw_statement/S12.13_A3_T4.js | 72 - .../12.13_The_throw_statement/S12.13_A3_T5.js | 36 - .../12.13_The_throw_statement/S12.13_A3_T6.js | 74 - .../12.14_The_try_Statement/S12.14_A1.js | 68 - .../12.14_The_try_Statement/S12.14_A10_T1.js | 38 - .../12.14_The_try_Statement/S12.14_A10_T2.js | 132 - .../12.14_The_try_Statement/S12.14_A10_T3.js | 167 -- .../12.14_The_try_Statement/S12.14_A10_T4.js | 72 - .../12.14_The_try_Statement/S12.14_A10_T5.js | 55 - .../12.14_The_try_Statement/S12.14_A11_T1.js | 36 - .../12.14_The_try_Statement/S12.14_A11_T2.js | 139 - .../12.14_The_try_Statement/S12.14_A11_T3.js | 166 - .../12.14_The_try_Statement/S12.14_A11_T4.js | 72 - .../12.14_The_try_Statement/S12.14_A12_T1.js | 44 - .../12.14_The_try_Statement/S12.14_A12_T2.js | 148 - .../12.14_The_try_Statement/S12.14_A12_T3.js | 178 -- .../12.14_The_try_Statement/S12.14_A12_T4.js | 78 - .../12.14_The_try_Statement/S12.14_A13_T1.js | 95 - .../12.14_The_try_Statement/S12.14_A13_T2.js | 198 -- .../12.14_The_try_Statement/S12.14_A13_T3.js | 202 -- .../12.14_The_try_Statement/S12.14_A14.js | 95 - .../12.14_The_try_Statement/S12.14_A15.js | 108 - .../12.14_The_try_Statement/S12.14_A16_T1.js | 10 - .../12.14_The_try_Statement/S12.14_A16_T10.js | 14 - .../12.14_The_try_Statement/S12.14_A16_T11.js | 16 - .../12.14_The_try_Statement/S12.14_A16_T12.js | 19 - .../12.14_The_try_Statement/S12.14_A16_T13.js | 18 - .../12.14_The_try_Statement/S12.14_A16_T14.js | 15 - .../12.14_The_try_Statement/S12.14_A16_T15.js | 16 - .../12.14_The_try_Statement/S12.14_A16_T2.js | 10 - .../12.14_The_try_Statement/S12.14_A16_T3.js | 10 - .../12.14_The_try_Statement/S12.14_A16_T4.js | 11 - .../12.14_The_try_Statement/S12.14_A16_T5.js | 11 - .../12.14_The_try_Statement/S12.14_A16_T6.js | 11 - .../12.14_The_try_Statement/S12.14_A16_T7.js | 12 - .../12.14_The_try_Statement/S12.14_A16_T8.js | 14 - .../12.14_The_try_Statement/S12.14_A16_T9.js | 13 - .../12.14_The_try_Statement/S12.14_A17.js | 61 - .../12.14_The_try_Statement/S12.14_A18_T1.js | 34 - .../12.14_The_try_Statement/S12.14_A18_T2.js | 34 - .../12.14_The_try_Statement/S12.14_A18_T3.js | 78 - .../12.14_The_try_Statement/S12.14_A18_T4.js | 61 - .../12.14_The_try_Statement/S12.14_A18_T5.js | 118 - .../12.14_The_try_Statement/S12.14_A18_T6.js | 70 - .../12.14_The_try_Statement/S12.14_A18_T7.js | 82 - .../12.14_The_try_Statement/S12.14_A19_T1.js | 84 - .../12.14_The_try_Statement/S12.14_A19_T2.js | 118 - .../12.14_The_try_Statement/S12.14_A2.js | 68 - .../12.14_The_try_Statement/S12.14_A3.js | 69 - .../12.14_The_try_Statement/S12.14_A4.js | 53 - .../12.14_The_try_Statement/S12.14_A5.js | 67 - .../12.14_The_try_Statement/S12.14_A6.js | 83 - .../12.14_The_try_Statement/S12.14_A7_T1.js | 154 - .../12.14_The_try_Statement/S12.14_A7_T2.js | 168 -- .../12.14_The_try_Statement/S12.14_A7_T3.js | 185 -- .../12.14_The_try_Statement/S12.14_A8.js | 51 - .../12.14_The_try_Statement/S12.14_A9_T1.js | 39 - .../12.14_The_try_Statement/S12.14_A9_T2.js | 138 - .../12.14_The_try_Statement/S12.14_A9_T3.js | 174 -- .../12.14_The_try_Statement/S12.14_A9_T4.js | 74 - .../12.14_The_try_Statement/S12.14_A9_T5.js | 58 - .../12_Statement/12.1_Block/S12.1_A1.js | 12 - .../12_Statement/12.1_Block/S12.1_A2.js | 53 - .../12_Statement/12.1_Block/S12.1_A4_T1.js | 15 - .../12_Statement/12.1_Block/S12.1_A4_T2.js | 15 - .../12_Statement/12.1_Block/S12.1_A5.js | 73 - .../12.2_Variable_Statement/S12.2_A1.js | 69 - .../12.2_Variable_Statement/S12.2_A10.js | 40 - .../12.2_Variable_Statement/S12.2_A11.js | 45 - .../12.2_Variable_Statement/S12.2_A12.js | 38 - .../12.2_Variable_Statement/S12.2_A2.js | 63 - .../12.2_Variable_Statement/S12.2_A3.js | 71 - .../12.2_Variable_Statement/S12.2_A4.js | 46 - .../12.2_Variable_Statement/S12.2_A5.js | 48 - .../12.2_Variable_Statement/S12.2_A6_T1.js | 52 - .../12.2_Variable_Statement/S12.2_A6_T2.js | 54 - .../12.2_Variable_Statement/S12.2_A7.js | 41 - .../12.2_Variable_Statement/S12.2_A8_T1.js | 13 - .../12.2_Variable_Statement/S12.2_A8_T2.js | 13 - .../12.2_Variable_Statement/S12.2_A8_T3.js | 13 - .../12.2_Variable_Statement/S12.2_A8_T4.js | 13 - .../12.2_Variable_Statement/S12.2_A8_T5.js | 13 - .../12.2_Variable_Statement/S12.2_A8_T6.js | 14 - .../12.2_Variable_Statement/S12.2_A8_T7.js | 14 - .../12.2_Variable_Statement/S12.2_A8_T8.js | 16 - .../12.2_Variable_Statement/S12.2_A9.js | 40 - .../12.3_Empty_Statement/S12.3_A1.js | 34 - .../12.4_Expression_Statement/S12.4_A1.js | 13 - .../12.4_Expression_Statement/S12.4_A2_T1.js | 51 - .../12.4_Expression_Statement/S12.4_A2_T2.js | 51 - .../12.5_The_if_Statement/S12.5_A1.1_T1.js | 69 - .../12.5_The_if_Statement/S12.5_A1.1_T2.js | 87 - .../12.5_The_if_Statement/S12.5_A1.2_T1.js | 88 - .../12.5_The_if_Statement/S12.5_A1.2_T2.js | 117 - .../12.5_The_if_Statement/S12.5_A10_T1.js | 36 - .../12.5_The_if_Statement/S12.5_A10_T2.js | 36 - .../12.5_The_if_Statement/S12.5_A11.js | 19 - .../12.5_The_if_Statement/S12.5_A12_T1.js | 74 - .../12.5_The_if_Statement/S12.5_A12_T2.js | 66 - .../12.5_The_if_Statement/S12.5_A12_T3.js | 54 - .../12.5_The_if_Statement/S12.5_A12_T4.js | 49 - .../12.5_The_if_Statement/S12.5_A1_T1.js | 54 - .../12.5_The_if_Statement/S12.5_A1_T2.js | 68 - .../12.5_The_if_Statement/S12.5_A2.js | 9 - .../12.5_The_if_Statement/S12.5_A3.js | 51 - .../12.5_The_if_Statement/S12.5_A4.js | 53 - .../12.5_The_if_Statement/S12.5_A5.js | 64 - .../12.5_The_if_Statement/S12.5_A6_T1.js | 13 - .../12.5_The_if_Statement/S12.5_A6_T2.js | 14 - .../12.5_The_if_Statement/S12.5_A7.js | 42 - .../12.5_The_if_Statement/S12.5_A8.js | 13 - .../12.5_The_if_Statement/S12.5_A9_T1.js | 14 - .../12.5_The_if_Statement/S12.5_A9_T2.js | 18 - .../12.5_The_if_Statement/S12.5_A9_T3.js | 17 - .../S12.6.1_A1.js | 58 - .../S12.6.1_A10.js | 45 - .../S12.6.1_A11.js | 39 - .../S12.6.1_A12.js | 13 - .../S12.6.1_A13_T1.js | 13 - .../S12.6.1_A13_T2.js | 15 - .../S12.6.1_A13_T3.js | 15 - .../S12.6.1_A14_T1.js | 43 - .../S12.6.1_A14_T2.js | 43 - .../S12.6.1_A15.js | 15 - .../S12.6.1_A2.js | 41 - .../S12.6.1_A3.js | 44 - .../S12.6.1_A4_T1.js | 48 - .../S12.6.1_A4_T2.js | 44 - .../S12.6.1_A4_T3.js | 44 - .../S12.6.1_A4_T4.js | 45 - .../S12.6.1_A4_T5.js | 39 - .../S12.6.1_A5.js | 52 - .../S12.6.1_A6_T1.js | 13 - .../S12.6.1_A6_T2.js | 13 - .../S12.6.1_A6_T3.js | 13 - .../S12.6.1_A6_T4.js | 13 - .../S12.6.1_A6_T5.js | 13 - .../S12.6.1_A6_T6.js | 13 - .../S12.6.1_A7.js | 47 - .../S12.6.1_A8.js | 47 - .../S12.6.1_A9.js | 43 - .../12.6.2_The_while_statement/S12.6.2_A1.js | 78 - .../12.6.2_The_while_statement/S12.6.2_A10.js | 45 - .../12.6.2_The_while_statement/S12.6.2_A11.js | 39 - .../S12.6.2_A13_T1.js | 11 - .../S12.6.2_A13_T2.js | 15 - .../S12.6.2_A13_T3.js | 15 - .../S12.6.2_A14_T1.js | 43 - .../S12.6.2_A14_T2.js | 43 - .../12.6.2_The_while_statement/S12.6.2_A15.js | 15 - .../12.6.2_The_while_statement/S12.6.2_A2.js | 45 - .../12.6.2_The_while_statement/S12.6.2_A3.js | 46 - .../S12.6.2_A4_T1.js | 48 - .../S12.6.2_A4_T2.js | 45 - .../S12.6.2_A4_T3.js | 45 - .../S12.6.2_A4_T4.js | 46 - .../S12.6.2_A4_T5.js | 39 - .../12.6.2_The_while_statement/S12.6.2_A5.js | 52 - .../S12.6.2_A6_T1.js | 13 - .../S12.6.2_A6_T2.js | 13 - .../S12.6.2_A6_T3.js | 13 - .../S12.6.2_A6_T4.js | 13 - .../S12.6.2_A6_T5.js | 13 - .../S12.6.2_A6_T6.js | 13 - .../12.6.2_The_while_statement/S12.6.2_A7.js | 47 - .../12.6.2_The_while_statement/S12.6.2_A8.js | 47 - .../12.6.2_The_while_statement/S12.6.2_A9.js | 43 - .../12.6.3_The_for_Statement/S12.6.3_A1.js | 51 - .../12.6.3_The_for_Statement/S12.6.3_A10.1.js | 127 - .../12.6.3_The_for_Statement/S12.6.3_A10.js | 67 - .../S12.6.3_A11.1_T1.js | 36 - .../S12.6.3_A11.1_T2.js | 79 - .../S12.6.3_A11.1_T3.js | 23 - .../S12.6.3_A11_T1.js | 36 - .../S12.6.3_A11_T2.js | 79 - .../S12.6.3_A11_T3.js | 23 - .../S12.6.3_A12.1_T1.js | 36 - .../S12.6.3_A12.1_T2.js | 80 - .../S12.6.3_A12.1_T3.js | 20 - .../S12.6.3_A12_T1.js | 36 - .../S12.6.3_A12_T2.js | 80 - .../S12.6.3_A12_T3.js | 23 - .../12.6.3_The_for_Statement/S12.6.3_A13.js | 41 - .../12.6.3_The_for_Statement/S12.6.3_A14.js | 62 - .../12.6.3_The_for_Statement/S12.6.3_A15.js | 40 - .../12.6.3_The_for_Statement/S12.6.3_A2.1.js | 41 - .../12.6.3_The_for_Statement/S12.6.3_A2.2.js | 41 - .../12.6.3_The_for_Statement/S12.6.3_A2.js | 49 - .../12.6.3_The_for_Statement/S12.6.3_A3.js | 57 - .../12.6.3_The_for_Statement/S12.6.3_A4.1.js | 18 - .../12.6.3_The_for_Statement/S12.6.3_A4_T1.js | 18 - .../12.6.3_The_for_Statement/S12.6.3_A4_T2.js | 18 - .../12.6.3_The_for_Statement/S12.6.3_A5.js | 58 - .../12.6.3_The_for_Statement/S12.6.3_A6.js | 49 - .../S12.6.3_A7.1_T1.js | 13 - .../S12.6.3_A7.1_T2.js | 13 - .../12.6.3_The_for_Statement/S12.6.3_A7_T1.js | 13 - .../12.6.3_The_for_Statement/S12.6.3_A7_T2.js | 13 - .../S12.6.3_A8.1_T1.js | 15 - .../S12.6.3_A8.1_T2.js | 18 - .../S12.6.3_A8.1_T3.js | 18 - .../12.6.3_The_for_Statement/S12.6.3_A8_T1.js | 15 - .../12.6.3_The_for_Statement/S12.6.3_A8_T2.js | 15 - .../12.6.3_The_for_Statement/S12.6.3_A8_T3.js | 18 - .../12.6.3_The_for_Statement/S12.6.3_A9.1.js | 41 - .../12.6.3_The_for_Statement/S12.6.3_A9.js | 41 - .../12.6.4_The_for_in_Statement/S12.6.4_A1.js | 49 - .../S12.6.4_A13_T1.js | 11 - .../S12.6.4_A13_T2.js | 15 - .../S12.6.4_A13_T3.js | 15 - .../S12.6.4_A14_T1.js | 43 - .../S12.6.4_A14_T2.js | 42 - .../S12.6.4_A15.js | 17 - .../12.6.4_The_for_in_Statement/S12.6.4_A2.js | 49 - .../S12.6.4_A3.1.js | 49 - .../12.6.4_The_for_in_Statement/S12.6.4_A3.js | 49 - .../S12.6.4_A4.1.js | 50 - .../12.6.4_The_for_in_Statement/S12.6.4_A4.js | 50 - .../S12.6.4_A5.1.js | 60 - .../12.6.4_The_for_in_Statement/S12.6.4_A5.js | 60 - .../S12.6.4_A6.1.js | 54 - .../12.6.4_The_for_in_Statement/S12.6.4_A6.js | 54 - .../S12.6.4_A7_T1.js | 65 - .../S12.6.4_A7_T2.js | 65 - .../S12.7_A1_T1.js | 15 - .../S12.7_A1_T2.js | 17 - .../S12.7_A1_T3.js | 19 - .../S12.7_A1_T4.js | 18 - .../12.7_The_continue_Statement/S12.7_A2.js | 80 - .../12.7_The_continue_Statement/S12.7_A3.js | 50 - .../S12.7_A4_T1.js | 51 - .../S12.7_A4_T2.js | 57 - .../S12.7_A4_T3.js | 57 - .../S12.7_A5_T1.js | 22 - .../S12.7_A5_T2.js | 22 - .../S12.7_A5_T3.js | 23 - .../12.7_The_continue_Statement/S12.7_A6.js | 15 - .../12.7_The_continue_Statement/S12.7_A7.js | 45 - .../S12.7_A8_T1.js | 24 - .../S12.7_A8_T2.js | 24 - .../S12.7_A9_T1.js | 48 - .../S12.7_A9_T2.js | 48 - .../12.8_The_break_Statement/S12.8_A1_T1.js | 15 - .../12.8_The_break_Statement/S12.8_A1_T2.js | 17 - .../12.8_The_break_Statement/S12.8_A1_T3.js | 17 - .../12.8_The_break_Statement/S12.8_A1_T4.js | 19 - .../12.8_The_break_Statement/S12.8_A2.js | 80 - .../12.8_The_break_Statement/S12.8_A3.js | 50 - .../12.8_The_break_Statement/S12.8_A4_T1.js | 51 - .../12.8_The_break_Statement/S12.8_A4_T2.js | 57 - .../12.8_The_break_Statement/S12.8_A4_T3.js | 57 - .../12.8_The_break_Statement/S12.8_A5_T1.js | 25 - .../12.8_The_break_Statement/S12.8_A5_T2.js | 25 - .../12.8_The_break_Statement/S12.8_A5_T3.js | 28 - .../12.8_The_break_Statement/S12.8_A6.js | 15 - .../12.8_The_break_Statement/S12.8_A7.js | 45 - .../12.8_The_break_Statement/S12.8_A8_T1.js | 25 - .../12.8_The_break_Statement/S12.8_A8_T2.js | 25 - .../12.8_The_break_Statement/S12.8_A9_T1.js | 48 - .../12.8_The_break_Statement/S12.8_A9_T2.js | 48 - .../12.9_The_return_Statement/S12.9_A1_T1.js | 13 - .../12.9_The_return_Statement/S12.9_A1_T10.js | 13 - .../12.9_The_return_Statement/S12.9_A1_T2.js | 15 - .../12.9_The_return_Statement/S12.9_A1_T3.js | 17 - .../12.9_The_return_Statement/S12.9_A1_T4.js | 13 - .../12.9_The_return_Statement/S12.9_A1_T5.js | 17 - .../12.9_The_return_Statement/S12.9_A1_T6.js | 17 - .../12.9_The_return_Statement/S12.9_A1_T7.js | 17 - .../12.9_The_return_Statement/S12.9_A1_T8.js | 17 - .../12.9_The_return_Statement/S12.9_A1_T9.js | 17 - .../12.9_The_return_Statement/S12.9_A2.js | 72 - .../12.9_The_return_Statement/S12.9_A3.js | 36 - .../12.9_The_return_Statement/S12.9_A4.js | 45 - .../12.9_The_return_Statement/S12.9_A5.js | 56 - .../13.0_Chapter/S13.0_A1.js | 47 - .../13.0_Chapter/S13.0_A10.js | 48 - .../13.0_Chapter/S13.0_A11_T1.js | 36 - .../13.0_Chapter/S13.0_A11_T2.js | 39 - .../13.0_Chapter/S13.0_A11_T3.js | 41 - .../13.0_Chapter/S13.0_A11_T4.js | 44 - .../13.0_Chapter/S13.0_A12_T1.js | 48 - .../13.0_Chapter/S13.0_A12_T2.js | 53 - .../13.0_Chapter/S13.0_A13_T1.js | 42 - .../13.0_Chapter/S13.0_A13_T2.js | 43 - .../13.0_Chapter/S13.0_A13_T3.js | 47 - .../13.0_Chapter/S13.0_A14.js | 36 - .../13.0_Chapter/S13.0_A15_T1.js | 38 - .../13.0_Chapter/S13.0_A15_T2.js | 41 - .../13.0_Chapter/S13.0_A15_T3.js | 51 - .../13.0_Chapter/S13.0_A15_T4.js | 41 - .../13.0_Chapter/S13.0_A15_T5.js | 50 - .../13.0_Chapter/S13.0_A16.js | 60 - .../13.0_Chapter/S13.0_A17_T1.js | 61 - .../13.0_Chapter/S13.0_A17_T2.js | 62 - .../13.0_Chapter/S13.0_A18.js | 48 - .../13.0_Chapter/S13.0_A19_T1.js | 48 - .../13.0_Chapter/S13.0_A19_T2.js | 51 - .../13.0_Chapter/S13.0_A2_T1.js | 45 - .../13.0_Chapter/S13.0_A2_T2.js | 45 - .../13.0_Chapter/S13.0_A2_T3.js | 45 - .../13.0_Chapter/S13.0_A3_T1.js | 45 - .../13.0_Chapter/S13.0_A3_T2.js | 45 - .../13.0_Chapter/S13.0_A3_T3.js | 44 - .../13.0_Chapter/S13.0_A4_T1.js | 44 - .../13.0_Chapter/S13.0_A4_T2.js | 44 - .../13.0_Chapter/S13.0_A4_T3.js | 44 - .../13.0_Chapter/S13.0_A4_T4.js | 62 - .../13.0_Chapter/S13.0_A5.js | 65 - .../13.0_Chapter/S13.0_A6_T1.js | 52 - .../13.0_Chapter/S13.0_A6_T2.js | 52 - .../13.0_Chapter/S13.0_A7_T1.js | 89 - .../13.0_Chapter/S13.0_A7_T2.js | 65 - .../13.0_Chapter/S13.0_A7_T3.js | 9 - .../13.0_Chapter/S13.0_A8_T1.js | 49 - .../13.0_Chapter/S13.0_A8_T2.js | 54 - .../13.0_Chapter/S13.0_A9.js | 38 - .../S13.2.1_A1_T1.js | 90 - .../S13.2.1_A4_T1.js | 43 - .../S13.2.1_A4_T2.js | 43 - .../S13.2.1_A4_T3.js | 43 - .../S13.2.1_A4_T4.js | 43 - .../S13.2.1_A5_T1.js | 46 - .../S13.2.1_A5_T2.js | 43 - .../S13.2.1_A6_T1.js | 47 - .../S13.2.1_A6_T2.js | 47 - .../S13.2.1_A7_T1.js | 43 - .../S13.2.1_A7_T2.js | 43 - .../S13.2.1_A7_T3.js | 69 - .../S13.2.1_A7_T4.js | 70 - .../S13.2.1_A8_T1.js | 43 - .../S13.2.1_A8_T2.js | 45 - .../S13.2.1_A9.1_T1.js | 49 - .../S13.2.1_A9.1_T2.js | 49 - .../S13.2.1_A9_T1.js | 50 - .../S13.2.1_A9_T2.js | 50 - .../S13.2.2_A10.js | 54 - .../S13.2.2_A11.js | 46 - .../S13.2.2_A12.js | 54 - .../S13.2.2_A13.js | 43 - .../S13.2.2_A14.js | 44 - .../S13.2.2_A15_T1.js | 61 - .../S13.2.2_A15_T2.js | 61 - .../S13.2.2_A15_T3.js | 61 - .../S13.2.2_A15_T4.js | 62 - .../S13.2.2_A16_T1.js | 52 - .../S13.2.2_A16_T2.js | 52 - .../S13.2.2_A16_T3.js | 60 - .../S13.2.2_A17_T1.js | 72 - .../S13.2.2_A17_T2.js | 88 - .../S13.2.2_A17_T3.js | 84 - .../S13.2.2_A18_T1.js | 70 - .../S13.2.2_A18_T2.js | 73 - .../S13.2.2_A19_T1.js | 45 - .../S13.2.2_A19_T2.js | 43 - .../S13.2.2_A19_T3.js | 53 - .../S13.2.2_A19_T4.js | 55 - .../S13.2.2_A19_T5.js | 56 - .../S13.2.2_A19_T6.js | 62 - .../S13.2.2_A19_T7.js | 70 - .../S13.2.2_A19_T8.js | 90 - .../S13.2.2_A1_T1.js | 60 - .../S13.2.2_A1_T2.js | 60 - .../S13.2.2_A2.js | 58 - .../S13.2.2_A3_T1.js | 51 - .../S13.2.2_A3_T2.js | 51 - .../S13.2.2_A4_T1.js | 54 - .../S13.2.2_A4_T2.js | 54 - .../S13.2.2_A5_T1.js | 96 - .../S13.2.2_A5_T2.js | 96 - .../S13.2.2_A6_T1.js | 57 - .../S13.2.2_A6_T2.js | 57 - .../S13.2.2_A7_T1.js | 58 - .../S13.2.2_A7_T2.js | 58 - .../S13.2.2_A8_T1.js | 70 - .../S13.2.2_A8_T2.js | 68 - .../S13.2.2_A8_T3.js | 68 - .../S13.2.2_A9.js | 45 - .../S13.2_A1_T1.js | 36 - .../S13.2_A1_T2.js | 36 - .../S13.2_A2_T1.js | 44 - .../S13.2_A2_T2.js | 46 - .../S13.2_A3.js | 47 - .../S13.2_A4_T1.js | 68 - .../S13.2_A4_T2.js | 68 - .../S13.2_A5.js | 50 - .../14_Program/14.0_Chapter/S14.0_A1.js | 51 - .../14_Program/14.0_Chapter/S14.0_A2.js | 47 - .../14_Program/14.0_Chapter/S14.0_A3.js | 46 - .../14_Program/14.0_Chapter/S14.0_A5_T1.js | 38 - .../14_Program/14.0_Chapter/S14.0_A5_T2.js | 37 - .../15.10.1_Patterns/S15.10.1_A1_T1.js | 35 - .../15.10.1_Patterns/S15.10.1_A1_T10.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T11.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T12.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T13.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T14.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T15.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T16.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T2.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T3.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T4.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T5.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T6.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T7.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T8.js | 36 - .../15.10.1_Patterns/S15.10.1_A1_T9.js | 36 - .../S15.10.2.10_A1.1_T1.js | 39 - .../S15.10.2.10_A1.2_T1.js | 39 - .../S15.10.2.10_A1.3_T1.js | 39 - .../S15.10.2.10_A1.4_T1.js | 39 - .../S15.10.2.10_A1.5_T1.js | 39 - .../S15.10.2.10_A2.1_T1.js | 40 - .../S15.10.2.10_A2.1_T2.js | 40 - .../S15.10.2.10_A2.1_T3.js | 54 - .../S15.10.2.10_A3.1_T1.js | 50 - .../S15.10.2.10_A3.1_T2.js | 56 - .../S15.10.2.10_A4.1_T1.js | 62 - .../S15.10.2.10_A4.1_T2.js | 56 - .../S15.10.2.10_A4.1_T3.js | 56 - .../S15.10.2.10_A5.1_T1.js | 38 - .../S15.10.2.11_A1_T1.js | 38 - .../S15.10.2.11_A1_T2.js | 18 - .../S15.10.2.11_A1_T3.js | 9 - .../S15.10.2.11_A1_T4.js | 38 - .../S15.10.2.11_A1_T5.js | 38 - .../S15.10.2.11_A1_T6.js | 43 - .../S15.10.2.11_A1_T7.js | 43 - .../S15.10.2.11_A1_T8.js | 40 - .../S15.10.2.11_A1_T9.js | 40 - .../S15.10.2.12_A1_T1.js | 539 ---- .../S15.10.2.12_A1_T2.js | 51 - .../S15.10.2.12_A1_T3.js | 53 - .../S15.10.2.12_A1_T4.js | 53 - .../S15.10.2.12_A1_T5.js | 45 - .../S15.10.2.12_A2_T1.js | 540 ---- .../S15.10.2.12_A2_T2.js | 52 - .../S15.10.2.12_A2_T3.js | 58 - .../S15.10.2.12_A2_T4.js | 58 - .../S15.10.2.12_A2_T5.js | 46 - .../S15.10.2.12_A3_T1.js | 2075 ------------- .../S15.10.2.12_A3_T2.js | 43 - .../S15.10.2.12_A3_T3.js | 54 - .../S15.10.2.12_A3_T4.js | 53 - .../S15.10.2.12_A3_T5.js | 45 - .../S15.10.2.12_A4_T1.js | 539 ---- .../S15.10.2.12_A4_T2.js | 41 - .../S15.10.2.12_A4_T3.js | 52 - .../S15.10.2.12_A4_T4.js | 57 - .../S15.10.2.12_A4_T5.js | 45 - .../S15.10.2.12_A5_T1.js | 538 ---- .../S15.10.2.12_A5_T2.js | 52 - .../S15.10.2.12_A5_T3.js | 52 - .../S15.10.2.12_A5_T4.js | 44 - .../S15.10.2.12_A6_T1.js | 539 ---- .../S15.10.2.12_A6_T2.js | 57 - .../S15.10.2.12_A6_T3.js | 57 - .../S15.10.2.12_A6_T4.js | 45 - .../S15.10.2.13_A1_T1.js | 34 - .../S15.10.2.13_A1_T10.js | 55 - .../S15.10.2.13_A1_T11.js | 55 - .../S15.10.2.13_A1_T12.js | 55 - .../S15.10.2.13_A1_T13.js | 55 - .../S15.10.2.13_A1_T14.js | 55 - .../S15.10.2.13_A1_T15.js | 55 - .../S15.10.2.13_A1_T16.js | 55 - .../S15.10.2.13_A1_T17.js | 34 - .../S15.10.2.13_A1_T2.js | 34 - .../S15.10.2.13_A1_T3.js | 55 - .../S15.10.2.13_A1_T4.js | 55 - .../S15.10.2.13_A1_T5.js | 55 - .../S15.10.2.13_A1_T6.js | 55 - .../S15.10.2.13_A1_T7.js | 34 - .../S15.10.2.13_A1_T8.js | 55 - .../S15.10.2.13_A1_T9.js | 55 - .../S15.10.2.13_A2_T1.js | 55 - .../S15.10.2.13_A2_T2.js | 55 - .../S15.10.2.13_A2_T3.js | 55 - .../S15.10.2.13_A2_T4.js | 55 - .../S15.10.2.13_A2_T5.js | 55 - .../S15.10.2.13_A2_T6.js | 34 - .../S15.10.2.13_A2_T7.js | 55 - .../S15.10.2.13_A2_T8.js | 55 - .../S15.10.2.13_A3_T1.js | 55 - .../S15.10.2.13_A3_T2.js | 55 - .../S15.10.2.13_A3_T3.js | 55 - .../S15.10.2.13_A3_T4.js | 55 - .../S15.10.2.15_A1_T1.js | 38 - .../S15.10.2.15_A1_T10.js | 38 - .../S15.10.2.15_A1_T11.js | 38 - .../S15.10.2.15_A1_T12.js | 38 - .../S15.10.2.15_A1_T13.js | 38 - .../S15.10.2.15_A1_T14.js | 38 - .../S15.10.2.15_A1_T15.js | 38 - .../S15.10.2.15_A1_T16.js | 38 - .../S15.10.2.15_A1_T17.js | 38 - .../S15.10.2.15_A1_T18.js | 38 - .../S15.10.2.15_A1_T19.js | 38 - .../S15.10.2.15_A1_T2.js | 38 - .../S15.10.2.15_A1_T20.js | 38 - .../S15.10.2.15_A1_T21.js | 38 - .../S15.10.2.15_A1_T22.js | 38 - .../S15.10.2.15_A1_T23.js | 38 - .../S15.10.2.15_A1_T24.js | 38 - .../S15.10.2.15_A1_T25.js | 38 - .../S15.10.2.15_A1_T26.js | 38 - .../S15.10.2.15_A1_T27.js | 38 - .../S15.10.2.15_A1_T28.js | 38 - .../S15.10.2.15_A1_T29.js | 38 - .../S15.10.2.15_A1_T3.js | 38 - .../S15.10.2.15_A1_T30.js | 38 - .../S15.10.2.15_A1_T31.js | 38 - .../S15.10.2.15_A1_T32.js | 38 - .../S15.10.2.15_A1_T33.js | 38 - .../S15.10.2.15_A1_T34.js | 38 - .../S15.10.2.15_A1_T35.js | 38 - .../S15.10.2.15_A1_T36.js | 38 - .../S15.10.2.15_A1_T37.js | 38 - .../S15.10.2.15_A1_T38.js | 38 - .../S15.10.2.15_A1_T39.js | 38 - .../S15.10.2.15_A1_T4.js | 38 - .../S15.10.2.15_A1_T40.js | 38 - .../S15.10.2.15_A1_T41.js | 38 - .../S15.10.2.15_A1_T5.js | 38 - .../S15.10.2.15_A1_T6.js | 38 - .../S15.10.2.15_A1_T7.js | 38 - .../S15.10.2.15_A1_T8.js | 38 - .../S15.10.2.15_A1_T9.js | 38 - .../15.10.2.3_Disjunction/S15.10.2.3_A1_T1.js | 57 - .../S15.10.2.3_A1_T10.js | 57 - .../S15.10.2.3_A1_T11.js | 57 - .../S15.10.2.3_A1_T12.js | 57 - .../S15.10.2.3_A1_T13.js | 57 - .../S15.10.2.3_A1_T14.js | 57 - .../S15.10.2.3_A1_T15.js | 57 - .../S15.10.2.3_A1_T16.js | 57 - .../S15.10.2.3_A1_T17.js | 57 - .../15.10.2.3_Disjunction/S15.10.2.3_A1_T2.js | 57 - .../15.10.2.3_Disjunction/S15.10.2.3_A1_T3.js | 57 - .../15.10.2.3_Disjunction/S15.10.2.3_A1_T4.js | 57 - .../15.10.2.3_Disjunction/S15.10.2.3_A1_T5.js | 36 - .../15.10.2.3_Disjunction/S15.10.2.3_A1_T6.js | 57 - .../15.10.2.3_Disjunction/S15.10.2.3_A1_T7.js | 36 - .../15.10.2.3_Disjunction/S15.10.2.3_A1_T8.js | 57 - .../15.10.2.3_Disjunction/S15.10.2.3_A1_T9.js | 57 - .../15.10.2.5_Term/S15.10.2.5_A1_T1.js | 55 - .../15.10.2.5_Term/S15.10.2.5_A1_T2.js | 55 - .../15.10.2.5_Term/S15.10.2.5_A1_T3.js | 55 - .../15.10.2.5_Term/S15.10.2.5_A1_T4.js | 55 - .../15.10.2.5_Term/S15.10.2.5_A1_T5.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A1_T1.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A1_T2.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A1_T3.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A1_T4.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A1_T5.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T1.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T10.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T2.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T3.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T4.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T5.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T6.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T7.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T8.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A2_T9.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T1.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T10.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T11.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T12.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T13.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T14.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T15.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T2.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T3.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T4.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T5.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T6.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T7.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T8.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A3_T9.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A4_T1.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A4_T2.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A4_T3.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A4_T4.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A4_T5.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A4_T6.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A4_T7.js | 34 - .../15.10.2.6_Assertion/S15.10.2.6_A4_T8.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A5_T1.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A5_T2.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A6_T1.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A6_T2.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A6_T3.js | 55 - .../15.10.2.6_Assertion/S15.10.2.6_A6_T4.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T1.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T10.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T11.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T12.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T2.js | 34 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T3.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T4.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T5.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T6.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T7.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T8.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A1_T9.js | 34 - .../15.10.2.7_Quantifier/S15.10.2.7_A2_T1.js | 56 - .../15.10.2.7_Quantifier/S15.10.2.7_A2_T2.js | 56 - .../15.10.2.7_Quantifier/S15.10.2.7_A2_T3.js | 56 - .../15.10.2.7_Quantifier/S15.10.2.7_A2_T4.js | 35 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T1.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T10.js | 34 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T11.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T12.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T13.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T14.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T2.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T3.js | 34 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T4.js | 34 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T5.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T6.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T7.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T8.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A3_T9.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T1.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T10.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T11.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T12.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T13.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T14.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T15.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T16.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T17.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T18.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T19.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T20.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T21.js | 34 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T3.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T4.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T5.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T6.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T7.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T8.js | 34 - .../15.10.2.7_Quantifier/S15.10.2.7_A4_T9.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T1.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T10.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T11.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T12.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T2.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T3.js | 34 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T4.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T5.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T6.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T7.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T8.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A5_T9.js | 55 - .../15.10.2.7_Quantifier/S15.10.2.7_A6_T1.js | 57 - .../15.10.2.7_Quantifier/S15.10.2.7_A6_T2.js | 36 - .../15.10.2.7_Quantifier/S15.10.2.7_A6_T3.js | 57 - .../15.10.2.7_Quantifier/S15.10.2.7_A6_T4.js | 57 - .../15.10.2.7_Quantifier/S15.10.2.7_A6_T5.js | 57 - .../15.10.2.7_Quantifier/S15.10.2.7_A6_T6.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A1_T1.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A1_T2.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A1_T3.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A1_T4.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A1_T5.js | 36 - .../15.10.2.8_Atom/S15.10.2.8_A2_T1.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A2_T10.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A2_T11.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A2_T2.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A2_T3.js | 36 - .../15.10.2.8_Atom/S15.10.2.8_A2_T4.js | 36 - .../15.10.2.8_Atom/S15.10.2.8_A2_T5.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A2_T6.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A2_T7.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A2_T8.js | 36 - .../15.10.2.8_Atom/S15.10.2.8_A2_T9.js | 57 - .../15.10.2.8_Atom/S15.10.2.8_A3_T1.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T10.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T11.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T12.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T13.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T14.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T15.js | 76 - .../15.10.2.8_Atom/S15.10.2.8_A3_T16.js | 74 - .../15.10.2.8_Atom/S15.10.2.8_A3_T17.js | 69 - .../15.10.2.8_Atom/S15.10.2.8_A3_T18.js | 39 - .../15.10.2.8_Atom/S15.10.2.8_A3_T19.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T2.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T20.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T21.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T22.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T23.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T24.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T25.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T26.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T27.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T28.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T29.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T3.js | 37 - .../15.10.2.8_Atom/S15.10.2.8_A3_T30.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T31.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T32.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T33.js | 60 - .../15.10.2.8_Atom/S15.10.2.8_A3_T4.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T5.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T6.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T7.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T8.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A3_T9.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A4_T1.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A4_T2.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A4_T3.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A4_T4.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A4_T5.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A4_T6.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A4_T7.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A4_T8.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A4_T9.js | 58 - .../15.10.2.8_Atom/S15.10.2.8_A5_T1.js | 56 - .../15.10.2.8_Atom/S15.10.2.8_A5_T2.js | 56 - .../15.10.2.9_AtomEscape/S15.10.2.9_A1_T1.js | 55 - .../15.10.2.9_AtomEscape/S15.10.2.9_A1_T2.js | 55 - .../15.10.2.9_AtomEscape/S15.10.2.9_A1_T3.js | 55 - .../15.10.2.9_AtomEscape/S15.10.2.9_A1_T4.js | 33 - .../15.10.2.9_AtomEscape/S15.10.2.9_A1_T5.js | 55 - .../S15.10.2_A1_T1.js | 105 - .../S15.10.3.1_A1_T1.js | 36 - .../S15.10.3.1_A1_T2.js | 35 - .../S15.10.3.1_A1_T3.js | 37 - .../S15.10.3.1_A1_T4.js | 36 - .../S15.10.3.1_A1_T5.js | 36 - .../S15.10.3.1_A2_T1.js | 37 - .../S15.10.3.1_A2_T2.js | 39 - .../S15.10.3.1_A3_T1.js | 41 - .../S15.10.3.1_A3_T2.js | 40 - .../S15.10.4.1_A1_T1.js | 50 - .../S15.10.4.1_A1_T2.js | 52 - .../S15.10.4.1_A1_T3.js | 52 - .../S15.10.4.1_A1_T4.js | 51 - .../S15.10.4.1_A1_T5.js | 52 - .../S15.10.4.1_A2_T1.js | 36 - .../S15.10.4.1_A2_T2.js | 36 - .../S15.10.4.1_A3_T1.js | 50 - .../S15.10.4.1_A3_T2.js | 49 - .../S15.10.4.1_A3_T3.js | 51 - .../S15.10.4.1_A3_T4.js | 48 - .../S15.10.4.1_A3_T5.js | 49 - .../S15.10.4.1_A4_T1.js | 50 - .../S15.10.4.1_A4_T2.js | 49 - .../S15.10.4.1_A4_T3.js | 49 - .../S15.10.4.1_A4_T4.js | 49 - .../S15.10.4.1_A4_T5.js | 48 - .../S15.10.4.1_A5_T1.js | 36 - .../S15.10.4.1_A5_T2.js | 36 - .../S15.10.4.1_A5_T3.js | 36 - .../S15.10.4.1_A5_T4.js | 36 - .../S15.10.4.1_A5_T5.js | 36 - .../S15.10.4.1_A5_T6.js | 36 - .../S15.10.4.1_A5_T7.js | 36 - .../S15.10.4.1_A5_T8.js | 36 - .../S15.10.4.1_A5_T9.js | 36 - .../S15.10.4.1_A6_T1.js | 35 - .../S15.10.4.1_A7_T1.js | 35 - .../S15.10.4.1_A7_T2.js | 34 - .../S15.10.4.1_A8_T1.js | 54 - .../S15.10.4.1_A8_T10.js | 54 - .../S15.10.4.1_A8_T11.js | 54 - .../S15.10.4.1_A8_T12.js | 36 - .../S15.10.4.1_A8_T13.js | 37 - .../S15.10.4.1_A8_T2.js | 54 - .../S15.10.4.1_A8_T3.js | 54 - .../S15.10.4.1_A8_T4.js | 54 - .../S15.10.4.1_A8_T5.js | 54 - .../S15.10.4.1_A8_T6.js | 36 - .../S15.10.4.1_A8_T7.js | 36 - .../S15.10.4.1_A8_T8.js | 36 - .../S15.10.4.1_A8_T9.js | 54 - .../S15.10.4.1_A9_T1.js | 36 - .../S15.10.4.1_A9_T2.js | 36 - .../S15.10.4.1_A9_T3.js | 36 - .../S15.10.5.1_A1.js | 32 - .../S15.10.5.1_A2.js | 47 - .../S15.10.5.1_A3.js | 42 - .../S15.10.5.1_A4.js | 41 - .../S15.10.5_A1.js | 32 - .../S15.10.5_A2_T1.js | 32 - .../S15.10.5_A2_T2.js | 34 - .../S15.10.6.2_A10.js | 40 - .../S15.10.6.2_A11.js | 37 - .../S15.10.6.2_A12.js | 35 - .../S15.10.6.2_A1_T1.js | 60 - .../S15.10.6.2_A1_T10.js | 61 - .../S15.10.6.2_A1_T11.js | 61 - .../S15.10.6.2_A1_T12.js | 61 - .../S15.10.6.2_A1_T13.js | 61 - .../S15.10.6.2_A1_T14.js | 61 - .../S15.10.6.2_A1_T15.js | 61 - .../S15.10.6.2_A1_T16.js | 33 - .../S15.10.6.2_A1_T17.js | 61 - .../S15.10.6.2_A1_T18.js | 61 - .../S15.10.6.2_A1_T19.js | 61 - .../S15.10.6.2_A1_T2.js | 63 - .../S15.10.6.2_A1_T20.js | 62 - .../S15.10.6.2_A1_T21.js | 61 - .../S15.10.6.2_A1_T3.js | 61 - .../S15.10.6.2_A1_T4.js | 61 - .../S15.10.6.2_A1_T5.js | 61 - .../S15.10.6.2_A1_T6.js | 61 - .../S15.10.6.2_A1_T7.js | 38 - .../S15.10.6.2_A1_T8.js | 37 - .../S15.10.6.2_A1_T9.js | 37 - .../S15.10.6.2_A2_T1.js | 40 - .../S15.10.6.2_A2_T10.js | 38 - .../S15.10.6.2_A2_T2.js | 41 - .../S15.10.6.2_A2_T3.js | 40 - .../S15.10.6.2_A2_T4.js | 42 - .../S15.10.6.2_A2_T5.js | 42 - .../S15.10.6.2_A2_T6.js | 40 - .../S15.10.6.2_A2_T7.js | 40 - .../S15.10.6.2_A2_T8.js | 40 - .../S15.10.6.2_A2_T9.js | 40 - .../S15.10.6.2_A3_T1.js | 56 - .../S15.10.6.2_A3_T2.js | 172 -- .../S15.10.6.2_A3_T3.js | 172 -- .../S15.10.6.2_A3_T4.js | 172 -- .../S15.10.6.2_A3_T5.js | 56 - .../S15.10.6.2_A3_T6.js | 56 - .../S15.10.6.2_A3_T7.js | 56 - .../S15.10.6.2_A4_T1.js | 88 - .../S15.10.6.2_A4_T10.js | 90 - .../S15.10.6.2_A4_T11.js | 71 - .../S15.10.6.2_A4_T12.js | 90 - .../S15.10.6.2_A4_T2.js | 88 - .../S15.10.6.2_A4_T3.js | 88 - .../S15.10.6.2_A4_T4.js | 88 - .../S15.10.6.2_A4_T5.js | 89 - .../S15.10.6.2_A4_T6.js | 88 - .../S15.10.6.2_A4_T7.js | 88 - .../S15.10.6.2_A4_T8.js | 88 - .../S15.10.6.2_A4_T9.js | 88 - .../S15.10.6.2_A5_T1.js | 70 - .../S15.10.6.2_A5_T2.js | 43 - .../S15.10.6.2_A5_T3.js | 56 - .../S15.10.6.2_A6.js | 31 - .../S15.10.6.2_A7.js | 37 - .../S15.10.6.2_A8.js | 48 - .../S15.10.6.2_A9.js | 42 - .../S15.10.6.3_A10.js | 41 - .../S15.10.6.3_A11.js | 37 - .../S15.10.6.3_A1_T1.js | 35 - .../S15.10.6.3_A1_T10.js | 35 - .../S15.10.6.3_A1_T11.js | 35 - .../S15.10.6.3_A1_T12.js | 35 - .../S15.10.6.3_A1_T13.js | 35 - .../S15.10.6.3_A1_T14.js | 35 - .../S15.10.6.3_A1_T15.js | 35 - .../S15.10.6.3_A1_T16.js | 34 - .../S15.10.6.3_A1_T17.js | 34 - .../S15.10.6.3_A1_T18.js | 34 - .../S15.10.6.3_A1_T19.js | 34 - .../S15.10.6.3_A1_T2.js | 35 - .../S15.10.6.3_A1_T20.js | 35 - .../S15.10.6.3_A1_T21.js | 34 - .../S15.10.6.3_A1_T3.js | 35 - .../S15.10.6.3_A1_T4.js | 35 - .../S15.10.6.3_A1_T5.js | 35 - .../S15.10.6.3_A1_T6.js | 34 - .../S15.10.6.3_A1_T7.js | 36 - .../S15.10.6.3_A1_T8.js | 35 - .../S15.10.6.3_A1_T9.js | 36 - .../S15.10.6.3_A2_T1.js | 40 - .../S15.10.6.3_A2_T10.js | 37 - .../S15.10.6.3_A2_T2.js | 42 - .../S15.10.6.3_A2_T3.js | 40 - .../S15.10.6.3_A2_T4.js | 42 - .../S15.10.6.3_A2_T5.js | 41 - .../S15.10.6.3_A2_T6.js | 40 - .../S15.10.6.3_A2_T7.js | 41 - .../S15.10.6.3_A2_T8.js | 39 - .../S15.10.6.3_A2_T9.js | 40 - .../S15.10.6.3_A6.js | 32 - .../S15.10.6.3_A7.js | 37 - .../S15.10.6.3_A8.js | 48 - .../S15.10.6.3_A9.js | 42 - .../S15.10.6.4_A10.js | 41 - .../S15.10.6.4_A11.js | 37 - .../S15.10.6.4_A6.js | 32 - .../S15.10.6.4_A7.js | 37 - .../S15.10.6.4_A8.js | 48 - .../S15.10.6.4_A9.js | 42 - .../S15.10.6.1_A1_T1.js | 32 - .../S15.10.6.1_A1_T2.js | 41 - .../S15.10.6_A1_T1.js | 32 - .../S15.10.6_A1_T2.js | 34 - .../S15.10.6_A2.js | 34 - .../15.10.7.1_source/S15.10.7.1_A10.js | 43 - .../15.10.7.1_source/S15.10.7.1_A8.js | 49 - .../15.10.7.1_source/S15.10.7.1_A9.js | 44 - .../15.10.7.2_global/S15.10.7.2_A10.js | 43 - .../15.10.7.2_global/S15.10.7.2_A8.js | 49 - .../15.10.7.2_global/S15.10.7.2_A9.js | 44 - .../15.10.7.3_ignoreCase/S15.10.7.3_A10.js | 43 - .../15.10.7.3_ignoreCase/S15.10.7.3_A8.js | 48 - .../15.10.7.3_ignoreCase/S15.10.7.3_A9.js | 46 - .../15.10.7.4_multiline/S15.10.7.4_A10.js | 43 - .../15.10.7.4_multiline/S15.10.7.4_A8.js | 48 - .../15.10.7.4_multiline/S15.10.7.4_A9.js | 44 - .../15.10.7.5_lastIndex/S15.10.7.5_A8.js | 48 - .../15.10.7.5_lastIndex/S15.10.7.5_A9.js | 44 - .../S15.10.7_A1_T1.js | 36 - .../S15.10.7_A1_T2.js | 37 - .../S15.10.7_A2_T1.js | 36 - .../S15.10.7_A2_T2.js | 36 - .../S15.10.7_A3_T1.js | 45 - .../S15.10.7_A3_T2.js | 45 - .../S15.11.1.1_A1_T1.js | 68 - .../S15.11.1.1_A2_T1.js | 36 - .../S15.11.1.1_A3_T1.js | 36 - .../S15.11.1_A1_T1.js | 37 - .../S15.11.2.1_A1_T1.js | 68 - .../S15.11.2.1_A2_T1.js | 36 - .../S15.11.2.1_A3_T1.js | 36 - .../S15.11.3.1_A1_T1.js | 43 - .../S15.11.3.1_A2_T1.js | 58 - .../S15.11.3.1_A3_T1.js | 57 - .../S15.11.3.1_A4_T1.js | 34 - .../S15.11.3_A1_T1.js | 43 - .../S15.11.3_A2_T1.js | 43 - .../S15.11.4.1_A1_T1.js | 34 - .../S15.11.4.1_A1_T2.js | 72 - .../S15.11.4.2_A1.js | 34 - .../S15.11.4.2_A2.js | 34 - .../S15.11.4.3_A1.js | 34 - .../S15.11.4.3_A2.js | 34 - .../S15.11.4.4_A1.js | 34 - .../S15.11.4.4_A2.js | 41 - .../S15.11.4_A1.js | 35 - .../S15.11.4_A2.js | 37 - .../S15.11.4_A3.js | 36 - .../S15.11.4_A4.js | 36 - .../15.12.2_JSON.parse/S15.12.2_A1.js | 34 - .../15.1.1.1_NaN/S15.1.1.1_A1.js | 42 - .../15.1.1.1_NaN/S15.1.1.1_A2_T1.js | 45 - .../15.1.1.1_NaN/S15.1.1.1_A2_T2.js | 32 - .../15.1.1.1_NaN/S15.1.1.1_A3.1.js | 33 - .../15.1.1.1_NaN/S15.1.1.1_A3.2.js | 33 - .../15.1.1.2_Infinity/S15.1.1.2_A1.js | 47 - .../15.1.1.2_Infinity/S15.1.1.2_A2_T1.js | 46 - .../15.1.1.2_Infinity/S15.1.1.2_A2_T2.js | 32 - .../15.1.1.2_Infinity/S15.1.1.2_A3.1.js | 32 - .../15.1.1.2_Infinity/S15.1.1.2_A3.2.js | 33 - .../15.1.1.3_undefined/S15.1.1.3_A1.js | 41 - .../15.1.1.3_undefined/S15.1.1.3_A2_T1.js | 45 - .../15.1.1.3_undefined/S15.1.1.3_A2_T2.js | 33 - .../15.1.1.3_undefined/S15.1.1.3_A3.1.js | 32 - .../15.1.1.3_undefined/S15.1.1.3_A3.2.js | 33 - .../15.1.2.1_eval/S15.1.2.1_A1.1_T1.js | 52 - .../15.1.2.1_eval/S15.1.2.1_A1.1_T2.js | 50 - .../15.1.2.1_eval/S15.1.2.1_A1.2_T1.js | 33 - .../15.1.2.1_eval/S15.1.2.1_A2_T1.js | 37 - .../15.1.2.1_eval/S15.1.2.1_A2_T2.js | 11 - .../15.1.2.1_eval/S15.1.2.1_A3.1_T1.js | 49 - .../15.1.2.1_eval/S15.1.2.1_A3.1_T2.js | 41 - .../15.1.2.1_eval/S15.1.2.1_A3.2_T1.js | 32 - .../15.1.2.1_eval/S15.1.2.1_A3.2_T2.js | 32 - .../15.1.2.1_eval/S15.1.2.1_A3.2_T3.js | 32 - .../15.1.2.1_eval/S15.1.2.1_A3.2_T4.js | 32 - .../15.1.2.1_eval/S15.1.2.1_A3.2_T5.js | 32 - .../15.1.2.1_eval/S15.1.2.1_A3.2_T6.js | 32 - .../15.1.2.1_eval/S15.1.2.1_A3.2_T7.js | 32 - .../15.1.2.1_eval/S15.1.2.1_A3.2_T8.js | 32 - .../15.1.2.1_eval/S15.1.2.1_A3.3_T1.js | 51 - .../15.1.2.1_eval/S15.1.2.1_A3.3_T2.js | 51 - .../15.1.2.1_eval/S15.1.2.1_A3.3_T3.js | 50 - .../15.1.2.1_eval/S15.1.2.1_A3.3_T4.js | 37 - .../15.1.2.1_eval/S15.1.2.1_A4.1.js | 44 - .../15.1.2.1_eval/S15.1.2.1_A4.2.js | 46 - .../15.1.2.1_eval/S15.1.2.1_A4.3.js | 35 - .../15.1.2.1_eval/S15.1.2.1_A4.4.js | 32 - .../15.1.2.1_eval/S15.1.2.1_A4.5.js | 44 - .../15.1.2.1_eval/S15.1.2.1_A4.6.js | 31 - .../15.1.2.1_eval/S15.1.2.1_A4.7.js | 37 - .../15.1.2.2_parseInt/S15.1.2.2_A1_T1.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A1_T2.js | 50 - .../15.1.2.2_parseInt/S15.1.2.2_A1_T3.js | 46 - .../15.1.2.2_parseInt/S15.1.2.2_A1_T4.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A1_T5.js | 41 - .../15.1.2.2_parseInt/S15.1.2.2_A1_T6.js | 46 - .../15.1.2.2_parseInt/S15.1.2.2_A1_T7.js | 95 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T1.js | 56 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T10.js | 56 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T2.js | 56 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T3.js | 41 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T4.js | 41 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T5.js | 41 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T6.js | 41 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T7.js | 41 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T8.js | 41 - .../15.1.2.2_parseInt/S15.1.2.2_A2_T9.js | 41 - .../15.1.2.2_parseInt/S15.1.2.2_A3.1_T1.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A3.1_T2.js | 42 - .../15.1.2.2_parseInt/S15.1.2.2_A3.1_T3.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A3.1_T4.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A3.1_T5.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A3.1_T6.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A3.1_T7.js | 95 - .../15.1.2.2_parseInt/S15.1.2.2_A3.2_T1.js | 51 - .../15.1.2.2_parseInt/S15.1.2.2_A3.2_T2.js | 51 - .../15.1.2.2_parseInt/S15.1.2.2_A3.2_T3.js | 46 - .../15.1.2.2_parseInt/S15.1.2.2_A4.1_T1.js | 91 - .../15.1.2.2_parseInt/S15.1.2.2_A4.1_T2.js | 91 - .../15.1.2.2_parseInt/S15.1.2.2_A4.2_T1.js | 86 - .../15.1.2.2_parseInt/S15.1.2.2_A4.2_T2.js | 86 - .../15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js | 41 - .../15.1.2.2_parseInt/S15.1.2.2_A5.1_T1.js | 52 - .../15.1.2.2_parseInt/S15.1.2.2_A5.2_T1.js | 117 - .../15.1.2.2_parseInt/S15.1.2.2_A5.2_T2.js | 117 - .../15.1.2.2_parseInt/S15.1.2.2_A6.1_T1.js | 35 - .../15.1.2.2_parseInt/S15.1.2.2_A6.1_T2.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A6.1_T3.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A6.1_T4.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A6.1_T5.js | 36 - .../15.1.2.2_parseInt/S15.1.2.2_A6.1_T6.js | 73 - .../15.1.2.2_parseInt/S15.1.2.2_A7.1_T1.js | 33 - .../15.1.2.2_parseInt/S15.1.2.2_A7.1_T2.js | 51 - .../15.1.2.2_parseInt/S15.1.2.2_A7.2_T1.js | 53 - .../15.1.2.2_parseInt/S15.1.2.2_A7.2_T2.js | 129 - .../15.1.2.2_parseInt/S15.1.2.2_A7.2_T3.js | 129 - .../15.1.2.2_parseInt/S15.1.2.2_A7.3_T1.js | 55 - .../15.1.2.2_parseInt/S15.1.2.2_A7.3_T2.js | 126 - .../15.1.2.2_parseInt/S15.1.2.2_A7.3_T3.js | 126 - .../15.1.2.2_parseInt/S15.1.2.2_A8.js | 99 - .../15.1.2.2_parseInt/S15.1.2.2_A9.1.js | 44 - .../15.1.2.2_parseInt/S15.1.2.2_A9.2.js | 44 - .../15.1.2.2_parseInt/S15.1.2.2_A9.3.js | 35 - .../15.1.2.2_parseInt/S15.1.2.2_A9.4.js | 32 - .../15.1.2.2_parseInt/S15.1.2.2_A9.5.js | 44 - .../15.1.2.2_parseInt/S15.1.2.2_A9.6.js | 31 - .../15.1.2.2_parseInt/S15.1.2.2_A9.7.js | 37 - .../15.1.2.3_parseFloat/S15.1.2.3_A1_T1.js | 36 - .../15.1.2.3_parseFloat/S15.1.2.3_A1_T2.js | 55 - .../15.1.2.3_parseFloat/S15.1.2.3_A1_T3.js | 47 - .../15.1.2.3_parseFloat/S15.1.2.3_A1_T4.js | 36 - .../15.1.2.3_parseFloat/S15.1.2.3_A1_T5.js | 46 - .../15.1.2.3_parseFloat/S15.1.2.3_A1_T6.js | 51 - .../15.1.2.3_parseFloat/S15.1.2.3_A1_T7.js | 95 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T1.js | 56 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T10.js | 55 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T2.js | 56 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T3.js | 41 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T4.js | 41 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T5.js | 41 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T6.js | 41 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T7.js | 41 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T8.js | 41 - .../15.1.2.3_parseFloat/S15.1.2.3_A2_T9.js | 41 - .../15.1.2.3_parseFloat/S15.1.2.3_A3_T1.js | 62 - .../15.1.2.3_parseFloat/S15.1.2.3_A3_T2.js | 77 - .../15.1.2.3_parseFloat/S15.1.2.3_A3_T3.js | 67 - .../15.1.2.3_parseFloat/S15.1.2.3_A4_T1.js | 72 - .../15.1.2.3_parseFloat/S15.1.2.3_A4_T2.js | 52 - .../15.1.2.3_parseFloat/S15.1.2.3_A4_T3.js | 107 - .../15.1.2.3_parseFloat/S15.1.2.3_A4_T4.js | 42 - .../15.1.2.3_parseFloat/S15.1.2.3_A4_T5.js | 77 - .../15.1.2.3_parseFloat/S15.1.2.3_A4_T6.js | 43 - .../15.1.2.3_parseFloat/S15.1.2.3_A4_T7.js | 62 - .../15.1.2.3_parseFloat/S15.1.2.3_A5_T1.js | 41 - .../15.1.2.3_parseFloat/S15.1.2.3_A5_T2.js | 76 - .../15.1.2.3_parseFloat/S15.1.2.3_A5_T3.js | 42 - .../15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js | 61 - .../15.1.2.3_parseFloat/S15.1.2.3_A6.js | 97 - .../15.1.2.3_parseFloat/S15.1.2.3_A7.1.js | 44 - .../15.1.2.3_parseFloat/S15.1.2.3_A7.2.js | 44 - .../15.1.2.3_parseFloat/S15.1.2.3_A7.3.js | 35 - .../15.1.2.3_parseFloat/S15.1.2.3_A7.4.js | 32 - .../15.1.2.3_parseFloat/S15.1.2.3_A7.5.js | 44 - .../15.1.2.3_parseFloat/S15.1.2.3_A7.6.js | 31 - .../15.1.2.3_parseFloat/S15.1.2.3_A7.7.js | 37 - .../15.1.2.4_isNaN/S15.1.2.4_A1_T1.js | 90 - .../15.1.2.4_isNaN/S15.1.2.4_A1_T2.js | 60 - .../15.1.2.4_isNaN/S15.1.2.4_A2.1.js | 44 - .../15.1.2.4_isNaN/S15.1.2.4_A2.2.js | 44 - .../15.1.2.4_isNaN/S15.1.2.4_A2.3.js | 35 - .../15.1.2.4_isNaN/S15.1.2.4_A2.4.js | 32 - .../15.1.2.4_isNaN/S15.1.2.4_A2.5.js | 44 - .../15.1.2.4_isNaN/S15.1.2.4_A2.6.js | 31 - .../15.1.2.4_isNaN/S15.1.2.4_A2.7.js | 37 - .../15.1.2.5_isFinite/S15.1.2.5_A1_T1.js | 86 - .../15.1.2.5_isFinite/S15.1.2.5_A1_T2.js | 56 - .../15.1.2.5_isFinite/S15.1.2.5_A2.1.js | 44 - .../15.1.2.5_isFinite/S15.1.2.5_A2.2.js | 44 - .../15.1.2.5_isFinite/S15.1.2.5_A2.3.js | 35 - .../15.1.2.5_isFinite/S15.1.2.5_A2.4.js | 32 - .../15.1.2.5_isFinite/S15.1.2.5_A2.5.js | 44 - .../15.1.2.5_isFinite/S15.1.2.5_A2.6.js | 31 - .../15.1.2.5_isFinite/S15.1.2.5_A2.7.js | 37 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.10_T1.js | 47 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.11_T1.js | 49 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.11_T2.js | 49 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.12_T1.js | 50 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.12_T2.js | 50 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.12_T3.js | 50 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.13_T1.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.13_T2.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.14_T1.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.14_T2.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.14_T3.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.14_T4.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.15_T1.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.15_T2.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.15_T3.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.15_T4.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.15_T5.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.15_T6.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.1_T1.js | 75 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.2_T1.js | 47 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js | 47 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.3_T1.js | 95 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.3_T2.js | 95 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.4_T1.js | 103 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.5_T1.js | 103 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.6_T1.js | 103 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.7_T1.js | 95 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.8_T1.js | 97 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.8_T2.js | 97 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.9_T1.js | 97 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.9_T2.js | 97 - .../15.1.3.1_decodeURI/S15.1.3.1_A1.9_T3.js | 97 - .../15.1.3.1_decodeURI/S15.1.3.1_A2.1_T1.js | 74 - .../15.1.3.1_decodeURI/S15.1.3.1_A2.2_T1.js | 100 - .../15.1.3.1_decodeURI/S15.1.3.1_A2.3_T1.js | 97 - .../15.1.3.1_decodeURI/S15.1.3.1_A2.4_T1.js | 102 - .../15.1.3.1_decodeURI/S15.1.3.1_A2.5_T1.js | 107 - .../15.1.3.1_decodeURI/S15.1.3.1_A3_T1.js | 82 - .../15.1.3.1_decodeURI/S15.1.3.1_A3_T2.js | 82 - .../15.1.3.1_decodeURI/S15.1.3.1_A3_T3.js | 37 - .../15.1.3.1_decodeURI/S15.1.3.1_A4_T1.js | 41 - .../15.1.3.1_decodeURI/S15.1.3.1_A4_T2.js | 41 - .../15.1.3.1_decodeURI/S15.1.3.1_A4_T3.js | 46 - .../15.1.3.1_decodeURI/S15.1.3.1_A4_T4.js | 46 - .../15.1.3.1_decodeURI/S15.1.3.1_A5.1.js | 44 - .../15.1.3.1_decodeURI/S15.1.3.1_A5.2.js | 47 - .../15.1.3.1_decodeURI/S15.1.3.1_A5.3.js | 35 - .../15.1.3.1_decodeURI/S15.1.3.1_A5.4.js | 32 - .../15.1.3.1_decodeURI/S15.1.3.1_A5.5.js | 44 - .../15.1.3.1_decodeURI/S15.1.3.1_A5.6.js | 31 - .../15.1.3.1_decodeURI/S15.1.3.1_A5.7.js | 37 - .../15.1.3.1_decodeURI/S15.1.3.1_A6_T1.js | 95 - .../S15.1.3.2_A1.10_T1.js | 47 - .../S15.1.3.2_A1.11_T1.js | 49 - .../S15.1.3.2_A1.11_T2.js | 49 - .../S15.1.3.2_A1.12_T1.js | 50 - .../S15.1.3.2_A1.12_T2.js | 50 - .../S15.1.3.2_A1.12_T3.js | 50 - .../S15.1.3.2_A1.13_T1.js | 102 - .../S15.1.3.2_A1.13_T2.js | 102 - .../S15.1.3.2_A1.14_T1.js | 102 - .../S15.1.3.2_A1.14_T2.js | 102 - .../S15.1.3.2_A1.14_T3.js | 102 - .../S15.1.3.2_A1.14_T4.js | 102 - .../S15.1.3.2_A1.15_T1.js | 102 - .../S15.1.3.2_A1.15_T2.js | 102 - .../S15.1.3.2_A1.15_T3.js | 102 - .../S15.1.3.2_A1.15_T4.js | 102 - .../S15.1.3.2_A1.15_T5.js | 102 - .../S15.1.3.2_A1.15_T6.js | 102 - .../S15.1.3.2_A1.1_T1.js | 75 - .../S15.1.3.2_A1.2_T1.js | 47 - .../S15.1.3.2_A1.2_T2.js | 47 - .../S15.1.3.2_A1.3_T1.js | 95 - .../S15.1.3.2_A1.3_T2.js | 95 - .../S15.1.3.2_A1.4_T1.js | 103 - .../S15.1.3.2_A1.5_T1.js | 103 - .../S15.1.3.2_A1.6_T1.js | 103 - .../S15.1.3.2_A1.7_T1.js | 95 - .../S15.1.3.2_A1.8_T1.js | 97 - .../S15.1.3.2_A1.8_T2.js | 97 - .../S15.1.3.2_A1.9_T1.js | 97 - .../S15.1.3.2_A1.9_T2.js | 97 - .../S15.1.3.2_A1.9_T3.js | 97 - .../S15.1.3.2_A2.1_T1.js | 74 - .../S15.1.3.2_A2.2_T1.js | 94 - .../S15.1.3.2_A2.3_T1.js | 97 - .../S15.1.3.2_A2.4_T1.js | 102 - .../S15.1.3.2_A2.5_T1.js | 107 - .../S15.1.3.2_A3_T1.js | 81 - .../S15.1.3.2_A3_T2.js | 81 - .../S15.1.3.2_A3_T3.js | 36 - .../S15.1.3.2_A4_T1.js | 41 - .../S15.1.3.2_A4_T2.js | 41 - .../S15.1.3.2_A4_T3.js | 46 - .../S15.1.3.2_A4_T4.js | 46 - .../S15.1.3.2_A5.1.js | 44 - .../S15.1.3.2_A5.2.js | 46 - .../S15.1.3.2_A5.3.js | 34 - .../S15.1.3.2_A5.4.js | 32 - .../S15.1.3.2_A5.5.js | 44 - .../S15.1.3.2_A5.6.js | 31 - .../S15.1.3.2_A5.7.js | 37 - .../S15.1.3.2_A6_T1.js | 95 - .../15.1.3.3_encodeURI/S15.1.3.3_A1.1_T1.js | 95 - .../15.1.3.3_encodeURI/S15.1.3.3_A1.1_T2.js | 95 - .../15.1.3.3_encodeURI/S15.1.3.3_A1.2_T1.js | 95 - .../15.1.3.3_encodeURI/S15.1.3.3_A1.2_T2.js | 95 - .../15.1.3.3_encodeURI/S15.1.3.3_A1.3_T1.js | 102 - .../15.1.3.3_encodeURI/S15.1.3.3_A2.1_T1.js | 103 - .../15.1.3.3_encodeURI/S15.1.3.3_A2.2_T1.js | 95 - .../15.1.3.3_encodeURI/S15.1.3.3_A2.3_T1.js | 95 - .../15.1.3.3_encodeURI/S15.1.3.3_A2.4_T1.js | 105 - .../15.1.3.3_encodeURI/S15.1.3.3_A2.4_T2.js | 105 - .../15.1.3.3_encodeURI/S15.1.3.3_A2.5_T1.js | 95 - .../15.1.3.3_encodeURI/S15.1.3.3_A3.1_T1.js | 34 - .../15.1.3.3_encodeURI/S15.1.3.3_A3.2_T1.js | 34 - .../15.1.3.3_encodeURI/S15.1.3.3_A3.2_T2.js | 34 - .../15.1.3.3_encodeURI/S15.1.3.3_A3.2_T3.js | 34 - .../15.1.3.3_encodeURI/S15.1.3.3_A3.3_T1.js | 30 - .../15.1.3.3_encodeURI/S15.1.3.3_A4_T1.js | 41 - .../15.1.3.3_encodeURI/S15.1.3.3_A4_T2.js | 41 - .../15.1.3.3_encodeURI/S15.1.3.3_A4_T3.js | 46 - .../15.1.3.3_encodeURI/S15.1.3.3_A4_T4.js | 46 - .../15.1.3.3_encodeURI/S15.1.3.3_A5.1.js | 44 - .../15.1.3.3_encodeURI/S15.1.3.3_A5.2.js | 46 - .../15.1.3.3_encodeURI/S15.1.3.3_A5.3.js | 34 - .../15.1.3.3_encodeURI/S15.1.3.3_A5.4.js | 32 - .../15.1.3.3_encodeURI/S15.1.3.3_A5.5.js | 44 - .../15.1.3.3_encodeURI/S15.1.3.3_A5.6.js | 31 - .../15.1.3.3_encodeURI/S15.1.3.3_A5.7.js | 37 - .../15.1.3.3_encodeURI/S15.1.3.3_A6_T1.js | 95 - .../S15.1.3.4_A1.1_T1.js | 95 - .../S15.1.3.4_A1.1_T2.js | 95 - .../S15.1.3.4_A1.2_T1.js | 95 - .../S15.1.3.4_A1.2_T2.js | 95 - .../S15.1.3.4_A1.3_T1.js | 102 - .../S15.1.3.4_A2.1_T1.js | 98 - .../S15.1.3.4_A2.2_T1.js | 95 - .../S15.1.3.4_A2.3_T1.js | 95 - .../S15.1.3.4_A2.4_T1.js | 105 - .../S15.1.3.4_A2.4_T2.js | 105 - .../S15.1.3.4_A2.5_T1.js | 95 - .../S15.1.3.4_A3.1_T1.js | 35 - .../S15.1.3.4_A3.2_T1.js | 34 - .../S15.1.3.4_A3.2_T2.js | 34 - .../S15.1.3.4_A3.2_T3.js | 34 - .../S15.1.3.4_A3.3_T1.js | 30 - .../S15.1.3.4_A4_T1.js | 41 - .../S15.1.3.4_A4_T2.js | 41 - .../S15.1.3.4_A4_T3.js | 46 - .../S15.1.3.4_A4_T4.js | 46 - .../S15.1.3.4_A5.1.js | 44 - .../S15.1.3.4_A5.2.js | 46 - .../S15.1.3.4_A5.3.js | 34 - .../S15.1.3.4_A5.4.js | 32 - .../S15.1.3.4_A5.5.js | 44 - .../S15.1.3.4_A5.6.js | 31 - .../S15.1.3.4_A5.7.js | 37 - .../S15.1.3.4_A6_T1.js | 95 - .../15.1_The_Global_Object/S15.1_A1_T1.js | 9 - .../15.1_The_Global_Object/S15.1_A1_T2.js | 9 - .../15.1_The_Global_Object/S15.1_A2_T1.js | 9 - .../S15.2.1.1_A1_T1.js | 51 - .../S15.2.1.1_A1_T2.js | 54 - .../S15.2.1.1_A1_T3.js | 51 - .../S15.2.1.1_A1_T4.js | 51 - .../S15.2.1.1_A1_T5.js | 53 - .../S15.2.1.1_A2_T1.js | 51 - .../S15.2.1.1_A2_T10.js | 46 - .../S15.2.1.1_A2_T11.js | 45 - .../S15.2.1.1_A2_T12.js | 45 - .../S15.2.1.1_A2_T13.js | 49 - .../S15.2.1.1_A2_T14.js | 44 - .../S15.2.1.1_A2_T2.js | 52 - .../S15.2.1.1_A2_T3.js | 51 - .../S15.2.1.1_A2_T4.js | 42 - .../S15.2.1.1_A2_T5.js | 47 - .../S15.2.1.1_A2_T6.js | 52 - .../S15.2.1.1_A2_T7.js | 51 - .../S15.2.1.1_A2_T8.js | 42 - .../S15.2.1.1_A2_T9.js | 42 - .../S15.2.1.1_A3_T1.js | 43 - .../S15.2.1.1_A3_T2.js | 38 - .../S15.2.1.1_A3_T3.js | 43 - .../S15.2.2.1_A1_T1.js | 61 - .../S15.2.2.1_A1_T2.js | 62 - .../S15.2.2.1_A1_T3.js | 61 - .../S15.2.2.1_A1_T4.js | 61 - .../S15.2.2.1_A1_T5.js | 63 - .../S15.2.2.1_A2_T1.js | 41 - .../S15.2.2.1_A2_T2.js | 42 - .../S15.2.2.1_A2_T3.js | 43 - .../S15.2.2.1_A2_T4.js | 43 - .../S15.2.2.1_A2_T5.js | 41 - .../S15.2.2.1_A2_T6.js | 43 - .../S15.2.2.1_A2_T7.js | 50 - .../S15.2.2.1_A3_T1.js | 58 - .../S15.2.2.1_A3_T2.js | 56 - .../S15.2.2.1_A3_T3.js | 49 - .../S15.2.2.1_A4_T1.js | 57 - .../S15.2.2.1_A4_T2.js | 57 - .../S15.2.2.1_A4_T3.js | 49 - .../S15.2.2.1_A5_T1.js | 56 - .../S15.2.2.1_A5_T2.js | 46 - .../S15.2.2.1_A5_T3.js | 56 - .../S15.2.2.1_A5_T4.js | 49 - .../S15.2.2.1_A6_T1.js | 43 - .../S15.2.2.1_A6_T2.js | 38 - .../S15.2.2.1_A6_T3.js | 43 - .../15.2.3.1_Object.prototype/S15.2.3.1_A1.js | 42 - .../15.2.3.1_Object.prototype/S15.2.3.1_A2.js | 42 - .../15.2.3.1_Object.prototype/S15.2.3.1_A3.js | 34 - .../S15.2.3_A1.js | 30 - .../S15.2.3_A2.js | 32 - .../S15.2.3_A3.js | 36 - .../S15.2.4.2_A1.js | 44 - .../S15.2.4.2_A10.js | 41 - .../S15.2.4.2_A11.js | 36 - .../S15.2.4.2_A12.js | 29 - .../S15.2.4.2_A13.js | 29 - .../S15.2.4.2_A14.js | 30 - .../S15.2.4.2_A15.js | 30 - .../S15.2.4.2_A16.js | 30 - .../S15.2.4.2_A6.js | 32 - .../S15.2.4.2_A7.js | 35 - .../S15.2.4.2_A8.js | 44 - .../S15.2.4.2_A9.js | 42 - .../S15.2.4.3_A1.js | 41 - .../S15.2.4.3_A10.js | 40 - .../S15.2.4.3_A11.js | 36 - .../S15.2.4.3_A12.js | 9 - .../S15.2.4.3_A13.js | 9 - .../S15.2.4.3_A6.js | 32 - .../S15.2.4.3_A7.js | 36 - .../S15.2.4.3_A8.js | 44 - .../S15.2.4.3_A9.js | 42 - .../S15.2.4.4_A10.js | 40 - .../S15.2.4.4_A11.js | 36 - .../S15.2.4.4_A12.js | 9 - .../S15.2.4.4_A13.js | 9 - .../S15.2.4.4_A14.js | 9 - .../S15.2.4.4_A1_T1.js | 44 - .../S15.2.4.4_A1_T2.js | 44 - .../S15.2.4.4_A1_T3.js | 44 - .../S15.2.4.4_A1_T4.js | 44 - .../S15.2.4.4_A1_T5.js | 44 - .../S15.2.4.4_A1_T6.js | 44 - .../S15.2.4.4_A1_T7.js | 44 - .../S15.2.4.4_A6.js | 32 - .../S15.2.4.4_A7.js | 36 - .../S15.2.4.4_A8.js | 44 - .../S15.2.4.4_A9.js | 42 - .../S15.2.4.5_A10.js | 40 - .../S15.2.4.5_A11.js | 36 - .../S15.2.4.5_A12.js | 9 - .../S15.2.4.5_A13.js | 9 - .../S15.2.4.5_A1_T1.js | 41 - .../S15.2.4.5_A1_T2.js | 53 - .../S15.2.4.5_A1_T3.js | 57 - .../S15.2.4.5_A6.js | 32 - .../S15.2.4.5_A7.js | 36 - .../S15.2.4.5_A8.js | 44 - .../S15.2.4.5_A9.js | 41 - .../S15.2.4.6_A1.js | 71 - .../S15.2.4.6_A10.js | 41 - .../S15.2.4.6_A11.js | 36 - .../S15.2.4.6_A12.js | 9 - .../S15.2.4.6_A13.js | 9 - .../S15.2.4.6_A6.js | 32 - .../S15.2.4.6_A7.js | 36 - .../S15.2.4.6_A8.js | 44 - .../S15.2.4.6_A9.js | 37 - .../S15.2.4.7_A10.js | 41 - .../S15.2.4.7_A11.js | 36 - .../S15.2.4.7_A12.js | 9 - .../S15.2.4.7_A13.js | 9 - .../S15.2.4.7_A1_T1.js | 55 - .../S15.2.4.7_A2_T1.js | 42 - .../S15.2.4.7_A2_T2.js | 58 - .../S15.2.4.7_A6.js | 32 - .../S15.2.4.7_A7.js | 36 - .../S15.2.4.7_A8.js | 44 - .../S15.2.4.7_A9.js | 37 - .../S15.2.4.1_A1_T1.js | 31 - .../S15.2.4.1_A1_T2.js | 56 - .../S15.2.4_A1_T1.js | 31 - .../S15.2.4_A1_T2.js | 44 - .../S15.2.4_A2.js | 33 - .../S15.2.4_A3.js | 35 - .../S15.2.4_A4.js | 35 - .../15_Native/15.2_Object_Objects/S15.2_A1.js | 34 - .../S15.3.2.1_A1_T1.js | 44 - .../S15.3.2.1_A1_T10.js | 49 - .../S15.3.2.1_A1_T11.js | 50 - .../S15.3.2.1_A1_T12.js | 50 - .../S15.3.2.1_A1_T13.js | 43 - .../S15.3.2.1_A1_T2.js | 51 - .../S15.3.2.1_A1_T3.js | 50 - .../S15.3.2.1_A1_T4.js | 52 - .../S15.3.2.1_A1_T5.js | 51 - .../S15.3.2.1_A1_T6.js | 49 - .../S15.3.2.1_A1_T7.js | 51 - .../S15.3.2.1_A1_T8.js | 44 - .../S15.3.2.1_A1_T9.js | 44 - .../S15.3.2.1_A2_T1.js | 43 - .../S15.3.2.1_A2_T2.js | 43 - .../S15.3.2.1_A2_T3.js | 43 - .../S15.3.2.1_A2_T4.js | 47 - .../S15.3.2.1_A2_T5.js | 47 - .../S15.3.2.1_A2_T6.js | 47 - .../S15.3.2.1_A3_T1.js | 49 - .../S15.3.2.1_A3_T10.js | 47 - .../S15.3.2.1_A3_T11.js | 53 - .../S15.3.2.1_A3_T12.js | 53 - .../S15.3.2.1_A3_T13.js | 53 - .../S15.3.2.1_A3_T14.js | 55 - .../S15.3.2.1_A3_T15.js | 51 - .../S15.3.2.1_A3_T2.js | 56 - .../S15.3.2.1_A3_T3.js | 55 - .../S15.3.2.1_A3_T4.js | 54 - .../S15.3.2.1_A3_T5.js | 56 - .../S15.3.2.1_A3_T6.js | 46 - .../S15.3.2.1_A3_T7.js | 55 - .../S15.3.2.1_A3_T8.js | 56 - .../S15.3.2.1_A3_T9.js | 48 - .../S15.3.2_A1.js | 38 - .../S15.3.3.1_A1.js | 43 - .../S15.3.3.1_A2.js | 42 - .../S15.3.3.1_A3.js | 33 - .../S15.3.3_A1.js | 31 - .../S15.3.3_A2_T1.js | 32 - .../S15.3.3_A2_T2.js | 34 - .../S15.3.3_A3.js | 36 - .../S15.3.4.2_A10.js | 40 - .../S15.3.4.2_A11.js | 36 - .../S15.3.4.2_A12.js | 9 - .../S15.3.4.2_A13.js | 9 - .../S15.3.4.2_A14.js | 9 - .../S15.3.4.2_A15.js | 9 - .../S15.3.4.2_A16.js | 11 - .../S15.3.4.2_A1_T1.js | 35 - .../S15.3.4.2_A6.js | 31 - .../S15.3.4.2_A7.js | 35 - .../S15.3.4.2_A8.js | 43 - .../S15.3.4.2_A9.js | 41 - .../S15.3.4.3_A10.js | 40 - .../S15.3.4.3_A11.js | 43 - .../S15.3.4.3_A12.js | 31 - .../S15.3.4.3_A13.js | 9 - .../S15.3.4.3_A14.js | 9 - .../S15.3.4.3_A15.js | 9 - .../S15.3.4.3_A16.js | 41 - .../S15.3.4.3_A1_T1.js | 50 - .../S15.3.4.3_A1_T2.js | 48 - .../S15.3.4.3_A2_T1.js | 41 - .../S15.3.4.3_A2_T2.js | 43 - .../S15.3.4.3_A3_T1.js | 33 - .../S15.3.4.3_A3_T10.js | 33 - .../S15.3.4.3_A3_T2.js | 33 - .../S15.3.4.3_A3_T3.js | 33 - .../S15.3.4.3_A3_T4.js | 33 - .../S15.3.4.3_A3_T5.js | 42 - .../S15.3.4.3_A3_T6.js | 42 - .../S15.3.4.3_A3_T7.js | 36 - .../S15.3.4.3_A3_T8.js | 35 - .../S15.3.4.3_A3_T9.js | 33 - .../S15.3.4.3_A5_T1.js | 39 - .../S15.3.4.3_A5_T2.js | 41 - .../S15.3.4.3_A5_T3.js | 41 - .../S15.3.4.3_A5_T4.js | 42 - .../S15.3.4.3_A5_T5.js | 37 - .../S15.3.4.3_A5_T6.js | 35 - .../S15.3.4.3_A5_T7.js | 36 - .../S15.3.4.3_A5_T8.js | 35 - .../S15.3.4.3_A6_T1.js | 36 - .../S15.3.4.3_A6_T2.js | 36 - .../S15.3.4.3_A6_T3.js | 38 - .../S15.3.4.3_A6_T4.js | 36 - .../S15.3.4.3_A7_T1.js | 35 - .../S15.3.4.3_A7_T10.js | 44 - .../S15.3.4.3_A7_T2.js | 35 - .../S15.3.4.3_A7_T3.js | 46 - .../S15.3.4.3_A7_T4.js | 46 - .../S15.3.4.3_A7_T5.js | 44 - .../S15.3.4.3_A7_T6.js | 44 - .../S15.3.4.3_A7_T7.js | 36 - .../S15.3.4.3_A7_T8.js | 37 - .../S15.3.4.3_A7_T9.js | 46 - .../S15.3.4.3_A8_T1.js | 35 - .../S15.3.4.3_A8_T2.js | 35 - .../S15.3.4.3_A8_T3.js | 35 - .../S15.3.4.3_A8_T4.js | 35 - .../S15.3.4.3_A8_T5.js | 36 - .../S15.3.4.3_A8_T6.js | 38 - .../S15.3.4.3_A9.js | 41 - .../S15.3.4.4_A10.js | 40 - .../S15.3.4.4_A11.js | 43 - .../S15.3.4.4_A12.js | 31 - .../S15.3.4.4_A13.js | 9 - .../S15.3.4.4_A14.js | 9 - .../S15.3.4.4_A15.js | 9 - .../S15.3.4.4_A16.js | 41 - .../S15.3.4.4_A1_T1.js | 50 - .../S15.3.4.4_A1_T2.js | 48 - .../S15.3.4.4_A2_T1.js | 41 - .../S15.3.4.4_A2_T2.js | 43 - .../S15.3.4.4_A3_T1.js | 33 - .../S15.3.4.4_A3_T10.js | 33 - .../S15.3.4.4_A3_T2.js | 33 - .../S15.3.4.4_A3_T3.js | 33 - .../S15.3.4.4_A3_T4.js | 33 - .../S15.3.4.4_A3_T5.js | 42 - .../S15.3.4.4_A3_T6.js | 42 - .../S15.3.4.4_A3_T7.js | 36 - .../S15.3.4.4_A3_T8.js | 36 - .../S15.3.4.4_A3_T9.js | 34 - .../S15.3.4.4_A5_T1.js | 41 - .../S15.3.4.4_A5_T2.js | 41 - .../S15.3.4.4_A5_T3.js | 41 - .../S15.3.4.4_A5_T4.js | 42 - .../S15.3.4.4_A5_T5.js | 37 - .../S15.3.4.4_A5_T6.js | 35 - .../S15.3.4.4_A5_T7.js | 36 - .../S15.3.4.4_A5_T8.js | 35 - .../S15.3.4.4_A6_T1.js | 45 - .../S15.3.4.4_A6_T10.js | 44 - .../S15.3.4.4_A6_T2.js | 40 - .../S15.3.4.4_A6_T3.js | 51 - .../S15.3.4.4_A6_T4.js | 46 - .../S15.3.4.4_A6_T5.js | 44 - .../S15.3.4.4_A6_T6.js | 44 - .../S15.3.4.4_A6_T7.js | 36 - .../S15.3.4.4_A6_T8.js | 37 - .../S15.3.4.4_A6_T9.js | 46 - .../S15.3.4.4_A7_T1.js | 35 - .../S15.3.4.4_A7_T2.js | 36 - .../S15.3.4.4_A7_T3.js | 35 - .../S15.3.4.4_A7_T4.js | 35 - .../S15.3.4.4_A7_T5.js | 36 - .../S15.3.4.4_A7_T6.js | 38 - .../S15.3.4.4_A9.js | 41 - .../S15.3.4.5_A1.js | 12 - .../S15.3.4.5_A13.js | 10 - .../S15.3.4.5_A14.js | 10 - .../S15.3.4.5_A15.js | 10 - .../S15.3.4.5_A16.js | 41 - .../S15.3.4.5_A2.js | 12 - .../S15.3.4.1_A1_T1.js | 31 - .../S15.3.4.1_A1_T2.js | 54 - .../S15.3.4_A1.js | 31 - .../S15.3.4_A2_T1.js | 35 - .../S15.3.4_A2_T2.js | 35 - .../S15.3.4_A2_T3.js | 37 - .../S15.3.4_A3_T1.js | 32 - .../S15.3.4_A3_T2.js | 33 - .../S15.3.4_A4.js | 41 - .../S15.3.4_A5.js | 35 - .../S15.3.5.1_A1_T1.js | 38 - .../S15.3.5.1_A1_T2.js | 38 - .../S15.3.5.1_A1_T3.js | 38 - .../S15.3.5.1_A2_T1.js | 48 - .../S15.3.5.1_A2_T2.js | 45 - .../S15.3.5.1_A2_T3.js | 45 - .../S15.3.5.1_A3_T1.js | 55 - .../S15.3.5.1_A3_T2.js | 55 - .../S15.3.5.1_A3_T3.js | 55 - .../S15.3.5.1_A4_T1.js | 42 - .../S15.3.5.1_A4_T2.js | 42 - .../S15.3.5.1_A4_T3.js | 42 - .../S15.3.5.2_A1_T1.js | 45 - .../S15.3.5.2_A1_T2.js | 45 - .../S15.3.5.3_A1_T1.js | 33 - .../S15.3.5.3_A1_T2.js | 33 - .../S15.3.5.3_A1_T3.js | 33 - .../S15.3.5.3_A1_T4.js | 33 - .../S15.3.5.3_A1_T5.js | 33 - .../S15.3.5.3_A1_T6.js | 33 - .../S15.3.5.3_A1_T7.js | 33 - .../S15.3.5.3_A1_T8.js | 35 - .../S15.3.5.3_A2_T2.js | 47 - .../S15.3.5.3_A2_T5.js | 53 - .../S15.3.5.3_A2_T6.js | 45 - .../S15.3.5.3_A3_T1.js | 43 - .../S15.3.5.3_A3_T2.js | 48 - .../S15.3.5_A1_T1.js | 32 - .../S15.3.5_A1_T2.js | 33 - .../S15.3.5_A2_T1.js | 41 - .../S15.3.5_A2_T2.js | 41 - .../S15.3.5_A3_T1.js | 44 - .../S15.3.5_A3_T2.js | 44 - .../15.3_Function_Objects/S15.3.1_A1_T1.js | 57 - .../15.3_Function_Objects/S15.3_A1.js | 34 - .../15.3_Function_Objects/S15.3_A2_T1.js | 36 - .../15.3_Function_Objects/S15.3_A2_T2.js | 36 - .../15.3_Function_Objects/S15.3_A3_T1.js | 53 - .../15.3_Function_Objects/S15.3_A3_T2.js | 45 - .../15.3_Function_Objects/S15.3_A3_T3.js | 62 - .../15.3_Function_Objects/S15.3_A3_T4.js | 41 - .../15.3_Function_Objects/S15.3_A3_T5.js | 54 - .../15.3_Function_Objects/S15.3_A3_T6.js | 41 - .../S15.4.1_A1.1_T1.js | 40 - .../S15.4.1_A1.1_T2.js | 43 - .../S15.4.1_A1.1_T3.js | 34 - .../S15.4.1_A1.2_T1.js | 40 - .../S15.4.1_A1.3_T1.js | 39 - .../S15.4.1_A2.1_T1.js | 42 - .../S15.4.1_A2.2_T1.js | 55 - .../S15.4.1_A3.1_T1.js | 37 - .../15.4.2.1_new_Array/S15.4.2.1_A1.1_T1.js | 40 - .../15.4.2.1_new_Array/S15.4.2.1_A1.1_T2.js | 43 - .../15.4.2.1_new_Array/S15.4.2.1_A1.1_T3.js | 34 - .../15.4.2.1_new_Array/S15.4.2.1_A1.2_T1.js | 40 - .../15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js | 39 - .../15.4.2.1_new_Array/S15.4.2.1_A2.1_T1.js | 42 - .../15.4.2.1_new_Array/S15.4.2.1_A2.2_T1.js | 55 - .../S15.4.2.2_A1.1_T1.js | 35 - .../S15.4.2.2_A1.1_T2.js | 35 - .../S15.4.2.2_A1.1_T3.js | 34 - .../S15.4.2.2_A1.2_T1.js | 33 - .../S15.4.2.2_A2.1_T1.js | 45 - .../S15.4.2.2_A2.2_T1.js | 57 - .../S15.4.2.2_A2.2_T2.js | 57 - .../S15.4.2.2_A2.2_T3.js | 57 - .../S15.4.2.2_A2.3_T1.js | 52 - .../S15.4.2.2_A2.3_T2.js | 53 - .../S15.4.2.2_A2.3_T3.js | 53 - .../S15.4.2.2_A2.3_T4.js | 68 - .../S15.4.2.2_A2.3_T5.js | 68 - .../15.4.3.1_Array_prototype/S15.4.3.1_A1.js | 32 - .../15.4.3.1_Array_prototype/S15.4.3.1_A2.js | 45 - .../15.4.3.1_Array_prototype/S15.4.3.1_A3.js | 46 - .../15.4.3.1_Array_prototype/S15.4.3.1_A4.js | 35 - .../15.4.3.1_Array_prototype/S15.4.3.1_A5.js | 36 - .../S15.4.3_A1.1_T1.js | 39 - .../S15.4.3_A1.1_T2.js | 33 - .../S15.4.3_A1.1_T3.js | 32 - .../S15.4.3_A2.1.js | 45 - .../S15.4.3_A2.2.js | 45 - .../S15.4.3_A2.3.js | 34 - .../S15.4.3_A2.4.js | 32 - .../S15.4.4.10_A1.1_T1.js | 61 - .../S15.4.4.10_A1.1_T2.js | 46 - .../S15.4.4.10_A1.1_T3.js | 46 - .../S15.4.4.10_A1.1_T4.js | 46 - .../S15.4.4.10_A1.1_T5.js | 56 - .../S15.4.4.10_A1.1_T6.js | 57 - .../S15.4.4.10_A1.1_T7.js | 56 - .../S15.4.4.10_A1.2_T1.js | 51 - .../S15.4.4.10_A1.2_T2.js | 51 - .../S15.4.4.10_A1.2_T3.js | 51 - .../S15.4.4.10_A1.2_T4.js | 71 - .../S15.4.4.10_A1.3_T1.js | 61 - .../S15.4.4.10_A1.3_T2.js | 46 - .../S15.4.4.10_A1.3_T3.js | 46 - .../S15.4.4.10_A1.3_T4.js | 46 - .../S15.4.4.10_A1.4_T1.js | 61 - .../S15.4.4.10_A1.4_T2.js | 56 - .../S15.4.4.10_A1.4_T3.js | 67 - .../S15.4.4.10_A1.4_T4.js | 46 - .../S15.4.4.10_A1.5_T1.js | 55 - .../S15.4.4.10_A1.5_T2.js | 55 - .../S15.4.4.10_A2.1_T1.js | 55 - .../S15.4.4.10_A2.1_T2.js | 60 - .../S15.4.4.10_A2.1_T3.js | 45 - .../S15.4.4.10_A2.1_T4.js | 60 - .../S15.4.4.10_A2.1_T5.js | 60 - .../S15.4.4.10_A2.2_T1.js | 55 - .../S15.4.4.10_A2.2_T2.js | 45 - .../S15.4.4.10_A2.2_T3.js | 70 - .../S15.4.4.10_A2.2_T4.js | 45 - .../S15.4.4.10_A2.2_T5.js | 60 - .../S15.4.4.10_A2_T1.js | 69 - .../S15.4.4.10_A2_T2.js | 69 - .../S15.4.4.10_A2_T3.js | 69 - .../S15.4.4.10_A2_T4.js | 69 - .../S15.4.4.10_A2_T5.js | 68 - .../S15.4.4.10_A2_T6.js | 68 - .../S15.4.4.10_A3_T1.js | 48 - .../S15.4.4.10_A3_T2.js | 48 - .../S15.4.4.10_A3_T3.js | 42 - .../S15.4.4.10_A4_T1.js | 47 - .../S15.4.4.10_A5.1.js | 45 - .../S15.4.4.10_A5.2.js | 45 - .../S15.4.4.10_A5.3.js | 35 - .../S15.4.4.10_A5.4.js | 32 - .../S15.4.4.10_A5.5.js | 45 - .../S15.4.4.10_A5.6.js | 31 - .../S15.4.4.10_A5.7.js | 37 - .../S15.4.4.11_A1.1_T1.js | 45 - .../S15.4.4.11_A1.2_T1.js | 66 - .../S15.4.4.11_A1.2_T2.js | 72 - .../S15.4.4.11_A1.3_T1.js | 45 - .../S15.4.4.11_A1.4_T1.js | 63 - .../S15.4.4.11_A1.4_T2.js | 69 - .../S15.4.4.11_A1.5_T1.js | 62 - .../S15.4.4.11_A2.1_T1.js | 44 - .../S15.4.4.11_A2.1_T2.js | 43 - .../S15.4.4.11_A2.1_T3.js | 46 - .../S15.4.4.11_A2.2_T1.js | 48 - .../S15.4.4.11_A2.2_T2.js | 48 - .../S15.4.4.11_A2.2_T3.js | 51 - .../S15.4.4.11_A3_T1.js | 54 - .../S15.4.4.11_A3_T2.js | 62 - .../S15.4.4.11_A4_T1.js | 52 - .../S15.4.4.11_A4_T2.js | 58 - .../S15.4.4.11_A4_T3.js | 58 - .../S15.4.4.11_A5_T1.js | 40 - .../S15.4.4.11_A6_T2.js | 82 - .../S15.4.4.11_A7.1.js | 45 - .../S15.4.4.11_A7.2.js | 46 - .../S15.4.4.11_A7.3.js | 35 - .../S15.4.4.11_A7.4.js | 32 - .../S15.4.4.11_A7.5.js | 45 - .../S15.4.4.11_A7.6.js | 31 - .../S15.4.4.11_A7.7.js | 37 - .../S15.4.4.11_A8.js | 40 - .../S15.4.4.12_A1.1_T1.js | 66 - .../S15.4.4.12_A1.1_T2.js | 76 - .../S15.4.4.12_A1.1_T3.js | 66 - .../S15.4.4.12_A1.1_T4.js | 76 - .../S15.4.4.12_A1.1_T5.js | 66 - .../S15.4.4.12_A1.1_T6.js | 76 - .../S15.4.4.12_A1.2_T1.js | 56 - .../S15.4.4.12_A1.2_T2.js | 56 - .../S15.4.4.12_A1.2_T3.js | 66 - .../S15.4.4.12_A1.2_T4.js | 66 - .../S15.4.4.12_A1.2_T5.js | 66 - .../S15.4.4.12_A1.3_T1.js | 56 - .../S15.4.4.12_A1.3_T2.js | 56 - .../S15.4.4.12_A1.3_T3.js | 66 - .../S15.4.4.12_A1.3_T4.js | 66 - .../S15.4.4.12_A1.3_T5.js | 66 - .../S15.4.4.12_A1.4_T1.js | 66 - .../S15.4.4.12_A1.4_T2.js | 76 - .../S15.4.4.12_A1.4_T3.js | 66 - .../S15.4.4.12_A1.4_T4.js | 76 - .../S15.4.4.12_A1.4_T5.js | 66 - .../S15.4.4.12_A1.4_T6.js | 76 - .../S15.4.4.12_A1.5_T1.js | 65 - .../S15.4.4.12_A1.5_T2.js | 65 - .../S15.4.4.12_A2.1_T1.js | 65 - .../S15.4.4.12_A2.1_T2.js | 65 - .../S15.4.4.12_A2.1_T3.js | 60 - .../S15.4.4.12_A2.1_T4.js | 65 - .../S15.4.4.12_A2.1_T5.js | 66 - .../S15.4.4.12_A2.2_T1.js | 65 - .../S15.4.4.12_A2.2_T2.js | 55 - .../S15.4.4.12_A2.2_T3.js | 65 - .../S15.4.4.12_A2.2_T4.js | 55 - .../S15.4.4.12_A2.2_T5.js | 65 - .../S15.4.4.12_A2_T1.js | 84 - .../S15.4.4.12_A2_T2.js | 74 - .../S15.4.4.12_A2_T3.js | 74 - .../S15.4.4.12_A2_T4.js | 84 - .../S15.4.4.12_A3_T1.js | 53 - .../S15.4.4.12_A3_T2.js | 52 - .../S15.4.4.12_A3_T3.js | 52 - .../S15.4.4.12_A4_T1.js | 97 - .../S15.4.4.12_A4_T2.js | 97 - .../S15.4.4.12_A4_T3.js | 91 - .../S15.4.4.12_A5.1.js | 45 - .../S15.4.4.12_A5.2.js | 46 - .../S15.4.4.12_A5.3.js | 35 - .../S15.4.4.12_A5.4.js | 32 - .../S15.4.4.12_A5.5.js | 45 - .../S15.4.4.12_A5.6.js | 31 - .../S15.4.4.12_A5.7.js | 37 - .../S15.4.4.13_A1_T1.js | 72 - .../S15.4.4.13_A1_T2.js | 76 - .../S15.4.4.13_A2_T1.js | 84 - .../S15.4.4.13_A2_T2.js | 134 - .../S15.4.4.13_A2_T3.js | 108 - .../S15.4.4.13_A3_T1.js | 71 - .../S15.4.4.13_A3_T2.js | 62 - .../S15.4.4.13_A3_T3.js | 62 - .../S15.4.4.13_A4_T1.js | 92 - .../S15.4.4.13_A4_T2.js | 92 - .../S15.4.4.13_A5.1.js | 45 - .../S15.4.4.13_A5.2.js | 46 - .../S15.4.4.13_A5.3.js | 35 - .../S15.4.4.13_A5.4.js | 32 - .../S15.4.4.13_A5.5.js | 44 - .../S15.4.4.13_A5.6.js | 31 - .../S15.4.4.13_A5.7.js | 37 - .../S15.4.4.18_A1.js | 28 - .../S15.4.4.18_A2.js | 31 - .../S15.4.4.1_A1_T1.js | 32 - .../S15.4.4.1_A2.js | 45 - .../S15.4.4.2_A1_T1.js | 49 - .../S15.4.4.2_A1_T2.js | 72 - .../S15.4.4.2_A1_T3.js | 107 - .../S15.4.4.2_A1_T4.js | 128 - .../S15.4.4.2_A2_T1.js | 53 - .../S15.4.4.2_A3_T1.js | 34 - .../S15.4.4.2_A4.1.js | 45 - .../S15.4.4.2_A4.2.js | 46 - .../S15.4.4.2_A4.3.js | 35 - .../S15.4.4.2_A4.4.js | 32 - .../S15.4.4.2_A4.5.js | 45 - .../S15.4.4.2_A4.6.js | 31 - .../S15.4.4.2_A4.7.js | 37 - .../S15.4.4.3_A1_T1.js | 39 - .../S15.4.4.3_A2_T1.js | 53 - .../S15.4.4.3_A3_T1.js | 37 - .../S15.4.4.3_A4.1.js | 45 - .../S15.4.4.3_A4.2.js | 45 - .../S15.4.4.3_A4.3.js | 35 - .../S15.4.4.3_A4.4.js | 32 - .../S15.4.4.3_A4.5.js | 45 - .../S15.4.4.3_A4.6.js | 31 - .../S15.4.4.3_A4.7.js | 37 - .../S15.4.4.4_A1_T1.js | 69 - .../S15.4.4.4_A1_T2.js | 79 - .../S15.4.4.4_A1_T3.js | 57 - .../S15.4.4.4_A1_T4.js | 57 - .../S15.4.4.4_A2_T1.js | 79 - .../S15.4.4.4_A2_T2.js | 47 - .../S15.4.4.4_A3_T1.js | 68 - .../S15.4.4.4_A4.1.js | 45 - .../S15.4.4.4_A4.2.js | 46 - .../S15.4.4.4_A4.3.js | 35 - .../S15.4.4.4_A4.4.js | 32 - .../S15.4.4.4_A4.5.js | 45 - .../S15.4.4.4_A4.6.js | 31 - .../S15.4.4.4_A4.7.js | 37 - .../S15.4.4.5_A1.1_T1.js | 40 - .../S15.4.4.5_A1.2_T1.js | 47 - .../S15.4.4.5_A1.2_T2.js | 47 - .../S15.4.4.5_A1.3_T1.js | 46 - .../S15.4.4.5_A2_T1.js | 65 - .../S15.4.4.5_A2_T2.js | 101 - .../S15.4.4.5_A2_T3.js | 72 - .../S15.4.4.5_A2_T4.js | 100 - .../S15.4.4.5_A3.1_T1.js | 68 - .../S15.4.4.5_A3.1_T2.js | 96 - .../S15.4.4.5_A3.2_T1.js | 74 - .../S15.4.4.5_A3.2_T2.js | 103 - .../S15.4.4.5_A4_T1.js | 42 - .../S15.4.4.5_A4_T2.js | 43 - .../S15.4.4.5_A4_T3.js | 43 - .../S15.4.4.5_A5_T1.js | 43 - .../S15.4.4.5_A6.1.js | 45 - .../S15.4.4.5_A6.2.js | 46 - .../S15.4.4.5_A6.3.js | 35 - .../S15.4.4.5_A6.4.js | 32 - .../S15.4.4.5_A6.5.js | 45 - .../S15.4.4.5_A6.6.js | 31 - .../S15.4.4.5_A6.7.js | 37 - .../S15.4.4.6_A1.1_T1.js | 52 - .../S15.4.4.6_A1.2_T1.js | 85 - .../S15.4.4.6_A2_T1.js | 69 - .../S15.4.4.6_A2_T2.js | 107 - .../S15.4.4.6_A2_T3.js | 55 - .../S15.4.4.6_A2_T4.js | 114 - .../S15.4.4.6_A3_T1.js | 53 - .../S15.4.4.6_A3_T2.js | 53 - .../S15.4.4.6_A3_T3.js | 47 - .../S15.4.4.6_A4_T1.js | 68 - .../S15.4.4.6_A4_T2.js | 68 - .../S15.4.4.6_A5.1.js | 45 - .../S15.4.4.6_A5.2.js | 46 - .../S15.4.4.6_A5.3.js | 35 - .../S15.4.4.6_A5.4.js | 32 - .../S15.4.4.6_A5.5.js | 45 - .../S15.4.4.6_A5.6.js | 31 - .../S15.4.4.6_A5.7.js | 37 - .../S15.4.4.7_A1_T1.js | 67 - .../S15.4.4.7_A1_T2.js | 76 - .../S15.4.4.7_A2_T1.js | 84 - .../S15.4.4.7_A2_T2.js | 134 - .../S15.4.4.7_A2_T3.js | 109 - .../S15.4.4.7_A3.js | 55 - .../S15.4.4.7_A4_T1.js | 71 - .../S15.4.4.7_A4_T2.js | 56 - .../S15.4.4.7_A4_T3.js | 56 - .../S15.4.4.7_A5_T1.js | 60 - .../S15.4.4.7_A6.1.js | 45 - .../S15.4.4.7_A6.2.js | 46 - .../S15.4.4.7_A6.3.js | 35 - .../S15.4.4.7_A6.4.js | 32 - .../S15.4.4.7_A6.5.js | 45 - .../S15.4.4.7_A6.6.js | 31 - .../S15.4.4.7_A6.7.js | 37 - .../S15.4.4.8_A1_T1.js | 64 - .../S15.4.4.8_A1_T2.js | 144 - .../S15.4.4.8_A2_T1.js | 146 - .../S15.4.4.8_A2_T2.js | 146 - .../S15.4.4.8_A2_T3.js | 146 - .../S15.4.4.8_A3_T1.js | 53 - .../S15.4.4.8_A3_T2.js | 59 - .../S15.4.4.8_A3_T3.js | 59 - .../S15.4.4.8_A4_T1.js | 82 - .../S15.4.4.8_A4_T2.js | 82 - .../S15.4.4.8_A5.1.js | 45 - .../S15.4.4.8_A5.2.js | 46 - .../S15.4.4.8_A5.3.js | 35 - .../S15.4.4.8_A5.4.js | 32 - .../S15.4.4.8_A5.5.js | 45 - .../S15.4.4.8_A5.6.js | 31 - .../S15.4.4.8_A5.7.js | 37 - .../S15.4.4.9_A1.1_T1.js | 52 - .../S15.4.4.9_A1.2_T1.js | 85 - .../S15.4.4.9_A2_T1.js | 69 - .../S15.4.4.9_A2_T2.js | 107 - .../S15.4.4.9_A2_T3.js | 55 - .../S15.4.4.9_A2_T4.js | 68 - .../S15.4.4.9_A2_T5.js | 114 - .../S15.4.4.9_A3_T1.js | 53 - .../S15.4.4.9_A3_T2.js | 59 - .../S15.4.4.9_A3_T3.js | 53 - .../S15.4.4.9_A4_T1.js | 78 - .../S15.4.4.9_A4_T2.js | 78 - .../S15.4.4.9_A5.1.js | 45 - .../S15.4.4.9_A5.2.js | 45 - .../S15.4.4.9_A5.3.js | 35 - .../S15.4.4.9_A5.4.js | 32 - .../S15.4.4.9_A5.5.js | 45 - .../S15.4.4.9_A5.6.js | 31 - .../S15.4.4.9_A5.7.js | 37 - .../S15.4.4_A1.1_T1.js | 39 - .../S15.4.4_A1.1_T2.js | 31 - .../S15.4.4_A1.1_T3.js | 32 - .../S15.4.4_A1.2_T1.js | 32 - .../S15.4.4_A1.3_T1.js | 36 - .../S15.4.4_A2.1_T1.js | 33 - .../S15.4.4_A2.1_T2.js | 41 - .../15.4.5.1_Put/S15.4.5.1_A1.1_T1.js | 59 - .../15.4.5.1_Put/S15.4.5.1_A1.1_T2.js | 70 - .../15.4.5.1_Put/S15.4.5.1_A1.2_T1.js | 47 - .../15.4.5.1_Put/S15.4.5.1_A1.2_T2.js | 42 - .../15.4.5.1_Put/S15.4.5.1_A1.2_T3.js | 43 - .../15.4.5.1_Put/S15.4.5.1_A1.3_T1.js | 68 - .../15.4.5.1_Put/S15.4.5.1_A1.3_T2.js | 103 - .../15.4.5.1_Put/S15.4.5.1_A2.1_T1.js | 60 - .../15.4.5.1_Put/S15.4.5.1_A2.2_T1.js | 46 - .../15.4.5.1_Put/S15.4.5.1_A2.3_T1.js | 40 - .../15.4.5.2_length/S15.4.5.2_A1_T1.js | 58 - .../15.4.5.2_length/S15.4.5.2_A1_T2.js | 43 - .../15.4.5.2_length/S15.4.5.2_A2_T1.js | 51 - .../15.4.5.2_length/S15.4.5.2_A3_T1.js | 47 - .../15.4.5.2_length/S15.4.5.2_A3_T2.js | 66 - .../15.4.5.2_length/S15.4.5.2_A3_T3.js | 45 - .../15.4.5.2_length/S15.4.5.2_A3_T4.js | 54 - .../15.4_Array_Objects/S15.4_A1.1_T1.js | 50 - .../15.4_Array_Objects/S15.4_A1.1_T10.js | 43 - .../15.4_Array_Objects/S15.4_A1.1_T2.js | 64 - .../15.4_Array_Objects/S15.4_A1.1_T3.js | 63 - .../15.4_Array_Objects/S15.4_A1.1_T4.js | 42 - .../15.4_Array_Objects/S15.4_A1.1_T5.js | 51 - .../15.4_Array_Objects/S15.4_A1.1_T6.js | 51 - .../15.4_Array_Objects/S15.4_A1.1_T7.js | 48 - .../15.4_Array_Objects/S15.4_A1.1_T8.js | 48 - .../15.4_Array_Objects/S15.4_A1.1_T9.js | 110 - .../S15.5.1.1_A1_T1.js | 44 - .../S15.5.1.1_A1_T10.js | 62 - .../S15.5.1.1_A1_T11.js | 134 - .../S15.5.1.1_A1_T12.js | 80 - .../S15.5.1.1_A1_T13.js | 98 - .../S15.5.1.1_A1_T14.js | 62 - .../S15.5.1.1_A1_T15.js | 40 - .../S15.5.1.1_A1_T16.js | 98 - .../S15.5.1.1_A1_T17.js | 80 - .../S15.5.1.1_A1_T18.js | 62 - .../S15.5.1.1_A1_T19.js | 44 - .../S15.5.1.1_A1_T2.js | 44 - .../S15.5.1.1_A1_T3.js | 44 - .../S15.5.1.1_A1_T4.js | 44 - .../S15.5.1.1_A1_T5.js | 46 - .../S15.5.1.1_A1_T6.js | 44 - .../S15.5.1.1_A1_T7.js | 44 - .../S15.5.1.1_A1_T8.js | 51 - .../S15.5.1.1_A1_T9.js | 46 - .../S15.5.1.1_A2_T1.js | 44 - .../S15.5.2.1_A1_T1.js | 61 - .../S15.5.2.1_A1_T10.js | 59 - .../S15.5.2.1_A1_T11.js | 61 - .../S15.5.2.1_A1_T12.js | 46 - .../S15.5.2.1_A1_T13.js | 46 - .../S15.5.2.1_A1_T16.js | 127 - .../S15.5.2.1_A1_T17.js | 102 - .../S15.5.2.1_A1_T18.js | 77 - .../S15.5.2.1_A1_T19.js | 52 - .../S15.5.2.1_A1_T2.js | 61 - .../S15.5.2.1_A1_T3.js | 61 - .../S15.5.2.1_A1_T4.js | 53 - .../S15.5.2.1_A1_T5.js | 53 - .../S15.5.2.1_A1_T6.js | 53 - .../S15.5.2.1_A1_T7.js | 59 - .../S15.5.2.1_A1_T8.js | 59 - .../S15.5.2.1_A1_T9.js | 53 - .../S15.5.2.1_A2_T1.js | 38 - .../S15.5.2.1_A2_T2.js | 49 - .../S15.5.2.1_A3.js | 39 - .../S15.5.3.1_A1.js | 35 - .../S15.5.3.1_A2.js | 58 - .../S15.5.3.1_A3.js | 44 - .../S15.5.3.1_A4.js | 46 - .../S15.5.3.2_A1.js | 51 - .../S15.5.3.2_A2.js | 35 - .../S15.5.3.2_A3_T1.js | 35 - .../S15.5.3.2_A3_T2.js | 39 - .../S15.5.3.2_A4.js | 39 - .../S15.5.3_A1.js | 34 - .../S15.5.3_A2_T1.js | 34 - .../S15.5.3_A2_T2.js | 36 - .../S15.5.4.10_A10.js | 46 - .../S15.5.4.10_A11.js | 42 - .../S15.5.4.10_A1_T1.js | 38 - .../S15.5.4.10_A1_T10.js | 41 - .../S15.5.4.10_A1_T11.js | 46 - .../S15.5.4.10_A1_T12.js | 44 - .../S15.5.4.10_A1_T13.js | 44 - .../S15.5.4.10_A1_T14.js | 36 - .../S15.5.4.10_A1_T2.js | 38 - .../S15.5.4.10_A1_T3.js | 42 - .../S15.5.4.10_A1_T4.js | 64 - .../S15.5.4.10_A1_T5.js | 35 - .../S15.5.4.10_A1_T6.js | 67 - .../S15.5.4.10_A1_T7.js | 64 - .../S15.5.4.10_A1_T8.js | 67 - .../S15.5.4.10_A1_T9.js | 69 - .../S15.5.4.10_A2_T1.js | 60 - .../S15.5.4.10_A2_T10.js | 61 - .../S15.5.4.10_A2_T11.js | 61 - .../S15.5.4.10_A2_T12.js | 48 - .../S15.5.4.10_A2_T13.js | 50 - .../S15.5.4.10_A2_T14.js | 51 - .../S15.5.4.10_A2_T15.js | 51 - .../S15.5.4.10_A2_T16.js | 51 - .../S15.5.4.10_A2_T17.js | 66 - .../S15.5.4.10_A2_T18.js | 67 - .../S15.5.4.10_A2_T2.js | 48 - .../S15.5.4.10_A2_T3.js | 48 - .../S15.5.4.10_A2_T4.js | 48 - .../S15.5.4.10_A2_T5.js | 48 - .../S15.5.4.10_A2_T6.js | 76 - .../S15.5.4.10_A2_T7.js | 46 - .../S15.5.4.10_A2_T8.js | 60 - .../S15.5.4.10_A2_T9.js | 61 - .../S15.5.4.10_A6.js | 34 - .../S15.5.4.10_A7.js | 33 - .../S15.5.4.10_A8.js | 57 - .../S15.5.4.10_A9.js | 50 - .../S15.5.4.11_A10.js | 46 - .../S15.5.4.11_A11.js | 42 - .../S15.5.4.11_A12.js | 39 - .../S15.5.4.11_A1_T1.js | 38 - .../S15.5.4.11_A1_T10.js | 42 - .../S15.5.4.11_A1_T11.js | 47 - .../S15.5.4.11_A1_T12.js | 47 - .../S15.5.4.11_A1_T13.js | 45 - .../S15.5.4.11_A1_T14.js | 36 - .../S15.5.4.11_A1_T15.js | 45 - .../S15.5.4.11_A1_T16.js | 49 - .../S15.5.4.11_A1_T17.js | 41 - .../S15.5.4.11_A1_T2.js | 40 - .../S15.5.4.11_A1_T3.js | 55 - .../S15.5.4.11_A1_T4.js | 34 - .../S15.5.4.11_A1_T5.js | 34 - .../S15.5.4.11_A1_T6.js | 36 - .../S15.5.4.11_A1_T7.js | 34 - .../S15.5.4.11_A1_T8.js | 36 - .../S15.5.4.11_A1_T9.js | 41 - .../S15.5.4.11_A2_T1.js | 38 - .../S15.5.4.11_A2_T10.js | 38 - .../S15.5.4.11_A2_T2.js | 38 - .../S15.5.4.11_A2_T3.js | 38 - .../S15.5.4.11_A2_T4.js | 38 - .../S15.5.4.11_A2_T5.js | 38 - .../S15.5.4.11_A2_T6.js | 38 - .../S15.5.4.11_A2_T7.js | 38 - .../S15.5.4.11_A2_T8.js | 38 - .../S15.5.4.11_A2_T9.js | 38 - .../S15.5.4.11_A3_T1.js | 37 - .../S15.5.4.11_A3_T2.js | 37 - .../S15.5.4.11_A3_T3.js | 37 - .../S15.5.4.11_A4_T1.js | 41 - .../S15.5.4.11_A4_T2.js | 41 - .../S15.5.4.11_A4_T3.js | 41 - .../S15.5.4.11_A4_T4.js | 41 - .../S15.5.4.11_A5_T1.js | 38 - .../S15.5.4.11_A6.js | 35 - .../S15.5.4.11_A7.js | 33 - .../S15.5.4.11_A8.js | 57 - .../S15.5.4.11_A9.js | 50 - .../S15.5.4.12_A1.1_T1.js | 32 - .../S15.5.4.12_A10.js | 46 - .../S15.5.4.12_A11.js | 42 - .../S15.5.4.12_A1_T1.js | 38 - .../S15.5.4.12_A1_T10.js | 42 - .../S15.5.4.12_A1_T11.js | 47 - .../S15.5.4.12_A1_T12.js | 45 - .../S15.5.4.12_A1_T13.js | 37 - .../S15.5.4.12_A1_T14.js | 36 - .../S15.5.4.12_A1_T2.js | 38 - .../S15.5.4.12_A1_T3.js | 42 - .../S15.5.4.12_A1_T4.js | 39 - .../S15.5.4.12_A1_T5.js | 35 - .../S15.5.4.12_A1_T6.js | 37 - .../S15.5.4.12_A1_T7.js | 35 - .../S15.5.4.12_A1_T8.js | 37 - .../S15.5.4.12_A1_T9.js | 40 - .../S15.5.4.12_A2_T1.js | 36 - .../S15.5.4.12_A2_T2.js | 36 - .../S15.5.4.12_A2_T3.js | 36 - .../S15.5.4.12_A2_T4.js | 37 - .../S15.5.4.12_A2_T5.js | 37 - .../S15.5.4.12_A2_T6.js | 36 - .../S15.5.4.12_A2_T7.js | 36 - .../S15.5.4.12_A3_T1.js | 36 - .../S15.5.4.12_A3_T2.js | 36 - .../S15.5.4.12_A6.js | 34 - .../S15.5.4.12_A7.js | 38 - .../S15.5.4.12_A8.js | 57 - .../S15.5.4.12_A9.js | 50 - .../S15.5.4.13_A10.js | 46 - .../S15.5.4.13_A11.js | 42 - .../S15.5.4.13_A1_T1.js | 38 - .../S15.5.4.13_A1_T10.js | 42 - .../S15.5.4.13_A1_T11.js | 47 - .../S15.5.4.13_A1_T12.js | 47 - .../S15.5.4.13_A1_T13.js | 45 - .../S15.5.4.13_A1_T14.js | 35 - .../S15.5.4.13_A1_T15.js | 39 - .../S15.5.4.13_A1_T2.js | 40 - .../S15.5.4.13_A1_T3.js | 43 - .../S15.5.4.13_A1_T4.js | 35 - .../S15.5.4.13_A1_T5.js | 42 - .../S15.5.4.13_A1_T6.js | 37 - .../S15.5.4.13_A1_T7.js | 35 - .../S15.5.4.13_A1_T8.js | 37 - .../S15.5.4.13_A1_T9.js | 40 - .../S15.5.4.13_A2_T1.js | 36 - .../S15.5.4.13_A2_T2.js | 36 - .../S15.5.4.13_A2_T3.js | 36 - .../S15.5.4.13_A2_T4.js | 36 - .../S15.5.4.13_A2_T5.js | 36 - .../S15.5.4.13_A2_T6.js | 36 - .../S15.5.4.13_A2_T7.js | 36 - .../S15.5.4.13_A2_T8.js | 36 - .../S15.5.4.13_A2_T9.js | 36 - .../S15.5.4.13_A3_T1.js | 38 - .../S15.5.4.13_A3_T2.js | 38 - .../S15.5.4.13_A3_T3.js | 38 - .../S15.5.4.13_A3_T4.js | 44 - .../S15.5.4.13_A6.js | 34 - .../S15.5.4.13_A7.js | 35 - .../S15.5.4.13_A8.js | 57 - .../S15.5.4.13_A9.js | 50 - .../S15.5.4.14_A10.js | 46 - .../S15.5.4.14_A11.js | 42 - .../S15.5.4.14_A1_T1.js | 60 - .../S15.5.4.14_A1_T10.js | 72 - .../S15.5.4.14_A1_T11.js | 53 - .../S15.5.4.14_A1_T12.js | 51 - .../S15.5.4.14_A1_T13.js | 77 - .../S15.5.4.14_A1_T14.js | 52 - .../S15.5.4.14_A1_T15.js | 59 - .../S15.5.4.14_A1_T16.js | 44 - .../S15.5.4.14_A1_T17.js | 92 - .../S15.5.4.14_A1_T18.js | 68 - .../S15.5.4.14_A1_T2.js | 61 - .../S15.5.4.14_A1_T3.js | 74 - .../S15.5.4.14_A1_T4.js | 65 - .../S15.5.4.14_A1_T5.js | 73 - .../S15.5.4.14_A1_T6.js | 75 - .../S15.5.4.14_A1_T7.js | 73 - .../S15.5.4.14_A1_T8.js | 75 - .../S15.5.4.14_A1_T9.js | 78 - .../S15.5.4.14_A2_T1.js | 89 - .../S15.5.4.14_A2_T10.js | 61 - .../S15.5.4.14_A2_T11.js | 57 - .../S15.5.4.14_A2_T12.js | 57 - .../S15.5.4.14_A2_T13.js | 65 - .../S15.5.4.14_A2_T14.js | 65 - .../S15.5.4.14_A2_T15.js | 57 - .../S15.5.4.14_A2_T16.js | 57 - .../S15.5.4.14_A2_T17.js | 57 - .../S15.5.4.14_A2_T18.js | 65 - .../S15.5.4.14_A2_T19.js | 57 - .../S15.5.4.14_A2_T2.js | 89 - .../S15.5.4.14_A2_T20.js | 60 - .../S15.5.4.14_A2_T21.js | 66 - .../S15.5.4.14_A2_T22.js | 74 - .../S15.5.4.14_A2_T23.js | 58 - .../S15.5.4.14_A2_T24.js | 66 - .../S15.5.4.14_A2_T25.js | 65 - .../S15.5.4.14_A2_T26.js | 65 - .../S15.5.4.14_A2_T27.js | 58 - .../S15.5.4.14_A2_T28.js | 58 - .../S15.5.4.14_A2_T29.js | 64 - .../S15.5.4.14_A2_T3.js | 65 - .../S15.5.4.14_A2_T30.js | 62 - .../S15.5.4.14_A2_T31.js | 64 - .../S15.5.4.14_A2_T32.js | 62 - .../S15.5.4.14_A2_T33.js | 64 - .../S15.5.4.14_A2_T34.js | 64 - .../S15.5.4.14_A2_T35.js | 64 - .../S15.5.4.14_A2_T36.js | 62 - .../S15.5.4.14_A2_T37.js | 62 - .../S15.5.4.14_A2_T38.js | 58 - .../S15.5.4.14_A2_T39.js | 58 - .../S15.5.4.14_A2_T4.js | 81 - .../S15.5.4.14_A2_T40.js | 58 - .../S15.5.4.14_A2_T41.js | 62 - .../S15.5.4.14_A2_T42.js | 62 - .../S15.5.4.14_A2_T43.js | 62 - .../S15.5.4.14_A2_T5.js | 73 - .../S15.5.4.14_A2_T6.js | 60 - .../S15.5.4.14_A2_T7.js | 61 - .../S15.5.4.14_A2_T8.js | 61 - .../S15.5.4.14_A2_T9.js | 61 - .../S15.5.4.14_A3_T1.js | 56 - .../S15.5.4.14_A3_T10.js | 56 - .../S15.5.4.14_A3_T11.js | 56 - .../S15.5.4.14_A3_T2.js | 58 - .../S15.5.4.14_A3_T3.js | 58 - .../S15.5.4.14_A3_T4.js | 58 - .../S15.5.4.14_A3_T5.js | 58 - .../S15.5.4.14_A3_T6.js | 58 - .../S15.5.4.14_A3_T7.js | 58 - .../S15.5.4.14_A3_T8.js | 58 - .../S15.5.4.14_A3_T9.js | 58 - .../S15.5.4.14_A4_T1.js | 74 - .../S15.5.4.14_A4_T10.js | 62 - .../S15.5.4.14_A4_T11.js | 60 - .../S15.5.4.14_A4_T12.js | 60 - .../S15.5.4.14_A4_T13.js | 62 - .../S15.5.4.14_A4_T14.js | 62 - .../S15.5.4.14_A4_T15.js | 62 - .../S15.5.4.14_A4_T16.js | 62 - .../S15.5.4.14_A4_T17.js | 62 - .../S15.5.4.14_A4_T18.js | 62 - .../S15.5.4.14_A4_T19.js | 62 - .../S15.5.4.14_A4_T2.js | 50 - .../S15.5.4.14_A4_T20.js | 62 - .../S15.5.4.14_A4_T21.js | 60 - .../S15.5.4.14_A4_T22.js | 62 - .../S15.5.4.14_A4_T23.js | 62 - .../S15.5.4.14_A4_T24.js | 62 - .../S15.5.4.14_A4_T25.js | 62 - .../S15.5.4.14_A4_T3.js | 58 - .../S15.5.4.14_A4_T4.js | 66 - .../S15.5.4.14_A4_T5.js | 74 - .../S15.5.4.14_A4_T6.js | 74 - .../S15.5.4.14_A4_T7.js | 74 - .../S15.5.4.14_A4_T8.js | 50 - .../S15.5.4.14_A4_T9.js | 74 - .../S15.5.4.14_A6.js | 34 - .../S15.5.4.14_A7.js | 33 - .../S15.5.4.14_A8.js | 57 - .../S15.5.4.14_A9.js | 50 - .../S15.5.4.15_A10.js | 46 - .../S15.5.4.15_A11.js | 42 - .../S15.5.4.15_A1_T1.js | 38 - .../S15.5.4.15_A1_T10.js | 42 - .../S15.5.4.15_A1_T11.js | 47 - .../S15.5.4.15_A1_T12.js | 47 - .../S15.5.4.15_A1_T13.js | 45 - .../S15.5.4.15_A1_T14.js | 35 - .../S15.5.4.15_A1_T15.js | 39 - .../S15.5.4.15_A1_T2.js | 40 - .../S15.5.4.15_A1_T3.js | 43 - .../S15.5.4.15_A1_T4.js | 34 - .../S15.5.4.15_A1_T5.js | 41 - .../S15.5.4.15_A1_T6.js | 36 - .../S15.5.4.15_A1_T7.js | 34 - .../S15.5.4.15_A1_T8.js | 36 - .../S15.5.4.15_A1_T9.js | 39 - .../S15.5.4.15_A2_T1.js | 36 - .../S15.5.4.15_A2_T10.js | 36 - .../S15.5.4.15_A2_T2.js | 36 - .../S15.5.4.15_A2_T3.js | 36 - .../S15.5.4.15_A2_T4.js | 36 - .../S15.5.4.15_A2_T5.js | 36 - .../S15.5.4.15_A2_T6.js | 36 - .../S15.5.4.15_A2_T7.js | 36 - .../S15.5.4.15_A2_T8.js | 36 - .../S15.5.4.15_A2_T9.js | 36 - .../S15.5.4.15_A3_T1.js | 38 - .../S15.5.4.15_A3_T10.js | 44 - .../S15.5.4.15_A3_T11.js | 39 - .../S15.5.4.15_A3_T2.js | 38 - .../S15.5.4.15_A3_T3.js | 38 - .../S15.5.4.15_A3_T4.js | 38 - .../S15.5.4.15_A3_T5.js | 38 - .../S15.5.4.15_A3_T6.js | 38 - .../S15.5.4.15_A3_T7.js | 39 - .../S15.5.4.15_A3_T8.js | 39 - .../S15.5.4.15_A3_T9.js | 39 - .../S15.5.4.15_A6.js | 34 - .../S15.5.4.15_A7.js | 38 - .../S15.5.4.15_A8.js | 57 - .../S15.5.4.15_A9.js | 50 - .../S15.5.4.16_A10.js | 46 - .../S15.5.4.16_A11.js | 42 - .../S15.5.4.16_A1_T1.js | 38 - .../S15.5.4.16_A1_T10.js | 38 - .../S15.5.4.16_A1_T11.js | 42 - .../S15.5.4.16_A1_T12.js | 42 - .../S15.5.4.16_A1_T13.js | 45 - .../S15.5.4.16_A1_T14.js | 37 - .../S15.5.4.16_A1_T2.js | 38 - .../S15.5.4.16_A1_T3.js | 34 - .../S15.5.4.16_A1_T4.js | 62 - .../S15.5.4.16_A1_T5.js | 35 - .../S15.5.4.16_A1_T6.js | 38 - .../S15.5.4.16_A1_T7.js | 36 - .../S15.5.4.16_A1_T8.js | 32 - .../S15.5.4.16_A1_T9.js | 69 - .../S15.5.4.16_A2_T1.js | 51 - .../S15.5.4.16_A6.js | 34 - .../S15.5.4.16_A7.js | 38 - .../S15.5.4.16_A8.js | 57 - .../S15.5.4.16_A9.js | 50 - .../S15.5.4.17_A10.js | 46 - .../S15.5.4.17_A11.js | 42 - .../S15.5.4.17_A1_T1.js | 38 - .../S15.5.4.17_A1_T10.js | 37 - .../S15.5.4.17_A1_T11.js | 42 - .../S15.5.4.17_A1_T12.js | 42 - .../S15.5.4.17_A1_T13.js | 45 - .../S15.5.4.17_A1_T14.js | 37 - .../S15.5.4.17_A1_T2.js | 38 - .../S15.5.4.17_A1_T3.js | 34 - .../S15.5.4.17_A1_T4.js | 62 - .../S15.5.4.17_A1_T5.js | 35 - .../S15.5.4.17_A1_T6.js | 36 - .../S15.5.4.17_A1_T7.js | 36 - .../S15.5.4.17_A1_T8.js | 32 - .../S15.5.4.17_A1_T9.js | 70 - .../S15.5.4.17_A2_T1.js | 51 - .../S15.5.4.17_A6.js | 34 - .../S15.5.4.17_A7.js | 38 - .../S15.5.4.17_A8.js | 57 - .../S15.5.4.17_A9.js | 50 - .../S15.5.4.18_A10.js | 46 - .../S15.5.4.18_A11.js | 42 - .../S15.5.4.18_A1_T1.js | 38 - .../S15.5.4.18_A1_T10.js | 37 - .../S15.5.4.18_A1_T11.js | 41 - .../S15.5.4.18_A1_T12.js | 41 - .../S15.5.4.18_A1_T13.js | 45 - .../S15.5.4.18_A1_T14.js | 36 - .../S15.5.4.18_A1_T2.js | 38 - .../S15.5.4.18_A1_T3.js | 34 - .../S15.5.4.18_A1_T4.js | 62 - .../S15.5.4.18_A1_T5.js | 35 - .../S15.5.4.18_A1_T6.js | 36 - .../S15.5.4.18_A1_T7.js | 36 - .../S15.5.4.18_A1_T8.js | 33 - .../S15.5.4.18_A1_T9.js | 69 - .../S15.5.4.18_A2_T1.js | 51 - .../S15.5.4.18_A6.js | 34 - .../S15.5.4.18_A7.js | 37 - .../S15.5.4.18_A8.js | 57 - .../S15.5.4.18_A9.js | 50 - .../S15.5.4.19_A10.js | 46 - .../S15.5.4.19_A11.js | 42 - .../S15.5.4.19_A1_T1.js | 38 - .../S15.5.4.19_A1_T10.js | 37 - .../S15.5.4.19_A1_T11.js | 41 - .../S15.5.4.19_A1_T12.js | 41 - .../S15.5.4.19_A1_T13.js | 44 - .../S15.5.4.19_A1_T14.js | 36 - .../S15.5.4.19_A1_T2.js | 38 - .../S15.5.4.19_A1_T3.js | 34 - .../S15.5.4.19_A1_T4.js | 61 - .../S15.5.4.19_A1_T5.js | 35 - .../S15.5.4.19_A1_T6.js | 37 - .../S15.5.4.19_A1_T7.js | 36 - .../S15.5.4.19_A1_T8.js | 32 - .../S15.5.4.19_A1_T9.js | 69 - .../S15.5.4.19_A2_T1.js | 51 - .../S15.5.4.19_A6.js | 34 - .../S15.5.4.19_A7.js | 37 - .../S15.5.4.19_A8.js | 57 - .../S15.5.4.19_A9.js | 50 - .../S15.5.4.4_A1.1.js | 43 - .../S15.5.4.4_A10.js | 46 - .../S15.5.4.4_A11.js | 42 - .../S15.5.4.4_A1_T1.js | 38 - .../S15.5.4.4_A1_T10.js | 39 - .../S15.5.4.4_A1_T2.js | 38 - .../S15.5.4.4_A1_T3.js | 42 - .../S15.5.4.4_A1_T4.js | 35 - .../S15.5.4.4_A1_T5.js | 35 - .../S15.5.4.4_A1_T6.js | 37 - .../S15.5.4.4_A1_T7.js | 35 - .../S15.5.4.4_A1_T8.js | 35 - .../S15.5.4.4_A1_T9.js | 35 - .../S15.5.4.4_A2.js | 40 - .../S15.5.4.4_A3.js | 36 - .../S15.5.4.4_A4_T1.js | 38 - .../S15.5.4.4_A4_T2.js | 38 - .../S15.5.4.4_A4_T3.js | 38 - .../S15.5.4.4_A5.js | 45 - .../S15.5.4.4_A6.js | 34 - .../S15.5.4.4_A7.js | 37 - .../S15.5.4.4_A8.js | 57 - .../S15.5.4.4_A9.js | 50 - .../S15.5.4.5_A1.1.js | 44 - .../S15.5.4.5_A10.js | 46 - .../S15.5.4.5_A11.js | 42 - .../S15.5.4.5_A1_T1.js | 38 - .../S15.5.4.5_A1_T10.js | 39 - .../S15.5.4.5_A1_T2.js | 54 - .../S15.5.4.5_A1_T3.js | 75 - .../S15.5.4.5_A1_T4.js | 35 - .../S15.5.4.5_A1_T5.js | 35 - .../S15.5.4.5_A1_T6.js | 37 - .../S15.5.4.5_A1_T7.js | 35 - .../S15.5.4.5_A1_T8.js | 35 - .../S15.5.4.5_A1_T9.js | 35 - .../S15.5.4.5_A2.js | 40 - .../S15.5.4.5_A3.js | 36 - .../S15.5.4.5_A4.js | 45 - .../S15.5.4.5_A6.js | 34 - .../S15.5.4.5_A7.js | 33 - .../S15.5.4.5_A8.js | 57 - .../S15.5.4.5_A9.js | 50 - .../S15.5.4.6_A10.js | 46 - .../S15.5.4.6_A11.js | 42 - .../S15.5.4.6_A1_T1.js | 38 - .../S15.5.4.6_A1_T10.js | 43 - .../S15.5.4.6_A1_T2.js | 38 - .../S15.5.4.6_A1_T3.js | 44 - .../S15.5.4.6_A1_T4.js | 35 - .../S15.5.4.6_A1_T5.js | 35 - .../S15.5.4.6_A1_T6.js | 37 - .../S15.5.4.6_A1_T7.js | 35 - .../S15.5.4.6_A1_T8.js | 35 - .../S15.5.4.6_A1_T9.js | 35 - .../S15.5.4.6_A2.js | 49 - .../S15.5.4.6_A3.js | 38 - .../S15.5.4.6_A4_T1.js | 42 - .../S15.5.4.6_A4_T2.js | 49 - .../S15.5.4.6_A6.js | 34 - .../S15.5.4.6_A7.js | 33 - .../S15.5.4.6_A8.js | 57 - .../S15.5.4.6_A9.js | 50 - .../S15.5.4.7_A10.js | 46 - .../S15.5.4.7_A11.js | 42 - .../S15.5.4.7_A1_T1.js | 38 - .../S15.5.4.7_A1_T10.js | 42 - .../S15.5.4.7_A1_T11.js | 38 - .../S15.5.4.7_A1_T12.js | 44 - .../S15.5.4.7_A1_T2.js | 38 - .../S15.5.4.7_A1_T3.js | 44 - .../S15.5.4.7_A1_T4.js | 35 - .../S15.5.4.7_A1_T5.js | 35 - .../S15.5.4.7_A1_T6.js | 37 - .../S15.5.4.7_A1_T7.js | 35 - .../S15.5.4.7_A1_T8.js | 37 - .../S15.5.4.7_A1_T9.js | 40 - .../S15.5.4.7_A2_T1.js | 34 - .../S15.5.4.7_A2_T2.js | 34 - .../S15.5.4.7_A2_T3.js | 34 - .../S15.5.4.7_A2_T4.js | 34 - .../S15.5.4.7_A3_T1.js | 34 - .../S15.5.4.7_A3_T2.js | 34 - .../S15.5.4.7_A3_T3.js | 34 - .../S15.5.4.7_A4_T1.js | 48 - .../S15.5.4.7_A4_T2.js | 46 - .../S15.5.4.7_A4_T3.js | 38 - .../S15.5.4.7_A4_T4.js | 47 - .../S15.5.4.7_A4_T5.js | 54 - .../S15.5.4.7_A5_T1.js | 38 - .../S15.5.4.7_A5_T2.js | 38 - .../S15.5.4.7_A5_T3.js | 38 - .../S15.5.4.7_A5_T4.js | 38 - .../S15.5.4.7_A5_T5.js | 38 - .../S15.5.4.7_A5_T6.js | 38 - .../S15.5.4.7_A6.js | 34 - .../S15.5.4.7_A7.js | 38 - .../S15.5.4.7_A8.js | 57 - .../S15.5.4.7_A9.js | 50 - .../S15.5.4.8_A10.js | 46 - .../S15.5.4.8_A11.js | 42 - .../S15.5.4.8_A1_T1.js | 38 - .../S15.5.4.8_A1_T10.js | 42 - .../S15.5.4.8_A1_T11.js | 38 - .../S15.5.4.8_A1_T12.js | 44 - .../S15.5.4.8_A1_T2.js | 38 - .../S15.5.4.8_A1_T3.js | 44 - .../S15.5.4.8_A1_T4.js | 35 - .../S15.5.4.8_A1_T5.js | 35 - .../S15.5.4.8_A1_T6.js | 37 - .../S15.5.4.8_A1_T7.js | 35 - .../S15.5.4.8_A1_T8.js | 37 - .../S15.5.4.8_A1_T9.js | 40 - .../S15.5.4.8_A4_T1.js | 48 - .../S15.5.4.8_A4_T2.js | 46 - .../S15.5.4.8_A4_T3.js | 38 - .../S15.5.4.8_A4_T4.js | 47 - .../S15.5.4.8_A4_T5.js | 54 - .../S15.5.4.8_A6.js | 34 - .../S15.5.4.8_A7.js | 35 - .../S15.5.4.8_A8.js | 57 - .../S15.5.4.8_A9.js | 50 - .../S15.5.4.9_A10.js | 46 - .../S15.5.4.9_A11.js | 42 - .../S15.5.4.9_A1_T1.js | 45 - .../S15.5.4.9_A1_T2.js | 33 - .../S15.5.4.9_A6.js | 34 - .../S15.5.4.9_A7.js | 33 - .../S15.5.4.9_A8.js | 57 - .../S15.5.4.9_A9.js | 50 - .../S15.5.4.1_A1_T1.js | 34 - .../S15.5.4.1_A1_T2.js | 66 - .../S15.5.4.2_A1_T1.js | 36 - .../S15.5.4.2_A1_T2.js | 36 - .../S15.5.4.2_A1_T3.js | 36 - .../S15.5.4.2_A1_T4.js | 36 - .../S15.5.4.2_A2_T1.js | 50 - .../S15.5.4.2_A2_T2.js | 50 - .../S15.5.4.2_A3_T1.js | 46 - .../S15.5.4.2_A4_T1.js | 36 - .../S15.5.4.3_A1_T1.js | 36 - .../S15.5.4.3_A1_T2.js | 36 - .../S15.5.4.3_A1_T3.js | 36 - .../S15.5.4.3_A1_T4.js | 36 - .../S15.5.4.3_A2_T1.js | 51 - .../S15.5.4.3_A2_T2.js | 51 - .../S15.5.4_A1.js | 37 - .../S15.5.4_A2.js | 35 - .../S15.5.4_A3.js | 44 - .../S15.5.5.1_A1.js | 46 - .../S15.5.5.1_A2.js | 46 - .../S15.5.5.1_A3.js | 52 - .../S15.5.5.1_A4.js | 75 - .../S15.5.5.1_A5.js | 55 - .../S15.5.5_A1_T1.js | 41 - .../S15.5.5_A1_T2.js | 39 - .../S15.5.5_A2_T1.js | 41 - .../S15.5.5_A2_T2.js | 39 - .../S15.6.1.1_A1_T1.js | 48 - .../S15.6.1.1_A1_T2.js | 59 - .../S15.6.1.1_A1_T3.js | 67 - .../S15.6.1.1_A1_T4.js | 68 - .../S15.6.1.1_A1_T5.js | 67 - .../S15.6.1.1_A2.js | 36 - .../S15.6.2.1_A1.js | 71 - .../S15.6.2.1_A2.js | 46 - .../S15.6.2.1_A3.js | 51 - .../S15.6.2.1_A4.js | 36 - .../S15.6.3.1_A1.js | 43 - .../S15.6.3.1_A2.js | 33 - .../S15.6.3.1_A3.js | 31 - .../S15.6.3.1_A4.js | 37 - .../S15.6.3_A1.js | 31 - .../S15.6.3_A2.js | 32 - .../S15.6.3_A3.js | 36 - .../S15.6.4.1_A1.js | 32 - .../S15.6.4.2_A1_T1.js | 63 - .../S15.6.4.2_A1_T2.js | 63 - .../S15.6.4.2_A2_T1.js | 55 - .../S15.6.4.2_A2_T2.js | 55 - .../S15.6.4.2_A2_T3.js | 55 - .../S15.6.4.2_A2_T4.js | 55 - .../S15.6.4.2_A2_T5.js | 55 - .../S15.6.4.3_A1_T1.js | 57 - .../S15.6.4.3_A1_T2.js | 57 - .../S15.6.4.3_A2_T1.js | 55 - .../S15.6.4.3_A2_T2.js | 55 - .../S15.6.4.3_A2_T3.js | 55 - .../S15.6.4.3_A2_T4.js | 55 - .../S15.6.4.3_A2_T5.js | 55 - .../S15.6.4_A1.js | 43 - .../S15.6.4_A2.js | 32 - .../S15.7.1.1_A1.js | 56 - .../S15.7.1.1_A2.js | 39 - .../S15.7.2.1_A1.js | 71 - .../S15.7.2.1_A2.js | 46 - .../S15.7.2.1_A3.js | 41 - .../S15.7.2.1_A4.js | 36 - .../S15.7.3.1_A1_T1.js | 33 - .../S15.7.3.1_A1_T2.js | 36 - .../S15.7.3.1_A1_T3.js | 36 - .../S15.7.3.1_A2_T1.js | 38 - .../S15.7.3.1_A2_T2.js | 38 - .../15.7.3.1_Number.prototype/S15.7.3.1_A3.js | 33 - .../15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A1.js | 34 - .../15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A2.js | 33 - .../15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A3.js | 32 - .../15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A4.js | 37 - .../15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js | 34 - .../15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A2.js | 33 - .../15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A3.js | 32 - .../15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A4.js | 37 - .../15.7.3.4_Number.NaN/S15.7.3.4_A1.js | 31 - .../15.7.3.4_Number.NaN/S15.7.3.4_A2.js | 32 - .../15.7.3.4_Number.NaN/S15.7.3.4_A3.js | 32 - .../15.7.3.4_Number.NaN/S15.7.3.4_A4.js | 37 - .../S15.7.3.5_A1.js | 35 - .../S15.7.3.5_A2.js | 36 - .../S15.7.3.5_A3.js | 32 - .../S15.7.3.5_A4.js | 37 - .../S15.7.3.6_A1.js | 35 - .../S15.7.3.6_A2.js | 36 - .../S15.7.3.6_A3.js | 32 - .../S15.7.3.6_A4.js | 37 - .../S15.7.3_A1.js | 31 - .../S15.7.3_A2.js | 31 - .../S15.7.3_A3.js | 31 - .../S15.7.3_A4.js | 31 - .../S15.7.3_A5.js | 31 - .../S15.7.3_A6.js | 31 - .../S15.7.3_A7.js | 32 - .../S15.7.3_A8.js | 36 - .../S15.7.4.1_A1.js | 33 - .../S15.7.4.2_A1_T01.js | 68 - .../S15.7.4.2_A1_T02.js | 68 - .../S15.7.4.2_A1_T03.js | 68 - .../S15.7.4.2_A2_T01.js | 67 - .../S15.7.4.2_A2_T02.js | 67 - .../S15.7.4.2_A2_T03.js | 67 - .../S15.7.4.2_A2_T04.js | 67 - .../S15.7.4.2_A2_T05.js | 67 - .../S15.7.4.2_A2_T06.js | 67 - .../S15.7.4.2_A2_T07.js | 67 - .../S15.7.4.2_A2_T08.js | 67 - .../S15.7.4.2_A2_T09.js | 67 - .../S15.7.4.2_A2_T10.js | 67 - .../S15.7.4.2_A2_T11.js | 67 - .../S15.7.4.2_A2_T12.js | 67 - .../S15.7.4.2_A2_T13.js | 67 - .../S15.7.4.2_A2_T14.js | 67 - .../S15.7.4.2_A2_T15.js | 67 - .../S15.7.4.2_A2_T16.js | 67 - .../S15.7.4.2_A2_T17.js | 67 - .../S15.7.4.2_A2_T18.js | 67 - .../S15.7.4.2_A2_T19.js | 67 - .../S15.7.4.2_A2_T20.js | 67 - .../S15.7.4.2_A2_T21.js | 67 - .../S15.7.4.2_A2_T22.js | 67 - .../S15.7.4.2_A2_T23.js | 67 - .../S15.7.4.2_A2_T24.js | 67 - .../S15.7.4.2_A2_T25.js | 67 - .../S15.7.4.2_A2_T26.js | 67 - .../S15.7.4.2_A2_T27.js | 67 - .../S15.7.4.2_A2_T28.js | 67 - .../S15.7.4.2_A2_T29.js | 67 - .../S15.7.4.2_A2_T30.js | 67 - .../S15.7.4.2_A2_T31.js | 67 - .../S15.7.4.2_A2_T32.js | 67 - .../S15.7.4.2_A2_T33.js | 67 - .../S15.7.4.2_A2_T34.js | 67 - .../S15.7.4.2_A3_T01.js | 90 - .../S15.7.4.2_A3_T02.js | 90 - .../S15.7.4.2_A3_T03.js | 90 - .../S15.7.4.2_A3_T04.js | 90 - .../S15.7.4.2_A4_T01.js | 55 - .../S15.7.4.2_A4_T02.js | 55 - .../S15.7.4.2_A4_T03.js | 55 - .../S15.7.4.2_A4_T04.js | 55 - .../S15.7.4.2_A4_T05.js | 55 - .../S15.7.4.4_A1_T01.js | 66 - .../S15.7.4.4_A1_T02.js | 66 - .../S15.7.4.4_A2_T01.js | 55 - .../S15.7.4.4_A2_T02.js | 55 - .../S15.7.4.4_A2_T03.js | 55 - .../S15.7.4.4_A2_T04.js | 55 - .../S15.7.4.4_A2_T05.js | 55 - .../S15.7.4.5_A1.1_T01.js | 87 - .../S15.7.4.5_A1.1_T02.js | 87 - .../S15.7.4.5_A1.3_T01.js | 87 - .../S15.7.4.5_A1.3_T02.js | 87 - .../S15.7.4.5_A1.4_T01.js | 87 - .../S15.7.4.5_A2_T01.js | 36 - .../S15.7.4_A1.js | 45 - .../S15.7.4_A2.js | 32 - .../S15.7.4_A3.1.js | 32 - .../S15.7.4_A3.2.js | 32 - .../S15.7.4_A3.3.js | 32 - .../S15.7.4_A3.4.js | 32 - .../S15.7.4_A3.5.js | 32 - .../S15.7.4_A3.6.js | 32 - .../S15.7.4_A3.7.js | 32 - .../S15.7.5_A1_T01.js | 38 - .../S15.7.5_A1_T02.js | 38 - .../S15.7.5_A1_T03.js | 38 - .../S15.7.5_A1_T04.js | 38 - .../S15.7.5_A1_T05.js | 38 - .../S15.7.5_A1_T06.js | 38 - .../S15.7.5_A1_T07.js | 38 - .../15.8.1.1_E/S15.8.1.1_A1.js | 33 - .../15.8.1.1_E/S15.8.1.1_A2.js | 34 - .../15.8.1.1_E/S15.8.1.1_A3.js | 33 - .../15.8.1.1_E/S15.8.1.1_A4.js | 34 - .../15.8.1.2_LN10/S15.8.1.2_A1.js | 33 - .../15.8.1.2_LN10/S15.8.1.2_A2.js | 34 - .../15.8.1.2_LN10/S15.8.1.2_A3.js | 33 - .../15.8.1.2_LN10/S15.8.1.2_A4.js | 34 - .../15.8.1.3_LN2/S15.8.1.3_A1.js | 34 - .../15.8.1.3_LN2/S15.8.1.3_A2.js | 34 - .../15.8.1.3_LN2/S15.8.1.3_A3.js | 33 - .../15.8.1.3_LN2/S15.8.1.3_A4.js | 34 - .../15.8.1.4_LOG2E/S15.8.1.4_A1.js | 33 - .../15.8.1.4_LOG2E/S15.8.1.4_A2.js | 34 - .../15.8.1.4_LOG2E/S15.8.1.4_A3.js | 33 - .../15.8.1.4_LOG2E/S15.8.1.4_A4.js | 34 - .../15.8.1.5_LOG10E/S15.8.1.5_A1.js | 33 - .../15.8.1.5_LOG10E/S15.8.1.5_A2.js | 34 - .../15.8.1.5_LOG10E/S15.8.1.5_A3.js | 33 - .../15.8.1.5_LOG10E/S15.8.1.5_A4.js | 34 - .../15.8.1.6_PI/S15.8.1.6_A1.js | 34 - .../15.8.1.6_PI/S15.8.1.6_A2.js | 34 - .../15.8.1.6_PI/S15.8.1.6_A3.js | 33 - .../15.8.1.6_PI/S15.8.1.6_A4.js | 34 - .../15.8.1.7_SQRT1_2/S15.8.1.7_A1.js | 34 - .../15.8.1.7_SQRT1_2/S15.8.1.7_A2.js | 34 - .../15.8.1.7_SQRT1_2/S15.8.1.7_A3.js | 33 - .../15.8.1.7_SQRT1_2/S15.8.1.7_A4.js | 34 - .../15.8.1.8_SQRT2/S15.8.1.8_A1.js | 34 - .../15.8.1.8_SQRT2/S15.8.1.8_A2.js | 34 - .../15.8.1.8_SQRT2/S15.8.1.8_A3.js | 33 - .../15.8.1.8_SQRT2/S15.8.1.8_A4.js | 34 - .../15.8.2.10_log/S15.8.2.10_A1.js | 33 - .../15.8.2.10_log/S15.8.2.10_A2.js | 47 - .../15.8.2.10_log/S15.8.2.10_A3.js | 40 - .../15.8.2.10_log/S15.8.2.10_A4.js | 33 - .../15.8.2.10_log/S15.8.2.10_A5.js | 33 - .../15.8.2.10_log/S15.8.2.10_A6.js | 176 -- .../15.8.2.11_max/S15.8.2.11_A1.js | 32 - .../15.8.2.11_max/S15.8.2.11_A2.js | 84 - .../15.8.2.11_max/S15.8.2.11_A3.js | 38 - .../15.8.2.11_max/S15.8.2.11_A4.js | 41 - .../15.8.2.12_min/S15.8.2.12_A1.js | 32 - .../15.8.2.12_min/S15.8.2.12_A2.js | 84 - .../15.8.2.12_min/S15.8.2.12_A3.js | 38 - .../15.8.2.12_min/S15.8.2.12_A4.js | 41 - .../15.8.2.13_pow/S15.8.2.13_A1.js | 49 - .../15.8.2.13_pow/S15.8.2.13_A10.js | 46 - .../15.8.2.13_pow/S15.8.2.13_A11.js | 44 - .../15.8.2.13_pow/S15.8.2.13_A12.js | 44 - .../15.8.2.13_pow/S15.8.2.13_A13.js | 43 - .../15.8.2.13_pow/S15.8.2.13_A14.js | 45 - .../15.8.2.13_pow/S15.8.2.13_A15.js | 43 - .../15.8.2.13_pow/S15.8.2.13_A16.js | 45 - .../15.8.2.13_pow/S15.8.2.13_A17.js | 44 - .../15.8.2.13_pow/S15.8.2.13_A18.js | 44 - .../15.8.2.13_pow/S15.8.2.13_A19.js | 43 - .../15.8.2.13_pow/S15.8.2.13_A2.js | 49 - .../15.8.2.13_pow/S15.8.2.13_A20.js | 45 - .../15.8.2.13_pow/S15.8.2.13_A21.js | 43 - .../15.8.2.13_pow/S15.8.2.13_A22.js | 45 - .../15.8.2.13_pow/S15.8.2.13_A23.js | 51 - .../15.8.2.13_pow/S15.8.2.13_A24.js | 244 -- .../15.8.2.13_pow/S15.8.2.13_A3.js | 49 - .../15.8.2.13_pow/S15.8.2.13_A4.js | 47 - .../15.8.2.13_pow/S15.8.2.13_A5.js | 46 - .../15.8.2.13_pow/S15.8.2.13_A6.js | 46 - .../15.8.2.13_pow/S15.8.2.13_A7.js | 42 - .../15.8.2.13_pow/S15.8.2.13_A8.js | 42 - .../15.8.2.13_pow/S15.8.2.13_A9.js | 46 - .../15.8.2.14_random/S15.8.2.14_A1.js | 36 - .../15.8.2.15_round/S15.8.2.15_A1.js | 33 - .../15.8.2.15_round/S15.8.2.15_A2.js | 33 - .../15.8.2.15_round/S15.8.2.15_A3.js | 33 - .../15.8.2.15_round/S15.8.2.15_A4.js | 33 - .../15.8.2.15_round/S15.8.2.15_A5.js | 33 - .../15.8.2.15_round/S15.8.2.15_A6.js | 52 - .../15.8.2.15_round/S15.8.2.15_A7.js | 44 - .../15.8.2.16_sin/S15.8.2.16_A1.js | 33 - .../15.8.2.16_sin/S15.8.2.16_A2.js | 29 - .../15.8.2.16_sin/S15.8.2.16_A3.js | 33 - .../15.8.2.16_sin/S15.8.2.16_A4.js | 33 - .../15.8.2.16_sin/S15.8.2.16_A5.js | 33 - .../15.8.2.16_sin/S15.8.2.16_A6.js | 62 - .../15.8.2.16_sin/S15.8.2.16_A7.js | 175 -- .../15.8.2.17_sqrt/S15.8.2.17_A1.js | 33 - .../15.8.2.17_sqrt/S15.8.2.17_A2.js | 47 - .../15.8.2.17_sqrt/S15.8.2.17_A3.js | 33 - .../15.8.2.17_sqrt/S15.8.2.17_A4.js | 33 - .../15.8.2.17_sqrt/S15.8.2.17_A5.js | 33 - .../15.8.2.17_sqrt/S15.8.2.17_A6.js | 176 -- .../15.8.2.18_tan/S15.8.2.18_A1.js | 33 - .../15.8.2.18_tan/S15.8.2.18_A2.js | 33 - .../15.8.2.18_tan/S15.8.2.18_A3.js | 33 - .../15.8.2.18_tan/S15.8.2.18_A4.js | 33 - .../15.8.2.18_tan/S15.8.2.18_A5.js | 33 - .../15.8.2.18_tan/S15.8.2.18_A6.js | 62 - .../15.8.2.18_tan/S15.8.2.18_A7.js | 176 -- .../15.8.2.1_abs/S15.8.2.1_A1.js | 33 - .../15.8.2.1_abs/S15.8.2.1_A2.js | 33 - .../15.8.2.1_abs/S15.8.2.1_A3.js | 33 - .../15.8.2.2_acos/S15.8.2.2_A1.js | 33 - .../15.8.2.2_acos/S15.8.2.2_A2.js | 47 - .../15.8.2.2_acos/S15.8.2.2_A3.js | 47 - .../15.8.2.2_acos/S15.8.2.2_A4.js | 33 - .../15.8.2.2_acos/S15.8.2.2_A5.js | 179 -- .../15.8.2.3_asin/S15.8.2.3_A1.js | 33 - .../15.8.2.3_asin/S15.8.2.3_A2.js | 47 - .../15.8.2.3_asin/S15.8.2.3_A3.js | 47 - .../15.8.2.3_asin/S15.8.2.3_A4.js | 33 - .../15.8.2.3_asin/S15.8.2.3_A5.js | 33 - .../15.8.2.3_asin/S15.8.2.3_A6.js | 178 -- .../15.8.2.4_atan/S15.8.2.4_A1.js | 33 - .../15.8.2.4_atan/S15.8.2.4_A2.js | 33 - .../15.8.2.4_atan/S15.8.2.4_A3.js | 33 - .../15.8.2.4_atan/S15.8.2.4_A4.js | 37 - .../15.8.2.4_atan/S15.8.2.4_A5.js | 37 - .../15.8.2.4_atan/S15.8.2.4_A6.js | 178 -- .../15.8.2.5_atan2/S15.8.2.5_A1.js | 52 - .../15.8.2.5_atan2/S15.8.2.5_A10.js | 36 - .../15.8.2.5_atan2/S15.8.2.5_A11.js | 44 - .../15.8.2.5_atan2/S15.8.2.5_A12.js | 44 - .../15.8.2.5_atan2/S15.8.2.5_A13.js | 44 - .../15.8.2.5_atan2/S15.8.2.5_A14.js | 40 - .../15.8.2.5_atan2/S15.8.2.5_A15.js | 43 - .../15.8.2.5_atan2/S15.8.2.5_A16.js | 40 - .../15.8.2.5_atan2/S15.8.2.5_A17.js | 43 - .../15.8.2.5_atan2/S15.8.2.5_A18.js | 47 - .../15.8.2.5_atan2/S15.8.2.5_A19.js | 48 - .../15.8.2.5_atan2/S15.8.2.5_A2.js | 44 - .../15.8.2.5_atan2/S15.8.2.5_A20.js | 37 - .../15.8.2.5_atan2/S15.8.2.5_A21.js | 37 - .../15.8.2.5_atan2/S15.8.2.5_A22.js | 37 - .../15.8.2.5_atan2/S15.8.2.5_A23.js | 37 - .../15.8.2.5_atan2/S15.8.2.5_A24.js | 243 -- .../15.8.2.5_atan2/S15.8.2.5_A3.js | 44 - .../15.8.2.5_atan2/S15.8.2.5_A4.js | 40 - .../15.8.2.5_atan2/S15.8.2.5_A5.js | 32 - .../15.8.2.5_atan2/S15.8.2.5_A6.js | 36 - .../15.8.2.5_atan2/S15.8.2.5_A7.js | 44 - .../15.8.2.5_atan2/S15.8.2.5_A8.js | 40 - .../15.8.2.5_atan2/S15.8.2.5_A9.js | 32 - .../15.8.2.6_ceil/S15.8.2.6_A1.js | 33 - .../15.8.2.6_ceil/S15.8.2.6_A2.js | 33 - .../15.8.2.6_ceil/S15.8.2.6_A3.js | 33 - .../15.8.2.6_ceil/S15.8.2.6_A4.js | 33 - .../15.8.2.6_ceil/S15.8.2.6_A5.js | 33 - .../15.8.2.6_ceil/S15.8.2.6_A6.js | 47 - .../15.8.2.6_ceil/S15.8.2.6_A7.js | 36 - .../15.8.2.7_cos/S15.8.2.7_A1.js | 33 - .../15.8.2.7_cos/S15.8.2.7_A2.js | 33 - .../15.8.2.7_cos/S15.8.2.7_A3.js | 33 - .../15.8.2.7_cos/S15.8.2.7_A4.js | 33 - .../15.8.2.7_cos/S15.8.2.7_A5.js | 33 - .../15.8.2.7_cos/S15.8.2.7_A6.js | 62 - .../15.8.2.7_cos/S15.8.2.7_A7.js | 175 -- .../15.8.2.8_exp/S15.8.2.8_A1.js | 33 - .../15.8.2.8_exp/S15.8.2.8_A2.js | 33 - .../15.8.2.8_exp/S15.8.2.8_A3.js | 33 - .../15.8.2.8_exp/S15.8.2.8_A4.js | 33 - .../15.8.2.8_exp/S15.8.2.8_A5.js | 33 - .../15.8.2.8_exp/S15.8.2.8_A6.js | 177 -- .../15.8.2.9_floor/S15.8.2.9_A1.js | 33 - .../15.8.2.9_floor/S15.8.2.9_A2.js | 33 - .../15.8.2.9_floor/S15.8.2.9_A3.js | 33 - .../15.8.2.9_floor/S15.8.2.9_A4.js | 33 - .../15.8.2.9_floor/S15.8.2.9_A5.js | 33 - .../15.8.2.9_floor/S15.8.2.9_A6.js | 47 - .../15.8.2.9_floor/S15.8.2.9_A7.js | 36 - .../S15.9.2.1_A1.js | 97 - .../S15.9.2.1_A2.js | 108 - .../S15.9.3.1_A1_T1.js | 243 -- .../S15.9.3.1_A1_T2.js | 243 -- .../S15.9.3.1_A1_T3.js | 243 -- .../S15.9.3.1_A1_T4.js | 243 -- .../S15.9.3.1_A1_T5.js | 243 -- .../S15.9.3.1_A1_T6.js | 243 -- .../S15.9.3.1_A2_T1.js | 208 -- .../S15.9.3.1_A2_T2.js | 208 -- .../S15.9.3.1_A2_T3.js | 208 -- .../S15.9.3.1_A2_T4.js | 208 -- .../S15.9.3.1_A2_T5.js | 208 -- .../S15.9.3.1_A2_T6.js | 208 -- .../S15.9.3.1_A3_T1.1.js | 87 - .../S15.9.3.1_A3_T1.2.js | 90 - .../S15.9.3.1_A3_T2.1.js | 87 - .../S15.9.3.1_A3_T2.2.js | 90 - .../S15.9.3.1_A3_T3.1.js | 87 - .../S15.9.3.1_A3_T3.2.js | 89 - .../S15.9.3.1_A3_T4.1.js | 87 - .../S15.9.3.1_A3_T4.2.js | 89 - .../S15.9.3.1_A3_T5.1.js | 87 - .../S15.9.3.1_A3_T5.2.js | 89 - .../S15.9.3.1_A3_T6.1.js | 87 - .../S15.9.3.1_A3_T6.2.js | 89 - .../S15.9.3.1_A4_T1.js | 62 - .../S15.9.3.1_A4_T2.js | 73 - .../S15.9.3.1_A4_T3.js | 84 - .../S15.9.3.1_A4_T4.js | 95 - .../S15.9.3.1_A4_T5.js | 106 - .../S15.9.3.1_A4_T6.js | 117 - .../S15.9.3.1_A5_T1.js | 87 - .../S15.9.3.1_A5_T2.js | 87 - .../S15.9.3.1_A5_T3.js | 87 - .../S15.9.3.1_A5_T4.js | 87 - .../S15.9.3.1_A5_T5.js | 87 - .../S15.9.3.1_A5_T6.js | 87 - .../S15.9.3.1_A6_T1.js | 79 - .../S15.9.3.1_A6_T2.js | 79 - .../S15.9.3.1_A6_T3.js | 79 - .../S15.9.3.1_A6_T4.js | 79 - .../S15.9.3.1_A6_T5.js | 79 - .../S15.9.3.2_A1_T1.js | 173 -- .../S15.9.3.2_A2_T1.js | 150 - .../S15.9.3.2_A3_T1.1.js | 69 - .../S15.9.3.2_A3_T1.2.js | 71 - .../S15.9.4.1_A1_T1.js | 33 - .../S15.9.4.1_A1_T2.js | 35 - .../S15.9.4.1_A1_T3.js | 37 - .../15.9.4.2_Date.parse/S15.9.4.2_A1_T1.js | 36 - .../15.9.4.2_Date.parse/S15.9.4.2_A1_T2.js | 35 - .../15.9.4.2_Date.parse/S15.9.4.2_A1_T3.js | 37 - .../15.9.4.2_Date.parse/S15.9.4.2_A2_T1.js | 35 - .../15.9.4.2_Date.parse/S15.9.4.2_A3_T1.js | 33 - .../15.9.4.2_Date.parse/S15.9.4.2_A3_T2.js | 35 - .../15.9.4.2_Date.parse/S15.9.4.2_A3_T3.js | 37 - .../15.9.4.3_Date.UTC/S15.9.4.3_A1_T1.js | 36 - .../15.9.4.3_Date.UTC/S15.9.4.3_A1_T2.js | 35 - .../15.9.4.3_Date.UTC/S15.9.4.3_A1_T3.js | 37 - .../15.9.4.3_Date.UTC/S15.9.4.3_A2_T1.js | 35 - .../15.9.4.3_Date.UTC/S15.9.4.3_A3_T1.js | 33 - .../15.9.4.3_Date.UTC/S15.9.4.3_A3_T2.js | 35 - .../15.9.4.3_Date.UTC/S15.9.4.3_A3_T3.js | 37 - .../S15.9.4_A1.js | 31 - .../S15.9.4_A2.js | 31 - .../S15.9.4_A3.js | 31 - .../S15.9.4_A4.js | 32 - .../S15.9.4_A5.js | 36 - .../S15.9.5.10_A1_T1.js | 36 - .../S15.9.5.10_A1_T2.js | 35 - .../S15.9.5.10_A1_T3.js | 37 - .../S15.9.5.10_A2_T1.js | 35 - .../S15.9.5.10_A3_T1.js | 33 - .../S15.9.5.10_A3_T2.js | 35 - .../S15.9.5.10_A3_T3.js | 37 - .../S15.9.5.11_A1_T1.js | 36 - .../S15.9.5.11_A1_T2.js | 35 - .../S15.9.5.11_A1_T3.js | 37 - .../S15.9.5.11_A2_T1.js | 35 - .../S15.9.5.11_A3_T1.js | 33 - .../S15.9.5.11_A3_T2.js | 35 - .../S15.9.5.11_A3_T3.js | 37 - .../S15.9.5.12_A1_T1.js | 36 - .../S15.9.5.12_A1_T2.js | 35 - .../S15.9.5.12_A1_T3.js | 37 - .../S15.9.5.12_A2_T1.js | 35 - .../S15.9.5.12_A3_T1.js | 33 - .../S15.9.5.12_A3_T2.js | 35 - .../S15.9.5.12_A3_T3.js | 37 - .../S15.9.5.13_A1_T1.js | 36 - .../S15.9.5.13_A1_T2.js | 35 - .../S15.9.5.13_A1_T3.js | 37 - .../S15.9.5.13_A2_T1.js | 35 - .../S15.9.5.13_A3_T1.js | 33 - .../S15.9.5.13_A3_T2.js | 35 - .../S15.9.5.13_A3_T3.js | 37 - .../S15.9.5.14_A1_T1.js | 36 - .../S15.9.5.14_A1_T2.js | 35 - .../S15.9.5.14_A1_T3.js | 37 - .../S15.9.5.14_A2_T1.js | 35 - .../S15.9.5.14_A3_T1.js | 33 - .../S15.9.5.14_A3_T2.js | 35 - .../S15.9.5.14_A3_T3.js | 37 - .../S15.9.5.15_A1_T1.js | 36 - .../S15.9.5.15_A1_T2.js | 35 - .../S15.9.5.15_A1_T3.js | 37 - .../S15.9.5.15_A2_T1.js | 35 - .../S15.9.5.15_A3_T1.js | 33 - .../S15.9.5.15_A3_T2.js | 35 - .../S15.9.5.15_A3_T3.js | 37 - .../S15.9.5.16_A1_T1.js | 36 - .../S15.9.5.16_A1_T2.js | 35 - .../S15.9.5.16_A1_T3.js | 37 - .../S15.9.5.16_A2_T1.js | 35 - .../S15.9.5.16_A3_T1.js | 33 - .../S15.9.5.16_A3_T2.js | 35 - .../S15.9.5.16_A3_T3.js | 37 - .../S15.9.5.17_A1_T1.js | 36 - .../S15.9.5.17_A1_T2.js | 35 - .../S15.9.5.17_A1_T3.js | 37 - .../S15.9.5.17_A2_T1.js | 35 - .../S15.9.5.17_A3_T1.js | 33 - .../S15.9.5.17_A3_T2.js | 35 - .../S15.9.5.17_A3_T3.js | 37 - .../S15.9.5.18_A1_T1.js | 36 - .../S15.9.5.18_A1_T2.js | 35 - .../S15.9.5.18_A1_T3.js | 37 - .../S15.9.5.18_A2_T1.js | 35 - .../S15.9.5.18_A3_T1.js | 33 - .../S15.9.5.18_A3_T2.js | 35 - .../S15.9.5.18_A3_T3.js | 37 - .../S15.9.5.19_A1_T1.js | 36 - .../S15.9.5.19_A1_T2.js | 35 - .../S15.9.5.19_A1_T3.js | 37 - .../S15.9.5.19_A2_T1.js | 35 - .../S15.9.5.19_A3_T1.js | 33 - .../S15.9.5.19_A3_T2.js | 35 - .../S15.9.5.19_A3_T3.js | 37 - .../S15.9.5.1_A1_T1.js | 36 - .../S15.9.5.1_A1_T2.js | 35 - .../S15.9.5.1_A1_T3.js | 37 - .../S15.9.5.1_A2_T1.js | 35 - .../S15.9.5.1_A3_T1.js | 33 - .../S15.9.5.1_A3_T2.js | 35 - .../S15.9.5.1_A3_T3.js | 37 - .../S15.9.5.20_A1_T1.js | 36 - .../S15.9.5.20_A1_T2.js | 35 - .../S15.9.5.20_A1_T3.js | 37 - .../S15.9.5.20_A2_T1.js | 35 - .../S15.9.5.20_A3_T1.js | 33 - .../S15.9.5.20_A3_T2.js | 35 - .../S15.9.5.20_A3_T3.js | 37 - .../S15.9.5.21_A1_T1.js | 36 - .../S15.9.5.21_A1_T2.js | 35 - .../S15.9.5.21_A1_T3.js | 37 - .../S15.9.5.21_A2_T1.js | 35 - .../S15.9.5.21_A3_T1.js | 33 - .../S15.9.5.21_A3_T2.js | 35 - .../S15.9.5.21_A3_T3.js | 37 - .../S15.9.5.22_A1_T1.js | 36 - .../S15.9.5.22_A1_T2.js | 35 - .../S15.9.5.22_A1_T3.js | 37 - .../S15.9.5.22_A2_T1.js | 35 - .../S15.9.5.22_A3_T1.js | 33 - .../S15.9.5.22_A3_T2.js | 35 - .../S15.9.5.22_A3_T3.js | 37 - .../S15.9.5.23_A1_T1.js | 36 - .../S15.9.5.23_A1_T2.js | 35 - .../S15.9.5.23_A1_T3.js | 37 - .../S15.9.5.23_A2_T1.js | 35 - .../S15.9.5.23_A3_T1.js | 33 - .../S15.9.5.23_A3_T2.js | 35 - .../S15.9.5.23_A3_T3.js | 37 - .../S15.9.5.24_A1_T1.js | 36 - .../S15.9.5.24_A1_T2.js | 35 - .../S15.9.5.24_A1_T3.js | 37 - .../S15.9.5.24_A2_T1.js | 35 - .../S15.9.5.24_A3_T1.js | 33 - .../S15.9.5.24_A3_T2.js | 35 - .../S15.9.5.24_A3_T3.js | 37 - .../S15.9.5.25_A1_T1.js | 36 - .../S15.9.5.25_A1_T2.js | 35 - .../S15.9.5.25_A1_T3.js | 37 - .../S15.9.5.25_A2_T1.js | 35 - .../S15.9.5.25_A3_T1.js | 33 - .../S15.9.5.25_A3_T2.js | 35 - .../S15.9.5.25_A3_T3.js | 37 - .../S15.9.5.26_A1_T1.js | 36 - .../S15.9.5.26_A1_T2.js | 35 - .../S15.9.5.26_A1_T3.js | 37 - .../S15.9.5.26_A2_T1.js | 35 - .../S15.9.5.26_A3_T1.js | 33 - .../S15.9.5.26_A3_T2.js | 35 - .../S15.9.5.26_A3_T3.js | 37 - .../S15.9.5.27_A1_T1.js | 36 - .../S15.9.5.27_A1_T2.js | 35 - .../S15.9.5.27_A1_T3.js | 37 - .../S15.9.5.27_A2_T1.js | 35 - .../S15.9.5.27_A3_T1.js | 33 - .../S15.9.5.27_A3_T2.js | 35 - .../S15.9.5.27_A3_T3.js | 37 - .../S15.9.5.28_A1_T1.js | 36 - .../S15.9.5.28_A1_T2.js | 35 - .../S15.9.5.28_A1_T3.js | 37 - .../S15.9.5.28_A2_T1.js | 35 - .../S15.9.5.28_A3_T1.js | 33 - .../S15.9.5.28_A3_T2.js | 35 - .../S15.9.5.28_A3_T3.js | 37 - .../S15.9.5.29_A1_T1.js | 36 - .../S15.9.5.29_A1_T2.js | 35 - .../S15.9.5.29_A1_T3.js | 37 - .../S15.9.5.29_A2_T1.js | 35 - .../S15.9.5.29_A3_T1.js | 33 - .../S15.9.5.29_A3_T2.js | 35 - .../S15.9.5.29_A3_T3.js | 37 - .../S15.9.5.2_A1_T1.js | 36 - .../S15.9.5.2_A1_T2.js | 35 - .../S15.9.5.2_A1_T3.js | 37 - .../S15.9.5.2_A2_T1.js | 35 - .../S15.9.5.2_A3_T1.js | 33 - .../S15.9.5.2_A3_T2.js | 35 - .../S15.9.5.2_A3_T3.js | 37 - .../S15.9.5.30_A1_T1.js | 36 - .../S15.9.5.30_A1_T2.js | 35 - .../S15.9.5.30_A1_T3.js | 37 - .../S15.9.5.30_A2_T1.js | 35 - .../S15.9.5.30_A3_T1.js | 33 - .../S15.9.5.30_A3_T2.js | 35 - .../S15.9.5.30_A3_T3.js | 37 - .../S15.9.5.31_A1_T1.js | 36 - .../S15.9.5.31_A1_T2.js | 35 - .../S15.9.5.31_A1_T3.js | 37 - .../S15.9.5.31_A2_T1.js | 35 - .../S15.9.5.31_A3_T1.js | 33 - .../S15.9.5.31_A3_T2.js | 35 - .../S15.9.5.31_A3_T3.js | 37 - .../S15.9.5.32_A1_T1.js | 36 - .../S15.9.5.32_A1_T2.js | 35 - .../S15.9.5.32_A1_T3.js | 37 - .../S15.9.5.32_A2_T1.js | 35 - .../S15.9.5.32_A3_T1.js | 33 - .../S15.9.5.32_A3_T2.js | 35 - .../S15.9.5.32_A3_T3.js | 37 - .../S15.9.5.33_A1_T1.js | 36 - .../S15.9.5.33_A1_T2.js | 35 - .../S15.9.5.33_A1_T3.js | 37 - .../S15.9.5.33_A2_T1.js | 35 - .../S15.9.5.33_A3_T1.js | 33 - .../S15.9.5.33_A3_T2.js | 35 - .../S15.9.5.33_A3_T3.js | 37 - .../S15.9.5.34_A1_T1.js | 36 - .../S15.9.5.34_A1_T2.js | 35 - .../S15.9.5.34_A1_T3.js | 37 - .../S15.9.5.34_A2_T1.js | 35 - .../S15.9.5.34_A3_T1.js | 33 - .../S15.9.5.34_A3_T2.js | 35 - .../S15.9.5.34_A3_T3.js | 37 - .../S15.9.5.35_A1_T1.js | 36 - .../S15.9.5.35_A1_T2.js | 35 - .../S15.9.5.35_A1_T3.js | 37 - .../S15.9.5.35_A2_T1.js | 35 - .../S15.9.5.35_A3_T1.js | 33 - .../S15.9.5.35_A3_T2.js | 35 - .../S15.9.5.35_A3_T3.js | 37 - .../S15.9.5.36_A1_T1.js | 36 - .../S15.9.5.36_A1_T2.js | 35 - .../S15.9.5.36_A1_T3.js | 37 - .../S15.9.5.36_A2_T1.js | 35 - .../S15.9.5.36_A3_T1.js | 33 - .../S15.9.5.36_A3_T2.js | 35 - .../S15.9.5.36_A3_T3.js | 37 - .../S15.9.5.37_A1_T1.js | 36 - .../S15.9.5.37_A1_T2.js | 35 - .../S15.9.5.37_A1_T3.js | 37 - .../S15.9.5.37_A2_T1.js | 35 - .../S15.9.5.37_A3_T1.js | 33 - .../S15.9.5.37_A3_T2.js | 35 - .../S15.9.5.37_A3_T3.js | 37 - .../S15.9.5.38_A1_T1.js | 36 - .../S15.9.5.38_A1_T2.js | 35 - .../S15.9.5.38_A1_T3.js | 37 - .../S15.9.5.38_A2_T1.js | 35 - .../S15.9.5.38_A3_T1.js | 33 - .../S15.9.5.38_A3_T2.js | 35 - .../S15.9.5.38_A3_T3.js | 37 - .../S15.9.5.39_A1_T1.js | 36 - .../S15.9.5.39_A1_T2.js | 35 - .../S15.9.5.39_A1_T3.js | 37 - .../S15.9.5.39_A2_T1.js | 35 - .../S15.9.5.39_A3_T1.js | 33 - .../S15.9.5.39_A3_T2.js | 35 - .../S15.9.5.39_A3_T3.js | 37 - .../S15.9.5.3_A1_T1.js | 36 - .../S15.9.5.3_A1_T2.js | 35 - .../S15.9.5.3_A1_T3.js | 37 - .../S15.9.5.3_A2_T1.js | 35 - .../S15.9.5.3_A3_T1.js | 33 - .../S15.9.5.3_A3_T2.js | 35 - .../S15.9.5.3_A3_T3.js | 37 - .../S15.9.5.40_A1_T1.js | 36 - .../S15.9.5.40_A1_T2.js | 35 - .../S15.9.5.40_A1_T3.js | 37 - .../S15.9.5.40_A2_T1.js | 35 - .../S15.9.5.40_A3_T1.js | 33 - .../S15.9.5.40_A3_T2.js | 35 - .../S15.9.5.40_A3_T3.js | 37 - .../S15.9.5.41_A1_T1.js | 36 - .../S15.9.5.41_A1_T2.js | 35 - .../S15.9.5.41_A1_T3.js | 37 - .../S15.9.5.41_A2_T1.js | 35 - .../S15.9.5.41_A3_T1.js | 33 - .../S15.9.5.41_A3_T2.js | 35 - .../S15.9.5.41_A3_T3.js | 37 - .../S15.9.5.42_A1_T1.js | 36 - .../S15.9.5.42_A1_T2.js | 35 - .../S15.9.5.42_A1_T3.js | 37 - .../S15.9.5.42_A2_T1.js | 35 - .../S15.9.5.42_A3_T1.js | 33 - .../S15.9.5.42_A3_T2.js | 35 - .../S15.9.5.42_A3_T3.js | 37 - .../S15.9.5.4_A1_T1.js | 36 - .../S15.9.5.4_A1_T2.js | 35 - .../S15.9.5.4_A1_T3.js | 37 - .../S15.9.5.4_A2_T1.js | 35 - .../S15.9.5.4_A3_T1.js | 33 - .../S15.9.5.4_A3_T2.js | 35 - .../S15.9.5.4_A3_T3.js | 37 - .../S15.9.5.5_A1_T1.js | 36 - .../S15.9.5.5_A1_T2.js | 35 - .../S15.9.5.5_A1_T3.js | 37 - .../S15.9.5.5_A2_T1.js | 35 - .../S15.9.5.5_A3_T1.js | 33 - .../S15.9.5.5_A3_T2.js | 35 - .../S15.9.5.5_A3_T3.js | 37 - .../S15.9.5.6_A1_T1.js | 36 - .../S15.9.5.6_A1_T2.js | 35 - .../S15.9.5.6_A1_T3.js | 37 - .../S15.9.5.6_A2_T1.js | 35 - .../S15.9.5.6_A3_T1.js | 33 - .../S15.9.5.6_A3_T2.js | 35 - .../S15.9.5.6_A3_T3.js | 37 - .../S15.9.5.7_A1_T1.js | 36 - .../S15.9.5.7_A1_T2.js | 35 - .../S15.9.5.7_A1_T3.js | 37 - .../S15.9.5.7_A2_T1.js | 35 - .../S15.9.5.7_A3_T1.js | 33 - .../S15.9.5.7_A3_T2.js | 35 - .../S15.9.5.7_A3_T3.js | 37 - .../S15.9.5.8_A1_T1.js | 36 - .../S15.9.5.8_A1_T2.js | 35 - .../S15.9.5.8_A1_T3.js | 37 - .../S15.9.5.8_A2_T1.js | 35 - .../S15.9.5.8_A3_T1.js | 33 - .../S15.9.5.8_A3_T2.js | 35 - .../S15.9.5.8_A3_T3.js | 37 - .../S15.9.5.9_A1_T1.js | 36 - .../S15.9.5.9_A1_T2.js | 35 - .../S15.9.5.9_A1_T3.js | 37 - .../S15.9.5.9_A2_T1.js | 35 - .../S15.9.5.9_A3_T1.js | 33 - .../S15.9.5.9_A3_T2.js | 35 - .../S15.9.5.9_A3_T3.js | 37 - .../S15.9.5_A01_T1.js | 31 - .../S15.9.5_A02_T1.js | 31 - .../S15.9.5_A03_T1.js | 31 - .../S15.9.5_A04_T1.js | 31 - .../S15.9.5_A05_T1.js | 31 - .../S15.9.5_A06_T1.js | 31 - .../S15.9.5_A07_T1.js | 31 - .../S15.9.5_A08_T1.js | 31 - .../S15.9.5_A09_T1.js | 31 - .../S15.9.5_A10_T1.js | 31 - .../S15.9.5_A11_T1.js | 31 - .../S15.9.5_A12_T1.js | 31 - .../S15.9.5_A13_T1.js | 31 - .../S15.9.5_A14_T1.js | 31 - .../S15.9.5_A15_T1.js | 31 - .../S15.9.5_A16_T1.js | 31 - .../S15.9.5_A17_T1.js | 31 - .../S15.9.5_A18_T1.js | 31 - .../S15.9.5_A19_T1.js | 31 - .../S15.9.5_A20_T1.js | 31 - .../S15.9.5_A21_T1.js | 31 - .../S15.9.5_A22_T1.js | 31 - .../S15.9.5_A23_T1.js | 31 - .../S15.9.5_A24_T1.js | 31 - .../S15.9.5_A25_T1.js | 31 - .../S15.9.5_A26_T1.js | 31 - .../S15.9.5_A27_T1.js | 31 - .../S15.9.5_A28_T1.js | 31 - .../S15.9.5_A29_T1.js | 31 - .../S15.9.5_A30_T1.js | 31 - .../S15.9.5_A31_T1.js | 31 - .../S15.9.5_A32_T1.js | 31 - .../S15.9.5_A33_T1.js | 31 - .../S15.9.5_A34_T1.js | 31 - .../S15.9.5_A35_T1.js | 31 - .../S15.9.5_A36_T1.js | 31 - .../S15.9.5_A37_T1.js | 31 - .../S15.9.5_A38_T1.js | 31 - .../S15.9.5_A39_T1.js | 31 - .../S15.9.5_A40_T1.js | 31 - .../S15.9.5_A41_T1.js | 31 - .../S15.9.5_A42_T1.js | 31 - 5296 files changed, 300505 deletions(-) delete mode 100644 test/suite/SputnikGlobalScope.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15ns.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18ns.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21ns.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22ns.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23ns.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24ns.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26ns.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.js delete mode 100644 test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A4.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A5.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A10.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A11.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A12.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A4.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A5.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A6.1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A6.2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.4.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A8.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A10.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A11_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A11_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A12.1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A12.2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A14_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A14_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A4.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A5.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A6.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A7.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A8.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A9.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A2_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A2_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A3_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A3_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A4_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A4.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A6.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A7.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T1.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T2.js delete mode 100644 test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A1.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A2.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A3.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A4.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A5.js delete mode 100644 test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A6.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.js delete mode 100644 test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A14.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A15.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A17.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A8.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A10.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A11.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A9.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.3_Empty_Statement/S12.3_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A11.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A8.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A8_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A8_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T1.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T10.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T5.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T6.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T7.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T8.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T9.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A2.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A3.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A4.js delete mode 100644 test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A5.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A10.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T4.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A12_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A12_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A14.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T4.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T5.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A16.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A17_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A17_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A18.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A19_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A19_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T4.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A5.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A6_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A6_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A8_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A8_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A9.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5.js delete mode 100644 test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A1.js delete mode 100644 test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A2.js delete mode 100644 test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A3.js delete mode 100644 test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A5_T1.js delete mode 100644 test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T22.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T23.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T24.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T25.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T26.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T27.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T28.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T29.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T30.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T31.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T32.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T33.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T34.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T35.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T36.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T37.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T38.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T39.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T40.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T41.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T22.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T23.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T24.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T25.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T26.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T27.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T28.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T29.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T30.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T31.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T32.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T33.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/S15.10.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.12_The_JSON_Object/15.12.2_JSON.parse/S15.12.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.10_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.7_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.10_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.7_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.2_Object_Objects/S15.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A6_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1.1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T22.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T23.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T24.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T25.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T26.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T27.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T28.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T29.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T30.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T31.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T32.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T33.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T34.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T35.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T36.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T37.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T38.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T39.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T40.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T41.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T42.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T43.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T22.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T23.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T24.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T25.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.1_Number.prototype.constructor/S15.7.4.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T02.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T03.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T02.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T03.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T04.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T05.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T06.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T07.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T08.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T09.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T22.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T23.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T24.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T25.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T26.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T27.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T28.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T29.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T30.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T31.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T32.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T33.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T34.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T02.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T03.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T04.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T02.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T03.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T04.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T05.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T02.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T02.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T03.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T04.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T05.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T02.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T02.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.4_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A2_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T01.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T02.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T03.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T04.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T06.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T07.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A22.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A24.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.14_random/S15.8.2.14_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A10.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A11.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A12.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A13.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A14.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A15.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A16.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A17.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A18.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A19.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A20.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A21.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A22.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A23.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A24.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A8.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A9.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A7.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T6.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A4.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A5.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A2_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T2.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T3.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A01_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A02_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A03_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A04_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A05_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A06_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A07_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A08_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A09_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A10_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A11_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A12_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A13_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A14_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A15_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A17_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A18_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A19_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A20_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A21_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A22_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A23_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A24_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A25_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A26_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A27_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A28_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A29_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A30_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A31_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A32_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A33_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A34_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A35_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A36_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A37_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A38_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A39_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A40_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A41_T1.js delete mode 100644 test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A42_T1.js diff --git a/test/suite/SputnikGlobalScope.js b/test/suite/SputnikGlobalScope.js deleted file mode 100644 index de454fb1b2..0000000000 --- a/test/suite/SputnikGlobalScope.js +++ /dev/null @@ -1,366 +0,0 @@ -this.GlobalScopeTests = this.GlobalScopeTests || {}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.js"]={"assertion":"White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Use TAB (U+0009)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.js"]={"assertion":"White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Use VERTICAL TAB (U+000B)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.js"]={"assertion":"White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Use FORM FEED (U+000C)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.js"]={"assertion":"White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Use SPACE (U+0020)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.js"]={"assertion":"White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Use NO-BREAK SPACE (U+00A0)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.js"]={"assertion":"LINE FEED (U+000A) within strings is not allowed","description":"Insert LINE FEED (\\u000A) into string","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.js"]={"assertion":"LINE FEED (U+000A) within strings is not allowed","description":"Use real LINE FEED into string","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.js"]={"assertion":"CARRIAGE RETURN (U+000D) within strings is not allowed","description":"Insert CARRIAGE RETURN (\\u000D) into string","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.js"]={"assertion":"CARRIAGE RETURN (U+000D) within strings is not allowed","description":"Insert real CARRIAGE RETURN into string","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.js"]={"assertion":"LINE SEPARATOR (U+2028) within strings is not allowed","description":"Insert LINE SEPARATOR (\\u2028) into string","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.js"]={"assertion":"PARAGRAPH SEPARATOR (U+2029) within strings is not allowed","description":"Insert PARAGRAPH SEPARATOR (\\u2029) into string","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.js"]={"assertion":"Single line comments can not contain LINE FEED (U+000A) inside","description":"Insert LINE FEED (\\u000A) into single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.js"]={"assertion":"Single line comments can not contain LINE FEED (U+000A) inside","description":"Insert LINE FEED (\\u000A) into begin of single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.js"]={"assertion":"Single line comments can not contain LINE FEED (U+000A) inside","description":"Insert real LINE FEED into single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.js"]={"assertion":"Single line comments can not contain CARRIAGE RETURN (U+000D) inside","description":"Insert CARRIAGE RETURN (\\u000D) into single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.js"]={"assertion":"Single line comments can not contain CARRIAGE RETURN (U+000D) inside","description":"Insert CARRIAGE RETURN (\\u000D) into begin of single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.js"]={"assertion":"Single line comments can not contain CARRIAGE RETURN (U+000D) inside","description":"Insert real CARRIAGE RETURN into single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.js"]={"assertion":"Single line comments can not contain LINE SEPARATOR (U+2028) inside","description":"Insert LINE SEPARATOR (\\u2028) into single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.js"]={"assertion":"Single line comments can not contain LINE SEPARATOR (U+2028) inside","description":"Insert LINE SEPARATOR (\\u2028) into begin of single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.js"]={"assertion":"Single line comments can not contain PARAGRAPH SEPARATOR (U+2029) inside","description":"Insert PARAGRAPH SEPARATOR (\\u2029) into single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.js"]={"assertion":"Single line comments can not contain PARAGRAPH SEPARATOR (U+2029) inside","description":"Insert PARAGRAPH SEPARATOR (\\u2029) into begin of single line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.js"]={"assertion":"Line Terminator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Insert LINE FEED (U+000A) in var x","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.js"]={"assertion":"Line Terminator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Insert CARRIAGE RETURN (U+000D) in var x","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.js"]={"assertion":"Line Terminator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Insert LINE SEPARATOR (U+2028) in var x","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.js"]={"assertion":"Line Terminator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Insert PARAGRAPH SEPARATOR (U+2029) in var x","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2.js"]={"assertion":"Correct interpretation of multi line comments","description":"Try use \/*CHECK#1\/. This is not closed multi line comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A3.js"]={"assertion":"Multi line comments cannot nest","description":"Try use nested comments","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.js"]={"assertion":"Single and Multi line comments are used together","description":"Try use 2 close comment tags","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.js"]={"assertion":"Single and Multi line comments are used together","description":"Try to open Multi line comment at the end of Single comment","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.js"]={"assertion":"The \"null\" token can not be used as identifier","description":"Checking if execution of \"null = 1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.js"]={"assertion":"The \"true\" token can not be used as identifier","description":"Checking if execution of \"true=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.js"]={"assertion":"The \"false\" token can not be used as identifier","description":"Checking if execution of \"false=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.js"]={"assertion":"The \"break\" token can not be used as identifier","description":"Checking if execution of \"break=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.js"]={"assertion":"The \"for\" token can not be used as identifier","description":"Checking if execution of \"for=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.js"]={"assertion":"The \"function\" token can not be used as identifier","description":"Checking if execution of \"function=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.js"]={"assertion":"The \"if\" token can not be used as identifier","description":"Checking if execution of \"if=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.js"]={"assertion":"The \"in\" token can not be used as identifier","description":"Checking if execution of \"in=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.js"]={"assertion":"The \"instanceof\" token can not be used as identifier","description":"Checking if execution of \"instanceof=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.js"]={"assertion":"The \"new\" token can not be used as identifier","description":"Checking if execution of \"new=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.js"]={"assertion":"The \"return\" token can not be used as identifier","description":"Checking if execution of \"return=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.js"]={"assertion":"The \"switch\" token can not be used as identifier","description":"Checking if execution of \"switch=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.js"]={"assertion":"The \"this\" token can not be used as identifier","description":"Checking if execution of \"this=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.js"]={"assertion":"The \"throw\" token can not be used as identifier","description":"Checking if execution of \"throw=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.js"]={"assertion":"The \"case\" token can not be used as identifier","description":"Checking if execution of \"case=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.js"]={"assertion":"The \"try\" token can not be used as identifier","description":"Checking if execution of \"try=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.js"]={"assertion":"The \"typeof\" token can not be used as identifier","description":"Checking if execution of \"typeof=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.js"]={"assertion":"The \"var\" token can not be used as identifier","description":"Checking if execution of \"var=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.js"]={"assertion":"The \"void\" token can not be used as identifier","description":"Checking if execution of \"void=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.js"]={"assertion":"The \"while\" token can not be used as identifier","description":"Checking if execution of \"while=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.js"]={"assertion":"The \"with\" token can not be used as identifier","description":"Checking if execution of \"with=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.js"]={"assertion":"The \"catch\" token can not be used as identifier","description":"Checking if execution of \"catch=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.js"]={"assertion":"The \"continue\" token can not be used as identifier","description":"Checking if execution of \"contunue=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.js"]={"assertion":"The \"default\" token can not be used as identifier","description":"Checking if execution of \"default=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.js"]={"assertion":"The \"delete\" token can not be used as identifier","description":"Checking if execution of \"delete=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.js"]={"assertion":"The \"do\" token can not be used as identifier","description":"Checking if execution of \"do=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.js"]={"assertion":"The \"else\" token can not be used as identifier","description":"Checking if execution of \"else=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.js"]={"assertion":"The \"finally\" token can not be used as identifier","description":"Checking if execution of \"finally=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.js"]={"assertion":"The \"export\" token can not be used as identifier","description":"Checking if execution of \"export=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js"]={"assertion":"The \"extends\" token can not be used as identifier","description":"Checking if execution of \"extends=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.js"]={"assertion":"The \"implements\" token can not be used as identifier in strict code","description":"Checking if execution of \"implements=1\" fails in strict code","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.js"]={"assertion":"The \"import\" token can not be used as identifier","description":"Checking if execution of \"import=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js"]={"assertion":"The \"interface\" token can not be used as identifier in strict code","description":"Checking if execution of \"interface = 1\" fails in","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.js"]={"assertion":"The \"package\" token can not be used as identifier in strict code","description":"Checking if execution of \"package=1\" fails in strict code","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.js"]={"assertion":"The \"private\" token can not be used as identifier in strict code","description":"Checking if execution of \"private=1\" fails in strict code","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.js"]={"assertion":"The \"protected\" token can not be used as identifier in strict code","description":"Checking if execution of \"protected=1\" fails in","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.js"]={"assertion":"The \"public\" token can not be used as identifier in strict code","description":"Checking if execution of \"public=1\" fails in strict code","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.js"]={"assertion":"The \"static\" token can not be used as identifier in strict code","description":"Checking if execution of \"static=1\" fails in strict code","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.js"]={"assertion":"The \"super\" token can not be used as identifier","description":"Checking if execution of \"super=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.js"]={"assertion":"The \"class\" token can not be used as identifier","description":"Checking if execution of \"class=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.js"]={"assertion":"The \"const\" token can not be used as identifier","description":"Checking if execution of \"const=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.js"]={"assertion":"The \"debugger\" token can not be used as identifier","description":"Checking if execution of \"debugger=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.js"]={"assertion":"The \"enum\" token can not be used as identifier","description":"Checking if execution of \"enum=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use {} as a Unicode \\u007B\\u007D","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use \/ as a Unicode \\u002F","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use () as Unicode \\u00281\\u0029","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use [] as a Unicode \\u005B\\u005D","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use ; as a Unicode \\u003B","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use . as a Unicode \\u002E","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use , as a Unicode \\u002C","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use + as a Unicode \\u002B","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use - as a Unicode \\u002D","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.js"]={"assertion":"Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \\u plus four hexadecimal digits","description":"Try to use * as a Unicode \\u002A","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.js"]={"assertion":"DecimalLiteral :: ExponentPart is incorrect","description":"ExponentPart :: e DecimalDigits","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.js"]={"assertion":"DecimalLiteral :: ExponentPart is incorrect","description":"ExponentPart :: E DecimalDigits","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.js"]={"assertion":"DecimalLiteral :: ExponentPart is incorrect","description":"ExponentPart :: e DecimalDigits","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.js"]={"assertion":"DecimalLiteral :: ExponentPart is incorrect","description":"ExponentPart :: E DecimalDigits","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.js"]={"assertion":"DecimalLiteral :: ExponentPart is incorrect","description":"ExponentPart :: e DecimalDigits","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.js"]={"assertion":"DecimalLiteral :: ExponentPart is incorrect","description":"ExponentPart :: E DecimalDigits","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.js"]={"assertion":"DecimalLiteral :: ExponentPart is incorrect","description":"ExponentPart :: e 0","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.js"]={"assertion":"DecimalLiteral :: ExponentPart is incorrect","description":"ExponentPart :: E 0","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.js"]={"assertion":"HexIntegerLiteral :: 0(x\/X) is incorrect","description":"Checking if execution of \"0x\" passes","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.js"]={"assertion":"HexIntegerLiteral :: 0(x\/X) is incorrect","description":"Checking if execution of \"0X\" passes","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.js"]={"assertion":"0xG is incorrect","description":"Checking if execution of \"0xG\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.js"]={"assertion":"0xG is incorrect","description":"Checking if execution of \"0xg\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.js"]={"assertion":"StringLiteral :: \"DoubleStringCharacters_opt\"","description":"DoubleStringCharacter :: SourceCharacter but not double-quote \" or LineTerminator","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.js"]={"assertion":"StringLiteral :: \"DoubleStringCharacters_opt\"","description":"DoubleStringCharacter :: SourceCharacter but not double-quote \" or LineTerminator","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.js"]={"assertion":"StringLiteral :: 'SingleStringCharacters_opt'","description":"SingleStringCharacter :: SourceCharacter but not single-quote ' or LineTerminator","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.js"]={"assertion":"StringLiteral :: 'SingleStringCharacters_opt'","description":"SingleStringCharacter :: SourceCharacter but not single-quote ' or LineTerminator","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.js"]={"assertion":"StringLiteral :: \"\\\" or '\\' is not correct","description":"Checking if execution of \"\\\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.js"]={"assertion":"StringLiteral :: \"\\\" or '\\' is not correct","description":"Checking if execution of \"'\\'\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.js"]={"assertion":"StringLiteral :: \"\\\\\\\" or '\\\\\\' is not correct","description":"Checking if execution of \"\\\\\\\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.js"]={"assertion":"StringLiteral :: \"\\\\\\\" or '\\\\\\' is not correct","description":"Checking if execution of '\\\\\\' fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js"]={"assertion":"NonEscapeSequence is not EscapeCharacter","description":"EscapeCharacter :: DecimalDigits :: 1","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js"]={"assertion":"NonEscapeSequence is not EscapeCharacter","description":"EscapeCharacter :: DecimalDigits :: 7","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.js"]={"assertion":"NonEscapeSequence is not EscapeCharacter","description":"EscapeCharacter :: DecimalDigits :: 8","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.js"]={"assertion":"NonEscapeSequence is not EscapeCharacter","description":"EscapeCharacter :: DecimalDigits :: 9","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.js"]={"assertion":"NonEscapeSequence is not EscapeCharacter","description":"EscapeCharacter :: u","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.js"]={"assertion":"NonEscapeSequence is not EscapeCharacter","description":"EscapeCharacter :: x","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.js"]={"assertion":"EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit","description":"HexEscapeSequence :: x0G is incorrect","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.js"]={"assertion":"HexEscapeSequence :: x HexDigit is incorrect","description":"HexDigit :: 1","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.js"]={"assertion":"HexEscapeSequence :: x HexDigit is incorrect","description":"HexDigit :: A","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.js"]={"assertion":"HexEscapeSequence \\X HexDigit HexDigit is incorrect","description":"Checking if execution of \"\\X01\" passes","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.js"]={"assertion":"HexEscapeSequence \\X HexDigit HexDigit is incorrect","description":"Checking if execution of \"\\X0A\" passes","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.js"]={"assertion":"EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit","description":"UnicodeEscapeSequence :: u000G is incorrect","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.js"]={"assertion":"UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect","description":":: HexDigit :: 1","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.js"]={"assertion":"UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect","description":":: HexDigit :: A","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.js"]={"assertion":"UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect","description":":: HexDigit :: 1","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.js"]={"assertion":"UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect","description":":: HexDigit :: A","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.js"]={"assertion":"UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect","description":":: HexDigit :: 1","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.js"]={"assertion":"UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect","description":":: HexDigit :: A","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.js"]={"assertion":"UnicodeEscapeSequence \\U HexDigit HexDigit HexDigit HexDigit is incorrect","description":"Checking if execution of \"\\U0001\" passes","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.js"]={"assertion":"UnicodeEscapeSequence \\U HexDigit HexDigit HexDigit HexDigit is incorrect","description":"Checking if execution of \"\\U000A\" passes","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.js"]={"assertion":"RegularExpressionFirstChar :: * or \\ or \/ or [empty] is incorrect","description":"*","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.js"]={"assertion":"RegularExpressionFirstChar :: * or \\ or \/ or [empty] is incorrect","description":"\\","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.js"]={"assertion":"RegularExpressionFirstChar :: * or \\ or \/ or [empty] is incorrect","description":"\/","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.js"]={"assertion":"RegularExpressionFirstChar :: * or \\ or \/ or [empty] is incorrect","description":"[empty]","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.js"]={"assertion":"RegularExpressionFirstChar :: LineTerminator is incorrect","description":"Line Feed, without eval","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.js"]={"assertion":"RegularExpressionFirstChar :: LineTerminator is incorrect","description":"Carriage Return, without eval","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.js"]={"assertion":"RegularExpressionFirstChar :: BackslashSequence :: \\LineTerminator is incorrect","description":"Line Feed, without eval","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.js"]={"assertion":"RegularExpressionFirstChar :: BackslashSequence :: \\LineTerminator is incorrect","description":"Carriage Return, without eval","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.js"]={"assertion":"RegularExpressionChar :: \\ or \/ is incorrect","description":"\\","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.js"]={"assertion":"RegularExpressionChar :: \\ or \/ is incorrect","description":"\/","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.js"]={"assertion":"RegularExpressionChar :: LineTerminator is incorrect","description":"Line Feed, without eval","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.js"]={"assertion":"RegularExpressionChar :: LineTerminator is incorrect","description":"Carriage Return, without eval","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.js"]={"assertion":"RegularExpressionChar :: BackslashSequence :: \\LineTerminator is incorrect","description":"Line Feed, without eval","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.js"]={"assertion":"RegularExpressionChar :: BackslashSequence :: \\LineTerminator is incorrect","description":"Carriage Return, without eval","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.js"]={"assertion":"Check {} for automatic semicolon insertion","description":"Checking if execution of \"{}*1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.js"]={"assertion":"Check {} for automatic semicolon insertion","description":"Checking if execution of \"({};)*1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.js"]={"assertion":"Check {} for automatic semicolon insertion","description":"Checking if execution of \"{} \\n * 1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.js"]={"assertion":"Check {} for automatic semicolon insertion","description":"Checking if execution of \"{1 2} 3\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.js"]={"assertion":"Check If Statement for automatic semicolon insertion","description":"Checking if execution of \"if (false) x = 1 else x = -1\" fails","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.js"]={"assertion":"Check If Statement for automatic semicolon insertion","description":"Use if (false) {x = 1}; \\n else x=-1 and check x","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.js"]={"assertion":"Check Throw Statement for automatic semicolon insertion","description":"Try use Throw \\n Expression construction","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.js"]={"assertion":"Check Postfix Increment Operator for automatic semicolon insertion","description":"Try use Variable \\n ++ construction","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.js"]={"assertion":"Check Postfix Decrement Operator for automatic semicolon insertion","description":"Try use Variable \\n -- construction","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.js"]={"assertion":"Since LineTerminator(LT) between Postfix Increment\/Decrement Operator(I\/DO) and operand is not allowed, two IO(just as two DO and their combination)","description":"Try use Variable1 \\n ++ \\n ++ \\n Variable2 construction","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (semicolon \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n false \\n semicolon)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n semicolon \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n semicolon)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n \\n semicolon)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (false semicolon false\\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (false semicolon \\n false)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (false \\n semicolon \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (false \\n semicolon false \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n semicolon false)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n \\n \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n false \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (false \\n false \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n false \\n false \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.js"]={"assertion":"Check For Statement for automatic semicolon insertion.","description":"For header is (\\n false \\n false \\n false \\n)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.js"]={"assertion":"Check For Statement for automatic semicolon insertion","description":"Three semicolons. For header is (false semicolon false semicolon false semicolon)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.js"]={"assertion":"Check For Statement for automatic semicolon insertion","description":"Three semicolons. For header is (false semicolon false two semicolons false)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.js"]={"assertion":"Check Var Statement for automatic semicolon insertion","description":"Checking if execution of \"var x \\n y\" passes","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.js"]={"assertion":"Check Do-While Statement for automatic semicolon insertion","description":"Execute do \\n while(false)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.js"]={"assertion":"Check Do-While Statement for automatic semicolon insertion","description":"Execute do \\n\\n while(false)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.js"]={"assertion":"Check Do-While Statement for automatic semicolon insertion","description":"Execute do {}; \\n while(false)","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T1.js"]={"assertion":"Check examples for automatic semicolon insertion from the Standart","description":"{ 1 2 } 3 is not a valid sentence in the ECMAScript grammar","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T3.js"]={"assertion":"Check examples for automatic semicolon insertion from the Standart","description":"for( a ; b \\n ) is not a valid sentence in the ECMAScript grammar","negative":"."}; -GlobalScopeTests["TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T6.js"]={"assertion":"Check examples for automatic semicolon insertion from the Standart","description":"if(a>b) \\n else c=d is not a valid sentence in the ECMAScript grammar","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.2_The_Null_Type/S8.2_A2.js"]={"assertion":"The null is resrved word","description":"Checking if execution of \"var null\" fails","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.js"]={"assertion":"The true is reserved word","description":"Checking if execution of \"true=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.js"]={"assertion":"The false is reserved word","description":"Checking if execution of \"false=0\" fails","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A13_T1.js"]={"assertion":"When appears not closed single-quote program failes","description":"Try to create variable using 3 single-quote","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A13_T2.js"]={"assertion":"When appears not closed single-quote program failes","description":"Try to create variable using 1 single-quote","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A13_T3.js"]={"assertion":"When appears not closed single-quote program failes","description":"Try to create variable using 4 single-quote","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A14_T1.js"]={"assertion":"When appears not closed double-quote program failes","description":"Try to create variable using 1 double-quote","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A14_T2.js"]={"assertion":"When appears not closed double-quote program failes","description":"Try to create variable using 3 double-quote","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A14_T3.js"]={"assertion":"When appears not closed double-quote program failes","description":"Try to create variable using 4 double-quote","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A7.1.js"]={"assertion":" between chunks of one string not allowed","description":"Insert between chunks of one string","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A7.2.js"]={"assertion":" between chunks of one string not allowed","description":"Insert between chunks of one string","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A7.3.js"]={"assertion":" between chunks of one string not allowed","description":"Insert between chunks of one string","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.4_The_String_Type/S8.4_A7.4.js"]={"assertion":" between chunks of one string not allowed","description":"Insert between chunks of one string","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.js"]={"assertion":"Objects that implement internal method [[Construct]] are called constructors. Math object is NOT constructor","description":"Checking if execution of \"var objMath=new Math\" passes","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.js"]={"assertion":"GetValue(V) mast fail","description":"Checking if execution of \"'litera'=1;\" fails","negative":"."}; -GlobalScopeTests["TestCases/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.js"]={"assertion":"GetValue(V) mast fail","description":"Checking if execution of \"1=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.js"]={"assertion":"Operator x = y uses GetValue and PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError)","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x *= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x ^= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x |= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x \/= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x %= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x += y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x -= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x <<= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x >>= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x >>>= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.js"]={"assertion":"Operator uses PutValue","description":"If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is \"x &= y\"","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.js"]={"assertion":"The \"this\" is reserved word","description":"Checking if execution of \"this=1\" fails","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.js"]={"assertion":"The PropertyName is not BooleanLiteral","description":"Checking if execution of \"var object = {true : 1}\" fails","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.js"]={"assertion":"The PropertyName is not nullLiteral","description":"Checking if execution of \"var object = {null : true}\" fails","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.js"]={"assertion":"Arguments : (ArgumentList : ArgumentList,, AssignmentExpression) is a bad syntax","description":"incorrect syntax","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.js"]={"assertion":"Line Terminator between LeftHandSideExpression and \"++\" is not allowed","description":"Checking Line Feed","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.js"]={"assertion":"Line Terminator between LeftHandSideExpression and \"++\" is not allowed","description":"Carriage Return","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.js"]={"assertion":"Line Terminator between LeftHandSideExpression and \"++\" is not allowed","description":"Checking Line Seprator","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.js"]={"assertion":"Line Terminator between LeftHandSideExpression and \"++\" is not allowed","description":"Checking Paragraph separator","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.js"]={"assertion":"Operator x++ uses GetValue and PutValue","description":"If Type(x) is not Reference, throw ReferenceError (or SyntaxError)","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.js"]={"assertion":"Line Terminator between LeftHandSideExpression and \"--\" is not allowed","description":"Checking Line Feed","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.js"]={"assertion":"Line Terminator between LeftHandSideExpression and \"--\" is not allowed","description":"Checking Carriage Return","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.js"]={"assertion":"Line Terminator between LeftHandSideExpression and \"--\" is not allowed","description":"Checking Page separator","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.js"]={"assertion":"Line Terminator between LeftHandSideExpression and \"--\" is not allowed","description":"Checking Line separator","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.js"]={"assertion":"Operator x-- uses GetValue and PutValue","description":"If Type(x) is not Reference, throw ReferenceError (or SyntaxError)","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.js"]={"assertion":"Operator \"void\" uses GetValue","description":"If GetBase(x) is null, throw ReferenceError","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.js"]={"assertion":"Operator ++x uses GetValue and PutValue","description":"If Type(x) is not Reference, throw ReferenceError (or SyntaxError)","negative":"."}; -GlobalScopeTests["TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.js"]={"assertion":"Operator --x uses GetValue and PutValue","description":"If Type(x) is not Reference, throw ReferenceError (or SyntaxError)","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.js"]={"assertion":"There can be only one DefaultClause","description":"Duplicate DefaultClause","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.js"]={"assertion":"Syntax constructions of switch statement","description":"Checking if execution of \"switch() {}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.js"]={"assertion":"Syntax constructions of switch statement","description":"Checking if execution of \"switch {}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.js"]={"assertion":"Syntax constructions of switch statement","description":"Checking if execution of \"switch(value)\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.js"]={"assertion":"Syntax constructions of switch statement","description":"Using \"case\" that has no Expresson after it. \"CaseClause: case Expression : [StatementList]\"","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.js"]={"assertion":"Syntax constructions of switch statement","description":"Introducing statement not followed by \"case\" keyword","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.13_The_throw_statement/S12.13_A1.js"]={"assertion":"Sanity test for throw statement","description":"Trying to throw exception with \"throw\"","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Checking if pure \"try\" syntax construction passes","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Catch: \"catch (Identifier ) Block\"","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Catch and Finally are placed into the Block of \"try\" (whitle expected outside)","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Embedded \"try\" statements followed by two \"catch\" statements","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Catch: \"catch (Identifier ) Block\". Checking if execution of \"22\" passes at the place of Identifier of \"catch\"","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Checking if passing argument to \"try\" statement fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Finally: \"finally Block\". Checking if passing argument to \"try\" statement fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Checking if execution of \"catch\" with no \"try\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Checking if execution of \"finally\" with no \"try\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Catch: \"catch (Identifier ) Block\". Checking if execution of \"catch\" that takes no arguments fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Catch: \"catch (Identifier ) Block\". Checking if execution of \"catch\" with no Block fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Block: \"{ StatementList }\". Checking if execution of \"try{ catch{}{}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Block: \"{ StatementList }\". Checking if execution of \"try{} catch(){\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Block: \"{ StatementList }\". Catch: \"catch (Identifier ) Block\". Checking if execution of \"try{} catch(){finally{}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.js"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Checking if execution of \"catch(){} finally{}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.1_Block/S12.1_A1.js"]={"assertion":"The production Block { } in strict code can't contain function declaration","description":"Trying to declare function at the Block statement","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.1_Block/S12.1_A4_T1.js"]={"assertion":"The production Block can't be inside of expression","description":"Checking if execution of \"y={__func}()\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.1_Block/S12.1_A4_T2.js"]={"assertion":"The production Block can't be inside of expression","description":"Checking if execution of \"y={x}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.js"]={"assertion":"Only AssignmentExpression is admitted when variable is initialized","description":"Checking if execution of \"var x += 1\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.js"]={"assertion":"Only AssignmentExpression is admitted when variable is initialized","description":"Checking if execution of \"var x | true\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.js"]={"assertion":"Only AssignmentExpression is admitted when variable is initialized","description":"Checking if execution of \"var x && 1\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.js"]={"assertion":"Only AssignmentExpression is admitted when variable is initialized","description":"Checking if execution of \"var x++\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.js"]={"assertion":"Only AssignmentExpression is admitted when variable is initialized","description":"Checking if execution of \"var --x\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.js"]={"assertion":"Only AssignmentExpression is admitted when variable is initialized","description":"Checking if execution of \"var x*1\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.js"]={"assertion":"Only AssignmentExpression is admitted when variable is initialized","description":"Checking if execution of \"var x>>1\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.js"]={"assertion":"Only AssignmentExpression is admitted when variable is initialized","description":"Checking if execution of \"var x in __arr\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.4_Expression_Statement/S12.4_A1.js"]={"assertion":"An ExpressionStatement can not start with the function keyword because that might make it ambiguous with a FunctionDeclaration","description":"Checking if execution of \"function(){}()\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.5_The_if_Statement/S12.5_A11.js"]={"assertion":"{} within the \"if\" expression is not allowed","description":"Checking if execution of \"if({1})\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.5_The_if_Statement/S12.5_A2.js"]={"assertion":"In the \"if\" Statement eval in Expression is admitted","description":"Checking by using eval \"eval(\"true\")\"","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.js"]={"assertion":"In the If statement expression must be enclosed in braces","description":"Checking if execution of \"if true\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.js"]={"assertion":"In the If statement expression must be enclosed in braces","description":"Checking if execution of \"if false\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.5_The_if_Statement/S12.5_A8.js"]={"assertion":"In the \"if\" Statement empty expression is not allowed","description":"Checking if execution of \"if()\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js"]={"assertion":"Function declaration within an \"if\" statement in strict code is not allowed","description":"Declaring function within an \"if\" statement","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js"]={"assertion":"Function declaration within an \"if\" statement in strict code is not allowed","description":"Declaring function within an \"if\" that is declared within the strict function","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.js"]={"assertion":"Function declaration within an \"if\" statement is not allowed","description":"Declaring function within an \"if\" statement that is declared within the function declaration","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.js"]={"assertion":"Any statement within \"do-while\" construction must be a compound","description":"Checking if execution of \"do var x=1; var y =2; while (0)\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js"]={"assertion":"FunctionDeclaration within a \"do-while\" Block in strict code is not allowed","description":"Declaring function within a \"do-while\" loop","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js"]={"assertion":"FunctionDeclaration within a \"do-while\" Block in strict code is not allowed","description":"Declaring a function within a \"do-while\" loop that is within a strict function","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.js"]={"assertion":"FunctionDeclaration within a \"do-while\" Block is not allowed","description":"Declaring a function within a \"do-while\" loop that is within a function declaration itself","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.js"]={"assertion":"Block within a \"do-while\" Expression is not allowed","description":"Using \"{0}\" Block as an Expression","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.js"]={"assertion":"Expression in \"do-while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"do{} while 1\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.js"]={"assertion":"Expression in \"do-while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"do{} while 0\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.js"]={"assertion":"Expression in \"do-while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"do{}while true\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.js"]={"assertion":"Expression in \"do-while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"do{}while false\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5.js"]={"assertion":"Expression in \"do-while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"do{}while ''\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6.js"]={"assertion":"Expression in \"do-while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"do{}while 'hood'\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1.js"]={"assertion":"FunctionDeclaration within a \"while\" Statement is not allowed","description":"Checking if declaring a function within a \"while\" Statement leads to an exception","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2.js"]={"assertion":"FunctionDeclaration within a \"while\" Statement is not allowed","description":"Checking if declaring a function within a \"while\" Statement that is in a function call leads to an exception","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3.js"]={"assertion":"FunctionDeclaration within a \"while\" Statement is not allowed","description":"Checking if declaring a function within a \"while\" Statement that is in a function body leads to an exception","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15.js"]={"assertion":"Block within a \"while\" Expression is not allowed","description":"Expression is \"{0}\"","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1.js"]={"assertion":"Expression in \"while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"while 1 break\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.js"]={"assertion":"Expression in \"while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"while 0 break\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3.js"]={"assertion":"Expression in \"while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"while true break\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js"]={"assertion":"Expression in \"while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"while false break\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5.js"]={"assertion":"Expression in \"while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"while '' break\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6.js"]={"assertion":"Expression in \"while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"while 'hood' break\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3.js"]={"assertion":"If (Evaluate Statement).type is \"continue\" and (Evaluate Statement).target is in the current label set, iteration of labeled \"var-loop\" breaks","description":"Trying to continue non-existent label","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3.js"]={"assertion":"If (Evaluate Statement).type is \"continue\" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks","description":"Trying to continue non-existent label","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3.js"]={"assertion":"If (Evaluate Statement).type is \"break\" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a \"var-loop\"","description":"Trying to break non-existent label","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3.js"]={"assertion":"If (Evaluate Statement).type is \"break\" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop","description":"Trying to break non-existent label","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1.js"]={"assertion":"\"in\"-expression is not allowed as a ExpressionNoIn in \"for (ExpressionNoIn; FirstExpression; SecondExpression) Statement\" IterationStatement","description":"Checking if execution of \"for (var a in arr;1;){}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1.js"]={"assertion":"\"in\"-expression is not allowed as a ExpressionNoIn in \"for (ExpressionNoIn; FirstExpression; SecondExpression) Statement\" IterationStatement","description":"Checking if execution of \"for (a in arr;1;){}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2.js"]={"assertion":"\"in\"-expression is not allowed as a ExpressionNoIn in \"for (ExpressionNoIn; FirstExpression; SecondExpression) Statement\" IterationStatement","description":"Checking if execution of \"for (1 in arr;1;){}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1.js"]={"assertion":"Only three expressions and two semicolons in \"for(with var)\" braces are allowed.","description":"Checking if execution of \"for(var index=0; index<10; index++; index--)\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2.js"]={"assertion":"Only three expressions and two semicolons in \"for(with var)\" braces are allowed.","description":"Checking if execution of \"for(var index=0; index<10; index+=4; index++; index--)\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1.js"]={"assertion":"Only three expressions and two semicolons in \"for\" braces are allowed.","description":"Checking if execution of \"for(index=0; index<10; index++; index--)\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2.js"]={"assertion":"Only three expressions and two semicolons in \"for\" braces are allowed.","description":"Checking if execution of \"for(index=0; index<10; index+=4; index++; index--)\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1.js"]={"assertion":"Blocks within \"for(with var)\" braces are not allowed","description":"Checking if execution of \"for(var index=0; index<100; {index++; index*2;}) { arr.add(\"\"+index);}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2.js"]={"assertion":"Blocks within \"for(with var)\" braces are not allowed","description":"Checking if execution of \"for(var index=0; {index++;index<100;}; index*2;) { arr.add(\"\"+index);}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3.js"]={"assertion":"Blocks within \"for(with var)\" braces are not allowed","description":"Checking if execution of \"for({var index=0; index+=1;} index++<=10; index*2;) { arr.add(\"\"+index);}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1.js"]={"assertion":"Blocks within \"for\" braces are not allowed","description":"Checking if execution of \"for(index=0; index<100; {index++; index*2;}) { arr.add(\"\"+index);}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2.js"]={"assertion":"Blocks within \"for\" braces are not allowed","description":"Checking if execution of \"for(index=0; {index++;index<100;}; index*2;) { arr.add(\"\"+index);}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3.js"]={"assertion":"Blocks within \"for\" braces are not allowed","description":"Checking if execution of \"for({index=0; index+=1;} index++<=10; index*2;) { arr.add(\"\"+index);}\" fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1.js"]={"assertion":"FunctionDeclaration within a \"for-in\" Statement is not allowed","description":"Declaring function within a \"for-in\" Statement","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2.js"]={"assertion":"FunctionDeclaration within a \"for-in\" Statement is not allowed","description":"Declaring function within a \"for-in\" Statement that is within a function call","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3.js"]={"assertion":"FunctionDeclaration within a \"for-in\" Statement is not allowed","description":"Declaring function within a \"for-in\" Statement that is within function declaration","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15.js"]={"assertion":"Block within a \"for-in\" Expression is not allowed","description":"Using block within \"for-in\" Expression","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1.js"]={"assertion":"Appearing of continue without an IterationStatement leads to syntax error","description":"Checking if execution of single \"continue\" without any IterationStatement fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2.js"]={"assertion":"Appearing of continue without an IterationStatement leads to syntax error","description":"Checking if single \"continue\" with Label but without any IterationStatement fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3.js"]={"assertion":"Appearing of continue without an IterationStatement leads to syntax error","description":"Checking if laballed \"continue\" with no IterationStatement, placed into a block, fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4.js"]={"assertion":"Appearing of continue without an IterationStatement leads to syntax error","description":"Checking if execution of \"continue\" with no IterationStatement, placed into a block, fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1.js"]={"assertion":"When \"continue Identifier\" is evaluated Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement","description":"Trying to continue another labeled loop","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2.js"]={"assertion":"When \"continue Identifier\" is evaluated Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement","description":"Identifier is a function name","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3.js"]={"assertion":"When \"continue Identifier\" is evaluated Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement","description":"Identifier is within loop label","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A6.js"]={"assertion":"Appearing of \"continue\" within a function call that is within an IterationStatement yields SyntaxError","description":"Using labaled \"continue Identifier\" within a function body","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1.js"]={"assertion":"Appearing of \"continue\" within a \"try\/catch\" Block yields SyntaxError","description":"Checking if execution of \"continue Identifier\" within catch Block fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2.js"]={"assertion":"Appearing of \"continue\" within a \"try\/catch\" Block yields SyntaxError","description":"Checking if execution of \"continue\" within catch Block fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A1_T1.js"]={"assertion":"Appearing of break without an IterationStatement leads to syntax error","description":"Checking if break statement with no loop fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A1_T2.js"]={"assertion":"Appearing of break without an IterationStatement leads to syntax error","description":"Checking if break Identifier with no loop fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A1_T3.js"]={"assertion":"Appearing of break without an IterationStatement leads to syntax error","description":"Checking if break statement with no loop, placed into a block, fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A1_T4.js"]={"assertion":"Appearing of break without an IterationStatement leads to syntax error","description":"Checking if break Identifier with no loop, placed into a block, fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A5_T1.js"]={"assertion":"Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement","description":"Checking if breaking another labeled loop fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A5_T2.js"]={"assertion":"Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement","description":"Checking if using function name as an Identifier appears to be invalid","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A5_T3.js"]={"assertion":"Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement","description":"Checking if using internal loop label as an Identifier appears to be invalid","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A6.js"]={"assertion":"Appearing of \"break\" within a function call that is nested in a IterationStatement yields SyntaxError","description":"Checking if using \"break Identifier\" within a function body appears to be invalid","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A8_T1.js"]={"assertion":"Appearing of \"break\" within \"try\/catch\" Block yields SyntaxError","description":"Checking if using \"break Identifier\" from within catch Block appears to be invalid","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.8_The_break_Statement/S12.8_A8_T2.js"]={"assertion":"Appearing of \"break\" within \"try\/catch\" Block yields SyntaxError","description":"Checking if using \"break Identifier\" from within catch Block appears to be invalid","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T1.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return\" with no function fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T10.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return (0)\" with no function fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T2.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return x\" with no function fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T3.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return\" within \"try\" statement fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T4.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return\" with no function fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T5.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return\" with no function, placed into a Block, fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T6.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return\" with no function, placed into a loop, fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T7.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return x\" with no function, placed inside Block, fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T8.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return x\" with no function, placed into a loop, fails","negative":"."}; -GlobalScopeTests["TestCases/12_Statement/12.9_The_return_Statement/S12.9_A1_T9.js"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return\", placed into a catch Block, fails","negative":"."}; -GlobalScopeTests["TestCases/13_Function_Definition/13.0_Chapter/S13.0_A7_T3.js"]={"assertion":"The FunctionBody must be SourceElements","description":"Checking if execution of \"function __func(){\\A\\B\\C}\" fails","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js"]={"assertion":"DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]","description":"It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js"]={"assertion":"DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]","description":"It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.1_The_Global_Object/S15.1_A1_T1.js"]={"assertion":"The global object does not have a [[Construct]] property","description":"It is not possible to use the global object as a constructor","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.1_The_Global_Object/S15.1_A1_T2.js"]={"assertion":"The global object does not have a [[Construct]] property","description":"It is not possible to use the global object as a constructor","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.1_The_Global_Object/S15.1_A2_T1.js"]={"assertion":"The global object does not have a [[Call]] property","description":"It is not possible to invoke the global object as a function","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T2.js"]={"assertion":"If the parse fails, throw a SyntaxError exception (but see also clause 16)","description":"Checking if execution of \"eval(\"x = 1; x\\u000A++\")\" fails","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A12.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A13.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A12.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"Checking Object.prototype.valueOf invoked by the 'call' property.","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A13.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"Checking Object.prototype.valueOf invoked by the 'call' property.","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A14.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"Checking Object.prototype.valueOf invoked by the 'call' property.","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A13.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A12.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A13.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A12.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A13.js"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A12.js"]={"assertion":"The Function.prototype.toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A13.js"]={"assertion":"The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A14.js"]={"assertion":"The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A15.js"]={"assertion":"The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"Whether or not they are callable, RegExp objects are not Function objects, so toString should throw a TypeError.","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A16.js"]={"assertion":"The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"The String constructor, given an object, should invoke that object's toString method as a method, i.e., with its this value bound to that object.","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A13.js"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A14.js"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A15.js"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js"]={"assertion":"\"caller\" of bound function is poisoned (step 20)","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","negative":"."}; -GlobalScopeTests["TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js"]={"assertion":"\"arguments\" of bound function is poisoned (step 21)","description":"","negative":"."}; \ No newline at end of file diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.js deleted file mode 100644 index c84526b060..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.1_T1; - * @section: 7.2, 7.5; - * @assertion: HORIZONTAL TAB (U+0009) between any two tokens is allowed; - * @description: Insert HORIZONTAL TAB(\u0009 and \t) between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.js", - -assertion: "HORIZONTAL TAB (U+0009) between any two tokens is allowed", - -description: "Insert HORIZONTAL TAB(\\u0009 and \\t) between tokens of var x=1", - -test: function testcase() { - // CHECK#1 -eval("\u0009var\u0009x\u0009=\u00091\u0009"); -if (x !== 1) { - $ERROR('#1: eval("\\u0009var\\u0009x\\u0009=\\u00091\\u0009"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval("\u0009" + "var" + "\u0009" + "x" + "\u0009" + "=" + "\u0009" + "1" + "\u0009"); -if (x !== 1) { - $ERROR('#2: eval("\\u0009" + "var" + "\\u0009" + "x" + "\\u0009" + "=" + "\\u0009" + "1" + "\\u0009"); x === 1. Actual: ' + (x)); -} - -//CHECK#3 -eval("\tvar\tx\t=\t1\t"); -if (x !== 1) { - $ERROR('#3: eval("\\tvar\\tx\\t=\\t1\\t"); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -eval("\t" + "var" + "\t" + "x" + "\t" + "=" + "\t" + "1" + "\t"); -if (x !== 1) { - $ERROR('#4: eval("\\t" + "var" + "\\t" + "x" + "\\t" + "=" + "\\t" + "1" + "\\t"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -eval("\u0009" + "var" + "\t" + "x" + "\u0009" + "=" + "\t" + "1" + "\u0009"); -if (x !== 1) { - $ERROR('#5: eval("\\u0009" + "var" + "\\t" + "x" + "\\u0009" + "=" + "\\t" + "1" + "\\u0009"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.js deleted file mode 100644 index 68c723b232..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.1_T2; - * @section: 7.2, 7.5; - * @assertion: HORIZONTAL TAB (U+0009) between any two tokens is allowed; - * @description: Insert real HORIZONTAL TAB between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.js", - -assertion: "HORIZONTAL TAB (U+0009) between any two tokens is allowed", - -description: "Insert real HORIZONTAL TAB between tokens of var x=1", - -test: function testcase() { - //CHECK#1 - var x = 1 ; -if (x !== 1) { - $ERROR('#1: var x = 1 ; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval(" var\tx =\t2 "); -if (x !== 2) { - $ERROR('#2: var\\tx =\\t1 ; x === 2. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.js deleted file mode 100644 index dbc27faf7a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.2_T1; - * @section: 7.2, 7.5; - * @assertion: VERTICAL TAB (U+000B) between any two tokens is allowed; - * @description: Insert VERTICAL TAB(\u000B and \v) between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.js", - -assertion: "VERTICAL TAB (U+000B) between any two tokens is allowed", - -description: "Insert VERTICAL TAB(\\u000B and \\v) between tokens of var x=1", - -test: function testcase() { - // CHECK#1 -eval("\u000Bvar\u000Bx\u000B=\u000B1\u000B"); -if (x !== 1) { - $ERROR('#1: eval("\\u000Bvar\\u000Bx\\u000B=\\u000B1\\u000B"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval("\u000B" + "var" + "\u000B" + "x" + "\u000B" + "=" + "\u000B" + "1" + "\u000B"); -if (x !== 1) { - $ERROR('#2: eval("\\u000B" + "var" + "\\u000B" + "x" + "\\u000B" + "=" + "\\u000B" + "1" + "\\u000B"); x === 1. Actual: ' + (x)); -} - -//CHECK#3 -eval("\vvar\vx\v=\v1\v"); -if (x !== 1) { - $ERROR('#3: eval("\\vvar\\vx\\v=\\v1\\v"); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -eval("\v" + "var" + "\v" + "x" + "\v" + "=" + "\v" + "1" + "\v"); -if (x !== 1) { - $ERROR('#4: eval("\\v" + "var" + "\\v" + "x" + "\\v" + "=" + "\\v" + "1" + "\\v"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -eval("\u000B" + "var" + "\v" + "x" + "\u000B" + "=" + "\v" + "1" + "\u000B"); -if (x !== 1) { - $ERROR('#5: eval("\\u000B" + "var" + "\\v" + "x" + "\\u000B" + "=" + "\\v" + "1" + "\\u000B"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.js deleted file mode 100644 index 56c71a9126..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.2_T2; - * @section: 7.2, 7.5; - * @assertion: VERTICAL TAB (U+000B) between any two tokens is allowed; - * @description: Insert real VERTICAL TAB between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.js", - -assertion: "VERTICAL TAB (U+000B) between any two tokens is allowed", - -description: "Insert real VERTICAL TAB between tokens of var x=1", - -test: function testcase() { - //CHECK#1 - var x = 1 ; -if (x !== 1) { - $ERROR('#1: var x = 1 ; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval(" var\vx =\v1 "); -if (x !== 1) { - $ERROR('#2: var\\vx =\\v1 ; x === 1. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.js deleted file mode 100644 index 0a653c9cfb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.3_T1; - * @section: 7.2, 7.5; - * @assertion: FORM FEED (U+000C) between any two tokens is allowed; - * @description: Insert FORM FEED(\u000C and \f) between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.js", - -assertion: "FORM FEED (U+000C) between any two tokens is allowed", - -description: "Insert FORM FEED(\\u000C and \\f) between tokens of var x=1", - -test: function testcase() { - // CHECK#1 -eval("\u000Cvar\u000Cx\u000C=\u000C1\u000C"); -if (x !== 1) { - $ERROR('#1: eval("\\u000Cvar\\u000Cx\\u000C=\\u000C1\\u000C"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval("\u000C" + "var" + "\u000C" + "x" + "\u000C" + "=" + "\u000C" + "1" + "\u000C"); -if (x !== 1) { - $ERROR('#2: eval("\\u000C" + "var" + "\\u000C" + "x" + "\\u000C" + "=" + "\\u000C" + "1" + "\\u000C"); x === 1. Actual: ' + (x)); -} - -//CHECK#3 -eval("\fvar\fx\f=\f1\f"); -if (x !== 1) { - $ERROR('#3: eval("\\fvar\\fx\\f=\\f1\\f"); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -eval("\f" + "var" + "\f" + "x" + "\f" + "=" + "\f" + "1" + "\f"); -if (x !== 1) { - $ERROR('#4: eval("\\f" + "var" + "\\f" + "x" + "\\f" + "=" + "\\f" + "1" + "\\f"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -eval("\u000C" + "var" + "\f" + "x" + "\u000C" + "=" + "\f" + "1" + "\u000C"); -if (x !== 1) { - $ERROR('#5: eval("\\u000C" + "var" + "\\f" + "x" + "\\u000C" + "=" + "\\f" + "1" + "\\u000C"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.js deleted file mode 100644 index 77d184fdb3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.3_T2; - * @section: 7.2, 7.5; - * @assertion: FORM FEED (U+000C) between any two tokens is allowed; - * @description: Insert real FORM FEED between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.3_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.js", - -assertion: "FORM FEED (U+000C) between any two tokens is allowed", - -description: "Insert real FORM FEED between tokens of var x=1", - -test: function testcase() { - //CHECK#1 - var x = 1 ; -if (x !== 1) { - $ERROR('#1: var x = 1 ; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval(" var\fx =\f1 "); -if (x !== 1) { - $ERROR('#2: var\\fx =\\f1 ; x === 1. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.js deleted file mode 100644 index 69b33b59c2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.4_T1; - * @section: 7.2, 7.5; - * @assertion: SPACE (U+0020) between any two tokens is allowed; - * @description: Insert SPACE(\u0020) between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.4_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.js", - -assertion: "SPACE (U+0020) between any two tokens is allowed", - -description: "Insert SPACE(\\u0020) between tokens of var x=1", - -test: function testcase() { - // CHECK#1 -eval("\u0020var\u0020x\u0020=\u00201\u0020"); -if (x !== 1) { - $ERROR('#1: eval("\\u0020var\\u0020x\\u0020=\\u00201\\u0020"); x === 1;'); -} - -//CHECK#2 -eval("\u0020" + "var" + "\u0020" + "x" + "\u0020" + "=" + "\u0020" + "1" + "\u0020"); -if (x !== 1) { - $ERROR('#2: eval("\\u0020" + "var" + "\\u0020" + "x" + "\\u0020" + "=" + "\\u0020" + "1" + "\\u0020"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.js deleted file mode 100644 index 2e6eedd014..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.4_T2; - * @section: 7.2, 7.5; - * @assertion: SPACE (U+0020) between any two tokens is allowed; - * @description: Insert real SPACE between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.4_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.js", - -assertion: "SPACE (U+0020) between any two tokens is allowed", - -description: "Insert real SPACE between tokens of var x=1", - -test: function testcase() { - //CHECK#1 -eval("\u0020var x\u0020= 1\u0020"); -if (x !== 1) { - $ERROR('#1: eval("\\u0020var x\\u0020= 1\\u0020"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 - var x = 1 ; -if (x !== 1) { - $ERROR('#2: var x = 1 ; x === 1. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.js deleted file mode 100644 index e7d518188b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.5_T1; - * @section: 7.2, 7.5; - * @assertion: NO-BREAK SPACE (U+00A0) between any two tokens is allowed; - * @description: Insert NO-BREAK SPACE(\u00A0) between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.5_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.js", - -assertion: "NO-BREAK SPACE (U+00A0) between any two tokens is allowed", - -description: "Insert NO-BREAK SPACE(\\u00A0) between tokens of var x=1", - -test: function testcase() { - // CHECK#1 -eval("\u00A0var\u00A0x\u00A0=\u00A01\u00A0"); -if (x !== 1) { - $ERROR('#1: eval("\\u00A0var\\u00A0x\\u00A0=\\u00A01\\u00A0"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval("\u00A0" + "var" + "\u00A0" + "x" + "\u00A0" + "=" + "\u00A0" + "1" + "\u00A0"); -if (x !== 1) { - $ERROR('#2: eval("\\u00A0" + "var" + "\\u00A0" + "x" + "\\u00A0" + "=" + "\\u00A0" + "1" + "\\u00A0"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js deleted file mode 100644 index b9b1080006..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A1.5_T2; - * @section: 7.2, 7.5; - * @assertion: NO-BREAK SPACE (U+00A0) between any two tokens is allowed; - * @description: Insert real NO-BREAK SPACE between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A1.5_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js", - -assertion: "NO-BREAK SPACE (U+00A0) between any two tokens is allowed", - -description: "Insert real NO-BREAK SPACE between tokens of var x=1", - -test: function testcase() { - //CHECK#1 -eval("\u00A0var x\u00A0= 1\u00A0"); -if (x !== 1) { - $ERROR('#1: eval("\\u00A0var x\\u00A0= 1\\u00A0"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 - var x = 1 ; -if (x !== 1) { - $ERROR('#2:  var x = 1 ; x === 1. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.js deleted file mode 100644 index e25ced6729..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.1_T1; - * @section: 7.2, 7.8.4; - * @assertion: HORIZONTAL TAB (U+0009) may occur within strings; - * @description: Use HORIZONTAL TAB(\u0009 and \t); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.js", - -assertion: "HORIZONTAL TAB (U+0009) may occur within strings", - -description: "Use HORIZONTAL TAB(\\u0009 and \\t)", - -test: function testcase() { - // CHECK#1 -if (eval("'\u0009str\u0009ing\u0009'") !== "\u0009str\u0009ing\u0009") { - $ERROR('#1: eval("\'\\u0009str\\u0009ing\\u0009\'") === "\\u0009str\\u0009ing\\u0009"'); -} - -//CHECK#2 -if (eval("'\tstr\ting\t'") !== "\tstr\ting\t") { - $ERROR('#2: eval("\'\\tstr\\ting\\t\'") === "\\tstr\\ting\\t"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.js deleted file mode 100644 index 256d8a3692..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.1_T2; - * @section: 7.2, 7.8.4; - * @assertion: HORIZONTAL TAB (U+0009) may occur within strings; - * @description: Use real HORIZONTAL TAB; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.js", - -assertion: "HORIZONTAL TAB (U+0009) may occur within strings", - -description: "Use real HORIZONTAL TAB", - -test: function testcase() { - //CHECK#1 -if (" str ing " !== "\u0009str\u0009ing\u0009") { - $ERROR('#1: " str ing " === "\\u0009str\\u0009ing\\u0009"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.js deleted file mode 100644 index bf97513fbb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.2_T1; - * @section: 7.2, 7.8.4; - * @assertion: VERTICAL TAB (U+000B) may occur within strings; - * @description: Use VERTICAL TAB(\u000B and \v); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.js", - -assertion: "VERTICAL TAB (U+000B) may occur within strings", - -description: "Use VERTICAL TAB(\\u000B and \\v)", - -test: function testcase() { - // CHECK#1 -if (eval("'\u000Bstr\u000Bing\u000B'") !== "\u000Bstr\u000Bing\u000B") { - $ERROR('#1: eval("\'\\u000Bstr\\u000Bing\\u000B\'") === "\\u000Bstr\\u000Bing\\u000B"'); -} - -//CHECK#2 -if (eval("'\vstr\ving\v'") !== "\vstr\ving\v") { - $ERROR('#2: eval("\'\\vstr\\ving\\v\'") === "\\vstr\\ving\\v"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.js deleted file mode 100644 index 186fdbd6d4..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.2_T2; - * @section: 7.2, 7.8.4; - * @assertion: VERTICAL TAB (U+000B) may occur within strings; - * @description: Use real VERTICAL TAB; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.js", - -assertion: "VERTICAL TAB (U+000B) may occur within strings", - -description: "Use real VERTICAL TAB", - -test: function testcase() { - //CHECK#1 -if (" str ing " !== "\u000Bstr\u000Bing\u000B") { - $ERROR('#1: " str ing " === "\\u000Bstr\\u000Bing\\u000B"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.js deleted file mode 100644 index 8394ef45be..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.3_T1; - * @section: 7.2, 7.8.4; - * @assertion: FORM FEED (U+000C) may occur within strings; - * @description: Use FORM FEED(\u000C and \f); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.js", - -assertion: "FORM FEED (U+000C) may occur within strings", - -description: "Use FORM FEED(\\u000C and \\f)", - -test: function testcase() { - // CHECK#1 -if (eval("'\u000Cstr\u000Cing\u000C'") !== "\u000Cstr\u000Cing\u000C") { - $ERROR('#1: eval("\'\\u000Cstr\\u000Cing\\u000C\'") === "\\u000Cstr\\u000Cing\\u000C"'); -} - -//CHECK#2 -if (eval("'\fstr\fing\f'") !== "\fstr\fing\f") { - $ERROR('#2: eval("\'\\fstr\\fing\\f\'") === "\\fstr\\fing\\f"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.js deleted file mode 100644 index f0e69f5958..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.3_T2; - * @section: 7.2, 7.8.4; - * @assertion: FORM FEED (U+000C) may occur within strings; - * @description: Use real FORM FEED; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.3_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.js", - -assertion: "FORM FEED (U+000C) may occur within strings", - -description: "Use real FORM FEED", - -test: function testcase() { - //CHECK#1 -if (" str ing " !== "\u000Cstr\u000Cing\u000C") { - $ERROR('#1: " str ing " === "\\u000Cstr\\u000Cing\\u000C"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.js deleted file mode 100644 index 7ca215dadf..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.4_T1; - * @section: 7.2, 7.8.4; - * @assertion: SPACE (U+0020) may occur within strings; - * @description: Use SPACE(\u0020); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.4_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.js", - -assertion: "SPACE (U+0020) may occur within strings", - -description: "Use SPACE(\\u0020)", - -test: function testcase() { - // CHECK#1 -if (eval("'\u0020str\u0020ing\u0020'") !== "\u0020str\u0020ing\u0020") { - $ERROR('#1: eval("\'\\u0020str\\u0020ing\\u0020\'") === "\\u0020str\\u0020ing\\u0020"'); -} - -//CHECK#2 -if (eval("' str ing '") !== " str ing ") { - $ERROR('#2: eval("\' str ing \'") === " str ing "'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.js deleted file mode 100644 index ae6a90a489..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.4_T2; - * @section: 7.2, 7.8.4; - * @assertion: SPACE (U+0020) may occur within strings; - * @description: Use real SPACE; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.4_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.js", - -assertion: "SPACE (U+0020) may occur within strings", - -description: "Use real SPACE", - -test: function testcase() { - //CHECK#1 -if (" str ing " !== "\u0020str\u0020ing\u0020") { - $ERROR('#1: " str ing " === "\\u0020str\\u0020ing\\u0020"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.js deleted file mode 100644 index dffeca4ea7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.5_T1; - * @section: 7.2, 7.8.4; - * @assertion: NO-BREAK SPACE (U+00A0) may occur within strings; - * @description: Use NO-BREAK SPACE(\u00A0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.5_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.js", - -assertion: "NO-BREAK SPACE (U+00A0) may occur within strings", - -description: "Use NO-BREAK SPACE(\\u00A0)", - -test: function testcase() { - // CHECK#1 -if (eval("'\u00A0str\u00A0ing\u00A0'") !== "\u00A0str\u00A0ing\u00A0") { - $ERROR('#1: eval("\'\\u00A0str\\u00A0ing\\u00A0\'") === "\\u00A0str\\u00A0ing\\u00A0"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.js deleted file mode 100644 index 8ee659d2f2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A2.5_T2; - * @section: 7.2, 7.8.4; - * @assertion: NO-BREAK SPACE (U+00A0) may occur within strings; - * @description: Use real NO-BREAK SPACE; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A2.5_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.js", - -assertion: "NO-BREAK SPACE (U+00A0) may occur within strings", - -description: "Use real NO-BREAK SPACE", - -test: function testcase() { - //CHECK#1 -if (" str ing " !== "\u00A0str\u00A0ing\u00A0") { - $ERROR('#1: " str ing " === "\\u00A0str\\u00A0ing\\u00A0"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.js deleted file mode 100644 index 3e1f02f07e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.1_T1; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain HORIZONTAL TAB (U+0009); - * @description: Use HORIZONTAL TAB(\u0009); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.js", - -assertion: "Single line comment can contain HORIZONTAL TAB (U+0009)", - -description: "Use HORIZONTAL TAB(\\u0009)", - -test: function testcase() { - // CHECK#1 -eval("//\u0009 single line \u0009 comment \u0009"); - -//CHECK#2 -var x = 0; -eval("//\u0009 single line \u0009 comment \u0009 x = 1;"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("//\\u0009 single line \\u0009 comment \\u0009 x = 1;"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.js deleted file mode 100644 index 32c1566610..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.1_T2; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain HORIZONTAL TAB (U+0009); - * @description: Use real HORIZONTAL TAB; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.js", - -assertion: "Single line comment can contain HORIZONTAL TAB (U+0009)", - -description: "Use real HORIZONTAL TAB", - -test: function testcase() { - //CHECK#1 -var x = 0; -// single line comment x = 1; -if (x !== 0) { - $ERROR('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.js deleted file mode 100644 index b688cc2722..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.2_T1; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain VERTICAL TAB (U+000B); - * @description: Use VERTICAL TAB(\u000B); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.js", - -assertion: "Single line comment can contain VERTICAL TAB (U+000B)", - -description: "Use VERTICAL TAB(\\u000B)", - -test: function testcase() { - // CHECK#1 -eval("//\u000B single line \u000B comment \u000B"); - -//CHECK#2 -var x = 0; -eval("//\u000B single line \u000B comment \u000B x = 1;"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("//\\u000B single line \\u000B comment \\u000B x = 1;"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.js deleted file mode 100644 index 817e159e72..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.2_T2; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain VERTICAL TAB (U+000B); - * @description: Use real VERTICAL TAB; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.js", - -assertion: "Single line comment can contain VERTICAL TAB (U+000B)", - -description: "Use real VERTICAL TAB", - -test: function testcase() { - //CHECK#1 -var x = 0; -// single line comment x = 1; -if (x !== 0) { - $ERROR('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.js deleted file mode 100644 index 8d0198a3cf..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.3_T1; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain FORM FEED (U+000C); - * @description: Use FORM FEED(\u000C); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.js", - -assertion: "Single line comment can contain FORM FEED (U+000C)", - -description: "Use FORM FEED(\\u000C)", - -test: function testcase() { - // CHECK#1 -eval("//\u000C single line \u000C comment \u000C"); - -//CHECK#2 -var x = 0; -eval("//\u000C single line \u000C comment \u000C x = 1;"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("//\\u000C single line \\u000C comment \\u000C x = 1;"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.js deleted file mode 100644 index 3dd278ff2a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.3_T2; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain FORM FEED (U+000C); - * @description: Use real FORM FEED; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.3_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.js", - -assertion: "Single line comment can contain FORM FEED (U+000C)", - -description: "Use real FORM FEED", - -test: function testcase() { - //CHECK#1 -var x = 0; -// single line comment x = 1; -if (x !== 0) { - $ERROR('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.js deleted file mode 100644 index 59ccca681f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.4_T1; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain SPACE (U+0020); - * @description: Use SPACE(\u0020); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.4_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.js", - -assertion: "Single line comment can contain SPACE (U+0020)", - -description: "Use SPACE(\\u0020)", - -test: function testcase() { - // CHECK#1 -eval("//\u0020 single line \u0020 comment \u0020"); - -//CHECK#2 -var x = 0; -eval("//\u0020 single line \u0020 comment \u0020 x = 1;"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("//\\u0020 single line \\u0020 comment \\u0020 x = 1;"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.js deleted file mode 100644 index 31d8a40cfe..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.4_T2; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain SPACE (U+0020); - * @description: Use real SPACE; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.4_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.js", - -assertion: "Single line comment can contain SPACE (U+0020)", - -description: "Use real SPACE", - -test: function testcase() { - //CHECK#1 -var x = 0; -// single line comment x = 1; -if (x !== 0) { - $ERROR('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.js deleted file mode 100644 index 477ba056d7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.5_T1; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain NO-BREAK SPACE (U+00A0); - * @description: Use NO-BREAK SPACE(\u00A0); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.5_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.js", - -assertion: "Single line comment can contain NO-BREAK SPACE (U+00A0)", - -description: "Use NO-BREAK SPACE(\\u00A0)", - -test: function testcase() { - // CHECK#1 -eval("//\u00A0 single line \u00A0 comment \u00A0"); - -//CHECK#2 -var x = 0; -eval("//\u00A0 single line \u00A0 comment \u00A0 x = 1;"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("//\\u00A0 single line \\u00A0 comment \\u00A0 x = 1;"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.js deleted file mode 100644 index 4450c8b2bb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A3.5_T2; - * @section: 7.2, 7.4; - * @assertion: Single line comment can contain NO-BREAK SPACE (U+00A0); - * @description: Use real NO-BREAK SPACE; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A3.5_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.js", - -assertion: "Single line comment can contain NO-BREAK SPACE (U+00A0)", - -description: "Use real NO-BREAK SPACE", - -test: function testcase() { - //CHECK#1 -var x = 0; -// single line comment x = 1; -if (x !== 0) { - $ERROR('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.js deleted file mode 100644 index 2cae6f417a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.1_T1; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain HORIZONTAL TAB (U+0009); - * @description: Use HORIZONTAL TAB(\u0009); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.js", - -assertion: "Multi line comment can contain HORIZONTAL TAB (U+0009)", - -description: "Use HORIZONTAL TAB(\\u0009)", - -test: function testcase() { - // CHECK#1 -eval("/*\u0009 multi line \u0009 comment \u0009*/"); - -//CHECK#2 -var x = 0; -eval("/*\u0009 multi line \u0009 comment \u0009 x = 1;*/"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("/*\\u0009 multi line \\u0009 comment \\u0009 x = 1;*/"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.js deleted file mode 100644 index a855d34a8c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.1_T2; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain HORIZONTAL TAB (U+0009); - * @description: Use real HORIZONTAL TAB; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.js", - -assertion: "Multi line comment can contain HORIZONTAL TAB (U+0009)", - -description: "Use real HORIZONTAL TAB", - -test: function testcase() { - /*CHECK#1*/ -var x = 0; -/* multi line comment x = 1;*/ -if (x !== 0) { - $ERROR('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.js deleted file mode 100644 index 1ea04113cf..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.2_T1; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain VERTICAL TAB (U+000B); - * @description: Use VERTICAL TAB(\u000B); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.js", - -assertion: "Multi line comment can contain VERTICAL TAB (U+000B)", - -description: "Use VERTICAL TAB(\\u000B)", - -test: function testcase() { - // CHECK#1 -eval("/*\u000B multi line \u000B comment \u000B*/"); - -//CHECK#2 -var x = 0; -eval("/*\u000B multi line \u000B comment \u000B x = 1;*/"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("/*\\u000B multi line \\u000B comment \\u000B x = 1;*/"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.js deleted file mode 100644 index e40cdb1488..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.2_T2; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain VERTICAL TAB (U+000B); - * @description: Use real VERTICAL TAB; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.js", - -assertion: "Multi line comment can contain VERTICAL TAB (U+000B)", - -description: "Use real VERTICAL TAB", - -test: function testcase() { - /*CHECK#1*/ -var x = 0; -/* multi line comment x = 1;*/ -if (x !== 0) { - $ERROR('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.js deleted file mode 100644 index 6b176ff050..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.3_T1; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain FORM FEED (U+000C); - * @description: Use FORM FEED(\u000C); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.js", - -assertion: "Multi line comment can contain FORM FEED (U+000C)", - -description: "Use FORM FEED(\\u000C)", - -test: function testcase() { - // CHECK#1 -eval("/*\u000C multi line \u000C comment \u000C*/"); - -//CHECK#2 -var x = 0; -eval("/*\u000C multi line \u000C comment \u000C x = 1;*/"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("/*\\u000C multi line \\u000C comment \\u000C x = 1;*/"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.js deleted file mode 100644 index e0ba6a1772..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.3_T2; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain FORM FEED (U+000C); - * @description: Use real FORM FEED; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.3_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.js", - -assertion: "Multi line comment can contain FORM FEED (U+000C)", - -description: "Use real FORM FEED", - -test: function testcase() { - /*CHECK#1*/ -var x = 0; -/* multi line comment x = 1;*/ -if (x !== 0) { - $ERROR('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.js deleted file mode 100644 index 0c4ceb212f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.4_T1; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain SPACE (U+0020); - * @description: Use SPACE(\u0020); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.4_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.js", - -assertion: "Multi line comment can contain SPACE (U+0020)", - -description: "Use SPACE(\\u0020)", - -test: function testcase() { - // CHECK#1 -eval("/*\u0020 multi line \u0020 comment \u0020*/"); - -//CHECK#2 -var x = 0; -eval("/*\u0020 multi line \u0020 comment \u0020 x = 1;*/"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("/*\\u0020 multi line \\u0020 comment \\u0020 x = 1;*/"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.js deleted file mode 100644 index 68a84eaa6e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.4_T2; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain SPACE (U+0020); - * @description: Use real SPACE; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.4_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.js", - -assertion: "Multi line comment can contain SPACE (U+0020)", - -description: "Use real SPACE", - -test: function testcase() { - /*CHECK#1*/ -var x = 0; -/* multi line comment x = 1;*/ -if (x !== 0) { - $ERROR('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.js deleted file mode 100644 index 5d65a444e5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.5_T1; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain NO-BREAK SPACE (U+00A0); - * @description: Use NO-BREAK SPACE(\u00A0); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.5_T1", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.js", - -assertion: "Multi line comment can contain NO-BREAK SPACE (U+00A0)", - -description: "Use NO-BREAK SPACE(\\u00A0)", - -test: function testcase() { - // CHECK#1 -eval("/*\u00A0 multi line \u00A0 comment \u00A0*/"); - -//CHECK#2 -var x = 0; -eval("/*\u00A0 multi line \u00A0 comment \u00A0 x = 1;*/"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("/*\\u00A0 multi line \\u00A0 comment \\u00A0 x = 1;*/"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.js deleted file mode 100644 index 10a0c6be05..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.2_A4.5_T2; - * @section: 7.2, 7.4; - * @assertion: Multi line comment can contain NO-BREAK SPACE (U+00A0); - * @description: Use real NO-BREAK SPACE; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.2_A4.5_T2", - -path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.js", - -assertion: "Multi line comment can contain NO-BREAK SPACE (U+00A0)", - -description: "Use real NO-BREAK SPACE", - -test: function testcase() { - /*CHECK#1*/ -var x = 0; -/* multi line comment x = 1;*/ -if (x !== 0) { - $ERROR('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.js deleted file mode 100644 index d514505c82..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var\u0009x; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.js deleted file mode 100644 index bc88533206..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var\u000Bx; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.js deleted file mode 100644 index 1cfaba22bb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var\u000Cx; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.js deleted file mode 100644 index 8e46b12b2c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var\u0020x; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.js deleted file mode 100644 index fda6074637..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var\u00A0x; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.js deleted file mode 100644 index 74d80ef571..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A1.1_T1; - * @section: 7.3; - * @assertion: LINE FEED (U+000A) may occur between any two tokens; - * @description: Insert LINE FEED (\u000A and \n) between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A1.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.js", - -assertion: "LINE FEED (U+000A) may occur between any two tokens", - -description: "Insert LINE FEED (\\u000A and \\n) between tokens of var x=1", - -test: function testcase() { - // CHECK#1 -eval("\u000Avar\u000Ax\u000A=\u000A1\u000A"); -if (x !== 1) { - $ERROR('#1: eval("\\u000Avar\\u000Ax\\u000A=\\u000A1\\u000A"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval("\u000A" + "var" + "\u000A" + "x" + "\u000A" + "=" + "\u000A" + "1" + "\u000A"); -if (x !== 1) { - $ERROR('#2: eval("\\u000A" + "var" + "\\u000A" + "x" + "\\u000A" + "=" + "\\u000A" + "1" + "\\u000A"); x === 1. Actual: ' + (x)); -} - -//CHECK#3 -eval("\nvar\nx\n=\n1\n"); -if (x !== 1) { - $ERROR('#3: eval("\\nvar\\nx\\n=\\n1\\n"); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -eval("\n" + "var" + "\n" + "x" + "\n" + "=" + "\n" + "1" + "\n"); -if (x !== 1) { - $ERROR('#4: eval("\\n" + "var" + "\\n" + "x" + "\\n" + "=" + "\\n" + "1" + "\\n"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -eval("\u000A" + "var" + "\n" + "x" + "\u000A" + "=" + "\n" + "1" + "\u000A"); -if (x !== 1) { - $ERROR('#5: eval("\\u000A" + "var" + "\\n" + "x" + "\\u000A" + "=" + "\\n" + "1" + "\\u000A"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.js deleted file mode 100644 index 4ddfb75ab1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A1.1_T2; - * @section: 7.3; - * @assertion: LINE FEED (U+000A) may occur between any two tokens; - * @description: Insert real LINE FEED between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A1.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.js", - -assertion: "LINE FEED (U+000A) may occur between any two tokens", - -description: "Insert real LINE FEED between tokens of var x=1", - -test: function testcase() { - //CHECK#1 -var -x -= -1; -if (x !== 1) { - $ERROR('#1: var\\nx\\n=\\n1\\n; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js deleted file mode 100644 index b095d8cc30..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A1.2_T1; - * @section: 7.3; - * @assertion: CARRIAGE RETURN (U+000D) may occur between any two tokens; - * @description: Insert CARRIAGE RETURN (\u000D and \r) between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A1.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js", - -assertion: "CARRIAGE RETURN (U+000D) may occur between any two tokens", - -description: "Insert CARRIAGE RETURN (\\u000D and \\r) between tokens of var x=1", - -test: function testcase() { - // CHECK#1 -eval("\u000Dvar\u000Dx\u000D=\u000D1\u000D"); -if (x !== 1) { - $ERROR('#1: eval("\\u000Dvar\\u000Dx\\u000D=\\u000D1\\u000D"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval("\u000D" + "var" + "\u000D" + "x" + "\u000D" + "=" + "\u000D" + "1" + "\u000D"); -if (x !== 1) { - $ERROR('#2: eval("\\u000D" + "var" + "\\u000D" + "x" + "\\u000D" + "=" + "\\u000D" + "1" + "\\u000D"); x === 1. Actual: ' + (x)); -} - -//CHECK#3 -eval("\rvar\rx\r=\r1\r"); -if (x !== 1) { - $ERROR('#3: eval("\\rvar\\rx\\r=\\r1\\r"); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -eval("\r" + "var" + "\r" + "x" + "\r" + "=" + "\r" + "1" + "\r"); -if (x !== 1) { - $ERROR('#4: eval("\\r" + "var" + "\\r" + "x" + "\\r" + "=" + "\\r" + "1" + "\\r"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -eval("\u000D" + "var" + "\r" + "x" + "\u000D" + "=" + "\r" + "1" + "\u000D"); -if (x !== 1) { - $ERROR('#5: eval("\\u000D" + "var" + "\\r" + "x" + "\\u000D" + "=" + "\\r" + "1" + "\\u000D"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.js deleted file mode 100644 index 1763eb075d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A1.2_T2; - * @section: 7.3; - * @assertion: CARRIAGE RETURN (U+000D) may occur between any two tokens; - * @description: Insert real CARRIAGE RETURN between tokens of var x=1; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A1.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.js", - -assertion: "CARRIAGE RETURN (U+000D) may occur between any two tokens", - -description: "Insert real CARRIAGE RETURN between tokens of var x=1", - -test: function testcase() { - //CHECK#1 var x -= 1; if (x !== 1) { $ERROR('#1: var\\nx\\n=\\n1\\n; x === 1. Actual: ' + (x)); } - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.js deleted file mode 100644 index 1dccf79059..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A1.3; - * @section: 7.3; - * @assertion: LINE SEPARATOR (U+2028) may occur between any two tokens; - * @description: Insert LINE SEPARATOR (\u2028) between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A1.3", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.js", - -assertion: "LINE SEPARATOR (U+2028) may occur between any two tokens", - -description: "Insert LINE SEPARATOR (\\u2028) between tokens of var x=1", - -test: function testcase() { - // CHECK#1 -eval("\u2028var\u2028x\u2028=\u20281\u2028"); -if (x !== 1) { - $ERROR('#1: eval("\\u2028var\\u2028x\\u2028=\\u20281\\u2028"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval("\u2028" + "var" + "\u2028" + "x" + "\u2028" + "=" + "\u2028" + "1" + "\u2028"); -if (x !== 1) { - $ERROR('#2: eval("\\u2028" + "var" + "\\u2028" + "x" + "\\u2028" + "=" + "\\u2028" + "1" + "\\u2028"); x === 1. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.js deleted file mode 100644 index 422bc7facf..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A1.4; - * @section: 7.3; - * @assertion: PARAGRAPH SEPARATOR (U+2029) may occur between any two tokens; - * @description: Insert PARAGRAPH SEPARATOR (\u2029) between tokens of var x=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A1.4", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.js", - -assertion: "PARAGRAPH SEPARATOR (U+2029) may occur between any two tokens", - -description: "Insert PARAGRAPH SEPARATOR (\\u2029) between tokens of var x=1", - -test: function testcase() { - // CHECK#1 -eval("\u2029var\u2029x\u2029=\u20291\u2029"); -if (x !== 1) { - $ERROR('#1: eval("\\u2029var\\u2029x\\u2029=\\u20291\\u2029"); x === 1. Actual: ' + (x)); -} - -//CHECK#2 -eval("\u2029" + "var" + "\u2029" + "x" + "\u2029" + "=" + "\u2029" + "1" + "\u2029"); -if (x !== 1) { - $ERROR('#2: eval("\\u2029" + "var" + "\\u2029" + "x" + "\\u2029" + "=" + "\\u2029" + "1" + "\\u2029"); x === 1. Actual: ' + (x)); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.js deleted file mode 100644 index 03e2d1dd64..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -if (eval("'\u000Astr\u000Aing\u000A'") === "\u000Astr\u000Aing\u000A") { - $ERROR('#1: eval("\'\\u000Astr\\u000Aing\\u000A\'") === "\\u000Astr\\u000Aing\\u000A"'); -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.js deleted file mode 100644 index 7a11f01080..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -" -str -ing -"; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.js deleted file mode 100644 index 665702720e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -if (eval("'\u000Dstr\u000Ding\u000D'") === "\u000Dstr\u000Ding\u000D") { - $ERROR('#1: eval("\'\\u000Dstr\\u000Ding\\u000D\'") === "\\u000Dstr\\u000Ding\\u000D"'); -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.js deleted file mode 100644 index 39bef65d0d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 " str ing "; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.js deleted file mode 100644 index a2d9896c9a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -if (eval("'\u2028str\u2028ing\u2028'") === "\u2028str\u2028ing\u2028") { - $ERROR('#1: eval("\'\\u2028str\\u2028ing\\u2028\'") === "\\u2028str\\u2028ing\\u2028"'); -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.js deleted file mode 100644 index 8c1a332266..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -if (eval("'\u2029str\u2029ing\u2029'") === "\u2029str\u2029ing\u2029") { - $ERROR('#1: eval("\'\\u2029str\\u2029ing\\u2029\'") === "\\u2029str\\u2029ing\\u2029"'); -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.js deleted file mode 100644 index c77d9634e1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 eval("// single line \u000A comment"); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.js deleted file mode 100644 index e12c439371..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 eval("//\u000A single line comment"); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.js deleted file mode 100644 index 8b4f848afa..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -//single -line comment - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.js deleted file mode 100644 index b1c09f7190..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 eval("// single line \u000D comment"); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.js deleted file mode 100644 index bb24941972..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 eval("//\u000D single line comment"); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.js deleted file mode 100644 index c1fad6c8b9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 //single line comment - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.js deleted file mode 100644 index b1e9a07b1f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 eval("// single line \u2028 comment"); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.js deleted file mode 100644 index 346a062eae..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 eval("//\u2028 single line comment"); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.js deleted file mode 100644 index 46f881cec1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 eval("// single line \u2029 comment"); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.js deleted file mode 100644 index c804082ce3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 eval("//\u2029 single line comment"); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.js deleted file mode 100644 index 5cdcc26535..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** * @name: S7.3_A4_T1; * @section: 7.3, 7.4; * @assertion: Single line comments can contain Line Terminator at the end of line; * @description: Insert LINE FEED (U+000A) into the end of single line comment; */ -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A4_T1", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.js", - -assertion: "Single line comments can contain Line Terminator at the end of line", - -description: "Insert LINE FEED (U+000A) into the end of single line comment", - -test: function testcase() { - // CHECK#1 eval("// single line comment\u000A"); // CHECK#2 var x = 0; eval("// single line comment\u000A x = 1;"); if (x !== 1) { $ERROR('#1: var x = 0; eval("// single line comment\\u000A x = 1;"); x === 1. Actual: ' + (x)); } - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.js deleted file mode 100644 index 316e0810fc..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** * @name: S7.3_A4_T2; * @section: 7.3, 7.4; * @assertion: Single line comments can contain Line Terminator at the end of line; * @description: Insert CARRIAGE RETURN (U+000D) into the end of single line comment; */ -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A4_T2", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.js", - -assertion: "Single line comments can contain Line Terminator at the end of line", - -description: "Insert CARRIAGE RETURN (U+000D) into the end of single line comment", - -test: function testcase() { - // CHECK#1 eval("// single line comment\u000D"); // CHECK#2 var x = 0; eval("// single line comment\u000D x = 1;"); if (x !== 1) { $ERROR('#1: var x = 0; eval("// single line comment\\u000D x = 1;"); x === 1. Actual: ' + (x)); } - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.js deleted file mode 100644 index a4fae09c27..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** * @name: S7.3_A4_T3; * @section: 7.3, 7.4; * @assertion: Single line comments can contain Line Terminator at the end of line; * @description: Insert LINE SEPARATOR (U+2028) into the end of single line comment; */ -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A4_T3", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.js", - -assertion: "Single line comments can contain Line Terminator at the end of line", - -description: "Insert LINE SEPARATOR (U+2028) into the end of single line comment", - -test: function testcase() { - // CHECK#1 eval("// single line comment\u2028"); // CHECK#2 var x = 0; eval("// single line comment\u2028 x = 1;"); if (x !== 1) { $ERROR('#1: var x = 0; eval("// single line comment\\u2028 x = 1;"); x === 1. Actual: ' + (x)); } - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.js deleted file mode 100644 index f62e03416f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** * @name: S7.3_A4_T4; * @section: 7.3, 7.4; * @assertion: Single line comments can contain Line Terminator at the end of line; * @description: Insert PARAGRAPH SEPARATOR (U+2029) into the end of single line comment; */ -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A4_T4", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.js", - -assertion: "Single line comments can contain Line Terminator at the end of line", - -description: "Insert PARAGRAPH SEPARATOR (U+2029) into the end of single line comment", - -test: function testcase() { - // CHECK#1 eval("// single line comment\u2029"); // CHECK#2 var x = 0; eval("// single line comment\u2029 x = 1;"); if (x !== 1) { $ERROR('#1: var x = 0; eval("// single line comment\\u2029 x = 1;"); x === 1. Actual: ' + (x)); } - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.js deleted file mode 100644 index 56f09c3ab6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A5.1_T1; - * @section: 7.3, 7.4; - * @assertion: Multi line comment can contain LINE FEED (U+000A); - * @description: Insert LINE FEED (U+000A) into multi line comment; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A5.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.js", - -assertion: "Multi line comment can contain LINE FEED (U+000A)", - -description: "Insert LINE FEED (U+000A) into multi line comment", - -test: function testcase() { - // CHECK#1 -eval("/*\u000A multi line \u000A comment \u000A*/"); - -//CHECK#2 -var x = 0; -eval("/*\u000A multi line \u000A comment \u000A x = 1;*/"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("/*\\u000A multi line \\u000A comment \\u000A x = 1;*/"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.js deleted file mode 100644 index dfda27f977..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A5.1_T2; - * @section: 7.3, 7.4; - * @assertion: Multi line comment can contain LINE FEED (U+000A); - * @description: Insert real LINE FEED into multi line comment; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A5.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.js", - -assertion: "Multi line comment can contain LINE FEED (U+000A)", - -description: "Insert real LINE FEED into multi line comment", - -test: function testcase() { - /*CHECK#1*/ -var x = 0; -/* -multi -line -comment -x = 1; -*/ -if (x !== 0) { - $ERROR('#1: var x = 0; /*\\nmulti\\nline\\ncomment\\nx = 1;\\n*/ x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.js deleted file mode 100644 index d546ad46ec..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A5.2_T1; - * @section: 7.3, 7.4; - * @assertion: Multi line comment can contain CARRIAGE RETURN (U+000D); - * @description: Insert CARRIAGE RETURN (U+000D) into multi line comment; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A5.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.js", - -assertion: "Multi line comment can contain CARRIAGE RETURN (U+000D)", - -description: "Insert CARRIAGE RETURN (U+000D) into multi line comment", - -test: function testcase() { - // CHECK#1 -eval("/*\u000D multi line \u000D comment \u000D*/"); - -//CHECK#2 -var x = 0; -eval("/*\u000D multi line \u000D comment \u000D x = 1;*/"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("/*\\u000D multi line \\u000D comment \\u000D x = 1;*/"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.js deleted file mode 100644 index acce1c8583..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A5.2_T2; - * @section: 7.3, 7.4; - * @assertion: Multi line comment can contain CARRIAGE RETURN (U+000D); - * @description: Insert real CARRIAGE RETURN into multi line comment; - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A5.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.js", - -assertion: "Multi line comment can contain CARRIAGE RETURN (U+000D)", - -description: "Insert real CARRIAGE RETURN into multi line comment", - -test: function testcase() { - /*CHECK#1*/ var x = 0; /* multi line comment x = 1; */ if (x !== 0) { $ERROR('#1: var x = 0; /*\\rmulti\\rline\\rcomment\\rx = 1;\\r*/ x === 0. Actual: ' + (x)); } - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.js deleted file mode 100644 index 448c4e0cfb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A5.3; - * @section: 7.3, 7.4; - * @assertion: Multi line comment can contain LINE SEPARATOR (U+2028); - * @description: Insert LINE SEPARATOR (U+2028) into multi line comment; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A5.3", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.js", - -assertion: "Multi line comment can contain LINE SEPARATOR (U+2028)", - -description: "Insert LINE SEPARATOR (U+2028) into multi line comment", - -test: function testcase() { - // CHECK#1 -eval("/*\u2028 multi line \u2028 comment \u2028*/"); - -//CHECK#2 -var x = 0; -eval("/*\u2028 multi line \u2028 comment \u2028 x = 1;*/"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("/*\\u2028 multi line \\u2028 comment \\u2028 x = 1;*/"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.js deleted file mode 100644 index abe701d42c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A5.4; - * @section: 7.3, 7.4; - * @assertion: Multi line comment can contain LINE SEPARATOR (U+2029); - * @description: Insert PARAGRAPH SEPARATOR (U+2029) into multi line comment; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A5.4", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.js", - -assertion: "Multi line comment can contain LINE SEPARATOR (U+2029)", - -description: "Insert PARAGRAPH SEPARATOR (U+2029) into multi line comment", - -test: function testcase() { - // CHECK#1 -eval("/*\u2029 multi line \u2029 comment \u2029*/"); - -//CHECK#2 -var x = 0; -eval("/*\u2029 multi line \u2029 comment \u2029 x = 1;*/"); -if (x !== 0) { - $ERROR('#1: var x = 0; eval("/*\\u2029 multi line \\u2029 comment \\u2029 x = 1;*/"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.js deleted file mode 100644 index 55bc87bbc9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var\u000Ax; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.js deleted file mode 100644 index 64f0b54108..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var\u000Dx; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.js deleted file mode 100644 index 9085076ed4..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var\u2028x; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.js deleted file mode 100644 index 0a6a8e2b63..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var\u2029x; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.js deleted file mode 100644 index 8b8f3df78b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A7_T1; - * @section: 7.3; - * @assertion: Line Terminators between operators are allowed; - * @description: Insert Line Terminator in var x=y+z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A7_T1", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.js", - -assertion: "Line Terminators between operators are allowed", - -description: "Insert Line Terminator in var x=y+z", - -test: function testcase() { - // CHECK#1 -var y=2; -var z=3; -var -x -= -y -+ -z -; -if (x !== 5) { - $ERROR('#1: var\\nx\\n=\\ny\\n+\\nz\\n; x === 5. Actual: ' + (x)); -} -x=0; - -// CHECK#2 -var y=2; -var z=3; -var -x -= -y -+ -z -; -if (x !== 5) { - $ERROR('#2: var\\nx\\n=\\ny\\n+\\nz\\n; x === 5. Actual: ' + (x)); -} -x=0; - -// CHECK#3 -var y=2; -var z=3; -eval("\u2028var\u2028x\u2028=\u2028y\u2028+\u2028z\u2028"); -if (x !== 5) { - $ERROR('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028+\\u2028z\\u2028"); x === 5. Actual: ' + (x)); -} -x=0; - -// CHECK#4 -var y=2; -var z=3; -eval("\u2029var\u2029x\u2029=\u2029y\u2029+\u2029z\u2029"); -if (x !== 5) { - $ERROR('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029+\\u2029z\\u2029"); x === 5. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.js deleted file mode 100644 index 501ca885d2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A7_T2; - * @section: 7.3; - * @assertion: Line Terminators between operators are allowed; - * @description: Insert Line Terminator in var x=y-z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A7_T2", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.js", - -assertion: "Line Terminators between operators are allowed", - -description: "Insert Line Terminator in var x=y-z", - -test: function testcase() { - // CHECK#1 -var y=3; -var z=2; -var -x -= -y -- -z -; -if (x !== 1) { - $ERROR('#1: var\\nx\\n=\\ny\\n-\\nz\\n; x === 1. Actual: ' + (x)); -} -x=0; - -// CHECK#2 -var y=3; -var z=2; -var -x -= -y -- -z -; -if (x !== 1) { - $ERROR('#2: var\\nx\\n=\\ny\\n-\\nz\\n; x === 1. Actual: ' + (x)); -} -x=0; - -// CHECK#3 -var y=3; -var z=2; -eval("\u2028var\u2028x\u2028=\u2028y\u2028-\u2028z\u2028"); -if (x !== 1) { - $ERROR('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028-\\u2028z\\u2028"); x === 1. Actual: ' + (x)); -} -x=0; - -// CHECK#4 -var y=3; -var z=2; -eval("\u2029var\u2029x\u2029=\u2029y\u2029-\u2029z\u2029"); -if (x !== 1) { - $ERROR('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029-\\u2029z\\u2029"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.js deleted file mode 100644 index 884942f9ea..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A7_T3; - * @section: 7.3; - * @assertion: Line Terminators between operators are allowed; - * @description: Insert Line Terminator in var x=y*z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A7_T3", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.js", - -assertion: "Line Terminators between operators are allowed", - -description: "Insert Line Terminator in var x=y*z", - -test: function testcase() { - // CHECK#1 -var y=3; -var z=2; -var -x -= -y -* -z -; -if (x !== 6) { - $ERROR('#1: var\\nx\\n=\\ny\\n*\\nz\\n; x === 6. Actual: ' + (x)); -} -x=0; - -// CHECK#2 -var y=3; -var z=2; -var -x -= -y -* -z -; -if (x !== 6) { - $ERROR('#2: var\\nx\\n=\\ny\\n*\\nz\\n; x === 6. Actual: ' + (x)); -} -x=0; - -// CHECK#3 -var y=3; -var z=2; -eval("\u2028var\u2028x\u2028=\u2028y\u2028*\u2028z\u2028"); -if (x !== 6) { - $ERROR('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028*\\u2028z\\u2028"); x === 6. Actual: ' + (x)); -} -x=0; - -// CHECK#4 -var y=3; -var z=2; -eval("\u2029var\u2029x\u2029=\u2029y\u2029*\u2029z\u2029"); -if (x !== 6) { - $ERROR('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029*\\u2029z\\u2029"); x === 6. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js deleted file mode 100644 index be40dc538d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A7_T4; - * @section: 7.3; - * @assertion: Line Terminators between operators are allowed; - * @description: Insert Line Terminator in var x=y/z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A7_T4", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js", - -assertion: "Line Terminators between operators are allowed", - -description: "Insert Line Terminator in var x=y/z", - -test: function testcase() { - // CHECK#1 -var y=12; -var z=2; -var -x -= -y -/ -z -; -if (x !== 6) { - $ERROR('#1: var\\nx\\n=\\ny\\n/\\nz\\n; x === 6. Actual: ' + (x)); -} -x=0; - -// CHECK#2 -var y=12; -var z=2; -var -x -= -y -/ -z -; -if (x !== 6) { - $ERROR('#2: var\\nx\\n=\\ny\\n/\\nz\\n; x === 6. Actual: ' + (x)); -} -x=0; - -// CHECK#3 -var y=12; -var z=2; -eval("\u2028var\u2028x\u2028=\u2028y\u2028/\u2028z\u2028"); -if (x !== 6) { - $ERROR('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028/\\u2028z\\u2028"); x === 6. Actual: ' + (x)); -} -x=0; - -// CHECK#4 -var y=12; -var z=2; -eval("\u2029var\u2029x\u2029=\u2029y\u2029/\u2029z\u2029"); -if (x !== 6) { - $ERROR('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029/\\u2029z\\u2029"); x === 6. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.js deleted file mode 100644 index edafbac5da..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A7_T5; - * @section: 7.3; - * @assertion: Line Terminators between operators are allowed; - * @description: Insert Line Terminator in var x=y%z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A7_T5", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.js", - -assertion: "Line Terminators between operators are allowed", - -description: "Insert Line Terminator in var x=y%z", - -test: function testcase() { - // CHECK#1 -var y=16; -var z=10; -var -x -= -y -% -z -; -if (x !== 6) { - $ERROR('#1: var\\nx\\n=\\ny\\n%\\nz\\n; x === 6. Actual: ' + (x)); -} -x=0; - -// CHECK#2 -var y=16; -var z=10; -var -x -= -y -% -z -; -if (x !== 6) { - $ERROR('#2: var\\nx\\n=\\ny\\n%\\nz\\n; x === 6. Actual: ' + (x)); -} -x=0; - -// CHECK#3 -var y=16; -var z=10; -eval("\u2028var\u2028x\u2028=\u2028y\u2028%\u2028z\u2028"); -if (x !== 6) { - $ERROR('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028%\\u2028z\\u2028"); x === 6. Actual: ' + (x)); -} -x=0; - -// CHECK#4 -var y=16; -var z=10; -eval("\u2029var\u2029x\u2029=\u2029y\u2029%\u2029z\u2029"); -if (x !== 6) { - $ERROR('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029%\\u2029z\\u2029"); x === 6. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.js deleted file mode 100644 index e5a7c9f344..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A7_T6; - * @section: 7.3; - * @assertion: Line Terminators between operators are allowed; - * @description: Insert Line Terminator in var x=y>>z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.3_A7_T6", - -path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.js", - -assertion: "Line Terminators between operators are allowed", - -description: "Insert Line Terminator in var x=y>>z", - -test: function testcase() { - // CHECK#1 -var y=16; -var z=3; -var -x -= -y ->> -z -; -if (x !== 2) { - $ERROR('#1: var\\nx\\n=\\ny\\n>>\\nz\\n; x === 2. Actual: ' + (x)); -} -x=0; - -// CHECK#2 -var y=16; -var z=3; -var -x -= -y ->> -z -; -if (x !== 2) { - $ERROR('#2: var\\nx\\n=\\ny\\n>>\\nz\\n; x === 2. Actual: ' + (x)); -} -x=0; - -// CHECK#3 -var y=16; -var z=3; -eval("\u2028var\u2028x\u2028=\u2028y\u2028>>\u2028z\u2028"); -if (x !== 2) { - $ERROR('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028>>\\u2028z\\u2028"); x === 2. Actual: ' + (x)); -} -x=0; - -// CHECK#4 -var y=16; -var z=3; -eval("\u2029var\u2029x\u2029=\u2029y\u2029>>\u2029z\u2029"); -if (x !== 2) { - $ERROR('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029>>\\u2029z\\u2029"); x === 2. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.js deleted file mode 100644 index e0d096e93d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.3_A7_T7; - * @section: 7.3; - * @assertion: Line Terminators between operators are allowed; - * @description: Insert Line Terminator in var x=y< 0) { - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A6.js deleted file mode 100644 index 623ddea746..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.4_Comments/S7.4_A6.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.4_A6; - * @section: 7.4; - * @assertion: If multi line comments csn not nest, they can contain any Unicode character; - * @description: "var"+ yy+ "xx = 1", insert instead of yy all Unicode characters; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.4_A6", - -path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A6.js", - -assertion: "If multi line comments csn not nest, they can contain any Unicode character", - -description: "\"var\"+ yy+ \"xx = 1\", insert instead of yy all Unicode characters", - -test: function testcase() { - //CHECK -errorCount = 0; -count = 0; -for (indexI = 0; indexI <= 65535; indexI++) { - try { - var xx = 0; - eval("/*var " + String.fromCharCode(indexI) + "xx = 1*/"); - var hex = decimalToHexString(indexI); - if (xx !== 0) { - $ERROR('#' + hex + ' '); - errorCount++; - } - } catch (e){ - $ERROR('#' + hex + ' '); - errorCount++; - } - count++; -} - -if (errorCount > 0) { - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.js deleted file mode 100644 index 966c2c1072..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - null = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.js deleted file mode 100644 index 6723d8e7de..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - true = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.js deleted file mode 100644 index 32b0b65057..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - false = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.js deleted file mode 100644 index 00db75dca1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.js +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.1_A2; - * @section: 7.5.1; - * @assertion: List of words that are not reserved; - * @description: Try assign 1 for not reserved words; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.1_A2", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.js", - -assertion: "List of words that are not reserved", - -description: "Try assign 1 for not reserved words", - -test: function testcase() { - // a -and = 1; -and_eq = 1; -as = 1; -asm = 1; -assert = 1; -auto = 1; -// b -base = 1; -bitand = 1; -bitor = 1; -bool = 1; -byvalue = 1; -// c -checked = 1; -clone = 1; -comment = 1; -compl = 1; -const_cast = 1; -// d -decimal = 1; -delegate = 1; -dynamic_cast = 1; -// e -explicit = 1; -extern = 1; -equals = 1; -event = 1; -// f -finalize = 1; -fixed = 1; -friend = 1; -foreach = 1; -future = 1; -// g -getClass = 1; -generic = 1; -// h -hashCode = 1; -// i -implicit = 1; -infinity = 1; -inline = 1; -inner = 1; -internal = 1; -is = 1; -// j -// k -// l -lock = 1; -// m -mutable = 1; -// n -NaN = 1; -namespace = 1; -not = 1; -notify = 1; -notifyAll = 1; -not_eq = 1; -// o -object = 1; -operator = 1; -or = 1; -or_eq = 1; -out = 1; -outer = 1; -override = 1; -// p -params = 1; -// q -// r -readonly = 1; -reinterpret_cast = 1; -ref = 1; -register = 1; - -// s -sbyte = 1; -signed = 1; -sizeof = 1; -stackalloc = 1; -static_cast = 1; -string = 1; -strictfp = 1; -struct = 1; -// t -template = 1; -toString = 1; -typedef = 1; -typeid = 1; -// u -uint = 1; -unchecked = 1; -undefiend = 1; -union = 1; -unsafe = 1; -unsigned = 1; -use = 1; -using = 1; -ushort = 1; -// v -valueOf = 1; -virtual = 1; -// w -wait = 1; -wchar_t = 1; -// x -xor = 1; -xor_eq = 1; -// y -// z - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.js deleted file mode 100644 index 245afa4bb5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - break = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.js deleted file mode 100644 index d1165d970b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - for = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.js deleted file mode 100644 index fb8aec11eb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.js deleted file mode 100644 index 5033251cab..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - if = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.js deleted file mode 100644 index 1c910bc329..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - in = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.js deleted file mode 100644 index 88a86d548d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - instanceof = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.js deleted file mode 100644 index 8e101b53d1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - new = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.js deleted file mode 100644 index 3a6351ae90..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - return = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.js deleted file mode 100644 index c79ddb88aa..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - switch = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.js deleted file mode 100644 index 47faa465a7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - this = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.js deleted file mode 100644 index a09de17d2e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - throw = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.js deleted file mode 100644 index e600fde19b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - case = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.js deleted file mode 100644 index 345a91aa12..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - try = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.js deleted file mode 100644 index c61cf89439..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - typeof = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.js deleted file mode 100644 index 2ca5429598..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.js deleted file mode 100644 index 92aac5c8af..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - void = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.js deleted file mode 100644 index 6af4f1b2a5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - while = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.js deleted file mode 100644 index 19a0ceade5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - with = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.js deleted file mode 100644 index 57c0923813..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - catch = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.js deleted file mode 100644 index e35549411b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - continue = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.js deleted file mode 100644 index bebdeee33c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - default = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.js deleted file mode 100644 index 67ba11888c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - delete = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.js deleted file mode 100644 index 824a21ae7b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - do = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.js deleted file mode 100644 index 9e6ebff41e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - else = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.js deleted file mode 100644 index dd593dc769..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - finally = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.js deleted file mode 100644 index fe11cb32f0..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.1; - * @section: 7.5.3; - * @assertion: The "abstract" token can be used as identifier; - * @description: Checking if execution of "abstract=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.1", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.js", - -assertion: "The \"abstract\" token can be used as identifier", - -description: "Checking if execution of \"abstract=1\" succeeds", - -test: function testcase() { - abstract = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.js deleted file mode 100644 index b082d1f0d2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - export = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js deleted file mode 100644 index f92ec27a80..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - extends = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.js deleted file mode 100644 index 2db6312e29..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.12; - * @section: 7.5.3; - * @assertion: The "final" token can be used as identifier; - * @description: Checking if execution of "final=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.12", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.js", - -assertion: "The \"final\" token can be used as identifier", - -description: "Checking if execution of \"final=1\" succeeds", - -test: function testcase() { - final = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.js deleted file mode 100644 index f6a1d7dcfa..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.13; - * @section: 7.5.3; - * @assertion: The "float" token can be used as identifier; - * @description: Checking if execution of "float=1" succeeds; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.13", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.js", - -assertion: "The \"float\" token can be used as identifier", - -description: "Checking if execution of \"float=1\" succeeds", - -test: function testcase() { - float = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.js deleted file mode 100644 index 82ee82698d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.14; - * @section: 7.5.3; - * @assertion: The "goto" token can be used as identifier; - * @description: Checking if execution of "goto=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.14", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.js", - -assertion: "The \"goto\" token can be used as identifier", - -description: "Checking if execution of \"goto=1\" succeeds", - -test: function testcase() { - goto = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.js deleted file mode 100644 index dde3d36dd2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - "use strict"; -implements = 1; - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15ns.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15ns.js deleted file mode 100644 index 1a310dff8c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15ns.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.15; - * @section: 7.5.3; - * @assertion: The "implements" token can be used as identifier in non-strict code; - * @description: Checking if execution of "implements=1" succeeds in non-strict code; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.15ns", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15ns.js", - -assertion: "The \"implements\" token can be used as identifier in non-strict code", - -description: "Checking if execution of \"implements=1\" succeeds in non-strict code", - -test: function testcase() { - new Function('implements = 1'); - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.js deleted file mode 100644 index c13d3e26d5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - import = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.js deleted file mode 100644 index 4fe62d2ba4..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.17; - * @section: 7.5.3; - * @assertion: The "int" token can be used as identifier; - * @description: Checking if execution of "int=1" succeeds; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.17", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.js", - -assertion: "The \"int\" token can be used as identifier", - -description: "Checking if execution of \"int=1\" succeeds", - -test: function testcase() { - int = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js deleted file mode 100644 index 700b5a6da1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - "use strict"; -interface = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18ns.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18ns.js deleted file mode 100644 index ef701f585f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18ns.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.18; - * @section: 7.5.3; - * @assertion: The "interface" token can be used as identifier in non-strict code; - * @description: Checking if execution of "interface = 1" succeeds in strict code; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.18ns", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18ns.js", - -assertion: "The \"interface\" token can be used as identifier in non-strict code", - -description: "Checking if execution of \"interface = 1\" succeeds in strict code", - -test: function testcase() { - new Function('interface = 1'); - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.js deleted file mode 100644 index 709a5fe852..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.19; - * @section: 7.5.3; - * @assertion: The "long" token can be used as identifier; - * @description: Checking if execution of "long=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.19", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.js", - -assertion: "The \"long\" token can be used as identifier", - -description: "Checking if execution of \"long=1\" succeeds", - -test: function testcase() { - long = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.js deleted file mode 100644 index 5ccb0c8fe8..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.2; - * @section: 7.5.3; - * @assertion: The "boolean" token can be used as identifier; - * @description: Checking if execution of "boolean=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.2", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.js", - -assertion: "The \"boolean\" token can be used as identifier", - -description: "Checking if execution of \"boolean=1\" succeeds", - -test: function testcase() { - boolean = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.js deleted file mode 100644 index 5d444f54de..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.20; - * @section: 7.5.3; - * @assertion: The "native" token can be used as identifier; - * @description: Checking if execution of "native=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.20", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.js", - -assertion: "The \"native\" token can be used as identifier", - -description: "Checking if execution of \"native=1\" succeeds", - -test: function testcase() { - native = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.js deleted file mode 100644 index d51aea2c22..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - "use strict"; -package = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21ns.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21ns.js deleted file mode 100644 index bfd9f21857..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21ns.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.21; - * @section: 7.5.3; - * @assertion: The "package" token can be used as identifier in non-strict code; - * @description: Checking if execution of "package=1" succeeds in non-strict code; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.21ns", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21ns.js", - -assertion: "The \"package\" token can be used as identifier in non-strict code", - -description: "Checking if execution of \"package=1\" succeeds in non-strict code", - -test: function testcase() { - new Function('package = 1'); - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.js deleted file mode 100644 index e619cf22ae..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - "use strict"; -private = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22ns.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22ns.js deleted file mode 100644 index 3b491b18e3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22ns.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.22; - * @section: 7.5.3; - * @assertion: The "private" token can be used as identifier in non-strict code; - * @description: Checking if execution of "private=1" succeeds in non-strict code; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.22ns", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22ns.js", - -assertion: "The \"private\" token can be used as identifier in non-strict code", - -description: "Checking if execution of \"private=1\" succeeds in non-strict code", - -test: function testcase() { - new Function('private = 1'); - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.js deleted file mode 100644 index 1abc15ede5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - "use strict"; -protected = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23ns.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23ns.js deleted file mode 100644 index f06df825d1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23ns.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.23; - * @section: 7.5.3; - * @assertion: The "protected" token can be used as identifier in non-strict code; - * @description: Checking if execution of "protected=1" succeeds in non-strict code; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.23ns", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23ns.js", - -assertion: "The \"protected\" token can be used as identifier in non-strict code", - -description: "Checking if execution of \"protected=1\" succeeds in non-strict code", - -test: function testcase() { - new Function('protected = 1'); - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.js deleted file mode 100644 index 676eddf7a5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - "use strict"; -public = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24ns.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24ns.js deleted file mode 100644 index b0eeaf9617..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24ns.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.24; - * @section: 7.5.3; - * @assertion: The "public" token can be used as identifier in non-strict code; - * @description: Checking if execution of "public=1" succeeds in non-strict code; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.24ns", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24ns.js", - -assertion: "The \"public\" token can be used as identifier in non-strict code", - -description: "Checking if execution of \"public=1\" succeeds in non-strict code", - -test: function testcase() { - new Function('public = 1'); - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.js deleted file mode 100644 index 9a9e9c82af..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.25; - * @section: 7.5.3; - * @assertion: The "short" token can be used as identifier; - * @description: Checking if execution of "short=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.25", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.js", - -assertion: "The \"short\" token can be used as identifier", - -description: "Checking if execution of \"short=1\" succeeds", - -test: function testcase() { - short = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.js deleted file mode 100644 index 523125651b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - "use strict"; -static = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26ns.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26ns.js deleted file mode 100644 index b83b90cfc7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26ns.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.26; - * @section: 7.5.3; - * @assertion: The "static" token can be used as identifier in non-strict code; - * @description: Checking if execution of "static=1" succeeds in non-strict code; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.26ns", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26ns.js", - -assertion: "The \"static\" token can be used as identifier in non-strict code", - -description: "Checking if execution of \"static=1\" succeeds in non-strict code", - -test: function testcase() { - new Function('static = 1'); - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.js deleted file mode 100644 index cb5eb413ec..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - super = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.js deleted file mode 100644 index bd56d4d17f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.28; - * @section: 7.5.3; - * @assertion: The "synchronized" token can be used as identifier; - * @description: Checking if execution of "synchronized=1" succeeds; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.28", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.js", - -assertion: "The \"synchronized\" token can be used as identifier", - -description: "Checking if execution of \"synchronized=1\" succeeds", - -test: function testcase() { - synchronized = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.js deleted file mode 100644 index 02ea008cd3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.29; - * @section: 7.5.3; - * @assertion: The "throws" token can be used as identifier; - * @description: Checking if execution of "throws=1" succeeds; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.29", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.js", - -assertion: "The \"throws\" token can be used as identifier", - -description: "Checking if execution of \"throws=1\" succeeds", - -test: function testcase() { - throws = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.js deleted file mode 100644 index 74310afffd..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.3; - * @section: 7.5.3; - * @assertion: The "byte" token can be used as identifier; - * @description: Checking if execution of "byte=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.3", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.js", - -assertion: "The \"byte\" token can be used as identifier", - -description: "Checking if execution of \"byte=1\" succeeds", - -test: function testcase() { - byte = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.js deleted file mode 100644 index 2c0a07c74a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.30; - * @section: 7.5.3; - * @assertion: The "transient" token can be used as identifier; - * @description: Checking if execution of "transient=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.30", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.js", - -assertion: "The \"transient\" token can be used as identifier", - -description: "Checking if execution of \"transient=1\" succeeds", - -test: function testcase() { - transient = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.js deleted file mode 100644 index b77eb4ca72..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.31; - * @section: 7.5.3; - * @assertion: The "volatile" token can be used as identifier; - * @description: Checking if execution of "volatile=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.31", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.js", - -assertion: "The \"volatile\" token can be used as identifier", - -description: "Checking if execution of \"volatile=1\" succeeds", - -test: function testcase() { - volatile = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.js deleted file mode 100644 index 1542901d70..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.4; - * @section: 7.5.3; - * @assertion: The "char" token can be used as identifier; - * @description: Checking if execution of "char=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.4", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.js", - -assertion: "The \"char\" token can be used as identifier", - -description: "Checking if execution of \"char=1\" succeeds", - -test: function testcase() { - char = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.js deleted file mode 100644 index 45526ce901..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - class = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.js deleted file mode 100644 index 9d61b2ac20..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - const = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.js deleted file mode 100644 index eb39fe8733..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - debugger = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.js deleted file mode 100644 index 74f4250280..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.5.3_A1.8; - * @section: 7.5.3; - * @assertion: The "double" token can be used as identifier; - * @description: Checking if execution of "double=1" succeeds; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.5.3_A1.8", - -path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.js", - -assertion: "The \"double\" token can be used as identifier", - -description: "Checking if execution of \"double=1\" succeeds", - -test: function testcase() { - double = 1; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.js deleted file mode 100644 index 8c4f4adbf3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - enum = 1; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.js deleted file mode 100644 index 7f5c87dd0e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A1.2_T1; - * @section: 7.6; - * @assertion: IdentifierStart :: $; - * @description: Create variable $; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A1.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.js", - -assertion: "IdentifierStart :: $", - -description: "Create variable $", - -test: function testcase() { - //CHECK#1 -var $ = 1; -if ($ !== 1) { - $ERROR('#1: var $ = 1; $ === 1. Actual: ' + ($)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.js deleted file mode 100644 index fe25fcb85e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A1.2_T2; - * @section: 7.6; - * @assertion: IdentifierStart :: $; - * @description: The $ as unicode character \u0024; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A1.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.js", - -assertion: "IdentifierStart :: $", - -description: "The $ as unicode character \\u0024", - -test: function testcase() { - //CHECK#1 -var \u0024 = 1; -if ($ !== 1) { - $ERROR('#1: var \\u0024 = 1; $ === 1. Actual: ' + ($)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.js deleted file mode 100644 index a96236cbf5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A1.2_T3; - * @section: 7.6; - * @assertion: IdentifierStart :: $; - * @description: The $ as unicode character \u0024; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A1.2_T3", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.js", - -assertion: "IdentifierStart :: $", - -description: "The $ as unicode character \\u0024", - -test: function testcase() { - //CHECK#1 -var identifier = String.fromCharCode(0x0024); -eval("var " + identifier + "=1"); -if (eval(identifier + "===1") !== true) { - $ERROR('#1: var identifier = String.fromCharCode(0x0024); eval("var " + identifier + "=1"); eval(identifier + "===1") === true'); -} - -//CHECK#2 -if ("$" !== String.fromCharCode(0x0024)) { - $ERROR('#2: "$" === String.fromCharCode(0x0024)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.js deleted file mode 100644 index e29e9e4ac9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A1.3_T1; - * @section: 7.6; - * @assertion: IdentifierStart :: _; - * @description: Create variable _; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A1.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.js", - -assertion: "IdentifierStart :: _", - -description: "Create variable _", - -test: function testcase() { - //CHECK#1 -var _ = 1; -if (_ !== 1) { - $ERROR('#1: var _ = 1; _ === 1. Actual: ' + (_)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.js deleted file mode 100644 index b4762ab773..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A1.3_T2; - * @section: 7.6; - * @assertion: IdentifierStart :: _; - * @description: The _ as unicode character \u005F; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A1.3_T2", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.js", - -assertion: "IdentifierStart :: _", - -description: "The _ as unicode character \\u005F", - -test: function testcase() { - //CHECK#1 -var \u005F = 1; -if (_ !== 1) { - $ERROR('#1: var \\u005F = 1; _ === 1. Actual: ' + (_)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.js deleted file mode 100644 index aadb28c012..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A1.3_T3; - * @section: 7.6; - * @assertion: IdentifierStart :: _; - * @description: The _ as unicode character \u005F; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A1.3_T3", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.js", - -assertion: "IdentifierStart :: _", - -description: "The _ as unicode character \\u005F", - -test: function testcase() { - //CHECK#1 -var identifier = String.fromCharCode(0x005F); -eval("var " + identifier + "=1"); -if (eval(identifier + "===1") !== true) { - $ERROR('#1: var identifier = String.fromCharCode(0x005F); eval("var " + identifier + "=1"); eval(identifier + "===1") === true'); -} - -//CHECK#2 -if ("_" !== String.fromCharCode(0x005F)) { - $ERROR('#2: "_" === String.fromCharCode(0x005F)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.js deleted file mode 100644 index 8aa806db5a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.js +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A2.1_T1; - * @section: 7.6; - * @assertion: IdentifierPart :: IdentifierStart; - * @description: IdentifierStart :: UnicodeLetter; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A2.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.js", - -assertion: "IdentifierPart :: IdentifierStart", - -description: "IdentifierStart :: UnicodeLetter", - -test: function testcase() { - //CHECK#1 -try { - var identifier = "x" + "x"; - eval("var " + identifier + "=1"); - if (xx !== 1) { - $ERROR('#1.1: var identifier = "x" + "x"; eval("var " + identifier + "=1"); xx === 1. Actual: ' + (xx)); - } -} catch (e) { - $ERROR('#1.2: var identifier = "x" + "x"; eval("var " + identifier + "=1"); xx === 1. Actual: ' + (xx)); -} - -//CHECK#2 -try { - var identifier = "x" + String.fromCharCode(0x0078); - eval("var " + identifier + "=2"); - if (xx !== 2) { - $ERROR('#2.1: var identifier = "x" + String.fromCharCode(0x0078); eval("var " + identifier + "=2"); xx === 2. Actual: ' + (xx)); - } -} catch (e) { - $ERROR('#2.2: var identifier = "x" + String.fromCharCode(0x0078); eval("var " + identifier + "=2"); xx === 2. Actual: ' + (xx)); -} - -//CHECK#3 -try { - var identifier = String.fromCharCode(0x0078) + String.fromCharCode(0x0078); - eval("var " + identifier + "=3"); - if (xx !== 3) { - $ERROR('#3.1: var identifier = String.fromCharCode(0x0078) + String.fromCharCode(0x0078); eval("var " + identifier + "=3"); xx === 3. Actual: ' + (xx)); - } -} catch (e) { - $ERROR('#3.2: var identifier = String.fromCharCode(0x0078) + String.fromCharCode(0x0078); eval("var " + identifier + "=3"); xx === 3. Actual: ' + (xx)); -} - -//CHECK#4 -try { - var identifier = "$" + String.fromCharCode(0x0078); - eval("var " + identifier + "=4"); - if ($x !== 4) { - $ERROR('#4.1: var identifier = "$" + String.fromCharCode(0x0078); eval("var " + identifier + "=4"); $x === 4. Actual: ' + ($x)); - } -} catch (e) { - $ERROR('#4.2: var identifier = "$" + String.fromCharCode(0x0078); eval("var " + identifier + "=4"); $x === 4. Actual: ' + ($x)); -} - -//CHECK#5 -try { - var identifier = "_" + String.fromCharCode(0x0078); - eval("var " + identifier + "=5"); - if (_x !== 5) { - $ERROR('#5.1: var identifier = "_" + String.fromCharCode(0x0078); eval("var " + identifier + "=5"); _x === 5. Actual: ' + (_x)); - } -} catch (e) { - $ERROR('#5.2: var identifier = "_" + String.fromCharCode(0x0078); eval("var " + identifier + "=5"); _x === 5. Actual: ' + (_x)); -} - -//CHECK#6 -try { - var \u0078x = 6; - if (xx !== 6) { - $ERROR('#6.1: var \\u0078x = 1; xx === 6. Actual: ' + (xx)); - } -} catch (e) { - $ERROR('#6.2: var \\u0078x = 1; xx === 6. Actual: ' + (xx)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.js deleted file mode 100644 index 043d12dbfe..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.js +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A2.1_T2; - * @section: 7.6; - * @assertion: IdentifierPart :: IdentifierStart; - * @description: IdentifierStart :: $; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A2.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.js", - -assertion: "IdentifierPart :: IdentifierStart", - -description: "IdentifierStart :: $", - -test: function testcase() { - //CHECK#1 -try { - var identifier = "x" + "$"; - eval("var " + identifier + "=1"); - if (x$ !== 1) { - $ERROR('#1.1: var identifier = "x" + "$"; eval("var " + identifier + "=1"); x$ === 1. Actual: ' + (x$)); - } -} catch (e) { - $ERROR('#1.2: var identifier = "x" + "$"; eval("var " + identifier + "=1"); x$ === 1. Actual: ' + (x$)); -} - -//CHECK#2 -try { - var identifier = String.fromCharCode(0x0078) + "$"; - eval("var " + identifier + "=2"); - if (x$ !== 2) { - $ERROR('#2.1: var identifier = String.fromCharCode(0x0078) + "$"; eval("var " + identifier + "=2"); x$ === 2. Actual: ' + (x$)); - } -} catch (e) { - $ERROR('#2.2: var identifier = String.fromCharCode(0x0078) + "$"; eval("var " + identifier + "=2"); x$ === 2. Actual: ' + (x$)); -} - -//CHECK#3 -try { - var identifier = "$" + "$"; - eval("var " + identifier + "=3"); - if ($$ !== 3) { - $ERROR('#3.1: var identifier = "$" + "$"; eval("var " + identifier + "=3"); $$ === 3. Actual: ' + ($$)); - } -} catch (e) { - $ERROR('#3.2: var identifier = "$" + "$"; eval("var " + identifier + "=3"); $$ === 3. Actual: ' + ($$)); -} - -//CHECK#4 -try { - var identifier = String.fromCharCode(0x0024) + String.fromCharCode(0x0024); - eval("var " + identifier + "=4"); - if ($$ !== 4) { - $ERROR('#4.1: var identifier = String.fromCharCode(0x0024) + String.fromCharCode(0x0024); eval("var " + identifier + "=4"); $$ === 4. Actual: ' + ($$)); - } -} catch (e) { - $ERROR('#4.2: var identifier = String.fromCharCode(0x0024) + String.fromCharCode(0x0024); eval("var " + identifier + "=4"); $$ === 4. Actual: ' + ($$)); -} - -//CHECK#5 -try { - var identifier = "_" + "$"; - eval("var " + identifier + "=5"); - if (_$ !== 5) { - $ERROR('#5.1: var identifier = "_" + "$"; eval("var " + identifier + "=5"); _$ === 5. Actual: ' + (_$)); - } -} catch (e) { - $ERROR('#5.2: var identifier = "_" + "$"; eval("var " + identifier + "=5"); _$ === 5. Actual: ' + (_$)); -} - -//CHECK#6 -try { - var \u0078$ = 6; - if (x$ !== 6) { - $ERROR('#6.1: var \\u0078$ = 1; x$ === 6. Actual: ' + (x$)); - } -} catch (e) { - $ERROR('#6.2: var \\u0078$ = 1; x$ === 6. Actual: ' + (x$)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.js deleted file mode 100644 index d9b6e54d4e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.js +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A2.1_T3; - * @section: 7.6; - * @assertion: IdentifierPart :: IdentifierStart; - * @description: IdentifierStart :: _; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A2.1_T3", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.js", - -assertion: "IdentifierPart :: IdentifierStart", - -description: "IdentifierStart :: _", - -test: function testcase() { - //CHECK#1 -try { - var identifier = "x" + "_"; - eval("var " + identifier + "=1"); - if (x_ !== 1) { - $ERROR('#1.1: var identifier = "x" + "_"; eval("var " + identifier + "=1"); x_ === 1. Actual: ' + (x_)); - } -} catch (e) { - $ERROR('#1.2: var identifier = "x" + "_"; eval("var " + identifier + "=1"); x_ === 1. Actual: ' + (x_)); -} - -//CHECK#2 -try { - var identifier = String.fromCharCode(0x0078) + "_"; - eval("var " + identifier + "=2"); - if (x_ !== 2) { - $ERROR('#2.1: var identifier = String.fromCharCode(0x0078) + "_"; eval("var " + identifier + "=2"); x_ === 2. Actual: ' + (x_)); - } -} catch (e) { - $ERROR('#2.2: var identifier = String.fromCharCode(0x0078) + "_"; eval("var " + identifier + "=2"); x_ === 2. Actual: ' + (x_)); -} - -//CHECK#3 -try { - var identifier = "_" + "_"; - eval("var " + identifier + "=3"); - if (__ !== 3) { - $ERROR('#3.1: var identifier = "_" + "_"; eval("var " + identifier + "=3"); __ === 3. Actual: ' + (__)); - } -} catch (e) { - $ERROR('#3.2: var identifier = "_" + "_"; eval("var " + identifier + "=3"); __ === 3. Actual: ' + (__)); -} - -//CHECK#4 -try { - var identifier = String.fromCharCode(0x005F) + String.fromCharCode(0x005F); - eval("var " + identifier + "=4"); - if (__ !== 4) { - $ERROR('#4.1: var identifier = String.fromCharCode(0x005F) + String.fromCharCode(0x005F); eval("var " + identifier + "=4"); __ === 4. Actual: ' + (__)); - } -} catch (e) { - $ERROR('#4.2: var identifier = String.fromCharCode(0x005F) + String.fromCharCode(0x005F); eval("var " + identifier + "=4"); __ === 4. Actual: ' + (__)); -} - -//CHECK#5 -try { - var identifier = "_" + "_"; - eval("var " + identifier + "=5"); - if (__ !== 5) { - $ERROR('#5.1: var identifier = "_" + "_"; eval("var " + identifier + "=5"); __ === 5. Actual: ' + (__)); - } -} catch (e) { - $ERROR('#5.2: var identifier = "_" + "_"; eval("var " + identifier + "=5"); __ === 5. Actual: ' + (__)); -} - -//CHECK#6 -try { - var \u0078_ = 6; - if (x_ !== 6) { - $ERROR('#6.1: var \\u0078_ = 1; x_ === 6. Actual: ' + (x_)); - } -} catch (e) { - $ERROR('#6.2: var \\u0078_ = 1; x_ === 6. Actual: ' + (x_)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.js deleted file mode 100644 index c47e48390e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A2.1_T4; - * @section: 7.6; - * @assertion: IdentifierPart :: IdentifierStart; - * @description: IdentifierStart :: \UnicodeEscapeSequence; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A2.1_T4", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.js", - -assertion: "IdentifierPart :: IdentifierStart", - -description: "IdentifierStart :: \\UnicodeEscapeSequence", - -test: function testcase() { - //CHECK#1 -try { - var x\u0078 = 1; - if (xx !== 1) { - $ERROR('#1.1: var x\\u0078 = 1; xx === 1. Actual: ' + (xx)); - } -} catch (e) { - $ERROR('#1.2: var x\\u0078 = 1; xx === 1. Actual: ' + (xx)); -} - -//CHECK#2 -try { - var \u0078\u0078 = 2; - if (xx !== 2) { - $ERROR('#2.1: var \\u0078\\u0078 = 1; xx === 2. Actual: ' + (xx)); - } -} catch (e) { - $ERROR('#2.2: var \\u0078\\u0078 = 1; xx === 2. Actual: ' + (xx)); -} - -//CHECK#3 -try { - var \u0024\u0024 = 3; - if ($$ !== 3) { - $ERROR('#3.1: var \\u0024\\u0024 = 1; $$ === 3. Actual: ' + ($$)); - } -} catch (e) { - $ERROR('#3.2: var \\u0024\\u0024 = 1; $$ === 3. Actual: ' + ($$)); -} - -//CHECK#4 -try { - var \u005F\u005F = 4; - if (__ !== 4) { - $ERROR('#4.1: var \\u005F\\u005F = 1; __ === 4. Actual: ' + (__)); - } -} catch (e) { - $ERROR('#4.2: var \\u005F\\u005F = 1; __ === 4. Actual: ' + (__)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.js deleted file mode 100644 index 68a02d55d1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.js +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A4.1_T1; - * @section: 7.6; - * @assertion: Correct interpretation of ENGLISH ALPHABET; - * @description: Check ENGLISH CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A4.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.js", - -assertion: "Correct interpretation of ENGLISH ALPHABET", - -description: "Check ENGLISH CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#A-Z -\u0041 = 1; -if (A !== 1) { - $ERROR('#A'); -} -\u0042 = 1; -if (B !== 1) { - $ERROR('#B'); -} -\u0043 = 1; -if (C !== 1) { - $ERROR('#C'); -} -\u0044 = 1; -if (D !== 1) { - $ERROR('#D'); -} -\u0045 = 1; -if (E !== 1) { - $ERROR('#E'); -} -\u0046 = 1; -if (F !== 1) { - $ERROR('#F'); -} -\u0047 = 1; -if (G !== 1) { - $ERROR('#G'); -} -\u0048 = 1; -if (H !== 1) { - $ERROR('#H'); -} -\u0049 = 1; -if (I !== 1) { - $ERROR('#I'); -} -\u004A = 1; -if (J !== 1) { - $ERROR('#J'); -} -\u004B = 1; -if (K !== 1) { - $ERROR('#K'); -} -\u004C = 1; -if (L !== 1) { - $ERROR('#L'); -} -\u004D = 1; -if (M !== 1) { - $ERROR('#M'); -} -\u004E = 1; -if (N !== 1) { - $ERROR('#N'); -} -\u004F = 1; -if (O !== 1) { - $ERROR('#O'); -} -\u0050 = 1; -if (P !== 1) { - $ERROR('#P'); -} -\u0051 = 1; -if (Q !== 1) { - $ERROR('#Q'); -} -\u0052 = 1; -if (R !== 1) { - $ERROR('#R'); -} -\u0053 = 1; -if (S !== 1) { - $ERROR('#S'); -} -\u0054 = 1; -if (T !== 1) { - $ERROR('#T'); -} -\u0055 = 1; -if (U !== 1) { - $ERROR('#U'); -} -\u0056 = 1; -if (V !== 1) { - $ERROR('#V'); -} -\u0057 = 1; -if (W !== 1) { - $ERROR('#W'); -} -\u0058 = 1; -if (X !== 1) { - $ERROR('#X'); -} -\u0059 = 1; -if (Y !== 1) { - $ERROR('#Y'); -} -\u005A = 1; -if (Z !== 1) { - $ERROR('#Z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.js deleted file mode 100644 index c0840d5a18..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.js +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A4.1_T2; - * @section: 7.6; - * @assertion: Correct interpretation of ENGLISH ALPHABET; - * @description: Check ENGLISH SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A4.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.js", - -assertion: "Correct interpretation of ENGLISH ALPHABET", - -description: "Check ENGLISH SMALL ALPHABET", - -test: function testcase() { - //CHECK#a-z -\u0061 = 1; -if (a !== 1) { - $ERROR('#a'); -} -\u0062 = 1; -if (b !== 1) { - $ERROR('#b'); -} -\u0063 = 1; -if (c !== 1) { - $ERROR('#c'); -} -\u0064 = 1; -if (d !== 1) { - $ERROR('#d'); -} -\u0065 = 1; -if (e !== 1) { - $ERROR('#e'); -} -\u0066 = 1; -if (f !== 1) { - $ERROR('#f'); -} -\u0067 = 1; -if (g !== 1) { - $ERROR('#g'); -} -\u0068 = 1; -if (h !== 1) { - $ERROR('#h'); -} -\u0069 = 1; -if (i !== 1) { - $ERROR('#i'); -} -\u006A = 1; -if (j !== 1) { - $ERROR('#j'); -} -\u006B = 1; -if (k !== 1) { - $ERROR('#k'); -} -\u006C = 1; -if (l !== 1) { - $ERROR('#l'); -} -\u006D = 1; -if (m !== 1) { - $ERROR('#m'); -} -\u006E = 1; -if (n !== 1) { - $ERROR('#n'); -} -\u006F = 1; -if (o !== 1) { - $ERROR('#o'); -} -\u0070 = 1; -if (p !== 1) { - $ERROR('#p'); -} -\u0071 = 1; -if (q !== 1) { - $ERROR('#q'); -} -\u0072 = 1; -if (r !== 1) { - $ERROR('#r'); -} -\u0073 = 1; -if (s !== 1) { - $ERROR('#s'); -} -\u0074 = 1; -if (t !== 1) { - $ERROR('#t'); -} -\u0075 = 1; -if (u !== 1) { - $ERROR('#u'); -} -\u0076 = 1; -if (v !== 1) { - $ERROR('#v'); -} -\u0077 = 1; -if (w !== 1) { - $ERROR('#w'); -} -\u0078 = 1; -if (x !== 1) { - $ERROR('#x'); -} -\u0079 = 1; -if (y !== 1) { - $ERROR('#y'); -} -\u007A = 1; -if (z !== 1) { - $ERROR('#z'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js deleted file mode 100644 index a0b36ac729..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A4.2_T1; - * @section: 7.6; - * @assertion: Correct interpretation of RUSSIAN ALPHABET; - * @description: Check RUSSIAN CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A4.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js", - -assertion: "Correct interpretation of RUSSIAN ALPHABET", - -description: "Check RUSSIAN CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#А-Я -\u0410 = 1; -if (А !== 1) { - $ERROR('#А'); -} -\u0411 = 1; -if (Б !== 1) { - $ERROR('#Б'); -} -\u0412 = 1; -if (В !== 1) { - $ERROR('#В'); -} -\u0413 = 1; -if (Г !== 1) { - $ERROR('#Г'); -} -\u0414 = 1; -if (Д !== 1) { - $ERROR('#Д'); -} -\u0415 = 1; -if (Е !== 1) { - $ERROR('#Е'); -} -\u0416 = 1; -if (Ж !== 1) { - $ERROR('#Ж'); -} -\u0417 = 1; -if (З !== 1) { - $ERROR('#З'); -} -\u0418 = 1; -if (И !== 1) { - $ERROR('#И'); -} -\u0419 = 1; -if (Й !== 1) { - $ERROR('#Й'); -} -\u041A = 1; -if (К !== 1) { - $ERROR('#К'); -} -\u041B = 1; -if (Л !== 1) { - $ERROR('#Л'); -} -\u041C = 1; -if (М !== 1) { - $ERROR('#М'); -} -\u041D = 1; -if (Н !== 1) { - $ERROR('#Н'); -} -\u041E = 1; -if (О !== 1) { - $ERROR('#О'); -} -\u041F = 1; -if (П !== 1) { - $ERROR('#П'); -} -\u0420 = 1; -if (Р !== 1) { - $ERROR('#Р'); -} -\u0421 = 1; -if (С !== 1) { - $ERROR('#С'); -} -\u0422 = 1; -if (Т !== 1) { - $ERROR('#Т'); -} -\u0423 = 1; -if (У !== 1) { - $ERROR('#У'); -} -\u0424 = 1; -if (Ф !== 1) { - $ERROR('#Ф'); -} -\u0425 = 1; -if (Х !== 1) { - $ERROR('#Х'); -} -\u0426 = 1; -if (Ц !== 1) { - $ERROR('#Ц'); -} -\u0427 = 1; -if (Ч !== 1) { - $ERROR('#Ч'); -} -\u0428 = 1; -if (Ш !== 1) { - $ERROR('#Ш'); -} -\u0429 = 1; -if (Щ !== 1) { - $ERROR('#Щ'); -} -\u042A = 1; -if (Ъ !== 1) { - $ERROR('#Ъ'); -} -\u042B = 1; -if (Ы !== 1) { - $ERROR('#Ы'); -} -\u042C = 1; -if (Ь !== 1) { - $ERROR('#Ь'); -} -\u042D = 1; -if (Э !== 1) { - $ERROR('#Э'); -} -\u042E = 1; -if (Ю !== 1) { - $ERROR('#Ю'); -} -\u042F = 1; -if (Я !== 1) { - $ERROR('#Я'); -} -\u0401 = 1; -if (Ё !== 1) { - $ERROR('#Ё'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js deleted file mode 100644 index 717016324d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A4.2_T2; - * @section: 7.6; - * @assertion: Correct interpretation of RUSSIAN ALPHABET; - * @description: Check RUSSIAN SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A4.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js", - -assertion: "Correct interpretation of RUSSIAN ALPHABET", - -description: "Check RUSSIAN SMALL ALPHABET", - -test: function testcase() { - //CHECK#а-я -\u0430 = 1; -if (а !== 1) { - $ERROR('#а'); -} -\u0431 = 1; -if (б !== 1) { - $ERROR('#б'); -} -\u0432 = 1; -if (в !== 1) { - $ERROR('#в'); -} -\u0433 = 1; -if (г !== 1) { - $ERROR('#г'); -} -\u0434 = 1; -if (д !== 1) { - $ERROR('#д'); -} -\u0435 = 1; -if (е !== 1) { - $ERROR('#е'); -} -\u0436 = 1; -if (ж !== 1) { - $ERROR('#ж'); -} -\u0437 = 1; -if (з !== 1) { - $ERROR('#з'); -} -\u0438 = 1; -if (и !== 1) { - $ERROR('#и'); -} -\u0439 = 1; -if (й !== 1) { - $ERROR('#й'); -} -\u043A = 1; -if (к !== 1) { - $ERROR('#к'); -} -\u043B = 1; -if (л !== 1) { - $ERROR('#л'); -} -\u043C = 1; -if (м !== 1) { - $ERROR('#м'); -} -\u043D = 1; -if (н !== 1) { - $ERROR('#н'); -} -\u043E = 1; -if (о !== 1) { - $ERROR('#о'); -} -\u043F = 1; -if (п !== 1) { - $ERROR('#п'); -} -\u0440 = 1; -if (р !== 1) { - $ERROR('#р'); -} -\u0441 = 1; -if (с !== 1) { - $ERROR('#с'); -} -\u0442 = 1; -if (т !== 1) { - $ERROR('#т'); -} -\u0443 = 1; -if (у !== 1) { - $ERROR('#у'); -} -\u0444 = 1; -if (ф !== 1) { - $ERROR('#ф'); -} -\u0445 = 1; -if (х !== 1) { - $ERROR('#х'); -} -\u0446 = 1; -if (ц !== 1) { - $ERROR('#ц'); -} -\u0447 = 1; -if (ч !== 1) { - $ERROR('#ч'); -} -\u0448 = 1; -if (ш !== 1) { - $ERROR('#ш'); -} -\u0449 = 1; -if (щ !== 1) { - $ERROR('#щ'); -} -\u044A = 1; -if (ъ !== 1) { - $ERROR('#ъ'); -} -\u044B = 1; -if (ы !== 1) { - $ERROR('#ы'); -} -\u044C = 1; -if (ь !== 1) { - $ERROR('#ь'); -} -\u044D = 1; -if (э !== 1) { - $ERROR('#э'); -} -\u044E = 1; -if (ю !== 1) { - $ERROR('#ю'); -} -\u044F = 1; -if (я !== 1) { - $ERROR('#я'); -} -\u0451 = 1; -if (ё !== 1) { - $ERROR('#ё'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.js deleted file mode 100644 index 2eea635da3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.6_A4.3_T1; - * @section: 7.6; - * @assertion: Correct interpretation of DIGITS; - * @description: Identifier is $+ANY_DIGIT; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.6_A4.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.js", - -assertion: "Correct interpretation of DIGITS", - -description: "Identifier is $+ANY_DIGIT", - -test: function testcase() { - //CHECK#0-9 -$\u0030 = 0; -if ($0 !== 0) { - $ERROR('#0: $\\u0030 = 0; $0 === 0'); -} -$\u0031 = 1; -if ($1 !== 1) { - $ERROR('#1: $\\u0031 = 1; $1 === 1'); -} -$\u0032 = 2; -if ($2 !== 2) { - $ERROR('#2: $\\u0032 = 2; $2 === 2'); -} -$\u0033 = 3; -if ($3 !== 3) { - $ERROR('#3: $\\u0033 = 3; $3 === 3'); -} -$\u0034 = 4; -if ($4 !== 4) { - $ERROR('#4: $\\u0034 = 4; $4 === 4'); -} -$\u0035 = 5; -if ($5 !== 5) { - $ERROR('#5: $\\u0035 = 5; $5 === 5'); -} -$\u0036 = 6; -if ($6 !== 6) { - $ERROR('#6: $\\u0036 = 6; $6 === 6'); -} -$\u0037 = 7; -if ($7 !== 7) { - $ERROR('#7: $\\u0037 = 7; $7 === 7'); -} -$\u0038 = 8; -if ($8 !== 8) { - $ERROR('#8: $\\u0038 = 8; $8 === 8'); -} -$\u0039 = 9; -if ($9 !== 9) { - $ERROR('#9: $\\u0039 = 9; $9 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.js deleted file mode 100644 index 0eea03c49f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.7_A1; - * @section: 7.7; - * @assertion: Correct interpretation of all punctuators; - * @description: Using all punctuators; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.7_A1", - -path: "TestCases/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.js", - -assertion: "Correct interpretation of all punctuators", - -description: "Using all punctuators", - -test: function testcase() { - //CHECK#1 - ({});[]; - this.NaN; - 1 < 2 > 3 <= 4 >= 5 == 6 != 7 === 8 !== 9; - 1 + 2 - 3 * 4 % 5 / 6 << 7 >> 8 >>> 9; - this.NaN++; ++this.NaN; this.NaN--; --this.NaN; - 1 & 2 | 3 ^ 4 && !5 || ~6; - 1 ? 2 : 3; - this.NaN = 1; this.NaN += 2; this.NaN -= 3; this.NaN *= 4; this.NaN /= 5; - this.NaN %= 6; this.NaN <<= 7; this.NaN >>= 8; this.NaN >>>= 9; - this.NaN &= 1; this.NaN |= 2; this.NaN ^= 3; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.js deleted file mode 100644 index 61f4f3ad7f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - \u007B\u007D; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.js deleted file mode 100644 index 6c8fab63c5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - 1\u002F2; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.js deleted file mode 100644 index 82a7d87c0d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - \u00281\u0029; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.js deleted file mode 100644 index e28938a850..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - \u005B\u005D; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.js deleted file mode 100644 index dbb86783c3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - \u003B; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.js deleted file mode 100644 index 256cfc6596..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - x = 1; -this\u002Ex; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.js deleted file mode 100644 index a8d2e8a586..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - 1\u002C2; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.js deleted file mode 100644 index e814d0077e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - 1\u002B2; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.js deleted file mode 100644 index b0480c8c60..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - 1\u002D2; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.js deleted file mode 100644 index 4d57ce1994..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - 1\u002A2; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.js deleted file mode 100644 index 10e8071ca0..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.1_A1_T1; - * @section: 7.8.1; - * @assertion: Literal :: NullLiteral; - * @description: Check null === null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.1_A1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.js", - -assertion: "Literal :: NullLiteral", - -description: "Check null === null", - -test: function testcase() { - //CHECK#1 -if (null !== null) { - $ERROR('#1: null === null'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.js deleted file mode 100644 index 6856029381..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.1_A1_T2; - * @section: 7.8.1; - * @assertion: Literal :: NullLiteral; - * @description: Check RegExp("0").exec("1") === null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.1_A1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.js", - -assertion: "Literal :: NullLiteral", - -description: "Check RegExp(\"0\").exec(\"1\") === null", - -test: function testcase() { - //CHECK#1 -if (RegExp("0").exec("1") !== null) { - $ERROR('#1: RegExp("0").exec("1") === null'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.js deleted file mode 100644 index 58ec954caf..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.2_A1_T1; - * @section: 7.8.2; - * @assertion: Literal :: BooleanLiteral; - * @description: BooleanLiteral :: true; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.2_A1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.js", - -assertion: "Literal :: BooleanLiteral", - -description: "BooleanLiteral :: true", - -test: function testcase() { - //CHECK#1 -if (Boolean(true) !== true) { - $ERROR('#1: Boolean(true) === true. Actual: Boolean(true) === ' + (Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.js deleted file mode 100644 index 32c9bcc57f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.2_A1_T2; - * @section: 7.8.2; - * @assertion: Literal :: BooleanLiteral; - * @description: BooleanLiteral :: false; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.2_A1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.js", - -assertion: "Literal :: BooleanLiteral", - -description: "BooleanLiteral :: false", - -test: function testcase() { - //CHECK#1 -if (Boolean(false) !== false) { - $ERROR('#1: Boolean(false) === false. Actual: Boolean(false) === ' + (Boolean(false))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.js deleted file mode 100644 index 824e4b8108..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.1_T1; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral; - * @description: DecimalIntegerLiteral :: 0, NoNZeroDigit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral", - -description: "DecimalIntegerLiteral :: 0, NoNZeroDigit", - -test: function testcase() { - //CHECK#0 -if (0 !== 0) { - $ERROR('#0: 0 === 0'); -} - -//CHECK#1 -if (1 !== 1) { - $ERROR('#1: 1 === 1'); -} - -//CHECK#2 -if (2 !== 2) { - $ERROR('#2: 2 === 2'); -} - -//CHECK#3 -if (3 !== 3) { - $ERROR('#3: 3 === 3'); -} - -//CHECK#4 -if (4 !== 4) { - $ERROR('#4: 4 === 4'); -} - -//CHECK#5 -if (5 !== 5) { - $ERROR('#5: 5 === 5'); -} - -//CHECK#6 -if (6 !== 6) { - $ERROR('#6: 6 === 6'); -} - -//CHECK#7 -if (7 !== 7) { - $ERROR('#7: 7 === 7'); -} - -//CHECK#8 -if (8 !== 8) { - $ERROR('#8: 8 === 8'); -} - -//CHECK#9 -if (9 !== 9) { - $ERROR('#9: 9 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.js deleted file mode 100644 index faaf1be860..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.1_T2; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral; - * @description: DecimalIntegerLiteral :: NoNZeroDigit DecimalDigits; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral", - -description: "DecimalIntegerLiteral :: NoNZeroDigit DecimalDigits", - -test: function testcase() { - //CHECK#1 -if (11 !== 11) { - $ERROR('#1: 11 === 11'); -} - -//CHECK#2 -if (22 !== 22) { - $ERROR('#2: 22 === 22'); -} - -//CHECK#3 -if (33 !== 33) { - $ERROR('#3: 33 === 33'); -} - -//CHECK#4 -if (44 !== 44) { - $ERROR('#4: 44 === 44'); -} - -//CHECK#5 -if (55 !== 55) { - $ERROR('#5: 55 === 55'); -} - -//CHECK#6 -if (66 !== 66) { - $ERROR('#6: 66 === 66'); -} - -//CHECK#7 -if (77 !== 77) { - $ERROR('#7: 77 === 77'); -} - -//CHECK#8 -if (88 !== 88) { - $ERROR('#8: 88 === 88'); -} - -//CHECK#9 -if (99 !== 99) { - $ERROR('#9: 99 === 99'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.js deleted file mode 100644 index d9cbef7dee..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.2_T1; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; - * @description: ExponentPart :: e DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral ExponentPart", - -description: "ExponentPart :: e DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0e1 !== 0) { - $ERROR('#0: 0e1 === 0'); -} - -//CHECK#1 -if (1e1 !== 10) { - $ERROR('#1: 1e1 === 10'); -} - -//CHECK#2 -if (2e1 !== 20) { - $ERROR('#2: 2e1 === 20'); -} - -//CHECK#3 -if (3e1 !== 30) { - $ERROR('#3: 3e1 === 30'); -} - -//CHECK#4 -if (4e1 !== 40) { - $ERROR('#4: 4e1 === 40'); -} - -//CHECK#5 -if (5e1 !== 50) { - $ERROR('#5: 5e1 === 50'); -} - -//CHECK#6 -if (6e1 !== 60) { - $ERROR('#6: 6e1 === 60'); -} - -//CHECK#7 -if (7e1 !== 70) { - $ERROR('#7: 7e1 === 70'); -} - -//CHECK#8 -if (8e1 !== 80) { - $ERROR('#8: 8e1 === 80'); -} - -//CHECK#9 -if (9e1 !== 90) { - $ERROR('#9: 9e1 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.js deleted file mode 100644 index eab2f1641a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.2_T2; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; - * @description: ExponentPart :: E DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral ExponentPart", - -description: "ExponentPart :: E DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0E1 !== 0) { - $ERROR('#0: 0E1 === 0'); -} - -//CHECK#1 -if (1E1 !== 10) { - $ERROR('#1: 1E1 === 1'); -} - -//CHECK#2 -if (2E1 !== 20) { - $ERROR('#2: 2E1 === 20'); -} - -//CHECK#3 -if (3E1 !== 30) { - $ERROR('#3: 3E1 === 30'); -} - -//CHECK#4 -if (4E1 !== 40) { - $ERROR('#4: 4E1 === 40'); -} - -//CHECK#5 -if (5E1 !== 50) { - $ERROR('#5: 5E1 === 50'); -} - -//CHECK#6 -if (6E1 !== 60) { - $ERROR('#6: 6E1 === 60'); -} - -//CHECK#7 -if (7E1 !== 70) { - $ERROR('#7: 7E1 === 70'); -} - -//CHECK#8 -if (8E1 !== 80) { - $ERROR('#8: 8E1 === 80'); -} - -//CHECK#9 -if (9E1 !== 90) { - $ERROR('#9: 9E1 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.js deleted file mode 100644 index 395bdfe37f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.2_T3; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; - * @description: ExponentPart :: e -DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.2_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral ExponentPart", - -description: "ExponentPart :: e -DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0e-1 !== 0) { - $ERROR('#0: 0e-1 === 0'); -} - -//CHECK#1 -if (1e-1 !== 0.1) { - $ERROR('#1: 1e-1 === 0.1'); -} - -//CHECK#2 -if (2e-1 !== 0.2) { - $ERROR('#2: 2e-1 === 0.2'); -} - -//CHECK#3 -if (3e-1 !== 0.3) { - $ERROR('#3: 3e-1 === 0.3'); -} - -//CHECK#4 -if (4e-1 !== 0.4) { - $ERROR('#4: 4e-1 === 0.4'); -} - -//CHECK#5 -if (5e-1 !== 0.5) { - $ERROR('#5: 5e-1 === 0.5'); -} - -//CHECK#6 -if (6e-1 !== 0.6) { - $ERROR('#6: 6e-1 === 0.6'); -} - -//CHECK#7 -if (7e-1 !== 0.7) { - $ERROR('#7: 7e-1 === 0.7'); -} - -//CHECK#8 -if (8e-1 !== 0.8) { - $ERROR('#8: 8e-1 === 0.8'); -} - -//CHECK#9 -if (9e-1 !== 0.9) { - $ERROR('#9: 9e-1 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.js deleted file mode 100644 index beab1f1aac..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.2_T4; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; - * @description: ExponentPart :: E -DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.2_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral ExponentPart", - -description: "ExponentPart :: E -DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0E-1 !== 0) { - $ERROR('#0: 0E-1 === 0'); -} - -//CHECK#1 -if (1E-1 !== 0.1) { - $ERROR('#1: 1E-1 === 0.1'); -} - -//CHECK#2 -if (2E-1 !== 0.2) { - $ERROR('#2: 2E-1 === 0.2'); -} - -//CHECK#3 -if (3E-1 !== 0.3) { - $ERROR('#3: 3E-1 === 0.3'); -} - -//CHECK#4 -if (4E-1 !== 0.4) { - $ERROR('#4: 4E-1 === 0.4'); -} - -//CHECK#5 -if (5E-1 !== 0.5) { - $ERROR('#5: 5E-1 === 0.5'); -} - -//CHECK#6 -if (6E-1 !== 0.6) { - $ERROR('#6: 6E-1 === 0.6'); -} - -//CHECK#7 -if (7E-1 !== 0.7) { - $ERROR('#7: 7E-1 === 0.7'); -} - -//CHECK#8 -if (8E-1 !== 0.8) { - $ERROR('#8: 8E-1 === 0.8'); -} - -//CHECK#9 -if (9E-1 !== 0.9) { - $ERROR('#9: 9E-1 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.js deleted file mode 100644 index 026c2502fc..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.2_T5; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; - * @description: ExponentPart :: e +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.2_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral ExponentPart", - -description: "ExponentPart :: e +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0e+1 !== 0) { - $ERROR('#0: 0e+1 === 0'); -} - -//CHe+CK#1 -if (1e+1 !== 10) { - $ERROR('#1: 1e+1 === 10'); -} - -//CHe+CK#2 -if (2e+1 !== 20) { - $ERROR('#2: 2e+1 === 20'); -} - -//CHe+CK#3 -if (3e+1 !== 30) { - $ERROR('#3: 3e+1 === 30'); -} - -//CHe+CK#4 -if (4e+1 !== 40) { - $ERROR('#4: 4e+1 === 40'); -} - -//CHe+CK#5 -if (5e+1 !== 50) { - $ERROR('#5: 5e+1 === 50'); -} - -//CHe+CK#6 -if (6e+1 !== 60) { - $ERROR('#6: 6e+1 === 60'); -} - -//CHe+CK#7 -if (7e+1 !== 70) { - $ERROR('#7: 7e+1 === 70'); -} - -//CHe+CK#8 -if (8e+1 !== 80) { - $ERROR('#8: 8e+1 === 80'); -} - -//CHe+CK#9 -if (9e+1 !== 90) { - $ERROR('#9: 9e+1 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.js deleted file mode 100644 index 78958c9eac..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.2_T6; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; - * @description: ExponentPart :: E +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.2_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral ExponentPart", - -description: "ExponentPart :: E +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0E+1 !== 0) { - $ERROR('#0: 0E+1 === 0'); -} - -//CHE+CK#1 -if (1E+1 !== 10) { - $ERROR('#1: 1E+1 === 10'); -} - -//CHE+CK#2 -if (2E+1 !== 20) { - $ERROR('#2: 2E+1 === 20'); -} - -//CHE+CK#3 -if (3E+1 !== 30) { - $ERROR('#3: 3E+1 === 30'); -} - -//CHE+CK#4 -if (4E+1 !== 40) { - $ERROR('#4: 4E+1 === 40'); -} - -//CHE+CK#5 -if (5E+1 !== 50) { - $ERROR('#5: 5E+1 === 50'); -} - -//CHE+CK#6 -if (6E+1 !== 60) { - $ERROR('#6: 6E+1 === 60'); -} - -//CHE+CK#7 -if (7E+1 !== 70) { - $ERROR('#7: 7E+1 === 70'); -} - -//CHE+CK#8 -if (8E+1 !== 80) { - $ERROR('#8: 8E+1 === 80'); -} - -//CHE+CK#9 -if (9E+1 !== 90) { - $ERROR('#9: 9E+1 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.js deleted file mode 100644 index 1975de0e00..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.2_T7; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; - * @description: ExponentPart :: e 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.2_T7", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral ExponentPart", - -description: "ExponentPart :: e 0", - -test: function testcase() { - //CHECK#0 -if (0e0 !== 0) { - $ERROR('#0: 0e0 === 0'); -} - -//CHECK#1 -if (1e0 !== 1) { - $ERROR('#1: 1e0 === 1'); -} - -//CHECK#2 -if (2e0 !== 2) { - $ERROR('#2: 2e0 === 2'); -} - -//CHECK#3 -if (3e0 !== 3) { - $ERROR('#3: 3e0 === 3'); -} - -//CHECK#4 -if (4e0 !== 4) { - $ERROR('#4: 4e0 === 4'); -} - -//CHECK#5 -if (5e0 !== 5) { - $ERROR('#5: 5e0 === 5'); -} - -//CHECK#6 -if (6e0 !== 6) { - $ERROR('#6: 6e0 === 6'); -} - -//CHECK#7 -if (7e0 !== 7) { - $ERROR('#7: 7e0 === 7'); -} - -//CHECK#8 -if (8e0 !== 8) { - $ERROR('#8: 8e0 === 8'); -} - -//CHECK#9 -if (9e0 !== 9) { - $ERROR('#9: 9e0 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.js deleted file mode 100644 index 4d5db847a9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A1.2_T8; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; - * @description: ExponentPart :: E 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A1.2_T8", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral ExponentPart", - -description: "ExponentPart :: E 0", - -test: function testcase() { - //CHECK#0 -if (0E0 !== 0) { - $ERROR('#0: 0E0 === 0'); -} - -//CHECK#1 -if (1E0 !== 1) { - $ERROR('#1: 1E0 === 1'); -} - -//CHECK#2 -if (2E0 !== 2) { - $ERROR('#2: 2E0 === 2'); -} - -//CHECK#3 -if (3E0 !== 3) { - $ERROR('#3: 3E0 === 3'); -} - -//CHECK#4 -if (4E0 !== 4) { - $ERROR('#4: 4E0 === 4'); -} - -//CHECK#5 -if (5E0 !== 5) { - $ERROR('#5: 5E0 === 5'); -} - -//CHECK#6 -if (6E0 !== 6) { - $ERROR('#6: 6E0 === 6'); -} - -//CHECK#7 -if (7E0 !== 7) { - $ERROR('#7: 7E0 === 7'); -} - -//CHECK#8 -if (8E0 !== 8) { - $ERROR('#8: 8E0 === 8'); -} - -//CHECK#9 -if (9E0 !== 9) { - $ERROR('#9: 9E0 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.js deleted file mode 100644 index 51e7fcaa8a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.1_T1; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits; - * @description: Use .DecimalDigit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.js", - -assertion: "DecimalLiteral :: .DecimalDigits", - -description: "Use .DecimalDigit", - -test: function testcase() { - //CHECK#0 -if (.0 !== 0.0) { - $ERROR('#0: .0 === 0.0'); -} - -//CHECK#1 -if (.1 !== 0.1) { - $ERROR('#1: .1 === 0.1'); -} - -//CHECK#2 -if (.2 !== 0.2) { - $ERROR('#2: .2 === 0.2'); -} - -//CHECK#3 -if (.3 !== 0.3) { - $ERROR('#3: .3 === 0.3'); -} - -//CHECK#4 -if (.4 !== 0.4) { - $ERROR('#4: .4 === 0.4'); -} - -//CHECK#5 -if (.5 !== 0.5) { - $ERROR('#5: .5 === 0.5'); -} - -//CHECK#6 -if (.6 !== 0.6) { - $ERROR('#6: .6 === 0.6'); -} - -//CHECK#7 -if (.7 !== 0.7) { - $ERROR('#7: .7 === 0.7'); -} - -//CHECK#8 -if (.8 !== 0.8) { - $ERROR('#8: .8 === 0.8'); -} - -//CHECK#9 -if (.9 !== 0.9) { - $ERROR('#9: .9 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.js deleted file mode 100644 index f3e9812936..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.1_T2; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits; - * @description: Use .DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.js", - -assertion: "DecimalLiteral :: .DecimalDigits", - -description: "Use .DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (.00 !== 0.00) { - $ERROR('#0: .00 === 0.00'); -} - -//CHECK#1 -if (.11 !== 0.11) { - $ERROR('#1: .11 === 0.11'); -} - -//CHECK#2 -if (.22 !== 0.22) { - $ERROR('#2: .22 === 0.22'); -} - -//CHECK#3 -if (.33 !== 0.33) { - $ERROR('#3: .33 === 0.33'); -} - -//CHECK#4 -if (.44 !== 0.44) { - $ERROR('#4: .44 === 0.44'); -} - -//CHECK#5 -if (.55 !== 0.55) { - $ERROR('#5: .55 === 0.55'); -} - -//CHECK#6 -if (.66 !== 0.66) { - $ERROR('#6: .66 === 0.66'); -} - -//CHECK#7 -if (.77 !== 0.77) { - $ERROR('#7: .77 === 0.77'); -} - -//CHECK#8 -if (.88 !== 0.88) { - $ERROR('#8: .88 === 0.88'); -} - -//CHECK#9 -if (.99 !== 0.99) { - $ERROR('#9: .99 === 0.99'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.js deleted file mode 100644 index 39f52255a0..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.1_T3; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits; - * @description: Use .DecimalDigits that have at the end zeros; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.1_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.js", - -assertion: "DecimalLiteral :: .DecimalDigits", - -description: "Use .DecimalDigits that have at the end zeros", - -test: function testcase() { - //CHECK#0 -if (.00 !== 0.0) { - $ERROR('#0: .0 === 0.0'); -} - -//CHECK#1 -if (.10 !== 0.1) { - $ERROR('#1: .1 === 0.1'); -} - -//CHECK#2 -if (.20 !== 0.2) { - $ERROR('#2: .2 === 0.2'); -} - -//CHECK#3 -if (.30 !== 0.3) { - $ERROR('#3: .3 === 0.3'); -} - -//CHECK#4 -if (.40 !== 0.4) { - $ERROR('#4: .4 === 0.4'); -} - -//CHECK#5 -if (.50 !== 0.5) { - $ERROR('#5: .5 === 0.5'); -} - -//CHECK#6 -if (.60 !== 0.6) { - $ERROR('#6: .6 === 0.6'); -} - -//CHECK#7 -if (.70 !== 0.7) { - $ERROR('#7: .7 === 0.7'); -} - -//CHECK#8 -if (.80 !== 0.8) { - $ERROR('#8: .8 === 0.8'); -} - -//CHECK#9 -if (.90 !== 0.9) { - $ERROR('#9: .9 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.js deleted file mode 100644 index 8ca836fd94..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.2_T1; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; - * @description: ExponentPart :: e DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.js", - -assertion: "DecimalLiteral :: .DecimalDigits ExponentPart", - -description: "ExponentPart :: e DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (.0e1 !== 0) { - $ERROR('#0: .0e1 === 0'); -} - -//CHECK#1 -if (.1e1 !== 1) { - $ERROR('#1: .1e1 === 1'); -} - -//CHECK#2 -if (.2e1 !== 2) { - $ERROR('#2: .2e1 === 2'); -} - -//CHECK#3 -if (.3e1 !== 3) { - $ERROR('#3: .3e1 === 3'); -} - -//CHECK#4 -if (.4e1 !== 4) { - $ERROR('#4: .4e1 === 4'); -} - -//CHECK#5 -if (.5e1 !== 5) { - $ERROR('#5: .5e1 === 5'); -} - -//CHECK#6 -if (.6e1 !== 6) { - $ERROR('#6: .6e1 === 6'); -} - -//CHECK#7 -if (.7e1 !== 7) { - $ERROR('#7: .7e1 === 7'); -} - -//CHECK#8 -if (.8e1 !== 8) { - $ERROR('#8: .8e1 === 8'); -} - -//CHECK#9 -if (.9e1 !== 9) { - $ERROR('#9: .9e1 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.js deleted file mode 100644 index bdd19638f9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.2_T2; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; - * @description: ExponentPart :: E DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.js", - -assertion: "DecimalLiteral :: .DecimalDigits ExponentPart", - -description: "ExponentPart :: E DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (.0E1 !== 0) { - $ERROR('#0: .0E1 === 0'); -} - -//CHECK#1 -if (.1E1 !== 1) { - $ERROR('#1: .1E1 === 1'); -} - -//CHECK#2 -if (.2E1 !== 2) { - $ERROR('#2: .2E1 === 2'); -} - -//CHECK#3 -if (.3E1 !== 3) { - $ERROR('#3: .3E1 === 3'); -} - -//CHECK#4 -if (.4E1 !== 4) { - $ERROR('#4: .4E1 === 4'); -} - -//CHECK#5 -if (.5E1 !== 5) { - $ERROR('#5: .5E1 === 5'); -} - -//CHECK#6 -if (.6E1 !== 6) { - $ERROR('#6: .6E1 === 6'); -} - -//CHECK#7 -if (.7E1 !== 7) { - $ERROR('#7: .7E1 === 7'); -} - -//CHECK#8 -if (.8E1 !== 8) { - $ERROR('#8: .8E1 === 8'); -} - -//CHECK#9 -if (.9E1 !== 9) { - $ERROR('#9: .9E1 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.js deleted file mode 100644 index 01e55d5826..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.2_T3; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; - * @description: ExponentPart :: e +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.2_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.js", - -assertion: "DecimalLiteral :: .DecimalDigits ExponentPart", - -description: "ExponentPart :: e +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (.0e-1 !== 0) { - $ERROR('#0: .0e-1 === 0'); -} - -//CHECK#1 -if (.1e-1 !== 0.01) { - $ERROR('#1: .1e-1 === 0.01'); -} - -//CHECK#2 -if (.2e-1 !== 0.02) { - $ERROR('#2: .2e-1 === 0.02'); -} - -//CHECK#3 -if (.3e-1 !== 0.03) { - $ERROR('#3: .3e-1 === 0.03'); -} - -//CHECK#4 -if (.4e-1 !== 0.04) { - $ERROR('#4: .4e-1 === 0.04'); -} - -//CHECK#5 -if (.5e-1 !== 0.05) { - $ERROR('#5: .5e-1 === 0.05'); -} - -//CHECK#6 -if (.6e-1 !== 0.06) { - $ERROR('#6: .6e-1 === 0.06'); -} - -//CHECK#7 -if (.7e-1 !== 0.07) { - $ERROR('#7: .7e-1 === 0.07'); -} - -//CHECK#8 -if (.8e-1 !== 0.08) { - $ERROR('#8: .8e-1 === 0.08'); -} - -//CHECK#9 -if (.9e-1 !== 0.09) { - $ERROR('#9: .9e-1 === 0.09'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.js deleted file mode 100644 index 9f57c4d4a5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.2_T4; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; - * @description: ExponentPart :: E +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.2_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.js", - -assertion: "DecimalLiteral :: .DecimalDigits ExponentPart", - -description: "ExponentPart :: E +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (.0E-1 !== 0) { - $ERROR('#0: .0E-1 === 0'); -} - -//CHECK#1 -if (.1E-1 !== 0.01) { - $ERROR('#1: .1E-1 === 0.01'); -} - -//CHECK#2 -if (.2E-1 !== 0.02) { - $ERROR('#2: .2E-1 === 0.02'); -} - -//CHECK#3 -if (.3E-1 !== 0.03) { - $ERROR('#3: .3E-1 === 0.03'); -} - -//CHECK#4 -if (.4E-1 !== 0.04) { - $ERROR('#4: .4E-1 === 0.04'); -} - -//CHECK#5 -if (.5E-1 !== 0.05) { - $ERROR('#5: .5E-1 === 0.05'); -} - -//CHECK#6 -if (.6E-1 !== 0.06) { - $ERROR('#6: .6E-1 === 0.06'); -} - -//CHECK#7 -if (.7E-1 !== 0.07) { - $ERROR('#7: .7E-1 === 0.07'); -} - -//CHECK#8 -if (.8E-1 !== 0.08) { - $ERROR('#8: .8E-1 === 0.08'); -} - -//CHECK#9 -if (.9E-1 !== 0.09) { - $ERROR('#9: .9E-1 === 0.09'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.js deleted file mode 100644 index da7707fcee..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.2_T5; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; - * @description: ExponentPart :: e +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.2_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.js", - -assertion: "DecimalLiteral :: .DecimalDigits ExponentPart", - -description: "ExponentPart :: e +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (.0e+1 !== 0) { - $ERROR('#0: .0e+1 === 0'); -} - -//CHECK#1 -if (.1e+1 !== 1) { - $ERROR('#1: .1e+1 === 1'); -} - -//CHECK#2 -if (.2e+1 !== 2) { - $ERROR('#2: .2e+1 === 2'); -} - -//CHECK#3 -if (.3e+1 !== 3) { - $ERROR('#3: .3e+1 === 3'); -} - -//CHECK#4 -if (.4e+1 !== 4) { - $ERROR('#4: .4e+1 === 4'); -} - -//CHECK#5 -if (.5e+1 !== 5) { - $ERROR('#5: .5e+1 === 5'); -} - -//CHECK#6 -if (.6e+1 !== 6) { - $ERROR('#6: .6e+1 === 6'); -} - -//CHECK#7 -if (.7e+1 !== 7) { - $ERROR('#7: .7e+1 === 7'); -} - -//CHECK#8 -if (.8e+1 !== 8) { - $ERROR('#8: .8e+1 === 8'); -} - -//CHECK#9 -if (.9e+1 !== 9) { - $ERROR('#9: .9e+1 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.js deleted file mode 100644 index 622d99381e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.2_T6; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; - * @description: ExponentPart :: E +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.2_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.js", - -assertion: "DecimalLiteral :: .DecimalDigits ExponentPart", - -description: "ExponentPart :: E +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (.0E+1 !== 0) { - $ERROR('#0: .0E+1 === 0'); -} - -//CHECK#1 -if (.1E+1 !== 1) { - $ERROR('#1: .1E+1 === 1'); -} - -//CHECK#2 -if (.2E+1 !== 2) { - $ERROR('#2: .2E+1 === 2'); -} - -//CHECK#3 -if (.3E+1 !== 3) { - $ERROR('#3: .3E+1 === 3'); -} - -//CHECK#4 -if (.4E+1 !== 4) { - $ERROR('#4: .4E+1 === 4'); -} - -//CHECK#5 -if (.5E+1 !== 5) { - $ERROR('#5: .5E+1 === 5'); -} - -//CHECK#6 -if (.6E+1 !== 6) { - $ERROR('#6: .6E+1 === 6'); -} - -//CHECK#7 -if (.7E+1 !== 7) { - $ERROR('#7: .7E+1 === 7'); -} - -//CHECK#8 -if (.8E+1 !== 8) { - $ERROR('#8: .8E+1 === 8'); -} - -//CHECK#9 -if (.9E+1 !== 9) { - $ERROR('#9: .9E+1 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.js deleted file mode 100644 index a9d5011c79..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.2_T7; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; - * @description: ExponentPart :: e 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.2_T7", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.js", - -assertion: "DecimalLiteral :: .DecimalDigits ExponentPart", - -description: "ExponentPart :: e 0", - -test: function testcase() { - //CHECK#0 -if (.0e0 !== 0.0) { - $ERROR('#0: .0e0 === 0.0'); -} - -//CHECK#1 -if (.1e0 !== 0.1) { - $ERROR('#1: .1e0 === 0.1'); -} - -//CHECK#2 -if (.2e0 !== 0.2) { - $ERROR('#2: .2e0 === 0.2'); -} - -//CHECK#3 -if (.3e0 !== 0.3) { - $ERROR('#3: .3e0 === 0.3'); -} - -//CHECK#4 -if (.4e0 !== 0.4) { - $ERROR('#4: .4e0 === 0.4'); -} - -//CHECK#5 -if (.5e0 !== 0.5) { - $ERROR('#5: .5e0 === 0.5'); -} - -//CHECK#6 -if (.6e0 !== 0.6) { - $ERROR('#6: .6e0 === 0.6'); -} - -//CHECK#7 -if (.7e0 !== 0.7) { - $ERROR('#7: .7e0 === 0.7'); -} - -//CHECK#8 -if (.8e0 !== 0.8) { - $ERROR('#8: .8e0 === 0.8'); -} - -//CHECK#9 -if (.9e0 !== 0.9) { - $ERROR('#9: .9e0 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.js deleted file mode 100644 index 494403edea..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A2.2_T8; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; - * @description: ExponentPart :: E 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A2.2_T8", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.js", - -assertion: "DecimalLiteral :: .DecimalDigits ExponentPart", - -description: "ExponentPart :: E 0", - -test: function testcase() { - //CHECK#0 -if (.0E0 !== 0.0) { - $ERROR('#0: .0E0 === 0.0'); -} - -//CHECK#1 -if (.1E0 !== 0.1) { - $ERROR('#1: .1E0 === 0.1'); -} - -//CHECK#2 -if (.2E0 !== 0.2) { - $ERROR('#2: .2E0 === 0.2'); -} - -//CHECK#3 -if (.3E0 !== 0.3) { - $ERROR('#3: .3E0 === 0.3'); -} - -//CHECK#4 -if (.4E0 !== 0.4) { - $ERROR('#4: .4E0 === 0.4'); -} - -//CHECK#5 -if (.5E0 !== 0.5) { - $ERROR('#5: .5E0 === 0.5'); -} - -//CHECK#6 -if (.6E0 !== 0.6) { - $ERROR('#6: .6E0 === 0.6'); -} - -//CHECK#7 -if (.7E0 !== 0.7) { - $ERROR('#7: .7E0 === 0.7'); -} - -//CHECK#8 -if (.8E0 !== 0.8) { - $ERROR('#8: .8E0 === 0.8'); -} - -//CHECK#9 -if (.9E0 !== 0.9) { - $ERROR('#9: .9E0 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.js deleted file mode 100644 index a2fdcee967..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.1_T1; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ; - * @description: DecimalIntegerLiteral :: 0, NoNZeroDigit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral.", - -description: "DecimalIntegerLiteral :: 0, NoNZeroDigit", - -test: function testcase() { - //CHECK#0 -if (0. !== 0) { - $ERROR('#0: 0. === 0'); -} - -//CHECK#1 -if (1. !== 1) { - $ERROR('#1: 1. === 1'); -} - -//CHECK#2 -if (2. !== 2) { - $ERROR('#2: 2. === 2'); -} - -//CHECK#3 -if (3. !== 3) { - $ERROR('#3: 3. === 3'); -} - -//CHECK#4 -if (4. !== 4) { - $ERROR('#4: 4. === 4'); -} - -//CHECK#5 -if (5. !== 5) { - $ERROR('#5: 5. === 5'); -} - -//CHECK#6 -if (6. !== 6) { - $ERROR('#6: 6. === 6'); -} - -//CHECK#7 -if (7. !== 7) { - $ERROR('#7: 7. === 7'); -} - -//CHECK#8 -if (8. !== 8) { - $ERROR('#8: 8. === 8'); -} - -//CHECK#9 -if (9. !== 9) { - $ERROR('#9: 9. === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.js deleted file mode 100644 index 0715d5d3d2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.1_T2; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ; - * @description: DecimalIntegerLiteral :: NoNZeroDigit DecimalDigigts; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral.", - -description: "DecimalIntegerLiteral :: NoNZeroDigit DecimalDigigts", - -test: function testcase() { - //CHECK#1 -if (11. !== 11) { - $ERROR('#1: 11. === 11'); -} - -//CHECK#2 -if (22. !== 22) { - $ERROR('#2: 22. === 22'); -} - -//CHECK#3 -if (33. !== 33) { - $ERROR('#3: 33. === 33'); -} - -//CHECK#4 -if (44. !== 44) { - $ERROR('#4: 44. === 44'); -} - -//CHECK#5 -if (55. !== 55) { - $ERROR('#5: 55. === 55'); -} - -//CHECK#6 -if (66. !== 66) { - $ERROR('#6: 66. === 66'); -} - -//CHECK#7 -if (77. !== 77) { - $ERROR('#7: 77. === 77'); -} - -//CHECK#8 -if (88. !== 88) { - $ERROR('#8: 88. === 88'); -} - -//CHECK#9 -if (99. !== 99) { - $ERROR('#9: 99. === 99'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.js deleted file mode 100644 index b4ba74c9b2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.2_T1; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigits; - * @description: After DecimalIntegerLiteral. used ZeroDigit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigits", - -description: "After DecimalIntegerLiteral. used ZeroDigit", - -test: function testcase() { - //CHECK#0 -if (0.0 !== 0) { - $ERROR('#0: 0.0 === 0'); -} - -//CHECK#1 -if (1.0 !== 1) { - $ERROR('#1: 1.0 === 1'); -} - -//CHECK#2 -if (2.0 !== 2) { - $ERROR('#2: 2.0 === 2'); -} - -//CHECK#3 -if (3.0 !== 3) { - $ERROR('#3: 3.0 === 3'); -} - -//CHECK#4 -if (4.0 !== 4) { - $ERROR('#4: 4.0 === 4'); -} - -//CHECK#5 -if (5.0 !== 5) { - $ERROR('#5: 5.0 === 5'); -} - -//CHECK#6 -if (6.0 !== 6) { - $ERROR('#6: 6.0 === 6'); -} - -//CHECK#7 -if (7.0 !== 7) { - $ERROR('#7: 7.0 === 7'); -} - -//CHECK#8 -if (8.0 !== 8) { - $ERROR('#8: 8.0 === 8'); -} - -//CHECK#9 -if (9.0 !== 9) { - $ERROR('#9: 9.0 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.js deleted file mode 100644 index 639ca60d12..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.2_T2; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigits; - * @description: After DecimalIntegerLiteral. used ZeroDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigits", - -description: "After DecimalIntegerLiteral. used ZeroDigits", - -test: function testcase() { - //CHECK#0 -if (0.00 !== 0) { - $ERROR('#0: 0.00 === 0'); -} - -//CHECK#1 -if (1.00 !== 1) { - $ERROR('#1: 1.00 === 1'); -} - -//CHECK#2 -if (2.00 !== 2) { - $ERROR('#2: 2.00 === 2'); -} - -//CHECK#3 -if (3.00 !== 3) { - $ERROR('#3: 3.00 === 3'); -} - -//CHECK#4 -if (4.00 !== 4) { - $ERROR('#4: 4.00 === 4'); -} - -//CHECK#5 -if (5.00 !== 5) { - $ERROR('#5: 5.00 === 5'); -} - -//CHECK#6 -if (6.00 !== 6) { - $ERROR('#6: 6.00 === 6'); -} - -//CHECK#7 -if (7.00 !== 7) { - $ERROR('#7: 7.00 === 7'); -} - -//CHECK#8 -if (8.00 !== 8) { - $ERROR('#8: 8.00 === 8'); -} - -//CHECK#9 -if (9.00 !== 9) { - $ERROR('#9: 9.00 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.js deleted file mode 100644 index 3e7fc2066e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.2_T3; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigits; - * @description: After DecimalIntegerLiteral. used NoNZeroDigit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.2_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigits", - -description: "After DecimalIntegerLiteral. used NoNZeroDigit", - -test: function testcase() { - //CHECK#0 -if (0.0 !== 0.0) { - $ERROR('#0: 0.0 === 0.0'); -} - -//CHECK#1 -if (1.1 !== 1.1) { - $ERROR('#1: 1.1 === 1.1'); -} - -//CHECK#2 -if (2.2 !== 2.2) { - $ERROR('#2: 2.2 === 2.2'); -} - -//CHECK#3 -if (3.3 !== 3.3) { - $ERROR('#3: 3.3 === 3.3'); -} - -//CHECK#4 -if (4.4 !== 4.4) { - $ERROR('#4: 4.4 === 4.4'); -} - -//CHECK#5 -if (5.5 !== 5.5) { - $ERROR('#5: 5.5 === 5.5'); -} - -//CHECK#6 -if (6.6 !== 6.6) { - $ERROR('#6: 6.6 === 6.6'); -} - -//CHECK#7 -if (7.7 !== 7.7) { - $ERROR('#7: 7.7 === 7.7'); -} - -//CHECK#8 -if (8.8 !== 8.8) { - $ERROR('#8: 8..8 === 8.8'); -} - -//CHECK#9 -if (9.9 !== 9.9) { - $ERROR('#9: 9.9 === 9.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.js deleted file mode 100644 index 76c24cf614..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.3_T1; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; - * @description: ExponentPart :: e DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. ExponentPart", - -description: "ExponentPart :: e DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.e1 !== 0) { - $ERROR('#0: 0.e1 === 0'); -} - -//CHECK#1 -if (1.e1 !== 10) { - $ERROR('#1: 1.e1 === 10'); -} - -//CHECK#2 -if (2.e1 !== 20) { - $ERROR('#2: 2.e1 === 20'); -} - -//CHECK#3 -if (3.e1 !== 30) { - $ERROR('#3: 3.e1 === 30'); -} - -//CHECK#4 -if (4.e1 !== 40) { - $ERROR('#4: 4.e1 === 40'); -} - -//CHECK#5 -if (5.e1 !== 50) { - $ERROR('#5: 5.e1 === 50'); -} - -//CHECK#6 -if (6.e1 !== 60) { - $ERROR('#6: 6.e1 === 60'); -} - -//CHECK#7 -if (7.e1 !== 70) { - $ERROR('#7: 7.e1 === 70'); -} - -//CHECK#8 -if (8.e1 !== 80) { - $ERROR('#8: 8.e1 === 80'); -} - -//CHECK#9 -if (9.e1 !== 90) { - $ERROR('#9: 9.e1 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.js deleted file mode 100644 index 66f4b8735f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.3_T2; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; - * @description: ExponentPart :: E DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.3_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. ExponentPart", - -description: "ExponentPart :: E DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.E1 !== 0) { - $ERROR('#0: 0.E1 === 0'); -} - -//CHECK#1 -if (1.E1 !== 10) { - $ERROR('#1: 1.E1 === 10'); -} - -//CHECK#2 -if (2.E1 !== 20) { - $ERROR('#2: 2.E1 === 20'); -} - -//CHECK#3 -if (3.E1 !== 30) { - $ERROR('#3: 3.E1 === 30'); -} - -//CHECK#4 -if (4.E1 !== 40) { - $ERROR('#4: 4.E1 === 40'); -} - -//CHECK#5 -if (5.E1 !== 50) { - $ERROR('#5: 5.E1 === 50'); -} - -//CHECK#6 -if (6.E1 !== 60) { - $ERROR('#6: 6.E1 === 60'); -} - -//CHECK#7 -if (7.E1 !== 70) { - $ERROR('#7: 7.E1 === 70'); -} - -//CHECK#8 -if (8.E1 !== 80) { - $ERROR('#8: 8.E1 === 80'); -} - -//CHECK#9 -if (9.E1 !== 90) { - $ERROR('#9: 9.E1 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.js deleted file mode 100644 index 3b7dff8af0..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.3_T3; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; - * @description: ExponentPart :: e -DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.3_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. ExponentPart", - -description: "ExponentPart :: e -DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.e-1 !== 0) { - $ERROR('#0: 0.e-1 === 0'); -} - -//CHECK#1 -if (1.e-1 !== 0.1) { - $ERROR('#1: 1.e-1 === 0.1'); -} - -//CHECK#2 -if (2.e-1 !== 0.2) { - $ERROR('#2: 2.e-1 === 0.2'); -} - -//CHECK#3 -if (3.e-1 !== 0.3) { - $ERROR('#3: 3.e-1 === 0.3'); -} - -//CHECK#4 -if (4.e-1 !== 0.4) { - $ERROR('#4: 4.e-1 === 0.4'); -} - -//CHECK#5 -if (5.e-1 !== 0.5) { - $ERROR('#5: 5.e-1 === 0.5'); -} - -//CHECK#6 -if (6.e-1 !== 0.6) { - $ERROR('#6: 6.e-1 === 0.6'); -} - -//CHECK#7 -if (7.e-1 !== 0.7) { - $ERROR('#7: 7.e-1 === 0.7'); -} - -//CHECK#8 -if (8.e-1 !== 0.8) { - $ERROR('#8: 8.e-1 === 0.8'); -} - -//CHECK#9 -if (9.e-1 !== 0.9) { - $ERROR('#9: 9.e-1 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.js deleted file mode 100644 index a7e74dfd34..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.3_T4; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; - * @description: ExponentPart :: E -DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.3_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. ExponentPart", - -description: "ExponentPart :: E -DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.E-1 !== 0) { - $ERROR('#0: 0.E-1 === 0'); -} - -//CHECK#1 -if (1.E-1 !== 0.1) { - $ERROR('#1: 1.E-1 === 0.1'); -} - -//CHECK#2 -if (2.E-1 !== 0.2) { - $ERROR('#2: 2.E-1 === 0.2'); -} - -//CHECK#3 -if (3.E-1 !== 0.3) { - $ERROR('#3: 3.E-1 === 0.3'); -} - -//CHECK#4 -if (4.E-1 !== 0.4) { - $ERROR('#4: 4.E-1 === 0.4'); -} - -//CHECK#5 -if (5.E-1 !== 0.5) { - $ERROR('#5: 5.E-1 === 0.5'); -} - -//CHECK#6 -if (6.E-1 !== 0.6) { - $ERROR('#6: 6.E-1 === 0.6'); -} - -//CHECK#7 -if (7.E-1 !== 0.7) { - $ERROR('#7: 7.E-1 === 0.7'); -} - -//CHECK#8 -if (8.E-1 !== 0.8) { - $ERROR('#8: 8.E-1 === 0.8'); -} - -//CHECK#9 -if (9.E-1 !== 0.9) { - $ERROR('#9: 9.E-1 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.js deleted file mode 100644 index cee3678f43..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.3_T5; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; - * @description: ExponentPart :: e +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.3_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. ExponentPart", - -description: "ExponentPart :: e +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.e+1 !== 0) { - $ERROR('#0: 0.e+1 === 0'); -} - -//CHECK#1 -if (1.e+1 !== 10) { - $ERROR('#1: 1.e+1 === 10'); -} - -//CHECK#2 -if (2.e+1 !== 20) { - $ERROR('#2: 2.e+1 === 20'); -} - -//CHECK#3 -if (3.e+1 !== 30) { - $ERROR('#3: 3.e+1 === 30'); -} - -//CHECK#4 -if (4.e+1 !== 40) { - $ERROR('#4: 4.e+1 === 40'); -} - -//CHECK#5 -if (5.e+1 !== 50) { - $ERROR('#5: 5.e+1 === 50'); -} - -//CHECK#6 -if (6.e+1 !== 60) { - $ERROR('#6: 6.e+1 === 60'); -} - -//CHECK#7 -if (7.e+1 !== 70) { - $ERROR('#7: 7.e+1 === 70'); -} - -//CHECK#8 -if (8.e+1 !== 80) { - $ERROR('#8: 8.e+1 === 80'); -} - -//CHECK#9 -if (9.e+1 !== 90) { - $ERROR('#9: 9.e+1 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.js deleted file mode 100644 index b2f8d68e0e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.3_T6; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; - * @description: ExponentPart :: E +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.3_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. ExponentPart", - -description: "ExponentPart :: E +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.E+1 !== 0) { - $ERROR('#0: 0.E+1 === 0'); -} - -//CHECK#1 -if (1.E+1 !== 10) { - $ERROR('#1: 1.E+1 === 10'); -} - -//CHECK#2 -if (2.E+1 !== 20) { - $ERROR('#2: 2.E+1 === 20'); -} - -//CHECK#3 -if (3.E+1 !== 30) { - $ERROR('#3: 3.E+1 === 30'); -} - -//CHECK#4 -if (4.E+1 !== 40) { - $ERROR('#4: 4.E+1 === 40'); -} - -//CHECK#5 -if (5.E+1 !== 50) { - $ERROR('#5: 5.E+1 === 50'); -} - -//CHECK#6 -if (6.E+1 !== 60) { - $ERROR('#6: 6.E+1 === 60'); -} - -//CHECK#7 -if (7.E+1 !== 70) { - $ERROR('#7: 7.E+1 === 70'); -} - -//CHECK#8 -if (8.E+1 !== 80) { - $ERROR('#8: 8.E+1 === 80'); -} - -//CHECK#9 -if (9.E+1 !== 90) { - $ERROR('#9: 9.E+1 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.js deleted file mode 100644 index 32cdfad3c7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.3_T7; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; - * @description: ExponentPart :: e 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.3_T7", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. ExponentPart", - -description: "ExponentPart :: e 0", - -test: function testcase() { - //CHECK#0 -if (0.e0 !== 0) { - $ERROR('#0: 0.e0 === 0'); -} - -//CHECK#1 -if (1.e0 !== 1) { - $ERROR('#1: 1.e0 === 1'); -} - -//CHECK#2 -if (2.e0 !== 2) { - $ERROR('#2: 2.e0 === 2'); -} - -//CHECK#3 -if (3.e0 !== 3) { - $ERROR('#3: 3.e0 === 3'); -} - -//CHECK#4 -if (4.e0 !== 4) { - $ERROR('#4: 4.e0 === 4'); -} - -//CHECK#5 -if (5.e0 !== 5) { - $ERROR('#5: 5.e0 === 5'); -} - -//CHECK#6 -if (6.e0 !== 6) { - $ERROR('#6: 6.e0 === 6'); -} - -//CHECK#7 -if (7.e0 !== 7) { - $ERROR('#7: 7.e0 === 7'); -} - -//CHECK#8 -if (8.e0 !== 8) { - $ERROR('#8: 8.e0 === 8'); -} - -//CHECK#9 -if (9.e0 !== 9) { - $ERROR('#9: 9.e0 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.js deleted file mode 100644 index cebbbad1c9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.3_T8; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; - * @description: ExponentPart :: E 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.3_T8", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. ExponentPart", - -description: "ExponentPart :: E 0", - -test: function testcase() { - //CHECK#0 -if (0.E0 !== 0) { - $ERROR('#0: 0.E0 === 0'); -} - -//CHECK#1 -if (1.E0 !== 1) { - $ERROR('#1: 1.E0 === 1'); -} - -//CHECK#2 -if (2.E0 !== 2) { - $ERROR('#2: 2.E0 === 2'); -} - -//CHECK#3 -if (3.E0 !== 3) { - $ERROR('#3: 3.E0 === 3'); -} - -//CHECK#4 -if (4.E0 !== 4) { - $ERROR('#4: 4.E0 === 4'); -} - -//CHECK#5 -if (5.E0 !== 5) { - $ERROR('#5: 5.E0 === 5'); -} - -//CHECK#6 -if (6.E0 !== 6) { - $ERROR('#6: 6.E0 === 6'); -} - -//CHECK#7 -if (7.E0 !== 7) { - $ERROR('#7: 7.E0 === 7'); -} - -//CHECK#8 -if (8.E0 !== 8) { - $ERROR('#8: 8.E0 === 8'); -} - -//CHECK#9 -if (9.E0 !== 9) { - $ERROR('#9: 9.E0 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.js deleted file mode 100644 index b65d89d3db..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.4_T1; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; - * @description: ExponentPart :: e DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.4_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart", - -description: "ExponentPart :: e DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.0e1 !== 0) { - $ERROR('#0: 0.0e1 === 0'); -} - -//CHECK#1 -if (1.1e1 !== 11) { - $ERROR('#1: 1.1e1 === 11'); -} - -//CHECK#2 -if (2.2e1 !== 22) { - $ERROR('#2: 2.2e1 === 22'); -} - -//CHECK#3 -if (3.3e1 !== 33) { - $ERROR('#3: 3.3e1 === 33'); -} - -//CHECK#4 -if (4.4e1 !== 44) { - $ERROR('#4: 4.4e1 === 44'); -} - -//CHECK#5 -if (5.5e1 !== 55) { - $ERROR('#5: 5.5e1 === 55'); -} - -//CHECK#6 -if (6.6e1 !== 66) { - $ERROR('#6: 6.e1 === 66'); -} - -//CHECK#7 -if (7.7e1 !== 77) { - $ERROR('#7: 7.7e1 === 77'); -} - -//CHECK#8 -if (8.8e1 !== 88) { - $ERROR('#8: 8.8e1 === 88'); -} - -//CHECK#9 -if (9.9e1 !== 99) { - $ERROR('#9: 9.9e1 === 99'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.js deleted file mode 100644 index 87f4746e33..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.4_T2; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; - * @description: ExponentPart :: E DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.4_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart", - -description: "ExponentPart :: E DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.0E1 !== 0) { - $ERROR('#0: 0.0E1 === 0'); -} - -//CHECK#1 -if (1.1E1 !== 11) { - $ERROR('#1: 1.1E1 === 11'); -} - -//CHECK#2 -if (2.2E1 !== 22) { - $ERROR('#2: 2.2E1 === 22'); -} - -//CHECK#3 -if (3.3E1 !== 33) { - $ERROR('#3: 3.3E1 === 33'); -} - -//CHECK#4 -if (4.4E1 !== 44) { - $ERROR('#4: 4.4E1 === 44'); -} - -//CHECK#5 -if (5.5E1 !== 55) { - $ERROR('#5: 5.5E1 === 55'); -} - -//CHECK#6 -if (6.6E1 !== 66) { - $ERROR('#6: 6.E1 === 66'); -} - -//CHECK#7 -if (7.7E1 !== 77) { - $ERROR('#7: 7.7E1 === 77'); -} - -//CHECK#8 -if (8.8E1 !== 88) { - $ERROR('#8: 8.8E1 === 88'); -} - -//CHECK#9 -if (9.9E1 !== 99) { - $ERROR('#9: 9.9E1 === 99'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.js deleted file mode 100644 index 71beb0b326..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.4_T3; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; - * @description: ExponentPart :: e -DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.4_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart", - -description: "ExponentPart :: e -DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.0e-1 !== 0) { - $ERROR('#0: 0.0e-1 === 0'); -} - -//CHECK#1 -if (1.1e-1 !== 0.11) { - $ERROR('#1: 1.1e-1 === 0.11'); -} - -//CHECK#2 -if (2.2e-1 !== 0.22) { - $ERROR('#2: 2.2e-1 === 0.22'); -} - -//CHECK#3 -if (3.3e-1 !== 0.33) { - $ERROR('#3: 3.3e-1 === 0.33'); -} - -//CHECK#4 -if (4.4e-1 !== 0.44) { - $ERROR('#4: 4.4e-1 === 0.44'); -} - -//CHECK#5 -if (5.5e-1 !== 0.55) { - $ERROR('#5: 5.5e-1 === 0.55'); -} - -//CHECK#6 -if (6.6e-1 !== 0.66) { - $ERROR('#6: 6.e-1 === 0.66'); -} - -//CHECK#7 -if (7.7e-1 !== 0.77) { - $ERROR('#7: 7.7e-1 === 0.77'); -} - -//CHECK#8 -if (8.8e-1 !== 0.88) { - $ERROR('#8: 8.8e-1 === 0.88'); -} - -//CHECK#9 -if (9.9e-1 !== 0.99) { - $ERROR('#9: 9.9e-1 === 0.99'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.js deleted file mode 100644 index a2d37357b9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.4_T4; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; - * @description: ExponentPart :: E -DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.4_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart", - -description: "ExponentPart :: E -DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.0E-1 !== 0) { - $ERROR('#0: 0.0E-1 === 0'); -} - -//CHECK#1 -if (1.1E-1 !== 0.11) { - $ERROR('#1: 1.1E-1 === 0.11'); -} - -//CHECK#2 -if (2.2E-1 !== 0.22) { - $ERROR('#2: 2.2E-1 === 0.22'); -} - -//CHECK#3 -if (3.3E-1 !== 0.33) { - $ERROR('#3: 3.3E-1 === 0.33'); -} - -//CHECK#4 -if (4.4E-1 !== 0.44) { - $ERROR('#4: 4.4E-1 === 0.44'); -} - -//CHECK#5 -if (5.5E-1 !== 0.55) { - $ERROR('#5: 5.5E-1 === 0.55'); -} - -//CHECK#6 -if (6.6E-1 !== 0.66) { - $ERROR('#6: 6.E-1 === 0.66'); -} - -//CHECK#7 -if (7.7E-1 !== 0.77) { - $ERROR('#7: 7.7E-1 === 0.77'); -} - -//CHECK#8 -if (8.8E-1 !== 0.88) { - $ERROR('#8: 8.8E-1 === 0.88'); -} - -//CHECK#9 -if (9.9E-1 !== 0.99) { - $ERROR('#9: 9.9E-1 === 0.99'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.js deleted file mode 100644 index 7939c949ef..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.4_T5; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; - * @description: ExponentPart :: e +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.4_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart", - -description: "ExponentPart :: e +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.0e+1 !== 0) { - $ERROR('#0: 0.0e+1 === 0'); -} - -//CHECK#1 -if (1.1e+1 !== 11) { - $ERROR('#1: 1.1e+1 === 11'); -} - -//CHECK#2 -if (2.2e+1 !== 22) { - $ERROR('#2: 2.2e+1 === 22'); -} - -//CHECK#3 -if (3.3e+1 !== 33) { - $ERROR('#3: 3.3e+1 === 33'); -} - -//CHECK#4 -if (4.4e+1 !== 44) { - $ERROR('#4: 4.4e+1 === 44'); -} - -//CHECK#5 -if (5.5e+1 !== 55) { - $ERROR('#5: 5.5e+1 === 55'); -} - -//CHECK#6 -if (6.6e+1 !== 66) { - $ERROR('#6: 6.e+1 === 66'); -} - -//CHECK#7 -if (7.7e+1 !== 77) { - $ERROR('#7: 7.7e+1 === 77'); -} - -//CHECK#8 -if (8.8e+1 !== 88) { - $ERROR('#8: 8.8e+1 === 88'); -} - -//CHECK#9 -if (9.9e+1 !== 99) { - $ERROR('#9: 9.9e+1 === 99'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.js deleted file mode 100644 index 5e290536a7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.4_T6; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; - * @description: ExponentPart :: E +DecimalDigits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.4_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart", - -description: "ExponentPart :: E +DecimalDigits", - -test: function testcase() { - //CHECK#0 -if (0.0E+1 !== 0) { - $ERROR('#0: 0.0E+1 === 0'); -} - -//CHECK#1 -if (1.1E+1 !== 11) { - $ERROR('#1: 1.1E+1 === 11'); -} - -//CHECK#2 -if (2.2E+1 !== 22) { - $ERROR('#2: 2.2E+1 === 22'); -} - -//CHECK#3 -if (3.3E+1 !== 33) { - $ERROR('#3: 3.3E+1 === 33'); -} - -//CHECK#4 -if (4.4E+1 !== 44) { - $ERROR('#4: 4.4E+1 === 44'); -} - -//CHECK#5 -if (5.5E+1 !== 55) { - $ERROR('#5: 5.5E+1 === 55'); -} - -//CHECK#6 -if (6.6E+1 !== 66) { - $ERROR('#6: 6.E+1 === 66'); -} - -//CHECK#7 -if (7.7E+1 !== 77) { - $ERROR('#7: 7.7E+1 === 77'); -} - -//CHECK#8 -if (8.8E+1 !== 88) { - $ERROR('#8: 8.8E+1 === 88'); -} - -//CHECK#9 -if (9.9E+1 !== 99) { - $ERROR('#9: 9.9E+1 === 99'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.js deleted file mode 100644 index c9e1006b01..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.4_T7; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; - * @description: ExponentPart :: e 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.4_T7", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart", - -description: "ExponentPart :: e 0", - -test: function testcase() { - //CHECK#0 -if (0.0e0 !== 0.0) { - $ERROR('#0: 0.0e0 === 0.0'); -} - -//CHECK#1 -if (1.1e0 !== 1.1) { - $ERROR('#1: 1.1e0 === 1.1'); -} - -//CHECK#2 -if (2.2e0 !== 2.2) { - $ERROR('#2: 2.2e0 === 2.2'); -} - -//CHECK#3 -if (3.3e0 !== 3.3) { - $ERROR('#3: 3.3e0 === 3.3'); -} - -//CHECK#4 -if (4.4e0 !== 4.4) { - $ERROR('#4: 4.4e0 === 4.4'); -} - -//CHECK#5 -if (5.5e0 !== 5.5) { - $ERROR('#5: 5.5e0 === 5.5'); -} - -//CHECK#6 -if (6.6e0 !== 6.6) { - $ERROR('#6: 6.e0 === 6.6'); -} - -//CHECK#7 -if (7.7e0 !== 7.7) { - $ERROR('#7: 7.7e0 === 7.7'); -} - -//CHECK#8 -if (8.8e0 !== 8.8) { - $ERROR('#8: 8.8e0 === 8.8'); -} - -//CHECK#9 -if (9.9e0 !== 9.9) { - $ERROR('#9: 9.9e0 === 9.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.js deleted file mode 100644 index 0002ee4ac1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A3.4_T8; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; - * @description: ExponentPart :: E 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A3.4_T8", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.js", - -assertion: "DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart", - -description: "ExponentPart :: E 0", - -test: function testcase() { - //CHECK#0 -if (0.0E0 !== 0.0) { - $ERROR('#0: 0.0E0 === 0.0'); -} - -//CHECK#1 -if (1.1E0 !== 1.1) { - $ERROR('#1: 1.1E0 === 1.1'); -} - -//CHECK#2 -if (2.2E0 !== 2.2) { - $ERROR('#2: 2.2E0 === 2.2'); -} - -//CHECK#3 -if (3.3E0 !== 3.3) { - $ERROR('#3: 3.3E0 === 3.3'); -} - -//CHECK#4 -if (4.4E0 !== 4.4) { - $ERROR('#4: 4.4E0 === 4.4'); -} - -//CHECK#5 -if (5.5E0 !== 5.5) { - $ERROR('#5: 5.5E0 === 5.5'); -} - -//CHECK#6 -if (6.6E0 !== 6.6) { - $ERROR('#6: 6.E0 === 6.6'); -} - -//CHECK#7 -if (7.7E0 !== 7.7) { - $ERROR('#7: 7.7E0 === 7.7'); -} - -//CHECK#8 -if (8.8E0 !== 8.8) { - $ERROR('#8: 8.8E0 === 8.8'); -} - -//CHECK#9 -if (9.9E0 !== 9.9) { - $ERROR('#9: 9.9E0 === 9.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.js deleted file mode 100644 index bd0aecd575..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -e1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.js deleted file mode 100644 index 1bfa1fcadd..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -E1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.js deleted file mode 100644 index 4a8fbf0af0..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -e-1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.js deleted file mode 100644 index d4fa909c32..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -E-1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.js deleted file mode 100644 index 24494a84d1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -e+1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.js deleted file mode 100644 index d8f65f8a5c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -E+1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.js deleted file mode 100644 index 5f9dfd6b1f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -e0 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.js deleted file mode 100644 index 4d1a50bae4..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -E0 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.js deleted file mode 100644 index e4f350378c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A4.2_T1; - * @section: 7.8.3; - * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; - * @description: ExponentIndicator :: e; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A4.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.js", - -assertion: "ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed", - -description: "ExponentIndicator :: e", - -test: function testcase() { - //CHECK#0 -if (0e01 !== 0) { - $ERROR('#0: 0e01 === 0'); -} - -//CHECK#1 -if (1e01 !== 10) { - $ERROR('#1: 1e01 === 10'); -} - -//CHECK#2 -if (2e01 !== 20) { - $ERROR('#2: 2e01 === 20'); -} - -//CHECK#3 -if (3e01 !== 30) { - $ERROR('#3: 3e01 === 30'); -} - -//CHECK#4 -if (4e01 !== 40) { - $ERROR('#4: 4e01 === 40'); -} - -//CHECK#5 -if (5e01 !== 50) { - $ERROR('#5: 5e01 === 50'); -} - -//CHECK#6 -if (6e01 !== 60) { - $ERROR('#6: 6e01 === 60'); -} - -//CHECK#7 -if (7e01 !== 70) { - $ERROR('#7: 7e01 === 70'); -} - -//CHECK#8 -if (8e01 !== 80) { - $ERROR('#8: 8e01 === 80'); -} - -//CHECK#9 -if (9e01 !== 90) { - $ERROR('#9: 9e01 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.js deleted file mode 100644 index 7c67738957..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A4.2_T2; - * @section: 7.8.3; - * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; - * @description: ExponentIndicator :: E; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A4.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.js", - -assertion: "ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed", - -description: "ExponentIndicator :: E", - -test: function testcase() { - //CHECK#0 -if (0E01 !== 0) { - $ERROR('#0: 0E01 === 0'); -} - -//CHECK#1 -if (1E01 !== 10) { - $ERROR('#1: 1E01 === 10'); -} - -//CHECK#2 -if (2E01 !== 20) { - $ERROR('#2: 2E01 === 20'); -} - -//CHECK#3 -if (3E01 !== 30) { - $ERROR('#3: 3E01 === 30'); -} - -//CHECK#4 -if (4E01 !== 40) { - $ERROR('#4: 4E01 === 40'); -} - -//CHECK#5 -if (5E01 !== 50) { - $ERROR('#5: 5E01 === 50'); -} - -//CHECK#6 -if (6E01 !== 60) { - $ERROR('#6: 6E01 === 60'); -} - -//CHECK#7 -if (7E01 !== 70) { - $ERROR('#7: 7E01 === 70'); -} - -//CHECK#8 -if (8E01 !== 80) { - $ERROR('#8: 8E01 === 80'); -} - -//CHECK#9 -if (9E01 !== 90) { - $ERROR('#9: 9E01 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.js deleted file mode 100644 index 059f8884ca..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A4.2_T3; - * @section: 7.8.3; - * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; - * @description: ExponentIndicator :: e; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A4.2_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.js", - -assertion: "ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed", - -description: "ExponentIndicator :: e", - -test: function testcase() { - //CHECK#0 -if (0e-01 !== 0) { - $ERROR('#0: 0e-01 === 0'); -} - -//CHECK#1 -if (1e-01 !== 0.1) { - $ERROR('#1: 1e-01 === 0.1'); -} - -//CHECK#2 -if (2e-01 !== 0.2) { - $ERROR('#2: 2e-01 === 0.2'); -} - -//CHECK#3 -if (3e-01 !== 0.3) { - $ERROR('#3: 3e-01 === 0.3'); -} - -//CHECK#4 -if (4e-01 !== 0.4) { - $ERROR('#4: 4e-01 === 0.4'); -} - -//CHECK#5 -if (5e-01 !== 0.5) { - $ERROR('#5: 5e-01 === 0.5'); -} - -//CHECK#6 -if (6e-01 !== 0.6) { - $ERROR('#6: 6e-01 === 0.6'); -} - -//CHECK#7 -if (7e-01 !== 0.7) { - $ERROR('#7: 7e-01 === 0.7'); -} - -//CHECK#8 -if (8e-01 !== 0.8) { - $ERROR('#8: 8e-01 === 0.8'); -} - -//CHECK#9 -if (9e-01 !== 0.9) { - $ERROR('#9: 9e-01 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.js deleted file mode 100644 index 3efd7a72b8..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A4.2_T4; - * @section: 7.8.3; - * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; - * @description: ExponentIndicator :: E; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A4.2_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.js", - -assertion: "ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed", - -description: "ExponentIndicator :: E", - -test: function testcase() { - //CHECK#0 -if (0E-01 !== 0) { - $ERROR('#0: 0E-01 === 0'); -} - -//CHECK#1 -if (1E-01 !== 0.1) { - $ERROR('#1: 1E-01 === 0.1'); -} - -//CHECK#2 -if (2E-01 !== 0.2) { - $ERROR('#2: 2E-01 === 0.2'); -} - -//CHECK#3 -if (3E-01 !== 0.3) { - $ERROR('#3: 3E-01 === 0.3'); -} - -//CHECK#4 -if (4E-01 !== 0.4) { - $ERROR('#4: 4E-01 === 0.4'); -} - -//CHECK#5 -if (5E-01 !== 0.5) { - $ERROR('#5: 5E-01 === 0.5'); -} - -//CHECK#6 -if (6E-01 !== 0.6) { - $ERROR('#6: 6E-01 === 0.6'); -} - -//CHECK#7 -if (7E-01 !== 0.7) { - $ERROR('#7: 7E-01 === 0.7'); -} - -//CHECK#8 -if (8E-01 !== 0.8) { - $ERROR('#8: 8E-01 === 0.8'); -} - -//CHECK#9 -if (9E-01 !== 0.9) { - $ERROR('#9: 9E-01 === 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.js deleted file mode 100644 index f93ab26d03..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A4.2_T5; - * @section: 7.8.3; - * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; - * @description: ExponentIndicator :: e; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A4.2_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.js", - -assertion: "ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed", - -description: "ExponentIndicator :: e", - -test: function testcase() { - //CHECK#0 -if (0e+01 !== 0) { - $ERROR('#0: 0e+01 === 0'); -} - -//CHECK#1 -if (1e+01 !== 10) { - $ERROR('#1: 1e+01 === 10'); -} - -//CHECK#2 -if (2e+01 !== 20) { - $ERROR('#2: 2e+01 === 20'); -} - -//CHECK#3 -if (3e+01 !== 30) { - $ERROR('#3: 3e+01 === 30'); -} - -//CHECK#4 -if (4e+01 !== 40) { - $ERROR('#4: 4e+01 === 40'); -} - -//CHECK#5 -if (5e+01 !== 50) { - $ERROR('#5: 5e+01 === 50'); -} - -//CHECK#6 -if (6e+01 !== 60) { - $ERROR('#6: 6e+01 === 60'); -} - -//CHECK#7 -if (7e+01 !== 70) { - $ERROR('#7: 7e+01 === 70'); -} - -//CHECK#8 -if (8e+01 !== 80) { - $ERROR('#8: 8e+01 === 80'); -} - -//CHECK#9 -if (9e+01 !== 90) { - $ERROR('#9: 9e+01 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.js deleted file mode 100644 index a828de53c2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A4.2_T6; - * @section: 7.8.3; - * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; - * @description: ExponentIndicator :: E; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A4.2_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.js", - -assertion: "ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed", - -description: "ExponentIndicator :: E", - -test: function testcase() { - //CHECK#0 -if (0E+01 !== 0) { - $ERROR('#0: 0E+01 === 0'); -} - -//CHECK#1 -if (1E+01 !== 10) { - $ERROR('#1: 1E+01 === 10'); -} - -//CHECK#2 -if (2E+01 !== 20) { - $ERROR('#2: 2E+01 === 20'); -} - -//CHECK#3 -if (3E+01 !== 30) { - $ERROR('#3: 3E+01 === 30'); -} - -//CHECK#4 -if (4E+01 !== 40) { - $ERROR('#4: 4E+01 === 40'); -} - -//CHECK#5 -if (5E+01 !== 50) { - $ERROR('#5: 5E+01 === 50'); -} - -//CHECK#6 -if (6E+01 !== 60) { - $ERROR('#6: 6E+01 === 60'); -} - -//CHECK#7 -if (7E+01 !== 70) { - $ERROR('#7: 7E+01 === 70'); -} - -//CHECK#8 -if (8E+01 !== 80) { - $ERROR('#8: 8E+01 === 80'); -} - -//CHECK#9 -if (9E+01 !== 90) { - $ERROR('#9: 9E+01 === 90'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.js deleted file mode 100644 index a32f45e928..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A4.2_T7; - * @section: 7.8.3; - * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; - * @description: ExponentIndicator :: e; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A4.2_T7", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.js", - -assertion: "ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed", - -description: "ExponentIndicator :: e", - -test: function testcase() { - //CHECK#0 -if (0e00 !== 0) { - $ERROR('#0: 0e00 === 0'); -} - -//CHECK#1 -if (1e00 !== 1) { - $ERROR('#1: 1e00 === 1'); -} - -//CHECK#2 -if (2e00 !== 2) { - $ERROR('#2: 2e00 === 2'); -} - -//CHECK#3 -if (3e00 !== 3) { - $ERROR('#3: 3e00 === 3'); -} - -//CHECK#4 -if (4e00 !== 4) { - $ERROR('#4: 4e00 === 4'); -} - -//CHECK#5 -if (5e00 !== 5) { - $ERROR('#5: 5e00 === 5'); -} - -//CHECK#6 -if (6e00 !== 6) { - $ERROR('#6: 6e00 === 6'); -} - -//CHECK#7 -if (7e00 !== 7) { - $ERROR('#7: 7e00 === 7'); -} - -//CHECK#8 -if (8e00 !== 8) { - $ERROR('#8: 8e00 === 8'); -} - -//CHECK#9 -if (9e00 !== 9) { - $ERROR('#9: 9e00 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.js deleted file mode 100644 index 7a113cd593..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A4.2_T8; - * @section: 7.8.3; - * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; - * @description: ExponentIndicator :: E; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A4.2_T8", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.js", - -assertion: "ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed", - -description: "ExponentIndicator :: E", - -test: function testcase() { - //CHECK#0 -if (0E00 !== 0) { - $ERROR('#0: 0E00 === 0'); -} - -//CHECK#1 -if (1E00 !== 1) { - $ERROR('#1: 1E00 === 1'); -} - -//CHECK#2 -if (2E00 !== 2) { - $ERROR('#2: 2E00 === 2'); -} - -//CHECK#3 -if (3E00 !== 3) { - $ERROR('#3: 3E00 === 3'); -} - -//CHECK#4 -if (4E00 !== 4) { - $ERROR('#4: 4E00 === 4'); -} - -//CHECK#5 -if (5E00 !== 5) { - $ERROR('#5: 5E00 === 5'); -} - -//CHECK#6 -if (6E00 !== 6) { - $ERROR('#6: 6E00 === 6'); -} - -//CHECK#7 -if (7E00 !== 7) { - $ERROR('#7: 7E00 === 7'); -} - -//CHECK#8 -if (8E00 !== 8) { - $ERROR('#8: 8E00 === 8'); -} - -//CHECK#9 -if (9E00 !== 9) { - $ERROR('#9: 9E00 === 9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.js deleted file mode 100644 index e5d7017f80..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.js +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A5.1_T1; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: HexIntegerLiteral; - * @description: HexIntegerLiteral :: 0x Digit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A5.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.js", - -assertion: "DecimalLiteral :: HexIntegerLiteral", - -description: "HexIntegerLiteral :: 0x Digit", - -test: function testcase() { - //CHECK#0 -if (0x0 !== 0) { - $ERROR('#0: 0x0 === 0'); -} - -//CHECK#1 -if (0x1 !== 1) { - $ERROR('#1: 0x1 === 1'); -} - -//CHECK#2 -if (0x2 !== 2) { - $ERROR('#2: 0x2 === 2'); -} - -//CHECK#3 -if (0x3 !== 3) { - $ERROR('#3: 0x3 === 3'); -} - -//CHECK#4 -if (0x4 !== 4) { - $ERROR('#4: 0x4 === 4'); -} - -//CHECK#5 -if (0x5 !== 5) { - $ERROR('#5: 0x5 === 5'); -} - -//CHECK#6 -if (0x6 !== 6) { - $ERROR('#6: 0x6 === 6'); -} - -//CHECK#7 -if (0x7 !== 7) { - $ERROR('#7: 0x7 === 7'); -} - -//CHECK#8 -if (0x8 !== 8) { - $ERROR('#8: 0x8 === 8'); -} - -//CHECK#9 -if (0x9 !== 9) { - $ERROR('#9: 0x9 === 9'); -} - -//CHECK#A -if (0xA !== 10) { - $ERROR('#A: 0xA === 10'); -} - -//CHECK#B -if (0xB !== 11) { - $ERROR('#B: 0xB === 11'); -} - -//CHECK#C -if (0xC !== 12) { - $ERROR('#C: 0xC === 12'); -} - -//CHECK#D -if (0xD !== 13) { - $ERROR('#D: 0xD === 13'); -} - -//CHECK#E -if (0xE !== 14) { - $ERROR('#E: 0xE === 14'); -} - -//CHECK#F -if (0xF !== 15) { - $ERROR('#F: 0xF === 15'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.js deleted file mode 100644 index fcd8c82be5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.js +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A5.1_T2; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: HexIntegerLiteral; - * @description: HexIntegerLiteral :: 0X Digit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A5.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.js", - -assertion: "DecimalLiteral :: HexIntegerLiteral", - -description: "HexIntegerLiteral :: 0X Digit", - -test: function testcase() { - //CHECK#0 -if (0X0 !== 0) { - $ERROR('#0: 0X0 === 0'); -} - -//CHECK#1 -if (0X1 !== 1) { - $ERROR('#1: 0X1 === 1'); -} - -//CHECK#2 -if (0X2 !== 2) { - $ERROR('#2: 0X2 === 2'); -} - -//CHECK#3 -if (0X3 !== 3) { - $ERROR('#3: 0X3 === 3'); -} - -//CHECK#4 -if (0X4 !== 4) { - $ERROR('#4: 0X4 === 4'); -} - -//CHECK#5 -if (0X5 !== 5) { - $ERROR('#5: 0X5 === 5'); -} - -//CHECK#6 -if (0X6 !== 6) { - $ERROR('#6: 0X6 === 6'); -} - -//CHECK#7 -if (0X7 !== 7) { - $ERROR('#7: 0X7 === 7'); -} - -//CHECK#8 -if (0X8 !== 8) { - $ERROR('#8: 0X8 === 8'); -} - -//CHECK#9 -if (0X9 !== 9) { - $ERROR('#9: 0X9 === 9'); -} - -//CHECK#A -if (0XA !== 10) { - $ERROR('#A: 0XA === 10'); -} - -//CHECK#B -if (0XB !== 11) { - $ERROR('#B: 0XB === 11'); -} - -//CHECK#C -if (0XC !== 12) { - $ERROR('#C: 0XC === 12'); -} - -//CHECK#D -if (0XD !== 13) { - $ERROR('#D: 0XD === 13'); -} - -//CHECK#E -if (0XE !== 14) { - $ERROR('#E: 0XE === 14'); -} - -//CHECK#F -if (0XF !== 15) { - $ERROR('#F: 0XF === 15'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.js deleted file mode 100644 index c3c0b71997..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A5.1_T3; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: HexIntegerLiteral; - * @description: HexIntegerLiteral :: 0x NonZeroDigit Digits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A5.1_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.js", - -assertion: "DecimalLiteral :: HexIntegerLiteral", - -description: "HexIntegerLiteral :: 0x NonZeroDigit Digits", - -test: function testcase() { - //CHECK#0 -if (0x0 !== 0) { - $ERROR('#0: 0x0 === 0'); -} - -//CHECK#1 -if (0x1 !== 1) { - $ERROR('#1: 0x1 === 1'); -} - -//CHECK#2 -if (0x10 !== 16) { - $ERROR('#2: 0x10 === 16'); -} - -//CHECK3 -if (0x100 !== 256) { - $ERROR('3: 0x100 === 256'); -} - -//CHECK#4 -if (0x1000 !== 4096) { - $ERROR('#4: 0x1000 === 4096'); -} - -//CHECK#5 -if (0x10000 !== 65536) { - $ERROR('#5: 0x10000 === 65536'); -} - -//CHECK#6 -if (0x100000 !== 1048576) { - $ERROR('#6: 0x100000 === 1048576'); -} - -//CHECK#7 -if (0x1000000 !== 16777216) { - $ERROR('#7: 0x1000000 === 16777216'); -} - -//CHECK#8 -if (0x10000000 !== 268435456) { - $ERROR('#8: 0x10000000 === 268435456'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.js deleted file mode 100644 index af6e850e70..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A5.1_T4; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: HexIntegerLiteral; - * @description: HexIntegerLiteral :: 0X NonZeroDigit Digits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A5.1_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.js", - -assertion: "DecimalLiteral :: HexIntegerLiteral", - -description: "HexIntegerLiteral :: 0X NonZeroDigit Digits", - -test: function testcase() { - //CHECK#0 -if (0X0 !== 0) { - $ERROR('#0: 0X0 === 0'); -} - -//CHECK#1 -if (0X1 !== 1) { - $ERROR('#1: 0X1 === 1'); -} - -//CHECK#2 -if (0X10 !== 16) { - $ERROR('#2: 0X10 === 16'); -} - -//CHECK3 -if (0X100 !== 256) { - $ERROR('3: 0X100 === 256'); -} - -//CHECK#4 -if (0X1000 !== 4096) { - $ERROR('#4: 0X1000 === 4096'); -} - -//CHECK#5 -if (0X10000 !== 65536) { - $ERROR('#5: 0X10000 === 65536'); -} - -//CHECK#6 -if (0X100000 !== 1048576) { - $ERROR('#6: 0X100000 === 1048576'); -} - -//CHECK#7 -if (0X1000000 !== 16777216) { - $ERROR('#7: 0X1000000 === 16777216'); -} - -//CHECK#8 -if (0X10000000 !== 268435456) { - $ERROR('#8: 0X10000000 === 268435456'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.js deleted file mode 100644 index 099fb2c999..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A5.1_T5; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: HexIntegerLiteral; - * @description: HexIntegerLiteral :: 0x0 Digits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A5.1_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.js", - -assertion: "DecimalLiteral :: HexIntegerLiteral", - -description: "HexIntegerLiteral :: 0x0 Digits", - -test: function testcase() { - //CHECK#0 -if (0x00 !== 0) { - $ERROR('#0: 0x00 === 0'); -} - -//CHECK#1 -if (0x01 !== 1) { - $ERROR('#1: 0x01 === 1'); -} - -//CHECK#2 -if (0x010 !== 16) { - $ERROR('#2: 0x010 === 16'); -} - -//CHECK3 -if (0x0100 !== 256) { - $ERROR('3: 0x0100 === 256'); -} - -//CHECK#4 -if (0x01000 !== 4096) { - $ERROR('#4: 0x01000 === 4096'); -} - -//CHECK#5 -if (0x010000 !== 65536) { - $ERROR('#5: 0x010000 === 65536'); -} - -//CHECK#6 -if (0x0100000 !== 1048576) { - $ERROR('#6: 0x0100000 === 1048576'); -} - -//CHECK#7 -if (0x01000000 !== 16777216) { - $ERROR('#7: 0x01000000 === 16777216'); -} - -//CHECK#8 -if (0x010000000 !== 268435456) { - $ERROR('#8: 0x010000000 === 268435456'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.js deleted file mode 100644 index 11f70e54b2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A5.1_T6; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: HexIntegerLiteral; - * @description: HexIntegerLiteral :: 0X0 Digits; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A5.1_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.js", - -assertion: "DecimalLiteral :: HexIntegerLiteral", - -description: "HexIntegerLiteral :: 0X0 Digits", - -test: function testcase() { - //CHECK#0 -if (0X00 !== 0) { - $ERROR('#0: 0X00 === 0'); -} - -//CHECK#1 -if (0X01 !== 1) { - $ERROR('#1: 0X01 === 1'); -} - -//CHECK#2 -if (0X010 !== 16) { - $ERROR('#2: 0X010 === 16'); -} - -//CHECK3 -if (0X0100 !== 256) { - $ERROR('3: 0X0100 === 256'); -} - -//CHECK#4 -if (0X01000 !== 4096) { - $ERROR('#4: 0X01000 === 4096'); -} - -//CHECK#5 -if (0X010000 !== 65536) { - $ERROR('#5: 0X010000 === 65536'); -} - -//CHECK#6 -if (0X0100000 !== 1048576) { - $ERROR('#6: 0X0100000 === 1048576'); -} - -//CHECK#7 -if (0X01000000 !== 16777216) { - $ERROR('#7: 0X01000000 === 16777216'); -} - -//CHECK#8 -if (0X010000000 !== 268435456) { - $ERROR('#8: 0X010000000 === 268435456'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.js deleted file mode 100644 index 3b5a2f494d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A5.1_T7; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: HexIntegerLiteral; - * @description: HexIntegerLiteral :: 0x one of a, b, c, d, e, f; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A5.1_T7", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.js", - -assertion: "DecimalLiteral :: HexIntegerLiteral", - -description: "HexIntegerLiteral :: 0x one of a, b, c, d, e, f", - -test: function testcase() { - //CHECK#a -if (0xa !== 10) { - $ERROR('#a: 0xa === 10'); -} - -//CHECK#b -if (0xb !== 11) { - $ERROR('#b: 0xb === 11'); -} - -//CHECK#c -if (0xc !== 12) { - $ERROR('#c: 0xc === 12'); -} - -//CHECK#d -if (0xd !== 13) { - $ERROR('#d: 0xd === 13'); -} - -//CHECK#e -if (0xe !== 14) { - $ERROR('#e: 0xe === 14'); -} - -//CHECK#f -if (0xf !== 15) { - $ERROR('#f: 0xf === 15'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.js deleted file mode 100644 index afa22224f7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.3_A5.1_T8; - * @section: 7.8.3; - * @assertion: DecimalLiteral :: HexIntegerLiteral; - * @description: HexIntegerLiteral :: 0X one of a, b, c, d, e, f; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.3_A5.1_T8", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.js", - -assertion: "DecimalLiteral :: HexIntegerLiteral", - -description: "HexIntegerLiteral :: 0X one of a, b, c, d, e, f", - -test: function testcase() { - //CHECK#a -if (0Xa !== 10) { - $ERROR('#a: 0Xa === 10'); -} - -//CHECK#b -if (0Xb !== 11) { - $ERROR('#b: 0Xb === 11'); -} - -//CHECK#c -if (0Xc !== 12) { - $ERROR('#c: 0Xc === 12'); -} - -//CHECK#d -if (0Xd !== 13) { - $ERROR('#d: 0Xd === 13'); -} - -//CHECK#e -if (0Xe !== 14) { - $ERROR('#e: 0Xe === 14'); -} - -//CHECK#f -if (0Xf !== 15) { - $ERROR('#f: 0Xf === 15'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.js deleted file mode 100644 index 659d1e0660..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -0x - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.js deleted file mode 100644 index 9798d5456d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -0X - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.js deleted file mode 100644 index 802a1e3a0d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -0xG - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.js deleted file mode 100644 index 5c799999db..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -0xg - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.js deleted file mode 100644 index 99eadc0f18..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -""" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.js deleted file mode 100644 index 61744133c5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -" -" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.js deleted file mode 100644 index 4adff71dda..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -''' - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.js deleted file mode 100644 index 3bd4390bea..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -' -' - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.js deleted file mode 100644 index a58e73dcc1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A2.1_T1; - * @section: 7.8.4; - * @assertion: Correct interpretation of ENGLISH ALPHABET; - * @description: Check ENGLISH CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A2.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.js", - -assertion: "Correct interpretation of ENGLISH ALPHABET", - -description: "Check ENGLISH CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#A-Z -unicode = ["\u0041", "\u0042", "\u0043", "\u0044", "\u0045", "\u0046", "\u0047", "\u0048", "\u0049", "\u004A", "\u004B", "\u004C", "\u004D", "\u004E", "\u004F", "\u0050", "\u0051", "\u0052", "\u0053", "\u0054", "\u0055", "\u0056", "\u0057", "\u0058", "\u0059", "\u005A"]; -character = ["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 (index = 0; index <= 25; index++) { - if (unicode[index] !== character[index]) { - $ERROR('#' + character[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.js deleted file mode 100644 index c0c2edf72d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A2.1_T2; - * @section: 7.8.4; - * @assertion: Correct interpretation of ENGLISH ALPHABET; - * @description: Check ENGLISH SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A2.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.js", - -assertion: "Correct interpretation of ENGLISH ALPHABET", - -description: "Check ENGLISH SMALL ALPHABET", - -test: function testcase() { - //CHECK#a-z -hex = ["\u0061", "\u0062", "\u0063", "\u0064", "\u0065", "\u0066", "\u0067", "\u0068", "\u0069", "\u006A", "\u006B", "\u006C", "\u006D", "\u006E", "\u006F", "\u0070", "\u0071", "\u0072", "\u0073", "\u0074", "\u0075", "\u0076", "\u0077", "\u0078", "\u0079", "\u007A"]; -character = ["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 (index = 0; index <= 25; index++) { - if (hex[index] !== character[index]) { - $ERROR('#' + character[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.js deleted file mode 100644 index f33e7be5b6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A2.2_T1; - * @section: 7.8.4; - * @assertion: Correct interpretation of RUSSIAN ALPHABET; - * @description: Check RUSSIAN CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A2.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.js", - -assertion: "Correct interpretation of RUSSIAN ALPHABET", - -description: "Check RUSSIAN CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#А-Я -unicode = ["\u0410", "\u0411", "\u0412", "\u0413", "\u0414", "\u0415", "\u0416", "\u0417", "\u0418", "\u0419", "\u041A", "\u041B", "\u041C", "\u041D", "\u041E", "\u041F", "\u0420", "\u0421", "\u0422", "\u0423", "\u0424", "\u0425", "\u0426", "\u0427", "\u0428", "\u0429", "\u042A", "\u042B", "\u042C", "\u042D", "\u042E", "\u042F", "\u0401"]; -character = ["А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Ъ", "Ы", "Ь", "Э", "Ю", "Я", "Ё"]; -for (index = 0; index <= 32; index++) { - if (unicode[index] !== character[index]) { - $ERROR('#' + character[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.js deleted file mode 100644 index 2e24c12451..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A2.2_T2; - * @section: 7.8.4; - * @assertion: Correct interpretation of RUSSIAN ALPHABET; - * @description: Check RUSSIAN SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A2.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.js", - -assertion: "Correct interpretation of RUSSIAN ALPHABET", - -description: "Check RUSSIAN SMALL ALPHABET", - -test: function testcase() { - //CHECK#а-я -unicode = ["\u0430", "\u0431", "\u0432", "\u0433", "\u0434", "\u0435", "\u0436", "\u0437", "\u0438", "\u0439", "\u043A", "\u043B", "\u043C", "\u043D", "\u043E", "\u043F", "\u0440", "\u0441", "\u0442", "\u0443", "\u0444", "\u0445", "\u0446", "\u0447", "\u0448", "\u0449", "\u044A", "\u044B", "\u044C", "\u044D", "\u044E", "\u044F", "\u0451"]; -character = ["а", "б", "в", "г", "д", "е", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я", "ё"]; -for (index = 0; index <= 32; index++) { - if (unicode[index] !== character[index]) { - $ERROR('#' + character[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.js deleted file mode 100644 index 6d48087768..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A2.3_T1; - * @section: 7.8.4; - * @assertion: Correct interpretation of DIGITS; - * @description: Check DIGITS; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A2.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.js", - -assertion: "Correct interpretation of DIGITS", - -description: "Check DIGITS", - -test: function testcase() { - //CHECK#0-9 -unicode = ["\u0030", "\u0031", "\u0032", "\u0033", "\u0034", "\u0035", "\u0036", "\u0037", "\u0038", "\u0039"]; -character = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; -for (index = 0; index <= 9; index++) { - if (unicode[index] !== character[index]) { - $ERROR('#' + character[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.js deleted file mode 100644 index 1c7f619561..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.js deleted file mode 100644 index b53708bba2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -'\' - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.js deleted file mode 100644 index 222769dc9a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\\\" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.js deleted file mode 100644 index 4681dc47d4..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -'\\\' - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.js deleted file mode 100644 index e1fea1b4bb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.1_T1; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: SingleEscapeSequence; - * @description: SingleEscapeSequence :: one of b f n r t v; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.js", - -assertion: "CharacterEscapeSequnce :: SingleEscapeSequence", - -description: "SingleEscapeSequence :: one of b f n r t v", - -test: function testcase() { - //CHECK#1 -if (String.fromCharCode(0x0008) !== "\b") { - $ERROR('#1: String.fromCharCode(0x0008) === "\\b"'); -} - -//CHECK#2 -if (String.fromCharCode(0x0009) !== "\t") { - $ERROR('#2: String.fromCharCode(0x0009) === "\\t"'); -} - -//CHECK#3 -if (String.fromCharCode(0x000A) !== "\n") { - $ERROR('#3: String.fromCharCode(0x000A) === "\\n"'); -} - -//CHECK#4 -if (String.fromCharCode(0x000B) !== "\v") { - $ERROR('#4: String.fromCharCode(0x000B) === "\\v"'); -} - -//CHECK#5 -if (String.fromCharCode(0x000C) !== "\f") { - $ERROR('#5: String.fromCharCode(0x000C) === "\\f"'); -} - -//CHECK#6 -if (String.fromCharCode(0x000D) !== "\r") { - $ERROR('#6: String.fromCharCode(0x000D) === "\\r"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.js deleted file mode 100644 index 00b66d18df..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.1_T2; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: SingleEscapeSequence; - * @description: SingleEscapeSequence :: one of ' " \; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.js", - -assertion: "CharacterEscapeSequnce :: SingleEscapeSequence", - -description: "SingleEscapeSequence :: one of \' \" \\", - -test: function testcase() { - //CHECK#1 -if (String.fromCharCode(0x0027) !== "\'") { - $ERROR('#1: String.fromCharCode(0x0027) === "\\\'"'); -} - -//CHECK#2 -if (String.fromCharCode(0x0022) !== '\"') { - $ERROR('#2: String.fromCharCode(0x0027) === \'\\\"\''); -} - -//CHECK#3 -if (String.fromCharCode(0x005C) !== "\\") { - $ERROR('#3: String.fromCharCode(0x005C) === "\\\"'); -} - -//CHECK#4 -if ("\'" !== "'") { - $ERROR('#4: "\'" === "\\\'"'); -} - -//CHECK#5 -if ('\"' !== '"') { - $ERROR('#5: \'\"\' === \'\\\"\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.js deleted file mode 100644 index 0f52c15f2d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.2_T1; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; - * @description: NonEscapeSequence :: ENGLISH CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.js", - -assertion: "CharacterEscapeSequnce :: NonEscapeSequence", - -description: "NonEscapeSequence :: ENGLISH CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#A-Z -CharacterCode = [0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004A, 0x004B, 0x004C, 0x004D, 0x004E, 0x004F, 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005A]; -NonEscapeCharacter = ["\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 (index = 0; index <= 25; index++) { - if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) { - $ERROR('#' + NonEscapeCharacter[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.js deleted file mode 100644 index 42e8494bfa..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.js +++ /dev/null @@ -1,131 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.2_T2; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; - * @description: NonEscapeSequence :: ENGLISH CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.2_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.js", - -assertion: "CharacterEscapeSequnce :: NonEscapeSequence", - -description: "NonEscapeSequence :: ENGLISH CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#A-Z -if ("A" !== "\A") { - $ERROR('#A'); -} - -if ("B" !== "\B") { - $ERROR('#B'); -} - -if ("C" !== "\C") { - $ERROR('#C'); -} - -if ("D" !== "\D") { - $ERROR('#D'); -} - -if ("E" !== "\E") { - $ERROR('#E'); -} - -if ("F" !== "\F") { - $ERROR('#F'); -} - -if ("G" !== "\G") { - $ERROR('#G'); -} - -if ("H" !== "\H") { - $ERROR('#H'); -} - -if ("I" !== "\I") { - $ERROR('#I'); -} - -if ("J" !== "\J") { - $ERROR('#J'); -} - -if ("K" !== "\K") { - $ERROR('#K'); -} - -if ("L" !== "\L") { - $ERROR('#L'); -} - -if ("M" !== "\M") { - $ERROR('#M'); -} - -if ("N" !== "\N") { - $ERROR('#N'); -} - -if ("O" !== "\O") { - $ERROR('#O'); -} - -if ("P" !== "\P") { - $ERROR('#P'); -} - -if ("Q" !== "\Q") { - $ERROR('#Q'); -} - -if ("R" !== "\R") { - $ERROR('#R'); -} - -if ("S" !== "\S") { - $ERROR('#S'); -} - -if ("T" !== "\T") { - $ERROR('#T'); -} - -if ("U" !== "\U") { - $ERROR('#U'); -} - -if ("V" !== "\V") { - $ERROR('#V'); -} - -if ("W" !== "\W") { - $ERROR('#W'); -} - -if ("X" !== "\X") { - $ERROR('#X'); -} - -if ("Y" !== "\Y") { - $ERROR('#Y'); -} - -if ("Z" !== "\Z") { - $ERROR('#Z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.js deleted file mode 100644 index aacaef60f6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.2_T3; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; - * @description: NonEscapeSequence :: ENGLISH SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.2_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.js", - -assertion: "CharacterEscapeSequnce :: NonEscapeSequence", - -description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET", - -test: function testcase() { - //CHECK#a-z without b, f, n, r, t, v, x, u -CharacterCode = [0x0061, 0x0063, 0x0064, 0x0065, 0x0067, 0x0068, 0x0069, 0x006A, 0x006B, 0x006C, 0x006D, 0x006F, 0x0070, 0x0071, 0x0073, 0x0077, 0x0079, 0x007A]; -NonEscapeCharacter = ["\a", "\c", "\d", "\e", "\g", "\h", "\i", "\j", "\k", "\l", "\m", "\o", "\p", "\q", "\s", "\w", "\y", "\z"]; -for (index = 0; index <= 17; index++) { - if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) { - $ERROR('#' + NonEscapeCharacter[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.js deleted file mode 100644 index 2a36ad126e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.2_T4; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; - * @description: NonEscapeSequence :: ENGLISH SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.2_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.js", - -assertion: "CharacterEscapeSequnce :: NonEscapeSequence", - -description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET", - -test: function testcase() { - //CHECK#a-z without b, f, n, r, t, v, x, u - -if ("a" !== "\a") { - $ERROR('#a'); -} - -if ("c" !== "\c") { - $ERROR('#c'); -} - -if ("d" !== "\d") { - $ERROR('#d'); -} - -if ("e" !== "\e") { - $ERROR('#e'); -} - -if ("g" !== "\g") { - $ERROR('#g'); -} - -if ("h" !== "\h") { - $ERROR('#h'); -} - -if ("i" !== "\i") { - $ERROR('#i'); -} - -if ("j" !== "\j") { - $ERROR('#j'); -} - -if ("k" !== "\k") { - $ERROR('#k'); -} - -if ("l" !== "\l") { - $ERROR('#l'); -} - -if ("m" !== "\m") { - $ERROR('#m'); -} - - -if ("o" !== "\o") { - $ERROR('#o'); -} - -if ("p" !== "\p") { - $ERROR('#p'); -} - -if ("q" !== "\q") { - $ERROR('#q'); -} - -if ("s" !== "\s") { - $ERROR('#s'); -} - -if ("w" !== "\w") { - $ERROR('#w'); -} - -if ("y" !== "\y") { - $ERROR('#y'); -} - -if ("z" !== "\z") { - $ERROR('#z'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.js deleted file mode 100644 index cc16f0fb9c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.2_T5; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; - * @description: NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.2_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.js", - -assertion: "CharacterEscapeSequnce :: NonEscapeSequence", - -description: "NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#А-Я -CharacterCode = [0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, 0x0428, 0x0429, 0x042A, 0x042B, 0x042C, 0x042D, 0x042E, 0x042F, 0x0401]; -NonEscapeCharacter = ["\А", "\Б", "\В", "\Г", "\Д", "\Е", "\Ж", "\З", "\И", "\Й", "\К", "\Л", "\М", "\Н", "\О", "\П", "\Р", "\С", "\Т", "\У", "\Ф", "\Х", "\Ц", "\Ч", "\Ш", "\Щ", "\Ъ", "\Ы", "\Ь", "\Э", "\Ю", "\Я", "\Ё"]; -for (index = 0; index <= 32; index++) { - if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) { - $ERROR('#' + NonEscapeCharacter[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.js deleted file mode 100644 index 35ce7d5c4f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.js +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.2_T6; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; - * @description: NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.2_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.js", - -assertion: "CharacterEscapeSequnce :: NonEscapeSequence", - -description: "NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#А-Я - -if ("А" !== "\А") { - $ERROR('#А'); -} - -if ("Б" !== "\Б") { - $ERROR('#Б'); -} - -if ("В" !== "\В") { - $ERROR('#В'); -} - -if ("Г" !== "\Г") { - $ERROR('#Г'); -} - -if ("Д" !== "\Д") { - $ERROR('#Д'); -} - -if ("Е" !== "\Е") { - $ERROR('#Е'); -} - -if ("Ж" !== "\Ж") { - $ERROR('#Ж'); -} - -if ("З" !== "\З") { - $ERROR('#З'); -} - -if ("И" !== "\И") { - $ERROR('#И'); -} - -if ("Й" !== "\Й") { - $ERROR('#Й'); -} - -if ("К" !== "\К") { - $ERROR('#К'); -} - -if ("Л" !== "\Л") { - $ERROR('#Л'); -} - -if ("М" !== "\М") { - $ERROR('#М'); -} - -if ("Н" !== "\Н") { - $ERROR('#Н'); -} - -if ("О" !== "\О") { - $ERROR('#О'); -} - -if ("П" !== "\П") { - $ERROR('#П'); -} - -if ("Р" !== "\Р") { - $ERROR('#Р'); -} - -if ("С" !== "\С") { - $ERROR('#С'); -} - -if ("Т" !== "\Т") { - $ERROR('#Т'); -} - -if ("У" !== "\У") { - $ERROR('#У'); -} - -if ("Ф" !== "\Ф") { - $ERROR('#Ф'); -} - -if ("Х" !== "\Х") { - $ERROR('#Х'); -} - -if ("Ц" !== "\Ц") { - $ERROR('#Ц'); -} - -if ("Ч" !== "\Ч") { - $ERROR('#Ч'); -} - -if ("Ш" !== "\Ш") { - $ERROR('#Ш'); -} - -if ("Щ" !== "\Щ") { - $ERROR('#Щ'); -} - -if ("Ъ" !== "\Ъ") { - $ERROR('#Ъ'); -} - -if ("Ы" !== "\Ы") { - $ERROR('#Ы'); -} - -if ("Ь" !== "\Ь") { - $ERROR('#Ь'); -} - -if ("Э" !== "\Э") { - $ERROR('#Э'); -} - -if ("Ю" !== "\Ю") { - $ERROR('#Ю'); -} - -if ("Я" !== "\Я") { - $ERROR('#Я'); -} - -if ("Ё" !== "\Ё") { - $ERROR('#Ё'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.js deleted file mode 100644 index da2b3fcaca..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.2_T7; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; - * @description: NonEscapeSequence :: RUSSIAN SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.2_T7", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.js", - -assertion: "CharacterEscapeSequnce :: NonEscapeSequence", - -description: "NonEscapeSequence :: RUSSIAN SMALL ALPHABET", - -test: function testcase() { - //CHECK#а-я -CharacterCode = [0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, 0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F, 0x0451]; -NonEscapeCharacter = ["\а", "\б", "\в", "\г", "\д", "\е", "\ж", "\з", "\и", "\й", "\к", "\л", "\м", "\н", "\о", "\п", "\р", "\с", "\т", "\у", "\ф", "\х", "\ц", "\ч", "\ш", "\щ", "\ъ", "\ы", "\ь", "\э", "\ю", "\я", "\ё"]; -for (index = 0; index <= 32; index++) { - if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) { - $ERROR('#' + NonEscapeCharacter[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.js deleted file mode 100644 index b0497c9d06..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.js +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.2_T8; - * @section: 7.8.4; - * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; - * @description: NonEscapeSequence :: RUSSIAN SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.2_T8", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.js", - -assertion: "CharacterEscapeSequnce :: NonEscapeSequence", - -description: "NonEscapeSequence :: RUSSIAN SMALL ALPHABET", - -test: function testcase() { - //CHECK#а-я - -if ("а" !== "\а") { - $ERROR('#а'); -} - -if ("б" !== "\б") { - $ERROR('#б'); -} - -if ("в" !== "\в") { - $ERROR('#в'); -} - -if ("г" !== "\г") { - $ERROR('#г'); -} - -if ("д" !== "\д") { - $ERROR('#д'); -} - -if ("е" !== "\е") { - $ERROR('#е'); -} - -if ("ж" !== "\ж") { - $ERROR('#ж'); -} - -if ("з" !== "\з") { - $ERROR('#з'); -} - -if ("и" !== "\и") { - $ERROR('#и'); -} - -if ("й" !== "\й") { - $ERROR('#й'); -} - -if ("к" !== "\к") { - $ERROR('#к'); -} - -if ("л" !== "\л") { - $ERROR('#л'); -} - -if ("м" !== "\м") { - $ERROR('#м'); -} - -if ("н" !== "\н") { - $ERROR('#н'); -} - -if ("о" !== "\о") { - $ERROR('#о'); -} - -if ("п" !== "\п") { - $ERROR('#п'); -} - -if ("р" !== "\р") { - $ERROR('#р'); -} - -if ("с" !== "\с") { - $ERROR('#с'); -} - -if ("т" !== "\т") { - $ERROR('#т'); -} - -if ("у" !== "\у") { - $ERROR('#у'); -} - -if ("ф" !== "\ф") { - $ERROR('#ф'); -} - -if ("х" !== "\х") { - $ERROR('#х'); -} - -if ("ц" !== "\ц") { - $ERROR('#ц'); -} - -if ("ч" !== "\ч") { - $ERROR('#ч'); -} - -if ("ш" !== "\ш") { - $ERROR('#ш'); -} - -if ("щ" !== "\щ") { - $ERROR('#щ'); -} - -if ("ъ" !== "\ъ") { - $ERROR('#ъ'); -} - -if ("ы" !== "\ы") { - $ERROR('#ы'); -} - -if ("ь" !== "\ь") { - $ERROR('#ь'); -} - -if ("э" !== "\э") { - $ERROR('#э'); -} - -if ("ю" !== "\ю") { - $ERROR('#ю'); -} - -if ("я" !== "\я") { - $ERROR('#я'); -} - -if ("ё" !== "\ё") { - $ERROR('#ё'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js deleted file mode 100644 index e49c65e186..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\1" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js deleted file mode 100644 index a273b8157e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\7" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.js deleted file mode 100644 index 1e32c4d41e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\8" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.js deleted file mode 100644 index 2e33b5718f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\9" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.js deleted file mode 100644 index 9d034c54aa..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\u" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.js deleted file mode 100644 index 6fe5d225bd..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\x" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.js deleted file mode 100644 index 4c575e2800..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A4.3_T7; - * @section: 7.8.4; - * @assertion: NonEscapeSequence is not EscapeCharacter; - * @description: EscapeCharacter :: SingleEscapeCharacter :: one of b f n r t v; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A4.3_T7", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.js", - -assertion: "NonEscapeSequence is not EscapeCharacter", - -description: "EscapeCharacter :: SingleEscapeCharacter :: one of b f n r t v", - -test: function testcase() { - //CHECK#bfnrtv -if ("b" === "\b") { - $ERROR('#b') -} - -if ("f" === "\f") { - $ERROR('#f') -} - -if ("n" === "\n") { - $ERROR('#n') -} - -if ("r" === "\r") { - $ERROR('#r') -} - -if ("t" === "\t") { - $ERROR('#t') -} - -if ("v" === "\v") { - $ERROR('#v') -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.js deleted file mode 100644 index 449fefd678..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A5.1_T1; - * @section: 7.8.4; - * @assertion: EscapeSequence :: 0; - * @description: String.fromCharCode(0x0000); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A5.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.js", - -assertion: "EscapeSequence :: 0", - -description: "String.fromCharCode(0x0000)", - -test: function testcase() { - //CHECK#1 -if (String.fromCharCode(0x0000) !== "\0") { - $ERROR('#1: String.fromCharCode(0x0000) === "\\0"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.js deleted file mode 100644 index 408dc7d473..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A5.1_T2; - * @section: 7.8.4; - * @assertion: EscapeSequence :: 0; - * @description: "\u0000"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A5.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.js", - -assertion: "EscapeSequence :: 0", - -description: "\"\\u0000\"", - -test: function testcase() { - //CHECK#1 -if ("\u0000" !== "\0") { - $ERROR('#1: "\\u0000" === "\\0"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.js deleted file mode 100644 index 2b6f2f2ffa..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A5.1_T3; - * @section: 7.8.4; - * @assertion: EscapeSequence :: 0; - * @description: "\x00"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A5.1_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.js", - -assertion: "EscapeSequence :: 0", - -description: "\"\\x00\"", - -test: function testcase() { - //CHECK#1 -if ("\x00" !== "\0") { - $ERROR('#1: "\\x00" === "\\0"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.js deleted file mode 100644 index fdb25a1c63..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.js +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A6.1_T1; - * @section: 7.8.4; - * @assertion: EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit; - * @description: HexEscapeSequence :: HexDigit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A6.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.js", - -assertion: "EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit", - -description: "HexEscapeSequence :: HexDigit", - -test: function testcase() { - //CHECK#0 -if ("\x00" !== String.fromCharCode("0")) { - $ERROR('#0: "\\x00" === String.fromCharCode("0")'); -} - -//CHECK#1 -if ("\x01" !== String.fromCharCode("1")) { - $ERROR('#1: "\\x01" === String.fromCharCode("1")'); -} - -//CHECK#2 -if ("\x02" !== String.fromCharCode("2")) { - $ERROR('#2: "\\x02" === String.fromCharCode("2")'); -} - -//CHECK#3 -if ("\x03" !== String.fromCharCode("3")) { - $ERROR('#3: "\\x03" === String.fromCharCode("3")'); -} - -//CHECK#4 -if ("\x04" !== String.fromCharCode("4")) { - $ERROR('#4: "\\x04" === String.fromCharCode("4")'); -} - -//CHECK#5 -if ("\x05" !== String.fromCharCode("5")) { - $ERROR('#5: "\\x05" === String.fromCharCode("5")'); -} - -//CHECK#6 -if ("\x06" !== String.fromCharCode("6")) { - $ERROR('#6: "\\x06" === String.fromCharCode("6")'); -} - -//CHECK#7 -if ("\x07" !== String.fromCharCode("7")) { - $ERROR('#7: "\\x07" === String.fromCharCode("7")'); -} - -//CHECK#8 -if ("\x08" !== String.fromCharCode("8")) { - $ERROR('#8: "\\x08" === String.fromCharCode("8")'); -} - -//CHECK#9 -if ("\x09" !== String.fromCharCode("9")) { - $ERROR('#9: "\\x09" === String.fromCharCode("9")'); -} - -//CHECK#A -if ("\x0A" !== String.fromCharCode("10")) { - $ERROR('#A: "\\x0A" === String.fromCharCode("10")'); -} - -//CHECK#B -if ("\x0B" !== String.fromCharCode("11")) { - $ERROR('#B: "\\x0B" === String.fromCharCode("11")'); -} - -//CHECK#C -if ("\x0C" !== String.fromCharCode("12")) { - $ERROR('#C: "\\x0C" === String.fromCharCode("12")'); -} - -//CHECK#D -if ("\x0D" !== String.fromCharCode("13")) { - $ERROR('#D: "\\x0D" === String.fromCharCode("13")'); -} - -//CHECK#E -if ("\x0E" !== String.fromCharCode("14")) { - $ERROR('#E: "\\x0E" === String.fromCharCode("14")'); -} - -//CHECK#F -if ("\x0F" !== String.fromCharCode("15")) { - $ERROR('#F: "\\x0F" === String.fromCharCode("15")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.js deleted file mode 100644 index 66953fc097..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A6.1_T2; - * @section: 7.8.4; - * @assertion: EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit; - * @description: HexEscapeSequence :: ENGLISH CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A6.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.js", - -assertion: "EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit", - -description: "HexEscapeSequence :: ENGLISH CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#A-Z -hex = ["\x41", "\x42", "\x43", "\x44", "\x45", "\x46", "\x47", "\x48", "\x49", "\x4A", "\x4B", "\x4C", "\x4D", "\x4E", "\x4F", "\x50", "\x51", "\x52", "\x53", "\x54", "\x55", "\x56", "\x57", "\x58", "\x59", "\x5A"]; -character = ["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 (index = 0; index <= 25; index++) { - if (hex[index] !== character[index]) { - $ERROR('#' + character[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.js deleted file mode 100644 index 6e47f012dd..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A6.1_T3; - * @section: 7.8.4; - * @assertion: EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit; - * @description: HexEscapeSequence :: ENGLISH SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A6.1_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.js", - -assertion: "EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit", - -description: "HexEscapeSequence :: ENGLISH SMALL ALPHABET", - -test: function testcase() { - //CHECK#a-z -hex = ["\x61", "\x62", "\x63", "\x64", "\x65", "\x66", "\x67", "\x68", "\x69", "\x6A", "\x6B", "\x6C", "\x6D", "\x6E", "\x6F", "\x70", "\x71", "\x72", "\x73", "\x74", "\x75", "\x76", "\x77", "\x78", "\x79", "\x7A"]; -character = ["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 (index = 0; index <= 25; index++) { - if (hex[index] !== character[index]) { - $ERROR('#' + character[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.js deleted file mode 100644 index 7d01c923a6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK# -"\x0G" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.js deleted file mode 100644 index 5a3ffd6a41..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\x1" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.js deleted file mode 100644 index 7c9aa87e8e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\xA" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.js deleted file mode 100644 index 57ae867c68..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.js +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A6.3_T1; - * @section: 7.8.4; - * @assertion: \x HexDigit HexDigit SingleStringCharacter; - * @description: Check similar to ('\x01F' === String.fromCharCode('1') + 'F'); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A6.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.js", - -assertion: "\\x HexDigit HexDigit SingleStringCharacter", - -description: "Check similar to (\'\\x01F\' === String.fromCharCode(\'1\') + \'F\')", - -test: function testcase() { - //CHECK#1 -if ('\x01F' !== String.fromCharCode('1') + 'F') { - $ERROR("#1: '\x01F' === String.fromCharCode('1') + 'F'"); -} - -//CHECK#2 -if ('\x02E' !== String.fromCharCode('2') + 'E') { - $ERROR("#2: '\x02E' === String.fromCharCode('2') + 'E'"); -} - -//CHECK#3 -if ('\x03D' !== String.fromCharCode('3') + 'D') { - $ERROR("#3: '\x03D' === String.fromCharCode('3') + 'D'"); -} - -//CHECK#4 -if ('\x04C' !== String.fromCharCode('4') + 'C') { - $ERROR("#4: '\x04C' === String.fromCharCode('4') + 'C'"); -} - -//CHECK#5 -if ('\x05B' !== String.fromCharCode('5') + 'B') { - $ERROR("#5: '\x05B' === String.fromCharCode('5') + 'B'"); -} - -//CHECK#6 -if ('\x06A' !== String.fromCharCode('6') + 'A') { - $ERROR("#6: '\x06A' === String.fromCharCode('6') + 'A'"); -} - -//CHECK#7 -if ('\x079' !== String.fromCharCode('7') + '9') { - $ERROR("#7: '\x079' === String.fromCharCode('7') + '9'"); -} - -//CHECK#8 -if ('\x088' !== String.fromCharCode('8') + '8') { - $ERROR("#8: '\x088' === String.fromCharCode('8') + '8'"); -} - -//CHECK#9 -if ('\x097' !== String.fromCharCode('9') + '7') { - $ERROR("#9: '\x097' === String.fromCharCode('9') + '7'"); -} - -//CHECK#A -if ('\x0A6' !== String.fromCharCode('10') + '6') { - $ERROR("#A: '\x0A6' === String.fromCharCode('10') + '6'"); -} - -//CHECK#B -if ('\x0B5' !== String.fromCharCode('11') + '5') { - $ERROR("#B: '\x0B5' === String.fromCharCode('11') + '5'"); -} - -//CHECK#C -if ('\x0C4' !== String.fromCharCode('12') + '4') { - $ERROR("#C: '\x0C4' === String.fromCharCode('12') + '4'"); -} - -//CHECK#D -if ('\x0D3' !== String.fromCharCode('13') + '3') { - $ERROR("#D: '\x0D3' === String.fromCharCode('13') + '3'"); -} - -//CHECK#E -if ('\x0E2' !== String.fromCharCode('14') + '2') { - $ERROR("#E: '\x0E2' === String.fromCharCode('14') + '2'"); -} - -//CHECK#F -if ('\x0F1' !== String.fromCharCode('15') + '1') { - $ERROR("#F: '\x0F1' === String.fromCharCode('15') + '1'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.js deleted file mode 100644 index 2320048f44..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\X01" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.js deleted file mode 100644 index f1aed9d3b6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\X0A" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.js deleted file mode 100644 index 25fc018837..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.js +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A7.1_T1; - * @section: 7.8.4; - * @assertion: EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; - * @description: Check similar to ("\u0000" === String.fromCharCode("0")); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A7.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.js", - -assertion: "EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit", - -description: "Check similar to (\"\\u0000\" === String.fromCharCode(\"0\"))", - -test: function testcase() { - //CHECK#0 -if ("\u0000" !== String.fromCharCode("0")) { - $ERROR('#0: "\\u0000" === String.fromCharCode("0")'); -} - -//CHECK#1 -if ("\u0001" !== String.fromCharCode("1")) { - $ERROR('#1: "\\u0001" === String.fromCharCode("1")'); -} - -//CHECK#2 -if ("\u0002" !== String.fromCharCode("2")) { - $ERROR('#2: "\\u0002" === String.fromCharCode("2")'); -} - -//CHECK#3 -if ("\u0003" !== String.fromCharCode("3")) { - $ERROR('#3: "\\u0003" === String.fromCharCode("3")'); -} - -//CHECK#4 -if ("\u0004" !== String.fromCharCode("4")) { - $ERROR('#4: "\\u0004" === String.fromCharCode("4")'); -} - -//CHECK#5 -if ("\u0005" !== String.fromCharCode("5")) { - $ERROR('#5: "\\u0005" === String.fromCharCode("5")'); -} - -//CHECK#6 -if ("\u0006" !== String.fromCharCode("6")) { - $ERROR('#6: "\\u0006" === String.fromCharCode("6")'); -} - -//CHECK#7 -if ("\u0007" !== String.fromCharCode("7")) { - $ERROR('#7: "\\u0007" === String.fromCharCode("7")'); -} - -//CHECK#8 -if ("\u0008" !== String.fromCharCode("8")) { - $ERROR('#8: "\\u0008" === String.fromCharCode("8")'); -} - -//CHECK#9 -if ("\u0009" !== String.fromCharCode("9")) { - $ERROR('#9: "\\u0009" === String.fromCharCode("9")'); -} - -//CHECK#A -if ("\u000A" !== String.fromCharCode("10")) { - $ERROR('#A: "\\u000A" === String.fromCharCode("10")'); -} - -//CHECK#B -if ("\u000B" !== String.fromCharCode("11")) { - $ERROR('#B: "\\u000B" === String.fromCharCode("11")'); -} - -//CHECK#C -if ("\u000C" !== String.fromCharCode("12")) { - $ERROR('#C: "\\u000C" === String.fromCharCode("12")'); -} - -//CHECK#D -if ("\u000D" !== String.fromCharCode("13")) { - $ERROR('#D: "\\u000D" === String.fromCharCode("13")'); -} - -//CHECK#E -if ("\u000E" !== String.fromCharCode("14")) { - $ERROR('#E: "\\u000E" === String.fromCharCode("14")'); -} - -//CHECK#F -if ("\u000F" !== String.fromCharCode("15")) { - $ERROR('#F: "\\u000F" === String.fromCharCode("15")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.js deleted file mode 100644 index 778655b1ee..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A7.1_T2; - * @section: 7.8.4; - * @assertion: EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; - * @description: UnicodeEscapeSequence :: ENGLISH CAPITAL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A7.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.js", - -assertion: "EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit", - -description: "UnicodeEscapeSequence :: ENGLISH CAPITAL ALPHABET", - -test: function testcase() { - //CHECK#A-Z -unicode = ["\u0041", "\u0042", "\u0043", "\u0044", "\u0045", "\u0046", "\u0047", "\u0048", "\u0049", "\u004A", "\u004B", "\u004C", "\u004D", "\u004E", "\u004F", "\u0050", "\u0051", "\u0052", "\u0053", "\u0054", "\u0055", "\u0056", "\u0057", "\u0058", "\u0059", "\u005A"]; -character = ["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 (index = 0; index <= 25; index++) { - if (unicode[index] !== character[index]) { - $ERROR('#' + character[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.js deleted file mode 100644 index 740a72e2d6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A7.1_T3; - * @section: 7.8.4; - * @assertion: EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; - * @description: UnicodeEscapeSequence :: ENGLISH SMALL ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A7.1_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.js", - -assertion: "EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit", - -description: "UnicodeEscapeSequence :: ENGLISH SMALL ALPHABET", - -test: function testcase() { - //CHECK#a-z -unicode = ["\u0061", "\u0062", "\u0063", "\u0064", "\u0065", "\u0066", "\u0067", "\u0068", "\u0069", "\u006A", "\u006B", "\u006C", "\u006D", "\u006E", "\u006F", "\u0070", "\u0071", "\u0072", "\u0073", "\u0074", "\u0075", "\u0076", "\u0077", "\u0078", "\u0079", "\u007A"]; -character = ["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 (index = 0; index <= 25; index++) { - if (unicode[index] !== character[index]) { - $ERROR('#' + character[index] + ' '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.js deleted file mode 100644 index 0539a16fb7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK# -"\u000G" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.js deleted file mode 100644 index ac7e932337..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\u1" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.js deleted file mode 100644 index 1ebbdccdd6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\uA" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.js deleted file mode 100644 index 6ed0d849e0..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\u11" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.js deleted file mode 100644 index b467eb3ccd..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\uAA" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.js deleted file mode 100644 index d4c646688b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\u111" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.js deleted file mode 100644 index dfa857b096..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\uAAA" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.js deleted file mode 100644 index 1a8d65f90c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.js +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.4_A7.3_T1; - * @section: 7.8.4; - * @assertion: \u HexDigit HexDigit HexDigit HexDigit DoubleStringCharacter; - * @description: Check similar to ("\u0001F" === String.fromCharCode("1") + "F"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.4_A7.3_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.js", - -assertion: "\\u HexDigit HexDigit HexDigit HexDigit DoubleStringCharacter", - -description: "Check similar to (\"\\u0001F\" === String.fromCharCode(\"1\") + \"F\")", - -test: function testcase() { - //CHECK#1 -if ("\u0001F" !== String.fromCharCode("1") + "F") { - $ERROR('#1: "\\u0001F" === String.fromCharCode("1") + "F"'); -} - -//CHECK#2 -if ("\u0002E" !== String.fromCharCode("2") + "E") { - $ERROR('#2: "\\u0002E" === String.fromCharCode("2") + "E"'); -} - -//CHECK#3 -if ("\u0003D" !== String.fromCharCode("3") + "D") { - $ERROR('#3: "\\u0003D" === String.fromCharCode("3") + "D"'); -} - -//CHECK#4 -if ("\u0004C" !== String.fromCharCode("4") + "C") { - $ERROR('#4: "\\u0004C" === String.fromCharCode("4") + "C"'); -} - -//CHECK#5 -if ("\u0005B" !== String.fromCharCode("5") + "B") { - $ERROR('#5: "\\u0005B" === String.fromCharCode("5") + "B"'); -} - -//CHECK#6 -if ("\u0006A" !== String.fromCharCode("6") + "A") { - $ERROR('#6: "\\u0006A" === String.fromCharCode("6") + "A"'); -} - -//CHECK#7 -if ("\u00079" !== String.fromCharCode("7") + "9") { - $ERROR('#7: "\\u00079" === String.fromCharCode("7") + "9"'); -} - -//CHECK#8 -if ("\u00088" !== String.fromCharCode("8") + "8") { - $ERROR('#8: "\\u00088" === String.fromCharCode("8") + "8"'); -} - -//CHECK#9 -if ("\u00097" !== String.fromCharCode("9") + "7") { - $ERROR('#9: "\\u00097" === String.fromCharCode("9") + "7"'); -} - -//CHECK#A -if ("\u000A6" !== String.fromCharCode("10") + "6") { - $ERROR('#A: "\\u000A6" === String.fromCharCode("10") + "6"'); -} - -//CHECK#B -if ("\u000B5" !== String.fromCharCode("11") + "5") { - $ERROR('#B: "\\u000B5" === String.fromCharCode("11") + "5"'); -} - -//CHECK#C -if ("\u000C4" !== String.fromCharCode("12") + "4") { - $ERROR('#C: "\\u000C4" === String.fromCharCode("12") + "4"'); -} - -//CHECK#D -if ("\u000D3" !== String.fromCharCode("13") + "3") { - $ERROR('#D: "\\u000D3" === String.fromCharCode("13") + "3"'); -} - -//CHECK#E -if ("\u000E2" !== String.fromCharCode("14") + "2") { - $ERROR('#E: "\\u000E2" === String.fromCharCode("14") + "2"'); -} - -//CHECK#F -if ("\u000F1" !== String.fromCharCode("15") + "1") { - $ERROR('#F: "\\u000F1" === String.fromCharCode("15") + "1"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.js deleted file mode 100644 index 9ef87c50d4..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\U0001" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.js deleted file mode 100644 index 658ac49f45..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -"\U000A" - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.js deleted file mode 100644 index 9d34f6ac4b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.1_T1; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: NonTerminator but not * or \ or /, - * RegularExpressionChars :: [empty], RegularExpressionFlags :: [empty]; - * @description: Without eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.js", - -assertion: "RegularExpressionFirstChar :: NonTerminator but not * or \\ or /,", - -description: "Without eval", - -test: function testcase() { - //CHECK#1 -if (/1/.source !== "1") { - $ERROR('#1: /1/'); -} - -//CHECK#2 -if (/a/.source !== "a") { - $ERROR('#2: /a/'); -} - -//CHECK#3 -if (/;/.source !== ";") { - $ERROR('#3: /;/'); -} - -//CHECK#4 -if (/ /.source !== " ") { - $ERROR('#4: / /'); -} - -//CHECK#5 -if (/\u0041/.source !== "\\u0041") { - $ERROR('#5: /\\u0041/'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.js deleted file mode 100644 index 2645b6d6bd..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.1_T2; - * @section: 7.8.5, 15.10.1; - * @assertion: RegularExpressionFirstChar :: NonTerminator but not * or \ or /, - * RegularExpressionChars :: [empty], RegularExpressionFlags :: [empty]; - * @description: Complex test with eval, using syntax pattern; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.js", - -assertion: "RegularExpressionFirstChar :: NonTerminator but not * or \\ or /,", - -description: "Complex test with eval, using syntax pattern", - -test: function testcase() { - //CHECK -errorCount = 0; -count = 0; -var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]; -for (i1 = 0; i1 < 16; i1++) { - for (i2 = 0; i2 < 16; i2++) { - for (i3 = 0; i3 < 16; i3++) { - for (i4 = 0; i4 < 16; i4++) { - try { - var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4]; - var Elimination = - ((uu === "002A") || (uu === "002F") || (uu === "005C") || (uu === "002B") || - (uu === "003F") || (uu === "0028") || (uu === "0029") || - (uu === "005B") || (uu === "005D") || (uu === "007B") || (uu === "007D")); - /* - * \u002A / \u002F \ \u005C + \u002B - ? \u003F ( \u0028 ) \u0029 - [ \u005B ] \u005D { \u007B } \u007D - */ - var LineTerminator = ((uu === "000A") || (uu === "000D") || (uu === "2028") || (uu === "2029")); - if ((Elimination || LineTerminator ) === false) { - var xx = String.fromCharCode("0x" + uu); - var pattern = eval("/" + xx + "/"); - if (pattern.source !== xx) { - $ERROR('#' + uu + ' '); - errorCount++; - } - } else { - count--; - } - } catch (e) { - $ERROR('#' + uu + ' '); - errorCount++; - } - count++; - } - } - } -} - -if (errorCount > 0) { - $ERROR('Total error: ' + errorCount + ' bad Regular Expression First Char in ' + count); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.js deleted file mode 100644 index 99c9ea6f20..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/*/ - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.js deleted file mode 100644 index 1df5c2e4b1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/\/ - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.js deleted file mode 100644 index ad70f462cb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/// -.source; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.js deleted file mode 100644 index 91f59540a6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -// -.source; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.js deleted file mode 100644 index a6a575ece9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/ -/ - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.js deleted file mode 100644 index 04bfa5c410..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.3_T2; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; - * @description: Line Feed, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.3_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.js", - -assertion: "RegularExpressionFirstChar :: LineTerminator is incorrect", - -description: "Line Feed, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/\u000A/").source; - $ERROR('#1.1: RegularExpressionFirstChar :: Line Feed is incorrect. Actual: ' + (eval("/\u000A/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionFirstChar :: Line Feed is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.js deleted file mode 100644 index 14eb261a39..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/ / - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.js deleted file mode 100644 index 4d9b0aa394..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.3_T4; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; - * @description: Carriage Return, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.3_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.js", - -assertion: "RegularExpressionFirstChar :: LineTerminator is incorrect", - -description: "Carriage Return, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/\u000D/").source; - $ERROR('#1.1: RegularExpressionFirstChar :: Carriage Return is incorrect. Actual: ' + (eval("/\u000D/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionFirstChar :: Carriage Return is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.js deleted file mode 100644 index 1444697c66..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.3_T5; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; - * @description: Line separator, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.3_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.js", - -assertion: "RegularExpressionFirstChar :: LineTerminator is incorrect", - -description: "Line separator, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/\u2028/").source; - $ERROR('#1.1: RegularExpressionFirstChar :: Line separator is incorrect. Actual: ' + (eval("/\u2028/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionFirstChar :: Line separator is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.js deleted file mode 100644 index e8d81a121e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.3_T6; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; - * @description: Paragraph separator, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.3_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.js", - -assertion: "RegularExpressionFirstChar :: LineTerminator is incorrect", - -description: "Paragraph separator, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/\u2029/").source; - $ERROR('#1.1: RegularExpressionFirstChar :: Paragraph separator is incorrect. Actual: ' + (eval("/\u2029/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionFirstChar :: Paragraph separator is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.js deleted file mode 100644 index 86a996d13e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.4_T1; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \NonTerminator, - * RegularExpressionChars :: [empty], RegularExpressionFlags :: [empty]; - * @description: Check similar to (/\1/.source === "\\1"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.4_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.js", - -assertion: "RegularExpressionFirstChar :: BackslashSequence :: \\NonTerminator,", - -description: "Check similar to (/\\1/.source === \"\\\\1\")", - -test: function testcase() { - //CHECK#1 -if (/\1/.source !== "\\1") { - $ERROR('#1: /\\1/'); -} - -//CHECK#2 -if (/\a/.source !== "\\a") { - $ERROR('#2: /\\a/'); -} - -//CHECK#3 -if (/\;/.source !== "\\;") { - $ERROR('#3: /\\;/'); -} - -//CHECK#4 -if (/\ /.source !== "\\ ") { - $ERROR('#4: /\\ /'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.js deleted file mode 100644 index ec8f75b22c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.4_T2; - * @section: 7.8.5, 15.10.1; - * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \NonTerminator, - * RegularExpressionChars :: [empty], RegularExpressionFlags :: [empty]; - * @description: Complex test with eval, using syntax pattern; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.4_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.js", - -assertion: "RegularExpressionFirstChar :: BackslashSequence :: \\NonTerminator,", - -description: "Complex test with eval, using syntax pattern", - -test: function testcase() { - //CHECK -errorCount = 0; -count = 0; -var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]; -for (i1 = 0; i1 < 16; i1++) { - for (i2 = 0; i2 < 16; i2++) { - for (i3 = 0; i3 < 16; i3++) { - for (i4 = 0; i4 < 16; i4++) { - try { - var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4]; - var Elimination = - ((uu === "002A") || (uu === "002F") || (uu === "005C") || (uu === "002B") || - (uu === "003F") || (uu === "0028") || (uu === "0029") || - (uu === "005B") || (uu === "005D") || (uu === "007B") || (uu === "007D")); - /* - * \u002A / \u002F \ \u005C + \u002B - ? \u003F ( \u0028 ) \u0029 - [ \u005B ] \u005D { \u007B } \u007D - */ - var LineTerminator = ((uu === "000A") || (uu === "000D") || (uu === "2028") || (uu === "2029")); - if ((Elimination || LineTerminator ) === false) { - var xx = "\\" + String.fromCharCode("0x" + uu); - var pattern = eval("/" + xx + "/"); - if (pattern.source !== xx) { - $ERROR('#' + uu + ' '); - errorCount++; - } - } else { - count--; - } - } catch (e) { - $ERROR('#' + uu + ' '); - errorCount++; - } - count++; - } - } - } -} - -if (errorCount > 0) { - $ERROR('Total error: ' + errorCount + ' bad Regular Expression First Char in ' + count); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.js deleted file mode 100644 index 7d68b3523c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/\ -/ - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.js deleted file mode 100644 index a57cad7fbe..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.5_T2; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; - * @description: Line Feed, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.5_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.js", - -assertion: "RegularExpressionFirstChar :: BackslashSequence :: \\LineTerminator is incorrect", - -description: "Line Feed, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/\\\u000A/").source; - $ERROR('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (eval("/\\\u000A/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.js deleted file mode 100644 index 929f5713b2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/\ / - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.js deleted file mode 100644 index 9870d3c30b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.5_T4; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; - * @description: Carriage Return, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.5_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.js", - -assertion: "RegularExpressionFirstChar :: BackslashSequence :: \\LineTerminator is incorrect", - -description: "Carriage Return, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/\\\u000D/").source; - $ERROR('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (eval("/\\\u000D/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.js deleted file mode 100644 index 3178069766..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.5_T5; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; - * @description: Line separator, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.5_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.js", - -assertion: "RegularExpressionFirstChar :: BackslashSequence :: \\LineTerminator is incorrect", - -description: "Line separator, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/\\\u2028/").source; - $ERROR('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (eval("/\\\u2028/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.js deleted file mode 100644 index 93ee6f47cd..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A1.5_T6; - * @section: 7.8.5; - * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; - * @description: Paragraph separator, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A1.5_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.js", - -assertion: "RegularExpressionFirstChar :: BackslashSequence :: \\LineTerminator is incorrect", - -description: "Paragraph separator, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/\\\u2029/").source; - $ERROR('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (eval("/\\\u2029/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.js deleted file mode 100644 index 0983909b4a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.1_T1; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: NonTerminator but not \ or /, - * RegularExpressionFlags :: [empty]; - * @description: Without eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.js", - -assertion: "RegularExpressionChar :: NonTerminator but not \\ or /,", - -description: "Without eval", - -test: function testcase() { - //CHECK#1 -if (/1a/.source !== "1a") { - $ERROR('#1: /1a/'); -} - -//CHECK#2 -if (/aa/.source !== "aa") { - $ERROR('#2: /aa/'); -} - -//CHECK#3 -if (/,;/.source !== ",;") { - $ERROR('#3: /,;/'); -} - -//CHECK#4 -if (/ /.source !== " ") { - $ERROR('#4: / /'); -} - -//CHECK#5 -if (/a\u0041/.source !== "a\\u0041") { - $ERROR('#5: /a\\u0041/'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.js deleted file mode 100644 index cab51ce8b8..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.1_T2; - * @section: 7.8.5, 15.10.1; - * @assertion: RegularExpressionChar :: NonTerminator but not \ or /, - * RegularExpressionFlags :: [empty]; - * @description: Complex test with eval, using syntax pattern; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.js", - -assertion: "RegularExpressionChar :: NonTerminator but not \\ or /,", - -description: "Complex test with eval, using syntax pattern", - -test: function testcase() { - //CHECK -errorCount = 0; -count = 0; -var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]; -for (i1 = 0; i1 < 16; i1++) { - for (i2 = 0; i2 < 16; i2++) { - for (i3 = 0; i3 < 16; i3++) { - for (i4 = 0; i4 < 16; i4++) { - try { - var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4]; - var Elimination = - ((uu === "002A") || (uu === "002F") || (uu === "005C") || (uu === "002B") || - (uu === "003F") || (uu === "0028") || (uu === "0029") || - (uu === "005B") || (uu === "005D") || (uu === "007B") || (uu === "007D")); - /* - * \u002A / \u002F \ \u005C + \u002B - ? \u003F ( \u0028 ) \u0029 - [ \u005B ] \u005D { \u007B } \u007D - */ - var LineTerminator = ((uu === "000A") || (uu === "000D") || (uu === "2028") || (uu === "2029")); - if ((Elimination || LineTerminator ) === false) { - var xx = "nnnn" + String.fromCharCode("0x" + uu); - var pattern = eval("/" + xx + "/"); - if (pattern.source !== xx) { - $ERROR('#' + uu + ' '); - errorCount++; - } - - } else { - count--; - } - } catch (e) { - $ERROR('#' + uu + ' '); - errorCount++; - } - count++; - } - } - } -} - -if (errorCount > 0) { - $ERROR('Total error: ' + errorCount + ' bad Regular Expression First Char in ' + count); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.js deleted file mode 100644 index 0e7eb1d37b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/a\/ - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.js deleted file mode 100644 index 7c0fe2bbd9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/a//.source; - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.js deleted file mode 100644 index c37cc11095..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/a -/ - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.js deleted file mode 100644 index a1dffe4828..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.3_T2; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: LineTerminator is incorrect; - * @description: Line Feed, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.3_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.js", - -assertion: "RegularExpressionChar :: LineTerminator is incorrect", - -description: "Line Feed, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/a\u000A/").source; - $ERROR('#1.1: RegularExpressionChar :: Line Feedis incorrect. Actual: ' + (eval("/a\u000A/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionChar :: Line Feed is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.js deleted file mode 100644 index ea0a257099..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/a / - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.js deleted file mode 100644 index 29c948ab14..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.3_T4; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: LineTerminator is incorrect; - * @description: Carriage Return, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.3_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.js", - -assertion: "RegularExpressionChar :: LineTerminator is incorrect", - -description: "Carriage Return, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/a\u000D/").source; - $ERROR('#1.1: RegularExpressionChar :: Carriage Retur is incorrect. Actual: ' + (eval("/a\u000D/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionChar :: Carriage Retur is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.js deleted file mode 100644 index 4203e377bb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.3_T5; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: LineTerminator is incorrect; - * @description: Line separator, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.3_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.js", - -assertion: "RegularExpressionChar :: LineTerminator is incorrect", - -description: "Line separator, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/a\u2028/").source; - $ERROR('#1.1: RegularExpressionChar :: Line separator is incorrect. Actual: ' + (eval("/a\u2028/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionChar :: Line separator is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.js deleted file mode 100644 index 31b69dad3e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.3_T6; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: LineTerminator is incorrect; - * @description: Paragraph separator, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.3_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.js", - -assertion: "RegularExpressionChar :: LineTerminator is incorrect", - -description: "Paragraph separator, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/s\u2029/").source; - $ERROR('#1.1: RegularExpressionChar :: Paragraph separator is incorrect. Actual: ' + (eval("/s\u2029/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionChar :: Paragraph separator is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.js deleted file mode 100644 index 76043bbbde..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.4_T1; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: BackslashSequence :: \NonTerminator, - * RegularExpressionFlags :: [empty]; - * @description: Check similar to (/a\1/.source === "a\\1"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.4_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.js", - -assertion: "RegularExpressionChar :: BackslashSequence :: \\NonTerminator,", - -description: "Check similar to (/a\\1/.source === \"a\\\\1\")", - -test: function testcase() { - //CHECK#1 -if (/a\1/.source !== "a\\1") { - $ERROR('#1: /a\\1/'); -} - -//CHECK#2 -if (/a\a/.source !== "a\\a") { - $ERROR('#2: /a\\a/'); -} - -//CHECK#3 -if (/,\;/.source !== ",\\;") { - $ERROR('#3: /,\\;/'); -} - -//CHECK#4 -if (/ \ /.source !== " \\ ") { - $ERROR('#4: / \\ /'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.js deleted file mode 100644 index 94332681f3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.4_T2; - * @section: 7.8.5, 15.10.1; - * @assertion: RegularExpressionChar :: BackslashSequence :: \NonTerminator, - * RegularExpressionFlags :: [empty]; - * @description: Complex test with eval, using syntax pattern; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.4_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.js", - -assertion: "RegularExpressionChar :: BackslashSequence :: \\NonTerminator,", - -description: "Complex test with eval, using syntax pattern", - -test: function testcase() { - //CHECK -errorCount = 0; -count = 0; -var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]; -for (i1 = 0; i1 < 16; i1++) { - for (i2 = 0; i2 < 16; i2++) { - for (i3 = 0; i3 < 16; i3++) { - for (i4 = 0; i4 < 16; i4++) { - try { - var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4]; - var Elimination = - ((uu === "002A") || (uu === "002F") || (uu === "005C") || (uu === "002B") || - (uu === "003F") || (uu === "0028") || (uu === "0029") || - (uu === "005B") || (uu === "005D") || (uu === "007B") || (uu === "007D")); - /* - * \u002A / \u002F \ \u005C + \u002B - ? \u003F ( \u0028 ) \u0029 - [ \u005B ] \u005D { \u007B } \u007D - */ - var LineTerminator = ((uu === "000A") || (uu === "000D") || (uu === "2028") || (uu === "2029")); - if ((Elimination || LineTerminator ) === false) { - var xx = "a\\" + String.fromCharCode("0x" + uu); - var pattern = eval("/" + xx + "/"); - if (pattern.source !== xx) { - $ERROR('#' + uu + ' '); - errorCount++; - } - } else { - count--; - } - } catch (e) { - $ERROR('#' + uu + ' '); - errorCount++; - } - count++; - } - } - } -} - -if (errorCount > 0) { - $ERROR('Total error: ' + errorCount + ' bad Regular Expression First Char in ' + count); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.js deleted file mode 100644 index 705876f175..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/a\ -/ - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.js deleted file mode 100644 index a9a4ea815c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.5_T2; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; - * @description: Line Feed, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.5_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.js", - -assertion: "RegularExpressionChar :: BackslashSequence :: \\LineTerminator is incorrect", - -description: "Line Feed, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/a\\\u000A/").source; - $ERROR('#1.1: RegularExpressionChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (eval("/a\\\u000A/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.js deleted file mode 100644 index 510d9a7423..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -/a\ / - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.js deleted file mode 100644 index b1a5c1b0cb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.5_T4; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; - * @description: Carriage Return, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.5_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.js", - -assertion: "RegularExpressionChar :: BackslashSequence :: \\LineTerminator is incorrect", - -description: "Carriage Return, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/a\\\u000D/").source; - $ERROR('#1.1: RegularExpressionChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (eval("/a\\\u000D/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.js deleted file mode 100644 index bbcefd526e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.5_T5; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; - * @description: Line separator, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.5_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.js", - -assertion: "RegularExpressionChar :: BackslashSequence :: \\LineTerminator is incorrect", - -description: "Line separator, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/a\\\u2028/").source; - $ERROR('#1.1: RegularExpressionChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (eval("/a\\\u2028/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.js deleted file mode 100644 index f29b08057e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A2.5_T6; - * @section: 7.8.5; - * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; - * @description: Paragraph separator, with eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A2.5_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.js", - -assertion: "RegularExpressionChar :: BackslashSequence :: \\LineTerminator is incorrect", - -description: "Paragraph separator, with eval", - -test: function testcase() { - //CHECK#1 -try { - eval("/a\\\u2029/").source; - $ERROR('#1.1: RegularExpressionChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (eval("/a\\\u2029/").source)); -} -catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: RegularExpressionChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.js deleted file mode 100644 index 2a9f3c39f9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A3.1_T1; - * @section: 7.8.5, 15.10.4.1; - * @assertion: RegularExpressionFlags :: IdentifierPart; - * @description: IdentifierPart :: g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A3.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.js", - -assertion: "RegularExpressionFlags :: IdentifierPart", - -description: "IdentifierPart :: g", - -test: function testcase() { - //CHECK#1 -var regexp = /(?:)/g; -if (regexp.global !== true) { - $ERROR('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global)); -} - -//CHECK#2 -if (regexp.ignoreCase !== false) { - $ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase)); -} - -//CHECK#3 -if (regexp.multiline !== false) { - $ERROR('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.js deleted file mode 100644 index 391dbd3490..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A3.1_T2; - * @section: 7.8.5, 15.10.4.1; - * @assertion: RegularExpressionFlags :: IdentifierPart; - * @description: IdentifierPart :: i; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A3.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.js", - -assertion: "RegularExpressionFlags :: IdentifierPart", - -description: "IdentifierPart :: i", - -test: function testcase() { - //CHECK#1 -var regexp = /(?:)/i; -if (regexp.global !== false) { - $ERROR('#1: var regexp = /(?:)/g; regexp.global === false. Actual: ' + (regexp.global)); -} - -//CHECK#2 -if (regexp.ignoreCase !== true) { - $ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase)); -} - -//CHECK#3 -if (regexp.multiline !== false) { - $ERROR('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.js deleted file mode 100644 index 6fd98c174b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A3.1_T3; - * @section: 7.8.5, 15.10.4.1; - * @assertion: RegularExpressionFlags :: IdentifierPart; - * @description: IdentifierPart :: m; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A3.1_T3", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.js", - -assertion: "RegularExpressionFlags :: IdentifierPart", - -description: "IdentifierPart :: m", - -test: function testcase() { - //CHECK#1 -var regexp = /(?:)/m; -if (regexp.global !== false) { - $ERROR('#1: var regexp = /(?:)/g; regexp.global === false. Actual: ' + (regexp.global)); -} - -//CHECK#2 -if (regexp.ignoreCase !== false) { - $ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase)); -} - -//CHECK#3 -if (regexp.multiline !== true) { - $ERROR('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.js deleted file mode 100644 index 7078ce2101..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A3.1_T4; - * @section: 7.8.5, 15.10.4.1; - * @assertion: RegularExpressionFlags :: IdentifierPart; - * @description: IdentifierPart :: gi; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A3.1_T4", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.js", - -assertion: "RegularExpressionFlags :: IdentifierPart", - -description: "IdentifierPart :: gi", - -test: function testcase() { - //CHECK#1 -var regexp = /(?:)/gi; -if (regexp.global !== true) { - $ERROR('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global)); -} - -//CHECK#2 -if (regexp.ignoreCase !== true) { - $ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase)); -} - -//CHECK#3 -if (regexp.multiline !== false) { - $ERROR('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.js deleted file mode 100644 index 4654f7787d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A3.1_T5; - * @section: 7.8.5, 15.10.4.1; - * @assertion: RegularExpressionFlags :: IdentifierPart; - * @description: IdentifierPart :: mg; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A3.1_T5", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.js", - -assertion: "RegularExpressionFlags :: IdentifierPart", - -description: "IdentifierPart :: mg", - -test: function testcase() { - //CHECK#1 -var regexp = /(?:)/mg; -if (regexp.global !== true) { - $ERROR('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global)); -} - -//CHECK#2 -if (regexp.ignoreCase !== false) { - $ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase)); -} - -//CHECK#3 -if (regexp.multiline !== true) { - $ERROR('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.js deleted file mode 100644 index 8735556b70..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A3.1_T6; - * @section: 7.8.5, 15.10.4.1; - * @assertion: RegularExpressionFlags :: IdentifierPart; - * @description: IdentifierPart :: mig; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A3.1_T6", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.js", - -assertion: "RegularExpressionFlags :: IdentifierPart", - -description: "IdentifierPart :: mig", - -test: function testcase() { - //CHECK#1 -var regexp = /(?:)/mig; -if (regexp.global !== true) { - $ERROR('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global)); -} - -//CHECK#2 -if (regexp.ignoreCase !== true) { - $ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase)); -} - -//CHECK#3 -if (regexp.multiline !== true) { - $ERROR('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.js deleted file mode 100644 index 8c9d942c86..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A3.1_T7; - * @section: 7.8.5, 15.10.4.1; - * @assertion: RegularExpressionFlags :: IdentifierPart; - * @description: IdentifierPart :: \u0067 (g); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A3.1_T7", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.js", - -assertion: "RegularExpressionFlags :: IdentifierPart", - -description: "IdentifierPart :: \\u0067 (g)", - -test: function testcase() { - //CHECK#1 -var regexp = /(?:)/\u0067; -if (regexp.global !== true) { - $ERROR('#1: var regexp = /(?:)/\\u0067; regexp.global === true. Actual: ' + (regexp.global)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.js deleted file mode 100644 index de95452b87..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A3.1_T8; - * @section: 7.8.5, 15.10.4.1; - * @assertion: RegularExpressionFlags :: IdentifierPart; - * @description: IdentifierPart :: \u0069 (i); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A3.1_T8", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.js", - -assertion: "RegularExpressionFlags :: IdentifierPart", - -description: "IdentifierPart :: \\u0069 (i)", - -test: function testcase() { - //CHECK#1 -var regexp = /(?:)/\u0069; -if (regexp.ignoreCase !== true) { - $ERROR('#1: var regexp = /(?:)/\\u0069; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.js deleted file mode 100644 index d1650a7bbb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A3.1_T9; - * @section: 7.8.5, 15.10.4.1; - * @assertion: RegularExpressionFlags :: IdentifierPart; - * @description: IdentifierPart :: \u006D (m); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A3.1_T9", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.js", - -assertion: "RegularExpressionFlags :: IdentifierPart", - -description: "IdentifierPart :: \\u006D (m)", - -test: function testcase() { - //CHECK#1 -var regexp = /(?:)/\u006D; -if (regexp.multiline !== true) { - $ERROR('#1: var regexp = /(?:)/\\u006D; regexp.multiline === true. Actual: ' + (regexp.multiline)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.js deleted file mode 100644 index f0dcd498f7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A4.1; - * @section: 7.8.5; - * @assertion: A regular expression literal is an input element that is converted to - * a RegExp object when it is scanned; - * @description: Check ((/(?:)/ instanceof RegExp) === true); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A4.1", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.js", - -assertion: "A regular expression literal is an input element that is converted to", - -description: "Check ((/(?:)/ instanceof RegExp) === true)", - -test: function testcase() { - //CHECK#1 -if ((/(?:)/ instanceof RegExp) !== true) { - $ERROR('#1: (/(?:)/ instanceof RegExp) === true. Actual: ' + ((/(?:)/ instanceof RegExp))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.js deleted file mode 100644 index c67551f3c5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.8.5_A4.2; - * @section: 7.8.5; - * @assertion: Two regular expression literals in a program evaluate to - * regular expression objects that never compare as === to each other even - * if the two literals' contents are identical; - * @description: Check equality two regular expression literals; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.8.5_A4.2", - -path: "TestCases/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.js", - -assertion: "Two regular expression literals in a program evaluate to", - -description: "Check equality two regular expression literals", - -test: function testcase() { - //CHECK#1 -var regexp1 = /(?:)/; -var regexp2 = /(?:)/; -if (regexp1 === regexp2) { - $ERROR('#1: var regexp1 = /(?:)/; var regexp2 = /(?:)/; regexp1 !== regexp2'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T1.js deleted file mode 100644 index 63224d7473..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -{ 1 2 } 3 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T2.js deleted file mode 100644 index 6a39e6f13e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T2.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9.2_A1_T2; - * @section: 7.9.2; - * @assertion: Check examples for automatic semicolon insertion from the Standart; - * @description: { 1 \n 2 } 3 is a valid sentence in the ECMAScript grammar with automatic semicolon insertion; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9.2_A1_T2", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T2.js", - -assertion: "Check examples for automatic semicolon insertion from the Standart", - -description: "{ 1 \\n 2 } 3 is a valid sentence in the ECMAScript grammar with automatic semicolon insertion", - -test: function testcase() { - //CHECK#1 -{ 1 -2 } 3 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T3.js deleted file mode 100644 index 5e4cd737fb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T3.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( a ; b -) - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T4.js deleted file mode 100644 index a24176f746..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9.2_A1_T4; - * @section: 7.9.2; - * @assertion: Check examples for automatic semicolon insertion from the Standart; - * @description: return \n a+b is a valid sentence in the ECMAScript grammar - * with automatic semicolon insertion, but returned undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9.2_A1_T4", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T4.js", - -assertion: "Check examples for automatic semicolon insertion from the Standart", - -description: "return \\n a+b is a valid sentence in the ECMAScript grammar", - -test: function testcase() { - //CHECK#1 -var a=1,b=2; -function test(){ - return - a+b -} -var x=test(); -if (x!==undefined) $ERROR('#1: Automatic semicolon insertion not work with return'); - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T5.js deleted file mode 100644 index 3af9c4f3ab..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T5.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9.2_A1_T5; - * @section: 7.9.2; - * @assertion: Check examples for automatic semicolon insertion from the Standart; - * @description: a=b \n ++c is a valid sentence in the ECMAScript grammar - * with automatic semicolon insertion, but a!==b++c; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9.2_A1_T5", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T5.js", - -assertion: "Check examples for automatic semicolon insertion from the Standart", - -description: "a=b \\n ++c is a valid sentence in the ECMAScript grammar", - -test: function testcase() { - //CHECK#1 -var a=1,b=2,c=3; -a=b -++c - -if (a!==b) $ERROR('#1: Automatic semicolon insertion not work with ++'); - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T6.js deleted file mode 100644 index eec422b7b1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T6.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -var a=1,b=2,c=3,d; -if(a>b) -else c=d - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T7.js deleted file mode 100644 index 891abdf482..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T7.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9.2_A1_T7; - * @section: 7.9.2; - * @assertion: Check examples for automatic semicolon insertion from the Standart; - * @description: a=b+c \n (d+e).print() is a valid sentence in the ECMAScript grammar, - * and automatic semicolon insertion not run; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9.2_A1_T7", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples_of_Automatic_Semicolon_Insertion/S7.9.2_A1_T7.js", - -assertion: "Check examples for automatic semicolon insertion from the Standart", - -description: "a=b+c \\n (d+e).print() is a valid sentence in the ECMAScript grammar,", - -test: function testcase() { - //CHECK#1 -function c (a){ - return 2*a; -} - -var a=1,b=2,d=4,e=5; - -a=b+c -(d+e) - -if (a !== 20) $ERROR('#1: Automatic semicolon insertion work wrong'); - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.js deleted file mode 100644 index d3ee96d7de..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A1; - * @section: 7.9, 12.7, 12.12; - * @assertion: Check Continue Statement for automatic semicolon insertion; - * @description: Try use continue \n Label construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.js", - -assertion: "Check Continue Statement for automatic semicolon insertion", - -description: "Try use continue \\n Label construction", - -test: function testcase() { - //CHECK#1 -label1: for (var i = 0; i <= 0; i++) { - for (var j = 0; j <= 1; j++) { - if (j === 0) { - continue label1; - } else { - $ERROR('#1: Check continue statement for automatic semicolon insertion'); - } - } -} - -//CHECK#2 -var result = false; -label2: for (var i = 0; i <= 1; i++) { - for (var j = 0; j <= 1; j++) { - if (j === 0) { - continue - label2; - } else { - result = true; - } - } -} - -if (result !== true) { - $ERROR('#2: Check continue statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.js deleted file mode 100644 index f365ea2c91..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A10_T1; - * @section: 7.9; - * @assertion: Check {} for automatic semicolon insertion; - * @description: Checking if execution of "1 * {}" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A10_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.js", - -assertion: "Check {} for automatic semicolon insertion", - -description: "Checking if execution of \"1 * {}\" passes", - -test: function testcase() { - //CHECK#1 -1 * {} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.js deleted file mode 100644 index 2d97c4a91f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A10_T10; - * @section: 7.9; - * @assertion: Check {} for automatic semicolon insertion; - * @description: Checking if execution of "{a:1 \n} 3" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A10_T10", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.js", - -assertion: "Check {} for automatic semicolon insertion", - -description: "Checking if execution of \"{a:1 \\n} 3\" passes", - -test: function testcase() { - //CHECK#1 -{a:1 -} 3 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.js deleted file mode 100644 index b2777c9033..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A10_T11; - * @section: 7.9; - * @assertion: Check {} for automatic semicolon insertion; - * @description: Checking if execution of "{a:1 \n} \n 3" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A10_T11", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.js", - -assertion: "Check {} for automatic semicolon insertion", - -description: "Checking if execution of \"{a:1 \\n} \\n 3\" passes", - -test: function testcase() { - //CHECK#1 -{a:1 -} -3 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.js deleted file mode 100644 index d66bc304c3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A10_T12; - * @section: 7.9; - * @assertion: Check {} for automatic semicolon insertion; - * @description: Checking if execution of "{ \n a: \n 1 \n } \n 3" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A10_T12", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.js", - -assertion: "Check {} for automatic semicolon insertion", - -description: "Checking if execution of \"{ \\n a: \\n 1 \\n } \\n 3\" passes", - -test: function testcase() { - //CHECK#1 -{ -a: -1 -} -3 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.js deleted file mode 100644 index f11004da9e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -{} * 1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.js deleted file mode 100644 index b5fdbf4e23..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A10_T3; - * @section: 7.9; - * @assertion: Check {} for automatic semicolon insertion; - * @description: Checking if execution of "({}) * 1" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A10_T3", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.js", - -assertion: "Check {} for automatic semicolon insertion", - -description: "Checking if execution of \"({}) * 1\" passes", - -test: function testcase() { - //CHECK#1 -({}) * 1 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.js deleted file mode 100644 index ebd1d454d0..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -({};) * 1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.js deleted file mode 100644 index f3943609e2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A10_T5; - * @section: 7.9; - * @assertion: Check {} for automatic semicolon insertion; - * @description: Checking if execution of "( \n {} \n ) * 1" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A10_T5", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.js", - -assertion: "Check {} for automatic semicolon insertion", - -description: "Checking if execution of \"( \\n {} \\n ) * 1\" passes", - -test: function testcase() { - //CHECK#1 -( - {} -) * 1 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.js deleted file mode 100644 index 7c44ac7967..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -{} - * 1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.js deleted file mode 100644 index 57d66f2b97..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A10_T7; - * @section: 7.9; - * @assertion: Check {} for automatic semicolon insertion; - * @description: Checking if execution of "{1} 2" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A10_T7", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.js", - -assertion: "Check {} for automatic semicolon insertion", - -description: "Checking if execution of \"{1} 2\" passes", - -test: function testcase() { - //CHECK#1 -{1} 2 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.js deleted file mode 100644 index 47178383d5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -{1 2} 3 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.js deleted file mode 100644 index 2fb70f92a3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A10_T9; - * @section: 7.9; - * @assertion: Check {} for automatic semicolon insertion; - * @description: Checking if execution of "{1 \n 2} 3" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A10_T9", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.js", - -assertion: "Check {} for automatic semicolon insertion", - -description: "Checking if execution of \"{1 \\n 2} 3\" passes", - -test: function testcase() { - //CHECK#1 -{1 -2} 3 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.js deleted file mode 100644 index b0f1dc848d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A11_T1; - * @section: 7.9, 12.5; - * @assertion: Check If Statement for automatic semicolon insertion; - * @description: Use if (false) x = 1 (without semicolon) and check x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A11_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.js", - -assertion: "Check If Statement for automatic semicolon insertion", - -description: "Use if (false) x = 1 (without semicolon) and check x", - -test: function testcase() { - //CHECK#1 -x = 0; -if (false) x = 1 -if (x !== 0) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.js deleted file mode 100644 index 4fda5dcbe8..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A11_T10; - * @section: 7.9, 12.5; - * @assertion: Check If Statement for automatic semicolon insertion; - * @description: Use if (false) {x = 1} else {x=-1} and check x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A11_T10", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.js", - -assertion: "Check If Statement for automatic semicolon insertion", - -description: "Use if (false) {x = 1} else {x=-1} and check x", - -test: function testcase() { - //CHECK#1 -x = 0; -if (false) {x = 1} else {x = -1} -if (x !== -1) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.js deleted file mode 100644 index d75941de00..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A11_T11; - * @section: 7.9, 12.5; - * @assertion: Check If Statement for automatic semicolon insertion; - * @description: Use if (false) {{x = 1};} \n else x=-1 and check x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A11_T11", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.js", - -assertion: "Check If Statement for automatic semicolon insertion", - -description: "Use if (false) {{x = 1};} \\n else x=-1 and check x", - -test: function testcase() { - //CHECK#1 -x = 0; -if (false) {{x = 1};} -else x = -1 -if (x !== -1) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.js deleted file mode 100644 index df2b60f36a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A11_T2; - * @section: 7.9, 12.5; - * @assertion: Check If Statement for automatic semicolon insertion; - * @description: Use if (false) \n x = 1 and check x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A11_T2", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.js", - -assertion: "Check If Statement for automatic semicolon insertion", - -description: "Use if (false) \\n x = 1 and check x", - -test: function testcase() { - //CHECK#1 -x = 0; -if (false) -x = 1 -if (x !== 0) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.js deleted file mode 100644 index 7bf200e5f7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A11_T3; - * @section: 7.9, 12.5; - * @assertion: Check If Statement for automatic semicolon insertion; - * @description: Use if (false);\n x = 1 and check x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A11_T3", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.js", - -assertion: "Check If Statement for automatic semicolon insertion", - -description: "Use if (false);\\n x = 1 and check x", - -test: function testcase() { - //CHECK#1 -x = 0; -if (false); -x = 1 -if (x !== 1) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.js deleted file mode 100644 index c4314fe75a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -x = 0; -if (false) x = 1 else x = -1 - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.js deleted file mode 100644 index dbc4a61475..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A11_T5; - * @section: 7.9, 12.5; - * @assertion: Check If Statement for automatic semicolon insertion; - * @description: Use if (false) x = 1; else x=-1 and check x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A11_T5", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.js", - -assertion: "Check If Statement for automatic semicolon insertion", - -description: "Use if (false) x = 1; else x=-1 and check x", - -test: function testcase() { - //CHECK#1 -x = 0; -if (false) x = 1; else x = -1 -if (x !== -1) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.js deleted file mode 100644 index 1f4387e15c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A11_T6; - * @section: 7.9, 12.5; - * @assertion: Check If Statement for automatic semicolon insertion; - * @description: Use if (false) x = 1 \n else x=-1 and check x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A11_T6", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.js", - -assertion: "Check If Statement for automatic semicolon insertion", - -description: "Use if (false) x = 1 \\n else x=-1 and check x", - -test: function testcase() { - //CHECK#1 -x = 0; -if (false) x = 1 -else x = -1 -if (x !== -1) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.js deleted file mode 100644 index 92e96a6f9b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A11_T7; - * @section: 7.9, 12.5; - * @assertion: Check If Statement for automatic semicolon insertion; - * @description: Use if (false) x = 1; \n else x=-1 and check x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A11_T7", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.js", - -assertion: "Check If Statement for automatic semicolon insertion", - -description: "Use if (false) x = 1; \\n else x=-1 and check x", - -test: function testcase() { - //CHECK#1 -x = 0; -if (false) x = 1; -else x = -1 -if (x !== -1) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.js deleted file mode 100644 index 087e4b31d4..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -x = 0; -if (false) {x = 1}; -else x = -1 -if (x !== -1) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.js deleted file mode 100644 index 3999f7d9af..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A11_T9; - * @section: 7.9, 12.5; - * @assertion: Check If Statement for automatic semicolon insertion; - * @description: Use if (false) {x = 1} \n else x=-1 and check x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A11_T9", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.js", - -assertion: "Check If Statement for automatic semicolon insertion", - -description: "Use if (false) {x = 1} \\n else x=-1 and check x", - -test: function testcase() { - //CHECK#1 -x = 0; -if (false) {x = 1} -else x = -1 -if (x !== -1) { - $ERROR('#1: Check If Statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.js deleted file mode 100644 index ae810cd89e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A2; - * @section: 7.9, 12.8, 12.12; - * @assertion: Check Break Statement for automatic semicolon insertion; - * @description: Try use break \n Label construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A2", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.js", - -assertion: "Check Break Statement for automatic semicolon insertion", - -description: "Try use break \\n Label construction", - -test: function testcase() { - //CHECK#1 -label1: for (var i = 0; i <= 0; i++) { - for (var j = 0; j <= 0; j++) { - break label1; - } - $ERROR('#1: Check break statement for automatic semicolon insertion'); -} - -//CHECK#2 -var result = false; -label2: for (var i = 0; i <= 0; i++) { - for (var j = 0; j <= 0; j++) { - break - label2; - } - result = true; -} - -if (result !== true) { - $ERROR('#2: Check break statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.js deleted file mode 100644 index 5f2081b8e3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A3; - * @section: 7.9, 12.9; - * @assertion: Check Return Statement for automatic semicolon insertion; - * @description: Try use return \n Expression construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A3", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.js", - -assertion: "Check Return Statement for automatic semicolon insertion", - -description: "Try use return \\n Expression construction", - -test: function testcase() { - //CHECK#1 -function f1() -{ - return 1; -} -if (f1() !== 1) { - $ERROR('#1: Check return statement for automatic semicolon insertion'); -} - -//CHECK#2 -function f2() -{ - return - 1; -} -if (f2() !== undefined) { - $ERROR('#2: Check return statement for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.js deleted file mode 100644 index b8fc1c17dd..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - throw - 1; -} catch(e) { -} -$ERROR('#1: Check throw statement for automatic semicolon insertion'); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.js deleted file mode 100644 index 1ba94d21c1..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -var x = 0; -x -++; -$ERROR('#1: Check Postfix Increment Operator for automatic semicolon insertion'); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.js deleted file mode 100644 index f0903317b4..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A5.2_T1; - * @section: 7.9, 12.4, 11.13.1; - * @assertion: Check Prefix Increment Operator for automatic semicolon insertion; - * @description: Try use Variable1 \n ++Variable2 construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.2_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.js", - -assertion: "Check Prefix Increment Operator for automatic semicolon insertion", - -description: "Try use Variable1 \\n ++Variable2 construction", - -test: function testcase() { - //CHECK#1 -var x = 0; -var y = 0; -x -++y -if (x !== 0) { - $ERROR('#1: Check Prefix Increment Operator for automatic semicolon insertion'); -} else { - if (y !== 1) { - $ERROR('#2: Check Prefix Increment Operator for automatic semicolon insertion'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.js deleted file mode 100644 index c6d9f22e48..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -var x = 1; -x ---; -$ERROR('#1: Check Postfix Decrement Operator for automatic semicolon insertion'); - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.js deleted file mode 100644 index 3f56ed6350..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A5.4_T1; - * @section: 7.9, 12.4, 11.13.2; - * @assertion: Check Prefix Decrement Operator for automatic semicolon insertion; - * @description: Try use Variable1 \n --Variable2 construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.4_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.js", - -assertion: "Check Prefix Decrement Operator for automatic semicolon insertion", - -description: "Try use Variable1 \\n --Variable2 construction", - -test: function testcase() { - //CHECK#1 -var x = 1; -var y = 1; -x ---y -if (x !== 1) { - $ERROR('#1: Check Prefix Decrement Operator for automatic semicolon insertion'); -} else { - if (y !== 0) { - $ERROR('#1: Check Prefix Decrement Operator for automatic semicolon insertion'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.js deleted file mode 100644 index cac6a7e0f9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A5.5_T1; - * @section: 7.9, 12.4, 11.2.5; - * @assertion: Check Function Expression for automatic semicolon insertion; - * @description: Try use 1 + function_name\n(2 + 3) construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.5_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.js", - -assertion: "Check Function Expression for automatic semicolon insertion", - -description: "Try use 1 + function_name\\n(2 + 3) construction", - -test: function testcase() { - //CHECK#1 -function f(t) { - return t; -} -var x = 1 + f -(2 + 3) -if (x !== 6) { - $ERROR('#1: Check Function Expression for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.js deleted file mode 100644 index 9ecf11562d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A5.5_T2; - * @section: 7.9, 12.4, 11.2.5; - * @assertion: Check Function Expression for automatic semicolon insertion; - * @description: Try use function f(o) {o.x = 1; return o;}; \n (new Object()).x; construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.5_T2", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.js", - -assertion: "Check Function Expression for automatic semicolon insertion", - -description: "Try use function f(o) {o.x = 1; return o;}; \\n (new Object()).x; construction", - -test: function testcase() { - //CHECK#1 -var result = function f(o) {o.x = 1; return o;}; -(new Object()).x; -if (typeof result !== "function") { - $ERROR('#1: Check Function Expression for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.js deleted file mode 100644 index 40d92f5187..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A5.5_T3; - * @section: 7.9, 12.4, 11.2.5; - * @assertion: Check Function Expression for automatic semicolon insertion; - * @description: Try use function f(o) {o.x = 1; return o;} \n (new Object()).x; construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.5_T3", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.js", - -assertion: "Check Function Expression for automatic semicolon insertion", - -description: "Try use function f(o) {o.x = 1; return o;} \\n (new Object()).x; construction", - -test: function testcase() { - //CHECK#1 -var result = function f(o) {o.x = 1; return o;} -(new Object()).x; -if (result !== 1) { - $ERROR('#1: Check Function Expression for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.js deleted file mode 100644 index c6d4905bb3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A5.5_T4; - * @section: 7.9, 12.4, 11.2.5; - * @assertion: Check Function Expression for automatic semicolon insertion; - * @description: Insert some LineTerminators into function body; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.5_T4", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.js", - -assertion: "Check Function Expression for automatic semicolon insertion", - -description: "Insert some LineTerminators into function body", - -test: function testcase() { - //CHECK#1 -var x = -1 + (function (t){return {a:t -} -}) -(2 + 3). -a - -if (x !== 6) { - $ERROR('#1: Check Function Expression for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.js deleted file mode 100644 index 350b4191f8..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A5.5_T5; - * @section: 7.9, 12.4, 11.2.5; - * @assertion: Check Function Expression for automatic semicolon insertion; - * @description: Insert some LineTerminators into rerutn expression; - * -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.5_T5", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.js", - -assertion: "Check Function Expression for automatic semicolon insertion", - -description: "Insert some LineTerminators into rerutn expression", - -test: function testcase() { - //CHECK#1 -var x = -1 + (function f -(t){ -return { -a: -function(){ -return t + 1 -} -} -} -) -(2 + 3). -a -() - -if (x !== 7) { - $ERROR('#1: Check Function Expression for automatic semicolon insertion'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.js deleted file mode 100644 index 5c78d0d37a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A5.6_T1; - * @section: 7.9, 12.4, 11.3, 11.4.4, 11.4.5; - * @assertion: Since LineTerminator between Postfix Increment/Decrement Operator(I/DO) and operand is not allowed but - * between Prefix I/DO and operand admitted, Postfix I/DO in combination with prefix I/DO after automatic semicolon insertion gives valid result; - * @description: Try use Variable1 \n ++ \n Variable2 construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.6_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.js", - -assertion: "Since LineTerminator between Postfix Increment/Decrement Operator(I/DO) and operand is not allowed but", - -description: "Try use Variable1 \\n ++ \\n Variable2 construction", - -test: function testcase() { - var x=0, y=0; - -x -++ -y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==0)&(y!==1)) { - $ERROR('#1: Check Postfix Increment Operator for automatic semicolon insertion'); -} -// -////////////////////////////////////////////////////////////////////////////// - -x -++y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if ((x!==0)&(y!==2)) { - $ERROR('#2: Check Postfix Increment Operator for automatic semicolon insertion'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.js deleted file mode 100644 index e714415372..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A5.6_T2; - * @section: 7.9, 12.4, 11.3, 11.4.4, 11.4.5; - * @assertion: Since LineTerminator between Postfix Increment/Decrement Operator(I/DO) and operand is not allowed but - * between Prefix I/DO and operand admitted, Postfix I/DO in combination with prefix I/DO after automatic semicolon insertion gives valid result; - * @description: Try use Variable1 \n -- \n Variable2 construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.6_T2", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.js", - -assertion: "Since LineTerminator between Postfix Increment/Decrement Operator(I/DO) and operand is not allowed but", - -description: "Try use Variable1 \\n -- \\n Variable2 construction", - -test: function testcase() { - var x=0, y=2; - -x --- -y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==0)&(y!==1)) { - $ERROR('#1: Check Postfix Increment Operator for automatic semicolon insertion'); -} -// -////////////////////////////////////////////////////////////////////////////// - -x ---y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if ((x!==0)&(y!==0)) { - $ERROR('#2: Check Postfix Increment Operator for automatic semicolon insertion'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.js deleted file mode 100644 index 473ad3f13a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var x=0, y=0; -z= -x -++ -++ -y - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.js deleted file mode 100644 index 238d1d2924..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S7.9_A5.8_T1; -* @section: 7.9; -* @assertion: Since LineTerminator(LT) between Postfix Increment/Decrement Operator(I/DO) and operand is admitted, -* Additive/Substract Operator(A/SO) in combination with I/DO separated by LT or white spaces after automatic semicolon insertion gives valid result; -* @description: Try use Variable1 \n + \n ++ \n Variable2 construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.8_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.js", - -assertion: "Since LineTerminator(LT) between Postfix Increment/Decrement Operator(I/DO) and operand is admitted,", - -description: "Try use Variable1 \\n + \\n ++ \\n Variable2 construction", - -test: function testcase() { - var x=0, y=0; -z= -x -+ -++ -y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((z!==1)&&(y!==1)&&(x!==0)) { - $ERROR('#1: '); -} -// -////////////////////////////////////////////////////////////////////////////// - -z= -x -+ ++ -y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if ((z!==2)&&(y!==2)&&(x!==0)) { - $ERROR(''); -} -// -////////////////////////////////////////////////////////////////////////////// - -z= -x -+ ++ -y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ((z!==3)&&(y!==3)&&(x!==0)) { - $ERROR(''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.js deleted file mode 100644 index 78bef92cfb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S7.9_A5.9_T1; -* @section: 7.9; -* @assertion: Additive/Substract Operator(A/SO) in combination with itself separated by LT or white spaces -* after automatic semicolon insertion gives valid result; -* @description: Try use Variable1 (different combinations of three +) Variable2 construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A5.9_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.js", - -assertion: "Additive/Substract Operator(A/SO) in combination with itself separated by LT or white spaces", - -description: "Try use Variable1 (different combinations of three +) Variable2 construction", - -test: function testcase() { - var x=1, y=1; -z= -x -+ -+ -+ -y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((z!==2)&&(y!==1)&&(x!==1)) { - $ERROR('#1: '); -} -// -////////////////////////////////////////////////////////////////////////////// - -z= -x + + + y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if ((z!==2)&&(y!==1)&&(x!==1)) { - $ERROR(''); -} -// -////////////////////////////////////////////////////////////////////////////// - -z= -x -+ + -+ + -y - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ((z!==2)&&(y!==1)&&(x!==1)) { - $ERROR(''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.js deleted file mode 100644 index 3103fc1581..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T1; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for( Empty two semicolons and \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for( Empty two semicolons and \\n)", - -test: function testcase() { - //CHECK#1 -for(;; -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.js deleted file mode 100644 index 89c39b9288..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T10; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for (false \n two semicolons false \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T10", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for (false \\n two semicolons false \\n)", - -test: function testcase() { - //CHECK#1 -for(false - ;;false -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.js deleted file mode 100644 index 1ca3a97d2b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T11; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for (false \n semicolon \n semicolon \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T11", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for (false \\n semicolon \\n semicolon \\n)", - -test: function testcase() { - //CHECK#1 -for(false - ; - ; -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.js deleted file mode 100644 index d05c00bc02..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T12; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for (false \n semicolon false \n semicolon \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T12", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for (false \\n semicolon false \\n semicolon \\n)", - -test: function testcase() { - //CHECK#1 -for(false - ;false - ; -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.js deleted file mode 100644 index ca7bc569a3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T13; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for (false \n semicolon false \n semicolon false \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T13", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for (false \\n semicolon false \\n semicolon false \\n)", - -test: function testcase() { - //CHECK#1 -for(false - ;false - ;false -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.js deleted file mode 100644 index 16976d44b7..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T2; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for (semicolon \n semicolon \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T2", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for (semicolon \\n semicolon \\n)", - -test: function testcase() { - //CHECK#1 -for(; - ; -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.js deleted file mode 100644 index c778d8aaea..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T3; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for (\n two semicolons \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T3", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for (\\n two semicolons \\n)", - -test: function testcase() { - //CHECK#1 -for( - ;; -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.js deleted file mode 100644 index 98438d8272..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T4; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for( \n semicolon \n semicolon \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T4", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for( \\n semicolon \\n semicolon \\n)", - -test: function testcase() { - //CHECK#1 -for( - ; - ; -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.js deleted file mode 100644 index edcbfd5720..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T5; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for ( \n semicolon \n\n semicolon \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T5", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for ( \\n semicolon \\n\\n semicolon \\n)", - -test: function testcase() { - //CHECK#1 -for( - ; - - ; -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.js deleted file mode 100644 index dc7750cf46..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T6; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for(false semicolon false semicolon false \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T6", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for(false semicolon false semicolon false \\n)", - -test: function testcase() { - //CHECK#1 -for(false;false;false -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.js deleted file mode 100644 index 32f86d5af4..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T7; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for (false semicolon false \n semicolon \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T7", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for (false semicolon false \\n semicolon \\n)", - -test: function testcase() { - //CHECK#1 -for(false;false - ; -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.js deleted file mode 100644 index 38423fffbd..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T8; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for (false semicolon false \n semicolon false \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T8", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for (false semicolon false \\n semicolon false \\n)", - -test: function testcase() { - //CHECK#1 -for(false;false - ;false -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.js deleted file mode 100644 index d60697c2f6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A6.1_T9; - * @section: 7.9, 12.6.3; - * @assertion: Check For Statement for automatic semicolon insertion; - * @description: for (false \n two semicolons \n); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A6.1_T9", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.js", - -assertion: "Check For Statement for automatic semicolon insertion", - -description: "for (false \\n two semicolons \\n)", - -test: function testcase() { - //CHECK#1 -for(false - ;; -) { - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.js deleted file mode 100644 index fda6d226b2..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for(; -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.js deleted file mode 100644 index 6fbd939356..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( - false -;) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.js deleted file mode 100644 index db87d70ca5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( - ; -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.js deleted file mode 100644 index 2c0bf2f336..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( -;) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.js deleted file mode 100644 index fdf56a2811..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( - -;) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.js deleted file mode 100644 index 7690fb1389..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for(false;false -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.js deleted file mode 100644 index 66b856867f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for(false; -false -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.js deleted file mode 100644 index 06454dbb14..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for(false - ; -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.js deleted file mode 100644 index 3dd3e82641..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for(false - ;false -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.js deleted file mode 100644 index 5884a98c4b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( -;false) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.js deleted file mode 100644 index 8da211a511..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.js deleted file mode 100644 index 7245850dc9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( - -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js deleted file mode 100644 index af6b6d647f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( - - -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.js deleted file mode 100644 index 16250a6490..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( - false -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.js deleted file mode 100644 index 8ffa7d31a5..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for(false - false -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.js deleted file mode 100644 index faeb35e7b0..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( - false - false -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.js deleted file mode 100644 index 7cb2735658..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for( - false - false - false -) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.js deleted file mode 100644 index 62d491c64f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for(false;false;false;) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.js deleted file mode 100644 index c99d0a7f8b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -for(false;false;;false) { - break; -} - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.js deleted file mode 100644 index 26710c9a1e..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A7_T1; - * @section: 7.9, 12.2; - * @assertion: Check Var Statement for automatic semicolon insertion; - * @description: Checking if execution of "var x \n = 1" passes; - -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A7_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.js", - -assertion: "Check Var Statement for automatic semicolon insertion", - -description: "Checking if execution of \"var x \\n = 1\" passes", - -test: function testcase() { - //CHECK#1 -var x -= 1 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.js deleted file mode 100644 index 0ce2114d2c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A7_T2; - * @section: 7.9, 12.2; - * @assertion: Check Var Statement for automatic semicolon insertion; - * @description: Checking if execution of "var x = \n 1" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A7_T2", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.js", - -assertion: "Check Var Statement for automatic semicolon insertion", - -description: "Checking if execution of \"var x = \\n 1\" passes", - -test: function testcase() { - //CHECK#1 -var x = -1 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.js deleted file mode 100644 index df68649446..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A7_T3; - * @section: 7.9, 12.2; - * @assertion: Check Var Statement for automatic semicolon insertion; - * @description: Checking if execution of "var x \n x = 1" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A7_T3", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.js", - -assertion: "Check Var Statement for automatic semicolon insertion", - -description: "Checking if execution of \"var x \\n x = 1\" passes", - -test: function testcase() { - //CHECK#1 -var x -x = 1 - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.js deleted file mode 100644 index 966961b1b6..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A7_T4; - * @section: 7.9, 12.2; - * @assertion: Check Var Statement for automatic semicolon insertion; - * @description: Checking if execution of "var \n x" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A7_T4", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.js", - -assertion: "Check Var Statement for automatic semicolon insertion", - -description: "Checking if execution of \"var \\n x\" passes", - -test: function testcase() { - //CHECK#1 -var -x - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.js deleted file mode 100644 index 69deaa1125..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A7_T5; - * @section: 7.9, 12.2; - * @assertion: Check Var Statement for automatic semicolon insertion; - * @description: Checking if execution of "var \n x \n = \n 1" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A7_T5", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.js", - -assertion: "Check Var Statement for automatic semicolon insertion", - -description: "Checking if execution of \"var \\n x \\n = \\n 1\" passes", - -test: function testcase() { - //CHECK#1 -var -x -= -1 - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.js deleted file mode 100644 index f1e494d48d..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A7_T6; - * @section: 7.9, 12.2; - * @assertion: Check Var Statement for automatic semicolon insertion; - * @description: Checking if execution of "var x, \n y" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A7_T6", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.js", - -assertion: "Check Var Statement for automatic semicolon insertion", - -description: "Checking if execution of \"var x, \\n y\" passes", - -test: function testcase() { - //CHECK#1 -var x, -y - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.js deleted file mode 100644 index 0a13e2bfa9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -var x -y - - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.js deleted file mode 100644 index 80924df463..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A7_T8; - * @section: 7.9, 12.2; - * @assertion: Check Var Statement for automatic semicolon insertion; - * @description: Checking if execution of "var x \n ,y" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A7_T8", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.js", - -assertion: "Check Var Statement for automatic semicolon insertion", - -description: "Checking if execution of \"var x \\n ,y\" passes", - -test: function testcase() { - //CHECK#1 -var x -,y - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.js deleted file mode 100644 index 2412d75650..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A7_T9; - * @section: 7.9, 12.2; - * @assertion: Check Var Statement for automatic semicolon insertion; - * @description: Checking if execution of "var x \n ,y = 1" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A7_T9", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.js", - -assertion: "Check Var Statement for automatic semicolon insertion", - -description: "Checking if execution of \"var x \\n ,y = 1\" passes", - -test: function testcase() { - //CHECK#1 -var -x -,y = 1 - - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.js deleted file mode 100644 index 5f3e4533e3..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A8_T1; - * @section: 7.9, 12.4; - * @assertion: Check Empty Statement for automatic semicolon insertion; - * @description: Checking if execution of one semicolon passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A8_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.js", - -assertion: "Check Empty Statement for automatic semicolon insertion", - -description: "Checking if execution of one semicolon passes", - -test: function testcase() { - //CHECK#1 -; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.js deleted file mode 100644 index b23ea3079f..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A8_T2; - * @section: 7.9, 12.4; - * @assertion: Check Empty Statement for automatic semicolon insertion; - * @description: Checking if execution of some semicolons with LineTerminators pases; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A8_T2", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.js", - -assertion: "Check Empty Statement for automatic semicolon insertion", - -description: "Checking if execution of some semicolons with LineTerminators pases", - -test: function testcase() { - //CHECK#1 -; -; -; -; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.js deleted file mode 100644 index 8dd24b7a8b..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A8_T3; - * @section: 7.9, 12.4; - * @assertion: Check Empty Statement for automatic semicolon insertion; - * @description: Checking if execution of some semicolons without LineTerminators passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A8_T3", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.js", - -assertion: "Check Empty Statement for automatic semicolon insertion", - -description: "Checking if execution of some semicolons without LineTerminators passes", - -test: function testcase() { - //CHECK#1 -;;;; - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.js deleted file mode 100644 index 092e8dbeeb..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A8_T4; - * @section: 7.9, 12.4; - * @assertion: Check Empty Statement for automatic semicolon insertion; - * @description: Checking if execution of some semicolons with LineTerminators and numbers passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A8_T4", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.js", - -assertion: "Check Empty Statement for automatic semicolon insertion", - -description: "Checking if execution of some semicolons with LineTerminators and numbers passes", - -test: function testcase() { - //CHECK#1 -;1; -;1 -;1; -;1 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.js deleted file mode 100644 index f6cfdd61aa..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A8_T5; - * @section: 7.9, 12.4; - * @assertion: Check Empty Statement for automatic semicolon insertion; - * @description: Checking if execution of some semicolons without LineTerminators but with numbers passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A8_T5", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.js", - -assertion: "Check Empty Statement for automatic semicolon insertion", - -description: "Checking if execution of some semicolons without LineTerminators but with numbers passes", - -test: function testcase() { - //CHECK#1 -;;1;;1;;1 - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js deleted file mode 100644 index e1930d47df..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A9_T1; - * @section: 7.9, 12.6.1; - * @assertion: Check Do-While Statement for automatic semicolon insertion; - * @description: Execute do { \n }while(false); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A9_T1", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js", - -assertion: "Check Do-While Statement for automatic semicolon insertion", - -description: "Execute do { \\n }while(false)", - -test: function testcase() { - //CHECK#1 -do { -} while (false) - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.js deleted file mode 100644 index b2be671bbc..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A9_T2; - * @section: 7.9, 12.6.1; - * @assertion: Check Do-While Statement for automatic semicolon insertion; - * @description: Execute do; while(false) \n true; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A9_T2", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.js", - -assertion: "Check Do-While Statement for automatic semicolon insertion", - -description: "Execute do; while(false) \\n true", - -test: function testcase() { - //CHECK#1 -do ; while (false) -true - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.js deleted file mode 100644 index cdbcd8df5a..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A9_T3; - * @section: 7.9, 12.6.1; - * @assertion: Check Do-While Statement for automatic semicolon insertion; - * @description: Execute do { \n ; \n }while(false) true; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A9_T3", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.js", - -assertion: "Check Do-While Statement for automatic semicolon insertion", - -description: "Execute do { \\n ; \\n }while(false) true", - -test: function testcase() { - //CHECK#1 -do { - ; -} while (false) true - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.js deleted file mode 100644 index b98b37c81c..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A9_T4; - * @section: 7.9, 12.6.1; - * @assertion: Check Do-While Statement for automatic semicolon insertion; - * @description: Execute do ; while \n (false) true; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A9_T4", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.js", - -assertion: "Check Do-While Statement for automatic semicolon insertion", - -description: "Execute do ; while \\n (false) true", - -test: function testcase() { - //CHECK#1 -do ; while -(false) true - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.js deleted file mode 100644 index bf0a9478c9..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A9_T5; - * @section: 7.9, 12.6.1; - * @assertion: Check Do-While Statement for automatic semicolon insertion; - * @description: Execute do { \n ; \n }while((false) \n ); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A9_T5", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.js", - -assertion: "Check Do-While Statement for automatic semicolon insertion", - -description: "Execute do { \\n ; \\n }while((false) \\n )", - -test: function testcase() { - //CHECK#1 -do { - ; -} while ((false) -) - - } -}); - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.js deleted file mode 100644 index 80bd67c849..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -do -while (false) - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.js deleted file mode 100644 index e8bace9f18..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -do - -while (false) - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.js deleted file mode 100644 index 81a6730883..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -do {}; -while (false) - - diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.js deleted file mode 100644 index 54ef59bd66..0000000000 --- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S7.9_A9_T9; - * @section: 7.9, 12.6.1; - * @assertion: Check Do-While Statement for automatic semicolon insertion; - * @description: Execute do {} \n while(false); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S7.9_A9_T9", - -path: "TestCases/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.js", - -assertion: "Check Do-While Statement for automatic semicolon insertion", - -description: "Execute do {} \\n while(false)", - -test: function testcase() { - //CHECK#1 -do {} -while (false) - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.js b/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.js deleted file mode 100644 index 7683d13468..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.1_A1_T1; - * @section: 8.1; - * @assertion: The Undefined type has one value, called undefined; - * @description: Checking if execution of "var x = undefined" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.1_A1_T1", - -path: "TestCases/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.js", - -assertion: "The Undefined type has one value, called undefined", - -description: "Checking if execution of \"var x = undefined\" passes", - -test: function testcase() { - // CHECK#1 -var x = undefined; - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.js b/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.js deleted file mode 100644 index 0bade865f4..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.1_A1_T2; - * @section: 8.1; - * @assertion: The Undefined type has one value, called undefined; - * @description: Check typeof(undefined) and typeof(void 0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.1_A1_T2", - -path: "TestCases/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.js", - -assertion: "The Undefined type has one value, called undefined", - -description: "Check typeof(undefined) and typeof(void 0)", - -test: function testcase() { - // CHECK#1 -if (!(typeof(undefined) === "undefined")) { - ERROR('#1: typeof(undefined) === "undefined". Actual: ' + (typeof(undefined))); -} - -// CHECK#2 -if (!(typeof(void 0) === "undefined")) { - ERROR('#2: typeof(void 0) === "undefined". Actual: ' + (typeof(void 0))); -} - -// CHECK#3 -if (!(undefined === void 0)) { - ERROR('#3: undefined === void 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.js b/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.js deleted file mode 100644 index 8dd99f42f8..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.1_A2_T1; - * @section: 8.1; - * @assertion: Any variable that has not been assigned a value has the value undefined; - * @description: Check that var x have value and type undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.1_A2_T1", - -path: "TestCases/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.js", - -assertion: "Any variable that has not been assigned a value has the value undefined", - -description: "Check that var x have value and type undefined", - -test: function testcase() { - var x; - -/////////////////////////////////////////////////////////////////// -// CHECK#1 -if (!(x === undefined)) { - $ERROR('#1: var x; x === undefined. Actual: ' + (x)); -} -// -/////////////////////////////////////////////////////////////////// - -/////////////////////////////////////////////////////////////////// -// CHECK#2 -if (!(typeof(x) === "undefined")) { - $ERROR('#2: var x; typeof(x) === "undefined". Actual: ' + (typeof(x))); -} -// -/////////////////////////////////////////////////////////////////// - -/////////////////////////////////////////////////////////////////// -// CHECK#3 -if (!(x === void 0)) { - $ERROR('#3: var x; x === void 0. Actual: ' + (x)); -} -// -/////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.js b/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.js deleted file mode 100644 index 41516baba6..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.1_A2_T2; - * @section: 8.1; - * @assertion: Any variable that has not been assigned a value has the value undefined; - * @description: Function return undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.1_A2_T2", - -path: "TestCases/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.js", - -assertion: "Any variable that has not been assigned a value has the value undefined", - -description: "Function return undefined", - -test: function testcase() { - // CHECK#1 -function test1(x) { - return x; -} - -if (!(test1() === void 0)) { - $ERROR('#1: function test1(x){return x} test1() === void 0. Actual: ' + (test1())); -} - -// CHECK#2 -function test2() { -} - -if (!(test2() === void 0)) { - $ERROR('#2: function test2(){} test2() === void 0. Actual: ' + (test2())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A3.js b/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A3.js deleted file mode 100644 index efcaa1859b..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.1_A3; - * @section: 8.1; - * @assertion: undefined is now non-writable in es5; - * @description: "undefined=1" should throw a TypeError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.1_A3", - -path: "TestCases/08_Types/8.1_The_Undefined_Type/S8.1_A3.js", - -assertion: "undefined is now non-writable in es5", - -description: "\"undefined=1\" should throw a TypeError", - -test: function testcase() { - ////////////////////////////////////////////////////////// -// CHECK1# -var undefined = 1; -// -////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A4.js b/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A4.js deleted file mode 100644 index 1dbff2a723..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.1_A4; - * @section: 8.1; - * @assertion: If property of object not exist, return undefined; - * @description: Check value of not existed property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.1_A4", - -path: "TestCases/08_Types/8.1_The_Undefined_Type/S8.1_A4.js", - -assertion: "If property of object not exist, return undefined", - -description: "Check value of not existed property", - -test: function testcase() { - // CHECK#1 -if ((new Object()).newProperty !== undefined) { - $ERROR('#1: (new Object()).newProperty === undefined. Actual: ' + ((new Object()).newProperty)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A5.js b/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A5.js deleted file mode 100644 index 6de0ab5da7..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A5.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.1_A5; - * @section: 8.1; - * @assertion: Function argument that isn't provided has a value of undefined; - * @description: Call function without provided argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.1_A5", - -path: "TestCases/08_Types/8.1_The_Undefined_Type/S8.1_A5.js", - -assertion: "Function argument that isn\'t provided has a value of undefined", - -description: "Call function without provided argument", - -test: function testcase() { - /////////////////////////////////////// -// -function test(arg) { -// Check and make sure that arg is not undefined - if (typeof(arg) !== "undefined") { - $ERROR('#1: Function argument that isn\'t provided has a value of undefined. Actual: ' + (typeof(arg))); - } -} - -test(); -// -//////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A1_T1.js b/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A1_T1.js deleted file mode 100644 index 123901d801..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A1_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.2_A1_T1; - * @section: 8.2; - * @assertion: The Null Type has one value, called null; - * @description: Checking if execution of "var x = null" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.2_A1_T1", - -path: "TestCases/08_Types/8.2_The_Null_Type/S8.2_A1_T1.js", - -assertion: "The Null Type has one value, called null", - -description: "Checking if execution of \"var x = null\" passes", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x = null; -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A1_T2.js b/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A1_T2.js deleted file mode 100644 index 202eedbab4..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A1_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.2_A1_T2; - * @section: 8.2; - * @assertion: The Null Type has one value, called null; - * @description: Checking if execution of "x = null" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.2_A1_T2", - -path: "TestCases/08_Types/8.2_The_Null_Type/S8.2_A1_T2.js", - -assertion: "The Null Type has one value, called null", - -description: "Checking if execution of \"x = null\" passes", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -x = null; -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A2.js b/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A2.js deleted file mode 100644 index 7b8c95af59..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A2.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var null; - - - - diff --git a/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A3.js b/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A3.js deleted file mode 100644 index 1f19c6e8cc..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.2_The_Null_Type/S8.2_A3.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.2_A3; - * @section: 8.2, 11.4.3; - * @assertion: For the keyword null the typeof operator returns the "object" - * See also - * http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:Special_Operators:typeof_Operator - * and - * http://bugs.ecmascript.org/ticket/250 - * for example; - * @description: Check type of null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.2_A3", - -path: "TestCases/08_Types/8.2_The_Null_Type/S8.2_A3.js", - -assertion: "For the keyword null the typeof operator returns the \"object\"", - -description: "Check type of null", - -test: function testcase() { - ////////////////////////////////////////////////////////////// -// CHECK#1 -if (typeof(null) !== "object") { - $ERROR('#1: typeof null === "object". Actual: ' + (typeof null)); -} -// -///////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.js b/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.js deleted file mode 100644 index 2f2c91b3e2..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.3_A1_T1; - * @section: 8.3; - * @assertion: The Boolean type have two values, called true and false; - * @description: Assign true and false to variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.3_A1_T1", - -path: "TestCases/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.js", - -assertion: "The Boolean type have two values, called true and false", - -description: "Assign true and false to variables", - -test: function testcase() { - if (x == undefined) { - $ERROR("x == undefined, but actual is "+ x); -} - -//////////////////////////////////////////////////////////////////////// -// CHECK#1 -var x = true; -var y = false; -// -//////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.js b/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.js deleted file mode 100644 index 3582f898dc..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.js +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.3_A1_T2; - * @section: 8.3; - * @assertion: The Boolean type have two values, called true and false; - * @description: Check type of true/false and it`s equality; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.3_A1_T2", - -path: "TestCases/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.js", - -assertion: "The Boolean type have two values, called true and false", - -description: "Check type of true/false and it`s equality", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (typeof(true) !== "boolean") { - $ERROR('#1: typeof(true) === "boolean"'); -} -// -////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////// -// CHECK#2 -if (typeof(true) != "boolean") { - $ERROR('#2: typeof(true) == "boolean"'); -} -// -////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////// -// CHECK#3 -if (typeof(false) !== "boolean") { - $ERROR('#3: typeof(false) === "boolean"'); -} -// -////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////// -// CHECK#4 -if (typeof(false) != "boolean") { - $ERROR('#4: typeof(false) == "boolean"'); -} -// -////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////// -// CHECK#5 -if (true === false) { - $ERROR('#5: true !== false'); -} -// -////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////// -// CHECK#6 -if (true == false) { - $ERROR('#6: true != false'); -} -// -////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////// -// CHECK#7 -if (false === true) { - $ERROR('#7: false !== true'); -} -// -////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////// -// CHECK#8 -if (false == true) { - $ERROR('#8: false != true'); -} -// -////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.js b/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.js deleted file mode 100644 index 6723d8e7de..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - true = 1; - - diff --git a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.js b/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.js deleted file mode 100644 index e2450070ae..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - false = 0; - - diff --git a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A3.js b/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A3.js deleted file mode 100644 index 395ea7c425..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.3_The_Boolean_Type/S8.3_A3.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.3_A3; -* @section: 8.3; -* @assertion: Applaing negation to boolean works well; -* @description: Check not false equals true, not true equals false; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.3_A3", - -path: "TestCases/08_Types/8.3_The_Boolean_Type/S8.3_A3.js", - -assertion: "Applaing negation to boolean works well", - -description: "Check not false equals true, not true equals false", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!false !== true){ - $ERROR('#1: !false === true'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!false != true){ - $ERROR('#2: !false == true'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (!true !== false){ - $ERROR('#3: !true === false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (!true != false){ - $ERROR('#4: !true == false'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A1.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A1.js deleted file mode 100644 index 3f859e8b97..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.4_A1; - * @section: 8.4, 7.8.4; - * @assertion: Any variable that has been assigned with string literal has the type string; - * @description: Check type of variable that has been assigned with string literal; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A1", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A1.js", - -assertion: "Any variable that has been assigned with string literal has the type string", - -description: "Check type of variable that has been assigned with string literal", - -test: function testcase() { - ///////////////////////////////////////////////////////// -// CHECK#1 -var str="abcdfg"; -if (typeof(str)!=="string"){ - $ERROR('#1: var str="abcdfg"; typeof(str) === "string". Actual: ' + (typeof(str))); -} -// -//////////////////////////////////////////////////////// - -///////////////////////////////////////////////////////// -// CHECK#2 -var str2='qwerty'; -if (typeof(str2)!=="string"){ - $ERROR('#2: var str2=\'qwerty\'; typeof(str) === "string". Actual: ' + (typeof(str2))); -} -// -//////////////////////////////////////////////////////// - -///////////////////////////////////////////////////////// -// CHECK#3 -var __str='\u0042\u0043\u0044\u0045\u0046\u0047\u0048'; -if (typeof(__str)!=="string"){ - $ERROR('#3: var __str=\'\\u0042\\u0043\\u0044\\u0045\\u0046\\u0047\\u0048\'; typeof(__str) === "string". Actual: ' + (typeof(__str))); -} -// -//////////////////////////////////////////////////////// - -///////////////////////////////////////////////////////// -// CHECK#4 -var str__="\u0042\u0043\u0044\u0045\u0046\u0047\u0048"; -if (typeof(str__)!=="string"){ - $ERROR('#4: var str__="abcdfg"; typeof(str__) === "string". Actual: ' + (typeof(str__))); -} -// -//////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A10.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A10.js deleted file mode 100644 index eb14575963..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A10.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.4_A10; -* @section: 8.4, 7.8.4; -* @assertion: Both unicode and ascii chars are allowed; -* @description: Create string using both unicode and ascii chars; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A10", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A10.js", - -assertion: "Both unicode and ascii chars are allowed", - -description: "Create string using both unicode and ascii chars", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var __str = "\u0041A\u0042B\u0043C"; -if (__str !== 'AABBCC'){ - $ERROR('#1: var __str = "\\u0041A\\u0042B\\u0043C"; __str === \'AABBCC\'. Actual: ' + (__str)); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -var __str__ = "\u0041\u0042\u0043"+'ABC'; -if (__str__ !== 'ABCABC'){ - $ERROR('#2: var __str__ = "\\u0041\\u0042\\u0043"+\'ABC\'; __str__ === \'ABCABC\'. Actual: ' + (__str__)); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -var str__ = "ABC"+'\u0041\u0042\u0043'; -if (str__ !== "ABCABC"){ - $ERROR('#2: var str__ = "ABC"+\'\\u0041\\u0042\\u0043\'; str__ === "ABCABC". Actual: ' + (str__)); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A11.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A11.js deleted file mode 100644 index 97b11fac5f..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A11.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.4_A11; -* @section: 8.4, 7.8.4; -* @assertion: Presence of reserved words in string literal are allowed; -* @description: Create string variable, thet include all reserved words; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A11", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A11.js", - -assertion: "Presence of reserved words in string literal are allowed", - -description: "Create string variable, thet include all reserved words", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var __delete=" break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof "; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A12.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A12.js deleted file mode 100644 index 0d72fa9389..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A12.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.4_A12; -* @section: 8.4, 7.8.4; -* @assertion: Assignment to string literal calls String constructor; -* @description: Check constructor of simple assigned variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A12", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A12.js", - -assertion: "Assignment to string literal calls String constructor", - -description: "Check constructor of simple assigned variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var str = "rock'n'roll"; -if (str.constructor !== String){ - $ERROR('#1: var str = "rock\'n\'roll"; str.constructor === String. Actual: ' + (str.constructor)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T1.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T1.js deleted file mode 100644 index 42391c8a54..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var str = '''; - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T2.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T2.js deleted file mode 100644 index 179aed1c15..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var str = '; - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T3.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T3.js deleted file mode 100644 index ecc881b0e5..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A13_T3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var str = ''''; - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T1.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T1.js deleted file mode 100644 index 3fda2743b1..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var str = "; - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T2.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T2.js deleted file mode 100644 index 7595950bd5..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var str = """; - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T3.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T3.js deleted file mode 100644 index a2e10e512f..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A14_T3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var str = """"; - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A2.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A2.js deleted file mode 100644 index b320c44878..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.4_A2; - * @section: 8.4, 7.8.4; - * @assertion: Empty string has type string; - * @description: Create empty string and check it type; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A2", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A2.js", - -assertion: "Empty string has type string", - -description: "Create empty string and check it type", - -test: function testcase() { - ///////////////////////////////////////////////////////// -// CHECK#1 -var str = ''; -if (typeof(str) !== 'string'){ - $ERROR('#1: var str = \'\'; typeof(str) === \'string\'. Actual: ' + (typeof(str))); -} -// -//////////////////////////////////////////////////////// - -///////////////////////////////////////////////////////// -// CHECK#2 -var str = ""; -if (typeof(str) !== "string"){ - $ERROR('#2: var str = ""; typeof(str) === "string". Actual: ' + (str)); -} -// -//////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A3.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A3.js deleted file mode 100644 index 71d63734bb..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.4_A3; -* @section: 8.4; -* @assertion: String type has a length property; -* @description: Try read length property of string variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A3", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A3.js", - -assertion: "String type has a length property", - -description: "Try read length property of string variable", - -test: function testcase() { - var __str = "ABCDEFGH"; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.length !== 8) { - $ERROR('#1: var __str = "ABCDEFGH"; __str.length === 8. Actual: ' + (__str.length)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A4.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A4.js deleted file mode 100644 index 8d9f7c4645..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.4_A4; -* @section: 8.4; -* @assertion: Empty string variable has a length property; -* @description: Try read length property of empty string variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A4", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A4.js", - -assertion: "Empty string variable has a length property", - -description: "Try read length property of empty string variable", - -test: function testcase() { - var __str = ""; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.length !== 0) { - $ERROR('#1: var __str = ""; __str.length === 0. Actual: ' + (__str)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A5.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A5.js deleted file mode 100644 index 4f0dd5e727..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.4_A5; - * @section: 8.4, 7.8.4; - * @assertion: Zero "\0" not terminates the string(C string); - * @description: Insert "\0" into string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A5", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A5.js", - -assertion: "Zero \"\\0\" not terminates the string(C string)", - -description: "Insert \"\\0\" into string", - -test: function testcase() { - // CHECK#1 -if ("x\0y" === "x") { - $ERROR('#1: "x\\0y" !== "x"'); -} - -// CHECK#2 -if (!(("x\0a" < "x\0b") && ("x\0b" < "x\0c"))) { - $ERROR('#2: (("x\\0a" < "x\\0b") && ("x\\0b" < "x\\0c")) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A6.1.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A6.1.js deleted file mode 100644 index d8bd9e440e..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A6.1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.4_A6.1; - * @section: 8.4, 7.8.4; - * @assertion: Large string 4096 bytes; - * @description: Assign variable by large string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A6.1", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A6.1.js", - -assertion: "Large string 4096 bytes", - -description: "Assign variable by large string", - -test: function testcase() { - //////////////////////////////////////////////////// -// Check#1 -var largeStr='Standard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chECMAScript LanguageSpecificationStandard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chMB Ecma-262.doc 08-04-02 16,53ECMAScript LanguageSpecificationBrief HistoryThis ECMA Standard is based on several originating technologies, the most well known being JavaScript (Netscape)and JScript (Microsoft). The language was invented by Brendan Eich at Netscape and first appeared in thatcompan Navigator 2.0 browser. It has appeared in all subsequent browsers from Netscape and in all browsers fromMicrosoft starting with Internet Explorer 3.0.The development of this Standard started in November 1996. The first edition of this ECMA Standard was adopted bythe ECMA General Assembly of June 1997.That ECMA Standard was submitted to ISO/IEC JTC 1 for adoption under the fast-track procedure, and approved asinternational standard ISO/IEC 16262, in April 1998. The ECMA General Assembly of June 1998 approved thesecond edition of ECMA-262 to keep it fully aligned with ISO/IEC 16262. Changes between the first and the secondedition are editorial in nature.The current document defines the third edition of the Standard and includes powerful regular expressions, betterstring handling, new control statements, try/catch exception handling, tighter definition of errors, formatting fornumeric output and minor changes in anticipation of forthcoming internationalisation facilities and future languagegrowth.Work on the language is not complete. The technical committee is working on significant enhancements, includingmechanisms for scripts to be created and used across the Internet, and tighter coordination with other standards bodiessuch as groups within the World Wide Web Consortium and the Wireless Application Protocol Forum.This Standard has been adopted as 3rd Edition of ECMA-262 by the ECMA General Assembly in December, 1999.- i -Table of contents1 Scope 12 Conformance 13 References 14 Overview 1 4.1 Web Scripting 2 4.2 Language Overview 2 4.2.1 Objects 3 4.3 Definitions 4 4.3.1 Type 4 4.3.2 Primitive Value 4 4.3.3 Object 4 4.3.4 Constructor 4 4.3.5 Prototype 4 4.3.6 Native Object 4 4.3.7 Built-in Object 4 4.3.8 Host Object 4 4.3.9 Undefined Value 4 4.3.10 Undefined Type 4 4.3.11 Null Value 4 4.3.12 Null Type 4 4.3.13 Boolean Value 4 4.3.14 Boolean Type 4 4.3.15 Boolean Object 5 4.3.16 String Value 5 4.3.17 String Type 5 4.3.18 String Object 5 4.3.19 Number Value 5 4.3.20 Number Type 5 4.3.21 Number Object 5 4.3.22 Infinity 5 4.3.23 NaN 5 5 Notational Conventions 6 5.1 Syntactic and Lexical Grammars 6 5.1.1 Context-Free Grammars 6 5.1.2 The Lexical and RegExp Grammars 6 5.1.3 The Numeric String Grammar 6 5.1.4 The Syntactic Grammar 6 5.1.5 Grammar Notation 7 5.2 Algorithm Conventions 9 6. Source Text 10 7 Lexical Conventions 11 7.1 Unicode Format-Control Characters 11 7.2 White Space 11 7.3 Line Terminators 12 7.4 Comments 12 - ii - 7.5 Tokens 13 7.5.1 Reserved Words 13 7.5.2 Keywords 13 7.5.3 Future Reserved Words 14 7.6 Identifiers 14 7.7 Punctuators 15 7.8 Literals 16 7.8.1 Null Literals 16 7.8.2 Boolean Literals 16 7.8.3 Numeric Literals 16 7.8.4 String Literals 18 7.8.5 Regular Expression Literals 20 7.9 Automatic Semicolon Insertion 21 7.9.1 Rules of Automatic Semicolon Insertion 21 7.9.2 Examples of Automatic Semicolon Insertion 22 8 Types 24 8.1 The Undefined Type 24 8.2 The Null Type 24 8.3 The Boolean Type 24 8.4 The String Type 24 8.5 The Number Type 24 8.6 The Object Type 25 8.6.1 Property Attributes 25 8.6.2 Internal Properties and Methods 26 8.7 The Reference Type 29 8.7.1 GetValue (V) 29 8.7.2 PutValue (V, W) 29 8.8 The List Type 30 8.9 The Completion Type 30 9 Type Conversion 30 9.1 ToPrimitive 30 9.2 ToBoolean 30 9.3 ToNumber 31 9.3.1 ToNumber Ap'; -if(largeStr !== 'Standard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chECMAScript LanguageSpecificationStandard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chMB Ecma-262.doc 08-04-02 16,53ECMAScript LanguageSpecificationBrief HistoryThis ECMA Standard is based on several originating technologies, the most well known being JavaScript (Netscape)and JScript (Microsoft). The language was invented by Brendan Eich at Netscape and first appeared in thatcompan Navigator 2.0 browser. It has appeared in all subsequent browsers from Netscape and in all browsers fromMicrosoft starting with Internet Explorer 3.0.The development of this Standard started in November 1996. The first edition of this ECMA Standard was adopted bythe ECMA General Assembly of June 1997.That ECMA Standard was submitted to ISO/IEC JTC 1 for adoption under the fast-track procedure, and approved asinternational standard ISO/IEC 16262, in April 1998. The ECMA General Assembly of June 1998 approved thesecond edition of ECMA-262 to keep it fully aligned with ISO/IEC 16262. Changes between the first and the secondedition are editorial in nature.The current document defines the third edition of the Standard and includes powerful regular expressions, betterstring handling, new control statements, try/catch exception handling, tighter definition of errors, formatting fornumeric output and minor changes in anticipation of forthcoming internationalisation facilities and future languagegrowth.Work on the language is not complete. The technical committee is working on significant enhancements, includingmechanisms for scripts to be created and used across the Internet, and tighter coordination with other standards bodiessuch as groups within the World Wide Web Consortium and the Wireless Application Protocol Forum.This Standard has been adopted as 3rd Edition of ECMA-262 by the ECMA General Assembly in December, 1999.- i -Table of contents1 Scope 12 Conformance 13 References 14 Overview 1 4.1 Web Scripting 2 4.2 Language Overview 2 4.2.1 Objects 3 4.3 Definitions 4 4.3.1 Type 4 4.3.2 Primitive Value 4 4.3.3 Object 4 4.3.4 Constructor 4 4.3.5 Prototype 4 4.3.6 Native Object 4 4.3.7 Built-in Object 4 4.3.8 Host Object 4 4.3.9 Undefined Value 4 4.3.10 Undefined Type 4 4.3.11 Null Value 4 4.3.12 Null Type 4 4.3.13 Boolean Value 4 4.3.14 Boolean Type 4 4.3.15 Boolean Object 5 4.3.16 String Value 5 4.3.17 String Type 5 4.3.18 String Object 5 4.3.19 Number Value 5 4.3.20 Number Type 5 4.3.21 Number Object 5 4.3.22 Infinity 5 4.3.23 NaN 5 5 Notational Conventions 6 5.1 Syntactic and Lexical Grammars 6 5.1.1 Context-Free Grammars 6 5.1.2 The Lexical and RegExp Grammars 6 5.1.3 The Numeric String Grammar 6 5.1.4 The Syntactic Grammar 6 5.1.5 Grammar Notation 7 5.2 Algorithm Conventions 9 6. Source Text 10 7 Lexical Conventions 11 7.1 Unicode Format-Control Characters 11 7.2 White Space 11 7.3 Line Terminators 12 7.4 Comments 12 - ii - 7.5 Tokens 13 7.5.1 Reserved Words 13 7.5.2 Keywords 13 7.5.3 Future Reserved Words 14 7.6 Identifiers 14 7.7 Punctuators 15 7.8 Literals 16 7.8.1 Null Literals 16 7.8.2 Boolean Literals 16 7.8.3 Numeric Literals 16 7.8.4 String Literals 18 7.8.5 Regular Expression Literals 20 7.9 Automatic Semicolon Insertion 21 7.9.1 Rules of Automatic Semicolon Insertion 21 7.9.2 Examples of Automatic Semicolon Insertion 22 8 Types 24 8.1 The Undefined Type 24 8.2 The Null Type 24 8.3 The Boolean Type 24 8.4 The String Type 24 8.5 The Number Type 24 8.6 The Object Type 25 8.6.1 Property Attributes 25 8.6.2 Internal Properties and Methods 26 8.7 The Reference Type 29 8.7.1 GetValue (V) 29 8.7.2 PutValue (V, W) 29 8.8 The List Type 30 8.9 The Completion Type 30 9 Type Conversion 30 9.1 ToPrimitive 30 9.2 ToBoolean 30 9.3 ToNumber 31 9.3.1 ToNumber Ap'){ - $ERROR('#1: Large string 4096 bytes'); -} -// -//////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A6.2.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A6.2.js deleted file mode 100644 index c0f358d59d..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A6.2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.4_A6.2; - * @section: 8.4, 7.8.4; - * @assertion: Large string 8192 bytes; - * @description: Assign variable by large string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A6.2", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A6.2.js", - -assertion: "Large string 8192 bytes", - -description: "Assign variable by large string", - -test: function testcase() { - //////////////////////////////////////////////////// -// Check#2 -var largeStr='Standard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chECMAScript LanguageSpecificationStandard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chMB Ecma-262.doc 08-04-02 16,53ECMAScript LanguageSpecificationBrief HistoryThis ECMA Standard is based on several originating technologies, the most well known being JavaScript (Netscape)and JScript (Microsoft). The language was invented by Brendan Eich at Netscape and first appeared in thatcompans Navigator 2.0 browser. It has appeared in all subsequent browsers from Netscape and in all browsers fromMicrosoft starting with Internet Explorer 3.0.The development of this Standard started in November 1996. The first edition of this ECMA Standard was adopted bythe ECMA General Assembly of June 1997.That ECMA Standard was submitted to ISO/IEC JTC 1 for adoption under the fast-track procedure, and approved asinternational standard ISO/IEC 16262, in April 1998. The ECMA General Assembly of June 1998 approved thesecond edition of ECMA-262 to keep it fully aligned with ISO/IEC 16262. Changes between the first and the secondedition are editorial in nature.The current document defines the third edition of the Standard and includes powerful regular expressions, betterstring handling, new control statements, try/catch exception handling, tighter definition of errors, formatting fornumeric output and minor changes in anticipation of forthcoming internationalisation facilities and future languagegrowth.Work on the language is not complete. The technical committee is working on significant enhancements, includingmechanisms for scripts to be created and used across the Internet, and tighter coordination with other standards bodiessuch as groups within the World Wide Web Consortium and the Wireless Application Protocol Forum.This Standard has been adopted as 3rd Edition of ECMA-262 by the ECMA General Assembly in December, 1999.- i -Table of contents1 Scope 12 Conformance 13 References 14 Overview 1 4.1 Web Scripting 2 4.2 Language Overview 2 4.2.1 Objects 3 4.3 Definitions 4 4.3.1 Type 4 4.3.2 Primitive Value 4 4.3.3 Object 4 4.3.4 Constructor 4 4.3.5 Prototype 4 4.3.6 Native Object 4 4.3.7 Built-in Object 4 4.3.8 Host Object 4 4.3.9 Undefined Value 4 4.3.10 Undefined Type 4 4.3.11 Null Value 4 4.3.12 Null Type 4 4.3.13 Boolean Value 4 4.3.14 Boolean Type 4 4.3.15 Boolean Object 5 4.3.16 String Value 5 4.3.17 String Type 5 4.3.18 String Object 5 4.3.19 Number Value 5 4.3.20 Number Type 5 4.3.21 Number Object 5 4.3.22 Infinity 5 4.3.23 NaN 5 5 Notational Conventions 6 5.1 Syntactic and Lexical Grammars 6 5.1.1 Context-Free Grammars 6 5.1.2 The Lexical and RegExp Grammars 6 5.1.3 The Numeric String Grammar 6 5.1.4 The Syntactic Grammar 6 5.1.5 Grammar Notation 7 5.2 Algorithm Conventions 9 6. Source Text 10 7 Lexical Conventions 11 7.1 Unicode Format-Control Characters 11 7.2 White Space 11 7.3 Line Terminators 12 7.4 Comments 12 - ii - 7.5 Tokens 13 7.5.1 Reserved Words 13 7.5.2 Keywords 13 7.5.3 Future Reserved Words 14 7.6 Identifiers 14 7.7 Punctuators 15 7.8 Literals 16 7.8.1 Null Literals 16 7.8.2 Boolean Literals 16 7.8.3 Numeric Literals 16 7.8.4 String Literals 18 7.8.5 Regular Expression Literals 20 7.9 Automatic Semicolon Insertion 21 7.9.1 Rules of Automatic Semicolon Insertion 21 7.9.2 Examples of Automatic Semicolon Insertion 22 8 Types 24 8.1 The Undefined Type 24 8.2 The Null Type 24 8.3 The Boolean Type 24 8.4 The String Type 24 8.5 The Number Type 24 8.6 The Object Type 25 8.6.1 Property Attributes 25 8.6.2 Internal Properties and Methods 26 8.7 The Reference Type 29 8.7.1 GetValue (V) 29 8.7.2 PutValue (V, W) 29 8.8 The List Type 30 8.9 The Completion Type 30 9 Type Conversion 30 9.1 ToPrimitive 30 9.2 ToBoolean 30 9.3 ToNumber 31 9.3.1 ToNumber Applied to the String Type 31 9.4 ToInteger 34 9.5 ToInt32: (Signed 32 Bit Integer) 34 9.6 ToUint32: (Unsigned 32 Bit Integer) 34 9.7 ToUint16: (Unsigned 16 Bit Integer) 35 9.8 ToString 35 9.8.1 ToString Applied to the Number Type 35 9.9 ToObject 36 10 Execution Contexts 37 10.1 Definitions 37 10.1.1 Function Objects 37 10.1.2 Types of Executable Code 37 10.1.3 Variable Instantiation 37 10.1.4 Scope Chain and Identifier Resolution 38 10.1.5 Global Object 38 10.1.6 Activation Object 38 - i i i - 10.1.7 This 39 10.1.8 Arguments Object 39 10.2 Entering An Execution Context 39 10.2.1 Global Code 39 10.2.2 Eval Code 39 10.2.3 Function Code 39 11 Expressions 40 11.1 Primary Expressions 40 11.1.1 The this Keyword 40 11.1.2 Identifier Reference 40 11.1.3 Literal Reference 40 11.1.4 Array Initialiser 40 11.1.5 Object Initialiser 41 11.1.6 The Grouping Operator 42 11.2 Left-Hand-Side Expressions 43 11.2.1 Property Accessors 43 11.2.2 The new Operator 44 11.2.3 Function Calls 44 11.2.4 Argument Lists 45 11.2.5 Function Expressions 45 11.3 Postfix Expressions 45 11.3.1 Postfix Increment Operator 45 11.3.2 Postfix Decrement Operator 45 11.4 Unary Operators 46 11.4.1 The delete Operator 46 11.4.2 The void Operator 46 11.4.3 The typeof Operator 46 11.4.4 Prefix Increment Operator 47 11.4.5 Prefix Decrement Operator 47 11.4.6 Unary + Operator 47 11.4.7 Unary - Operator 47 11.4.8 Bitwise NOT Operator ( ~) 48 11.4.9 Logical NOT Operator ( !) 48 11.5 Multiplicative Operators 48 11.5.1 Applying the * Operator 48 11.5.2 Applying the / Operator 49 11.5.3 Applying the % Operator 49 11.6 Additive Operators 50 11.6.1 The Addition operator ( +) 50 11.6.2 The Subtraction Operator ( -) 50 11.6.3 Applying the Additive Operators ( +,- ) to Numbers 51 11.7 Bitwise Shift Operators 51 11.7.1 The Left Shift Operator ( <<) 51 11.7.2 The Signed Right Shift Operator ( >>) 51 11.7.3 The Unsigned Right Shift Operator ( >>>) 52 11.4 Relational Operators 52 11.8.1 The Less-than Operator ( <) 53 11.8.2 The Greater-than Operator ( >) 53 11.8.3 The Less-than-or-equal Operator ( <=) 53 11.8.4 The Greater-than-or-equal Operator ( >=) 53 11.8.5 The Abstract Relational Comparison Algorithm 53 - iv - 11.8.6 The instanceof operator 54 11.8.7 The in operator 54 11.9 Equality Operators 54 11.9.1 The Equals Operator ( ==) 55 11.9.2 The Does-not-equals Operator ( !=) 55 11.9.3 The Abstract Equality Comparison Algorithm 55 11.9.4 The Strict Equals Operator ( ===) 56 11.9.5 The Strict Does-not-equal Operator ( !==) 56 11.9.6 The Strict Equality Comparison Algorithm 56 11.10 Binary Bitwise Operators 57 11.11 Binary Logical Operators 58 11.12 Conditional Operator ( ?: ) 58 11.13 Assignment Operators 59 11.13.1 Simple Assignment ( =) 59 11.13.2 Compound Assignment ( op=) 60 11.14 Comma Operator ( , ) 60 12 Statements 61 12.1 Block 61 12.2 Variable statement 62 12.3 Empty Statement 63 12.4 Expression Statement 63 12.5 The if Statement 63 12.6 Iteration Statements 64 12.6.1 The do-while Statement 64 12.6.2 The while statement 64 12.6.3 The for Statement 65 12.6.4 The for-in Statement 65 12.7 The continue Statement 66 12.8 The break Statement 67 12.9 The return Statement 67 12.10 The with Statement 67 12.11 The switch Statement 68 12.12 Labelled Statements 69 12.13 The throw statement 69 12.14 The try statement 70 13 Function Definition 71 13.1 Definitions 72 13.1.1 Equated Grammar Productions 72 13.1.2 Joined Objects 72 13.2 Creating Function Objects 72 13.2.1 [[Call]] 73 13.2.2 [[Construct]] 74 14 Program 75 15 Native ECMAScript Objects 76 15.1 The Global Object 76 15.1.1 Value Properties of the Global Object 77 15.1.2 Function Properties of the Global Object 77 15.1.3 URI Handling Function Properties 78 - v - 15.1.4 Constructor Properties of the Global Object 83 15.1.5 Other Properties of the Global Object 83 15.2 Object Objects 83 15.2.1 The Object Constructor Called as a Function 83 15.2.2 The Object Constructor 84 15.2.3 Properties of the Object Constructor 84 15.2.4 Properties of the Object Prototype Object 84 15.2.5 Properties of Object Instances 85 15.3 Function Objects 85 '; -if(largeStr !== 'Standard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chECMAScript LanguageSpecificationStandard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chMB Ecma-262.doc 08-04-02 16,53ECMAScript LanguageSpecificationBrief HistoryThis ECMA Standard is based on several originating technologies, the most well known being JavaScript (Netscape)and JScript (Microsoft). The language was invented by Brendan Eich at Netscape and first appeared in thatcompans Navigator 2.0 browser. It has appeared in all subsequent browsers from Netscape and in all browsers fromMicrosoft starting with Internet Explorer 3.0.The development of this Standard started in November 1996. The first edition of this ECMA Standard was adopted bythe ECMA General Assembly of June 1997.That ECMA Standard was submitted to ISO/IEC JTC 1 for adoption under the fast-track procedure, and approved asinternational standard ISO/IEC 16262, in April 1998. The ECMA General Assembly of June 1998 approved thesecond edition of ECMA-262 to keep it fully aligned with ISO/IEC 16262. Changes between the first and the secondedition are editorial in nature.The current document defines the third edition of the Standard and includes powerful regular expressions, betterstring handling, new control statements, try/catch exception handling, tighter definition of errors, formatting fornumeric output and minor changes in anticipation of forthcoming internationalisation facilities and future languagegrowth.Work on the language is not complete. The technical committee is working on significant enhancements, includingmechanisms for scripts to be created and used across the Internet, and tighter coordination with other standards bodiessuch as groups within the World Wide Web Consortium and the Wireless Application Protocol Forum.This Standard has been adopted as 3rd Edition of ECMA-262 by the ECMA General Assembly in December, 1999.- i -Table of contents1 Scope 12 Conformance 13 References 14 Overview 1 4.1 Web Scripting 2 4.2 Language Overview 2 4.2.1 Objects 3 4.3 Definitions 4 4.3.1 Type 4 4.3.2 Primitive Value 4 4.3.3 Object 4 4.3.4 Constructor 4 4.3.5 Prototype 4 4.3.6 Native Object 4 4.3.7 Built-in Object 4 4.3.8 Host Object 4 4.3.9 Undefined Value 4 4.3.10 Undefined Type 4 4.3.11 Null Value 4 4.3.12 Null Type 4 4.3.13 Boolean Value 4 4.3.14 Boolean Type 4 4.3.15 Boolean Object 5 4.3.16 String Value 5 4.3.17 String Type 5 4.3.18 String Object 5 4.3.19 Number Value 5 4.3.20 Number Type 5 4.3.21 Number Object 5 4.3.22 Infinity 5 4.3.23 NaN 5 5 Notational Conventions 6 5.1 Syntactic and Lexical Grammars 6 5.1.1 Context-Free Grammars 6 5.1.2 The Lexical and RegExp Grammars 6 5.1.3 The Numeric String Grammar 6 5.1.4 The Syntactic Grammar 6 5.1.5 Grammar Notation 7 5.2 Algorithm Conventions 9 6. Source Text 10 7 Lexical Conventions 11 7.1 Unicode Format-Control Characters 11 7.2 White Space 11 7.3 Line Terminators 12 7.4 Comments 12 - ii - 7.5 Tokens 13 7.5.1 Reserved Words 13 7.5.2 Keywords 13 7.5.3 Future Reserved Words 14 7.6 Identifiers 14 7.7 Punctuators 15 7.8 Literals 16 7.8.1 Null Literals 16 7.8.2 Boolean Literals 16 7.8.3 Numeric Literals 16 7.8.4 String Literals 18 7.8.5 Regular Expression Literals 20 7.9 Automatic Semicolon Insertion 21 7.9.1 Rules of Automatic Semicolon Insertion 21 7.9.2 Examples of Automatic Semicolon Insertion 22 8 Types 24 8.1 The Undefined Type 24 8.2 The Null Type 24 8.3 The Boolean Type 24 8.4 The String Type 24 8.5 The Number Type 24 8.6 The Object Type 25 8.6.1 Property Attributes 25 8.6.2 Internal Properties and Methods 26 8.7 The Reference Type 29 8.7.1 GetValue (V) 29 8.7.2 PutValue (V, W) 29 8.8 The List Type 30 8.9 The Completion Type 30 9 Type Conversion 30 9.1 ToPrimitive 30 9.2 ToBoolean 30 9.3 ToNumber 31 9.3.1 ToNumber Applied to the String Type 31 9.4 ToInteger 34 9.5 ToInt32: (Signed 32 Bit Integer) 34 9.6 ToUint32: (Unsigned 32 Bit Integer) 34 9.7 ToUint16: (Unsigned 16 Bit Integer) 35 9.8 ToString 35 9.8.1 ToString Applied to the Number Type 35 9.9 ToObject 36 10 Execution Contexts 37 10.1 Definitions 37 10.1.1 Function Objects 37 10.1.2 Types of Executable Code 37 10.1.3 Variable Instantiation 37 10.1.4 Scope Chain and Identifier Resolution 38 10.1.5 Global Object 38 10.1.6 Activation Object 38 - i i i - 10.1.7 This 39 10.1.8 Arguments Object 39 10.2 Entering An Execution Context 39 10.2.1 Global Code 39 10.2.2 Eval Code 39 10.2.3 Function Code 39 11 Expressions 40 11.1 Primary Expressions 40 11.1.1 The this Keyword 40 11.1.2 Identifier Reference 40 11.1.3 Literal Reference 40 11.1.4 Array Initialiser 40 11.1.5 Object Initialiser 41 11.1.6 The Grouping Operator 42 11.2 Left-Hand-Side Expressions 43 11.2.1 Property Accessors 43 11.2.2 The new Operator 44 11.2.3 Function Calls 44 11.2.4 Argument Lists 45 11.2.5 Function Expressions 45 11.3 Postfix Expressions 45 11.3.1 Postfix Increment Operator 45 11.3.2 Postfix Decrement Operator 45 11.4 Unary Operators 46 11.4.1 The delete Operator 46 11.4.2 The void Operator 46 11.4.3 The typeof Operator 46 11.4.4 Prefix Increment Operator 47 11.4.5 Prefix Decrement Operator 47 11.4.6 Unary + Operator 47 11.4.7 Unary - Operator 47 11.4.8 Bitwise NOT Operator ( ~) 48 11.4.9 Logical NOT Operator ( !) 48 11.5 Multiplicative Operators 48 11.5.1 Applying the * Operator 48 11.5.2 Applying the / Operator 49 11.5.3 Applying the % Operator 49 11.6 Additive Operators 50 11.6.1 The Addition operator ( +) 50 11.6.2 The Subtraction Operator ( -) 50 11.6.3 Applying the Additive Operators ( +,- ) to Numbers 51 11.7 Bitwise Shift Operators 51 11.7.1 The Left Shift Operator ( <<) 51 11.7.2 The Signed Right Shift Operator ( >>) 51 11.7.3 The Unsigned Right Shift Operator ( >>>) 52 11.4 Relational Operators 52 11.8.1 The Less-than Operator ( <) 53 11.8.2 The Greater-than Operator ( >) 53 11.8.3 The Less-than-or-equal Operator ( <=) 53 11.8.4 The Greater-than-or-equal Operator ( >=) 53 11.8.5 The Abstract Relational Comparison Algorithm 53 - iv - 11.8.6 The instanceof operator 54 11.8.7 The in operator 54 11.9 Equality Operators 54 11.9.1 The Equals Operator ( ==) 55 11.9.2 The Does-not-equals Operator ( !=) 55 11.9.3 The Abstract Equality Comparison Algorithm 55 11.9.4 The Strict Equals Operator ( ===) 56 11.9.5 The Strict Does-not-equal Operator ( !==) 56 11.9.6 The Strict Equality Comparison Algorithm 56 11.10 Binary Bitwise Operators 57 11.11 Binary Logical Operators 58 11.12 Conditional Operator ( ?: ) 58 11.13 Assignment Operators 59 11.13.1 Simple Assignment ( =) 59 11.13.2 Compound Assignment ( op=) 60 11.14 Comma Operator ( , ) 60 12 Statements 61 12.1 Block 61 12.2 Variable statement 62 12.3 Empty Statement 63 12.4 Expression Statement 63 12.5 The if Statement 63 12.6 Iteration Statements 64 12.6.1 The do-while Statement 64 12.6.2 The while statement 64 12.6.3 The for Statement 65 12.6.4 The for-in Statement 65 12.7 The continue Statement 66 12.8 The break Statement 67 12.9 The return Statement 67 12.10 The with Statement 67 12.11 The switch Statement 68 12.12 Labelled Statements 69 12.13 The throw statement 69 12.14 The try statement 70 13 Function Definition 71 13.1 Definitions 72 13.1.1 Equated Grammar Productions 72 13.1.2 Joined Objects 72 13.2 Creating Function Objects 72 13.2.1 [[Call]] 73 13.2.2 [[Construct]] 74 14 Program 75 15 Native ECMAScript Objects 76 15.1 The Global Object 76 15.1.1 Value Properties of the Global Object 77 15.1.2 Function Properties of the Global Object 77 15.1.3 URI Handling Function Properties 78 - v - 15.1.4 Constructor Properties of the Global Object 83 15.1.5 Other Properties of the Global Object 83 15.2 Object Objects 83 15.2.1 The Object Constructor Called as a Function 83 15.2.2 The Object Constructor 84 15.2.3 Properties of the Object Constructor 84 15.2.4 Properties of the Object Prototype Object 84 15.2.5 Properties of Object Instances 85 15.3 Function Objects 85 '){ - $ERROR('#2: Large string 8192 bytes'); -} -// -//////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.1.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.1.js deleted file mode 100644 index 997777f517..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - eval("var x = asdf\u000Aghjk"); - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.2.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.2.js deleted file mode 100644 index 2030bf23f9..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - eval("var x = asdf\u000Dghjk"); - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.3.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.3.js deleted file mode 100644 index 23e0a150c7..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - eval("var x = asdf\u2028ghjk"); - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.4.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.4.js deleted file mode 100644 index 0bf87edc56..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A7.4.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - eval("var x = asdf\u2029ghjk"); - - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A8.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A8.js deleted file mode 100644 index 7f34529ce3..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A8.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.4_A8; - * @section: 8.4, 7.8.4; - * @assertion: Empty string, 0, false are all equal (==) to each other, since they all evaluate to 0; - * @description: Compare empty string with undefined, null, 0 and false; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A8", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A8.js", - -assertion: "Empty string, 0, false are all equal (==) to each other, since they all evaluate to 0", - -description: "Compare empty string with undefined, null, 0 and false", - -test: function testcase() { - var str=''; - -//////////////////////////////////////////////////////////// -// CHECK#1 -if (str == undefined){ - $ERROR('#1: Empty string and undefined are not equal (!=) to each other'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#2 -if (str == null){ - $ERROR('#1: Empty string and Null are not equal (!=) to each other'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#3 -if (str != 0){ - $ERROR('#3: Empty string and 0 are equal (==) to each other, since they all evaluate to 0'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#4 -if (str != false){ - $ERROR('#4: Empty string and false are equal (==) to each other, since they all evaluate to 0'); -} -// -///////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T1.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T1.js deleted file mode 100644 index 71c76b8da3..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T1.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.4_A9_T1; - * @section: 8.4, 7.8.4; - * @assertion: Assignment to string literals calls String constructor; - * @description: Simple string variable compare with object String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A9_T1", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A9_T1.js", - -assertion: "Assignment to string literals calls String constructor", - -description: "Simple string variable compare with object String", - -test: function testcase() { - var str='ABC'; -var strObj=new String('ABC'); - -//////////////////////////////////////////////////////////// -// CHECK#1 -if (str.constructor !== strObj.constructor){ - $ERROR('#1: \'ABC\'.constructor === new String(\'ABC\').constructor'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#2 -if (str != strObj){ - $ERROR('#2: "ABC" == new String("ABC")'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#3 -if (str === strObj){ - $ERROR('#3: "ABC" !== new String("ABC")'); -} -// -///////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T2.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T2.js deleted file mode 100644 index a7f673c808..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T2.js +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.4_A9_T2; - * @section: 8.4, 7.8.4; - * @assertion: Assignment to string literals calls String constructor; - * @description: Compare empty string variable, object String('') and object String(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A9_T2", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A9_T2.js", - -assertion: "Assignment to string literals calls String constructor", - -description: "Compare empty string variable, object String(\'\') and object String()", - -test: function testcase() { - var str=""; -var strObj=new String(""); -var strObj_=new String(); - -//////////////////////////////////////////////////////////// -// CHECK#1 -if (str.constructor !== strObj.constructor){ - $ERROR('#1: "".constructor === new String("").constructor'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#2 -if (str.constructor !== strObj_.constructor){ - $ERROR('#2: "".constructor === new String().constructor'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#3 -if (str != strObj){ - $ERROR('#3: values of str=""; and strObj=new String(""); are equal'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#4 -if (str === strObj){ - $ERROR('#4: objects of str=""; and strObj=new String(""); are different'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#5 -if (str != strObj_){ - $ERROR('#5: values of str=""; and strObj=new String(); are equal'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#6 -if (str === strObj_){ - $ERROR('#6: objects of str=""; and strObj=new String(); are different'); -} -// -///////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js deleted file mode 100644 index 9496c63abe..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.4_A9_T3; - * @section: 8.4, 7.8.4; - * @assertion: Assignment to string literals calls String constructor; - * @description: Simple empty string variable compare with empty object String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.4_A9_T3", - -path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A9_T3.js", - -assertion: "Assignment to string literals calls String constructor", - -description: "Simple empty string variable compare with empty object String", - -test: function testcase() { - var str=""; -var strObj=new String; - -//////////////////////////////////////////////////////////// -// CHECK#1 -if (str.constructor !== strObj.constructor){ - $ERROR('#1: "".constructor === new String.constructor'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#2 -if (str != strObj){ - $ERROR('#2: values of str=""; and strObj=new String(""); are equal'); -} -// -///////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////// -// CHECK#3 -if (str === strObj){ - $ERROR('#3: objects of str=""; and strObj=new String(""); are different'); -} -// -///////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (typeof str == typeof strObj){ - $ERROR('#4: types of str=""; and strObj=new String(""); are different'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A1.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A1.js deleted file mode 100644 index 658fe9d8cf..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A1; - * @section: 8.5, 7.8.3; - * @assertion: NaN !== NaN; - * @description: Compare NaN with NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A1", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A1.js", - -assertion: "NaN !== NaN", - -description: "Compare NaN with NaN", - -test: function testcase() { - var x = Number.NaN; -var x_ = Number.NaN; - -/////////////////////////////////////////////////////// -// CHECK #1 -if (x === x_){ - $ERROR('#1: NaN !== NaN '); -} -// -////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A10.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A10.js deleted file mode 100644 index 0b5985f17a..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A10.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A10; - * @section: 8.5, 7.8.3; - * @assertion: Infinity is not a keyword; - * @description: Create variable entitled Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A10", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A10.js", - -assertion: "Infinity is not a keyword", - -description: "Create variable entitled Infinity", - -test: function testcase() { - var Infinity=1.0; -Infinity='asdf'; -Infinity=true; - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A11_T1.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A11_T1.js deleted file mode 100644 index f6587012d9..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A11_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A11_T1; - * @section: 8.5, 7.8.3; - * @assertion: The integer 0 has two representations, +0 and -0; - * @description: Check 1.0/p_zero !== 1.0/n_zero; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A11_T1", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A11_T1.js", - -assertion: "The integer 0 has two representations, +0 and -0", - -description: "Check 1.0/p_zero !== 1.0/n_zero", - -test: function testcase() { - var p_zero=+0; -var n_zero=-0; - -if (1.0/p_zero === 1.0/n_zero){ - $ERROR('#1: var p_zero=+0; var n_zero=-0; 1.0/p_zero !== 1.0/n_zero'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A11_T2.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A11_T2.js deleted file mode 100644 index d9bd97c14a..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A11_T2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A11_T2; - * @section: 8.5, 7.8.3; - * @assertion: The integer 0 has two representations, +0 and -0; - * @description: Compare positive_zero and negative_zero; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A11_T2", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A11_T2.js", - -assertion: "The integer 0 has two representations, +0 and -0", - -description: "Compare positive_zero and negative_zero", - -test: function testcase() { - var p_zero=+0; -var n_zero=-0; - -//CHECK #1 -if ((p_zero == n_zero) !== true){ - $ERROR('#1: var p_zero=+0; var n_zero=-0; p_zero != n_zero'); -} - -//CHECK #2 -if ((n_zero == 0) !== true){ - $ERROR('#2: var p_zero=+0; var n_zero=-0; n_zero == 0'); -} - -//CHECK #3 -if ((p_zero == -0) !== true){ - $ERROR('#3: var p_zero=+0; var n_zero=-0; p_zero == -0'); -} - -//CHECK #4 -if ((p_zero === 0) !== true){ - $ERROR('#4: var p_zero=+0; var n_zero=-0; p_zero === 0'); -} - -//CHECK #5 -if ((n_zero === -0) !== true){ - $ERROR('#5: var p_zero=+0; var n_zero=-0; n_zero === -0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A12.1.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A12.1.js deleted file mode 100644 index 16b4308256..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A12.1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A12.1; - * @section: 8.5, 7.8.3; - * @assertion: +Infinity and Infinity are the same as Number.POSITIVE_INFINITY; - * @description: Compare Infinity and +Infinity with Number.POSITIVE_INFINITY; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A12.1", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A12.1.js", - -assertion: "+Infinity and Infinity are the same as Number.POSITIVE_INFINITY", - -description: "Compare Infinity and +Infinity with Number.POSITIVE_INFINITY", - -test: function testcase() { - var p_inf=+Infinity; -var inf=Infinity; - -//CHECK #1 -if (p_inf!==Number.POSITIVE_INFINITY){ - $ERROR('#1: +Infinity is the same as Number.POSITIVE_INFINITY'); -} - -//CHECK #2 -if (inf!==Number.POSITIVE_INFINITY){ - $ERROR('#2: Infinity is the same as Number.POSITIVE_INFINITY'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A12.2.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A12.2.js deleted file mode 100644 index 471bf458a7..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A12.2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A12.2; - * @section: 8.5, 7.8.3; - * @assertion: -Infinity is the same as Number.NEGATIVE_INFINITY; - * @description: Compare -Infinity with Number.NEGATIVE_INFINITY; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A12.2", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A12.2.js", - -assertion: "-Infinity is the same as Number.NEGATIVE_INFINITY", - -description: "Compare -Infinity with Number.NEGATIVE_INFINITY", - -test: function testcase() { - var n_inf=-Infinity; - -//CHECK #1 -if (n_inf !== Number.NEGATIVE_INFINITY){ - $ERROR('#1: -Infinity is the same as Number.NEGATIVE_INFINITY'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js deleted file mode 100644 index b0a40558a1..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A13_T1; - * @section: 8.5, 7.8.3; - * @assertion: Finite nonzero values that are Normalised having the form s*m*2**e - * where s is +1 or -1, m is a positive integer less than 2**53 but not - * less than s**52 and e is an integer ranging from -1074 to 971; - * @description: Finite Non zero values where e is -1074; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A13_T1", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js", - -assertion: "Finite nonzero values that are Normalised having the form s*m*2**e", - -description: "Finite Non zero values where e is -1074", - -test: function testcase() { - //CHECK #1 -if ((1*((Math.pow(2,53))-1)*(Math.pow(2,-1074))) !== 4.4501477170144023e-308){ - $ERROR('#1: (1*((Math.pow(2,53))-1)*(Math.pow(2,-1074))) === 4.4501477170144023e-308. Actual: ' + ((1*((Math.pow(2,53))-1)*(Math.pow(2,-1074))))); -} - -//CHECK #2 -if ((1*(Math.pow(2,52))*(Math.pow(2,-1074))) !== 2.2250738585072014e-308){ - $ERROR('#2: (1*(Math.pow(2,52))*(Math.pow(2,-1074))) === 2.2250738585072014e-308. Actual: ' + ((1*(Math.pow(2,52))*(Math.pow(2,-1074))))); -} - -//CHECK #3 -if ((-1*(Math.pow(2,52))*(Math.pow(2,-1074))) !== -2.2250738585072014e-308){ - $ERROR('#3: (-1*(Math.pow(2,52))*(Math.pow(2,-1074))) === -2.2250738585072014e-308. Actual: ' + ((-1*(Math.pow(2,52))*(Math.pow(2,-1074))))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T2.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T2.js deleted file mode 100644 index 01e0177000..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A13_T2; - * @section: 8.5, 7.8.3; - * @assertion: Finite nonzero values that are Normalised having the form s*m*2**e - * where s is +1 or -1, m is a positive integer less than 2**53 but not - * less than s**52 and e is an integer ranging from -1074 to 971; - * @description: Finite Non zero values where e is 971; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A13_T2", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A13_T2.js", - -assertion: "Finite nonzero values that are Normalised having the form s*m*2**e", - -description: "Finite Non zero values where e is 971", - -test: function testcase() { - //CHECK #1 -if ((1*(Math.pow(2,52))*(Math.pow(2,971))) !== 8.98846567431158e+307){ - $ERROR('#1: (1*(Math.pow(2,52))*(Math.pow(2,971))) === 8.98846567431158e+307. Actual: ' + ((1*(Math.pow(2,52))*(Math.pow(2,971))))); -} - -//CHECK #2 -if ((1*((Math.pow(2,53))-1)*(Math.pow(2,971))) !== 1.7976931348623157e+308){ - $ERROR('#2: (1*((Math.pow(2,53))-1)*(Math.pow(2,971))) === 1.7976931348623157e+308. Actual: ' + ((1*((Math.pow(2,53))-1)*(Math.pow(2,971))))); -} - -//CHECK #3 -if ((-1*(Math.pow(2,52))*(Math.pow(2,971))) !== -8.98846567431158e+307){ - $ERROR('#3: (-1*(Math.pow(2,52))*(Math.pow(2,971))) === -8.98846567431158e+307. Actual: ' + ((-1*(Math.pow(2,52))*(Math.pow(2,971))))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A14_T1.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A14_T1.js deleted file mode 100644 index d577fb4273..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A14_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A14_T1; - * @section: 8.5, 7.8.3; - * @assertion: When number absolute value is bigger of 2**1024 should convert to Infinity; - * @description: Create number bigger of 2**1024; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A14_T1", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A14_T1.js", - -assertion: "When number absolute value is bigger of 2**1024 should convert to Infinity", - -description: "Create number bigger of 2**1024", - -test: function testcase() { - //CHECK #1 -if (1e+308*2 !== Infinity){ - $ERROR('#1: 1e+308*2 === Infinity. Actual: ' + (1e+308*2)); -} - -//CHECK #2 -if ((1*(Math.pow(2,53))*(Math.pow(2,971))) !== Infinity){ - $ERROR('#2: (1*(Math.pow(2,53))*(Math.pow(2,971))) === Infinity. Actual: ' + ((1*(Math.pow(2,53))*(Math.pow(2,971))))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A14_T2.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A14_T2.js deleted file mode 100644 index a88e6f143c..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A14_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A14_T2; - * @section: 8.5, 7.8.3; - * @assertion: When number absolute value is bigger of 2**1024 should convert to Infinity; - * @description: Create number smaller of -2**1024; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A14_T2", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A14_T2.js", - -assertion: "When number absolute value is bigger of 2**1024 should convert to Infinity", - -description: "Create number smaller of -2**1024", - -test: function testcase() { - //CHECK #1 -if (-1e+308*3 !== -Infinity){ - $ERROR('#1: -1e+308*3 === Infinity. Actual: ' + (-1e+308*3)); -} - -//CHECK #2 -if ((-1*(Math.pow(2,53))*(Math.pow(2,971))) !== -Infinity){ - $ERROR('#2: (-1*(Math.pow(2,53))*(Math.pow(2,971))) === Infinity. Actual: ' + ((-1*(Math.pow(2,53))*(Math.pow(2,971))))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js deleted file mode 100644 index 6cc4482fcd..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A2.1; - * @section: 8.5, 7.8.3; - * @assertion: Number type represented as the double precision 64-bit format IEEE 754; - * @description: Use 2^53 + 2 number and do some operation with it; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A2.1", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A2.1.js", - -assertion: "Number type represented as the double precision 64-bit format IEEE 754", - -description: "Use 2^53 + 2 number and do some operation with it", - -test: function testcase() { - var x = 9007199254740994.0; /* 2^53 + 2 */ -var y = 1.0 - 1/65536.0; -var z = x + y; -var d = z - x; - -if (d !== 0){ - $ERROR('#1: var x = 9007199254740994.0; var y = 1.0 - 1/65536.0; var z = x + y; var d = z - x; d === 0. Actual: ' + (d)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.2.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.2.js deleted file mode 100644 index 7c88b941f3..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A2.2; - * @section: 8.5, 7.8.3; - * @assertion: Number type represented as the extended precision 64-bit format IEEE 754; - * @description: Use 2^53 + 2 number and do some operation with it; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A2.2", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A2.2.js", - -assertion: "Number type represented as the extended precision 64-bit format IEEE 754", - -description: "Use 2^53 + 2 number and do some operation with it", - -test: function testcase() { - var x = 9007199254740994.0; /* 2^53 + 2 */ -var y = 1.0 - 1/65536.0; -var z = x + y; -var d = z - x; - -if (d === 2){ - $ERROR('#1: var x = 9007199254740994.0; var y = 1.0 - 1/65536.0; var z = x + y; var d = z - x; d !== 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A3.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A3.js deleted file mode 100644 index 78aa69658f..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A3; - * @section: 8.5, 7.8.3; - * @assertion: NaN expression has a type Number; - * @description: Check type of NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A3", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A3.js", - -assertion: "NaN expression has a type Number", - -description: "Check type of NaN", - -test: function testcase() { - var x=NaN; - -/////////////////////////////////////////////////////// -// CHECK#1 -if (typeof(x) !== "number"){ - $ERROR('#1: var x=NaN; typeof(x) === "number". Actual: ' + (typeof(x))); -} -// -////////////////////////////////////////////////////////// - -/////////////////////////////////////////////////////// -// CHECK#2 -if (typeof(NaN) !== "number"){ - $ERROR('#2: typeof(NaN) === "number". Actual: ' + (typeof(NaN))); -} -// -////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A4.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A4.js deleted file mode 100644 index 607ba28f2a..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A4.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A4; - * @section: 8.5, 7.8.3; - * @assertion: NaN is not a keyword; - * @description: Create variable entitled NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A4", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A4.js", - -assertion: "NaN is not a keyword", - -description: "Create variable entitled NaN", - -test: function testcase() { - var NaN=1.0; -NaN='asdf'; -NaN=true; -NaN=Number.NaN; - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A5.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A5.js deleted file mode 100644 index aa15ab54a4..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A5.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A5; - * @section: 8.5, 7.8.3; - * @assertion: NaN not greater or equal zero; - * @description: Compare NaN with zero; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A5", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A5.js", - -assertion: "NaN not greater or equal zero", - -description: "Compare NaN with zero", - -test: function testcase() { - var x = NaN; -var x_geq_0=(x >= 0.0); -var x_leq_0=(x <= 0.0); -var x_leq_0_OR_geq_0=(x <= 0.0)||(x >= 0.0); -var x_geq_0_ADD_leq_0=(x >= 0.0) + (x <= 0.0); - - -/////////////////////////////////////////////////// -// CHECK#1 -if (x_geq_0){ - $ERROR('#1: NaN not greater or equal zero'); -} else { - $PRINT('#1: NaN not greater or equal zero'); -} -// -/////////////////////////////////////////////////// - -/////////////////////////////////////////////////// -// CHECK#2 -if (x_leq_0){ - $ERROR('#2: NaN not less or equal zero'); -} else { - $PRINT('#2: NaN not less or equal zero'); -} -// -/////////////////////////////////////////////////// - -/////////////////////////////////////////////////// -// CHECK#3 -if (x_leq_0_OR_geq_0){ - $ERROR('#3: NaN not less or equal zero OR greater or equal zero'); -} else { - $PRINT('#3: NaN not less or equal zero OR greater or equal zero'); -} -// -/////////////////////////////////////////////////// - -/////////////////////////////////////////////////// -// CHECK#4 -if (x_geq_0_ADD_leq_0){ - $ERROR('#4: NaN not less or equal zero ADD greater or equal zero'); -} else { - $PRINT('#4: NaN not less or equal zero ADD greater or equal zero'); -} -// -/////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A6.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A6.js deleted file mode 100644 index 30ef36be9d..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A6.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A6; - * @section: 8.5, 7.8.3; - * @assertion: -Infinity expression has a type Number; - * @description: Check type of -Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A6", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A6.js", - -assertion: "-Infinity expression has a type Number", - -description: "Check type of -Infinity", - -test: function testcase() { - var x=-Infinity; - -/////////////////////////////////////////////////////// -// CHECK#1 -if (typeof(x) !== "number"){ - $ERROR('#1: var x=-Infinity; typeof(x) === "number". Actual: ' + (typeof(x))); -} -// -////////////////////////////////////////////////////////// - -/////////////////////////////////////////////////////// -// CHECK#2 -if (typeof(-Infinity) !== "number"){ - $ERROR('#2: typeof(-Infinity) === "number". Actual: ' + (typeof(-Infinity))); -} -// -////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A7.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A7.js deleted file mode 100644 index e7ddff3ab7..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A7.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A7; - * @section: 8.5, 7.8.3; - * @assertion: +Infinity expression has a type Number; - * @description: Check type of +Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A7", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A7.js", - -assertion: "+Infinity expression has a type Number", - -description: "Check type of +Infinity", - -test: function testcase() { - var x=+Infinity; - -/////////////////////////////////////////////////////// -// CHECK#1 -if (typeof(x) !== "number"){ - $ERROR('#1: var x=+Infinity; typeof(x) === "number". Actual: ' + (typeof(x))); -} -// -////////////////////////////////////////////////////////// - -/////////////////////////////////////////////////////// -// CHECK#2 -if (typeof(+Infinity) !== "number"){ - $ERROR('#2: typeof(+Infinity) === "number". Actual: ' + (typeof(+Infinity))); -} -// -////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A8.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A8.js deleted file mode 100644 index e70fb1cbc2..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A8; - * @section: 8.5, 7.8.3; - * @assertion: Infinity is the same as +Infinity; - * @description: Compare Infinity and +Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A8", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A8.js", - -assertion: "Infinity is the same as +Infinity", - -description: "Compare Infinity and +Infinity", - -test: function testcase() { - var p_inf=+Infinity; -var inf=Infinity; - -/////////////////////////////////////////////////////// -// -if (p_inf!==inf){ - $ERROR('#1: Infinity is the same as +Infinity'); -} -// -////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A9.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A9.js deleted file mode 100644 index 70eeb3ebe2..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A9.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.5_A9; - * @section: 8.5, 7.8.3; - * @assertion: Globally defined variable NaN has not been altered by program execution; - * @description: Try alter globally defined variable NaN; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.5_A9", - -path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A9.js", - -assertion: "Globally defined variable NaN has not been altered by program execution", - -description: "Try alter globally defined variable NaN", - -test: function testcase() { - Number.NaN = 1; - -if (Number.NaN === 1) { - $ERROR('#1: Globally defined variable NaN has not been altered by program execution'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.js deleted file mode 100644 index 2c07ca976b..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.6.1_A1; - * @section: 8.6.1, 15.2.2, 15.8; - * @assertion: A property can have attribute ReadOnly like E in Math; - * @description: Try change Math.E property; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.1_A1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.js", - -assertion: "A property can have attribute ReadOnly like E in Math", - -description: "Try change Math.E property", - -test: function testcase() { - var __e = Math.E; -Math.E=1; -if (Math.E !==__e){ - $ERROR('#1: __e = Math.E; Math.E=1; Math.E ===__e'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.js deleted file mode 100644 index 3f20ddf569..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.6.1_A2; - * @section: 8.6.1, 12.6.4, 15.7; - * @assertion: A property can have attribute DontEnum like all properties of Number; - * @description: Try to enumerate properties of Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.1_A2", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.js", - -assertion: "A property can have attribute DontEnum like all properties of Number", - -description: "Try to enumerate properties of Number", - -test: function testcase() { - //CHECK#1 -var count=0; -for (p in Number) count++; -if (count > 0){ - $ERROR('#1: count=0; for (p in Number) count++; count > 0. Actual: ' + (count)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.js deleted file mode 100644 index a0c2c37839..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.6.1_A3; - * @section: 8.6.1, 15.7; - * @assertion: A property can have attribute DontDelete like NaN propertie of Number object; - * @description: Try to delete Number.NaN; - * @strict_mode_negative -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.1_A3", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.js", - -assertion: "A property can have attribute DontDelete like NaN propertie of Number object", - -description: "Try to delete Number.NaN", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete Number.NaN !== false){ - $ERROR('#1: delete Number.NaN === false. Actual: ' + (delete Number.NaN)); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof(Number.NaN) === "undefined"){ - $ERROR('#2: delete Number.NaN; typeof(Number.NaN) !== "undefined" '); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.js deleted file mode 100644 index 0aeafaa3da..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.1_A1; -* @section: 8.6.2.1; -* @assertion: [[Get]](P) method should return value when property P does not exist in instance but prototype contain it; -* @description: Try to get P when property P does not exist in instance but prototype contain it; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.1_A1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.js", - -assertion: "[[Get]](P) method should return value when property P does not exist in instance but prototype contain it", - -description: "Try to get P when property P does not exist in instance but prototype contain it", - -test: function testcase() { - //Establish foo object -function FooObj(){}; FooObj.prototype.propFoo="some"; - -// Invoke instance of foo object -var __obj= new FooObj; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.propFoo !== "some"){ - $ERROR('#1: function FooObj(){}; FooObj.prototype.propFoo="some"; var __obj= new FooObj; __obj.propFoo === "some". Actual: ' + (__obj.propFoo)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj['propFoo'] !== "some"){ - $ERROR('#1: function FooObj(){}; FooObj.prototype.propFoo="some"; var __obj= new FooObj; __obj[\'propFoo\'] === "some". Actual: ' + (__obj['propFoo'])); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.js deleted file mode 100644 index 1f23eff49a..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.1_A2; -* @section: 8.6.2.1; -* @assertion: [[Get]](P) method should return undefined when property P does not exist both in instance and prototype; -* @description: Try to get P when property P does not exist both in instance and prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.1_A2", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.js", - -assertion: "[[Get]](P) method should return undefined when property P does not exist both in instance and prototype", - -description: "Try to get P when property P does not exist both in instance and prototype", - -test: function testcase() { - var __obj={}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.propFoo !== undefined){ - $ERROR('#1: var __obj={}; __obj.propFoo === undefined. Actual: ' + (__obj.propFoo)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj['propFoo'] !== undefined){ - $ERROR('#2: var __obj={}; __obj[\'propFoo\'] === undefined. Actual: ' + (__obj['propFoo'])); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.js deleted file mode 100644 index e3b2233e6b..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.1_A3; -* @section: 8.6.2.1; -* @assertion: When the [[Get]] method of O is called with property name P value of P returns; -* @description: Try to get P property P exist in instance; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.1_A3", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.js", - -assertion: "When the [[Get]] method of O is called with property name P value of P returns", - -description: "Try to get P property P exist in instance", - -test: function testcase() { - var __map={shape:"cube", 5:"five", "6":"six"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__map.shape !== "cube"){ - $ERROR('#1: var __map={shape:"cube", 5:"five", "6":"six"}; __map.shape === "cube". Actual: ' + (__map.shape)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__map["shape"] !== "cube"){ - $ERROR('#2: var __map={shape:"cube", 5:"five", "6":"six"}; __map["shape"] === "cube". Actual: ' + (__map["shape"])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__map["5"] !== "five"){ - $ERROR('#3: var __map={shape:"cube", 5:"five", "6":"six"}; __map["5"] === "five". Actual: ' + (__map["5"])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__map[5] !== "five"){ - $ERROR('#4: var __map={shape:"cube", 5:"five", "6":"six"}; __map[5] === "five". Actual: ' + (__map[5])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__map["6"] !== "six"){ - $ERROR('#5: var __map={shape:"cube", 5:"five", "6":"six"}; __map["6"] === "six". Actual: ' + (__map["6"])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__map[6] !== "six"){ - $ERROR('#6: var __map={shape:"cube", 5:"five", "6":"six"}; __map[6] === "six". Actual: ' + (__map[6])); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.js deleted file mode 100644 index 14b62dcd98..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.2_A1; -* @section: 8.6.2.2; -* @assertion: When the [[Put]] method of O is called with property P and value V, -* and If O doesn't have a property with name P, then -* creates a property with name P, set its value to V and give it empty attributes; -* @description: Put to not existent properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.2_A1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.js", - -assertion: "When the [[Put]] method of O is called with property P and value V,", - -description: "Put to not existent properties", - -test: function testcase() { - var __map={}; __map[1]="one"; __map["two"]=2; __map["3"]="tre"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__map[1] !== "one") { - $ERROR('#1: var __map={}; __map[1]="one"; __map["two"]=2; __map["3"]="tre"; __map[1] === "one". Actual: ' + (__map[1])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__map["two"] !== 2) { - $ERROR('#2: var __map={}; __map[1]="one"; __map["two"]=2; __map["3"]="tre"; __map["two"] === 2. Actual: ' + (__map["two"])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__map["3"] !== "tre") { - $ERROR('#3: var __map={}; __map[1]="one"; __map["two"]=2; __map["3"]="tre"; __map["3"] === "tre". Actual: ' + (__map["3"])); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.js deleted file mode 100644 index 7843ddd54b..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.2_A2; -* @section: 8.6.2.2; -* @assertion: When the [[Put]] method of O is called with property P and value V, -* then set the value of the property to V. The attributes of the property are not changed; -* @description: Put to existent properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.2_A2", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.js", - -assertion: "When the [[Put]] method of O is called with property P and value V,", - -description: "Put to existent properties", - -test: function testcase() { - var _map={1:"one",two:2}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -_map[1]="uno"; -if (_map[1] !== "uno") { - $ERROR('#1: var _map={1:"one",two:2}; _map[1]="uno"; _map[1] === "uno". Actual: ' + (_map[1])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -_map["1"]=1; -if (_map[1] !== 1) { - $ERROR('#2: var _map={1:"one",two:2}; _map[1]="uno"; _map["1"]=1; _map[1] === 1. Actual: ' + (_map[1])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -_map["two"]="two"; -if (_map["two"] !== "two") { - $ERROR('#3: var _map={1:"one",two:2}; _map[1]="uno"; _map["1"]=1; _map["two"]="two"; _map["two"] === "two". Actual: ' + (_map["two"])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -_map.two="duo"; -if (_map.two !== "duo") { - $ERROR('#4: var _map={1:"one",two:2}; _map[1]="uno"; _map["1"]=1; _map["two"]="two"; _map.two="duo"; _map.two === "duo". Actual: ' + (_map.two)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.js deleted file mode 100644 index a0a23235f3..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.6.2.3_A1; - * @section: 8.6.2.3, 8.6.2.2, 8.6.1; - * @assertion: If the property has the ReadOnly attribute, [[CanPut]](P) return false; - * @description: Try put other value for Math.E property; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.3_A1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.js", - -assertion: "If the property has the ReadOnly attribute, [[CanPut]](P) return false", - -description: "Try put other value for Math.E property", - -test: function testcase() { - var __e = Math.E; -Math.E = 1; -if (Math.E !== __e){ - $ERROR('#1: __e = Math.E; Math.E = 1; Math.E === __e. Actual: ' + (Math.E)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.js deleted file mode 100644 index 5f3a30796d..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.4_A1; -* @section: 8.6.2.4, 12.6.4; -* @assertion: When the [[HasProperty]] method of O is called with property name P and if O has a property with name P, return true; -* @description: Try find existent property of any Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.4_A1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.js", - -assertion: "When the [[HasProperty]] method of O is called with property name P and if O has a property with name P, return true", - -description: "Try find existent property of any Object", - -test: function testcase() { - var __obj={fooProp:"fooooooo"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!("fooProp" in __obj)) { - $ERROR('#1: var __obj={fooProp:"fooooooo"}; "fooProp" in __obj'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.js deleted file mode 100644 index 0cd1e0a252..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.4_A2_T1; -* @section: 8.6.2.4, 12.6.4; -* @assertion: When the [[HasProperty]] method of O is called with property name P and if O has not a property with name P -* then If the [[Prototype]] of O is null, return false or call the [[HasProperty]] method of [[Prototype]] with property name P; -* @description: Try find not existent property of any Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.4_A2_T1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.js", - -assertion: "When the [[HasProperty]] method of O is called with property name P and if O has not a property with name P", - -description: "Try find not existent property of any Object", - -test: function testcase() { - var __obj={}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!("valueOf" in __obj)) { - $ERROR('#1: var __obj={}; "valueOf" in __obj'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.js deleted file mode 100644 index 1e7d1d0db2..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.4_A2_T2; -* @section: 8.6.2.4, 12.6.4; -* @assertion: When the [[HasProperty]] method of O is called with property name P and if O has not a property with name P -* then If the [[Prototype]] of O is null, return false or call the [[HasProperty]] method of [[Prototype]] with property name P; -* @description: Try find not existent property of any Object, but existent property of this Object prototype; -*/ - - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.4_A2_T2", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.js", - -assertion: "When the [[HasProperty]] method of O is called with property name P and if O has not a property with name P", - -description: "Try find not existent property of any Object, but existent property of this Object prototype", - -test: function testcase() { - var __proto={phylum:"avis"}; - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!("valueOf" in __proto)) { - $ERROR('#1: var __proto={phylum:"avis"}; "valueOf" in __proto'); -} -// -////////////////////////////////////////////////////////////////////////////// - -function Robin(){this.name="robin"}; -Robin.prototype=__proto; - -var __my__robin = new Robin; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!("phylum" in __my__robin)) { - $ERROR('#2: var __proto={phylum:"avis"}; function Robin(){this.name="robin"}; Robin.prototype=__proto; var __my__robin = new Robin; "phylum" in __my__robin'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__my__robin.hasOwnProperty("phylum")) { - $ERROR('#3: var __proto={phylum:"avis"}; function Robin(){this.name="robin"}; Robin.prototype=__proto; var __my__robin = new Robin; __my__robin.hasOwnProperty("phylum") === false. Actual: ' + (__my__robin.hasOwnProperty("phylum"))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.js deleted file mode 100644 index a08e297cc4..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.4_A3; -* @section: 8.6.2.4, 12.6.4; -* @assertion: [[hasProperty]] is sensitive to property existence but [[Get]] is not; -* @description: Use [[hasProperty]] and [[Get]] for existent and not existent properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.4_A3", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.js", - -assertion: "[[hasProperty]] is sensitive to property existence but [[Get]] is not", - -description: "Use [[hasProperty]] and [[Get]] for existent and not existent properties", - -test: function testcase() { - var __obj={}; __obj.hole=undefined; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.hole !== undefined) { - $ERROR('#1: var __obj={}; __obj.hole=undefined; __obj.hole === undefined. Actual: ' + (__obj.hole)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.notexist !== undefined) { - $ERROR('#2: var __obj={}; __obj.hole=undefined; __obj.notexist === undefined. Actual: ' + (__obj.notexist)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (!("hole" in __obj)) { - $ERROR('#3: var __obj={}; __obj.hole=undefined; "hole" in __obj'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (("notexist" in __obj)) { - $ERROR('#4: var __obj={}; __obj.hole=undefined; "notexist" in __obj'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.js deleted file mode 100644 index 85cd934977..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.5_A1; -* @section: 8.6.2.5, 15.8, 11.4.1; -* @assertion: When the [[Delete]] method of O is called with property name P, -* and If the property has the DontDelete attribute, return false; -* @description: Try to delete Math.E, that has the DontDelete attribute; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.5_A1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.js", - -assertion: "When the [[Delete]] method of O is called with property name P,", - -description: "Try to delete Math.E, that has the DontDelete attribute", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete Math.E !== false){ - $ERROR('#1: delete Math.E === false. Actual: ' + (delete Math.E)); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (Math.E === undefined){ - $ERROR('#2: delete Math.E; Math.E !== undefined'); -}; -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.js deleted file mode 100644 index 8862242526..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.5_A2_T1; -* @section: 8.6.2.5, 11.4.1; -* @assertion: When the [[Delete]] method of O is called with property name P, -* and if O doesn't have a property with name P, return true; -* @description: Try to delete not existent properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.5_A2_T1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.js", - -assertion: "When the [[Delete]] method of O is called with property name P,", - -description: "Try to delete not existent properties", - -test: function testcase() { - var __color__map = {}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete __color__map.red !== true){ - $ERROR('#1: var __color__map = {}; delete __color__map.red === true. Actual: ' + (delete __color__map.red)); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (delete __color__map["green"] !== true){ - $ERROR('#2: var __color__map = {}; delete __color__map["green"] === true. Actual: ' + (delete __color__map["green"])); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -var blue = 1; -if (delete __color__map[blue] !== true){ - $ERROR('#3: var __color__map = {}; var blue = 1; delete __color__map[blue] === true. Actual: ' + (delete __color__map[blue])); -}; -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.js deleted file mode 100644 index 85693bcd26..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.5_A2_T2; -* @section: 8.6.2.5, 11.4.1; -* @assertion: When the [[Delete]] method of O is called with property name P, -* and if O doesn't have a property with name P, return true; -* @description: Try to delete not existent properties of O, but existent property of prototype; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.5_A2_T2", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.js", - -assertion: "When the [[Delete]] method of O is called with property name P,", - -description: "Try to delete not existent properties of O, but existent property of prototype", - -test: function testcase() { - function Palette(){}; -Palette.prototype = {red:0xFF0000, green:0x00FF00}; -var __palette = new Palette; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__palette.red !== 0xFF0000){ - $ERROR('#1: function Palette(){}; Palette.prototype = {red:0xFF0000, green:0x00FF00}; __palette = new Palette; __palette.red === 0xFF0000. Actual: ' + (__palette.red)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (delete __palette.red !== true) { - $ERROR('#2 function Palette(){}; Palette.prototype = {red:0xFF0000, green:0x00FF00}; __palette = new Palette; delete __palette.red === true. Actual: ' + (delete __palette.red)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__palette.red !== 0xFF0000){ - $ERROR('#3: function Palette(){}; Palette.prototype = {red:0xFF0000, green:0x00FF00}; __palette = new Palette; __palette.red === 0xFF0000. Actual: ' + (__palette.red)); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.js deleted file mode 100644 index 23654b50cc..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.5_A3; -* @section: 8.6.2.5, 11.4.1; -* @assertion: When the [[Delete]] method of O is called with property name P, -* removes the property with name P from O and return true; -* @description: Delete existent properties; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.5_A3", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.js", - -assertion: "When the [[Delete]] method of O is called with property name P,", - -description: "Delete existent properties", - -test: function testcase() { - var BLUE_NUM=1; -var BLUE_STR="1"; -var YELLOW_NUM=2; -var YELLOW_STR="2"; -var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete __color__map[YELLOW_NUM] !== true){ - $ERROR('#1: var BLUE_NUM=1; var BLUE_STR="1"; var YELLOW_NUM=2; var YELLOW_STR="2"; var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; delete __color__map[YELLOW_NUM] === true;'); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__color__map[YELLOW_STR] !== undefined) { - $ERROR('#2: var BLUE_NUM=1; var BLUE_STR="1"; var YELLOW_NUM=2; var YELLOW_STR="2"; var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; delete __color__map[YELLOW_NUM]; __color__map[YELLOW_STR] === undefined. Actual: ' + (__color__map[YELLOW_STR])); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (delete __color__map[BLUE_STR] !== true){ - $ERROR('#3: var BLUE_NUM=1; var BLUE_STR="1"; var YELLOW_NUM=2; var YELLOW_STR="2"; var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; delete __color__map[BLUE_STR] === true. Actual: ' + (delete __color__map[BLUE_STR])); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__color__map[BLUE_NUM] !== undefined) { - $ERROR('#4: var BLUE_NUM=1; var BLUE_STR="1"; var YELLOW_NUM=2; var YELLOW_STR="2"; var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; delete __color__map[BLUE_STR]; __color__map[BLUE_NUM] === undefined. Actual: ' + (__color__map[BLUE_NUM])); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.js deleted file mode 100644 index 871c604b6a..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.6_A1; -* @section: 8.6.2.6, 8.6.2, 9.8, 11.8.6; -* @assertion: This should generate a TypeError, -* Cause we overload toString method so it return non Primitive value -* See ECMA reference at http://bugzilla.mozilla.org/show_bug.cgi?id=167325; -* @description: Try to overload toString method; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.6_A1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.js", - -assertion: "This should generate a TypeError,", - -description: "Try to overload toString method", - -test: function testcase() { - try -{ - var __obj = {toString: function() {return new Object();}} - String(__obj); - $ERROR('#1.1: var __obj = {toString: function() {return new Object();}}; String(__obj) throw TypeError. Actual: ' + (String(__obj))); -} -catch(e) -{ - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: var __obj = {toString: function() {return new Object();}}; String(__obj) throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.js deleted file mode 100644 index c5ebbed034..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.6_A2; -* @section: 8.6.2.6, 8.6.2, 9.8; -* @assertion: This should generate no TypeError, -* Cause we overload toString method so it return non Primitive value -* but we overloaded valueOf method too. -* See ECMA reference at http://bugzilla.mozilla.org/show_bug.cgi?id=167325; -* @description: Try to overload toString, that returned new Object, and valueOf methods; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.6_A2", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.js", - -assertion: "This should generate no TypeError,", - -description: "Try to overload toString, that returned new Object, and valueOf methods", - -test: function testcase() { - try -{ - var __obj = {toString: function() {return new Object();}, valueOf: function() {return 1;}} - if (String(__obj) !== "1") { - $ERROR('#1.1: var __obj = {toString: function() {return new Object();}, valueOf: function() {return 1;}}; String(__obj) === "1". Actual: ' + (String(__obj))); - } -} -catch(e) -{ - $ERROR('#1.2: var __obj = {toString: function() {return new Object();}, valueOf: function() {return 1;}}; String(__obj) === "1". Actual: ' + (e)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.js deleted file mode 100644 index 22a667fcc2..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.6_A3; -* @section: 8.6.2.6, 8.6.2; -* @assertion: We overload valueOf method so it return non Primitive value -* Thus [[DefaultValue]] must return Object.toString() value; -* @description: Try to overload toString method, that returned Primitive, and valueOf method, that returned new Object; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.6_A3", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.js", - -assertion: "We overload valueOf method so it return non Primitive value", - -description: "Try to overload toString method, that returned Primitive, and valueOf method, that returned new Object", - -test: function testcase() { - try -{ - var __obj = {toString: function() {return "1"}, valueOf: function() {return new Object();}} - if (Number(__obj) !== 1) { - $ERROR('#1.1: var __obj = {toNumber: function() {return "1"}, valueOf: function() {return new Object();}}; Number(__obj) === 1. Actual: ' + (Number(__obj))); - } -} -catch(e) -{ - $ERROR('#1.2: var __obj = {toNumber: function() {return "1"}, valueOf: function() {return new Object();}}; Number(__obj) === 1. Actual: ' + (e)); -} - - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.js deleted file mode 100644 index aa9c2db3f7..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2.6_A4; -* @section: 8.6.2.6, 8.6.2; -* @assertion: We overload valueOf method so it return non Primitive value and toString method so it return non Primitive value too -* Thus [[DefaultValue]] must generate TypeError error; -* @description: Try to overload toString and valueOf methods, they returned new Objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2.6_A4", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.js", - -assertion: "We overload valueOf method so it return non Primitive value and toString method so it return non Primitive value too", - -description: "Try to overload toString and valueOf methods, they returned new Objects", - -test: function testcase() { - try -{ - var __obj = {valueOf:function(){return new Object;},toString: function() {return new Object();}} - Number(__obj); - $ERROR('#1.1: var __obj = {valueOf:function(){return new Object;},toNumber: function() {return new Object();}}; Number(__obj) throw TypeError. Actual: ' + (Number(__obj))); -} -catch(e) -{ - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: var __obj = {valueOf:function(){return new Object;},toNumber: function() {return new Object();}}; Number(__obj) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.js deleted file mode 100644 index 31a794fc64..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.6.2_A1; - * @section: 8.6.2, 15.2.4; - * @assertion: Native ECMAScript objects have an internal property called [[Prototype]]. The value of this property is - * either null or an object and is used for implementing inheritance; - * @description: Check [[Prototype]] property of object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2_A1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.js", - -assertion: "Native ECMAScript objects have an internal property called [[Prototype]]. The value of this property is", - -description: "Check [[Prototype]] property of object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var __obj={}; -if (!Object.prototype.isPrototypeOf(__obj)){ - $ERROR('#1: Native ECMAScript objects have an internal property called [[Prototype]]. '); -}; -// -////////////////////////////////////////////////////////////////////////////// - -//Establish proto (base) object -/*function ProtoObj(){ - -};*/ -var protoObj={}; -//Establish foo object -function FooObj(){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -// Invoke instance of foo object -var obj__= new FooObj; - -if (!Object.prototype.isPrototypeOf(obj__)){ - $ERROR('#2.1: protoObj={}; function FooObj(){}; var obj__= new FooObj; Object.prototype.isPrototypeOf(obj__) === true. Actual: ' + (Object.prototype.isPrototypeOf(obj__))); -}; - -if (!FooObj.prototype.isPrototypeOf(obj__)){ - $ERROR('#2.2: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype.isPrototypeOf(obj__) === true. Actual: ' + (FooObj.prototype.isPrototypeOf(obj__))); -}; - -if (protoObj.isPrototypeOf(obj__)){ - $ERROR('#2.3: protoObj={}; function FooObj(){}; var obj__= new FooObj; protoObj.isPrototypeOf(obj__) === false. Actual: ' + (protoObj.isPrototypeOf(obj__))); -}; -// Establish inheritance from proto object -FooObj.prototype=protoObj; - -if (protoObj.isPrototypeOf(obj__)){ - $ERROR('#2.4: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype=protoObj; protoObj.isPrototypeOf(obj__) === false. Actual: ' + (protoObj.isPrototypeOf(obj__))); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 - -// Invoke instance of foo object -var __foo=new FooObj; - -if (!Object.prototype.isPrototypeOf(__foo)){ - $ERROR('#3.1: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype=protoObj; var __foo=new FooObj; Object.prototype.isPrototypeOf(__foo) === true. Actual: ' + (Object.prototype.isPrototypeOf(__foo))); -}; - -if (!FooObj.prototype.isPrototypeOf(__foo)){ - $ERROR('#3.2: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype=protoObj; var __foo=new FooObj; FooObj.prototype.isPrototypeOf(__foo) === true. Actual: ' + (FooObj.prototype.isPrototypeOf(__foo))); -}; - -if (!protoObj.isPrototypeOf(__foo)){ - $ERROR('#3.3: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype=protoObj; var __foo=new FooObj; protoObj.isPrototypeOf(__foo) === true. Actual: ' + (protoObj.isPrototypeOf(__foo))); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js deleted file mode 100644 index cf6361a6fe..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.6.2_A2; - * @section: 8.6.2, 15.2.4; - * @assertion: Properties of the [[Prototype]] object - * are visible as properties of the child object for the purposes of get access, but not for put access; - * @description: Check visibility properties of the child object for the purposes of get access, but not for put access; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2_A2", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js", - -assertion: "Properties of the [[Prototype]] object", - -description: "Check visibility properties of the child object for the purposes of get access, but not for put access", - -test: function testcase() { - //Establish foo object -function FooObj(){}; -FooObj.prototype.prop="some"; - -// Invoke instance of foo object -var foo= new FooObj; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (foo.prop !== "some"){ - $ERROR('#1: function FooObj(){}; FooObj.prototype.prop="some"; var foo= new FooObj; foo.prop === "some". Actual: ' + (foo.prop)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -foo.prop=true; -// Invoke another instance of foo object -var foo__ = new FooObj; -if (foo__.prop !== "some"){ - $ERROR('#2: function FooObj(){}; FooObj.prototype.prop="some"; var foo= new FooObj; foo.prop=true; var foo__ = new FooObj; foo__.prop === "some". Actual: ' + (foo__.prop)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.js deleted file mode 100644 index c4cec7a623..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2_A3; -* @section: 8.6.2, 15.2.4.2; -* @assertion: The specification does not provide any means for a program to access [[class]] value except through Object.prototype.toString; -* @description: Get [[class]] value except through Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2_A3", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.js", - -assertion: "The specification does not provide any means for a program to access [[class]] value except through Object.prototype.toString", - -description: "Get [[class]] value except through Object.prototype.toString", - -test: function testcase() { - var __obj={}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.toString() !== "[object " + 'Object' + "]"){ - $ERROR('#1: var __obj={}; __obj.toString() === "[object " + \'Object\' + "]". Actual: ' + (__obj.toString())); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.js deleted file mode 100644 index 5d54874787..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2_A4; -* @section: 8.6.2, 11.8.6; -* @assertion: [[HasInstance]] returns a boolean value indicating whether Value delegates behaviour to this object; -* @description: Check that the obj instance of Object, but not instance -* of Function, String, Number, Array; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2_A4", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.js", - -assertion: "[[HasInstance]] returns a boolean value indicating whether Value delegates behaviour to this object", - -description: "Check that the obj instance of Object, but not instance", - -test: function testcase() { - var __obj={}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__obj instanceof Object)) { - $ERROR('#1: var __obj={}; (__obj instanceof Object) === true. Actual: ' + ((__obj instanceof Object))); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj instanceof Function) { - $ERROR('#2: var __obj={}; (__obj instanceof Function) === false. Actual: ' + ((__obj instanceof Function))); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__obj instanceof String) { - $ERROR('#3: var __obj={}; (__obj instanceof String) === false. Actual: ' + ((__obj instanceof String))); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__obj instanceof Number) { - $ERROR('#4: var __obj={}; (__obj instanceof Number) === false. Actual: ' + ((__obj instanceof Number))); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__obj instanceof Array) { - $ERROR('#5: var __obj={}; (__obj instanceof Array) === false. Actual: ' + ((__obj instanceof Array))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js deleted file mode 100644 index 17c13182b8..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2_A5_T1; -* @section: 8.6.2, 13.1, 13.2; -* @assertion: [[Call]] executes code associated with the object; -* @description: Call function-property of object, property defined -* as screen = {touch:function(){count++}}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2_A5_T1", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js", - -assertion: "[[Call]] executes code associated with the object", - -description: "Call function-property of object, property defined", - -test: function testcase() { - this.count=0; - -screen = {touch:function(){count++}}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -screen.touch(); -if (count !==1) { - $ERROR('#1: this.count=0; screen = {touch:function(){count++}}; screen.touch(); count === 1. Actual: ' + (count)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -screen['touch'](); -if (count !==2) { - $ERROR('#2: this.count=0; screen = {touch:function(){count++}}; screen.touch(); screen[\'touch\'](); count === 2. Actual: ' + (count)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.js deleted file mode 100644 index 447c4e6be9..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2_A5_T2; -* @section: 8.6.2, 13.1, 13.2; -* @assertion: [[Call]] executes code associated with the object; -* @description: Call function-property of object, property defined -* as seat['move']=function(){position++}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2_A5_T2", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.js", - -assertion: "[[Call]] executes code associated with the object", - -description: "Call function-property of object, property defined", - -test: function testcase() { - this.position=0; -seat = {}; -seat['move']=function(){position++}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -seat.move(); -if (position !==1) { - $ERROR('#1: this.position=0; seat = {}; seat[\'move\']=function(){position++}; seat.move(); position === 1. Actual: ' + (position)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -seat['move'](); -if (position !==2) { - $ERROR('#2: this.position=0; seat = {}; seat[\'move\']=function(){position++}; seat.move(); seat[\'move\'](); position === 2. Actual: ' + (position)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.js deleted file mode 100644 index 019f71dd87..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2_A5_T3; -* @section: 8.6.2, 13.1, 13.2; -* @assertion: [[Call]] executes code associated with the object; -* @description: Call function-property of global object, property defined -* as knock=function(){count++}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2_A5_T3", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.js", - -assertion: "[[Call]] executes code associated with the object", - -description: "Call function-property of global object, property defined", - -test: function testcase() { - count=0; -knock=function(){count++}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -knock(); -if (count !==1) { - $ERROR('#1: count=0; knock=function(){count++}; knock(); count === 1. Actual: ' + (count)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -this['knock'](); -if (count !==2) { - $ERROR('#2: count=0; knock=function(){count++}; knock(); this[\'knock\'](); count === 2. Actual: ' + (count)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.js deleted file mode 100644 index a8eaaaa827..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2_A5_T4; -* @section: 8.6.2, 13.1, 13.2; -* @assertion: [[Call]] executes code associated with the object; -* @description: Call function-property of global object, property defined -* as this['beep']=function(){__count++}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2_A5_T4", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.js", - -assertion: "[[Call]] executes code associated with the object", - -description: "Call function-property of global object, property defined", - -test: function testcase() { - __count=0; - -this["beep"]=function(){__count++}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -beep(); -if (__count !==1) { - $ERROR('#1: __count=0; this["beep"]=function(){__count++}; beep(); __count === 1. Actual: ' + (__count)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -this["beep"](); -if (__count !==2) { - $ERROR('#2: __count=0; this["beep"]=function(){__count++}; beep(); this["beep"](); __count === 2. Actual: ' + (__count)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.js deleted file mode 100644 index 151e2dfb38..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6.2_A6; -* @section: 8.6.2, 15.2.2; -* @assertion: [[Construct]] constructs an object. Invoked via the new operator. Objects that implement this internal method are called constructors; -* @description: Create a few Objects via the new operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6.2_A6", - -path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.js", - -assertion: "[[Construct]] constructs an object. Invoked via the new operator. Objects that implement this internal method are called constructors", - -description: "Create a few Objects via the new operator", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var objInstance=new Object; -if (objInstance.constructor !== Object){ - $ERROR('#1: var objInstance=new Object; objInstance.constructor === Object. Actual: ' + (objInstance.constructor)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -var numInstance=new Number; -if (numInstance.constructor !== Number){ - $ERROR('#2: var numInstance=new Number; numInstance.constructor === Number. Actual: ' + (numInstance.constructor)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.js deleted file mode 100644 index 0c379226e4..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var objMath=new Math; - -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A2_T1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A2_T1.js deleted file mode 100644 index 15470c034c..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A2_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6_A2_T1; -* @section: 8.6, 11.3.1; -* @assertion: Do not crash with postincrement custom property; -* @description: Try to implement postincrement for custom property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6_A2_T1", - -path: "TestCases/08_Types/8.6_The_Object_Type/S8.6_A2_T1.js", - -assertion: "Do not crash with postincrement custom property", - -description: "Try to implement postincrement for custom property", - -test: function testcase() { - var __map={foo:"bar"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 - -__map.foo++; -if (!isNaN(__map.foo)) { - $ERROR('#1: var __map={foo:"bar"}; __map.foo++; __map.foo === Not-a-Number. Actual: ' + (__map.foo)); -} - -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A2_T2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A2_T2.js deleted file mode 100644 index e729e2f033..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A2_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6_A2_T2; -* @section: 8.6, 11.3.1; -* @assertion: Do not crash with postincrement custom property; -* @description: Try to implement postincrement for not declared custom property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6_A2_T2", - -path: "TestCases/08_Types/8.6_The_Object_Type/S8.6_A2_T2.js", - -assertion: "Do not crash with postincrement custom property", - -description: "Try to implement postincrement for not declared custom property", - -test: function testcase() { - var __map={}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!isNaN(__map.foo++)) { - $ERROR('#1: var __map={}; __map.foo === Not-a-Number. Actual: ' + (__map.foo)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!("foo" in __map)) { - $ERROR('#2: var __map={}; "foo" in __map'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A3_T1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A3_T1.js deleted file mode 100644 index e3b4cda7f7..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A3_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6_A3_T1; -* @section: 8.6, 11.4.4; -* @assertion: Do not crash with pefixincrement custom property; -* @description: Try to implement pefixincrement for custom property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6_A3_T1", - -path: "TestCases/08_Types/8.6_The_Object_Type/S8.6_A3_T1.js", - -assertion: "Do not crash with pefixincrement custom property", - -description: "Try to implement pefixincrement for custom property", - -test: function testcase() { - var __map={foo:'bar'}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 - -++__map.foo; -if (!isNaN(__map.foo)) { - $ERROR('#1: var __map={foo:"bar"}; ++__map.foo; __map.foo === Not-a-Number. Actual: ' + (__map.foo)); -} - -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A3_T2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A3_T2.js deleted file mode 100644 index d3e688a35d..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A3_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.6_A3_T2; -* @section: 8.6, 11.4.4; -* @assertion: Do not crash with pefixincrement custom property; -* @description: Try to implement pefixincrement for not declared custom property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6_A3_T2", - -path: "TestCases/08_Types/8.6_The_Object_Type/S8.6_A3_T2.js", - -assertion: "Do not crash with pefixincrement custom property", - -description: "Try to implement pefixincrement for not declared custom property", - -test: function testcase() { - var __map={}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!isNaN(++__map.foo)) { - $ERROR('#1: var __map={}; __map.foo++; __map.foo === Not-a-Number. Actual: ' + (__map.foo)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!("foo" in __map)) { - $ERROR('#2: var __map={}; "foo" in __map'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A4_T1.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A4_T1.js deleted file mode 100644 index e4e30be2ab..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/S8.6_A4_T1.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S8.6_A4_T1; - * @section: 8.6, 8.6.1, 15.2.2, 12.6.4; - * @assertion: An Object is an unordered collection of properties; - * @description: Simple using a few custom properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.6_A4_T1", - -path: "TestCases/08_Types/8.6_The_Object_Type/S8.6_A4_T1.js", - -assertion: "An Object is an unordered collection of properties", - -description: "Simple using a few custom properties", - -test: function testcase() { - /////////////////////////////////////////////////////// -// CHECK#1 -obj = {bar:true, some:1, foo:"a"}; - -count=0; - -for (property in obj) count++; - -if (count !== 3){ - $ERROR('#1: obj = {bar:true, some:1, foo:"a"}; count=0; for (property in obj) count++; count === 3. Actual: ' + (count)); -} -// -//////////////////////////////////////////////////////// - -/////////////////////////////////////////////////////// -// CHECK#2 -obj_ = {bar:true}; -obj_.some = 1; -obj_.foo = "a"; - -count=0; - -for (property in obj_) count++; - -if (count !== 3){ - $ERROR('#2: obj_ = {bar:true}; obj_.some = 1; obj_.foo = "a"; count=0; for (property in obj_) count++; count === 3. Actual: ' + (count)); -} -// -//////////////////////////////////////////////////////// - -/////////////////////////////////////////////////////// -// CHECK#3 -obj__ = new Object(); -obj__.bar = true; -obj__.some = 1; -obj__.foo = "a"; - -count=0; - -for (property in obj__) count++; - -if (count !== 3){ - $ERROR('#3: obj__ = new Object(); obj__.bar = true; obj__.some = 1; obj__.foo = "a"; for (property in obj__) count++; count === 3. Actual: ' + (count)); -} -// -//////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A1.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A1.js deleted file mode 100644 index 82a902be98..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7.1_A1; -* @section: 8.7.1, 11.4.1; -* @assertion: Delete operator deletes pure property, so it returns true to be applyed to this.property; -* @description: Try to delete this.y, where y is this.y=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7.1_A1", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7.1_A1.js", - -assertion: "Delete operator deletes pure property, so it returns true to be applyed to this.property", - -description: "Try to delete this.y, where y is this.y=1", - -test: function testcase() { - this.y = 1; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if((delete this.y) !== true){ - $ERROR('#1: this.y = 1; (delete this.y) === true. Actual: ' + ((delete this.y))); -}; -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (this.y !== undefined){ - $ERROR('#2: this.y = 1; (delete this.y) === true; this.y === undefined. Actual: ' + (this.y)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js deleted file mode 100644 index 3b8e02aecc..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7.1_A2; -* @section: 8.7.1; -* @assertion: Delete operator can't delete reference, so it returns false to be applyed to reference; -* @description: Try to delete y, where y is var y=1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7.1_A2", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js", - -assertion: "Delete operator can\'t delete reference, so it returns false to be applyed to reference", - -description: "Try to delete y, where y is var y=1", - -test: function testcase() { - var y = 1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(delete y){ - $ERROR('#1: y = 1; (delete y) === false. Actual: ' + ((delete y))); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (y !== 1) { - $ERROR('#2: y = 1; delete y; y === 1. Actual: ' + (y)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.js deleted file mode 100644 index b30f282ff3..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - 'litera'=1; - - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.js deleted file mode 100644 index 75c22b5473..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - 1=1; - - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A2.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A2.js deleted file mode 100644 index c9a123b961..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7.2_A2; -* @section: 8.7.2; -* @assertion: x++ calls GetValue then PutValue so after applying postfix increment(actually conrete operator type is unimportant) -* we must have reference to defined value; -* @description: Execute x++, where x is var x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7.2_A2", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7.2_A2.js", - -assertion: "x++ calls GetValue then PutValue so after applying postfix increment(actually conrete operator type is unimportant)", - -description: "Execute x++, where x is var x", - -test: function testcase() { - var x; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x !== undefined) { - $ERROR('#1: var x; x === undefined. Actual: ' + (x)); -} -// -////////////////////////////////////////////////////////////////////////////// -x++; -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (x === undefined) { - $ERROR('#2: var x; x++; x !== undefined'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js deleted file mode 100644 index b6c9ca0966..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7.2_A3; -* @section: 8.7.2; -* @assertion: this.x++ calls GetValue then PutValue so after applying postfix increment(actually conrete operator type is unimportan) -* we must have reference to defined value; -* @description: Execute this.x++, where this.x is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7.2_A3", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js", - -assertion: "this.x++ calls GetValue then PutValue so after applying postfix increment(actually conrete operator type is unimportan)", - -description: "Execute this.x++, where this.x is undefined", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (this.x !== undefined) { - $ERROR('#1: this.x === undefined. Actual: ' + (this.x)); -} -// -////////////////////////////////////////////////////////////////////////////// -this.x++; -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (x === undefined) { - $ERROR('#2: this.x; this.x++; x !== undefined'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A1.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A1.js deleted file mode 100644 index 8d05bbe395..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7_A1; -* @section: 8.7; -* @assertion: Multiple Variables should Referring to a Single Object; -* @description: Create object and refers to the other object, modify a property in the original object. -* We now see that that change is represented in both variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7_A1", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7_A1.js", - -assertion: "Multiple Variables should Referring to a Single Object", - -description: "Create object and refers to the other object, modify a property in the original object.", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -// Set obj to an empty object -// -var obj = new Object(); -// objRef now refers to the other object -// -var objRef = obj; -// Modify a property in the original object -objRef.oneProperty = -1; -obj.oneProperty = true; -// We now see that that change is represented in both variables -// (Since they both refer to the same object) -if(objRef.oneProperty !== true){ - $ERROR('#1: var obj = new Object(); var objRef = obj; objRef.oneProperty = -1; obj.oneProperty = true; objRef.oneProperty === true. Actual: ' + (objRef.oneProperty)); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A2.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A2.js deleted file mode 100644 index 7699d3a99b..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A2.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7_A2; -* @section: 8.7; -* @assertion: Reference to Self-Modifying Object remain the integrity; -* @description: Create a reference to the array, and change original array; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7_A2", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7_A2.js", - -assertion: "Reference to Self-Modifying Object remain the integrity", - -description: "Create a reference to the array, and change original array", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -// Create an array of items -var items = new Array( "one", "two", "three" ); -// Create a reference to the array of items -var itemsRef = items; -// Add an item to the original array -items.push( "four" );var itemsRef = items; -// The length of each array should be the same, -// since they both point to the same array object -if( itemsRef.length !== 4){ - $ERROR('#1: var items = new Array( "one", "two", "three" ); var itemsRef = items; items.push( "four" );var itemsRef = items; itemsRef.length !== 4'); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -// Create an array of items -var items = new Array( "one", "two", "three" ); -// Create a reference to the array of items -var itemsRef = items; -// Add an item to the original array -items[1]="duo"; -// The length of each array should be the same, -// since they both point to the same array object -if( itemsRef[1] !== "duo"){ - $ERROR('#2: var items = new Array( "one", "two", "three" ); var itemsRef = items; items[1]="duo"; itemsRef[1] === "duo". Actual: ' + (itemsRef[1])); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js deleted file mode 100644 index e0782cb210..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7_A3; -* @section: 8.7; -* @assertion: Changing the Reference of an Object While Maintaining Integrity; -* @description: Create a reference to the array, and redefine original array with new array; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7_A3", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7_A3.js", - -assertion: "Changing the Reference of an Object While Maintaining Integrity", - -description: "Create a reference to the array, and redefine original array with new array", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -// Set items to an array (object) of strings -var items = new Array( "one", "two", "three" ); -// Set itemsRef to a reference to items -// -var itemsRef = items; -// Set items to equal a new object -// -items = new Array( "new", "array" ); -// items and itemsRef now point to different objects. -// items points to new Array( "new", "array" ) -// itemsRef points to new Array( "one", "two", "three" ) -if( items == itemsRef ){ - $ERROR('#1: var items = new Array( "one", "two", "three" ); var itemsRef = items; items = new Array( "new", "array" ); items != itemsRef'); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A4.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A4.js deleted file mode 100644 index e3009883e2..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A4.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7_A4; -* @section: 8.7; -* @assertion: Object Modification Resulting in a New Object for Not a Self-Modified Object leads to loss of integrity; -* @description: Create a reference to the string, and Concatenate some new text onto the string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7_A4", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7_A4.js", - -assertion: "Object Modification Resulting in a New Object for Not a Self-Modified Object leads to loss of integrity", - -description: "Create a reference to the string, and Concatenate some new text onto the string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -// Set item equal to a new string object -var item = new String("test"); -// itemRef now refers to the same string object -var itemRef = item; -// Concatenate some new text onto the string object -// NOTE: This creates a new object, and does not modify -// the original object. -item += "ing"; -// The values of item and itemRef are NOT equal, as a whole -// new string object has been created -if( item == itemRef ){ - $ERROR('#1: var item = new String("test"); var itemRef = item; item += "ing"; item != itemRef'); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.js deleted file mode 100644 index 5d3fc2ade2..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7_A5_T1; -* @section: 8.7; -* @assertion: Delete unary operator can't delete object to be referenced; -* @description: Delete referenced object, var __ref = obj; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7_A5_T1", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.js", - -assertion: "Delete unary operator can\'t delete object to be referenced", - -description: "Delete referenced object, var __ref = obj", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof(__ref) !== "undefined"){ - $ERROR('#1: typeof(__ref) === "undefined". Actual: ' + (typeof(__ref))); -}; -// -////////////////////////////////////////////////////////////////////////////// - -var obj = new Object(); -var __ref = obj; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof(__ref) === "undefined"){ - $ERROR('#2: obj = new Object(); var __ref = obj; typeof(__ref) !== "undefined"'); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (delete __ref !== false){ - $ERROR('#3: obj = new Object(); var __ref = obj; delete __ref === false. Actual: ' + (delete __ref)); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (typeof(__ref) !== "object"){ - $ERROR('#4: obj = new Object(); var __ref = obj; delete __ref; typeof(__ref) === "object". Actual: ' + (typeof(__ref))); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof(obj) !== "object"){ - $ERROR('#5: obj = new Object(); var __ref = obj; delete __ref; typeof(obj) === "object". Actual: ' + (typeof(obj))); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.js deleted file mode 100644 index 336ac4020a..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7_A5_T2; -* @section: 8.7, 11.4.1; -* @assertion: Delete unary operator can't delete object to be referenced; -* @description: Delete referenced object, __ref = obj; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7_A5_T2", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.js", - -assertion: "Delete unary operator can\'t delete object to be referenced", - -description: "Delete referenced object, __ref = obj", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof(__ref) !== "undefined"){ - $ERROR('#1: typeof(__ref) === "undefined". Actual: ' + (typeof(__ref))); -}; -// -////////////////////////////////////////////////////////////////////////////// - -var obj = new Object(); -var __ref = obj; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof(__ref) === "undefined"){ - $ERROR('#2: obj = new Object(); __ref = obj; typeof(__ref) !== "undefined"'); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (delete __ref !== true){ - $ERROR('#3: obj = new Object(); __ref = obj; delete __ref === true. Actual: ' + (delete __ref)); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (typeof(__ref) !== "undefined"){ - $ERROR('#4: obj = new Object(); __ref = obj; delete __ref; typeof(__ref) === "undefined". Actual: ' + (typeof(__ref))); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof(obj) !== "object"){ - $ERROR('#5: obj = new Object(); __ref = obj; delete __ref; typeof(obj) === "object". Actual: ' + (typeof(obj))); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A6.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A6.js deleted file mode 100644 index e3f5e88c40..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A6.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7_A6; -* @section: 8.7; -* @assertion: Passing arguments by value differs from by reference and do not change values to be passed; -* @description: Adding original variable with referenced one inside function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7_A6", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7_A6.js", - -assertion: "Passing arguments by value differs from by reference and do not change values to be passed", - -description: "Adding original variable with referenced one inside function", - -test: function testcase() { - var n = 1; -var m = n; - -function addFirst2Second(first, second){first += second;} - -addFirst2Second(n, m); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (m !== 1) { - $ERROR('#1: var n = 1; var m = n; function addFirst2Second(first, second){first += second;} addFirst2Second(n, m); m === 1. Actual: ' + (m)); -} - -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A7.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A7.js deleted file mode 100644 index 6a59a90c49..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A7.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.7_A7; -* @section: 8.7; -* @assertion: Passing arguments by reference do change values of reference to be passed; -* @description: Add new property to original variable inside function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.7_A7", - -path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7_A7.js", - -assertion: "Passing arguments by reference do change values of reference to be passed", - -description: "Add new property to original variable inside function", - -test: function testcase() { - var n = {}; -var m = n; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof m !== "object") { - $ERROR('#1: var n = {}; var m = n; typeof m === "object". Actual: ' + (typeof m)); -} -// -////////////////////////////////////////////////////////////////////////////// - -function populateAge(person){person.age = 50;} - -populateAge(m); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (n.age !== 50) { - $ERROR('#2: var n = {}; var m = n; function populateAge(person){person.age = 50;} populateAge(m); n.age === 50. Actual: ' + (n.age)); -} - -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T1.js b/test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T1.js deleted file mode 100644 index a161065605..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.8_A2_T1; -* @section: 8.8; -* @assertion: Values of the List type are simply ordered sequences of values; -* @description: Call function __mFunc(1,2,3) with 3 arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.8_A2_T1", - -path: "TestCases/08_Types/8.8_The_List_Type/S8.8_A2_T1.js", - -assertion: "Values of the List type are simply ordered sequences of values", - -description: "Call function __mFunc(1,2,3) with 3 arguments", - -test: function testcase() { - function __mFunc(){return arguments.length;}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__mFunc(1,2,3) !== 3){ - $ERROR('#1: function __mFunc(){return arguments.length;}; __mFunc(1,2,3) === 3. Actual: ' + (__mFunc(1,2,3))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T2.js b/test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T2.js deleted file mode 100644 index 7923be2d18..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.8_A2_T2; -* @section: 8.8; -* @assertion: Values of the List type are simply ordered sequences of values; -* @description: Call function __mFunc([,,]) with 1 arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.8_A2_T2", - -path: "TestCases/08_Types/8.8_The_List_Type/S8.8_A2_T2.js", - -assertion: "Values of the List type are simply ordered sequences of values", - -description: "Call function __mFunc([,,]) with 1 arguments", - -test: function testcase() { - function __mFunc(){return arguments.length;}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__mFunc([,,]) !== 1){ - $ERROR('#1: function __mFunc(){return arguments.length;}; __mFunc([,,]) === 1. Actual: ' + (__mFunc([,,]))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T3.js b/test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T3.js deleted file mode 100644 index 86d7e08fdb..0000000000 --- a/test/suite/sputnik_converted/08_Types/8.8_The_List_Type/S8.8_A2_T3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S8.8_A2_T3; -* @section: 8.8; -* @assertion: Values of the List type are simply ordered sequences of values; -* @description: Call function, that concatenate all it`s arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S8.8_A2_T3", - -path: "TestCases/08_Types/8.8_The_List_Type/S8.8_A2_T3.js", - -assertion: "Values of the List type are simply ordered sequences of values", - -description: "Call function, that concatenate all it`s arguments", - -test: function testcase() { - function __mFunc(){var __accum=""; for (var i = 0; i < arguments.length; ++i){__accum += arguments[i]};return __accum;}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__mFunc("A","B","C","D","E","F") !== "ABCDEF"){ - $ERROR('#1: function __mFunc(){var __accum=""; for (var i = 0; i < arguments.length; ++i){__accum += arguments[i]};return __accum;}; __mFunc("A","B","C","D","E","F") === "ABCDEF". Actual: ' + (__mFunc("A","B","C","D","E","F"))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.js deleted file mode 100644 index e901fe0b00..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.1_A1_T1; - * @section: 9.1; - * @assertion: Result of primitive conversion from object is a default value for the Object; - * @description: Using operator Number. The operator calls ToPrimitive with hint Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.1_A1_T1", - -path: "TestCases/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.js", - -assertion: "Result of primitive conversion from object is a default value for the Object", - -description: "Using operator Number. The operator calls ToPrimitive with hint Number", - -test: function testcase() { - // CHECK#1 -var object = {valueOf: function() {return "1"}, toString: function() {return 0}}; -if (Number(object) !== 1) { - $ERROR('#1: var object = {valueOf: function() {return "1"}, toString: function() {return 0}}; Number(object) === 1. Actual: ' + (Number(object))); -} - -// CHECK#2 -var object = {valueOf: function() {return {}}, toString: function() {return "0"}}; -if (Number(object) !== 0) { - $ERROR('#2: var object = {valueOf: function() {return {}}, toString: function() {return "0"}}; Number(object) === 0. Actual: ' + (Number(object))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.js deleted file mode 100644 index b4a46b8127..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.1_A1_T2; - * @section: 9.1; - * @assertion: Result of primitive conversion from object is a default value for the Object; - * @description: Using operator Number. This operator calls ToPrimitive with hint Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.1_A1_T2", - -path: "TestCases/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.js", - -assertion: "Result of primitive conversion from object is a default value for the Object", - -description: "Using operator Number. This operator calls ToPrimitive with hint Number", - -test: function testcase() { - // CHECK#1 -var object = {valueOf: function() {return 0}, toString: function() {return 1}}; -if (String(object) !== "1") { - $ERROR('#1: var object = {valueOf: function() {return 0}, toString: function() {return 1}}; String(object) === "1". Actual: ' + (String(object))); -} - -// CHECK#2 -var object = {valueOf: function() {return 0}, toString: function() {return {}}}; -if (String(object) !== "0") { - $ERROR('#2: var object = {valueOf: function() {return 0}, toString: function() {return {}}}; String(object) === "0". Actual: ' + (String(object))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.js deleted file mode 100644 index 5caaee1e32..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.1_A1_T3; - * @section: 9.1; - * @assertion: Result of primitive conversion from object is a default value for the Object; - * @description: Using operator "+". This operator firstly calls ToPrimitive and then calls ToString or ToNumber; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.1_A1_T3", - -path: "TestCases/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.js", - -assertion: "Result of primitive conversion from object is a default value for the Object", - -description: "Using operator \"+\". This operator firstly calls ToPrimitive and then calls ToString or ToNumber", - -test: function testcase() { - // CHECK#1 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (object + "" !== "1") { - $ERROR('#1: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; object + "" === "1". Actual: ' + (object + "")); -} - -// CHECK#2 -var object = {valueOf: function() {return "1"}, toString: function() {return 0}}; -if (object + 0 !== "10") { - $ERROR('#2: var object = {valueOf: function() {return "1"}, toString: function() {return 0}}; object + 0 === "10". Actual: ' + (object + 0)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.js b/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.js deleted file mode 100644 index 78f94ea106..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.1_A1_T4; - * @section: 9.1; - * @assertion: Result of primitive conversion from object is a default value for the Object; - * @description: Using operator "<". The operator firstly calls ToPrimitive and then calls ToString or ToNumber; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.1_A1_T4", - -path: "TestCases/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.js", - -assertion: "Result of primitive conversion from object is a default value for the Object", - -description: "Using operator \"<\". The operator firstly calls ToPrimitive and then calls ToString or ToNumber", - -test: function testcase() { - // CHECK#1 -var object = {valueOf: function() {return -2}, toString: function() {return "-2"}}; -if ("-1" < object) { - $ERROR('#1: var object = {valueOf: function() {return -2}, toString: function() {return "-2"}}; "-1" < object'); -} - -// CHECK#2 -var object = {valueOf: function() {return "-2"}, toString: function() {return -2}}; -if (object < "-1") { - $ERROR('#2: var object = {valueOf: function() {return "-2"}, toString: function() {return -2}}; object < "-1"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.js deleted file mode 100644 index 148ec32f97..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A1_T1; - * @section: 9.2, 15.6.1; - * @assertion: Result of boolean conversion from undefined value is false; - * @description: Undefined, void and others are converted to Boolean by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A1_T1", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.js", - -assertion: "Result of boolean conversion from undefined value is false", - -description: "Undefined, void and others are converted to Boolean by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Boolean(undefined) !== false) { - $ERROR('#1: Boolean(undefined) === false. Actual: ' + (Boolean(undefined))); -} - -// CHECK#2 -if (Boolean(void 0) !== false) { - $ERROR('#2: Boolean(undefined) === false. Actual: ' + (Boolean(undefined))); -} - -// CHECK#3 -if (Boolean(eval("var x")) !== false) { - $ERROR('#3: Boolean(eval("var x")) === false. Actual: ' + (Boolean(eval("var x")))); -} - -// CHECK#4 -if (Boolean() !== false) { - $ERROR('#4: Boolean() === false. Actual: ' + (Boolean())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.js deleted file mode 100644 index 1cc00c9c74..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A1_T2; - * @section: 9.2, 11.4.9; - * @assertion: Result of boolean conversion from undefined value is false; - * @description: Undefined, void and others are converted to Boolean by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A1_T2", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.js", - -assertion: "Result of boolean conversion from undefined value is false", - -description: "Undefined, void and others are converted to Boolean by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (!(undefined) !== true) { - $ERROR('#1: !(undefined) === true. Actual: ' + (!(undefined))); -} - -// CHECK#2 -if (!(void 0) !== true) { - $ERROR('#2: !(undefined) === true. Actual: ' + (!(undefined))); -} - -// CHECK#3 -if (!(eval("var x")) !== true) { - $ERROR('#3: !(eval("var x")) === true. Actual: ' + (!(eval("var x")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.js deleted file mode 100644 index 233816defb..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A2_T1; - * @section: 9.2, 15.6.1; - * @assertion: Result of boolean conversion from null value is false; - * @description: null convert to Boolean by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A2_T1", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.js", - -assertion: "Result of boolean conversion from null value is false", - -description: "null convert to Boolean by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Boolean(null) !== false) { - $ERROR('#1: Boolean(null) === false. Actual: ' + (Boolean(null))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.js deleted file mode 100644 index 89c3872d09..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A2_T2; - * @section: 9.2, 11.4.9; - * @assertion: Result of boolean conversion from null value is false; - * @description: null convert to Boolean by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A2_T2", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.js", - -assertion: "Result of boolean conversion from null value is false", - -description: "null convert to Boolean by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (!(null) !== true) { - $ERROR('#1: !(null) === true. Actual: ' + (!(null))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.js deleted file mode 100644 index 156e9baf82..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A3_T1; - * @section: 9.2, 15.6.1; - * @assertion: Result of boolean conversion from boolean value is no conversion; - * @description: true and false convert to Boolean by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A3_T1", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.js", - -assertion: "Result of boolean conversion from boolean value is no conversion", - -description: "true and false convert to Boolean by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Boolean(true) !== true) { - $ERROR('#1: Boolean(true) === true. Actual: ' + (Boolean(true))); -} - -// CHECK#2 -if (Boolean(false) !== false) { - $ERROR('#2: Boolean(false) === false. Actual: ' + (Boolean(false))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.js deleted file mode 100644 index 4b9d33c7b6..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A3_T2; - * @section: 9.2, 11.4.9; - * @assertion: Result of boolean conversion from boolean value is no conversion; - * @description: true and false convert to Boolean by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A3_T2", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.js", - -assertion: "Result of boolean conversion from boolean value is no conversion", - -description: "true and false convert to Boolean by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (!(true) !== false) { - $ERROR('#1: !(true) === false. Actual: ' + (!(true))); -} - -// CHECK#2 -if (!(false) !== true) { - $ERROR('#2: !(false) === true. Actual: ' + (!(false))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.js deleted file mode 100644 index 162db00ffa..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A4_T1; - * @section: 9.2, 15.6.1; - * @assertion: Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true; - * @description: +0, -0 and NaN convert to Boolean by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A4_T1", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.js", - -assertion: "Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true", - -description: "+0, -0 and NaN convert to Boolean by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Boolean(+0) !== false) { - $ERROR('#1: Boolean(+0) === false. Actual: ' + (Boolean(+0))); -} - -// CHECK#2 -if (Boolean(-0) !== false) { - $ERROR('#2: Boolean(-0) === false. Actual: ' + (Boolean(-0))); -} - -// CHECK#3 -if (Boolean(Number.NaN) !== false) { - $ERROR('#3: Boolean(Number.NaN) === false. Actual: ' + (Boolean(Number.NaN))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.js deleted file mode 100644 index 3c32fc7722..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A4_T2; - * @section: 9.2, 11.4.9; - * @assertion: Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true; - * @description: +0, -0 and NaN convert to Boolean by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A4_T2", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.js", - -assertion: "Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true", - -description: "+0, -0 and NaN convert to Boolean by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (!(+0) !== true) { - $ERROR('#1: !(+0) === true. Actual: ' + (!(+0))); -} - -// CHECK#2 -if (!(-0) !== true) { - $ERROR('#2: !(-0) === true. Actual: ' + (!(-0))); -} - -// CHECK#3 -if (!(Number.NaN) !== true) { - $ERROR('#3: !(Number.NaN) === true. Actual: ' + (!(Number.NaN))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.js deleted file mode 100644 index 6f187027df..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A4_T3; - * @section: 9.2, 15.6.1; - * @assertion: Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true; - * @description: Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, - * Number.MAX_VALUE, Number.MIN_VALUE and some numbers convert to Boolean by explicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A4_T3", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.js", - -assertion: "Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true", - -description: "Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY,", - -test: function testcase() { - // CHECK#1 -if (Boolean(Number.POSITIVE_INFINITY) !== true) { - $ERROR('#1: Boolean(+Infinity) === true. Actual: ' + (Boolean(+Infinity))); -} - -// CHECK#2; -if (Boolean(Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#2: Boolean(-Infinity) === true. Actual: ' + (Boolean(-Infinity))); -} - -// CHECK#3 -if (Boolean(Number.MAX_VALUE) !== true) { - $ERROR('#3: Boolean(Number.MAX_VALUE) === true. Actual: ' + (Boolean(Number.MAX_VALUE))); -} - -// CHECK#4 -if (Boolean(Number.MIN_VALUE) !== true) { - $ERROR('#4: Boolean(Number.MIN_VALUE) === true. Actual: ' + (Boolean(Number.MIN_VALUE))); -} - -// CHECK#5 -if (Boolean(13) !== true) { - $ERROR('#5: Boolean(13) === true. Actual: ' + (Boolean(13))); -} - -// CHECK#6 -if (Boolean(-13) !== true) { - $ERROR('#6: Boolean(-13) === true. Actual: ' + (Boolean(-13))); -} - -// CHECK#7 -if (Boolean(1.3) !== true) { - $ERROR('#7: Boolean(1.3) === true. Actual: ' + (Boolean(1.3))); -} - -// CHECK#8 -if (Boolean(-1.3) !== true) { - $ERROR('#8: Boolean(-1.3) === true. Actual: ' + (Boolean(-1.3))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.js deleted file mode 100644 index be291ce824..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A4_T4; - * @section: 9.2, 11.4.9; - * @assertion: Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true; - * @description: Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, - * Number.MAX_VALUE, Number.MIN_VALUE and some other numbers are converted to Boolean by implicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A4_T4", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.js", - -assertion: "Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true", - -description: "Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY,", - -test: function testcase() { - // CHECK#1 -if (!(Number.POSITIVE_INFINITY) !== false) { - $ERROR('#1: !(+Infinity) === false. Actual: ' + (!(+Infinity))); -} - -// CHECK#2; -if (!(Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#2: !(-Infinity) === false. Actual: ' + (!(-Infinity))); -} - -// CHECK#3 -if (!(Number.MAX_VALUE) !== false) { - $ERROR('#3: !(Number.MAX_VALUE) === false. Actual: ' + (!(Number.MAX_VALUE))); -} - -// CHECK#4 -if (!(Number.MIN_VALUE) !== false) { - $ERROR('#4: !(Number.MIN_VALUE) === false. Actual: ' + (!(Number.MIN_VALUE))); -} - -// CHECK#5 -if (!(13) !== false) { - $ERROR('#5: !(13) === false. Actual: ' + (!(13))); -} - -// CHECK#6 -if (!(-13) !== false) { - $ERROR('#6: !(-13) === false. Actual: ' + (!(-13))); -} - -// CHECK#7 -if (!(1.3) !== false) { - $ERROR('#7: !(1.3) === false. Actual: ' + (!(1.3))); -} - -// CHECK#8 -if (!(-1.3) !== false) { - $ERROR('#8: !(-1.3) === false. Actual: ' + (!(-1.3))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.js deleted file mode 100644 index b298006627..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A5_T1; - * @section: 9.2, 15.6.1; - * @assertion: Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false; - * @description: "" is converted to Boolean by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A5_T1", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.js", - -assertion: "Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false", - -description: "\"\" is converted to Boolean by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Boolean("") !== false) { - $ERROR('#1: Boolean("") === false. Actual: ' + (Boolean(""))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.js deleted file mode 100644 index cc013b7527..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A5_T2; - * @section: 9.2, 11.4.9; - * @assertion: Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false; - * @description: "" convert to Boolean by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A5_T2", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.js", - -assertion: "Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false", - -description: "\"\" convert to Boolean by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (!("") !== true) { - $ERROR('#1: !("") === true. Actual: ' + (!(""))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.js deleted file mode 100644 index cfc2b98f92..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A5_T3; - * @section: 9.2, 15.6.1; - * @assertion: Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false; - * @description: Any nonempty string convert to Boolean by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A5_T3", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.js", - -assertion: "Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false", - -description: "Any nonempty string convert to Boolean by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Boolean(" ") !== true) { - $ERROR('#1: Boolean(" ") === true. Actual: ' + (Boolean(" "))); -} - -// CHECK#2 -if (Boolean("Nonempty String") !== true) { - $ERROR('#2: Boolean("Nonempty String") === true. Actual: ' + (Boolean("Nonempty String"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.js deleted file mode 100644 index 2dd28835e0..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A5_T4; - * @section: 9.2, 11.4.9; - * @assertion: Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false; - * @description: Any nonempty string convert to Boolean by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A5_T4", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.js", - -assertion: "Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false", - -description: "Any nonempty string convert to Boolean by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (!(" ") !== false) { - $ERROR('#1: !(" ") === false. Actual: ' + (!(" "))); -} - -// CHECK#2 -if (!("Nonempty String") !== false) { - $ERROR('#2: !("Nonempty String") === false. Actual: ' + (!("Nonempty String"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.js deleted file mode 100644 index 7fac0b0e8d..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.js +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A6_T1; - * @section: 9.2, 15.6.1; - * @assertion: Result of boolean conversion from object is true; - * @description: Different objects convert to Boolean by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A6_T1", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.js", - -assertion: "Result of boolean conversion from object is true", - -description: "Different objects convert to Boolean by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Boolean(new Object()) !== true) { - $ERROR('#1: Boolean(new Object()) === true. Actual: ' + (Boolean(new Object()))); -} - -// CHECK#2 -if (Boolean(new String("")) !== true) { - $ERROR('#2: Boolean(new String("")) === true. Actual: ' + (Boolean(new String("")))); -} - -// CHECK#3 -if (Boolean(new String()) !== true) { - $ERROR('#3: Boolean(new String()) === true. Actual: ' + (Boolean(new String()))); -} - -// CHECK#4 -if (Boolean(new Boolean(true)) !== true) { - $ERROR('#4: Boolean(new Boolean(true)) === true. Actual: ' + (Boolean(new Boolean(true)))); -} - -// CHECK#5 -if (Boolean(new Boolean(false)) !== true) { - $ERROR('#5: Boolean(new Boolean(false)) === true. Actual: ' + (Boolean(new Boolean(false)))); -} - -// CHECK#6 -if (Boolean(new Boolean()) !== true) { - $ERROR('#6: Boolean(new Boolean()) === true. Actual: ' + (Boolean(new Boolean()))); -} - -// CHECK#7 -if (Boolean(new Array()) !== true) { - $ERROR('#7: Boolean(new Array()) === true. Actual: ' + (Boolean(new Array()))); -} - -// CHECK#8 -if (Boolean(new Number()) !== true) { - $ERROR('#8: Boolean(new Number()) === true. Actual: ' + (Boolean(new Number()))); -} - -// CHECK#9 -if (Boolean(new Number(-0)) !== true) { - $ERROR('#9: Boolean(new Number(-0)) === true. Actual: ' + (Boolean(new Number(-0)))); -} - -// CHECK#10 -if (Boolean(new Number(0)) !== true) { - $ERROR('#10: Boolean(new Number(0)) === true. Actual: ' + (Boolean(new Number(0)))); -} - -// CHECK#11 -if (Boolean(new Number()) !== true) { - $ERROR('#11: Boolean(new Number()) === true. Actual: ' + (Boolean(new Number()))); -} - -// CHECK#12 -if (Boolean(new Number(Number.NaN)) !== true) { - $ERROR('#12: Boolean(new Number(Number.NaN)) === true. Actual: ' + (Boolean(new Number(Number.NaN)))); -} - -// CHECK#13 -if (Boolean(new Number(-1)) !== true) { - $ERROR('#13: Boolean(new Number(-1)) === true. Actual: ' + (Boolean(new Number(-1)))); -} - -// CHECK#14 -if (Boolean(new Number(1)) !== true) { - $ERROR('#14: Boolean(new Number(1)) === true. Actual: ' + (Boolean(new Number(1)))); -} - -// CHECK#15 -if (Boolean(new Number(Number.POSITIVE_INFINITY)) !== true) { - $ERROR('#15: Boolean(new Number(Number.POSITIVE_INFINITY)) === true. Actual: ' + (Boolean(new Number(Number.POSITIVE_INFINITY)))); -} - -// CHECK#16 -if (Boolean(new Number(Number.NEGATIVE_INFINITY)) !== true) { - $ERROR('#16: Boolean(new Number(Number.NEGATIVE_INFINITY)) === true. Actual: ' + (Boolean(new Number(Number.NEGATIVE_INFINITY)))); -} - -// CHECK#17 -if (Boolean(new Function()) !== true) { - $ERROR('#17: Boolean(new Function()) === true. Actual: ' + (Boolean(new Function()))); -} - -// CHECK#18 -if (Boolean(new Date()) !== true) { - $ERROR('#18: Boolean(new Date()) === true. Actual: ' + (Boolean(new Date()))); -} - -// CHECK#19 -if (Boolean(new Date(0)) !== true) { - $ERROR('#19: Boolean(new Date(0)) === true. Actual: ' + (Boolean(new Date(0)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.js deleted file mode 100644 index 6faa19462d..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.js +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.2_A6_T2; - * @section: 9.2, 11.4.9; - * @assertion: Result of boolean conversion from object is true; - * @description: Different objects convert to Boolean by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.2_A6_T2", - -path: "TestCases/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.js", - -assertion: "Result of boolean conversion from object is true", - -description: "Different objects convert to Boolean by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (!(new Object()) !== false) { - $ERROR('#1: !(new Object()) === false. Actual: ' + (!(new Object()))); -} - -// CHECK#2 -if (!(new String("")) !== false) { - $ERROR('#2: !(new String("")) === false. Actual: ' + (!(new String("")))); -} - -// CHECK#3 -if (!(new String()) !== false) { - $ERROR('#3: !(new String()) === false. Actual: ' + (!(new String()))); -} - -// CHECK#4 -if (!(new Boolean(true)) !== false) { - $ERROR('#4: !(new Boolean(true)) === false. Actual: ' + (!(new Boolean(true)))); -} - -// CHECK#5 -if (!(new Boolean(false)) !== false) { - $ERROR('#5: !(new Boolean(false)) === false. Actual: ' + (!(new Boolean(false)))); -} - -// CHECK#6 -if (!(new Boolean()) !== false) { - $ERROR('#6: !(new Boolean()) === false. Actual: ' + (!(new Boolean()))); -} - -// CHECK#7 -if (!(new Array()) !== false) { - $ERROR('#7: !(new Array()) === false. Actual: ' + (!(new Array()))); -} - -// CHECK#8 -if (!(new Number()) !== false) { - $ERROR('#8: !(new Number()) === false. Actual: ' + (!(new Number()))); -} - -// CHECK#9 -if (!(new Number(-0)) !== false) { - $ERROR('#9: !(new Number(-0)) === false. Actual: ' + (!(new Number(-0)))); -} - -// CHECK#10 -if (!(new Number(0)) !== false) { - $ERROR('#10: !(new Number(0)) === false. Actual: ' + (!(new Number(0)))); -} - -// CHECK#11 -if (!(new Number()) !== false) { - $ERROR('#11: !(new Number()) === false. Actual: ' + (!(new Number()))); -} - -// CHECK#12 -if (!(new Number(Number.NaN)) !== false) { - $ERROR('#12: !(new Number(Number.NaN)) === false. Actual: ' + (!(new Number(Number.NaN)))); -} - -// CHECK#13 -if (!(new Number(-1)) !== false) { - $ERROR('#13: !(new Number(-1)) === false. Actual: ' + (!(new Number(-1)))); -} - -// CHECK#14 -if (!(new Number(1)) !== false) { - $ERROR('#14: !(new Number(1)) === false. Actual: ' + (!(new Number(1)))); -} - -// CHECK#15 -if (!(new Number(Number.POSITIVE_INFINITY)) !== false) { - $ERROR('#15: !(new Number(Number.POSITIVE_INFINITY)) === false. Actual: ' + (!(new Number(Number.POSITIVE_INFINITY)))); -} - -// CHECK#16 -if (!(new Number(Number.NEGATIVE_INFINITY)) !== false) { - $ERROR('#16: !(new Number(Number.NEGATIVE_INFINITY)) === false. Actual: ' + (!(new Number(Number.NEGATIVE_INFINITY)))); -} - -// CHECK#17 -if (!(new Function()) !== false) { - $ERROR('#17: !(new Function()) === false. Actual: ' + (!(new Function()))); -} - -// CHECK#18 -if (!(new Date()) !== false) { - $ERROR('#18: !(new Date()) === false. Actual: ' + (!(new Date()))); -} - -// CHECK#19 -if (!(new Date(0)) !== false) { - $ERROR('#19: !(new Date(0)) === false. Actual: ' + (!(new Date(0)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.js deleted file mode 100644 index f959444393..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A1; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StringNumericLiteral ::: [empty] is 0; - * @description: Number('') convert to Number by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.js", - -assertion: "The MV of StringNumericLiteral ::: [empty] is 0", - -description: "Number(\'\') convert to Number by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Number("") !== 0) { - $ERROR('#1.1: Number("") === 0. Actual: ' + (Number(""))); -} else { - if (1/Number("") !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: Number("") == +0. Actual: -0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.js deleted file mode 100644 index ed4efa0574..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A10; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrUnsignedDecimalLiteral:::. DecimalDigits is the - * MV of DecimalDigits times 10-n, where n is the - * number of characters in DecimalDigits; - * @description: Compare Number('.12345') with +('12345')*1e-5; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A10", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.js", - -assertion: "The MV of StrUnsignedDecimalLiteral:::. DecimalDigits is the", - -description: "Compare Number(\'.12345\') with +(\'12345\')*1e-5", - -test: function testcase() { - // CHECK#1 -if (Number(".12345") !== +("12345")*1e-5) { - $ERROR('#1: Number(".12345") === +("12345")*1e-5'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.js deleted file mode 100644 index e666844430..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A11; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrUnsignedDecimalLiteral:::. DecimalDigits ExponentPart - * is the MV of DecimalDigits times 10e-n, where n is - * the number of characters in DecimalDigits and e is the MV of ExponentPart; - * @description: Compare Number('.12345e6') with +('12345')*1e1, - * and Number('.12345e-3') !== Number('12345')*1e-8; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A11", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.js", - -assertion: "The MV of StrUnsignedDecimalLiteral:::. DecimalDigits ExponentPart", - -description: "Compare Number(\'.12345e6\') with +(\'12345\')*1e1,", - -test: function testcase() { - // CHECK#1 -if (Number(".12345e6") !== +("12345")*1e1) { - $ERROR('#1: Number(".12345e6") === +("12345")*1e1'); -} - -// CHECK#2 -if (Number(".12345e-3") !== Number("12345")*1e-8) { - $ERROR('#2: Number(".12345e-3") === Number("12345")*1e-8'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.js deleted file mode 100644 index 5e6e4b0293..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A12; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrUnsignedDecimalLiteral::: DecimalDigits ExponentPart - * is the MV of DecimalDigits times 10e, where e is the MV of ExponentPart; - * @description: Compare Number('12345e6') with +('12345')*1e1, - * and Number('12345e-6') !== Number('12345')*1e-6; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A12", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.js", - -assertion: "The MV of StrUnsignedDecimalLiteral::: DecimalDigits ExponentPart", - -description: "Compare Number(\'12345e6\') with +(\'12345\')*1e1,", - -test: function testcase() { - // CHECK#1 -if (Number("12345e6") !== +("12345")*1e6) { - $ERROR('#1: Number("12345e6") === +("12345")*1e6'); -} - -// CHECK#2 -if (Number("12345e-6") !== Number("12345")*1e-6) { - $ERROR('#2: Number("12345e-6") === Number("12345")*1e-6'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.js deleted file mode 100644 index f16c375e6a..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A13; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigits ::: DecimalDigits DecimalDigit is - * (the MV of DecimalDigits times 10) plus the MV of DecimalDigit; - * @description: Compare '12' with Number("1")*10+Number("2") and analogous; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A13", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.js", - -assertion: "The MV of DecimalDigits ::: DecimalDigits DecimalDigit is", - -description: "Compare \'12\' with Number(\"1\")*10+Number(\"2\") and analogous", - -test: function testcase() { - // CHECK#1 -if (+("12") !== Number("1")*10+Number("2")) { - $ERROR('#1: +("12") === Number("1")*10+Number("2")'); -} - -// CHECK#2 -if (Number("123") !== Number("12")*10+Number("3")) { - $ERROR('#2: Number("123") === Number("12")*10+Number("3")'); -} - -// CHECK#2 -if (Number("1234") !== Number("123")*10+Number("4")) { - $ERROR('#2: Number("1234") === Number("123")*10+Number("4")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.js deleted file mode 100644 index 19f9ff1de7..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A14; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of SignedInteger ::: + DecimalDigits is the MV of DecimalDigits; - * @description: Compare Number('+1234567890') with +('1234567890'); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A14", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.js", - -assertion: "The MV of SignedInteger ::: + DecimalDigits is the MV of DecimalDigits", - -description: "Compare Number(\'+1234567890\') with +(\'1234567890\')", - -test: function testcase() { - // CHECK#1 -if (Number("+1234567890") !== +("1234567890")) { - $ERROR('#1: Number("+1234567890") === +("1234567890")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.js deleted file mode 100644 index c9462285ab..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A15; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of SignedInteger ::: - DecimalDigits is the negative of the MV of DecimalDigits; - * @description: Compare -Number('1234567890') with ('-1234567890'); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A15", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.js", - -assertion: "The MV of SignedInteger ::: - DecimalDigits is the negative of the MV of DecimalDigits", - -description: "Compare -Number(\'1234567890\') with (\'-1234567890\')", - -test: function testcase() { - // CHECK#1 -if (+("-1234567890") !== -Number("1234567890")) { - $ERROR('#1: +("-1234567890") === -Number("1234567890")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.js deleted file mode 100644 index a86883c3ff..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A16; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 0 or of HexDigit ::: 0 is 0; - * @description: Compare Number('0x0') and Number('0X0') with 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A16", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.js", - -assertion: "The MV of DecimalDigit ::: 0 or of HexDigit ::: 0 is 0", - -description: "Compare Number(\'0x0\') and Number(\'0X0\') with 0", - -test: function testcase() { - // CHECK#1 -if (Number("0") !== 0) { - $ERROR('#1: Number("0") === 0. Actual: ' + (Number("0"))); -} - -// CHECK#2 -if (+("0x0") !== 0) { - $ERROR('#2: +("0x0") === 0. Actual: ' + (+("0x0"))); -} - -// CHECK#3 -if (Number("0X0") !== 0) { - $ERROR('#3: Number("0X0") === 0. Actual: ' + (Number("0X0"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.js deleted file mode 100644 index e1c6d728b1..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A17; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 1 or of HexDigit ::: 1 is 1; - * @description: Compare Number('0x1') and Number('0X1') with 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A17", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.js", - -assertion: "The MV of DecimalDigit ::: 1 or of HexDigit ::: 1 is 1", - -description: "Compare Number(\'0x1\') and Number(\'0X1\') with 1", - -test: function testcase() { - // CHECK#1 -if (Number("1") !== 1) { - $ERROR('#1: Number("1") === 1. Actual: ' + (Number("1"))); -} - -// CHECK#2 -if (Number("0x1") !== 1) { - $ERROR('#2: Number("0x1") === 1. Actual: ' + (Number("0x1"))); -} - -// CHECK#3 -if (+("0X1") !== 1) { - $ERROR('#3: +("0X1") === 1. Actual: ' + (+("0X1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.js deleted file mode 100644 index ba1182ed40..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A18; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 2 or of HexDigit ::: 2 is 2; - * @description: Compare Number('0x2') and Number('0X2') with 2; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A18", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.js", - -assertion: "The MV of DecimalDigit ::: 2 or of HexDigit ::: 2 is 2", - -description: "Compare Number(\'0x2\') and Number(\'0X2\') with 2", - -test: function testcase() { - // CHECK#1 -if (+("2") !== 2) { - $ERROR('#1: +("2") === 2. Actual: ' + (+("2"))); -} - -// CHECK#2 -if (Number("0x2") !== 2) { - $ERROR('#2: Number("0x2") === 2. Actual: ' + (Number("0x2"))); -} - -// CHECK#3 -if (Number("0X2") !== 2) { - $ERROR('#3: Number("0X2") === 2. Actual: ' + (Number("0X2"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.js deleted file mode 100644 index 647be82e3b..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A19; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 3 or of HexDigit ::: 3 is 3; - * @description: Compare Number('0x3') and Number('0X3') with 3; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A19", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.js", - -assertion: "The MV of DecimalDigit ::: 3 or of HexDigit ::: 3 is 3", - -description: "Compare Number(\'0x3\') and Number(\'0X3\') with 3", - -test: function testcase() { - // CHECK#1 -if (Number("3") !== 3) { - $ERROR('#1: Number("3") === 3. Actual: ' + (Number("3"))); -} - -// CHECK#2 -if (+("0x3") !== 3) { - $ERROR('#2: +("0x3") === 3. Actual: ' + (+("0x3"))); -} - -// CHECK#3 -if (Number("0X3") !== 3) { - $ERROR('#3: Number("0X3") === 3. Actual: ' + (Number("0X3"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.js deleted file mode 100644 index a392feb89b..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.js +++ /dev/null @@ -1,305 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A2; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StringNumericLiteral ::: StrWhiteSpace is 0; - * @description: Strings with various WhiteSpaces convert to Number by explicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.js", - -assertion: "The MV of StringNumericLiteral ::: StrWhiteSpace is 0", - -description: "Strings with various WhiteSpaces convert to Number by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") !== 0) { - $ERROR('#1.1: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === 0. Actual: ' + (Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000"))); -} else { - if (1/Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === +0. Actual: -0'); - } -} - -// CHECK#2 -if (Number(" ") !== 0) { - $ERROR('#2.1: Number(" ") === 0. Actual: ' + (Number(" "))); -} else { - if (1/Number(" ") !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: Number(" ") === +0. Actual: -0'); - } -} - -// CHECK#3 -if (Number("\t") !== 0) { - $ERROR('#3.1: Number("\\t") === 0. Actual: ' + (Number("\t"))); -} else { - if (1/Number("\t") !== Number.POSITIVE_INFINITY) { - $ERROR('#3.2: Number("\\t") === +0. Actual: -0'); - } -} - -// CHECK#4 -if (Number("\r") !== 0) { - $ERROR('#4.1: Number("\\r") === 0. Actual: ' + (Number("\r"))); -} else { - if (1/Number("\r") !== Number.POSITIVE_INFINITY) { - $ERROR('#4.2: Number("\\r") === +0. Actual: -0'); - } -} - -// CHECK#5 -if (Number("\n") !== 0) { - $ERROR('#5.1: Number("\\n") === 0. Actual: ' + (Number("\n"))); -} else { - if (1/Number("\n") !== Number.POSITIVE_INFINITY) { - $ERROR('#5.2: Number("\\n") === +0. Actual: -0'); - } -} - -// CHECK#6 -if (Number("\f") !== 0) { - $ERROR('#6.1: Number("\\f") === 0. Actual: ' + (Number("\f"))); -} else { - if (1/Number("\f") !== Number.POSITIVE_INFINITY) { - $ERROR('#6.2: Number("\\f") === +0. Actual: -0'); - } -} - -// CHECK#7 -if (Number("\u0009") !== 0) { - $ERROR('#7.1: Number("\\u0009") === 0. Actual: ' + (Number("\u0009"))); -} else { - if (1/Number("\u0009") !== Number.POSITIVE_INFINITY) { - $ERROR('#7.2: Number("\\u0009") === +0. Actual: -0'); - } -} - -// CHECK#8 -if (Number("\u000A") !== 0) { - $ERROR('#8.1: Number("\\u000A") === 0. Actual: ' + (Number("\u000A"))); -} else { - if (1/Number("\u000A") !== Number.POSITIVE_INFINITY) { - $ERROR('#8.2: Number("\\u000A") === +0. Actual: -0'); - } -} - -// CHECK#9 -if (Number("\u000B") !== 0) { - $ERROR('#9.1: Number("\\u000B") === 0. Actual: ' + (Number("\u000B"))); -} else { - if (1/Number("\u000B") !== Number.POSITIVE_INFINITY) { - $ERROR('#9.1.2: Number("\\u000B") === +0. Actual: -0'); - } -} - -// CHECK#10 -if (Number("\u000C") !== 0) { - $ERROR('#10.1: Number("\\u000C") === 0. Actual: ' + (Number("\u000C"))); -} else { - if (1/Number("\u000C") !== Number.POSITIVE_INFINITY) { - $ERROR('#10.2: Number("\\u000C") === +0. Actual: -0'); - } -} - -// CHECK#11 -if (Number("\u000D") !== 0) { - $ERROR('#11.1: Number("\\u000D") === 0. Actual: ' + (Number("\u000D"))); -} else { - if (1/Number("\u000D") !== Number.POSITIVE_INFINITY) { - $ERROR('#11.2: Number("\\u000D") === +0. Actual: -0'); - } -} - -// CHECK#12 -if (Number("\u00A0") !== 0) { - $ERROR('#12.1: Number("\\u00A0") === 0. Actual: ' + (Number("\u00A0"))); -} else { - if (1/Number("\u00A0") !== Number.POSITIVE_INFINITY) { - $ERROR('#12.2: Number("\\u00A0") === +0. Actual: -0'); - } -} - -// CHECK#13 -if (Number("\u0020") !== 0) { - $ERROR('#13.1: Number("\\u0020") === 0. Actual: ' + (Number("\u0020"))); -} else { - if (1/Number("\u0020") !== Number.POSITIVE_INFINITY) { - $ERROR('#13.2: Number("\\u0020") === +0. Actual: -0'); - } -} - -// CHECK#14 -if (Number("\u2028") !== 0) { - $ERROR('#14.1: Number("\\u2028") === 0. Actual: ' + (Number("\u2028"))); -} else { - if (1/Number("\u2028") !== Number.POSITIVE_INFINITY) { - $ERROR('#14.2: Number("\\u2028") === +0. Actual: -0'); - } -} - -// CHECK#15 -if (Number("\u2029") !== 0) { - $ERROR('#15.1: Number("\\u2029") === 0. Actual: ' + (Number("\u2029"))); -} else { - if (1/Number("\u2029") !== Number.POSITIVE_INFINITY) { - $ERROR('#15.2: Number("\\u2029") === +0. Actual: -0'); - } -} - -// CHECK#16 -if (Number("\u1680") !== 0) { - $ERROR('#16.1: Number("\\u1680") === 0. Actual: ' + (Number("\u1680"))); -} else { - if (1/Number("\u1680") !== Number.POSITIVE_INFINITY) { - $ERROR('#16.2: Number("\\u1680") === +0. Actual: -0'); - } -} - -// CHECK#17 -if (Number("\u180E") !== 0) { - $ERROR('#17.1: Number("\\u180E") === 0. Actual: ' + (Number("\u180E"))); -} else { - if (1/Number("\u180E") !== Number.POSITIVE_INFINITY) { - $ERROR('#17.2: Number("\\u180E") === +0. Actual: -0'); - } -} - -// CHECK#18 -if (Number("\u2000") !== 0) { - $ERROR('#18.1: Number("\\u2000") === 0. Actual: ' + (Number("\u2000"))); -} else { - if (1/Number("\u2000") !== Number.POSITIVE_INFINITY) { - $ERROR('#18.2: Number("\\u2000") === +0. Actual: -0'); - } -} - -// CHECK#19 -if (Number("\u2001") !== 0) { - $ERROR('#19.1: Number("\\u2001") === 0. Actual: ' + (Number("\u2001"))); -} else { - if (1/Number("\u2001") !== Number.POSITIVE_INFINITY) { - $ERROR('#19.2: Number("\\u2001") === +0. Actual: -0'); - } -} - -// CHECK#20 -if (Number("\u2002") !== 0) { - $ERROR('#20.1: Number("\\u2002") === 0. Actual: ' + (Number("\u2002"))); -} else { - if (1/Number("\u2002") !== Number.POSITIVE_INFINITY) { - $ERROR('#20.2: Number("\\u2002") === +0. Actual: -0'); - } -} - -// CHECK#21 -if (Number("\u2003") !== 0) { - $ERROR('#21.1: Number("\\u2003") === 0. Actual: ' + (Number("\u2003"))); -} else { - if (1/Number("\u2003") !== Number.POSITIVE_INFINITY) { - $ERROR('#21.2: Number("\\u2003") === +0. Actual: -0'); - } -} - -// CHECK#22 -if (Number("\u2004") !== 0) { - $ERROR('#22.1: Number("\\u2004") === 0. Actual: ' + (Number("\u2004"))); -} else { - if (1/Number("\u2004") !== Number.POSITIVE_INFINITY) { - $ERROR('#22.2: Number("\\u2004") === +0. Actual: -0'); - } -} - -// CHECK#23 -if (Number("\u2005") !== 0) { - $ERROR('#23.1: Number("\\u2005") === 0. Actual: ' + (Number("\u2005"))); -} else { - if (1/Number("\u2005") !== Number.POSITIVE_INFINITY) { - $ERROR('#23.2: Number("\\u2005") === +0. Actual: -0'); - } -} - -// CHECK#24 -if (Number("\u2006") !== 0) { - $ERROR('#24.1: Number("\\u2006") === 0. Actual: ' + (Number("\u2006"))); -} else { - if (1/Number("\u2006") !== Number.POSITIVE_INFINITY) { - $ERROR('#24.2: Number("\\u2006") === +0. Actual: -0'); - } -} - -// CHECK#25 -if (Number("\u2007") !== 0) { - $ERROR('#25.1: Number("\\u2007") === 0. Actual: ' + (Number("\u2007"))); -} else { - if (1/Number("\u2007") !== Number.POSITIVE_INFINITY) { - $ERROR('#25.2: Number("\\u2007") === +0. Actual: -0'); - } -} - -// CHECK#26 -if (Number("\u2008") !== 0) { - $ERROR('#26.1: Number("\\u2008") === 0. Actual: ' + (Number("\u2008"))); -} else { - if (1/Number("\u2008") !== Number.POSITIVE_INFINITY) { - $ERROR('#26.2: Number("\\u2008") === +0. Actual: -0'); - } -} - -// CHECK#27 -if (Number("\u2009") !== 0) { - $ERROR('#27.1: Number("\\u2009") === 0. Actual: ' + (Number("\u2009"))); -} else { - if (1/Number("\u2009") !== Number.POSITIVE_INFINITY) { - $ERROR('#27.2: Number("\\u2009") === +0. Actual: -0'); - } -} - -// CHECK#28 -if (Number("\u200A") !== 0) { - $ERROR('#28.1: Number("\\u200A") === 0. Actual: ' + (Number("\u200A"))); -} else { - if (1/Number("\u200A") !== Number.POSITIVE_INFINITY) { - $ERROR('#28.2: Number("\\u200A") === +0. Actual: -0'); - } -} - -// CHECK#29 -if (Number("\u202F") !== 0) { - $ERROR('#29.1: Number("\\u202F") === 0. Actual: ' + (Number("\u202F"))); -} else { - if (1/Number("\u202F") !== Number.POSITIVE_INFINITY) { - $ERROR('#29.2: Number("\\u202F") === +0. Actual: -0'); - } -} - -// CHECK#30 -if (Number("\u205F") !== 0) { - $ERROR('#30.1: Number("\\u205F") === 0. Actual: ' + (Number("\u205F"))); -} else { - if (1/Number("\u205F") !== Number.POSITIVE_INFINITY) { - $ERROR('#30.2: Number("\\u205F") === +0. Actual: -0'); - } -} - -// CHECK#31 -if (Number("\u3000") !== 0) { - $ERROR('#31.1: Number("\\u3000") === 0. Actual: ' + (Number("\u3000"))); -} else { - if (1/Number("\u3000") !== Number.POSITIVE_INFINITY) { - $ERROR('#31.2: Number("\\u3000") === +0. Actual: -0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.js deleted file mode 100644 index bf4f1a8895..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A20; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 4 or of HexDigit ::: 4 is 4; - * @description: Compare Number('0x4') and Number('0X4') with 4; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A20", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.js", - -assertion: "The MV of DecimalDigit ::: 4 or of HexDigit ::: 4 is 4", - -description: "Compare Number(\'0x4\') and Number(\'0X4\') with 4", - -test: function testcase() { - // CHECK#1 -if (Number("4") !== 4) { - $ERROR('#1: Number("4") === 4. Actual: ' + (Number("4"))); -} - -// CHECK#2 -if (Number("0x4") !== 4) { - $ERROR('#2: Number("0x4") === 4. Actual: ' + (Number("0x4"))); -} - -// CHECK#3 -if (+("0X4") !== 4) { - $ERROR('#3: +("0X4") === 4. Actual: ' + (+("0X4"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.js deleted file mode 100644 index 80fff09c2f..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A21; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 5 or of HexDigit ::: 5 is 5; - * @description: Compare Number('0x5') and Number('0X5') with 5; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A21", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.js", - -assertion: "The MV of DecimalDigit ::: 5 or of HexDigit ::: 5 is 5", - -description: "Compare Number(\'0x5\') and Number(\'0X5\') with 5", - -test: function testcase() { - // CHECK#1 -if (+("5") !== 5) { - $ERROR('#1: +("5") === 5. Actual: ' + (+("5"))); -} - -// CHECK#2 -if (Number("0x5") !== 5) { - $ERROR('#2: Number("0x5") === 5. Actual: ' + (Number("0x5"))); -} - -// CHECK#3 -if (Number("0X5") !== 5) { - $ERROR('#3: Number("0X5") === 5. Actual: ' + (Number("0X5"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.js deleted file mode 100644 index 4ab75e72e2..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A22; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 6 or of HexDigit ::: 6 is 6; - * @description: Compare Number('0x6') and Number('0X6') with 6; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A22", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.js", - -assertion: "The MV of DecimalDigit ::: 6 or of HexDigit ::: 6 is 6", - -description: "Compare Number(\'0x6\') and Number(\'0X6\') with 6", - -test: function testcase() { - // CHECK#1 -if (Number("6") !== 6) { - $ERROR('#1: Number("6") === 6. Actual: ' + (Number("6"))); -} - -// CHECK#2 -if (+("0x6") !== 6) { - $ERROR('#2: +("0x6") === 6. Actual: ' + (+("0x6"))); -} - -// CHECK#3 -if (Number("0X6") !== 6) { - $ERROR('#3: Number("0X6") === 6. Actual: ' + (Number("0X6"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.js deleted file mode 100644 index b63619da61..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A23; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 7 or of HexDigit ::: 7 is 7; - * @description: Compare Number('0x7') and Number('0X7') with 7; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A23", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.js", - -assertion: "The MV of DecimalDigit ::: 7 or of HexDigit ::: 7 is 7", - -description: "Compare Number(\'0x7\') and Number(\'0X7\') with 7", - -test: function testcase() { - // CHECK#1 -if (Number("7") !== 7) { - $ERROR('#1: Number("7") === 7. Actual: ' + (Number("7"))); -} - -// CHECK#2 -if (Number("0x7") !== 7) { - $ERROR('#2: Number("0x7") === 7. Actual: ' + (Number("0x7"))); -} - -// CHECK#3 -if (+("0X7") !== 7) { - $ERROR('#3: +("0X7") === 7. Actual: ' + (+("0X7"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.js deleted file mode 100644 index 65d37102a0..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A24; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 8 or of HexDigit ::: 8 is 8; - * @description: Compare Number('0x8') and Number('0X8') with 8; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A24", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.js", - -assertion: "The MV of DecimalDigit ::: 8 or of HexDigit ::: 8 is 8", - -description: "Compare Number(\'0x8\') and Number(\'0X8\') with 8", - -test: function testcase() { - // CHECK#1 -if (+("8") !== 8) { - $ERROR('#1: +("8") === 8. Actual: ' + (+("8"))); -} - -// CHECK#2 -if (Number("0x8") !== 8) { - $ERROR('#2: Number("0x8") === 8. Actual: ' + (Number("0x8"))); -} - -// CHECK#3 -if (Number("0X8") !== 8) { - $ERROR('#3: Number("0X8") === 8. Actual: ' + (Number("0X8"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.js deleted file mode 100644 index e6610655b3..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A25; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of DecimalDigit ::: 9 or of HexDigit ::: 9 is 9; - * @description: Compare Number('0x9') and Number('0X9') with 9; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A25", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.js", - -assertion: "The MV of DecimalDigit ::: 9 or of HexDigit ::: 9 is 9", - -description: "Compare Number(\'0x9\') and Number(\'0X9\') with 9", - -test: function testcase() { - // CHECK#1 -if (Number("9") !== 9) { - $ERROR('#1: Number("9") === 9. Actual: ' + (Number("9"))); -} - -// CHECK#2 -if (+("0x9") !== 9) { - $ERROR('#2: +("0x9") === 9. Actual: ' + (+("0x9"))); -} - -// CHECK#3 -if (Number("0X9") !== 9) { - $ERROR('#3: Number("0X9") === 9. Actual: ' + (Number("0X9"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.js deleted file mode 100644 index 0cd814e411..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A26; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of HexDigit ::: a or of HexDigit ::: A is 10; - * @description: Compare Number('0xA'), Number('0XA'), Number('0xa') and Number('0Xa') with 10; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A26", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.js", - -assertion: "The MV of HexDigit ::: a or of HexDigit ::: A is 10", - -description: "Compare Number(\'0xA\'), Number(\'0XA\'), Number(\'0xa\') and Number(\'0Xa\') with 10", - -test: function testcase() { - // CHECK#1 -if (Number("0xa") !== 10) { - $ERROR('#1: Number("0xa") === 10. Actual: ' + (Number("0xa"))); -} - -// CHECK#2 -if (Number("0xA") !== 10) { - $ERROR('#2: Number("0xA") === 10. Actual: ' + (Number("0xA"))); -} - -// CHECK#3 -if (Number("0Xa") !== 10) { - $ERROR('#3: Number("0Xa") === 10. Actual: ' + (Number("0Xa"))); -} - -// CHECK#4 -if (+("0XA") !== 10) { - $ERROR('#4: +("0XA") === 10. Actual: ' + (+("0XA"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.js deleted file mode 100644 index 91229dab85..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A27; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of HexDigit ::: b or of HexDigit ::: B is 11; - * @description: Compare Number('0xB'), Number('0XB'), Number('0xb') and Number('0Xb') with 11; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A27", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.js", - -assertion: "The MV of HexDigit ::: b or of HexDigit ::: B is 11", - -description: "Compare Number(\'0xB\'), Number(\'0XB\'), Number(\'0xb\') and Number(\'0Xb\') with 11", - -test: function testcase() { - // CHECK#1 -if (Number("0xb") !== 11) { - $ERROR('#1: Number("0xb") === 11. Actual: ' + (Number("0xb"))); -} - -// CHECK#2 -if (Number("0xB") !== 11) { - $ERROR('#2: Number("0xB") === 11. Actual: ' + (Number("0xB"))); -} - -// CHECK#3 -if (+("0Xb") !== 11) { - $ERROR('#3: +("0Xb") === 11. Actual: ' + (+("0Xb"))); -} - -// CHECK#4 -if (Number("0XB") !== 11) { - $ERROR('#4: Number("0XB") === 11. Actual: ' + (Number("0XB"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.js deleted file mode 100644 index 23e893c442..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A28; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of HexDigit ::: c or of HexDigit ::: C is 12; - * @description: Compare Number('0xC'), Number('0XC'), Number('0xc') and Number('0Xc') with 12; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A28", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.js", - -assertion: "The MV of HexDigit ::: c or of HexDigit ::: C is 12", - -description: "Compare Number(\'0xC\'), Number(\'0XC\'), Number(\'0xc\') and Number(\'0Xc\') with 12", - -test: function testcase() { - // CHECK#1 -if (Number("0xc") !== 12) { - $ERROR('#1: Number("0xc") === 12. Actual: ' + (Number("0xc"))); -} - -// CHECK#2 -if (+("0xC") !== 12) { - $ERROR('#2: +("0xC") === 12. Actual: ' + (+("0xC"))); -} - -// CHECK#3 -if (Number("0Xc") !== 12) { - $ERROR('#3: Number("0Xc") === 12. Actual: ' + (Number("0Xc"))); -} - -// CHECK#4 -if (Number("0XC") !== 12) { - $ERROR('#4: Number("0XC") === 12. Actual: ' + (Number("0XC"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.js deleted file mode 100644 index 04b22e8f8f..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A29; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of HexDigit ::: d or of HexDigit ::: D is 13; - * @description: Compare Number('0xD'), Number('0XD'), Number('0xd') and Number('0Xd') with 13; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A29", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.js", - -assertion: "The MV of HexDigit ::: d or of HexDigit ::: D is 13", - -description: "Compare Number(\'0xD\'), Number(\'0XD\'), Number(\'0xd\') and Number(\'0Xd\') with 13", - -test: function testcase() { - // CHECK#1 -if (+("0xd") !== 13) { - $ERROR('#1: +("0xd") === 13. Actual: ' + (+("0xd"))); -} - -// CHECK#2 -if (Number("0xD") !== 13) { - $ERROR('#2: Number("0xD") === 13. Actual: ' + (Number("0xD"))); -} - -// CHECK#3 -if (Number("0Xd") !== 13) { - $ERROR('#3: Number("0Xd") === 13. Actual: ' + (Number("0Xd"))); -} - -// CHECK#4 -if (Number("0XD") !== 13) { - $ERROR('#4: Number("0XD") === 13. Actual: ' + (Number("0XD"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.js deleted file mode 100644 index f3616cdabf..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A30; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of HexDigit ::: e or of HexDigit ::: E is 14; - * @description: Compare Number('0xE'), Number('0XE'), Number('0xe') and Number('0Xe') with 14; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A30", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.js", - -assertion: "The MV of HexDigit ::: e or of HexDigit ::: E is 14", - -description: "Compare Number(\'0xE\'), Number(\'0XE\'), Number(\'0xe\') and Number(\'0Xe\') with 14", - -test: function testcase() { - // CHECK#1 -if (Number("0xe") !== 14) { - $ERROR('#1: Number("0xe") === 14. Actual: ' + (Number("0xe"))); -} - -// CHECK#2 -if (Number("0xE") !== 14) { - $ERROR('#2: Number("0xE") === 14. Actual: ' + (Number("0xE"))); -} - -// CHECK#3 -if (Number("0Xe") !== 14) { - $ERROR('#3: Number("0Xe") === 14. Actual: ' + (Number("0Xe"))); -} - -// CHECK#4 -if (+("0XE") !== 14) { - $ERROR('#4: +("0XE") === 14. Actual: ' + (+("0XE"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.js deleted file mode 100644 index 1c0691607b..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A31; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of HexDigit ::: f or of HexDigit ::: F is 15; - * @description: Compare Number('0xF'), Number('0XF'), Number('0xf') and Number('0Xf') with 15; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A31", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.js", - -assertion: "The MV of HexDigit ::: f or of HexDigit ::: F is 15", - -description: "Compare Number(\'0xF\'), Number(\'0XF\'), Number(\'0xf\') and Number(\'0Xf\') with 15", - -test: function testcase() { - // CHECK#1 -if (Number("0xf") !== 15) { - $ERROR('#1: Number("0xf") === 15. Actual: ' + (Number("0xf"))); -} - -// CHECK#2 -if (Number("0xF") !== 15) { - $ERROR('#2: Number("0xF") === 15. Actual: ' + (Number("0xF"))); -} - -// CHECK#3 -if (+("0Xf") !== 15) { - $ERROR('#3: +("0Xf") === 15. Actual: ' + (+("0Xf"))); -} - -// CHECK#4 -if (Number("0XF") !== 15) { - $ERROR('#4: Number("0XF") === 15. Actual: ' + (Number("0XF"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.js deleted file mode 100644 index 7c8840cbd6..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A32; - * @section: 9.3.1; - * @assertion: Once the exact MV for a string numeric literal has been - * determined, it is then rounded to a value of the Number type with 20 - * significant digits by replacing each significant digit after the 20th - * with a 0 digit or the number value; - * @description: Use various long numbers, for example, 1234567890.1234567890; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A32", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.js", - -assertion: "Once the exact MV for a string numeric literal has been", - -description: "Use various long numbers, for example, 1234567890.1234567890", - -test: function testcase() { - // CHECK#1 -if (Number("1234567890.1234567890") !== 1234567890.1234567890) { - $ERROR('#1: Number("1234567890.1234567890") === 1234567890.1234567890. Actual: ' + (Number("1234567890.1234567890"))); -} - -// CHECK#2 -if (Number("1234567890.1234567890") !== 1234567890.1234567000) { - $ERROR('#2: Number("1234567890.1234567890") === 1234567890.1234567000. Actual: ' + (Number("1234567890.1234567890"))); -} - -// CHECK#3 -if (+("1234567890.1234567890") === 1234567890.123456) { - $ERROR('#3: +("1234567890.1234567890") !== 1234567890.123456'); -} - -// CHECK#4 -if (Number("0.12345678901234567890") !== 0.123456789012345678) { - $ERROR('#4: Number("0.12345678901234567890") === 0.123456789012345678. Actual: ' + (Number("0.12345678901234567890"))); -} - -// CHECK#4 -if (Number("00.12345678901234567890") !== 0.123456789012345678) { - $ERROR('#4: Number("00.12345678901234567890") === 0.123456789012345678. Actual: ' + (Number("00.12345678901234567890"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.js deleted file mode 100644 index d16fc661d2..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A3_T1; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StringNumericLiteral ::: StrWhiteSpaceopt StrNumericLiteral StrWhiteSpaceopt is the MV of StrNumericLiteral, no matter whether white space is present or not; - * @description: static string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A3_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.js", - -assertion: "The MV of StringNumericLiteral ::: StrWhiteSpaceopt StrNumericLiteral StrWhiteSpaceopt is the MV of StrNumericLiteral, no matter whether white space is present or not", - -description: "static string", - -test: function testcase() { - // CHECK#1 -if (Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") !== Number("")) { - $ERROR('#1: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === Number("")'); -} - -// CHECK#2 -if (Number("\u0009\u000C\u0020\u00A0\u000A\u000D\u2028\u2029\u000B\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u30001234567890\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") !== Number("1234567890")) { - $ERROR('#2: Number("\\u0009\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029\\u000B\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u30001234567890\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === Number("1234567890")'); -} - -// CHECK#3 -if (!(+("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000Infinity\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") == Number("Infinity"))) { - $ERROR('#3: +("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000Infinity\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") == Number("Infinity")'); -} - -// CHECK#4 -if (!(Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000-Infinity\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") == Number(-"Infinity"))) { - $ERROR('#4: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000-Infinity\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") == Number("-Infinity")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.js deleted file mode 100644 index 92eebc4401..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A3_T2; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StringNumericLiteral ::: StrWhiteSpaceopt StrNumericLiteral StrWhiteSpaceopt is the MV of StrNumericLiteral, no matter whether white space is present or not; - * @description: dynamic string; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A3_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.js", - -assertion: "The MV of StringNumericLiteral ::: StrWhiteSpaceopt StrNumericLiteral StrWhiteSpaceopt is the MV of StrNumericLiteral, no matter whether white space is present or not", - -description: "dynamic string", - -test: function testcase() { - function dynaString(s1, s2){ - return String(s1)+String(s2); -} - -// CHECK#1 -if (Number(dynaString("\u0009\u000C\u0020\u00A0\u000B", "\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000")) !== Number("")) { - $ERROR('#1: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B"+"\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === Number("")'); -} - -// CHECK#2 -if (+(dynaString("\u0009\u000C\u0020\u00A0\u000A\u000D\u2028\u2029\u000B12345", "67890\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000")) !== Number("1234567890")) { - $ERROR('#2: +("\\u0009\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029\\u000B12345"+"67890\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === Number("1234567890")'); -} - -// CHECK#3 -if (!(Number(dynaString("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029Infi", "nity\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000")) == Number("Infinity"))) { - $ERROR('#3: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029Infi"+"nity\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") == Number("Infinity")'); -} - -// CHECK#4 -if (!(Number(dynaString("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029-Infi", "nity\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000")) == Number(-"Infinity"))) { - $ERROR('#4: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029-Infi"+"nity\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") == Number("-Infinity")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.js deleted file mode 100644 index 8cb17dd41f..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A4_T1; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrDecimalLiteral::: + StrUnsignedDecimalLiteral is the MV of StrUnsignedDecimalLiteral; - * @description: Compare Number('+any_number') with Number('any_number'); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A4_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.js", - -assertion: "The MV of StrDecimalLiteral::: + StrUnsignedDecimalLiteral is the MV of StrUnsignedDecimalLiteral", - -description: "Compare Number(\'+any_number\') with Number(\'any_number\')", - -test: function testcase() { - // CHECK#1 -if (Number("+0") !== Number("0")) { - $ERROR('#1.1: Number("+0") === Number("0")'); -} else { - // CHECK#2 - if (1/Number("+0") !== 1/Number("0")) { - $ERROR('#2.2: 1/Number("+0") === 1/Number("0")'); - } -} - -// CHECK#3 -if (Number("+Infinity") !== Number("Infinity")) { - $ERROR('#3: Number("+Infinity") === Number("Infinity")'); -} - -// CHECK#4 -if (Number("+1234.5678") !== Number("1234.5678")) { - $ERROR('#4: Number("+1234.5678") === Number("1234.5678")'); -} - -// CHECK#5 -if (Number("+1234.5678e90") !== Number("1234.5678e90")) { - $ERROR('#5: Number("+1234.5678e90") === Number("1234.5678e90")'); -} - -// CHECK#6 -if (Number("+1234.5678E90") !== Number("1234.5678E90")) { - $ERROR('#6: Number("+1234.5678E90") === Number("1234.5678E90")'); -} - -// CHECK#7 -if (Number("+1234.5678e-90") !== Number("1234.5678e-90")) { - $ERROR('#7: Number("+1234.5678e-90") === Number("1234.5678e-90")'); -} - -// CHECK#8 -if (Number("+1234.5678E-90") !== Number("1234.5678E-90")) { - $ERROR('#8: Number("+1234.5678E-90") === Number("1234.5678E-90")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.js deleted file mode 100644 index 464287f61f..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A4_T2; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrDecimalLiteral::: + StrUnsignedDecimalLiteral is the MV of StrUnsignedDecimalLiteral; - * @description: Compare Number('+' + 'any_number') with Number('any_number'); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A4_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.js", - -assertion: "The MV of StrDecimalLiteral::: + StrUnsignedDecimalLiteral is the MV of StrUnsignedDecimalLiteral", - -description: "Compare Number(\'+\' + \'any_number\') with Number(\'any_number\')", - -test: function testcase() { - function dynaString(s1, s2){ - return String(s1)+String(s2); -} - -// CHECK#1 -if (Number(dynaString("+", "0")) !== Number("0")) { - $ERROR('#1: Number("+"+"0") === Number("0")'); -} else { - // CHECK#2 - if (1/Number(dynaString("+", "0")) !== 1/Number("0")) { - $ERROR('#2: 1/Number("+"+"0") === 1/Number("0")'); - } -} - -// CHECK#3 -if (Number(dynaString("+Infi", "nity")) !== Number("Infinity")) { - $ERROR('#3: Number("+Infin"+"ity") === Number("Infinity")'); -} - -// CHECK#4 -if (Number(dynaString("+1234.", "5678")) !== Number("1234.5678")) { - $ERROR('#4: Number("+1234."+"5678") === Number("1234.5678")'); -} - -// CHECK#5 -if (Number(dynaString("+1234.", "5678e90")) !== Number("1234.5678e90")) { - $ERROR('#5: Number("+1234."+"5678e90") === Number("1234.5678e90")'); -} - -// CHECK#6 -if (Number(dynaString("+1234.", "5678E90")) !== Number("1234.5678E90")) { - $ERROR('#6: Number("+1234."+"5678E90") === Number("1234.5678E90")'); -} - -// CHECK#7 -if (Number(dynaString("+1234.", "5678e-90")) !== Number("1234.5678e-90")) { - $ERROR('#7: Number("+1234."+"5678e-90") === Number("1234.5678e-90")'); -} - -// CHECK#8 -if (Number(dynaString("+1234.", "5678E-90")) !== Number("1234.5678E-90")) { - $ERROR('#8: Number("+1234."+"5678E-90") === Number("1234.5678E-90")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.js deleted file mode 100644 index e30b5682e4..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A5_T1; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative - * of the MV of StrUnsignedDecimalLiteral. (the negative of this 0 is also 0); - * @description: Compare Number('-any_number') with -Number('any_number'); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A5_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.js", - -assertion: "The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative", - -description: "Compare Number(\'-any_number\') with -Number(\'any_number\')", - -test: function testcase() { - // CHECK#1 -if (Number("-0") !== -Number("0")) { - $ERROR('#1: Number("-0") === -Number("0")'); -} else { - // CHECK#2 - if (1/Number("-0") !== -1/Number("0")) { - $ERROR('#2: 1/Number("-0") === -1/Number("0")'); - } -} - -// CHECK#3 -if (Number("-Infinity") !== -Number("Infinity")) { - $ERROR('#3: Number("-Infinity") === -Number("Infinity")'); -} - -// CHECK#4 -if (Number("-1234567890") !== -Number("1234567890")) { - $ERROR('#4: Number("-1234567890") === -Number("1234567890")'); -} - -// CHECK#5 -if (Number("-1234.5678") !== -Number("1234.5678")) { - $ERROR('#5: Number("-1234.5678") === -Number("1234.5678")'); -} - -// CHECK#6 -if (Number("-1234.5678e90") !== -Number("1234.5678e90")) { - $ERROR('#6: Number("-1234.5678e90") === -Number("1234.5678e90")'); -} - -// CHECK#7 -if (Number("-1234.5678E90") !== -Number("1234.5678E90")) { - $ERROR('#6: Number("-1234.5678E90") === -Number("1234.5678E90")'); -} - -// CHECK#8 -if (Number("-1234.5678e-90") !== -Number("1234.5678e-90")) { - $ERROR('#6: Number("-1234.5678e-90") === -Number("1234.5678e-90")'); -} - -// CHECK#9 -if (Number("-1234.5678E-90") !== -Number("1234.5678E-90")) { - $ERROR('#6: Number("-1234.5678E-90") === -Number("1234.5678E-90")'); -} - -// CHECK#10 -if (Number("-Infinity") !== Number.NEGATIVE_INFINITY) { - $ERROR('#3: Number("-Infinity") === Number.NEGATIVE_INFINITY'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.js deleted file mode 100644 index 3a8bfc1171..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.js +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A5_T2; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative - * of the MV of StrUnsignedDecimalLiteral. (the negative of this 0 is also 0); - * @description: Compare Number('-[or +]any_number') with -[or without -]any_number); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A5_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.js", - -assertion: "The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative", - -description: "Compare Number(\'-[or +]any_number\') with -[or without -]any_number)", - -test: function testcase() { - // CHECK#1 -if (Number("1") !== 1) { - $ERROR('#1: Number("1") === 1'); -} - -// CHECK#2 -if (Number("+1") !== 1) { - $ERROR('#3: Number("+1") === 1'); -} - -// CHECK#3 -if (Number("-1") !== -1) { - $ERROR('#3: Number("-1") === -1'); -} - -// CHECK#4 -if (Number("2") !== 2) { - $ERROR('#4: Number("2") === 2'); -} - -// CHECK#5 -if (Number("+2") !== 2) { - $ERROR('#5: Number("+2") === 2'); -} - -// CHECK#6 -if (Number("-2") !== -2) { - $ERROR('#6: Number("-2") === -2'); -} - -// CHECK#7 -if (Number("3") !== 3) { - $ERROR('#7: Number("3") === 3'); -} - -// CHECK#8 -if (Number("+3") !== 3) { - $ERROR('#8: Number("+3") === 3'); -} - -// CHECK#9 -if (Number("-3") !== -3) { - $ERROR('#9: Number("-3") === -3'); -} - -// CHECK#10 -if (Number("4") !== 4) { - $ERROR('#10: Number("4") === 4'); -} - -// CHECK#11 -if (Number("+4") !== 4) { - $ERROR('#11: Number("+4") === 4'); -} - -// CHECK#12 -if (Number("-4") !== -4) { - $ERROR('#12: Number("-4") === -4'); -} - -// CHECK#13 -if (Number("5") !== 5) { - $ERROR('#13: Number("5") === 5'); -} - -// CHECK#14 -if (Number("+5") !== 5) { - $ERROR('#14: Number("+5") === 5'); -} - -// CHECK#15 -if (Number("-5") !== -5) { - $ERROR('#15: Number("-5") === -5'); -} - -// CHECK#16 -if (Number("6") !== 6) { - $ERROR('#16: Number("6") === 6'); -} - -// CHECK#17 -if (Number("+6") !== 6) { - $ERROR('#17: Number("+6") === 6'); -} - -// CHECK#18 -if (Number("-6") !== -6) { - $ERROR('#18: Number("-6") === -6'); -} - -// CHECK#19 -if (Number("7") !== 7) { - $ERROR('#19: Number("7") === 7'); -} - -// CHECK#20 -if (Number("+7") !== 7) { - $ERROR('#20: Number("+7") === 7'); -} - -// CHECK#21 -if (Number("-7") !== -7) { - $ERROR('#21: Number("-7") === -7'); -} - -// CHECK#22 -if (Number("8") !== 8) { - $ERROR('#22: Number("8") === 8'); -} - -// CHECK#23 -if (Number("+8") !== 8) { - $ERROR('#23: Number("+8") === 8'); -} - -// CHECK#24 -if (Number("-8") !== -8) { - $ERROR('#24: Number("-8") === -8'); -} - -// CHECK#25 -if (Number("9") !== 9) { - $ERROR('#25: Number("9") === 9'); -} - -// CHECK#26 -if (Number("+9") !== 9) { - $ERROR('#26: Number("+9") === 9'); -} - -// CHECK#27 -if (Number("-9") !== -9) { - $ERROR('#27: Number("-9") === -9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.js deleted file mode 100644 index 422511d672..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A5_T3; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative - * of the MV of StrUnsignedDecimalLiteral. (the negative of this 0 is also 0); - * @description: Compare Number('-' + 'any_number') with -Number('any_number'); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A5_T3", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.js", - -assertion: "The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative", - -description: "Compare Number(\'-\' + \'any_number\') with -Number(\'any_number\')", - -test: function testcase() { - function dynaString(s1, s2){ - return String(s1)+String(s2); -} - -// CHECK#1 -if (Number(dynaString("-", "0")) !== -Number("0")) { - $ERROR('#1: Number("-"+"0") === -Number("0")'); -} else { - // CHECK#2 - if (1/Number(dynaString("-", "0")) !== -1/Number("0")) { - $ERROR('#2: 1/Number("-"+"0") === -1/Number("0")'); - } -} - -// CHECK#3 -if (Number(dynaString("-Infi", "nity")) !== -Number("Infinity")) { - $ERROR('#3: Number("-Infi"+"nity") === -Number("Infinity")'); -} - -// CHECK#4 -if (Number(dynaString("-12345", "67890")) !== -Number("1234567890")) { - $ERROR('#4: Number("-12345"+"67890") === -Number("1234567890")'); -} - -// CHECK#5 -if (Number(dynaString("-1234.", "5678")) !== -Number("1234.5678")) { - $ERROR('#5: Number("-1234."+"5678") === -Number("1234.5678")'); -} - -// CHECK#6 -if (Number(dynaString("-1234.", "5678e90")) !== -Number("1234.5678e90")) { - $ERROR('#6: Number("-1234."+"5678e90") === -Number("1234.5678e90")'); -} - -// CHECK#7 -if (Number(dynaString("-1234.", "5678E90")) !== -Number("1234.5678E90")) { - $ERROR('#6: Number("-1234."+"5678E90") === -Number("1234.5678E90")'); -} - -// CHECK#8 -if (Number(dynaString("-1234.", "5678e-90")) !== -Number("1234.5678e-90")) { - $ERROR('#6: Number("-1234."+"5678e-90") === -Number("1234.5678e-90")'); -} - -// CHECK#9 -if (Number(dynaString("-1234.", "5678E-90")) !== -Number("1234.5678E-90")) { - $ERROR('#6: Number("-1234."+"5678E-90") === -Number("1234.5678E-90")'); -} - -// CHECK#10 -if (Number(dynaString("-Infi", "nity")) !== Number.NEGATIVE_INFINITY) { - $ERROR('#3: Number("-Infi"+"nity") === Number.NEGATIVE_INFINITY'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.js deleted file mode 100644 index 81153757e8..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A6_T1; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrUnsignedDecimalLiteral::: Infinity is 1010000 - * (a value so large that it will round to +∞); - * @description: Compare Number('Infinity') with Number.POSITIVE_INFINITY, 10e10000, 10E10000 and Number("10e10000"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A6_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.js", - -assertion: "The MV of StrUnsignedDecimalLiteral::: Infinity is 1010000", - -description: "Compare Number(\'Infinity\') with Number.POSITIVE_INFINITY, 10e10000, 10E10000 and Number(\"10e10000\")", - -test: function testcase() { - // CHECK#1 -if (Number("Infinity") !== Number.POSITIVE_INFINITY) { - $ERROR('#1: Number("Infinity") === Number.POSITIVE_INFINITY'); -} - -// CHECK#2 -if (Number("Infinity") !== 10e10000) { - $ERROR('#2: Number("Infinity") === 10e10000'); -} - -// CHECK#3 -if (Number("Infinity") !== 10E10000) { - $ERROR('#3: Number("Infinity") === 10E10000'); -} - -// CHECK#4 -if (Number("Infinity") !== Number("10e10000")) { - $ERROR('#4: Number("Infinity") === Number("10e10000")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.js deleted file mode 100644 index 10136a9278..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A6_T2; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrUnsignedDecimalLiteral::: Infinity is 1010000 - * (a value so large that it will round to +∞); - * @description: Compare Number('Infi'+'nity') with Number.POSITIVE_INFINITY, 10e10000, 10E10000 and Number("10e10000"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A6_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.js", - -assertion: "The MV of StrUnsignedDecimalLiteral::: Infinity is 1010000", - -description: "Compare Number(\'Infi\'+\'nity\') with Number.POSITIVE_INFINITY, 10e10000, 10E10000 and Number(\"10e10000\")", - -test: function testcase() { - function dynaString(s1, s2){ - return String(s1)+String(s2); -} - - -// CHECK#1 -if (Number(dynaString("Infi", "nity")) !== Number.POSITIVE_INFINITY) { - $ERROR('#1: Number("Infi"+"nity") === Number.POSITIVE_INFINITY'); -} - -// CHECK#2 -if (Number(dynaString("Infi", "nity")) !== 10e10000) { - $ERROR('#2: Number("Infi"+"nity") === 10e10000'); -} - -// CHECK#3 -if (Number(dynaString("Infi", "nity")) !== 10E10000) { - $ERROR('#3: Number("Infi"+"nity") === 10E10000'); -} - -// CHECK#4 -if (Number(dynaString("Infi", "nity")) !== Number("10e10000")) { - $ERROR('#4: Number("Infi"+"nity") === Number("10e10000")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.js deleted file mode 100644 index a6ba5dce57..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A7; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrUnsignedDecimalLiteral::: DecimalDigits. DecimalDigits - * is the MV of the first DecimalDigits plus the MV of the second DecimalDigits times - * 10-n, where n is the number of characters in the second DecimalDigits; - * @description: Compare Number('1234.5678') with Number('1234')+(+('5678')*1e-4); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A7", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.js", - -assertion: "The MV of StrUnsignedDecimalLiteral::: DecimalDigits. DecimalDigits", - -description: "Compare Number(\'1234.5678\') with Number(\'1234\')+(+(\'5678\')*1e-4)", - -test: function testcase() { - // CHECK#1 -if (Number("1234.5678") !== Number("1234")+(+("5678")*1e-4)) { - $ERROR('#1: Number("1234.5678") === Number("1234")+(+("5678")*1e-4)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.js deleted file mode 100644 index c483fd5591..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A8; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrUnsignedDecimalLiteral::: DecimalDigits. ExponentPart - * is the MV of DecimalDigits times 10e , where e is the MV of ExponentPart; - * @description: Compare Number('1234e5') and Number('1234.e5') with Number('1234')*1e5; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A8", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.js", - -assertion: "The MV of StrUnsignedDecimalLiteral::: DecimalDigits. ExponentPart", - -description: "Compare Number(\'1234e5\') and Number(\'1234.e5\') with Number(\'1234\')*1e5", - -test: function testcase() { - // CHECK#1 -if (Number("1234e5") !== Number("1234")*1e5) { - $ERROR('#1: Number("1234e5") === Number("1234")*1e5'); -} - -// CHECK#2 -if (Number("1234.e5") !== +("1234")*1e5) { - $ERROR('#2: Number("1234.e5") === +("1234")*1e5'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.js deleted file mode 100644 index c3174fc139..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3.1_A9; - * @section: 9.3.1, 15.7.1; - * @assertion: The MV of StrUnsignedDecimalLiteral::: DecimalDigits. DecimalDigits ExponentPart - * is (the MV of the first DecimalDigits plus (the MV of the second DecimalDigits times - * 10-n)) times 10e, where n is the number - * of characters in the second DecimalDigits and e is the MV of ExponentPart; - * @description: Compare Number('1234.5678e9') with (Number('1234')+(Number('5678')*1e-4))*1e9, - * and +('1234.5678e-9') with (Number('1234')+(Number('5678')*1e-4))*1e-9; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3.1_A9", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.js", - -assertion: "The MV of StrUnsignedDecimalLiteral::: DecimalDigits. DecimalDigits ExponentPart", - -description: "Compare Number(\'1234.5678e9\') with (Number(\'1234\')+(Number(\'5678\')*1e-4))*1e9,", - -test: function testcase() { - // CHECK#1 -if (Number("1234.5678e9") !== (Number("1234")+(Number("5678")*1e-4))*1e9) { - $ERROR('#1: Number("1234.5678e9") === (Number("1234")+(Number("5678")*1e-4))*1e9'); -} - -// CHECK#2 -if (+("1234.5678e-9") !== (Number("1234")+(Number("5678")*1e-4))*1e-9) { - $ERROR('#2: +("1234.5678e-9") === (Number("1234")+(Number("5678")*1e-4))*1e-9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.js deleted file mode 100644 index 6dce091683..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A1_T1; - * @section: 9.3, 15.7.1; - * @assertion: Result of number conversion from undefined value is NaN; - * @description: Undefined convert to Number by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A1_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.js", - -assertion: "Result of number conversion from undefined value is NaN", - -description: "Undefined convert to Number by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (isNaN(Number(undefined)) !== true) { - $ERROR('#1: Number(undefined) === Not-a-Number. Actual: ' + (Number(undefined))); -} - -// CHECK#2 -if (isNaN(Number(void 0)) !== true) { - $ERROR('#2: Number(void 0) === Not-a-Number. Actual: ' + (Number(void 0))); -} - -// CHECK#3 -if (isNaN(Number(eval("var x"))) !== true) { - $ERROR('#3: Number(eval("var x")) === Not-a-Number. Actual: ' + (Number(eval("var x")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.js deleted file mode 100644 index e3e8191fef..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A1_T2; - * @section: 9.3, 11.6.1; - * @assertion: Result of number conversion from undefined value is NaN; - * @description: Undefined convert to Number by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A1_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.js", - -assertion: "Result of number conversion from undefined value is NaN", - -description: "Undefined convert to Number by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (isNaN(+(undefined)) !== true) { - $ERROR('#1: +(undefined) === Not-a-Number. Actual: ' + (+(undefined))); -} - -// CHECK#2 -if (isNaN(+(void 0)) !== true) { - $ERROR('#2: +(void 0) === Not-a-Number. Actual: ' + (+(void 0))); -} - -// CHECK#3 -if (isNaN(+(eval("var x"))) !== true) { - $ERROR('#3: +(eval("var x")) === Not-a-Number. Actual: ' + (+(eval("var x")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js deleted file mode 100644 index 7e9da9211b..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A2_T1; - * @section: 9.3, 15.7.1; - * @assertion: Result of number conversion from null value is +0; - * @description: null convert to Number by explicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A2_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js", - -assertion: "Result of number conversion from null value is +0", - -description: "null convert to Number by explicit transformation", - -test: function testcase() { - // CHECK #1 -if (Number(null) !== 0) { - $ERROR('#1.1: Number(null) === 0. Actual: ' + (Number(null))); -} else { - if (1/Number(null) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: Number(null) === +0. Actual: -0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.js deleted file mode 100644 index 9b395ee554..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A2_T2; - * @section: 9.3, 11.6.1; - * @assertion: Result of number conversion from null value is +0; - * @description: null convert to Number by implicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A2_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.js", - -assertion: "Result of number conversion from null value is +0", - -description: "null convert to Number by implicit transformation", - -test: function testcase() { - // CHECK #1 -if (+(null) !== 0) { - $ERROR('#1.1: +(null) === 0. Actual: ' + (+(null))); -} else { - if (1/+(null) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: +(null) === +0. Actual: -0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.js deleted file mode 100644 index f5e3dc9003..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A3_T1; - * @section: 9.3, 15.7.1; - * @assertion: Result of number conversion from boolean value is 1 if the argument is true, else is +0; - * @description: False and true convert to Number by explicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A3_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.js", - -assertion: "Result of number conversion from boolean value is 1 if the argument is true, else is +0", - -description: "False and true convert to Number by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Number(false) !== +0) { - $ERROR('#1.1: Number(false) === 0. Actual: ' + (Number(false))); -} else { - if (1/Number(false) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: Number(false) === +0. Actual: -0'); - } -} - -// CHECK#2 -if (Number(true) !== 1) { - $ERROR('#2: Number(true) === 1. Actual: ' + (Number(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.js deleted file mode 100644 index 2a382598dc..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A3_T2; - * @section: 9.3, 11.6.1; - * @assertion: Result of number conversion from boolean value is 1 if the argument is true, else is +0; - * @description: False and true convert to Number by implicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A3_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.js", - -assertion: "Result of number conversion from boolean value is 1 if the argument is true, else is +0", - -description: "False and true convert to Number by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (+(false) !== +0) { - $ERROR('#1.1: +(false) === 0. Actual: ' + (+(false))); -} else { - if (1/+(false) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: +(false) === +0. Actual: -0'); - } -} - -// CHECK#2 -if (+(true) !== 1) { - $ERROR('#2: +(true) === 1. Actual: ' + (+(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.js deleted file mode 100644 index 727b25fb7c..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A4.1_T1; - * @section: 9.3, 15.7.1; - * @assertion: Result of number conversion from number value equals to the input argument (no conversion); - * @description: Some numbers including Number.MAX_VALUE and Number.MIN_VALUE are converted to Number with explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A4.1_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.js", - -assertion: "Result of number conversion from number value equals to the input argument (no conversion)", - -description: "Some numbers including Number.MAX_VALUE and Number.MIN_VALUE are converted to Number with explicit transformation", - -test: function testcase() { - // CHECK#1 -if (Number(13) !== 13) { - $ERROR('#1: Number(13) === 13. Actual: ' + (Number(13))); -} - -// CHECK#2 -if (Number(-13) !== -13) { - $ERROR('#2: Number(-13) === -13. Actual: ' + (Number(-13))); -} - -// CHECK#3 -if (Number(1.3) !== 1.3) { - $ERROR('#3: Number(1.3) === 1.3. Actual: ' + (Number(1.3))); -} - -// CHECK#4 -if (Number(-1.3) !== -1.3) { - $ERROR('#4: Number(-1.3) === -1.3. Actual: ' + (Number(-1.3))); -} - -// CHECK#5 -if (Number(Number.MAX_VALUE) !== 1.7976931348623157e308) { - $ERROR('#5: Number(Number.MAX_VALUE) === 1.7976931348623157e308. Actual: ' + (Number(Number.MAX_VALUE))); -} - -// CHECK#6 -if (Number(Number.MIN_VALUE) !== 5e-324) { - $ERROR('#6: Number(Number.MIN_VALUE) === 5e-324. Actual: ' + (Number(Number.MIN_VALUE))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.js deleted file mode 100644 index b2f3b67a9b..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A4.1_T2; - * @section: 9.3, 11.6.1; - * @assertion: Result of number conversion from number value equals to the input argument (no conversion); - * @description: Some numbers including Number.MAX_VALUE and Number.MIN_VALUE are converted to Number with implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A4.1_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.js", - -assertion: "Result of number conversion from number value equals to the input argument (no conversion)", - -description: "Some numbers including Number.MAX_VALUE and Number.MIN_VALUE are converted to Number with implicit transformation", - -test: function testcase() { - // CHECK#1 -if (+(13) !== 13) { - $ERROR('#1: +(13) === 13. Actual: ' + (+(13))); -} - -// CHECK#2 -if (+(-13) !== -13) { - $ERROR('#2: +(-13) === -13. Actual: ' + (+(-13))); -} - -// CHECK#3 -if (+(1.3) !== 1.3) { - $ERROR('#3: +(1.3) === 1.3. Actual: ' + (+(1.3))); -} - -// CHECK#4 -if (+(-1.3) !== -1.3) { - $ERROR('#4: +(-1.3) === -1.3. Actual: ' + (+(-1.3))); -} - -// CHECK#5 -if (+(Number.MAX_VALUE) !== 1.7976931348623157e308) { - $ERROR('#5: +(Number.MAX_VALUE) === 1.7976931348623157e308. Actual: ' + (+(Number.MAX_VALUE))); -} - -// CHECK#6 -if (+(Number.MIN_VALUE) !== 5e-324) { - $ERROR('#6: +(Number.MIN_VALUE) === 5e-324. Actual: ' + (+(Number.MIN_VALUE))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.js deleted file mode 100644 index 06d21368a4..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A4.2_T1; - * @section: 9.3, 15.7.1; - * @assertion: Result of number conversion from number value equals to the input argument (no conversion); - * @description: Number.NaN, +0, -0, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, - * Number.MAX_VALUE and Number.MIN_VALUE convert to Number by explicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A4.2_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.js", - -assertion: "Result of number conversion from number value equals to the input argument (no conversion)", - -description: "Number.NaN, +0, -0, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY,", - -test: function testcase() { - // CHECK#1 -if (isNaN(Number(Number.NaN)) !== true) { - $ERROR('#1: Number(NaN) === Not-a-Number. Actual: ' + (Number(NaN))); -} - -// CHECK#2 -if (Number(+0) !== +0) { - $ERROR('#2.1: Number(+0) === 0. Actual: ' + (Number(+0))); -} else { - if (1/Number(+0) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: Number(+0) === +0. Actual: -0'); - } -} - -// CHECK#3 -if (Number(-0) !== -0) { - $ERROR('#3.1: Number(-0) === 0. Actual: ' + (Number(-0))); -} else { - if (1/Number(-0) !== Number.NEGATIVE_INFINITY) { - $ERROR('#3.2: Number(-0) === -0. Actual: +0'); - } -} - -// CHECK#4 -if (Number(Number.POSITIVE_INFINITY) !== Number.POSITIVE_INFINITY) { - $ERROR('#4: Number(+Infinity) === +Infinity. Actual: ' + (Number(+Infinity))); -} - -// CHECK#5 -if (Number(Number.NEGATIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { - $ERROR('#5: Number(-Infinity) === -Infinity. Actual: ' + (Number(-Infinity))); -} - -// CHECK#6 -if (Number(Number.MAX_VALUE) !== Number.MAX_VALUE) { - $ERROR('#6: Number(Number.MAX_VALUE) === Number.MAX_VALUE. Actual: ' + (Number(Number.MAX_VALUE))); -} - -// CHECK#7 -if (Number(Number.MIN_VALUE) !== Number.MIN_VALUE) { - $ERROR('#7: Number(Number.MIN_VALUE) === Number.MIN_VALUE. Actual: ' + (Number(Number.MIN_VALUE))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.js deleted file mode 100644 index d6d0297768..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A4.2_T2; - * @section: 9.3, 11.6.1; - * @assertion: Result of number conversion from number value equals to the input argument (no conversion); - * @description: Number.NaN, +0, -0, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, - * Number.MAX_VALUE and Number.MIN_VALUE convert to Number by implicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A4.2_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.js", - -assertion: "Result of number conversion from number value equals to the input argument (no conversion)", - -description: "Number.NaN, +0, -0, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY,", - -test: function testcase() { - // CHECK#1 -if (isNaN(+(Number.NaN)) !== true) { - $ERROR('#1: +(NaN) === Not-a-Number. Actual: ' + (+(NaN))); -} - -// CHECK#2 -if (+(+0) !== +0) { - $ERROR('#2.1: +(+0) === 0. Actual: ' + (+(+0))); -} else { - if (1/+(+0) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: +(+0) === +0. Actual: -0'); - } -} - -// CHECK#3 -if (+(-0) !== -0) { - $ERROR('#3.1: +(-0) === 0. Actual: ' + (+(-0))); -} else { - if (1/+(-0) !== Number.NEGATIVE_INFINITY) { - $ERROR('#3.2: +(-0) === -0. Actual: +0'); - } -} - -// CHECK#4 -if (+(Number.POSITIVE_INFINITY) !== Number.POSITIVE_INFINITY) { - $ERROR('#4: +(+Infinity) === +Infinity. Actual: ' + (+(+Infinity))); -} - -// CHECK#5 -if (+(Number.NEGATIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { - $ERROR('#5: +(-Infinity) === -Infinity. Actual: ' + (+(-Infinity))); -} - -// CHECK#6 -if (+(Number.MAX_VALUE) !== Number.MAX_VALUE) { - $ERROR('#6: +(Number.MAX_VALUE) === Number.MAX_VALUE. Actual: ' + (+(Number.MAX_VALUE))); -} - -// CHECK#7 -if (+(Number.MIN_VALUE) !== Number.MIN_VALUE) { - $ERROR('#7: +(Number.MIN_VALUE) === Number.MIN_VALUE. Actual: ' + (+(Number.MIN_VALUE))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.js deleted file mode 100644 index b4db5da09c..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.js +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A5_T1; - * @section: 9.3, 15.7.1; - * @assertion: Result of number conversion from object value is the result - * of conversion from primitive value; - * @description: new Number(), new Number(0), new Number(Number.NaN), new Number(null), - * new Number(void 0) and others convert to Number by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A5_T1", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.js", - -assertion: "Result of number conversion from object value is the result", - -description: "new Number(), new Number(0), new Number(Number.NaN), new Number(null),", - -test: function testcase() { - // CHECK#1 -if (Number(new Number()) !== 0) { - $ERROR('#1: Number(new Number()) === 0. Actual: ' + (Number(new Number()))); -} - -// CHECK#2 -if (Number(new Number(0)) !== 0) { - $ERROR('#2: Number(new Number(0)) === 0. Actual: ' + (Number(new Number(0)))); -} - -// CHECK#3 -if (isNaN(Number(new Number(Number.NaN)) !== true)) { - $ERROR('#3: Number(new Number(Number.NaN)) === Not-a-Number. Actual: ' + (Number(new Number(Number.NaN)))); -} - -// CHECK#4 -if (Number(new Number(null)) !== 0) { - $ERROR('#4.1: Number(new Number(null)) === 0. Actual: ' + (Number(new Number(null)))); -} else { - if (1/Number(new Number(null)) !== Number.POSITIVE_INFINITY) { - $ERROR('#4.2: Number(new Number(null)) === +0. Actual: -0'); - } -} - -// CHECK#5 -if (isNaN(Number(new Number(void 0)) !== true)) { - $ERROR('#5: Number(new Number(void 0)) === Not-a-Number. Actual: ' + (Number(new Number(void 0)))); -} - -// CHECK#6 -if (Number(new Number(true)) !== 1) { - $ERROR('#6: Number(new Number(true)) === 1. Actual: ' + (Number(new Number(true)))); -} - -// CHECK#7 -if (Number(new Number(false)) !== +0) { - $ERROR('#7.1: Number(new Number(false)) === 0. Actual: ' + (Number(new Number(false)))); -} else { - if (1/Number(new Number(false)) !== Number.POSITIVE_INFINITY) { - $ERROR('#7.2: Number(new Number(false)) === +0. Actual: -0'); - } -} - -// CHECK#8 -if (Number(new Boolean(true)) !== 1) { - $ERROR('#8: Number(new Boolean(true)) === 1. Actual: ' + (Number(new Boolean(true)))); -} - -// CHECK#9 -if (Number(new Boolean(false)) !== +0) { - $ERROR('#9.1: Number(new Boolean(false)) === 0. Actual: ' + (Number(new Boolean(false)))); -} else { - if (1/Number(new Boolean(false)) !== Number.POSITIVE_INFINITY) { - $ERROR('#9.2: Number(new Boolean(false)) === +0. Actual: -0'); - } -} - -// CHECK#10 -if (isNaN(Number(new Array(2,4,8,16,32))) !== true) { - $ERROR('#10: Number(new Array(2,4,8,16,32)) === Not-a-Number. Actual: ' + (Number(new Array(2,4,8,16,32)))); -} - -// CHECK#11 -var myobj1 = { - ToNumber : function(){return 12345;}, - toString : function(){return "67890";}, - valueOf : function(){return "[object MyObj]";} - }; - -if (isNaN(Number(myobj1)) !== true){ - $ERROR("#11: Number(myobj1) calls ToPrimitive with hint Number. Actual: " + (Number(myobj1))); -} - -// CHECK#12 -var myobj2 = { - ToNumber : function(){return 12345;}, - toString : function(){return "67890";}, - valueOf : function(){return "9876543210";} - }; - -if (Number(myobj2) !== 9876543210){ - $ERROR("#12: Number(myobj2) calls ToPrimitive with hint Number. Exptected: 9876543210. Actual: " + (Number(myobj2))); -} - - -// CHECK#13 -var myobj3 = { - ToNumber : function(){return 12345;}, - toString : function(){return "[object MyObj]";} - }; - -if (isNaN(Number(myobj3)) !== true){ - $ERROR("#13: Number(myobj3) calls ToPrimitive with hint Number. Exptected: Not-a-Number. Actual: " + (Number(myobj3))); -} - -// CHECK#14 -var myobj4 = { - ToNumber : function(){return 12345;}, - toString : function(){return "67890";} - }; - -if (Number(myobj4) !== 67890){ - $ERROR("#14: Number(myobj4) calls ToPrimitive with hint Number. Exptected: 67890. Actual: " + (Number(myobj4))); -} - -// CHECK#15 -var myobj5 = { - ToNumber : function(){return 12345;} - }; - -if (isNaN(Number(myobj5)) !== true){ - $ERROR("#15: Number(myobj5) calls ToPrimitive with hint Number. Exptected: Not-a-Number. Actual: " + (Number(myobj5))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.js deleted file mode 100644 index adf989df86..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.js +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.3_A5_T2; - * @section: 9.3, 11.6.1; - * @assertion: Result of number conversion from object value is the result - * of conversion from primitive value; - * @description: new Number(), new Number(0), new Number(Number.NaN), new Number(null), - * new Number(void 0) and others convert to Number by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.3_A5_T2", - -path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.js", - -assertion: "Result of number conversion from object value is the result", - -description: "new Number(), new Number(0), new Number(Number.NaN), new Number(null),", - -test: function testcase() { - // CHECK#1 -if (+(new Number()) !== 0) { - $ERROR('#1: +(new Number()) === 0. Actual: ' + (+(new Number()))); -} - -// CHECK#2 -if (+(new Number(0)) !== 0) { - $ERROR('#2: +(new Number(0)) === 0. Actual: ' + (+(new Number(0)))); -} - -// CHECK#3 -if (isNaN(+(new Number(Number.NaN)) !== true)) { - $ERROR('#3: +(new Number(Number.NaN)) === Not-a-Number. Actual: ' + (+(new Number(Number.NaN)))); -} - -// CHECK#4 -if (+(new Number(null)) !== 0) { - $ERROR('#4.1: +(new Number(null)) === 0. Actual: ' + (+(new Number(null)))); -} else { - if (1/+(new Number(null)) !== Number.POSITIVE_INFINITY) { - $ERROR('#4.2: +(new Number(null)) === +0. Actual: -0'); - } -} - -// CHECK#5 -if (isNaN(+(new Number(void 0)) !== true)) { - $ERROR('#5: +(new Number(void 0)) === Not-a-Number. Actual: ' + (+(new Number(void 0)))); -} - -// CHECK#6 -if (+(new Number(true)) !== 1) { - $ERROR('#6: +(new Number(true)) === 1. Actual: ' + (+(new Number(true)))); -} - -// CHECK#7 -if (+(new Number(false)) !== +0) { - $ERROR('#7.1: +(new Number(false)) === 0. Actual: ' + (+(new Number(false)))); -} else { - if (1/+(new Number(false)) !== Number.POSITIVE_INFINITY) { - $ERROR('#7.2: +(new Number(false)) === +0. Actual: -0'); - } -} - -// CHECK#8 -if (+(new Boolean(true)) !== 1) { - $ERROR('#8: +(new Boolean(true)) === 1. Actual: ' + (+(new Boolean(true)))); -} - -// CHECK#9 -if (+(new Boolean(false)) !== +0) { - $ERROR('#9.1: +(new Boolean(false)) === 0. Actual: ' + (+(new Boolean(false)))); -} else { - if (1/+(new Boolean(false)) !== Number.POSITIVE_INFINITY) { - $ERROR('#9.2: +(new Boolean(false)) === +0. Actual: -0'); - } -} - -// CHECK#10 -if (isNaN(+(new Array(2,4,8,16,32))) !== true) { - $ERROR('#10: +(new Array(2,4,8,16,32)) === Not-a-Number. Actual: ' + (+(new Array(2,4,8,16,32)))); -} - -// CHECK#11 -var myobj1 = { - ToNumber : function(){return 12345;}, - toString : function(){return "67890";}, - valueOf : function(){return "[object MyObj]";} - }; - -if (isNaN(+(myobj1)) !== true){ - $ERROR("#11: +(myobj1) calls ToPrimitive with hint +. Exptected: Not-a-Number. Actual: " + (+(myobj1))); -} - -// CHECK#12 -var myobj2 = { - ToNumber : function(){return 12345;}, - toString : function(){return "67890";}, - valueOf : function(){return "9876543210";} - }; - -if (+(myobj2) !== 9876543210){ - $ERROR("#12: +(myobj2) calls ToPrimitive with hint +. Exptected: 9876543210. Actual: " + (+(myobj2))); -} - - -// CHECK#13 -var myobj3 = { - ToNumber : function(){return 12345;}, - toString : function(){return "[object MyObj]";} - }; - -if (isNaN(+(myobj3)) !== true){ - $ERROR("#13: +(myobj3) calls ToPrimitive with hint +. Exptected: Not-a-Number. Actual: " + (+(myobj3))); -} - -// CHECK#14 -var myobj4 = { - ToNumber : function(){return 12345;}, - toString : function(){return "67890";} - }; - -if (+(myobj4) !== 67890){ - $ERROR("#14: +(myobj4) calls ToPrimitive with hint +. Exptected: 67890. Actual: " + (+(myobj4))); -} - -// CHECK#15 -var myobj5 = { - ToNumber : function(){return 12345;} - }; - -if (isNaN(+(myobj5)) !== true){ - $ERROR("#15: +(myobj5) calls ToPrimitive with hint +. Exptected: 12345. Actual: " + (+(myobj5))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A1.js deleted file mode 100644 index 4c5dabb12b..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.4_A1; - * @section: 9.4, 15.5; - * @assertion: If ToNumber(value) is NaN, ToInteger(value) returns +0; - * @description: Check what position is defined by Number.NaN in string "abc": "abc".charAt(Number.NaN); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.4_A1", - -path: "TestCases/09_Type_Conversion/9.4_ToInteger/S9.4_A1.js", - -assertion: "If ToNumber(value) is NaN, ToInteger(value) returns +0", - -description: "Check what position is defined by Number.NaN in string \"abc\": \"abc\".charAt(Number.NaN)", - -test: function testcase() { - // CHECK#1 -if ("abc".charAt(Number.NaN) !== "a") { - $ERROR('#1: "abc".charAt(Number.NaN) === "a". Actual: ' + ("abc".charAt(Number.NaN))); -} - -// CHECK#2 -if ("abc".charAt("x") !== "a") { - $ERROR('#2: "abc".charAt("x") === "a". Actual: ' + ("abc".charAt("x"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A2.js deleted file mode 100644 index 840bec4590..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.4_A2; - * @section: 9.4, 15.5; - * @assertion: If ToNumber(value) is +0, -0, +Infinity, or -Infinity, - * return ToNumber(value); - * @description: Check what position is defined by Number.NaN in string "abc": "abc".charAt(Number.NaN); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.4_A2", - -path: "TestCases/09_Type_Conversion/9.4_ToInteger/S9.4_A2.js", - -assertion: "If ToNumber(value) is +0, -0, +Infinity, or -Infinity,", - -description: "Check what position is defined by Number.NaN in string \"abc\": \"abc\".charAt(Number.NaN)", - -test: function testcase() { - // CHECK#1 -if ("abc".charAt(0.0) !== "a") { - $ERROR('#1: "abc".charAt(0.0) === "a". Actual: ' + ("abc".charAt(0.0))); -} - -// CHECK#2 -if ("abc".charAt(-0.0) !== "a") { - $ERROR('#2: "abc".charAt(-0.0) === "a". Actual: ' + ("abc".charAt(-0.0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.js deleted file mode 100644 index 52d95c25b1..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.js +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.4_A3_T1; - * @section: 9.4, 15.9; - * @assertion: Result of ToInteger(value) conversion is the result of computing - * sign(ToNumber(value)) * floor(abs(ToNumber(value))); - * @description: For testing constructor Date(Number) is used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.4_A3_T1", - -path: "TestCases/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.js", - -assertion: "Result of ToInteger(value) conversion is the result of computing", - -description: "For testing constructor Date(Number) is used", - -test: function testcase() { - // CHECK#1 -var d1 = new Date(6.54321); -if (d1.valueOf() !== 6) { - $ERROR('#1: var d1 = new Date(6.54321); d1.valueOf() === 6;'); -} - -// CHECK#2 -var d2 = new Date(-6.54321); -if (d2.valueOf() !== -6) { - $ERROR('#2: var d2 = new Date(-6.54321); d2.valueOf() === -6;'); -} - -// CHECK#3 -var d3 = new Date(6.54321e2); -if (d3.valueOf() !== 654) { - $ERROR('#3: var d3 = new Date(6.54321e2); d3.valueOf() === 654;'); -} - -// CHECK#4 -var d4 = new Date(-6.54321e2); -if (d4.valueOf() !== -654) { - $ERROR('#4: var d4 = new Date(-6.54321e2); d4.valueOf() === -654;'); -} - -// CHECK#5 -var d5 = new Date(0.654321e1); -if (d5.valueOf() !== 6) { - $ERROR('#5: var d5 = new Date(0.654321e1); d5.valueOf() === 6;'); -} - -// CHECK#6 -var d6 = new Date(-0.654321e1); -if (d6.valueOf() !== -6) { - $ERROR('#6: var d6 = new Date(-0.654321e1); d6.valueOf() === -6;'); -} - -// CHECK#7 -var d7 = new Date(true); -if (d7.valueOf() !== 1) { - $ERROR('#7: var d7 = new Date(true); d7.valueOf() === 1;'); -} - -// CHECK#8 -var d8 = new Date(false); -if (d8.valueOf() !== 0) { - $ERROR('#8: var d8 = new Date(false); d8.valueOf() === 0;'); -} - -// CHECK#9 -var d9 = new Date(1.23e15); -if (d9.valueOf() !== 1.23e15) { - $ERROR('#9: var d9 = new Date(1.23e15); d9.valueOf() === 1.23e15;'); -} - -// CHECK#10 -var d10 = new Date(-1.23e15); -if (d10.valueOf() !== -1.23e15) { - $ERROR('#10: var d10 = new Date(-1.23e15); d10.valueOf() === -1.23e15;'); -} - -// CHECK#11 -var d11 = new Date(1.23e-15); -if (d11.valueOf() !== 0) { - $ERROR('#11: var d11 = new Date(1.23e-15); d11.valueOf() === 0;'); -} - -// CHECK#12 -var d12 = new Date(-1.23e-15); -if (d12.valueOf() !== -0) { - $ERROR('#12: var d12 = new Date(-1.23e-15); d12.valueOf() === -0;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.js deleted file mode 100644 index 7f482259bf..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.4_A3_T2; - * @section: 9.4, 15.9; - * @assertion: Result of ToInteger(value) conversion is the result of computing - * sign(ToNumber(value)) * floor(abs(ToNumber(value))); - * @description: For testing constructor Date(NaN, Infinity, Infinity, +0 and -0) is used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.4_A3_T2", - -path: "TestCases/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.js", - -assertion: "Result of ToInteger(value) conversion is the result of computing", - -description: "For testing constructor Date(NaN, Infinity, Infinity, +0 and -0) is used", - -test: function testcase() { - // CHECK#1 -var d1 = new Date(Number.NaN); -if (!isNaN(d1.valueOf())) { - $ERROR('#1: var d1 = new Date(Number.NaN); d1.valueOf() === Number.NaN;'); -} - -// CHECK#2 -var d2 = new Date(Infinity); -if (!isNaN(d2.valueOf())) { - $ERROR('#2: var d2 = new Date(Infinity); d2.valueOf() === Number.NaN;'); -} - -// CHECK#3 -var d3 = new Date(-Infinity); -if (!isNaN(d3.valueOf())) { - $ERROR('#3: var d3 = new Date(-Infinity); d3.valueOf() === Number.NaN;'); -} - -// CHECK#4 -var d4 = new Date(0); -if (d4.valueOf() !== 0) { - $ERROR('#4: var d4 = new Date(0); d4.valueOf() === 0;'); -} - -// CHECK#5 -var d5 = new Date(-0); -if (d5.valueOf() !== -0) { - $ERROR('#5: var d5 = new Date(-0); d5.valueOf() === -0;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.js deleted file mode 100644 index 81490b03a6..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A1_T1; - * @section: 9.5, 11.7.1; - * @assertion: If value is NaN, +0, -0, +Infinity, or -Infinity, return +0; - * @description: For testing use operator <<0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A1_T1", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.js", - -assertion: "If value is NaN, +0, -0, +Infinity, or -Infinity, return +0", - -description: "For testing use operator <<0", - -test: function testcase() { - // CHECK#1 -if ((Number.NaN << 0) !== +0) { - $ERROR('#1.1: (Number.NaN << 0) === 0. Actual: ' + ((Number.NaN << 0))); -} else if (1/(Number.NaN << 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: (Number.NaN << 0) === +0. Actual: -0'); -} - -// CHECK#2 -if ((Number("abc") << 0) !== +0) { - $ERROR('#2.1: (Number("abc") << 0) === 0. Actual: ' + ((Number("abc") << 0))); -} else if (1/(0 << 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: (0 << 0) === +0. Actual: -0'); -} - -// CHECK#3 -if ((0 << 0) !== +0) { - $ERROR('#3.1: (0 << 0) === 0. Actual: ' + ((0 << 0))); -} else if (1/(0 << 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#3.2: (0 << 0) === +0. Actual: -0'); -} - -// CHECK#4 -if ((-0 << 0) !== +0) { - $ERROR("#4.1: (-0 << 0) === 0"); -} else if (1/(-0 << 0) !== Number.POSITIVE_INFINITY) { - $ERROR("#4.2: (-0 << 0) === +0. Actual: -0"); -} - -// CHECK#5 -if ((Number.POSITIVE_INFINITY << 0) !== +0) { - $ERROR('#5.1: (Number.POSITIVE_INFINITY << 0) === 0. Actual: ' + ((Number.POSITIVE_INFINITY << 0))); -} else if (1/(Number.POSITIVE_INFINITY << 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#5.2: (Number.POSITIVE_INFINITY << 0) === +0. Actual: -0'); -} - -// CHECK#6 -if ((Number.NEGATIVE_INFINITY << 0) !== +0) { - $ERROR("#6.1: (Number.NEGATIVE_INFINITY << 0) === 0"); -} else if (1/(Number.NEGATIVE_INFINITY << 0) !== Number.POSITIVE_INFINITY) { - $ERROR("#6.2: (Number.NEGATIVE_INFINITY << 0) === +0. Actual: -0"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.js deleted file mode 100644 index 4d24f5a961..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A2.1_T1; - * @section: 9.5, 11.7.1; - * @assertion: ToInt32 returns values between -2^31 and 2^31-1; - * @description: Converting some numbers, which are in\outside of Int32 scopes, with <<0 operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A2.1_T1", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.js", - -assertion: "ToInt32 returns values between -2^31 and 2^31-1", - -description: "Converting some numbers, which are in\\outside of Int32 scopes, with <<0 operator", - -test: function testcase() { - // CHECK#1 -if ((-2147483647 << 0) !== -2147483647) { - $ERROR('#1: (-2147483647 << 0) === -2147483647. Actual: ' + ((-2147483647 << 0))); -} - -// CHECK#2 -if ((-2147483648 << 0) !== -2147483648) { - $ERROR('#2: (-2147483648 << 0) === -2147483648. Actual: ' + ((-2147483648 << 0))); -} - -// CHECK#3 -if ((-2147483649 << 0) !== 2147483647) { - $ERROR('#3: (-2147483649 << 0) === 2147483647. Actual: ' + ((-2147483649 << 0))); -} - -// CHECK#4 -if ((-4294967296 << 0) !== 0) { - $ERROR('#4: (-4294967296 << 0) === 0. Actual: ' + ((-4294967296 << 0))); -} - -// CHECK#5 -if ((2147483646 << 0) !== 2147483646) { - $ERROR('#5: (2147483646 << 0) === 2147483646. Actual: ' + ((2147483646 << 0))); -} - -// CHECK#6 -if ((2147483647 << 0) !== 2147483647) { - $ERROR('#6: (2147483647 << 0) === 2147483647. Actual: ' + ((2147483647 << 0))); -} - -// CHECK#7 -if ((2147483648 << 0) !== -2147483648) { - $ERROR('#7: (2147483648 << 0) === -2147483648. Actual: ' + ((2147483648 << 0))); -} - -// CHECK#8 -if ((4294967296 << 0) !== 0) { - $ERROR('#8: (4294967296 << 0) === 0. Actual: ' + ((4294967296 << 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.js deleted file mode 100644 index 059328db4c..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A2.1_T2; - * @section: 9.5, 11.4.8; - * @assertion: ToInt32 returns values between -2^31 and 2^31-1; - * @description: Converting some numbers, which are in\outside of Int32 scopes, with ~ operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A2.1_T2", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.js", - -assertion: "ToInt32 returns values between -2^31 and 2^31-1", - -description: "Converting some numbers, which are in\\outside of Int32 scopes, with ~ operator", - -test: function testcase() { - // CHECK#1 -if (~-2147483649 !== ~2147483647) { - $ERROR('#1: ~-2147483649 === ~2147483647'); -} - -// CHECK#2 -if (~-4294967296 !== ~0) { - $ERROR('#2: ~-4294967296 === ~0'); -} - -// CHECK#3 -if (~2147483648 !== ~-2147483648) { - $ERROR('#3: ~2147483648 === ~-2147483648'); -} - -// CHECK#4 -if (~4294967296 !== ~0) { - $ERROR('#4: ~4294967296 === ~0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.js deleted file mode 100644 index b17d715642..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.js +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A2.2_T1; - * @section: 9.5, 11.7.1; - * @assertion: Compute result modulo 2^32; - * @description: Use operator <<0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A2.2_T1", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.js", - -assertion: "Compute result modulo 2^32", - -description: "Use operator <<0", - -test: function testcase() { - // CHECK#1 -if ((-2147483647 << 0) !== -2147483647) { - $ERROR('#1: (-2147483647 << 0) === -2147483647. Actual: ' + ((-2147483647 << 0))); -} - -// CHECK#2 -if ((-2147483648 << 0) !== -2147483648) { - $ERROR('#2: (-2147483648 << 0) === -2147483648. Actual: ' + ((-2147483648 << 0))); -} - -// CHECK#3 -if ((-2147483649 << 0) !== 2147483647) { - $ERROR('#3: (-2147483649 << 0) === 2147483647. Actual: ' + ((-2147483649 << 0))); -} - -// CHECK#4 -if ((4294967295 << 0) !== -1) { - $ERROR('#4: (4294967295 << 0) === -1. Actual: ' + ((4294967295 << 0))); -} - -// CHECK#5 -if ((4294967296 << 0) !== 0) { - $ERROR('#5: (4294967296 << 0) === 0. Actual: ' + ((4294967296 << 0))); -} - -// CHECK#6 -if ((4294967297 << 0) !== 1) { - $ERROR('#6: (4294967297 << 0) === 1. Actual: ' + ((4294967297 << 0))); -} - -// CHECK#7 -if ((-4294967295 << 0) !== 1) { - $ERROR('#7: (-4294967295 << 0) === 1. Actual: ' + ((-4294967295 << 0))); -} - -// CHECK#8 -if ((-4294967296 << 0) !== 0) { - $ERROR('#8: (-4294967296 << 0) === 0. Actual: ' + ((-4294967296 << 0))); -} - -// CHECK#9 -if ((-4294967297 << 0) !== -1) { - $ERROR('#9: (-4294967297 << 0) === -1. Actual: ' + ((-4294967297 << 0))); -} - -// CHECK#10 -if ((8589934591 << 0) !== -1) { - $ERROR('#10: (8589934591 << 0) === -1. Actual: ' + ((8589934591 << 0))); -} - -// CHECK#11 -if ((8589934592 << 0) !== 0) { - $ERROR('#11: (8589934592 << 0) === 0. Actual: ' + ((8589934592 << 0))); -} - -// CHECK#12 -if ((8589934593 << 0) !== 1) { - $ERROR('#12: (8589934593 << 0) === 1. Actual: ' + ((8589934593 << 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.js deleted file mode 100644 index 2a5038a2e8..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.js +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A2.2_T2; - * @section: 9.5, 11.4.8; - * @assertion: Compute result modulo 2^32; - * @description: Use operator ~; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A2.2_T2", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.js", - -assertion: "Compute result modulo 2^32", - -description: "Use operator ~", - -test: function testcase() { - // CHECK#1 -if (~-2147483647 !== 2147483646) { - $ERROR('#1: ~-2147483647 === 2147483646)'); -} - -// CHECK#2 -if (~-2147483648 !== ~-2147483648) { - $ERROR('#2: ~-2147483648 ==== ~-2147483648)'); -} - -// CHECK#3 -if (~-2147483649 !== ~2147483647) { - $ERROR('#3: ~-2147483649 ==== ~2147483647)'); -} - -// CHECK#4 -if ((~4294967295 << 0) !== ~-1) { - $ERROR('#4: (~4294967295 << 0) === ~-1)'); -} - -// CHECK#5 -if ((~4294967296 << 0) !== ~0) { - $ERROR('#5: (~4294967296 << 0) === ~0)'); -} - -// CHECK#6 -if ((~4294967297 << 0) !== ~1) { - $ERROR('#6: (~4294967297 << 0) === ~1)'); -} - -// CHECK#7 -if ((~-4294967295 << 0) !== ~1) { - $ERROR('#7: (~-4294967295 << 0) === ~1)'); -} - -// CHECK#8 -if ((~-4294967296 << 0) !== ~0) { - $ERROR('#8: (~-4294967296 << 0) === ~0)'); -} - -// CHECK#9 -if ((~-4294967297 << 0) !== ~-1) { - $ERROR('#9: (~-4294967297 << 0) === ~-1)'); -} - -// CHECK#10 -if ((~8589934591 << 0) !== ~-1) { - $ERROR('#10: (~8589934591 << 0) === ~-1)'); -} - -// CHECK#11 -if ((~8589934592 << 0) !== ~0) { - $ERROR('#11: (~8589934592 << 0) === ~0)'); -} - -// CHECK#12 -if ((~8589934593 << 0) !== ~1) { - $ERROR('#12: (~8589934593 << 0) === ~1)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.js deleted file mode 100644 index 11ddc4405a..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A2.3_T1; - * @section: 9.5, 11.7.1; - * @assertion: If result is greater than or equal to 2^31, return result -2^32; - * @description: Use operator <<0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A2.3_T1", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.js", - -assertion: "If result is greater than or equal to 2^31, return result -2^32", - -description: "Use operator <<0", - -test: function testcase() { - // CHECK#1 -if ((2147483647 << 0) !== 2147483647) { - $ERROR('#1: (2147483647 << 0) === 2147483647. Actual: ' + ((2147483647 << 0))); -} - -// CHECK#2 -if ((2147483648 << 0) !== -2147483648) { - $ERROR('#2: (2147483648 << 0) === -2147483648. Actual: ' + ((2147483648 << 0))); -} - -// CHECK#3 -if ((2147483649 << 0) !== -2147483647) { - $ERROR('#3: (2147483649 << 0) === -2147483647. Actual: ' + ((2147483649 << 0))); -} - -// CHECK#4 -if ((4294967295 << 0) !== -1) { - $ERROR('#4: (4294967295 << 0) === -1. Actual: ' + ((4294967295 << 0))); -} - -// CHECK#5 -if ((4294967296 << 0) !== 0) { - $ERROR('#5: (4294967296 << 0) === 0. Actual: ' + ((4294967296 << 0))); -} - -// CHECK#6 -if ((4294967297 << 0) !== 1) { - $ERROR('#6: (4294967297 << 0) === 1. Actual: ' + ((4294967297 << 0))); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.js deleted file mode 100644 index 537f6160bd..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A2.3_T2; - * @section: 9.5, 11.4.8; - * @assertion: If result is greater than or equal to 2^31, return result -2^32; - * @description: Use operator ~; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A2.3_T2", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.js", - -assertion: "If result is greater than or equal to 2^31, return result -2^32", - -description: "Use operator ~", - -test: function testcase() { - // CHECK#1 -if (~2147483647 !== -2147483648) { - $ERROR('#1: ~2147483647 ==== -2147483648)'); -} - -// CHECK#2 -if (~2147483648 !== ~-2147483648) { - $ERROR('#2: ~2147483648 ==== ~-2147483648)'); -} - -// CHECK#3 -if (~2147483649 !== ~-2147483647) { - $ERROR('#3: ~2147483649 ==== ~-2147483647)'); -} - -// CHECK#4 -if (~4294967295 !== ~-1) { - $ERROR('#4: ~4294967295 ==== ~-1)'); -} - -// CHECK#5 -if (~4294967296 !== ~0) { - $ERROR('#5: ~4294967296 ==== ~0)'); -} - -// CHECK#6 -if (~4294967297 !== ~1) { - $ERROR('#6: ~4294967297 ==== ~1)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.js deleted file mode 100644 index efbc63073e..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A3.1_T1; - * @section: 9.5; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is Boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A3.1_T1", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is Boolean", - -test: function testcase() { - // CHECK#1 -if ((new Boolean(true) << 0) !== 1) { - $ERROR('#1: (new Boolean(true) << 0) === 1. Actual: ' + ((new Boolean(true) << 0))); -} - -// CHECK#2 -if ((false << 0) !== 0) { - $ERROR('#2: (false << 0) === 0. Actual: ' + ((false << 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.js deleted file mode 100644 index 5662d93c13..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A3.1_T2; - * @section: 9.5; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A3.1_T2", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is Number", - -test: function testcase() { - // CHECK#1 -if ((new Number(1) << 0) !== 1) { - $ERROR('#1: (new Number(1) << 0) === 1. Actual: ' + ((new Number(1) << 0))); -} - -// CHECK#2 -if ((-1.234 << 0) !== -1) { - $ERROR('#2: (-1.234 << 0) === -1. Actual: ' + ((-1.234 << 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.js deleted file mode 100644 index 9a298eeb72..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A3.1_T3; - * @section: 9.5; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A3.1_T3", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is String", - -test: function testcase() { - // CHECK#1 -if ((new String(1) << 0) !== 1) { - $ERROR('#1: (new String(1) << 0) === 1. Actual: ' + ((new String(1) << 0))); -} - -// CHECK#2 -if (("-1.234" << 0) !== -1) { - $ERROR('#2: ("-1.234" << 0) === -1. Actual: ' + (("-1.234" << 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.js deleted file mode 100644 index 73360aa70d..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A3.1_T4; - * @section: 9.5; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A3.1_T4", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is Object", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if (~object !== ~1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; ~object === ~1'); -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (~object !== ~1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; ~object === ~1'); -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if (~object !== ~1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; ~object === ~1'); -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - if (~object !== ~1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object === ~1'); - } -} -catch (e) { - if (e === ~"error") { - $ERROR('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if (~object !== ~1) { - $ERROR('#5: var object = {toString: function() {return 1}}; ~object === ~1'); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if (~object !== ~1) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; ~object === ~1'); -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - ~object; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ~object throw "error". Actual: ' + (~object)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ~object throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - ~object; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ~object throw TypeError. Actual: ' + (~object)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ~object throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.js deleted file mode 100644 index 0ebeef508c..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A3.2_T1; - * @section: 9.5; - * @assertion: Operator uses floor, abs; - * @description: Use operator <<0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A3.2_T1", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.js", - -assertion: "Operator uses floor, abs", - -description: "Use operator <<0", - -test: function testcase() { - // CHECK#1 -if ((1.2345 << 0) !== 1) { - $ERROR('#1: (1.2345 << 0) === 1. Actual: ' + ((1.2345 << 0))); -} - -// CHECK#2 -if ((-5.4321 << 0) !== -5) { - $ERROR('#2: (-5.4321 << 0) === -5. Actual: ' + ((-5.4321 << 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.js deleted file mode 100644 index d7401fadcc..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.5_A3.2_T2; - * @section: 9.5; - * @assertion: Operator uses floor, abs; - * @description: Use operator ~; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.5_A3.2_T2", - -path: "TestCases/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.js", - -assertion: "Operator uses floor, abs", - -description: "Use operator ~", - -test: function testcase() { - // CHECK#1 -if (~1.2345 !== ~1) { - $ERROR('#1: ~1.2345 === ~1)'); -} - -// CHECK#2 -if (~-5.4321 !== ~-5) { - $ERROR('#2: ~-5.4321 === ~-5)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A1.js deleted file mode 100644 index 4b192552b0..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A1.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.6_A1; - * @section: 9.6, 11.7.3; - * @assertion: If value is NaN, +0, -0, +Infinity, or -Infinity, return +0; - * @description: For testing use operator >>>0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.6_A1", - -path: "TestCases/09_Type_Conversion/9.6_ToUint32/S9.6_A1.js", - -assertion: "If value is NaN, +0, -0, +Infinity, or -Infinity, return +0", - -description: "For testing use operator >>>0", - -test: function testcase() { - // CHECK#1 -if ((Number.NaN >>> 0) !== +0) { - $ERROR('#1.1: (Number.NaN >>> 0) === 0. Actual: ' + ((Number.NaN >>> 0))); -} else if (1/(Number.NaN >>> 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: (Number.NaN >>> 0) === +0. Actual: -0'); -} - -// CHECK#2 -if ((Number("abc") >>> 0) !== +0) { - $ERROR('#2.1: (Number("abc") >>> 0) === 0. Actual: ' + ((Number("abc") >>> 0))); -} else if (1/(0 >>> 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: (0 >>> 0) === +0. Actual: -0'); -} - -// CHECK#3 -if ((0 >>> 0) !== +0) { - $ERROR('#3.1: (0 >>> 0) === 0. Actual: ' + ((0 >>> 0))); -} else if (1/(0 >>> 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#3.2: (0 >>> 0) === +0. Actual: -0'); -} - -// CHECK#4 -if ((-0 >>> 0) !== +0) { - $ERROR("#4.1: (-0 >>> 0) === 0"); -} else if (1/(-0 >>> 0) !== Number.POSITIVE_INFINITY) { - $ERROR("#4.2: (-0 >>> 0) === +0. Actual: -0"); -} - -// CHECK#5 -if ((Number.POSITIVE_INFINITY >>> 0) !== +0) { - $ERROR('#5.1: (Number.POSITIVE_INFINITY >>> 0) === 0. Actual: ' + ((Number.POSITIVE_INFINITY >>> 0))); -} else if (1/(Number.POSITIVE_INFINITY >>> 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#5.2: (Number.POSITIVE_INFINITY >>> 0) === +0. Actual: -0'); -} - -// CHECK#6 -if ((Number.NEGATIVE_INFINITY >>> 0) !== +0) { - $ERROR("#6.1: (Number.NEGATIVE_INFINITY >>> 0) === 0"); -} else if (1/(Number.NEGATIVE_INFINITY >>> 0) !== Number.POSITIVE_INFINITY) { - $ERROR("#6.2: (Number.NEGATIVE_INFINITY >>> 0) === +0. Actual: -0"); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.js deleted file mode 100644 index 045364c969..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.6_A2.1; - * @section: 9.6, 11.7.3; - * @assertion: ToUint32 returns values between 0 and 2^32-1; - * @description: Converting numbers, which are in\outside of Uint32 scopes, with >>>0 operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.6_A2.1", - -path: "TestCases/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.js", - -assertion: "ToUint32 returns values between 0 and 2^32-1", - -description: "Converting numbers, which are in\\outside of Uint32 scopes, with >>>0 operator", - -test: function testcase() { - // CHECK#1 -if ((0 >>> 0) !== 0) { - $ERROR('#1: (0 >>> 0) === 0. Actual: ' + ((0 >>> 0))); -} - -// CHECK#2 -if ((1 >>> 0) !== 1) { - $ERROR('#2: (1 >>> 0) === 1. Actual: ' + ((1 >>> 0))); -} - -// CHECK#3 -if ((-1 >>> 0) !== 4294967295) { - $ERROR('#3: (-1 >>> 0) === 4294967295. Actual: ' + ((-1 >>> 0))); -} - -// CHECK#4 -if ((4294967295 >>> 0) !== 4294967295) { - $ERROR('#4: (4294967295 >>> 0) === 4294967295. Actual: ' + ((4294967295 >>> 0))); -} - -// CHECK#5 -if ((4294967294 >>> 0) !== 4294967294) { - $ERROR('#5: (4294967294 >>> 0) === 4294967294. Actual: ' + ((4294967294 >>> 0))); -} - -// CHECK#6 -if ((4294967296 >>> 0) !== 0) { - $ERROR('#6: (4294967296 >>> 0) === 0. Actual: ' + ((4294967296 >>> 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.js deleted file mode 100644 index 6274ebf354..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.js +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.6_A2.2; - * @section: 9.6, 11.7.3; - * @assertion: Compute result modulo 2^32; - * @description: Use operator >>>0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.6_A2.2", - -path: "TestCases/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.js", - -assertion: "Compute result modulo 2^32", - -description: "Use operator >>>0", - -test: function testcase() { - // CHECK#1 -if ((-2147483647 >>> 0) !== 2147483649) { - $ERROR('#1: (-2147483647 >>> 0) === 2147483649. Actual: ' + ((-2147483647 >>> 0))); -} - -// CHECK#2 -if ((-2147483648 >>> 0) !== 2147483648) { - $ERROR('#2: (-2147483648 >>> 0) === 2147483648. Actual: ' + ((-2147483648 >>> 0))); -} - -// CHECK#3 -if ((-2147483649 >>> 0) !== 2147483647) { - $ERROR('#3: (-2147483649 >>> 0) === 2147483647. Actual: ' + ((-2147483649 >>> 0))); -} - -// CHECK#4 -if ((-4294967295 >>> 0) !== 1) { - $ERROR('#4: (-4294967295 >>> 0) === 1. Actual: ' + ((-4294967295 >>> 0))); -} - -// CHECK#5 -if ((-4294967296 >>> 0) !== 0) { - $ERROR('#5: (-4294967296 >>> 0) === 0. Actual: ' + ((-4294967296 >>> 0))); -} - -// CHECK#6 -if ((-4294967297 >>> 0) !== 4294967295) { - $ERROR('#6: (-4294967297 >>> 0) === 4294967295. Actual: ' + ((-4294967297 >>> 0))); -} - -// CHECK#7 -if ((4294967295 >>> 0) !== 4294967295) { - $ERROR('#7: (4294967295 >>> 0) === 4294967295. Actual: ' + ((4294967295 >>> 0))); -} - -// CHECK#8 -if ((4294967296 >>> 0) !== 0) { - $ERROR('#8: (4294967296 >>> 0) === 0. Actual: ' + ((4294967296 >>> 0))); -} - -// CHECK#9 -if ((4294967297 >>> 0) !== 1) { - $ERROR('#9: (4294967297 >>> 0) === 1. Actual: ' + ((4294967297 >>> 0))); -} - -// CHECK#10 -if ((8589934591 >>> 0) !== 4294967295) { - $ERROR('#10: (8589934591 >>> 0) === 4294967295. Actual: ' + ((8589934591 >>> 0))); -} - -// CHECK#11 -if ((8589934592 >>> 0) !== 0) { - $ERROR('#11: (8589934592 >>> 0) === 0. Actual: ' + ((8589934592 >>> 0))); -} - -// CHECK#12 -if ((8589934593 >>> 0) !== 1) { - $ERROR('#12: (8589934593 >>> 0) === 1. Actual: ' + ((8589934593 >>> 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.js deleted file mode 100644 index f2c446e75e..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.6_A3.1_T1; - * @section: 9.6; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is Boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.6_A3.1_T1", - -path: "TestCases/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is Boolean", - -test: function testcase() { - // CHECK#1 -if ((new Boolean(true) >>> 0) !== 1) { - $ERROR('#1: (new Boolean(true) >>> 0) === 1. Actual: ' + ((new Boolean(true) >>> 0))); -} - -// CHECK#2 -if ((false >>> 0) !== 0) { - $ERROR('#2: (false >>> 0) === 0. Actual: ' + ((false >>> 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.js deleted file mode 100644 index 3a38b9d502..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.6_A3.1_T2; - * @section: 9.6; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.6_A3.1_T2", - -path: "TestCases/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is Number", - -test: function testcase() { - // CHECK#1 -if ((new Number(1) >>> 0) !== 1) { - $ERROR('#1: (new Number(1) >>> 0) === 1. Actual: ' + ((new Number(1) >>> 0))); -} - -// CHECK#2 -if ((-1.234 >>> 0) !== 4294967295) { - $ERROR('#2: (-1.234 >>> 0) === 4294967295. Actual: ' + ((-1.234 >>> 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.js deleted file mode 100644 index 5df789dd83..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.6_A3.1_T3; - * @section: 9.6; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.6_A3.1_T3", - -path: "TestCases/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is String", - -test: function testcase() { - // CHECK#1 -if ((new String(1) >>> 0) !== 1) { - $ERROR('#1: (new String(1) >>> 0) === 1. Actual: ' + ((new String(1) >>> 0))); -} - -// CHECK#2 -if (("-1.234" >>> 0) !== 4294967295) { - $ERROR('#2: ("-1.234" >>> 0) === 4294967295. Actual: ' + (("-1.234" >>> 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.js b/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.js deleted file mode 100644 index 7529c044e5..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.6_A3.1_T4; - * @section: 9.6; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.6_A3.1_T4", - -path: "TestCases/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is Object", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if ((object >>> 0) !== 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if ((object >>> 0) !== 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if ((object >>> 0) !== 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - if ((object >>> 0) !== 1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if ((object >>> 0) !== 1) { - $ERROR('#5: var object = {toString: function() {return 1}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if ((object >>> 0) !== 1) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - object >>> 0; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object throw "error". Actual: ' + (object >>> 0)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - object >>> 0; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object throw TypeError. Actual: ' + (object >>> 0)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.js deleted file mode 100644 index a1cbe33776..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.6_A3.2_T1; - * @section: 9.6; - * @assertion: Operator uses floor, abs; - * @description: Use operator >>>0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.6_A3.2_T1", - -path: "TestCases/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.js", - -assertion: "Operator uses floor, abs", - -description: "Use operator >>>0", - -test: function testcase() { - // CHECK#1 -if ((1.2345 >>> 0) !== 1) { - $ERROR('#1: (1.2345 >>> 0) === 1. Actual: ' + ((1.2345 >>> 0))); -} - -// CHECK#2 -if ((-5.4321 >>> 0) !== 4294967291) { - $ERROR('#2: (-5.4321 >>> 0) === 4294967291. Actual: ' + ((-5.4321 >>> 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A1.js deleted file mode 100644 index e3facb29a3..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A1.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.7_A1; - * @section: 9.7, 15.5.3.2, 15.5.4.5; - * @assertion: If value is NaN, +0, -0, +Infinity, or -Infinity, return +0; - * @description: For testing use String.fromCharCode(Number).charCodeAt(0) construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.7_A1", - -path: "TestCases/09_Type_Conversion/9.7_ToUint16/S9.7_A1.js", - -assertion: "If value is NaN, +0, -0, +Infinity, or -Infinity, return +0", - -description: "For testing use String.fromCharCode(Number).charCodeAt(0) construction", - -test: function testcase() { - // CHECK#1 -if (String.fromCharCode(Number.NaN).charCodeAt(0) !== +0) { - $ERROR('#1.1: String.fromCharCode(Number.NaN).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(Number.NaN).charCodeAt(0))); -} else if (1/String.fromCharCode(Number.NaN).charCodeAt(0) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: String.fromCharCode(Number.NaN).charCodeAt(0) === +0. Actual: -0'); -} - -// CHECK#2 -if (String.fromCharCode(Number("abc")).charCodeAt(0) !== +0) { - $ERROR('#2.1: String.fromCharCode(Number("abc")).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(Number("abc")).charCodeAt(0))); -} else if (1/String.fromCharCode(0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: String.fromCharCode(0).charCodeAt(0) === +0. Actual: -0'); -} - -// CHECK#3 -if (String.fromCharCode(0).charCodeAt(0) !== +0) { - $ERROR('#3.1: String.fromCharCode(0).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(0).charCodeAt(0))); -} else if (1/String.fromCharCode(0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { - $ERROR('#3.2: String.fromCharCode(0).charCodeAt(0) === +0. Actual: -0'); -} - -// CHECK#4 -if (String.fromCharCode(-0).charCodeAt(0) !== +0) { - $ERROR("#4.1: String.fromCharCode(-0).charCodeAt(0) === +0"); -} else if (1/String.fromCharCode(-0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { - $ERROR("#4.2: String.fromCharCode(-0).charCodeAt(0) === +0. Actual: -0"); -} - -// CHECK#5 -if (String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) !== +0) { - $ERROR('#5.1: String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0))); -} else if (1/String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) !== Number.POSITIVE_INFINITY) { - $ERROR('#5.2: String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) === +0. Actual: -0'); -} - -// CHECK#6 -if (String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) !== +0) { - $ERROR("#6.1: String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) === +0"); -} else if (1/String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) !== Number.POSITIVE_INFINITY) { - $ERROR("#6.2: String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) === +0. Actual: -0"); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.js deleted file mode 100644 index 7246ad2b73..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.7_A2.1; - * @section: 9.7, 11.7.3; - * @assertion: ToUint16 returns values between 0 and 2^16-1; - * @description: Converting numbers, which are in\outside of Uint16 scopes, with String.fromCharCode(Number).charCodeAt(0) construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.7_A2.1", - -path: "TestCases/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.js", - -assertion: "ToUint16 returns values between 0 and 2^16-1", - -description: "Converting numbers, which are in\\outside of Uint16 scopes, with String.fromCharCode(Number).charCodeAt(0) construction", - -test: function testcase() { - // CHECK#1 -if (String.fromCharCode(0).charCodeAt(0) !== 0) { - $ERROR('#1: String.fromCharCode(0).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(0).charCodeAt(0))); -} - -// CHECK#2 -if (String.fromCharCode(1).charCodeAt(0) !== 1) { - $ERROR('#2: String.fromCharCode(1).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(1).charCodeAt(0))); -} - -// CHECK#3 -if (String.fromCharCode(-1).charCodeAt(0) !== 65535) { - $ERROR('#3: String.fromCharCode(-1).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(-1).charCodeAt(0))); -} - -// CHECK#4 -if (String.fromCharCode(65535).charCodeAt(0) !== 65535) { - $ERROR('#4: String.fromCharCode(65535).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(65535).charCodeAt(0))); -} - -// CHECK#5 -if (String.fromCharCode(65534).charCodeAt(0) !== 65534) { - $ERROR('#5: String.fromCharCode(65534).charCodeAt(0) === 65534. Actual: ' + (String.fromCharCode(65534).charCodeAt(0))); -} - -// CHECK#6 -if (String.fromCharCode(65536).charCodeAt(0) !== 0) { - $ERROR('#6: String.fromCharCode(65536).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(65536).charCodeAt(0))); -} - -// CHECK#7 -if (String.fromCharCode(4294967295).charCodeAt(0) !== 65535) { - $ERROR('#7: String.fromCharCode(4294967295).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(4294967295).charCodeAt(0))); -} - -// CHECK#8 -if (String.fromCharCode(4294967294).charCodeAt(0) !== 65534) { - $ERROR('#8: String.fromCharCode(4294967294).charCodeAt(0) === 65534. Actual: ' + (String.fromCharCode(4294967294).charCodeAt(0))); -} - -// CHECK#9 -if (String.fromCharCode(4294967296).charCodeAt(0) !== 0) { - $ERROR('#9: String.fromCharCode(4294967296).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(4294967296).charCodeAt(0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.js deleted file mode 100644 index 6beadcc926..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.js +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.7_A2.2; - * @section: 9.7, 11.7.3; - * @assertion: Compute result modulo 2^16; - * @description: For testing use String.fromCharCode(Number).charCodeAt(0) construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.7_A2.2", - -path: "TestCases/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.js", - -assertion: "Compute result modulo 2^16", - -description: "For testing use String.fromCharCode(Number).charCodeAt(0) construction", - -test: function testcase() { - // CHECK#1 -if (String.fromCharCode(-32767).charCodeAt(0) !== 32769) { - $ERROR('#1: String.fromCharCode(-32767).charCodeAt(0) === 32769. Actual: ' + (String.fromCharCode(-32767).charCodeAt(0))); -} - -// CHECK#2 -if (String.fromCharCode(-32768).charCodeAt(0) !== 32768) { - $ERROR('#2: String.fromCharCode(-32768).charCodeAt(0) === 32768. Actual: ' + (String.fromCharCode(-32768).charCodeAt(0))); -} - -// CHECK#3 -if (String.fromCharCode(-32769).charCodeAt(0) !== 32767) { - $ERROR('#3: String.fromCharCode(-32769).charCodeAt(0) === 32767. Actual: ' + (String.fromCharCode(-32769).charCodeAt(0))); -} - -// CHECK#4 -if (String.fromCharCode(-65535).charCodeAt(0) !== 1) { - $ERROR('#4: String.fromCharCode(-65535).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(-65535).charCodeAt(0))); -} - -// CHECK#5 -if (String.fromCharCode(-65536).charCodeAt(0) !== 0) { - $ERROR('#5: String.fromCharCode(-65536).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(-65536).charCodeAt(0))); -} - -// CHECK#6 -if (String.fromCharCode(-65537).charCodeAt(0) !== 65535) { - $ERROR('#6: String.fromCharCode(-65537).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(-65537).charCodeAt(0))); -} - -// CHECK#7 -if (String.fromCharCode(65535).charCodeAt(0) !== 65535) { - $ERROR('#7: String.fromCharCode(65535).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(65535).charCodeAt(0))); -} - -// CHECK#8 -if (String.fromCharCode(65536).charCodeAt(0) !== 0) { - $ERROR('#8: String.fromCharCode(65536).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(65536).charCodeAt(0))); -} - -// CHECK#9 -if (String.fromCharCode(65537).charCodeAt(0) !== 1) { - $ERROR('#9: String.fromCharCode(65537).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(65537).charCodeAt(0))); -} - -// CHECK#10 -if (String.fromCharCode(131071).charCodeAt(0) !== 65535) { - $ERROR('#10: String.fromCharCode(131071).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(131071).charCodeAt(0))); -} - -// CHECK#11 -if (String.fromCharCode(131072).charCodeAt(0) !== 0) { - $ERROR('#11: String.fromCharCode(131072).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(131072).charCodeAt(0))); -} - -// CHECK#12 -if (String.fromCharCode(131073).charCodeAt(0) !== 1) { - $ERROR('#12: String.fromCharCode(131073).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(131073).charCodeAt(0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.js deleted file mode 100644 index 3f4b9b5824..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.7_A3.1_T1; - * @section: 9.7; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is Boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.7_A3.1_T1", - -path: "TestCases/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is Boolean", - -test: function testcase() { - // CHECK#1 -if (String.fromCharCode(new Boolean(true)).charCodeAt(0) !== 1) { - $ERROR('#1: String.fromCharCode(new Boolean(true)).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(new Boolean(true)).charCodeAt(0))); -} - -// CHECK#2 -if (String.fromCharCode(false).charCodeAt(0) !== 0) { - $ERROR('#2: String.fromCharCode(false).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(false).charCodeAt(0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.js deleted file mode 100644 index 218c901f4a..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.7_A3.1_T2; - * @section: 9.7; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.7_A3.1_T2", - -path: "TestCases/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is Number", - -test: function testcase() { - // CHECK#1 -if (String.fromCharCode(new Number(1)).charCodeAt(0) !== 1) { - $ERROR('#1: String.fromCharCode(new Number(1)).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(new Number(1)).charCodeAt(0))); -} - -// CHECK#2 -if (String.fromCharCode(-1.234).charCodeAt(0) !== 65535) { - $ERROR('#2: String.fromCharCode(-1.234).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(-1.234).charCodeAt(0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js deleted file mode 100644 index b6148c42bc..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.7_A3.1_T3; - * @section: 9.7; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.7_A3.1_T3", - -path: "TestCases/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is String", - -test: function testcase() { - // CHECK#1 -if (String.fromCharCode(new String(1)).charCodeAt(0) !== 1) { - $ERROR('#1: String.fromCharCode(new String(1)).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(new String(1)).charCodeAt(0))); -} - -// CHECK#2 -if (String.fromCharCode("-1.234").charCodeAt(0) !== 65535) { - $ERROR('#2: String.fromCharCode("-1.234").charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode("-1.234").charCodeAt(0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.js b/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.js deleted file mode 100644 index 0402c9a32a..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.7_A3.1_T4; - * @section: 9.7; - * @assertion: Operator uses ToNumber; - * @description: Type(x) is Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.7_A3.1_T4", - -path: "TestCases/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.js", - -assertion: "Operator uses ToNumber", - -description: "Type(x) is Object", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if (String.fromCharCode(object).charCodeAt(0) !== 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (String.fromCharCode(object).charCodeAt(0) !== 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if (String.fromCharCode(object).charCodeAt(0) !== 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - if (String.fromCharCode(object).charCodeAt(0) !== 1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if (String.fromCharCode(object).charCodeAt(0) !== 1) { - $ERROR('#5: var object = {toString: function() {return 1}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if (String.fromCharCode(object).charCodeAt(0) !== 1) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - object >>> 0; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object throw "error". Actual: ' + (object >>> 0)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - object >>> 0; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object throw TypeError. Actual: ' + (object >>> 0)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.js deleted file mode 100644 index a3303658b2..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.7_A3.2_T1; - * @section: 9.7; - * @assertion: Operator uses floor, abs; - * @description: For testing use String.fromCharCode(Number).charCodeAt(0) construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.7_A3.2_T1", - -path: "TestCases/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.js", - -assertion: "Operator uses floor, abs", - -description: "For testing use String.fromCharCode(Number).charCodeAt(0) construction", - -test: function testcase() { - // CHECK#1 -if (String.fromCharCode(1.2345).charCodeAt(0) !== 1) { - $ERROR('#1: String.fromCharCode(1.2345).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(1.2345).charCodeAt(0))); -} - -// CHECK#2 -if (String.fromCharCode(-5.4321).charCodeAt(0) !== 65531) { - $ERROR('#2: String.fromCharCode(-5.4321).charCodeAt(0) === 65531. Actual: ' + (String.fromCharCode(-5.4321).charCodeAt(0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.js deleted file mode 100644 index d33c4613e5..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A1; - * @section: 9.8.1; - * @assertion: If m is NaN, return the string "NaN"; - * @description: NaN convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A1", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.js", - -assertion: "If m is NaN, return the string \"NaN\"", - -description: "NaN convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(NaN) !== "NaN") { - $ERROR('#1: String(NaN) === Not-a-Number Actual: ' + (String(NaN))); -} - -// CHECK#2 -if (String(Number.NaN) !== "NaN") { - $ERROR('#2: String(Number.NaN) === Not-a-Number Actual: ' + (String(Number.NaN))); -} - -// CHECK#3 -if (String(Number("asasa")) !== "NaN") { - $ERROR('#3: String(Number("asasa")) === Not-a-Number Actual: ' + (String(Number("asasa")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.js deleted file mode 100644 index ee4ba15368..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A10; - * @section: 9.8.1; - * @assertion: Return the string consisting of the most significant - * digit of the decimal representation of s, followed by a decimal point '.', - * followed by the remaining k-1 digits of the decimal representation of s, - * followed by the lowercase character 'e', followed by a plus sign '+' or - * minus sign '-' according to whether n-1 is positive or negative, followed - * by the decimal representation of the integer abs(n-1) (with no leading zeros); - * @description: Various float numbers convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A10", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.js", - -assertion: "Return the string consisting of the most significant", - -description: "Various float numbers convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(1.2345) !== "1.2345") { - $ERROR('#1: String(1.2345) === "1.2345". Actual: ' + (String(1.2345))); -} - -// CHECK#2 -if (String(1.234567890) !== "1.23456789") { - $ERROR('#2: String(1.234567890) === "1.23456789". Actual: ' + (String(1.234567890))); -} - -// CHECK#3 -if (String(0.12345) !== "0.12345") { - $ERROR('#3: String(0.12345) === "0.12345". Actual: ' + (String(0.12345))); -} - -// CHECK#4 -if (String(.012345) !== "0.012345") { - $ERROR('#4: String(.012345) === "0.012345". Actual: ' + (String(.012345))); -} - -// CHECK#5 -if (String(.0012345) !== "0.0012345") { - $ERROR('#5: String(.0012345) === "0.0012345". Actual: ' + (String(.0012345))); -} - -// CHECK#6 -if (String(.00012345) !== "0.00012345") { - $ERROR('#6: String(.00012345) === "0.00012345". Actual: ' + (String(.00012345))); -} - -// CHECK#7 -if (String(.000012345) !== "0.000012345") { - $ERROR('#7: String(.000012345) === "0.000012345". Actual: ' + (String(.000012345))); -} - -// CHECK#8 -if (String(.0000012345) !== "0.0000012345") { - $ERROR('#8: String(.0000012345) === "0.0000012345". Actual: ' + (String(.0000012345))); -} - -// CHECK#9 -if (String(.00000012345) !== "1.2345e-7") { - $ERROR('#9: String(.00000012345) === "1.2345e-7". Actual: ' + (String(.00000012345))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.js deleted file mode 100644 index 09af32c3c1..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A2; - * @section: 9.8.1; - * @assertion: If m is +0 or -0, return the string "0"; - * @description: +0 and -0 convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A2", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.js", - -assertion: "If m is +0 or -0, return the string \"0\"", - -description: "+0 and -0 convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(+0) !== "0") { - $ERROR('#1: String(+0) === "0". Actual: ' + (String(+0))); -} - -// CHECK#2 -if (String(-0) !== "0") { - $ERROR('#2: String(-0) === "0". Actual: ' + (String(-0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.js deleted file mode 100644 index a7ca7a7523..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A3; - * @section: 9.8.1; - * @assertion: If m is less than zero, return the string concatenation of the - * string "-" and ToString(-m); - * @description: -1234567890 convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A3", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.js", - -assertion: "If m is less than zero, return the string concatenation of the", - -description: "-1234567890 convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(-1234567890) !== "-1234567890") { - $ERROR('#1: String(-1234567890) === "-1234567890". Actual: ' + (String(-1234567890))); -} - -// CHECK#2 -if ("-"+String(-(-1234567890)) !== "-1234567890") { - $ERROR('#2: "-"+String(-(-1234567890)) === "-1234567890". Actual: ' + ("-"+String(-(-1234567890)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.js deleted file mode 100644 index 6e9955d8ba..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A4; - * @section: 9.8.1; - * @assertion: If m is infinity, return the string "Infinity"; - * @description: +/-Infinity convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A4", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.js", - -assertion: "If m is infinity, return the string \"Infinity\"", - -description: "+/-Infinity convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(Infinity) !== "Infinity") { - $ERROR('#1: String(Infinity) === "Infinity". Actual: ' + (String(Infinity))); -} - -// CHECK#2 -if (String(Number.POSITIVE_INFINITY) !== "Infinity") { - $ERROR('#2: String(Number.POSITIVE_INFINITY) === "Infinity". Actual: ' + (String(Number.POSITIVE_INFINITY))); -} - -// CHECK#3 -if (String(-Infinity) !== "-Infinity") { - $ERROR('#3: String(-Infinity) === "-Infinity". Actual: ' + (String(-Infinity))); -} - -// CHECK#4 -if (String(Number.NEGATIVE_INFINITY) !== "-Infinity") { - $ERROR('#4: String(Number.NEGATIVE_INFINITY) === "-Infinity". Actual: ' + (String(Number.NEGATIVE_INFINITY))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.js deleted file mode 100644 index b32f07ece2..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.js +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A6; - * @section: 9.8.1; - * @assertion: If 1 <= s < 1e21 or -1e21 s < -1, return the string - * consisting of the k digits of the decimal representation of s (in order, - * with no leading zeroes), followed by n-k occurrences of the character '0'; - * @description: Various integer numbers convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A6", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.js", - -assertion: "If 1 <= s < 1e21 or -1e21 s < -1, return the string", - -description: "Various integer numbers convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(1) !== "1") { - $ERROR('#1: String(1) === "1". Actual: ' + (String(1))); -} - -// CHECK#2 -if (String(10) !== "10") { - $ERROR('#2: String(10) === "10". Actual: ' + (String(10))); -} - -// CHECK#3 -if (String(100) !== "100") { - $ERROR('#3: String(100) === "100". Actual: ' + (String(100))); -} - -// CHECK#4 -if (String(100000000000000000000) !== "100000000000000000000") { - $ERROR('#4: String(100000000000000000000) === "100000000000000000000". Actual: ' + (String(100000000000000000000))); -} - -// CHECK#5 -if (String(1e20) !== "100000000000000000000") { - $ERROR('#5: String(1e20) === "100000000000000000000". Actual: ' + (String(1e20))); -} - -// CHECK#6 -if (String(12345) !== "12345") { - $ERROR('#6: String(12345) === "12345". Actual: ' + (String(12345))); -} - -// CHECK#7 -if (String(12345000) !== "12345000") { - $ERROR('#7: String(12345000) === "12345000". Actual: ' + (String(12345000))); -} - -// CHECK#8 -if (String(-1) !== "-1") { - $ERROR('#8: String(-1) === "-1". Actual: ' + (String(-1))); -} - -// CHECK#9 -if (String(-10) !== "-10") { - $ERROR('#9: String(-10) === "-10". Actual: ' + (String(-10))); -} - -// CHECK#10 -if (String(-100) !== "-100") { - $ERROR('#3: String(-100) === "-100". Actual: ' + (String(-100))); -} - -// CHECK#10 -if (String(-100000000000000000000) !== "-100000000000000000000") { - $ERROR('#10: String(-100000000000000000000) === "-100000000000000000000". Actual: ' + (String(-100000000000000000000))); -} - -// CHECK#11 -if (String(-1e20) !== "-100000000000000000000") { - $ERROR('#11: String(-1e20) === "-100000000000000000000". Actual: ' + (String(-1e20))); -} - -// CHECK#12 -if (String(-12345) !== "-12345") { - $ERROR('#12: String(-12345) === "-12345". Actual: ' + (String(-12345))); -} - -// CHECK#13 -if (String(-12345000) !== "-12345000") { - $ERROR('#13: String(-12345000) === "-12345000". Actual: ' + (String(-12345000))); -} - -// CHECK#14 -if (String(1E20) !== "100000000000000000000") { - $ERROR('#14: String(1E20) === "100000000000000000000". Actual: ' + (String(1E20))); -} - -// CHECK#15 -if (String(-1E20) !== "-100000000000000000000") { - $ERROR('#15: String(-1E20) === "-100000000000000000000". Actual: ' + (String(-1E20))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.js deleted file mode 100644 index df36cea693..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A7; - * @section: 9.8.1; - * @assertion: If 1 <= s < 1e21 or -1e21 s < -1 and s has a fractional - * component, return the string consisting of the most significant n digits of - * the decimal representation of s, followed by a decimal point '.', - * followed by the remaining k-n digits of the decimal representation of s; - * @description: 1.0000001 and -1.0000001 convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A7", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.js", - -assertion: "If 1 <= s < 1e21 or -1e21 s < -1 and s has a fractional", - -description: "1.0000001 and -1.0000001 convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(1.0000001) !== "1.0000001") { - $ERROR('#1: String(1.0000001) === "1.0000001". Actual: ' + (String(1.0000001))); -} - -// CHECK#2 -if (String(-1.0000001) !== "-1.0000001") { - $ERROR('#2: String(-1.0000001) === "-1.0000001". Actual: ' + (String(-1.0000001))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.js deleted file mode 100644 index fe88f29cf5..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A8; - * @section: 9.8.1; - * @assertion: If 1 > s > -1, and -6 < n <= 0, return the string consisting of the - * character '0', followed by a decimal point '.', followed by -n occurrences - * of the character '0', followed by the k digits of the decimal - * representation of s; - * @description: Various float numbers convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A8", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.js", - -assertion: "If 1 > s > -1, and -6 < n <= 0, return the string consisting of the", - -description: "Various float numbers convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(0.1) !== "0.1") { - $ERROR('#1: String(0.1) === "0.1". Actual: ' + (String(0.1))); -} - -// CHECK#2 -if (String(0.000001) !== "0.000001") { - $ERROR('#2: String(0.000001) === "0.000001". Actual: ' + (String(0.000001))); -} - -// CHECK#3 -if (String(1e-6) !== "0.000001") { - $ERROR('#3: String(1e-6) === "0.000001". Actual: ' + (String(1e-6))); -} - -// CHECK#4 -if (String(1E-6) !== "0.000001") { - $ERROR('#4: String(1E-6) === "0.000001". Actual: ' + (String(1E-6))); -} - -// CHECK#5 -if (String(-0.1) !== "-0.1") { - $ERROR('#5: String(-0.1) === "-0.1". Actual: ' + (String(-0.1))); -} - -// CHECK#6 -if (String(-0.000001) !== "-0.000001") { - $ERROR('#6: String(-0.000001) === "-0.000001". Actual: ' + (String(-0.000001))); -} - -// CHECK#7 -if (String(-1e-6) !== "-0.000001") { - $ERROR('#7: String(-1e-6) === "0.000001". Actual: ' + (String(-1e-6))); -} - -// CHECK#8 -if (String(-1E-6) !== "-0.000001") { - $ERROR('#8: String(-1E-6) === "0.000001". Actual: ' + (String(-1E-6))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.js deleted file mode 100644 index 79bb0ae6fa..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A9_T1; - * @section: 9.8.1; - * @assertion: Return the string consisting of the single digit of s, - * followed by lowercase character 'e', followed by a plus sign '+' or minus - * sign '-' according to whether n-1 is positive or negative, followed by the - * decimal representation of the integer abs(n-1) (with no leading zeros); - * @description: Various big numbers convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A9_T1", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.js", - -assertion: "Return the string consisting of the single digit of s,", - -description: "Various big numbers convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(1000000000000000000000) !== "1e+21") { - $ERROR('#1: String(1000000000000000000000) === "1e+21". Actual: ' + (String(1000000000000000000000))); -} - -// CHECK#2 -if (String(10000000000000000000000) !== "1e+22") { - $ERROR('#2: String(10000000000000000000000) === "1e+22". Actual: ' + (String(10000000000000000000000))); -} - -// CHECK#3 -if (String(1e21) !== "1e+21") { - $ERROR('#3: String(1e21) === "1e+21". Actual: ' + (String(1e21))); -} - -// CHECK#4 -if (String(1.0e22) !== "1e+22") { - $ERROR('#4: String(1.0e22) === "1e+22". Actual: ' + (String(1.0e22))); -} - -// CHECK#5 -if (String(1E21) !== "1e+21") { - $ERROR('#5: String(1E21) === "1e+21". Actual: ' + (String(1E21))); -} - -// CHECK#6 -if (String(1.0E22) !== "1e+22") { - $ERROR('#6: String(1.0E22) === "1e+22". Actual: ' + (String(1.0E22))); -} - -// CHECK#7 -if (String(-1000000000000000000000) !== "-1e+21") { - $ERROR('#7: String(-1000000000000000000000) === "-1e+21". Actual: ' + (String(-1000000000000000000000))); -} - -// CHECK#8 -if (String(-10000000000000000000000) !== "-1e+22") { - $ERROR('#8: String(-10000000000000000000000) === "-1e+22". Actual: ' + (String(-10000000000000000000000))); -} - -// CHECK#9 -if (String(-1e21) !== "-1e+21") { - $ERROR('#9: String(-1e21) === "-1e+21". Actual: ' + (String(-1e21))); -} - -// CHECK#10 -if (String(-1.0e22) !== "-1e+22") { - $ERROR('#10: String(-1.0e22) === "-1e+22". Actual: ' + (String(-1.0e22))); -} - -// CHECK#11 -if (String(-1E21) !== "-1e+21") { - $ERROR('#11: String(-1E21) === "-1e+21". Actual: ' + (String(-1E21))); -} - -// CHECK#12 -if (String(-1.0E22) !== "-1e+22") { - $ERROR('#12: String(-1.0E22) === "-1e+22". Actual: ' + (String(-1.0E22))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.js deleted file mode 100644 index f9dd01e97a..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8.1_A9_T2; - * @section: 9.8.1; - * @assertion: Return the string consisting of the single digit of s, - * followed by lowercase character 'e', followed by a plus sign '+' or minus - * sign '-' according to whether n-1 is positive or negative, followed by the - * decimal representation of the integer abs(n-1) (with no leading zeros); - * @description: Various float numbers with many zeros convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8.1_A9_T2", - -path: "TestCases/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.js", - -assertion: "Return the string consisting of the single digit of s,", - -description: "Various float numbers with many zeros convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(0.0000001) !== "1e-7") { - $ERROR('#1: String(0.0000001) === "1e-7". Actual: ' + (String(0.0000001))); -} - -// CHECK#2 -if (String(0.000000000100000000000) !== "1e-10") { - $ERROR('#2: String(0.000000000100000000000) === "1e-10". Actual: ' + (String(0.000000000100000000000))); -} - -// CHECK#3 -if (String(1e-7) !== "1e-7") { - $ERROR('#3: String(1e-7) === "1e-7". Actual: ' + (String(1e-7))); -} - -// CHECK#4 -if (String(1.0e-10) !== "1e-10") { - $ERROR('#4: String(1.0e-10) === "1e-10". Actual: ' + (String(1.0e-10))); -} - -// CHECK#5 -if (String(1E-7) !== "1e-7") { - $ERROR('#5: String(1E-7) === "1e-7". Actual: ' + (String(1E-7))); -} - -// CHECK#6 -if (String(1.0E-10) !== "1e-10") { - $ERROR('#6: String(1.0E-10) === "1e-10". Actual: ' + (String(1.0E-10))); -} - -// CHECK#7 -if (String(-0.0000001) !== "-1e-7") { - $ERROR('#7: String(-0.0000001) === "1e-7". Actual: ' + (String(-0.0000001))); -} - -// CHECK#8 -if (String(-0.000000000100000000000) !== "-1e-10") { - $ERROR('#8: String(-0.000000000100000000000) === "1e-10". Actual: ' + (String(-0.000000000100000000000))); -} - -// CHECK#9 -if (String(-1e-7) !== "-1e-7") { - $ERROR('#9: String(-1e-7) === "-1e-7". Actual: ' + (String(-1e-7))); -} - -// CHECK#10 -if (String(-1.0e-10) !== "-1e-10") { - $ERROR('#10: String(-1.0e-10) === "-1e-10". Actual: ' + (String(-1.0e-10))); -} - -// CHECK#11 -if (String(-1E-7) !== "-1e-7") { - $ERROR('#11: String(-1E-7) === "-1e-7". Actual: ' + (String(-1E-7))); -} - -// CHECK#12 -if (String(-1.0E-10) !== "-1e-10") { - $ERROR('#12: String(-1.0E-10) === "-1e-10". Actual: ' + (String(-1.0E-10))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.js deleted file mode 100644 index a088cf3932..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A1_T1; - * @section: 9.8; - * @assertion: Result of ToString conversion from undefined value is "undefined"; - * @description: Undefined values is undefined, void 0 and eval("var x"). Use explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A1_T1", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.js", - -assertion: "Result of ToString conversion from undefined value is \"undefined\"", - -description: "Undefined values is undefined, void 0 and eval(\"var x\"). Use explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(undefined) !== "undefined") { - $ERROR('#1: String(undefined) === "undefined". Actual: ' + (String(undefined))); -} - -// CHECK#2 -if (String(void 0) !== "undefined") { - $ERROR('#2: String(void 0) === "undefined". Actual: ' + (String(void 0))); -} - -// CHECK#3 -if (String(eval("var x")) !== "undefined") { - $ERROR('#3: String(eval("var x")) === "undefined" . Actual: ' + (String(eval("var x")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.js deleted file mode 100644 index c5e40d6510..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A1_T2; - * @section: 9.8; - * @assertion: Result of ToString conversion from undefined value is "undefined"; - * @description: Undefined values is undefined, void 0 and eval("var x"). Use implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A1_T2", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.js", - -assertion: "Result of ToString conversion from undefined value is \"undefined\"", - -description: "Undefined values is undefined, void 0 and eval(\"var x\"). Use implicit transformation", - -test: function testcase() { - // CHECK#1 -if (undefined + "" !== "undefined") { - $ERROR('#1: undefined + "" === "undefined". Actual: ' + (undefined + "")); -} - -// CHECK#2 -if (void 0 + "" !== "undefined") { - $ERROR('#2: void 0 + "" === "undefined". Actual: ' + (void 0 + "")); -} - -// CHECK#3 -if (eval("var x") + "" !== "undefined") { - $ERROR('#3: eval("var x") + "" === "undefined". Actual: ' + (eval("var x") + "")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.js deleted file mode 100644 index f568172971..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A2_T1; - * @section: 9.8; - * @assertion: Result of ToString conversion from null value is "null"; - * @description: null convert to String by explicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A2_T1", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.js", - -assertion: "Result of ToString conversion from null value is \"null\"", - -description: "null convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(null) !== "null") { - $ERROR('#1: String(null) === "null". Actual: ' + (String(null))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.js deleted file mode 100644 index 7c0e1037a1..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A2_T2; - * @section: 9.8; - * @assertion: Result of ToString conversion from null value is "null"; - * @description: null convert to String by implicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A2_T2", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.js", - -assertion: "Result of ToString conversion from null value is \"null\"", - -description: "null convert to String by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (null + "" !== "null") { - $ERROR('#1: null + "" === "null". Actual: ' + (null + "")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.js deleted file mode 100644 index 5f7a1a85e0..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A3_T1; - * @section: 9.8; - * @assertion: Result of ToString conversion from boolean value is "true" if - * the argument is "true", else is "false"; - * @description: True and false convert to String by explicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A3_T1", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.js", - -assertion: "Result of ToString conversion from boolean value is \"true\" if", - -description: "True and false convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(false) !== "false") { - $ERROR('#1: String(false) === "false". Actual: ' + (String(false))); -} - -// CHECK#2 -if (String(true) !== "true") { - $ERROR('#2: String(true) === "true". Actual: ' + (String(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.js deleted file mode 100644 index 7986c743ba..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A3_T2; - * @section: 9.8; - * @assertion: Result of ToString conversion from boolean value is "true" if - * the argument is "true", else is "false"; - * @description: True and false convert to String by implicit transformation; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A3_T2", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.js", - -assertion: "Result of ToString conversion from boolean value is \"true\" if", - -description: "True and false convert to String by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (false + "" !== "false") { - $ERROR('#1: false + "" === "false". Actual: ' + (false + "")); -} - -// CHECK#2 -if (true + "" !== "true") { - $ERROR('#2: true + "" === "true". Actual: ' + (true + "")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.js deleted file mode 100644 index 82428471b7..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A4_T1; - * @section: 9.8; - * @assertion: Result of String conversion from string value is the input argument (no conversion); - * @description: Some strings convert to String with explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A4_T1", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.js", - -assertion: "Result of String conversion from string value is the input argument (no conversion)", - -description: "Some strings convert to String with explicit transformation", - -test: function testcase() { - // CHECK#1 -var x1 = "abc"; -if (String(x1) !== x1) { - $ERROR('#1: String("abc") === "abc". Actual: ' + (String("abc"))); -} - -// CHECK#2 -var x2 = "abc"; -if (typeof String(x2) !== typeof x2) { - $ERROR('#2: typeof String("abc") === "string". Actual: ' + (typeof String("abc"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.js deleted file mode 100644 index a5937ab281..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A4_T2; - * @section: 9.8; - * @assertion: Result of String conversion from string value is the input argument (no conversion); - * @description: Some strings convert to String by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A4_T2", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.js", - -assertion: "Result of String conversion from string value is the input argument (no conversion)", - -description: "Some strings convert to String by implicit transformation", - -test: function testcase() { - // CHECK#1 -var x1 = "abc"; -if (x1 + "" !== x1) { - $ERROR('#1: "abc" + "" === "abc". Actual: ' + ("abc" + "")); -} - -// CHECK#2 -var x2 = "abc"; -if (typeof x2 + "" !== typeof x2) { - $ERROR('#2: typeof "abc" + "" === "string". Actual: ' + (typeof "abc" + "")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.js deleted file mode 100644 index 96097cad7a..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.js +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A5_T1; - * @section: 9.8; - * @assertion: Result of String conversion from Object value is conversion - * from primitive value; - * @description: Some objects convert to String by explicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A5_T1", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.js", - -assertion: "Result of String conversion from Object value is conversion", - -description: "Some objects convert to String by explicit transformation", - -test: function testcase() { - // CHECK#1 -if (String(new Number()) !== "0") { - $ERROR('#1: String(new Number()) === "0". Actual: ' + (String(new Number()))); -} - -// CHECK#2 -if (String(new Number(0)) !== "0") { - $ERROR('#2: String(new Number(0)) === "0". Actual: ' + (String(new Number(0)))); -} - -// CHECK#3 -if (String(new Number(Number.NaN)) !== "NaN") { - $ERROR('#3: String(new Number(Number.NaN)) === Not-a-Number. Actual: ' + (String(new Number(Number.NaN)))); -} - -// CHECK#4 -if (String(new Number(null)) !== "0") { - $ERROR('#4: String(new Number(null)) === "0". Actual: ' + (String(new Number(null)))); -} - -// CHECK#5 -if (String(new Number(void 0)) !== "NaN") { - $ERROR('#5: String(new Number(void 0)) === Not-a-Number. Actual: ' + (String(new Number(void 0)))); -} - -// CHECK#6 -if (String(new Number(true)) !== "1") { - $ERROR('#6: String(new Number(true)) === "1". Actual: ' + (String(new Number(true)))); -} - -// CHECK#7 -if (String(new Number(false)) !== "0") { - $ERROR('#7: String(new Number(false)) === "0". Actual: ' + (String(new Number(false)))); -} - -// CHECK#8 -if (String(new Boolean(true)) !== "true") { - $ERROR('#8: String(new Boolean(true)) === "true". Actual: ' + (String(new Boolean(true)))); -} - -// CHECK#9 -if (String(new Boolean(false)) !== "false") { - $ERROR('#9: Number(new Boolean(false)) === "false". Actual: ' + (Number(new Boolean(false)))); -} - -// CHECK#10 -if (String(new Array(2,4,8,16,32)) !== "2,4,8,16,32") { - $ERROR('#10: String(new Array(2,4,8,16,32)) === "2,4,8,16,32". Actual: ' + (String(new Array(2,4,8,16,32)))); -} - -// CHECK#11 -var myobj1 = { - toNumber : function(){return 12345;}, - toString : function(){return 67890;}, - valueOf : function(){return "[object MyObj]";} - }; - -if (String(myobj1) !== "67890"){ - $ERROR("#11: String(myobj) calls ToPrimitive with hint String"); -} - -// CHECK#12 -var myobj2 = { - toNumber : function(){return 12345;}, - toString : function(){return {}}, - valueOf : function(){return "[object MyObj]";} - }; - -if (String(myobj2) !== "[object MyObj]"){ - $ERROR("#12: String(myobj) calls ToPrimitive with hint String"); -} - -// CHECK#13 -var myobj3 = { - toNumber : function(){return 12345;}, - valueOf : function(){return "[object MyObj]";} - }; - -if (String(myobj3) !== "[object Object]"){ - $ERROR("#13: String(myobj) calls ToPrimitive with hint String"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.js deleted file mode 100644 index 49878dd900..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.js +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.8_A5_T2; - * @section: 9.8; - * @assertion: Result of String conversion from Object value is conversion - * from primitive value; - * @description: Some objects convert to String by implicit transformation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.8_A5_T2", - -path: "TestCases/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.js", - -assertion: "Result of String conversion from Object value is conversion", - -description: "Some objects convert to String by implicit transformation", - -test: function testcase() { - // CHECK#1 -if (new Number() + "" !== "0") { - $ERROR('#1: new Number() + "" === "0". Actual: ' + (new Number() + "")); -} - -// CHECK#2 -if (new Number(0) + "" !== "0") { - $ERROR('#2: new Number(0) + "" === "0". Actual: ' + (new Number(0) + "")); -} - -// CHECK#3 -if (new Number(Number.NaN) + "" !== "NaN") { - $ERROR('#3: new Number(Number.NaN) + "" === "NaN". Actual: ' + (new Number(Number.NaN) + "")); -} - -// CHECK#4 -if (new Number(null) + "" !== "0") { - $ERROR('#4: new Number(null) + "" === "0". Actual: ' + (new Number(null) + "")); -} - -// CHECK#5 -if (new Number(void 0) + "" !== "NaN") { - $ERROR('#5: new Number(void 0) + "" === "NaN. Actual: ' + (new Number(void 0) + "")); -} - -// CHECK#6 -if (new Number(true) + "" !== "1") { - $ERROR('#6: new Number(true) + "" === "1". Actual: ' + (new Number(true) + "")); -} - -// CHECK#7 -if (new Number(false) + "" !== "0") { - $ERROR('#7: new Number(false) + "" === "0". Actual: ' + (new Number(false) + "")); -} - -// CHECK#8 -if (new Boolean(true) + "" !== "true") { - $ERROR('#8: new Boolean(true) + "" === "true". Actual: ' + (new Boolean(true) + "")); -} - -// CHECK#9 -if (new Boolean(false) + "" !== "false") { - $ERROR('#9: Number(new Boolean(false)) === "false". Actual: ' + (Number(new Boolean(false)))); -} - -// CHECK#10 -if (new Array(2,4,8,16,32) + "" !== "2,4,8,16,32") { - $ERROR('#10: new Array(2,4,8,16,32) + "" === "2,4,8,16,32". Actual: ' + (new Array(2,4,8,16,32) + "")); -} - -// CHECK#11 -var myobj1 = { - toNumber : function(){return 12345;}, - toString : function(){return 67890;}, - valueOf : function(){return "[object MyObj]";} - }; - -if (myobj1 + "" !== "[object MyObj]"){ - $ERROR('#11: myobj1 + "" calls ToPrimitive with hint Number. Exptected: "[object MyObj]". Actual: ' + (myobj1 + "")); -} - -// CHECK#12 -var myobj2 = { - toNumber : function(){return 12345;}, - toString : function(){return 67890}, - valueOf : function(){return {}} - }; - -if (myobj2 + "" !== "67890"){ - $ERROR('#12: myobj2 + "" calls ToPrimitive with hint Number. Exptected: "67890". Actual: ' + (myobj2 + "")); -} - -// CHECK#13 -var myobj3 = { - toNumber : function(){return 12345;} - }; - -if (myobj3 + "" !== "[object Object]"){ - $ERROR('#13: myobj3 + "" calls ToPrimitive with hint Number. Exptected: "[object Object]". Actual: ' + (myobj3 + "")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A1.js deleted file mode 100644 index dca8fecc4c..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A1.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.9_A1; - * @section: 9.9; - * @assertion: ToObject conversion from undefined value must throw TypeError; - * @description: Trying to convert undefined to Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.9_A1", - -path: "TestCases/09_Type_Conversion/9.9_ToObject/S9.9_A1.js", - -assertion: "ToObject conversion from undefined value must throw TypeError", - -description: "Trying to convert undefined to Object", - -test: function testcase() { - // CHECK#1 -try{ - undefined['foo']; - $ERROR('#1.1: undefined[\'foo\'] must throw TypeError. Actual: ' + (undefined['foo'])); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#1.2: undefined[\'foo\'] must throw TypeError. Actual: ' + (e)); - } -} - -// CHECK#2 -try{ - with(undefined) x = 2; - $ERROR('#2.1: with(undefined) x = 2 must throw TypeError. Actual: x === ' + (x)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#2.2: with(undefined) x = 2 must throw TypeError. Actual: ' + (e)); - } -} - -// CHECK#3 -try{ - for(var y in undefined) y = 2; - $ERROR('#3.1: for(var y in undefined) y = 2 must throw TypeError. Actual: y === ' + (y)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#3.2: for(var y in undefined) y = 2 must throw TypeError. Actual: ' + (e)); - } -} - -// CHECK#4 -try{ - for(var z in this.foo) z = 2; - $ERROR('#4.1: for(var z in this.foo) z = 2 must throw TypeError. Actual: z === ' + (z)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#4.2: for(var z in this.foo) z = 2 must throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A2.js b/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A2.js deleted file mode 100644 index da2407f156..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A2.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.9_A2; - * @section: 9.9; - * @assertion: ToObject conversion from null value must throw TypeError; - * @description: Trying to convert null to Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.9_A2", - -path: "TestCases/09_Type_Conversion/9.9_ToObject/S9.9_A2.js", - -assertion: "ToObject conversion from null value must throw TypeError", - -description: "Trying to convert null to Object", - -test: function testcase() { - // CHECK#1 -try{ - null['foo']; - $ERROR('#1.1: null[\'foo\'] throw TypeError. Actual: ' + (null['foo'])); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#1.2: null[\'foo\'] must throw TypeError. Actual: ' + (e)); - } -} - -// CHECK#2 -try{ - with(null) x = 2; - $ERROR('#2.1: with(null) x = 2 must throw TypeError. Actual: x === . Actual: ' + (x)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#2.2: with(null) x = 2 must throw TypeError. Actual: ' + (e)); - } -} - -// CHECK#3 -try{ - for(var y in null) y = 2; - $ERROR('#3.1: for(var y in null) y = 2 must throw TypeError. Actual: y === . Actual: ' + (y)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#3.2: for(var y in null) y = 2 must throw TypeError. Actual: ' + (e)); - } -} - -// CHECK#4 -try{ - for(var z in 'bbb'.match(/aaa/)) z = 2; - $ERROR('#4.1: for(var z in \'bbb\'.match(/aaa/)) z = 2 must throw TypeError. Actual: z === . Actual: ' + (z)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#4.2: for(var z in \'bbb\'.match(/aaa/)) z = 2 must throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A3.js deleted file mode 100644 index 9c84c0566d..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.9_A3; - * @section: 9.9; - * @assertion: ToObject conversion from Boolean: create a new Boolean object - * whose [[value]] property is set to the value of the boolean; - * @description: Trying to convert from Boolean to Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.9_A3", - -path: "TestCases/09_Type_Conversion/9.9_ToObject/S9.9_A3.js", - -assertion: "ToObject conversion from Boolean: create a new Boolean object", - -description: "Trying to convert from Boolean to Object", - -test: function testcase() { - // CHECK#1 -if (Object(true).valueOf() !== true){ - $ERROR('#1: Object(true).valueOf() === true. Actual: ' + (Object(true).valueOf())); -} - -// CHECK#2 -if (typeof Object(true) !== "object"){ - $ERROR('#2: typeof Object(true) === "object". Actual: ' + (typeof Object(true))); -} - -// CHECK#3 -if (Object(true).constructor.prototype !== Boolean.prototype){ - $ERROR('#3: Object(true).constructor.prototype === Boolean.prototype. Actual: ' + (Object(true).constructor.prototype)); -} - -// CHECK#4 -if (Object(false).valueOf() !== false){ - $ERROR('#4: Object(false).valueOf() === false. Actual: ' + (Object(false).valueOf())); -} - -// CHECK#5 -if (typeof Object(false) !== "object"){ - $ERROR('#5: typeof Object(false) === "object". Actual: ' + (typeof Object(false))); -} - -// CHECK#6 -if (Object(false).constructor.prototype !== Boolean.prototype){ - $ERROR('#6: Object(false).constructor.prototype === Boolean.prototype. Actual: ' + (Object(false).constructor.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A4.js b/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A4.js deleted file mode 100644 index ec7414149b..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A4.js +++ /dev/null @@ -1,194 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.9_A4; - * @section: 9.9; - * @assertion: ToObject conversion from Number: create a new Number object - * whose [[value]] property is set to the value of the number; - * @description: Converting from various numbers to Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.9_A4", - -path: "TestCases/09_Type_Conversion/9.9_ToObject/S9.9_A4.js", - -assertion: "ToObject conversion from Number: create a new Number object", - -description: "Converting from various numbers to Object", - -test: function testcase() { - // CHECK#1 -if (Object(0).valueOf() !== 0){ - $ERROR('#1: Object(0).valueOf() === 0. Actual: ' + (Object(0).valueOf())); -} - -// CHECK#2 -if (typeof Object(0) !== "object"){ - $ERROR('#2: typeof Object(0) === "object". Actual: ' + (typeof Object(0))); -} - -// CHECK#3 -if (Object(0).constructor.prototype !== Number.prototype){ - $ERROR('#3: Object(0).constructor.prototype === Number.prototype. Actual: ' + (Object(0).constructor.prototype)); -} - -// CHECK#4 -if (Object(-0).valueOf() !== -0){ - $ERROR('#4.1: Object(-0).valueOf() === 0. Actual: ' + (Object(-0).valueOf())); -} else if (1/Object(-0).valueOf() !== Number.NEGATIVE_INFINITY) { - $ERROR('#4.2: Object(-0).valueOf() === -0. Actual: +0'); -} - -// CHECK#5 -if (typeof Object(-0) !== "object"){ - $ERROR('#5: typeof Object(-0) === "object". Actual: ' + (typeof Object(-0))); -} - -// CHECK#6 -if (Object(-0).constructor.prototype !== Number.prototype){ - $ERROR('#6: Object(-0).constructor.prototype === Number.prototype. Actual: ' + (Object(-0).constructor.prototype)); -} - -// CHECK#7 -if (Object(1).valueOf() !== 1){ - $ERROR('#7: Object(1).valueOf() === 1. Actual: ' + (Object(1).valueOf())); -} - -// CHECK#8 -if (typeof Object(1) !== "object"){ - $ERROR('#8: typeof Object(1) === "object". Actual: ' + (typeof Object(1))); -} - -// CHECK#9 -if (Object(1).constructor.prototype !== Number.prototype){ - $ERROR('#9: Object(1).constructor.prototype === Number.prototype. Actual: ' + (Object(1).constructor.prototype)); -} - -// CHECK#10 -if (Object(-1).valueOf() !== -1){ - $ERROR('#10: Object(-1).valueOf() === -1. Actual: ' + (Object(-1).valueOf())); -} - -// CHECK#11 -if (typeof Object(-1) !== "object"){ - $ERROR('#11: typeof Object(-1) === "object". Actual: ' + (typeof Object(-1))); -} - -// CHECK#12 -if (Object(-1).constructor.prototype !== Number.prototype){ - $ERROR('#12: Object(-1).constructor.prototype === Number.prototype. Actual: ' + (Object(-1).constructor.prototype)); -} - -// CHECK#13 -if (Object(Number.MIN_VALUE).valueOf() !== Number.MIN_VALUE){ - $ERROR('#13: Object(Number.MIN_VALUE).valueOf() === Number.MIN_VALUE. Actual: ' + (Object(Number.MIN_VALUE).valueOf())); -} - -// CHECK#14 -if (typeof Object(Number.MIN_VALUE) !== "object"){ - $ERROR('#14: typeof Object(Number.MIN_VALUE) === "object". Actual: ' + (typeof Object(Number.MIN_VALUE))); -} - -// CHECK#15 -if (Object(Number.MIN_VALUE).constructor.prototype !== Number.prototype){ - $ERROR('#15: Object(Number.MIN_VALUE).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.MIN_VALUE).constructor.prototype)); -} - -// CHECK#16 -if (Object(Number.MAX_VALUE).valueOf() !== Number.MAX_VALUE){ - $ERROR('#16: Object(Number.MAX_VALUE).valueOf() === Number.MAX_VALUE. Actual: ' + (Object(Number.MAX_VALUE).valueOf())); -} - -// CHECK#17 -if (typeof Object(Number.MAX_VALUE) !== "object"){ - $ERROR('#17: typeof Object(Number.MAX_VALUE) === "object". Actual: ' + (typeof Object(Number.MAX_VALUE))); -} - -// CHECK#18 -if (Object(Number.MAX_VALUE).constructor.prototype !== Number.prototype){ - $ERROR('#18: Object(Number.MAX_VALUE).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.MAX_VALUE).constructor.prototype)); -} - -// CHECK#19 -if (Object(Number.POSITIVE_INFINITY).valueOf() !== Number.POSITIVE_INFINITY){ - $ERROR('#19: Object(Number.POSITIVE_INFINITY).valueOf() === Number.POSITIVE_INFINITY. Actual: ' + (Object(Number.POSITIVE_INFINITY).valueOf())); -} - -// CHECK#20 -if (typeof Object(Number.POSITIVE_INFINITY) !== "object"){ - $ERROR('#20: typeof Object(Number.POSITIVE_INFINITY) === "object". Actual: ' + (typeof Object(Number.POSITIVE_INFINITY))); -} - -// CHECK#21 -if (Object(Number.POSITIVE_INFINITY).constructor.prototype !== Number.prototype){ - $ERROR('#21: Object(Number.POSITIVE_INFINITY).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.POSITIVE_INFINITY).constructor.prototype)); -} - -// CHECK#22 -if (Object(Number.NEGATIVE_INFINITY).valueOf() !== Number.NEGATIVE_INFINITY){ - $ERROR('#22: Object(Number.NEGATIVE_INFINITY).valueOf() === Number.NEGATIVE_INFINITY. Actual: ' + (Object(Number.NEGATIVE_INFINITY).valueOf())); -} - -// CHECK#23 -if (typeof Object(Number.NEGATIVE_INFINITY) !== "object"){ - $ERROR('#23: typeof Object(Number.NEGATIVE_INFINITY) === "object". Actual: ' + (typeof Object(Number.NEGATIVE_INFINITY))); -} - -// CHECK#24 -if (Object(Number.NEGATIVE_INFINITY).constructor.prototype !== Number.prototype){ - $ERROR('#24: Object(Number.NEGATIVE_INFINITY).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.NEGATIVE_INFINITY).constructor.prototype)); -} - -// CHECK#25 -if (isNaN(Object(Number.NaN).valueOf()) !== true){ - $ERROR('#25: Object(Number.NaN).valueOf() === Not-a-Number. Actual: ' + (Object(Number.NaN).valueOf())); -} - -// CHECK#26 -if (typeof Object(Number.NaN) !== "object"){ - $ERROR('#26: typeof Object(Number.NaN) === "object". Actual: ' + (typeof Object(Number.NaN))); -} - -// CHECK#27 -if (Object(Number.NaN).constructor.prototype !== Number.prototype){ - $ERROR('#27: Object(Number.NaN).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.NaN).constructor.prototype)); -} - -// CHECK#28 -if (Object(1.2345).valueOf() !== 1.2345){ - $ERROR('#28: Object(1.2345).valueOf() === 1.2345. Actual: ' + (Object(1.2345).valueOf())); -} - -// CHECK#29 -if (typeof Object(1.2345) !== "object"){ - $ERROR('#29: typeof Object(1.2345) === "object". Actual: ' + (typeof Object(1.2345))); -} - -// CHECK#30 -if (Object(1.2345).constructor.prototype !== Number.prototype){ - $ERROR('#30: Object(1.2345).constructor.prototype === Number.prototype. Actual: ' + (Object(1.2345).constructor.prototype)); -} - -// CHECK#31 -if (Object(-1.2345).valueOf() !== -1.2345){ - $ERROR('#31: Object(-1.2345).valueOf() === -1.2345. Actual: ' + (Object(-1.2345).valueOf())); -} - -// CHECK#32 -if (typeof Object(-1.2345) !== "object"){ - $ERROR('#32: typeof Object(-1.2345) === "object". Actual: ' + (typeof Object(-1.2345))); -} - -// CHECK#33 -if (Object(-1.2345).constructor.prototype !== Number.prototype){ - $ERROR('#33: Object(-1.2345).constructor.prototype === Number.prototype. Actual: ' + (Object(-1.2345).constructor.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A5.js b/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A5.js deleted file mode 100644 index b307335f7f..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A5.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.9_A5; - * @section: 9.9; - * @assertion: ToObject conversion from String: create a new String object - * whose [[value]] property is set to the value of the string; - * @description: Converting from various strings to Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.9_A5", - -path: "TestCases/09_Type_Conversion/9.9_ToObject/S9.9_A5.js", - -assertion: "ToObject conversion from String: create a new String object", - -description: "Converting from various strings to Object", - -test: function testcase() { - // CHECK#1 -if (Object("some string").valueOf() !== "some string"){ - $ERROR('#1: Object("some string").valueOf() === "some string". Actual: ' + (Object("some string").valueOf())); -} - -// CHECK#2 -if (typeof Object("some string") !== "object"){ - $ERROR('#2: typeof Object("some string") === "object". Actual: ' + (typeof Object("some string"))); -} - -// CHECK#3 -if (Object("some string").constructor.prototype !== String.prototype){ - $ERROR('#3: Object("some string").constructor.prototype === String.prototype. Actual: ' + (Object("some string").constructor.prototype)); -} - -// CHECK#4 -if (Object("").valueOf() !== ""){ - $ERROR('#4: Object("").valueOf() === false. Actual: ' + (Object("").valueOf())); -} - -// CHECK#5 -if (typeof Object("") !== "object"){ - $ERROR('#5: typeof Object("") === "object". Actual: ' + (typeof Object(""))); -} - -// CHECK#6 -if (Object("").constructor.prototype !== String.prototype){ - $ERROR('#6: Object("").constructor.prototype === String.prototype. Actual: ' + (Object("").constructor.prototype)); -} - -// CHECK#7 -if (Object("\r\t\b\n\v\f").valueOf() !== "\r\t\b\n\v\f"){ - $ERROR('#7: Object("\\r\\t\\b\\n\\v\\f").valueOf() === false. Actual: ' + (Object("\r\t\b\n\v\f").valueOf())); -} - -// CHECK#8 -if (typeof Object("\r\t\b\n\v\f") !== "object"){ - $ERROR('#8: typeof Object("\\r\\t\\b\\n\\v\\f") === "object". Actual: ' + (typeof Object("\r\t\b\n\v\f"))); -} - -// CHECK#9 -if (Object("\r\t\b\n\v\f").constructor.prototype !== String.prototype){ - $ERROR('#9: Object("\\r\\t\\b\\n\\v\\f").constructor.prototype === String.prototype. Actual: ' + (Object("\r\t\b\n\v\f").constructor.prototype)); -} - -// CHECK#10 -if (Object(String(10)).valueOf() !== "10"){ - $ERROR('#10: Object(String(10)).valueOf() === false. Actual: ' + (Object(String(10)).valueOf())); -} - -// CHECK#11 -if (typeof Object(String(10)) !== "object"){ - $ERROR('#11: typeof Object(String(10)) === "object". Actual: ' + (typeof Object(String(10)))); -} - -// CHECK#12 -if (Object(String(10)).constructor.prototype !== String.prototype){ - $ERROR('#12: Object(String(10)).constructor.prototype === String.prototype. Actual: ' + (Object(String(10)).constructor.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A6.js b/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A6.js deleted file mode 100644 index 570232733e..0000000000 --- a/test/suite/sputnik_converted/09_Type_Conversion/9.9_ToObject/S9.9_A6.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S9.9_A6; - * @section: 9.9; - * @assertion: ToObject conversion from Object: The result is the input - * argument (no conversion); - * @description: Converting from Objects to Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S9.9_A6", - -path: "TestCases/09_Type_Conversion/9.9_ToObject/S9.9_A6.js", - -assertion: "ToObject conversion from Object: The result is the input", - -description: "Converting from Objects to Object", - -test: function testcase() { - function MyObject( val ) { - this.value = val; - this.valueOf = function (){ return this.value; } -} - -var x = new MyObject(1); -var y = Object(x); - -// CHECK#1 -if (y.valueOf() !== x.valueOf()){ - $ERROR('#1: Object(obj).valueOf() === obj.valueOf(). Actual: ' + (Object(obj).valueOf())); -} - -// CHECK#2 -if (typeof y !== typeof x){ - $ERROR('#2: typeof Object(obj) === typeof obj. Actual: ' + (typeof Object(obj))); -} - -// CHECK#3 -if (y.constructor.prototype !== x.constructor.prototype){ - $ERROR('#3: Object(obj).constructor.prototype === obj.constructor.prototype. Actual: ' + (Object(obj).constructor.prototype)); -} - - -// CHECK#4 -if (y !== x){ - $ERROR('#4: Object(obj) === obj'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.js deleted file mode 100644 index 6531d1a804..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.3_A1; - * @section: 10.1.3; - * @assertion: If the caller supplies fewer parameter values than there are - * formal parameters, the extra formal parameters have value undefined; - * @description: Calling function excluding a few parameters; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.3_A1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.js", - -assertion: "If the caller supplies fewer parameter values than there are", - -description: "Calling function excluding a few parameters", - -test: function testcase() { - //CHECK#1 -function f1(a, b){ - return (b === undefined); -} -if(!(f1(1, 2) === false)){ - $ERROR('#1: f1(1, 2) === false'); -} else if(!(f1(1) === true)){ - $ERROR('#1: f1(1) === true'); -} - -//CHECK#2 -function f2(a, b, c){ - return (b === undefined) && (c === undefined); -} -if(!(f2(1) === true)){ - $ERROR('#2: f2(1, 2) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.js deleted file mode 100644 index f1f8d8b11c..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.3_A2; - * @section: 10.1.3; - * @assertion: If two or more formal parameters share the same name, hence - * the same property, the corresponding property is given the value that was - * supplied for the last parameter with this name; - * @description: Creating functions initialized with two or more formal parameters, which have the same name; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.3_A2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.js", - -assertion: "If two or more formal parameters share the same name, hence", - -description: "Creating functions initialized with two or more formal parameters, which have the same name", - -test: function testcase() { - //CHECK#1 -function f1(x, x) { - return x; -} -if(!(f1(1, 2) === 2)) { - $ERROR("#1: f1(1, 2) === 2"); -} - -//CHECK#2 -function f2(x, x, x){ - return x*x*x; -} -if(!(f2(1, 2, 3) === 27)){ - $ERROR("f2(1, 2, 3) === 27"); -} - -//CHECK#3 -function f3(x, x) { - return 'a' + x; -} -if(!(f3(1, 2) === 'a2')){ - $ERROR("#3: f3(1, 2) === 'a2'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.js deleted file mode 100644 index 61ee6f3149..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.3_A3; - * @section: 10.1.3; - * @assertion: If the value of this last parameter (which has the same - * name as some previous parameters do) was not supplied by the - * caller, the value of the corresponding property is undefined; - * @description: Creating functions with two or more formal parameters, - * that have the same name. Calling this function excluding a few last parameters; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.3_A3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.js", - -assertion: "If the value of this last parameter (which has the same", - -description: "Creating functions with two or more formal parameters,", - -test: function testcase() { - //CHECK#1 -function f1(x, a, b, x){ - return x; -} -if(!(f1(1, 2) === undefined)){ - $ERROR('#1: f1(1, 2) === undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.js deleted file mode 100644 index f8e09cd1d5..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.3_A4_T1; - * @section: 10.1.3; - * @assertion: Function declaration in function code - If the variable object - * already has a property with the name of Function Identifier, replace its - * value and attributes. Semantically, this step must follow the creation of - * FormalParameterList properties; - * @description: Checking existence of a function with passed parameter; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.3_A4_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.js", - -assertion: "Function declaration in function code - If the variable object", - -description: "Checking existence of a function with passed parameter", - -test: function testcase() { - //CHECK#1 -function f1(x){ - return x; - - function x(){ - return 7; - } -} -if(!(f1().constructor.prototype === Function.prototype)){ - $ERROR('#1: f1() returns function'); -} - -//CHECK#2 -function f2(x){ - return typeof x; - - function x(){ - return 7; - } -} -if(!(f2() === "function")){ - $ERROR('#2: f2() === "function"'); -} - -//CHECK#3 -function f3() { - return typeof arguments; - function arguments() { - return 7; - } -} -if (!(f3() === "function")){ - $ERROR('#3: f3() === "function"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.js deleted file mode 100644 index 9384773f15..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.3_A4_T2; - * @section: 10.1.3; - * @assertion: Function declaration in function code - If the variable object - * already has a property with the name of Function Identifier, replace its - * value and attributes. Semantically, this step must follow the creation of - * FormalParameterList properties; - * @description: Checking existence of a function with declared variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.3_A4_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.js", - -assertion: "Function declaration in function code - If the variable object", - -description: "Checking existence of a function with declared variable", - -test: function testcase() { - //CHECK#1 -function f1(){ - var x; - - return x; - - function x(){ - return 7; - } -} -if(!(f1().constructor.prototype === Function.prototype)){ - $PRINT('#1: f1() returns function'); -} - -//CHECK#2 -function f2(){ - var x; - - return typeof x; - - function x(){ - return 7; - } -} -if(!(f2() === "function")){ - $PRINT('#2: f2() === "function"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.js deleted file mode 100644 index 203b3b5849..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.3_A5.1_T1; - * @section: 10.1.3; - * @assertion: For each VariableDeclaration or VariableDeclarationNoIn in the - * code, create a property of the variable object whose name is the Identifier - * in the VariableDeclaration or VariableDeclarationNoIn, whose value is - * undefined and whose attributes are determined by the type of code; - * @description: Checking variable existence only; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.3_A5.1_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.js", - -assertion: "For each VariableDeclaration or VariableDeclarationNoIn in the", - -description: "Checking variable existence only", - -test: function testcase() { - //CHECK#1 -function f1(){ - var x; - - return typeof x; -} - -if(!(f1() === "undefined")){ - $PRINT('#1: f1() === "undefined"'); -} - -//CHECK#2 -function f2(){ - var x; - - return x; -} - -if(!(f2() === undefined)){ - $PRINT('#1: f2() === undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.js deleted file mode 100644 index db14c4958e..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.3_A5.1_T2; - * @section: 10.1.3; - * @assertion: For each VariableDeclaration or VariableDeclarationNoIn in the - * code, create a property of the variable object whose name is the Identifier - * in the VariableDeclaration or VariableDeclarationNoIn, whose value is - * undefined and whose attributes are determined by the type of code; - * @description: Checking existence of the variable object property with formal parameter; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.3_A5.1_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.js", - -assertion: "For each VariableDeclaration or VariableDeclarationNoIn in the", - -description: "Checking existence of the variable object property with formal parameter", - -test: function testcase() { - //CHECK#1 -function f1(x){ - var x; - - return typeof x; -} - -if(!(f1() === "undefined")){ - $PRINT('#1: f1(1) === "undefined"'); -} - -//CHECK#2 -function f2(x){ - var x; - - return x; -} - -if(!(f2() === undefined)){ - $PRINT('#1: f2(1) === undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.js deleted file mode 100644 index 5788b9889b..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.3_A5.2_T1; - * @section: 10.1.3; - * @assertion: If there is already a property of the variable object with the - * name of a declared variable, the value of the property and its attributes - * are not changed; - * @description: Checking existence of the variable object property with formal parameter; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.3_A5.2_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.js", - -assertion: "If there is already a property of the variable object with the", - -description: "Checking existence of the variable object property with formal parameter", - -test: function testcase() { - //CHECK#1 -function f1(x){ - var x; - - return typeof x; -} - -if(!(f1(1) === "number")){ - $PRINT('#1: f1(1) === "number"'); -} - -//CHECK#2 -function f2(x){ - var x; - - return x; -} - -if(!(f2(1) === 1)){ - $PRINT('#1: f2(1) === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.js deleted file mode 100644 index 79cc0c3250..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.4_A1_T1; - * @section: 10.1.4; - * @assertion: Every execution context has associated with it a scope chain. - * A scope chain is a list of objects that are searched when evaluating an - * Identifier; - * @description: Checking scope chain containing function declarations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.4_A1_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.js", - -assertion: "Every execution context has associated with it a scope chain.", - -description: "Checking scope chain containing function declarations", - -test: function testcase() { - var x = 0; - -function f1(){ - var x = 1; - function f2(){ - return x; - }; - return f2(); -} - -if(!(f1() === 1)){ - $ERROR("#1: Scope chain disturbed"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.js deleted file mode 100644 index a7423da405..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.4_A1_T2; - * @section: 10.1.4; - * @assertion: Every execution context has associated with it a scope chain. - * A scope chain is a list of objects that are searched when evaluating an - * Identifier; - * @description: Checking scope chain containing function declarations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.4_A1_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.js", - -assertion: "Every execution context has associated with it a scope chain.", - -description: "Checking scope chain containing function declarations", - -test: function testcase() { - var x = 0; - -function f1(){ - function f2(){ - return x; - }; - return f2(); -} - -if(!(f1() === 0)){ - $ERROR("#1: Scope chain disturbed"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.js deleted file mode 100644 index b87e0231e3..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.4_A1_T3; - * @section: 10.1.4; - * @assertion: Every execution context has associated with it a scope chain. - * A scope chain is a list of objects that are searched when evaluating an - * Identifier; - * @description: Checking scope chain containing function declarations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.4_A1_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.js", - -assertion: "Every execution context has associated with it a scope chain.", - -description: "Checking scope chain containing function declarations", - -test: function testcase() { - var x = 0; - -function f1(){ - function f2(){ - return x; - }; - return f2(); - - var x = 1; -} - -if(!(f1() === undefined)){ - $ERROR("#1: Scope chain disturbed"); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.js deleted file mode 100644 index c27038be79..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.4_A1_T4; - * @section: 10.1.4; - * @assertion: Every execution context has associated with it a scope chain. - * A scope chain is a list of objects that are searched when evaluating an - * Identifier; - * @description: Checking scope chain containing function declarations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.4_A1_T4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.js", - -assertion: "Every execution context has associated with it a scope chain.", - -description: "Checking scope chain containing function declarations", - -test: function testcase() { - var x = 0; - -function f1(){ - function f2(){ - return x; - }; - - var x = 1; - return f2(); -} - -if(!(f1() === 1)){ - $ERROR("#1: Scope chain disturbed"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.js deleted file mode 100644 index 14a24b32aa..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.4_A1_T5; - * @section: 10.1.4; - * @assertion: Every execution context has associated with it a scope chain. - * A scope chain is a list of objects that are searched when evaluating an - * Identifier; - * @description: Checking scope chain containing function declarations and "with"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.4_A1_T5", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.js", - -assertion: "Every execution context has associated with it a scope chain.", - -description: "Checking scope chain containing function declarations and \"with\"", - -test: function testcase() { - var x = 0; - -var myObj = {x : "obj"}; - -function f1(){ - var x = 1; - function f2(){ - with(myObj){ - return x; - } - }; - return f2(); -} - -if(!(f1() === "obj")){ - $ERROR("#1: Scope chain disturbed"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.js deleted file mode 100644 index 2a86759d76..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.4_A1_T6; - * @section: 10.1.4; - * @assertion: Every execution context has associated with it a scope chain. - * A scope chain is a list of objects that are searched when evaluating an - * Identifier; - * @description: Checking scope chain containing function declarations and "with"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.4_A1_T6", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.js", - -assertion: "Every execution context has associated with it a scope chain.", - -description: "Checking scope chain containing function declarations and \"with\"", - -test: function testcase() { - var x = 0; - -var myObj = {x : "obj"}; - -function f1(){ - function f2(){ - with(myObj){ - return x; - } - }; - return f2(); -} - -if(!(f1() === "obj")){ - $ERROR("#1: Scope chain disturbed"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.js deleted file mode 100644 index d6ffafae1c..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.4_A1_T7; - * @section: 10.1.4; - * @assertion: Every execution context has associated with it a scope chain. - * A scope chain is a list of objects that are searched when evaluating an - * Identifier; - * @description: Checking scope chain containing function declarations and "with"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.4_A1_T7", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.js", - -assertion: "Every execution context has associated with it a scope chain.", - -description: "Checking scope chain containing function declarations and \"with\"", - -test: function testcase() { - var x = 0; - -var myObj = {x : "obj"}; - -function f1(){ - function f2(){ - with(myObj){ - return x; - } - }; - return f2(); - - var x = 1; -} - -if(!(f1() === "obj")){ - $ERROR("#1: Scope chain disturbed"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.js deleted file mode 100644 index 40f037ff91..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.4_A1_T8; - * @section: 10.1.4; - * @assertion: Every execution context has associated with it a scope chain. - * A scope chain is a list of objects that are searched when evaluating an - * Identifier; - * @description: Checking scope chain containing function declarations and "with"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.4_A1_T8", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.js", - -assertion: "Every execution context has associated with it a scope chain.", - -description: "Checking scope chain containing function declarations and \"with\"", - -test: function testcase() { - var x = 0; - -var myObj = {x : "obj"}; - -function f1(){ - function f2(){ - with(myObj){ - return x; - } - }; - - var x = 1; - return f2(); -} - -if(!(f1() === "obj")){ - $ERROR("#1: Scope chain disturbed"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.js deleted file mode 100644 index 826f7bc33a..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.4_A1_T9; - * @section: 10.1.4; - * @assertion: Every execution context has associated with it a scope chain. - * A scope chain is a list of objects that are searched when evaluating an - * Identifier; - * @description: Checking scope chain containing function declarations and "with"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.4_A1_T9", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.js", - -assertion: "Every execution context has associated with it a scope chain.", - -description: "Checking scope chain containing function declarations and \"with\"", - -test: function testcase() { - var x = 0; - -var myObj = {x : "obj"}; - -function f1(){ - with(myObj){ - return x; - } -} - -if(!(f1() === "obj")){ - $ERROR("#1: Scope chain disturbed"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.js deleted file mode 100644 index b6e6432e64..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.1_T1; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Global execution context - Value Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.1_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Global execution context - Value Properties", - -test: function testcase() { - //CHECK#1 -if ( NaN === null ) { - $ERROR("#1: NaN === null"); -} - -//CHECK#2 -if ( Infinity === null ) { - $ERROR("#2: Infinity === null"); -} - -//CHECK#3 -if ( undefined === null ) { - $ERROR("#3: undefined === null"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.js deleted file mode 100644 index 57e6ee546e..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.1_T2; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Global execution context - Function Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.1_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Global execution context - Function Properties", - -test: function testcase() { - //CHECK#4 -if ( eval === null ) { - $ERROR("#4: eval === null"); -} - -//CHECK#5 -if ( parseInt === null ) { - $ERROR("#5: parseInt === null"); -} - -//CHECK#6 -if ( parseFloat === null ) { - $ERROR("#6: parseFloat === null"); -} - -//CHECK#7 -if ( isNaN === null ) { - $ERROR("#7: isNaN === null"); -} - -//CHECK#8 -if ( isFinite === null ) { - $ERROR("#8: isFinite === null"); -} - -//CHECK#9 -if ( decodeURI === null ) { - $ERROR("#9: decodeURI === null"); -} - -//CHECK#10 -if ( decodeURIComponent === null ) { - $ERROR("#10: decodeURIComponent === null"); -} - -//CHECK#11 -if ( encodeURI === null ) { - $ERROR("#11: encodeURI === null"); -} - -//CHECK#12 -if ( encodeURIComponent === null ) { - $ERROR("#12: encodeURIComponent === null"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.js deleted file mode 100644 index df5e522705..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.1_T3; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Global execution context - Constructor Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.1_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Global execution context - Constructor Properties", - -test: function testcase() { - //CHECK#13 -if ( Object === null ) { - $ERROR("#13: Object === null"); -} - -//CHECK#14 -if ( Function === null ) { - $ERROR("#14: Function === null"); -} - -//CHECK#15 -if ( String === null ) { - $ERROR("#15: String === null"); -} - -//CHECK#16 -if ( Number === null ) { - $ERROR("#16: Number === null"); -} - -//CHECK#17 -if ( Array === null ) { - $ERROR("#17: Array === null"); -} - -//CHECK#18 -if ( Boolean === null ) { - $ERROR("#20: Boolean === null"); -} - -//CHECK#18 -if ( Date === null ) { - $ERROR("#18: Date === null"); -} - -//CHECK#19 -if ( RegExp === null ) { - $ERROR("#19: RegExp === null"); -} - -//CHECK#20 -if ( Error === null ) { - $ERROR("#20: Error === null"); -} - -//CHECK#21 -if ( EvalError === null ) { - $ERROR("#21: EvalError === null"); -} - -//CHECK#22 -if ( RangeError === null ) { - $ERROR("#22: RangeError === null"); -} - -//CHECK#23 -if ( ReferenceError === null ) { - $ERROR("#23: ReferenceError === null"); -} - -//CHECK#24 -if ( SyntaxError === null ) { - $ERROR("#24: SyntaxError === null"); -} - -//CHECK#25 -if ( TypeError === null ) { - $ERROR("#25: TypeError === null"); -} - -//CHECK#26 -if ( URIError === null ) { - $ERROR("#26: URIError === null"); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.js deleted file mode 100644 index c8a8b9dd89..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.1_T4; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Global execution context - Other Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.1_T4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Global execution context - Other Properties", - -test: function testcase() { - //CHECK#27 -if ( Math === null ) { - $ERROR("#27: Math === null"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.js deleted file mode 100644 index 1a1edfadab..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.2_T1; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Function execution context - Value Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.2_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Function execution context - Value Properties", - -test: function testcase() { - function test() { - //CHECK#1 - if ( NaN === null ) { - $ERROR("#1: NaN === null"); - } - - //CHECK#2 - if ( Infinity === null ) { - $ERROR("#2: Infinity === null"); - } - - //CHECK#3 - if ( undefined === null ) { - $ERROR("#3: undefined === null"); - } -} - -test(); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.js deleted file mode 100644 index 01f7c9a536..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.2_T2; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Function execution context - Function Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.2_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Function execution context - Function Properties", - -test: function testcase() { - function test() { - //CHECK#4 - if ( eval === null ) { - $ERROR("#4: eval === null"); - } - - //CHECK#5 - if ( parseInt === null ) { - $ERROR("#5: parseInt === null"); - } - - //CHECK#6 - if ( parseFloat === null ) { - $ERROR("#6: parseFloat === null"); - } - - //CHECK#7 - if ( isNaN === null ) { - $ERROR("#7: isNaN === null"); - } - - //CHECK#8 - if ( isFinite === null ) { - $ERROR("#8: isFinite === null"); - } - - //CHECK#9 - if ( decodeURI === null ) { - $ERROR("#9: decodeURI === null"); - } - - //CHECK#10 - if ( decodeURIComponent === null ) { - $ERROR("#10: decodeURIComponent === null"); - } - - //CHECK#11 - if ( encodeURI === null ) { - $ERROR("#11: encodeURI === null"); - } - - //CHECK#12 - if ( encodeURIComponent === null ) { - $ERROR("#12: encodeURIComponent === null"); - } -} - -test(); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.js deleted file mode 100644 index 27928b2ede..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.js +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.2_T3; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Function execution context - Constructor Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.2_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Function execution context - Constructor Properties", - -test: function testcase() { - function test() { - //CHECK#13 - if ( Object === null ) { - $ERROR("#13: Object === null"); - } - - //CHECK#14 - if ( Function === null ) { - $ERROR("#14: Function === null"); - } - - //CHECK#15 - if ( String === null ) { - $ERROR("#15: String === null"); - } - - //CHECK#16 - if ( Number === null ) { - $ERROR("#16: Function === null"); - } - - //CHECK#17 - if ( Array === null ) { - $ERROR("#17: Array === null"); - } - - //CHECK#18 - if ( Boolean === null ) { - $ERROR("#20: Boolean === null"); - } - - //CHECK#18 - if ( Date === null ) { - $ERROR("#18: Date === null"); - } - - //CHECK#19 - if ( RegExp === null ) { - $ERROR("#19: RegExp === null"); - } - - //CHECK#20 - if ( Error === null ) { - $ERROR("#20: Error === null"); - } - - //CHECK#21 - if ( EvalError === null ) { - $ERROR("#21: EvalError === null"); - } - - //CHECK#22 - if ( RangeError === null ) { - $ERROR("#22: RangeError === null"); - } - - //CHECK#23 - if ( ReferenceError === null ) { - $ERROR("#23: ReferenceError === null"); - } - - //CHECK#24 - if ( SyntaxError === null ) { - $ERROR("#24: SyntaxError === null"); - } - - //CHECK#25 - if ( TypeError === null ) { - $ERROR("#25: TypeError === null"); - } - - //CHECK#26 - if ( URIError === null ) { - $ERROR("#26: URIError === null"); - } -} - -test(); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.js deleted file mode 100644 index d49233c3ab..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.2_T4; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Function execution context - Other Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.2_T4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Function execution context - Other Properties", - -test: function testcase() { - function test() { - //CHECK#27 - if ( Math === null ) { - $ERROR("#27: Math === null"); - } -} - -test(); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.js deleted file mode 100644 index 1544600c77..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.3_T1; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Eval execution context - Value Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.3_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Eval execution context - Value Properties", - -test: function testcase() { - var evalStr = -'//CHECK#1\n'+ -'if ( NaN === null ) {\n'+ -' $ERROR("#1: NaN === null");\n'+ -'}\n'+ - -'//CHECK#2\n'+ -'if ( Infinity === null ) {\n'+ -' $ERROR("#2: Infinity === null");\n'+ -'}\n'+ - -'//CHECK#3\n'+ -'if ( undefined === null ) {\n'+ -' $ERROR("#3: undefined === null");\n'+ -'}\n'+ -';\n'; - -eval(evalStr); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.js deleted file mode 100644 index 5a571e2f1c..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.3_T2; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Eval execution context - Function Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.3_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Eval execution context - Function Properties", - -test: function testcase() { - var evalStr = -'//CHECK#4\n'+ -'if ( eval === null ) {\n'+ -' $ERROR("#4: eval === null");\n'+ -'}\n'+ - -'//CHECK#5\n'+ -'if ( parseInt === null ) {\n'+ -' $ERROR("#5: parseInt === null");\n'+ -'}\n'+ - -'//CHECK#6\n'+ -'if ( parseFloat === null ) {\n'+ -' $ERROR("#6: parseFloat === null");\n'+ -'}\n'+ - -'//CHECK#7\n'+ -'if ( isNaN === null ) {\n'+ -' $ERROR("#7: isNaN === null");\n'+ -'}\n'+ - -'//CHECK#8\n'+ -'if ( isFinite === null ) {\n'+ -' $ERROR("#8: isFinite === null");\n'+ -'}\n'+ - -'//CHECK#9\n'+ -'if ( decodeURI === null ) {\n'+ -' $ERROR("#9: decodeURI === null");\n'+ -'}\n'+ - -'//CHECK#10\n'+ -'if ( decodeURIComponent === null ) {\n'+ -' $ERROR("#10: decodeURIComponent === null");\n'+ -'}\n'+ - -'//CHECK#11\n'+ -'if ( encodeURI === null ) {\n'+ -' $ERROR("#11: encodeURI === null");\n'+ -'}\n'+ - -'//CHECK#12\n'+ -'if ( encodeURIComponent === null ) {\n'+ -' $ERROR("#12: encodeURIComponent === null");\n'+ -'}\n'+ -';\n'; - -eval(evalStr); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.js deleted file mode 100644 index a5b6a65db0..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.js +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.3_T3; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Eval execution context - Constructor Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.3_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Eval execution context - Constructor Properties", - -test: function testcase() { - var evalStr = -'//CHECK#13\n'+ -'if ( Object === null ) {\n'+ -' $ERROR("#13: Object === null");\n'+ -'}\n'+ - -'//CHECK#14\n'+ -'if ( Function === null ) {\n'+ -' $ERROR("#14: Function === null");\n'+ -'}\n'+ - -'//CHECK#15\n'+ -'if ( String === null ) {\n'+ -' $ERROR("#15: String === null");\n'+ -'}\n'+ - -'//CHECK#16\n'+ -'if ( Number === null ) {\n'+ -' $ERROR("#16: Function === null");\n'+ -'}\n'+ - -'//CHECK#17\n'+ -'if ( Array === null ) {\n'+ -' $ERROR("#17: Array === null");\n'+ -'}\n'+ - -'//CHECK#18\n'+ -'if ( Boolean === null ) {\n'+ -' $ERROR("#20: Boolean === null");\n'+ -'}\n'+ - -'//CHECK#18\n'+ -'if ( Date === null ) {\n'+ -' $ERROR("#18: Date === null");\n'+ -'}\n'+ - -'//CHECK#19\n'+ -'if ( RegExp === null ) {\n'+ -' $ERROR("#19: RegExp === null");\n'+ -'}\n'+ - -'//CHECK#20\n'+ -'if ( Error === null ) {\n'+ -' $ERROR("#20: Error === null");\n'+ -'}\n'+ - -'//CHECK#21\n'+ -'if ( EvalError === null ) {\n'+ -' $ERROR("#21: EvalError === null");\n'+ -'}\n'+ - -'//CHECK#22\n'+ -'if ( RangeError === null ) {\n'+ -' $ERROR("#22: RangeError === null");\n'+ -'}\n'+ - -'//CHECK#23\n'+ -'if ( ReferenceError === null ) {\n'+ -' $ERROR("#23: ReferenceError === null");\n'+ -'}\n'+ - -'//CHECK#24\n'+ -'if ( SyntaxError === null ) {\n'+ -' $ERROR("#24: SyntaxError === null");\n'+ -'}\n'+ - -'//CHECK#25\n'+ -'if ( TypeError === null ) {\n'+ -' $ERROR("#25: TypeError === null");\n'+ -'}\n'+ - -'//CHECK#26\n'+ -'if ( URIError === null ) {\n'+ -' $ERROR("#26: URIError === null");\n'+ -'}\n'+ -';\n'; - -eval(evalStr); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.js deleted file mode 100644 index 205e4b2d83..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A1.3_T4; - * @section: 10.1.5, 15.1; - * @assertion: Global object has properties such as built-in objects such as - * Math, String, Date, parseInt, etc; - * @description: Eval execution context - Other Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A1.3_T4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.js", - -assertion: "Global object has properties such as built-in objects such as", - -description: "Eval execution context - Other Properties", - -test: function testcase() { - var evalStr = -'//CHECK#27\n'+ -'if ( Math === null ) {\n'+ -' $ERROR("#27: Math === null");\n'+ -'}\n'+ -';\n'; - -eval(evalStr); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.js deleted file mode 100644 index 94845a1065..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.1_T1; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Global execution context - Value Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.1_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Global execution context - Value Properties", - -test: function testcase() { - //CHECK#1 -for (var x in this) { - if ( x === 'NaN' ) { - $ERROR("#1: 'NaN' have attribute DontEnum"); - } else if ( x === 'Infinity' ) { - $ERROR("#1: 'Infinity' have attribute DontEnum"); - } else if ( x === 'undefined' ) { - $ERROR("#1: 'undefined' have attribute DontEnum"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js deleted file mode 100644 index 3f1ec979e3..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.1_T2; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Global execution context - Function Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.1_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Global execution context - Function Properties", - -test: function testcase() { - //CHECK#1 -for (var x in this) { - if ( x === 'eval' ) { - $ERROR("#1: 'eval' have attribute DontEnum"); - } else if ( x === 'parseInt' ) { - $ERROR("#1: 'parseInt' have attribute DontEnum"); - } else if ( x === 'parseFloat' ) { - $ERROR("#1: 'parseFloat' have attribute DontEnum"); - } else if ( x === 'isNaN' ) { - $ERROR("#1: 'isNaN' have attribute DontEnum"); - } else if ( x === 'isFinite' ) { - $ERROR("#1: 'isFinite' have attribute DontEnum"); - } else if ( x === 'decodeURI' ) { - $ERROR("#1: 'decodeURI' have attribute DontEnum"); - } else if ( x === 'decodeURIComponent' ) { - $ERROR("#1: 'decodeURIComponent' have attribute DontEnum"); - } else if ( x === 'encodeURI' ) { - $ERROR("#1: 'encodeURI' have attribute DontEnum"); - } else if ( x === 'encodeURIComponent' ) { - $ERROR("#1: 'encodeURIComponent' have attribute DontEnum"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.js deleted file mode 100644 index e922ccd519..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.1_T3; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Global execution context - Constructor Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.1_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Global execution context - Constructor Properties", - -test: function testcase() { - //CHECK#1 -for (var x in this) { - if ( x === 'Object' ) { - $ERROR("#1: 'property 'Object' have attribute DontEnum"); - } else if ( x === 'Function') { - $ERROR("#1: 'Function' have attribute DontEnum"); - } else if ( x === 'String' ) { - $ERROR("#1: 'String' have attribute DontEnum"); - } else if ( x === 'Number' ) { - $ERROR("#1: 'Number' have attribute DontEnum"); - } else if ( x === 'Array' ) { - $ERROR("#1: 'Array' have attribute DontEnum"); - } else if ( x === 'Boolean' ) { - $ERROR("#1: 'Boolean' have attribute DontEnum"); - } else if ( x === 'Date' ) { - $ERROR("#1: 'Date' have attribute DontEnum"); - } else if ( x === 'RegExp' ) { - $ERROR("#1: 'RegExp' have attribute DontEnum"); - } else if ( x === 'Error' ) { - $ERROR("#1: 'Error' have attribute DontEnum"); - } else if ( x === 'EvalError' ) { - $ERROR("#1: 'EvalError' have attribute DontEnum"); - } else if ( x === 'RangeError' ) { - $ERROR("#1: 'RangeError' have attribute DontEnum"); - } else if ( x === 'ReferenceError' ) { - $ERROR("#1: 'ReferenceError' have attribute DontEnum"); - } else if ( x === 'SyntaxError' ) { - $ERROR("#1: 'SyntaxError' have attribute DontEnum"); - } else if ( x === 'TypeError' ) { - $ERROR("#1: 'TypeError' have attribute DontEnum"); - } else if ( x === 'URIError' ) { - $ERROR("#1: 'URIError' have attribute DontEnum"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.js deleted file mode 100644 index e8790acc90..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.1_T4; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Global execution context - Other Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.1_T4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Global execution context - Other Properties", - -test: function testcase() { - //CHECK#1 -for (var x in this) { - if ( x === 'Math' ) { - $ERROR("#1: 'Math' have attribute DontEnum"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.js deleted file mode 100644 index 50f89b6a8a..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.2_T1; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Function execution context - Value Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.2_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Function execution context - Value Properties", - -test: function testcase() { - function test() { - //CHECK#1 - for (var x in this) { - if ( x === 'NaN' ) { - $ERROR("#1: 'NaN' have attribute DontEnum"); - } else if ( x === 'Infinity' ) { - $ERROR("#1: 'Infinity' have attribute DontEnum"); - } else if ( x === 'undefined' ) { - $ERROR("#1: 'undefined' have attribute DontEnum"); - } - } -} - -test(); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.js deleted file mode 100644 index d40fbb9194..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.2_T2; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Function execution context - Function Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.2_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Function execution context - Function Properties", - -test: function testcase() { - function test() { - //CHECK#1 - for (var x in this) { - if ( x === 'eval' ) { - $ERROR("#1: 'eval' have attribute DontEnum"); - } else if ( x === 'parseInt' ) { - $ERROR("#1: 'parseInt' have attribute DontEnum"); - } else if ( x === 'parseFloat' ) { - $ERROR("#1: 'parseFloat' have attribute DontEnum"); - } else if ( x === 'isNaN' ) { - $ERROR("#1: 'isNaN' have attribute DontEnum"); - } else if ( x === 'isFinite' ) { - $ERROR("#1: 'isFinite' have attribute DontEnum"); - } else if ( x === 'decodeURI' ) { - $ERROR("#1: 'decodeURI' have attribute DontEnum"); - } else if ( x === 'decodeURIComponent' ) { - $ERROR("#1: 'decodeURIComponent' have attribute DontEnum"); - } else if ( x === 'encodeURI' ) { - $ERROR("#1: 'encodeURI' have attribute DontEnum"); - } else if ( x === 'encodeURIComponent' ) { - $ERROR("#1: 'encodeURIComponent' have attribute DontEnum"); - } - } -} - -test(); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.js deleted file mode 100644 index 32083654b4..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.2_T3; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Function execution context - Constructor Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.2_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Function execution context - Constructor Properties", - -test: function testcase() { - function test() { - //CHECK#1 - for (var x in this) { - if ( x === 'Object' ) { - $ERROR("#1: 'property 'Object' have attribute DontEnum"); - } else if ( x === 'Function') { - $ERROR("#1: 'Function' have attribute DontEnum"); - } else if ( x === 'String' ) { - $ERROR("#1: 'String' have attribute DontEnum"); - } else if ( x === 'Number' ) { - $ERROR("#1: 'Number' have attribute DontEnum"); - } else if ( x === 'Array' ) { - $ERROR("#1: 'Array' have attribute DontEnum"); - } else if ( x === 'Boolean' ) { - $ERROR("#1: 'Boolean' have attribute DontEnum"); - } else if ( x === 'Date' ) { - $ERROR("#1: 'Date' have attribute DontEnum"); - } else if ( x === 'RegExp' ) { - $ERROR("#1: 'RegExp' have attribute DontEnum"); - } else if ( x === 'Error' ) { - $ERROR("#1: 'Error' have attribute DontEnum"); - } else if ( x === 'EvalError' ) { - $ERROR("#1: 'EvalError' have attribute DontEnum"); - } else if ( x === 'RangeError' ) { - $ERROR("#1: 'RangeError' have attribute DontEnum"); - } else if ( x === 'ReferenceError' ) { - $ERROR("#1: 'ReferenceError' have attribute DontEnum"); - } else if ( x === 'SyntaxError' ) { - $ERROR("#1: 'SyntaxError' have attribute DontEnum"); - } else if ( x === 'TypeError' ) { - $ERROR("#1: 'TypeError' have attribute DontEnum"); - } else if ( x === 'URIError' ) { - $ERROR("#1: 'URIError' have attribute DontEnum"); - } - } -} - -test(); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.js deleted file mode 100644 index aec2aad593..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.2_T4; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Function execution context - Other Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.2_T4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Function execution context - Other Properties", - -test: function testcase() { - function test() { - //CHECK#1 - for (var x in this) { - if ( x === 'Math' ) { - $ERROR("#1: 'Math' have attribute DontEnum"); - } - } -} - -test(); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.js deleted file mode 100644 index 7e9aebabf5..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.3_T1; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Global execution context - Value Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.3_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Global execution context - Value Properties", - -test: function testcase() { - var evalStr = -'//CHECK#1\n'+ -'for (var x in this) {\n'+ -' if ( x === \'NaN\' ) {\n'+ -' $ERROR("#1: \'NaN\' have attribute DontEnum");\n'+ -' } else if ( x === \'Infinity\' ) {\n'+ -' $ERROR("#1: \'Infinity\' have attribute DontEnum");\n'+ -' } else if ( x === \'undefined\' ) {\n'+ -' $ERROR("#1: \'undefined\' have attribute DontEnum");\n'+ -' }\n'+ -'}\n'; - -eval(evalStr); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.js deleted file mode 100644 index e955846f4b..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.3_T2; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Global execution context - Function Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.3_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Global execution context - Function Properties", - -test: function testcase() { - var evalStr = -'//CHECK#1\n'+ -'for (var x in this) {\n'+ -' if ( x === \'eval\' ) {\n'+ -' $ERROR("#1: \'eval\' have attribute DontEnum");\n'+ -' } else if ( x === \'parseInt\' ) {\n'+ -' $ERROR("#1: \'parseInt\' have attribute DontEnum");\n'+ -' } else if ( x === \'parseFloat\' ) {\n'+ -' $ERROR("#1: \'parseFloat\' have attribute DontEnum");\n'+ -' } else if ( x === \'isNaN\' ) {\n'+ -' $ERROR("#1: \'isNaN\' have attribute DontEnum");\n'+ -' } else if ( x === \'isFinite\' ) {\n'+ -' $ERROR("#1: \'isFinite\' have attribute DontEnum");\n'+ -' } else if ( x === \'decodeURI\' ) {\n'+ -' $ERROR("#1: \'decodeURI\' have attribute DontEnum");\n'+ -' } else if ( x === \'decodeURIComponent\' ) {\n'+ -' $ERROR("#1: \'decodeURIComponent\' have attribute DontEnum");\n'+ -' } else if ( x === \'encodeURI\' ) {\n'+ -' $ERROR("#1: \'encodeURI\' have attribute DontEnum");\n'+ -' } else if ( x === \'encodeURIComponent\' ) {\n'+ -' $ERROR("#1: \'encodeURIComponent\' have attribute DontEnum");\n'+ -' }\n'+ -'}\n'; - -eval(evalStr); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.js deleted file mode 100644 index 09976298f4..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.3_T3; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Global execution context - Constructor Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.3_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Global execution context - Constructor Properties", - -test: function testcase() { - var evalStr = -'//CHECK#1\n'+ -'for (var x in this) {\n'+ -' if ( x === \'Object\' ) {\n'+ -' $ERROR("#1: \'Object\' have attribute DontEnum");\n'+ -' } else if ( x === \'Function\') {\n'+ -' $ERROR("#1: \'Function\' have attribute DontEnum");\n'+ -' } else if ( x === \'String\' ) {\n'+ -' $ERROR("#1: \'String\' have attribute DontEnum");\n'+ -' } else if ( x === \'Number\' ) {\n'+ -' $ERROR("#1: \'Number\' have attribute DontEnum");\n'+ -' } else if ( x === \'Array\' ) {\n'+ -' $ERROR("#1: \'Array\' have attribute DontEnum");\n'+ -' } else if ( x === \'Boolean\' ) {\n'+ -' $ERROR("#1: \'Boolean\' have attribute DontEnum");\n'+ -' } else if ( x === \'Date\' ) {\n'+ -' $ERROR("#1: \'Date\' have attribute DontEnum");\n'+ -' } else if ( x === \'RegExp\' ) {\n'+ -' $ERROR("#1: \'RegExp\' have attribute DontEnum");\n'+ -' } else if ( x === \'Error\' ) {\n'+ -' $ERROR("#1: \'Error\' have attribute DontEnum");\n'+ -' } else if ( x === \'EvalError\' ) {\n'+ -' $ERROR("#1: \'EvalError\' have attribute DontEnum");\n'+ -' } else if ( x === \'RangeError\' ) {\n'+ -' $ERROR("#1: \'RangeError\' have attribute DontEnum");\n'+ -' } else if ( x === \'ReferenceError\' ) {\n'+ -' $ERROR("#1: \'ReferenceError\' have attribute DontEnum");\n'+ -' } else if ( x === \'SyntaxError\' ) {\n'+ -' $ERROR("#1: \'SyntaxError\' have attribute DontEnum");\n'+ -' } else if ( x === \'TypeError\' ) {\n'+ -' $ERROR("#1: \'TypeError\' have attribute DontEnum");\n'+ -' } else if ( x === \'URIError\' ) {\n'+ -' $ERROR("#1: \'URIError\' have attribute DontEnum");\n'+ -' }\n'+ -'}\n'; - -eval(evalStr); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.js deleted file mode 100644 index 0e4b55b5fc..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.5_A2.3_T4; - * @section: 10.1.5, 15.1; - * @assertion: Global object properties have attributes { DontEnum }; - * @description: Global execution context - Other Properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.5_A2.3_T4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.js", - -assertion: "Global object properties have attributes { DontEnum }", - -description: "Global execution context - Other Properties", - -test: function testcase() { - var evalStr = -'//CHECK#1\n'+ -'for (var x in this) {\n'+ -' if ( x === \'Math\' ) {\n'+ -' $ERROR("#1: \'Math\' have attribute DontEnum");\n'+ -' }\n'+ -'}\n'; - -eval(evalStr); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.js deleted file mode 100644 index 81bd562d81..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A1; - * @section: 10.1.8; - * @assertion: When control enters an execution context for function code, - * an arguments object is created and initialised; - * @description: Executing function which uses arguments object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.js", - -assertion: "When control enters an execution context for function code,", - -description: "Executing function which uses arguments object", - -test: function testcase() { - //CHECK#1 -function f1(){ - return arguments; -} - -try{ - var x = f1(); -} -catch(e){ - $ERROR("#1: arguments doesn't exists"); -} - -//CHECK#2 -var f2 = function(){ - return arguments; -} - -try{ - var x = f2(); -} -catch(e){ - $ERROR("#2: arguments doesn't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.js deleted file mode 100644 index 0bef15178c..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A2; - * @section: 10.1.8; - * @assertion: The value of the internal [[Prototype]] property of the - * created arguments object is the original Object prototype object, the one - * that is the initial value of Object.prototype; - * @description: Checking arguments.constructor.prototype===Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.js", - -assertion: "The value of the internal [[Prototype]] property of the", - -description: "Checking arguments.constructor.prototype===Object.prototype", - -test: function testcase() { - //CHECK#1 -function f1(){ - return arguments.constructor.prototype; -} -try{ - if(f1() !== Object.prototype){ - $ERROR('#1: arguments.constructor.prototype === Object.prototype'); - } -} -catch(e){ - $ERROR("#1: arguments doesn't exists"); -} - -//CHECK#2 -var f2 = function(){return arguments.constructor.prototype;}; -try{ - if(f2() !== Object.prototype){ - $ERROR('#2: arguments.constructor.prototype === Object.prototype'); - } -} -catch(e){ - $ERROR("#2: arguments doesn't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.js deleted file mode 100644 index 50afdd64c9..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A3_T1; - * @section: 10.1.8; - * @assertion: A property is created with name callee with property - * attributes { DontEnum } and no others; - * @description: Checking existence of arguments.callee property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A3_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.js", - -assertion: "A property is created with name callee with property", - -description: "Checking existence of arguments.callee property", - -test: function testcase() { - //CHECK#1 -function f1(){ - return arguments.hasOwnProperty("callee"); -} -try{ - if(f1() !== true){ - $ERROR("#1: arguments object doesn't contains property 'callee'"); - } -} -catch(e){ - $ERROR("#1: arguments object doesn't exists"); -} - -//CHECK#2 -var f2 = function(){return arguments.hasOwnProperty("callee");}; -try{ - if(f2() !== true){ - $ERROR("#2: arguments object doesn't contains property 'callee'"); - } -} -catch(e){ - $ERROR("#2: arguments object doesn't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.js deleted file mode 100644 index 56ce093a36..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A3_T2; - * @section: 10.1.8; - * @assertion: A property is created with name callee with property - * attributes { DontEnum } and no others; - * @description: Checking if enumerating the arguments.callee property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A3_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.js", - -assertion: "A property is created with name callee with property", - -description: "Checking if enumerating the arguments.callee property fails", - -test: function testcase() { - //CHECK#1 -function f1(){ - for(var x in arguments){ - if (x === "callee"){ - return false; - } - } - return true; -} - -try{ - if(!f1()){ - $ERROR("#1: A property callee don't have attribute { DontEnum }"); - } -} -catch(e){ - $ERROR("#1: arguments object don't exists"); -} - -//CHECK#2 -var f2 = function(){ - for(var x in arguments){ - if (x === "callee"){ - return false; - } - } - return true; -} - -try{ - if(!f2()){ - $ERROR("#2: A property callee don't have attribute { DontEnum }"); - } -} -catch(e){ - $ERROR("#2: arguments object don't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js deleted file mode 100644 index fbfe2ff90f..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A3_T3; - * @section: 10.1.8; - * @assertion: A property is created with name callee with property - * attributes { DontEnum } and no others; - * @description: Checking if deleting arguments.callee property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A3_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js", - -assertion: "A property is created with name callee with property", - -description: "Checking if deleting arguments.callee property fails", - -test: function testcase() { - //CHECK#1 -function f1(){ - return (delete arguments.callee); -} - -try{ - if(!f1()){ - $ERROR("#1: A property callee have attribute { DontDelete }"); - } -} -catch(e){ - $ERROR("#1: arguments object don't exists"); -} - -//CHECK#2 -var f2 = function(){ - return (delete arguments.callee); -} - -try{ - if(!f2()){ - $ERROR("#2: A property callee have attribute { DontDelete }"); - } -} -catch(e){ - $ERROR("#2: arguments object don't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.js deleted file mode 100644 index 5c8e8e200a..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A3_T4; - * @section: 10.1.8; - * @assertion: A property is created with name callee with property - * attributes { DontEnum } and no others; - * @description: Overriding arguments.callee property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A3_T4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.js", - -assertion: "A property is created with name callee with property", - -description: "Overriding arguments.callee property", - -test: function testcase() { - var str = "something different"; -//CHECK#1 -function f1(){ - arguments.callee = str; - return arguments; -} - -try{ - if(f1().callee !== str){ - $ERROR("#1: A property callee have attribute { ReadOnly }"); - } -} -catch(e){ - $ERROR("#1: arguments object don't exists"); -} - -//CHECK#2 -var f2 = function(){ - arguments.callee = str; - return arguments; - } -try{ - if(f2().callee !== str){ - $ERROR("#2: A property callee have attribute { ReadOnly }"); - } -} -catch(e){ - $ERROR("#2: arguments object don't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.js deleted file mode 100644 index 7c0a7b1925..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A4; - * @section: 10.1.8; - * @assertion: The initial value of the created property callee is the - * Function object being executed; - * @description: Checking that arguments.callee === function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.js", - -assertion: "The initial value of the created property callee is the", - -description: "Checking that arguments.callee === function object", - -test: function testcase() { - //CHECK#1 -function f1(){ - return arguments.callee; -} - -try{ - if(f1 !== f1()){ - $ERROR('#1: arguments.callee === f1'); - } -} -catch(e){ - $ERROR("#1: arguments object doesn't exists"); -} - -//CHECK#2 -var f2 = function(){return arguments.callee;}; - -try{ - if(f2 !== f2()){ - $ERROR('#2: arguments.callee === f2'); - } -} -catch(e){ - $ERROR("#1: arguments object doesn't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.js deleted file mode 100644 index a734e82aa2..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A5_T1; - * @section: 10.1.8; - * @assertion: A property is created with name length with property - * attributes { DontEnum } and no others; - * @description: Checking existence of arguments.length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A5_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.js", - -assertion: "A property is created with name length with property", - -description: "Checking existence of arguments.length property", - -test: function testcase() { - //CHECK#1 -function f1(){ - return arguments.hasOwnProperty("length"); -} -try{ - if(f1() !== true){ - $ERROR("#1: arguments object doesn't contains property 'length'"); - } -} -catch(e){ - $ERROR("#1: arguments object doesn't exists"); -} - -//CHECK#2 -var f2 = function(){return arguments.hasOwnProperty("length");}; -try{ - if(f2() !== true){ - $ERROR("#2: arguments object doesn't contains property 'length'"); - } -} -catch(e){ - $ERROR("#2: arguments object doesn't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.js deleted file mode 100644 index e6b3d41ce0..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A5_T2; - * @section: 10.1.8; - * @assertion: A property is created with name length with property - * attributes { DontEnum } and no others; - * @description: Checking if enumerating the arguments.length property fails; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A5_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.js", - -assertion: "A property is created with name length with property", - -description: "Checking if enumerating the arguments.length property fails", - -test: function testcase() { - //CHECK#1 -function f1(){ - for(var x in arguments){ - if (x === "length"){ - return false; - } - } - return true; -} - -try{ - if(!f1()){ - $ERROR("#1: A property length don't have attribute { DontEnum }"); - } -} -catch(e){ - $ERROR("#1: arguments object don't exists"); -} - -//CHECK#2 -var f2 = function(){ - for(var x in arguments){ - if (x === "length"){ - return false; - } - } - return true; -} - -try{ - if(!f2()){ - $ERROR("#2: A property length don't have attribute { DontEnum }"); - } -} -catch(e){ - $ERROR("#2: arguments object don't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.js deleted file mode 100644 index f85f27ed3a..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A5_T3; - * @section: 10.1.8; - * @assertion: A property is created with name length with property - * attributes { DontEnum } and no others; - * @description: Checking if deleting arguments.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A5_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.js", - -assertion: "A property is created with name length with property", - -description: "Checking if deleting arguments.length property fails", - -test: function testcase() { - //CHECK#1 -function f1(){ - return (delete arguments.length); -} - -try{ - if(!f1()){ - $ERROR("#1: A property length have attribute { DontDelete }"); - } -} -catch(e){ - $ERROR("#1: arguments object don't exists"); -} - -//CHECK#2 -var f2 = function(){ - return (delete arguments.length); -} - -try{ - if(!f2()){ - $ERROR("#2: A property length have attribute { DontDelete }"); - } -} -catch(e){ - $ERROR("#2: arguments object don't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.js deleted file mode 100644 index 7d1f6bf3b2..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A5_T4; - * @section: 10.1.8; - * @assertion: A property is created with name length with property - * attributes { DontEnum } and no others; - * @description: Overriding arguments.length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A5_T4", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.js", - -assertion: "A property is created with name length with property", - -description: "Overriding arguments.length property", - -test: function testcase() { - var str = "something different"; -//CHECK#1 -function f1(){ - arguments.length = str; - return arguments; -} - -try{ - if(f1().length !== str){ - $ERROR("#1: A property length have attribute { ReadOnly }"); - } -} -catch(e){ - $ERROR("#1: arguments object don't exists"); -} - -//CHECK#2 -var f2 = function(){ - arguments.length = str; - return arguments; - } -try{ - if(f2().length !== str){ - $ERROR("#2: A property length have attribute { ReadOnly }"); - } -} -catch(e){ - $ERROR("#2: arguments object don't exists"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.js deleted file mode 100644 index de0a8862d3..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.js +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A6; - * @section: 10.1.8; - * @assertion: The initial value of the created property length is the number - * of actual parameter values supplied by the caller; - * @description: Create function, that returned arguments.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A6", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.js", - -assertion: "The initial value of the created property length is the number", - -description: "Create function, that returned arguments.length", - -test: function testcase() { - function f1(){ - return arguments.length; -} - -//CHECK#1 -if(!(f1() === 0)){ - $ERROR('#1: argument.length === 0'); -} - -//CHECK#2 -if(!(f1(0) === 1)){ - $ERROR('#2: argument.length === 1'); -} - -//CHECK#3 -if(!(f1(0, 1) === 2)){ - $ERROR('#3: argument.length === 2'); -} - -//CHECK#4 -if(!(f1(0, 1, 2) === 3)){ - $ERROR('#4: argument.length === 3'); -} - -//CHECK#5 -if(!(f1(0, 1, 2, 3) === 4)){ - $ERROR('#5: argument.length === 4'); -} - -var f2 = function(){return arguments.length;}; - -//CHECK#6 -if(!(f2() === 0)){ - $ERROR('#6: argument.length === 0'); -} - -//CHECK#7 -if(!(f2(0) === 1)){ - $ERROR('#7: argument.length === 1'); -} - -//CHECK#8 -if(!(f2(0, 1) === 2)){ - $ERROR('#8: argument.length === 2'); -} - -//CHECK#9 -if(!(f2(0, 1, 2) === 3)){ - $ERROR('#9: argument.length === 3'); -} - -//CHECK#10 -if(!(f2(0, 1, 2, 3) === 4)){ - $ERROR('#10: argument.length === 4'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.js deleted file mode 100644 index d3f53468ff..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.8_A7; - * @section: 10.1.8; - * @assertion: Get arguments of function; - * @description: Use property arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.8_A7", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.js", - -assertion: "Get arguments of function", - -description: "Use property arguments", - -test: function testcase() { - function f1() { - return arguments; -} - -//CHECK#1-5 -for(var i = 1; i < 5; i++){ -if (f1(1,2,3,4,5)[i] !== (i+1)) - $ERROR("#"+i+": Returning function's arguments work wrong, f1(1,2,3,4,5)["+i+"] !== "+(i+1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.js deleted file mode 100644 index 6bbc54311e..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.1_A1_T1; - * @section: 10.1.1; - * @assertion: Program functions are defined in source text by a FunctionDeclaration or created dynamically either - * by using a FunctionExpression or by using the built-in Function object as a constructor; - * @description: Defining function by a FunctionDeclaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.1_A1_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.js", - -assertion: "Program functions are defined in source text by a FunctionDeclaration or created dynamically either", - -description: "Defining function by a FunctionDeclaration", - -test: function testcase() { - //CHECK#1 -function f1(){ - return 1; -} -if(typeof(f1)!=="function") - $ERROR('#1: typeof(f1)!=="function"'); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.js deleted file mode 100644 index f39e06e909..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.1_A1_T2; - * @section: 10.1.1; - * @assertion: Program functions are defined in source text by a FunctionDeclaration or created dynamically either - * by using a FunctionExpression or by using the built-in Function object as a constructor; - * @description: Creating function dynamically by using a FunctionExpression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.1_A1_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.js", - -assertion: "Program functions are defined in source text by a FunctionDeclaration or created dynamically either", - -description: "Creating function dynamically by using a FunctionExpression", - -test: function testcase() { - //CHECK#1 -var x=function f1(){return 1;}(); -if(x!==1) - $ERROR('#1: Create function dynamically either by using a FunctionExpression'); - -//CHECK#2 -var y=function (){return 2;}(); -if(y!==2){ - $ERROR('#2: Create an anonymous function dynamically either by using a FunctionExpression'); -} - -//CHECK#2 -var z = (function(){return 3;})(); -if(z!==3){ - $ERROR('#3: Create an anonymous function dynamically either by using a FunctionExpression wrapped in a group operator'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.js deleted file mode 100644 index e9b0c394a1..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.1_A1_T3; - * @section: 10.1.1; - * @assertion: Program functions are defined in source text by a FunctionDeclaration or created dynamically either - * by using a FunctionExpression or by using the built-in Function object as a constructor; - * @description: Creating function dynamically by using the built-in Function object as a constructor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.1_A1_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.js", - -assertion: "Program functions are defined in source text by a FunctionDeclaration or created dynamically either", - -description: "Creating function dynamically by using the built-in Function object as a constructor", - -test: function testcase() { - //CHECK#1 -var x=new function f1(){return 1;}; -if(typeof(x.constructor)!=="function") - $ERROR('#1: typeof(x.constructor)!=="function"'); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.js deleted file mode 100644 index 7f0113861b..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.1_A2_T1; - * @section: 10.1.1; - * @assertion: There are two types of Function objects. Internal functions - * are built-in objects of the language, such as parseInt and Math.exp; - * @description: Checking types of parseInt and Math.exp; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.1_A2_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.js", - -assertion: "There are two types of Function objects. Internal functions", - -description: "Checking types of parseInt and Math.exp", - -test: function testcase() { - //CHECK#1 -if(typeof(Math.exp)!=="function") - $ERROR('#1: typeof(Math.exp(10))!=="function" '+typeof(Math.exp())); - -//CHECK#2 -if(typeof(parseInt)!=="function") - $ERROR('#2: typeof(parseInt())!=="function" '+typeof(parseInt())); - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.js deleted file mode 100644 index c4497b1af4..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.6_A1_T1; - * @section: 10.1.6; - * @assertion: The activation object is initialised with a property with name arguments and attributes {DontDelete}; - * @description: Checking ifdeleting function parameter is possible; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.6_A1_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.js", - -assertion: "The activation object is initialised with a property with name arguments and attributes {DontDelete}", - -description: "Checking ifdeleting function parameter is possible", - -test: function testcase() { - //CHECK#1 -function f1(a){ - delete a; - return a; -} -if (f1(1) !== 1) - $ERROR('#1: Function parameter was deleted'); - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.js deleted file mode 100644 index 6bad199a65..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.6_A1_T2; - * @section: 10.1.6; - * @assertion: The activation object is initialised with a property with name arguments and attributes {DontDelete}; - * @description: Checking funtion which returns property "arguments"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.6_A1_T2", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.js", - -assertion: "The activation object is initialised with a property with name arguments and attributes {DontDelete}", - -description: "Checking funtion which returns property \"arguments\"", - -test: function testcase() { - var ARG_STRING = "value of the argument property"; - -function f1() { - this.constructor.prototype.arguments = ARG_STRING; - return arguments; -} - -//CHECK#1 -if ((new f1(1,2,3,4,5)).length !== 5) - $ERROR('#1: (new f1(1,2,3,4,5)).length===5, where f1 returns "arguments" that is set to "'+ ARG_STRING + '"'); - -//CHECK#2 -if ((new f1(1,2,3,4,5))[3] !== 4) - $ERROR('#2: (new f1(1,2,3,4,5))[3]===4, where f1 returns "arguments" that is set to "'+ ARG_STRING + '"'); - -//CHECK#3 -var x = new f1(1,2,3,4,5); -if (delete x[3] !== true) - $ERROR('#3.1: Function parameters have attribute {DontDelete}'); - -if (x[3] === 4) - $ERROR('#3.2: Function parameters have attribute {DontDelete}'); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.js deleted file mode 100644 index c46d24f65c..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.6_A1_T3; - * @section: 10.1.6; - * @assertion: The activation object is initialised with a property with name arguments and attributes {DontDelete}; - * @description: Checking function which returns "this"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.6_A1_T3", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.js", - -assertion: "The activation object is initialised with a property with name arguments and attributes {DontDelete}", - -description: "Checking function which returns \"this\"", - -test: function testcase() { - function f1() { - if (delete arguments) { - $ERROR("#1: Function parameters have attribute {DontDelete}" + arguments); - } - return arguments; -} - -f1(); - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.js deleted file mode 100644 index 72e79e4718..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.1.7_A1_T1; - * @section: 10.1.7; - * @assertion: The this value associated with an executioncontext is immutable; - * @description: Checking if deleting "this" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.1.7_A1_T1", - -path: "TestCases/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.js", - -assertion: "The this value associated with an executioncontext is immutable", - -description: "Checking if deleting \"this\" fails", - -test: function testcase() { - //CHECK#1 -if (delete this !== true) - $ERROR('#1: The this value associated with an executioncontext is immutable. Actual: this was deleted'); - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.js deleted file mode 100644 index e6990b2a5d..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.1_A1_T1; - * @section: 10.2.1; - * @assertion: Variable instantiation is performed using the global object as - * the variable object and using property attributes { DontDelete }; - * @description: Checking if deleting variable x, that is defined as var x = 1, fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.1_A1_T1", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.js", - -assertion: "Variable instantiation is performed using the global object as", - -description: "Checking if deleting variable x, that is defined as var x = 1, fails", - -test: function testcase() { - var x = 1; - -if (this.x !== 1) { - $ERROR("#1: variable x is a property of global object"); -} - -if(delete this.x !== false){ - $ERROR("#2: variable x has property attribute DontDelete"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.js deleted file mode 100644 index 5a0a3c0b13..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.1_A1_T2; - * @section: 10.2.1; - * @assertion: Variable instantiation is performed using the global object as - * the variable object and using property attributes { DontDelete }; - * @description: Checking if deleting variable x, that is defined as x = 1, fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.1_A1_T2", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.js", - -assertion: "Variable instantiation is performed using the global object as", - -description: "Checking if deleting variable x, that is defined as x = 1, fails", - -test: function testcase() { - x = 1; - -if (this.x !== 1) { - $ERROR("#1: variable x is a property of global object"); -} - -if(delete this.x !== true){ - $ERROR("#2: variable x has property attribute DontDelete"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.js deleted file mode 100644 index 87f08b7816..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T1; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T1", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; -x = 1; -y = 2; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.js deleted file mode 100644 index 057f6827bc..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T10; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T10", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; -var x = 1; -var y = 2; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.js deleted file mode 100644 index 2a1f63a2d9..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T11; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T11", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - -this.x = 1; -this.y = 2; - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.js deleted file mode 100644 index 1d3083201d..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T2; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T2", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - -var x = 1; -var y = 2; - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.js deleted file mode 100644 index 4e380cc307..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T3; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T3", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; -this.x = 1; -this.y = 2; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.js deleted file mode 100644 index 81db121af5..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T4; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T4", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; -x = 1; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - -y = 2; - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.js deleted file mode 100644 index cc31e793a5..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T5; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T5", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; -var x = 1; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - -var y = 2; - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.js deleted file mode 100644 index 9cc2f93a78..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T6; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T6", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; -this.x = 1; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - -this.y = 2; - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.js deleted file mode 100644 index 83ff873cba..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T7; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T7", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; -x = 1; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - -var y = 2; - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.js deleted file mode 100644 index ae4b49740f..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T8; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T8", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; -this.x = 1; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - -var y = 2; - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.js deleted file mode 100644 index e424e972eb..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.1_T9; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.1_T9", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - var i; -var j; -str1 = ''; -str2 = ''; - -for(i in this){ - str1+=i; -} - -eval('for(j in this){\nstr2+=j;\n}'); - -if(!(str1 === str2)){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - -x = 1; -y = 2; - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.js deleted file mode 100644 index 36ea3e693e..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T1; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T1", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - x = 1; - y = 2; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - return (str1 === str2); -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.js deleted file mode 100644 index 70c19df70c..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T10; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T10", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - var x = 1; - var y = 2; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.js deleted file mode 100644 index e40547fda3..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T11; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T11", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); - - this.x = 1; - this.y = 2; -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.js deleted file mode 100644 index 9e94fb50f4..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T2; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T2", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); - var x = 1; - var y = 2; -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js deleted file mode 100644 index fc47e2cba9..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T3; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T3", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - this.x = 1; - this.y = 2; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.js deleted file mode 100644 index 46e1104f6f..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T4; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T4", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - x = 1; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); - - y = 2; -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.js deleted file mode 100644 index 12e6cc9844..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T5; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T5", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - var x = 1; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); - - var y = 2; -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.js deleted file mode 100644 index 998fe4d494..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T6; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T6", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - this.x = 1; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); - - this.y = 2; -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.js deleted file mode 100644 index e8300d38a9..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T7; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T7", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - x = 1; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); - - var y = 2; -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.js deleted file mode 100644 index 5a673741eb..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T8; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T8", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - this.x = 1; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); - - var y = 2; -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.js deleted file mode 100644 index 7926f10a0d..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2.2_A1.2_T9; - * @section: 10.2.2; - * @assertion: The scope chain is initialised to contain the same objects, - * in the same order, as the calling context's scope chain; - * @description: eval within global execution context; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2.2_A1.2_T9", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.js", - -assertion: "The scope chain is initialised to contain the same objects,", - -description: "eval within global execution context", - -test: function testcase() { - function f(){ - var i; - var j; - str1 = ''; - str2 = ''; - - for(i in this){ - str1+=i; - } - - eval('for(j in this){\nstr2+=j;\n}'); - - return (str1 === str2); - - x = 1; - y = 2; -} - -if(!f()){ - $ERROR("#1: scope chain must contain same objects in the same order as the calling context"); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.js deleted file mode 100644 index 676e18e559..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2_A1.1_T1; - * @section: 10.2; - * @assertion: Every function call enters a new execution context; - * @description: Sequence of function calls; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2_A1.1_T1", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.js", - -assertion: "Every function call enters a new execution context", - -description: "Sequence of function calls", - -test: function testcase() { - var y; - -function f(){ - var x; - - if(x === undefined) { - x = 0; - } else { - x = 1; - } - - return x; -} - -y = f(); -y = f(); - -if(!(y === 0)){ - $ERROR("#1: Sequenced function calls shares execution context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.js deleted file mode 100644 index fae74e3bc3..0000000000 --- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S10.2_A1.1_T2; - * @section: 10.2; - * @assertion: Every function call enters a new execution context; - * @description: Recursive function call; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S10.2_A1.1_T2", - -path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.js", - -assertion: "Every function call enters a new execution context", - -description: "Recursive function call", - -test: function testcase() { - var y; - -function f(a){ - var x; - - if (a === 1) - return x; - else { - if(x === undefined) { - x = 0; - } else { - x = 1; - } - return f(1); - } -} - -y = f(0); - -if(!(y === undefined)){ - $ERROR("#1: Recursive function calls shares execution context"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.js deleted file mode 100644 index 842a8ae272..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.10.1_A1; -* @section: 11.10.1; -* @assertion: White Space and Line Terminator between BitwiseANDExpression and "&" or between "&" and EqualityExpression are allowed; -* @description: Checking uses eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.js", - -assertion: "White Space and Line Terminator between BitwiseANDExpression and \"&\" or between \"&\" and EqualityExpression are allowed", - -description: "Checking uses eval", - -test: function testcase() { - //CHECK#1 -if ((eval("1\u0009&\u00091")) !== 1) { - $ERROR('#1: (1\\u0009&\\u00091) === 1'); -} - -//CHECK#2 -if ((eval("1\u000B&\u000B1")) !== 1) { - $ERROR('#2: (1\\u000B&\\u000B1) === 1'); -} - -//CHECK#3 -if ((eval("1\u000C&\u000C1")) !== 1) { - $ERROR('#3: (1\\u000C&\\u000C1) === 1'); -} - -//CHECK#4 -if ((eval("1\u0020&\u00201")) !== 1) { - $ERROR('#4: (1\\u0020&\\u00201) === 1'); -} - -//CHECK#5 -if ((eval("1\u00A0&\u00A01")) !== 1) { - $ERROR('#5: (1\\u00A0&\\u00A01) === 1'); -} - -//CHECK#6 -if ((eval("1\u000A&\u000A1")) !== 1) { - $ERROR('#6: (1\\u000A&\\u000A1) === 1'); -} - -//CHECK#7 -if ((eval("1\u000D&\u000D1")) !== 1) { - $ERROR('#7: (1\\u000D&\\u000D1) === 1'); -} - -//CHECK#8 -if ((eval("1\u2028&\u20281")) !== 1) { - $ERROR('#8: (1\\u2028&\\u20281) === 1'); -} - -//CHECK#9 -if ((eval("1\u2029&\u20291")) !== 1) { - $ERROR('#9: (1\\u2029&\\u20291) === 1'); -} - - -//CHECK#10 -if ((eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029&\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 1) { - $ERROR('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029&\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.js deleted file mode 100644 index ecb6156237..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A2.1_T1; - * @section: 11.10.1; - * @assertion: Operator x & y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A2.1_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.js", - -assertion: "Operator x & y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ((1 & 1) !== 1) { - $ERROR('#1: (1 & 1) === 1. Actual: ' + ((1 & 1))); -} - -//CHECK#2 -var x = 1; -if ((x & 1) !== 1) { - $ERROR('#2: var x = 1; (x & 1) === 1. Actual: ' + ((x & 1))); -} - -//CHECK#3 -var y = 1; -if ((1 & y) !== 1) { - $ERROR('#3: var y = 1; (1 & y) === 1. Actual: ' + ((1 & y))); -} - -//CHECK#4 -var x = 1; -var y = 1; -if ((x & y) !== 1) { - $ERROR('#4: var x = 1; var y = 1; (x & y) === 1. Actual: ' + ((x & y))); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if ((objectx.prop & objecty.prop) !== 1) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop & objecty.prop) === 1. Actual: ' + ((objectx.prop & objecty.prop))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.js deleted file mode 100644 index 5df3509ca0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A2.1_T2; - * @section: 11.10.1; - * @assertion: Operator x & y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A2.1_T2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.js", - -assertion: "Operator x & y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x & 1; - $ERROR('#1.1: x & 1 throw ReferenceError. Actual: ' + (x & 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x & 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.js deleted file mode 100644 index dacadb40f6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A2.1_T3; - * @section: 11.10.1; - * @assertion: Operator x & y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A2.1_T3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.js", - -assertion: "Operator x & y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 & y; - $ERROR('#1.1: 1 & y throw ReferenceError. Actual: ' + (1 & y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 & y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.js deleted file mode 100644 index cff7a91334..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A2.2_T1; - * @section: 11.10.1, 8.6.2.6; - * @assertion: Operator x & y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A2.2_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.js", - -assertion: "Operator x & y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if (({valueOf: function() {return 1}} & 1) !== 1) { - $ERROR('#1: ({valueOf: function() {return 1}} & 1) === 1. Actual: ' + (({valueOf: function() {return 1}} & 1))); -} - -//CHECK#2 -if (({valueOf: function() {return 1}, toString: function() {return 0}} & 1) !== 1) { - $ERROR('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} & 1) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return 0}} & 1))); -} - -//CHECK#3 -if (({valueOf: function() {return 1}, toString: function() {return {}}} & 1) !== 1) { - $ERROR('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} & 1) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return {}}} & 1))); -} - -//CHECK#4 -try { - if (({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1) !== 1) { - $ERROR('#4.1: ({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: ({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1) not throw "error"'); - } else { - $ERROR('#4.3: ({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if ((1 & {toString: function() {return 1}}) !== 1) { - $ERROR('#5.1: (1 & {toString: function() {return 1}}) === 1. Actual: ' + ((1 & {toString: function() {return 1}}))); -} - -//CHECK#6 -if ((1 & {valueOf: function() {return {}}, toString: function() {return 1}}) !== 1) { - $ERROR('#6: (1 & {valueOf: function() {return {}}, toString: function() {return 1}}) === 1. Actual: ' + ((1 & {valueOf: function() {return {}}, toString: function() {return 1}}))); -} - -//CHECK#7 -try { - 1 & {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: 1 & {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 & {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 & {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 & {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 & {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 & {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 & {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.js deleted file mode 100644 index 89e34fe06e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A2.3_T1; - * @section: 11.10.1; - * @assertion: ToInt32(first expression) is called first, and then ToInt32(second expression); - * @description: Checking by using "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A2.3_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.js", - -assertion: "ToInt32(first expression) is called first, and then ToInt32(second expression)", - -description: "Checking by using \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x & y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x & y throw "x". Actual: ' + (x & y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToInt32(first expression) is called first, and then ToInt32(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x & y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.js deleted file mode 100644 index 1cec8e4d32..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A2.4_T1; - * @section: 11.10.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A2.4_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if (((x = 1) & x) !== 1) { - $ERROR('#1: var x = 0; ((x = 1) & x) === 1. Actual: ' + (((x = 1) & x))); -} - -//CHECK#2 -var x = 0; -if ((x & (x = 1)) !== 0) { - $ERROR('#2: var x = 0; (x & (x = 1)) === 0. Actual: ' + ((x & (x = 1)))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.js deleted file mode 100644 index f43f1b4327..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A2.4_T2; - * @section: 11.10.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A2.4_T2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() & y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() & y() throw "x". Actual: ' + (x() & y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() & y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.js deleted file mode 100644 index 901ff2ee2b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A2.4_T3; - * @section: 11.10.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A2.4_T3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x & (x = 1); - $ERROR('#1.1: x & (x = 1) throw ReferenceError. Actual: ' + (x & (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x & (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if (((y = 1) & y) !== 1) { - $ERROR('#2: ((y = 1) & y) === 1. Actual: ' + (((y = 1) & y))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.js deleted file mode 100644 index a6193f789f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T1.1; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) and Type(y) are primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T1.1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) and Type(y) are primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if ((true & true) !== 1) { - $ERROR('#1: (true & true) === 1. Actual: ' + ((true & true))); -} - -//CHECK#2 -if ((new Boolean(true) & true) !== 1) { - $ERROR('#2: (new Boolean(true) & true) === 1. Actual: ' + ((new Boolean(true) & true))); -} - -//CHECK#3 -if ((true & new Boolean(true)) !== 1) { - $ERROR('#3: (true & new Boolean(true)) === 1. Actual: ' + ((true & new Boolean(true)))); -} - -//CHECK#4 -if ((new Boolean(true) & new Boolean(true)) !== 1) { - $ERROR('#4: (new Boolean(true) & new Boolean(true)) === 1. Actual: ' + ((new Boolean(true) & new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.js deleted file mode 100644 index 289b5f4b8f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T1.2; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) and Type(y) are primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T1.2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) and Type(y) are primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if ((1 & 1) !== 1) { - $ERROR('#1: (1 & 1) === 1. Actual: ' + ((1 & 1))); -} - -//CHECK#2 -if ((new Number(1) & 1) !== 1) { - $ERROR('#2: (new Number(1) & 1) === 1. Actual: ' + ((new Number(1) & 1))); -} - -//CHECK#3 -if ((1 & new Number(1)) !== 1) { - $ERROR('#3: (1 & new Number(1)) === 1. Actual: ' + ((1 & new Number(1)))); -} - -//CHECK#4 -if ((new Number(1) & new Number(1)) !== 1) { - $ERROR('#4: (new Number(1) & new Number(1)) === 1. Actual: ' + ((new Number(1) & new Number(1)))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.js deleted file mode 100644 index b0e233526e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T1.3; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) and Type(y) are primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T1.3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) and Type(y) are primitive string and String object", - -test: function testcase() { - //CHECK#1 -if (("1" & "1") !== 1) { - $ERROR('#1: ("1" & "1") === 1. Actual: ' + (("1" & "1"))); -} - -//CHECK#2 -if ((new String("1") & "1") !== 1) { - $ERROR('#2: (new String("1") & "1") === 1. Actual: ' + ((new String("1") & "1"))); -} - -//CHECK#3 -if (("1" & new String("1")) !== 1) { - $ERROR('#3: ("1" & new String("1")) === 1. Actual: ' + (("1" & new String("1")))); -} - -//CHECK#4 -if ((new String("1") & new String("1")) !== 1) { - $ERROR('#4: (new String("1") & new String("1")) === 1. Actual: ' + ((new String("1") & new String("1")))); -} - -//CHECK#5 -if (("x" & "1") !== 0) { - $ERROR('#5: ("x" & "1") === 0. Actual: ' + (("x" & "1"))); -} - -//CHECK#6 -if (("1" & "x") !== 0) { - $ERROR('#6: ("1" & "x") === 0. Actual: ' + (("1" & "x"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.js deleted file mode 100644 index 307412c6c4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T1.4; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) and Type(y) are null and undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T1.4", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) and Type(y) are null and undefined", - -test: function testcase() { - //CHECK#1 -if ((null & undefined) !== 0) { - $ERROR('#1: (null & undefined) === 0. Actual: ' + ((null & undefined))); -} - -//CHECK#2 -if ((undefined & null) !== 0) { - $ERROR('#2: (undefined & null) === 0. Actual: ' + ((undefined & null))); -} - -//CHECK#3 -if ((undefined & undefined) !== 0) { - $ERROR('#3: (undefined & undefined) === 0. Actual: ' + ((undefined & undefined))); -} - -//CHECK#4 -if ((null & null) !== 0) { - $ERROR('#4: (null & null) === 0. Actual: ' + ((null & null))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.js deleted file mode 100644 index 489c9f4fc5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T1.5; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) and Type(y) are Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T1.5", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) and Type(y) are Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} & function(){return 1}) !== 0) { - $ERROR('#1: ({} & function(){return 1}) === 0. Actual: ' + (({} & function(){return 1}))); -} - -//CHECK#2 -if ((function(){return 1} & {}) !== 0) { - $ERROR('#2: (function(){return 1} & {}) === 0. Actual: ' + ((function(){return 1} & {}))); -} - -//CHECK#3 -if ((function(){return 1} & function(){return 1}) !== 0) { - $ERROR('#3: (function(){return 1} & function(){return 1}) === 0. Actual: ' + ((function(){return 1} & function(){return 1}))); -} - -//CHECK#4 -if (({} & {}) !== 0) { - $ERROR('#4: ({} & {}) === 0. Actual: ' + (({} & {}))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.js deleted file mode 100644 index 340b10ee98..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T2.1; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T2.1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ((true & 1) !== 1) { - $ERROR('#1: (true & 1) === 1. Actual: ' + ((true & 1))); -} - -//CHECK#2 -if ((1 & true) !== 1) { - $ERROR('#2: (1 & true) === 1. Actual: ' + ((1 & true))); -} - -//CHECK#3 -if ((new Boolean(true) & 1) !== 1) { - $ERROR('#3: (new Boolean(true) & 1) === 1. Actual: ' + ((new Boolean(true) & 1))); -} - -//CHECK#4 -if ((1 & new Boolean(true)) !== 1) { - $ERROR('#4: (1 & new Boolean(true)) === 1. Actual: ' + ((1 & new Boolean(true)))); -} - -//CHECK#5 -if ((true & new Number(1)) !== 1) { - $ERROR('#5: (true & new Number(1)) === 1. Actual: ' + ((true & new Number(1)))); -} - -//CHECK#6 -if ((new Number(1) & true) !== 1) { - $ERROR('#6: (new Number(1) & true) === 1. Actual: ' + ((new Number(1) & true))); -} - -//CHECK#7 -if ((new Boolean(true) & new Number(1)) !== 1) { - $ERROR('#7: (new Boolean(true) & new Number(1)) === 1. Actual: ' + ((new Boolean(true) & new Number(1)))); -} - -//CHECK#8 -if ((new Number(1) & new Boolean(true)) !== 1) { - $ERROR('#8: (new Number(1) & new Boolean(true)) === 1. Actual: ' + ((new Number(1) & new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.js deleted file mode 100644 index 7c42d83654..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T2.2; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T2.2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (("1" & 1) !== 1) { - $ERROR('#1: ("1" & 1) === 1. Actual: ' + (("1" & 1))); -} - -//CHECK#2 -if ((1 & "1") !== 1) { - $ERROR('#2: (1 & "1") === 1. Actual: ' + ((1 & "1"))); -} - -//CHECK#3 -if ((new String("1") & 1) !== 1) { - $ERROR('#3: (new String("1") & 1) === 1. Actual: ' + ((new String("1") & 1))); -} - -//CHECK#4 -if ((1 & new String("1")) !== 1) { - $ERROR('#4: (1 & new String("1")) === 1. Actual: ' + ((1 & new String("1")))); -} - -//CHECK#5 -if (("1" & new Number(1)) !== 1) { - $ERROR('#5: ("1" & new Number(1)) === 1. Actual: ' + (("1" & new Number(1)))); -} - -//CHECK#6 -if ((new Number(1) & "1") !== 1) { - $ERROR('#6: (new Number(1) & "1") === 1. Actual: ' + ((new Number(1) & "1"))); -} - -//CHECK#7 -if ((new String("1") & new Number(1)) !== 1) { - $ERROR('#7: (new String("1") & new Number(1)) === 1. Actual: ' + ((new String("1") & new Number(1)))); -} - -//CHECK#8 -if ((new Number(1) & new String("1")) !== 1) { - $ERROR('#8: (new Number(1) & new String("1")) === 1. Actual: ' + ((new Number(1) & new String("1")))); -} - -//CHECK#9 -if (("x" & 1) !== 0) { - $ERROR('#9: ("x" & 1) === 0. Actual: ' + (("x" & 1))); -} - -//CHECK#10 -if ((1 & "x") !== 0) { - $ERROR('#10: (1 & "x") === 0. Actual: ' + ((1 & "x"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.js deleted file mode 100644 index ad3b6c7e47..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T2.3; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T2.3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ((1 & null) !== 0) { - $ERROR('#1: (1 & null) === 0. Actual: ' + ((1 & null))); -} - -//CHECK#2 -if ((null & 1) !== 0) { - $ERROR('#2: (null & 1) === 0. Actual: ' + ((null & 1))); -} - -//CHECK#3 -if ((new Number(1) & null) !== 0) { - $ERROR('#3: (new Number(1) & null) === 0. Actual: ' + ((new Number(1) & null))); -} - -//CHECK#4 -if ((null & new Number(1)) !== 0) { - $ERROR('#4: (null & new Number(1)) === 0. Actual: ' + ((null & new Number(1)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.js deleted file mode 100644 index fa98ffcc3c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T2.4; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T2.4", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ((1 & undefined) !== 0) { - $ERROR('#1: (1 & undefined) === 0. Actual: ' + ((1 & undefined))); -} - -//CHECK#2 -if ((undefined & 1) !== 0) { - $ERROR('#2: (undefined & 1) === 0. Actual: ' + ((undefined & 1))); -} - -//CHECK#3 -if ((new Number(1) & undefined) !== 0) { - $ERROR('#3: (new Number(1) & undefined) === 0. Actual: ' + ((new Number(1) & undefined))); -} - -//CHECK#4 -if ((undefined & new Number(1)) !== 0) { - $ERROR('#4: (undefined & new Number(1)) === 0. Actual: ' + ((undefined & new Number(1)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.js deleted file mode 100644 index 78ecc6b6ea..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T2.5; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) us different from Type(y) and both types are String (primitive or object) or Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T2.5", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) us different from Type(y) and both types are String (primitive or object) or Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ((true & "1") !== 1) { - $ERROR('#1: (true & "1") === 1. Actual: ' + ((true & "1"))); -} - -//CHECK#2 -if (("1" & true) !== 1) { - $ERROR('#2: ("1" & true) === 1. Actual: ' + (("1" & true))); -} - -//CHECK#3 -if ((new Boolean(true) & "1") !== 1) { - $ERROR('#3: (new Boolean(true) & "1") === 1. Actual: ' + ((new Boolean(true) & "1"))); -} - -//CHECK#4 -if (("1" & new Boolean(true)) !== 1) { - $ERROR('#4: ("1" & new Boolean(true)) === 1. Actual: ' + (("1" & new Boolean(true)))); -} - -//CHECK#5 -if ((true & new String("1")) !== 1) { - $ERROR('#5: (true & new String("1")) === 1. Actual: ' + ((true & new String("1")))); -} - -//CHECK#6 -if ((new String("1") & true) !== 1) { - $ERROR('#6: (new String("1") & true) === 1. Actual: ' + ((new String("1") & true))); -} - -//CHECK#7 -if ((new Boolean(true) & new String("1")) !== 1) { - $ERROR('#7: (new Boolean(true) & new String("1")) === 1. Actual: ' + ((new Boolean(true) & new String("1")))); -} - -//CHECK#8 -if ((new String("1") & new Boolean(true)) !== 1) { - $ERROR('#8: (new String("1") & new Boolean(true)) === 1. Actual: ' + ((new String("1") & new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.js deleted file mode 100644 index f13a5b3ae1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T2.6; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T2.6", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (("1" & undefined) !== 0) { - $ERROR('#1: ("1" & undefined) === 0. Actual: ' + (("1" & undefined))); -} - -//CHECK#2 -if ((undefined & "1") !== 0) { - $ERROR('#2: (undefined & "1") === 0. Actual: ' + ((undefined & "1"))); -} - -//CHECK#3 -if ((new String("1") & undefined) !== 0) { - $ERROR('#3: (new String("1") & undefined) === 0. Actual: ' + ((new String("1") & undefined))); -} - -//CHECK#4 -if ((undefined & new String("1")) !== 0) { - $ERROR('#4: (undefined & new String("1")) === 0. Actual: ' + ((undefined & new String("1")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.js deleted file mode 100644 index 2f2ad2fb06..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T2.7; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T2.7", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (("1" & null) !== 0) { - $ERROR('#1: ("1" & null) === 0. Actual: ' + (("1" & null))); -} - -//CHECK#2 -if ((null & "1") !== 0) { - $ERROR('#2: (null & "1") === 0. Actual: ' + ((null & "1"))); -} - -//CHECK#3 -if ((new String("1") & null) !== 0) { - $ERROR('#3: (new String("1") & null) === 0. Actual: ' + ((new String("1") & null))); -} - -//CHECK#4 -if ((null & new String("1")) !== 0) { - $ERROR('#4: (null & new String("1")) === 0. Actual: ' + ((null & new String("1")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.js deleted file mode 100644 index 3c05f0fe53..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T2.8; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T2.8", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ((true & undefined) !== 0) { - $ERROR('#1: (true & undefined) === 0. Actual: ' + ((true & undefined))); -} - -//CHECK#2 -if ((undefined & true) !== 0) { - $ERROR('#2: (undefined & true) === 0. Actual: ' + ((undefined & true))); -} - -//CHECK#3 -if ((new Boolean(true) & undefined) !== 0) { - $ERROR('#3: (new Boolean(true) & undefined) === 0. Actual: ' + ((new Boolean(true) & undefined))); -} - -//CHECK#4 -if ((undefined & new Boolean(true)) !== 0) { - $ERROR('#4: (undefined & new Boolean(true)) === 0. Actual: ' + ((undefined & new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.js deleted file mode 100644 index af42c9687e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.1_A3_T2.9; - * @section: 11.10.1; - * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.1_A3_T2.9", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.js", - -assertion: "Operator x & y returns ToNumber(x) & ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ((true & null) !== 0) { - $ERROR('#1: (true & null) === 0. Actual: ' + ((true & null))); -} - -//CHECK#2 -if ((null & true) !== 0) { - $ERROR('#2: (null & true) === 0. Actual: ' + ((null & true))); -} - -//CHECK#3 -if ((new Boolean(true) & null) !== 0) { - $ERROR('#3: (new Boolean(true) & null) === 0. Actual: ' + ((new Boolean(true) & null))); -} - -//CHECK#4 -if ((null & new Boolean(true)) !== 0) { - $ERROR('#4: (null & new Boolean(true)) === 0. Actual: ' + ((null & new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.js deleted file mode 100644 index 769ac873df..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.10.2_A1; -* @section: 11.10.2; -* @assertion: White Space and Line Terminator between BitwiseXORExpression and "^" or between "^" and BitwiseANDExpression are allowed; -* @description: The check uses eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.js", - -assertion: "White Space and Line Terminator between BitwiseXORExpression and \"^\" or between \"^\" and BitwiseANDExpression are allowed", - -description: "The check uses eval", - -test: function testcase() { - //CHECK#1 -if ((eval("1\u0009^\u00091")) !== 0) { - $ERROR('#1: (1\\u0009^\\u00091) === 0'); -} - -//CHECK#2 -if ((eval("1\u000B^\u000B1")) !== 0) { - $ERROR('#2: (1\\u000B^\\u000B1) === 0'); -} - -//CHECK#3 -if ((eval("1\u000C^\u000C1")) !== 0) { - $ERROR('#3: (1\\u000C^\\u000C1) === 0'); -} - -//CHECK#4 -if ((eval("1\u0020^\u00201")) !== 0) { - $ERROR('#4: (1\\u0020^\\u00201) === 0'); -} - -//CHECK#5 -if ((eval("1\u00A0^\u00A01")) !== 0) { - $ERROR('#5: (1\\u00A0^\\u00A01) === 0'); -} - -//CHECK#6 -if ((eval("1\u000A^\u000A1")) !== 0) { - $ERROR('#6: (1\\u000A^\\u000A1) === 0'); -} - -//CHECK#7 -if ((eval("1\u000D^\u000D1")) !== 0) { - $ERROR('#7: (1\\u000D^\\u000D1) === 0'); -} - -//CHECK#8 -if ((eval("1\u2028^\u20281")) !== 0) { - $ERROR('#8: (1\\u2028^\\u20281) === 0'); -} - -//CHECK#9 -if ((eval("1\u2029^\u20291")) !== 0) { - $ERROR('#9: (1\\u2029^\\u20291) === 0'); -} - - -//CHECK#10 -if ((eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029^\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 0) { - $ERROR('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029^\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.js deleted file mode 100644 index ad7e813efd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A2.1_T1; - * @section: 11.10.2; - * @assertion: Operator x ^ y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A2.1_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.js", - -assertion: "Operator x ^ y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ((1 ^ 1) !== 0) { - $ERROR('#1: (1 ^ 1) === 0. Actual: ' + ((1 ^ 1))); -} - -//CHECK#2 -var x = 1; -if ((x ^ 1) !== 0) { - $ERROR('#2: var x = 1; (x ^ 1) === 0. Actual: ' + ((x ^ 1))); -} - -//CHECK#3 -var y = 1; -if ((1 ^ y) !== 0) { - $ERROR('#3: var y = 1; (1 ^ y) === 0. Actual: ' + ((1 ^ y))); -} - -//CHECK#4 -var x = 1; -var y = 1; -if ((x ^ y) !== 0) { - $ERROR('#4: var x = 1; var y = 1; (x ^ y) === 0. Actual: ' + ((x ^ y))); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if ((objectx.prop ^ objecty.prop) !== 0) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop ^ objecty.prop) === 0. Actual: ' + ((objectx.prop ^ objecty.prop))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.js deleted file mode 100644 index 0ef8248a8f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A2.1_T2; - * @section: 11.10.2; - * @assertion: Operator x ^ y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A2.1_T2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.js", - -assertion: "Operator x ^ y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x ^ 1; - $ERROR('#1.1: x ^ 1 throw ReferenceError. Actual: ' + (x ^ 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x ^ 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.js deleted file mode 100644 index 5be4abf070..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A2.1_T3; - * @section: 11.10.2; - * @assertion: Operator x ^ y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A2.1_T3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.js", - -assertion: "Operator x ^ y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 ^ y; - $ERROR('#1.1: 1 ^ y throw ReferenceError. Actual: ' + (1 ^ y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 ^ y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.js deleted file mode 100644 index 425e9b4379..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A2.2_T1; - * @section: 11.10.2, 8.6.2.6; - * @assertion: Operator x ^ y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A2.2_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.js", - -assertion: "Operator x ^ y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if (({valueOf: function() {return 1}} ^ 1) !== 0) { - $ERROR('#1: ({valueOf: function() {return 1}} ^ 1) === 0. Actual: ' + (({valueOf: function() {return 1}} ^ 1))); -} - -//CHECK#2 -if (({valueOf: function() {return 1}, toString: function() {return 0}} ^ 1) !== 0) { - $ERROR('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} ^ 1) === 0. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return 0}} ^ 1))); -} - -//CHECK#3 -if (({valueOf: function() {return 1}, toString: function() {return {}}} ^ 1) !== 0) { - $ERROR('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} ^ 1) === 0. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return {}}} ^ 1))); -} - -//CHECK#4 -try { - if (({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1) !== 0) { - $ERROR('#4.1: ({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1) === 0. Actual: ' + (({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: ({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1) not throw "error"'); - } else { - $ERROR('#4.3: ({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if ((1 ^ {toString: function() {return 1}}) !== 0) { - $ERROR('#5: (1 ^ {toString: function() {return 1}}) === 0. Actual: ' + ((1 ^ {toString: function() {return 1}}))); -} - -//CHECK#6 -if ((1 ^ {valueOf: function() {return {}}, toString: function() {return 1}}) !== 0) { - $ERROR('#6: (1 ^ {valueOf: function() {return {}}, toString: function() {return 1}}) === 0. Actual: ' + ((1 ^ {valueOf: function() {return {}}, toString: function() {return 1}}))); -} - -//CHECK#7 -try { - 1 ^ {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: 1 ^ {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 ^ {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 ^ {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 ^ {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 ^ {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 ^ {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 ^ {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.js deleted file mode 100644 index d26dfd87f7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A2.3_T1; - * @section: 11.10.2; - * @assertion: ToInt32(first expression) is called first, and then ToInt32(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A2.3_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.js", - -assertion: "ToInt32(first expression) is called first, and then ToInt32(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x ^ y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x ^ y throw "x". Actual: ' + (x ^ y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToInt32(first expression) is called first, and then ToInt32(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x ^ y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.js deleted file mode 100644 index 1e772584a5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A2.4_T1; - * @section: 11.10.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A2.4_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -if (((x = 0) ^ x) !== 0) { - $ERROR('#1: var x = 0; ((x = 1) ^ x) === 0. Actual: ' + (((x = 1) ^ x))); -} - -//CHECK#2 -var x = 0; -if ((x ^ (x = 1)) !== 1) { - $ERROR('#2: var x = 0; (x ^ (x = 1)) === 1. Actual: ' + ((x ^ (x = 1)))); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.js deleted file mode 100644 index cd147c2f1f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A2.4_T2; - * @section: 11.10.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A2.4_T2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() ^ y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() ^ y() throw "x". Actual: ' + (x() ^ y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() ^ y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.js deleted file mode 100644 index 0de2e2ce25..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A2.4_T3; - * @section: 11.10.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A2.4_T3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x ^ (x = 1); - $ERROR('#1.1: x ^ (x = 1) throw ReferenceError. Actual: ' + (x ^ (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x ^ (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if (((y = 1) ^ y) !== 0) { - $ERROR('#2: ((y = 1) ^ y) === 0. Actual: ' + (((y = 1) ^ y))); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.js deleted file mode 100644 index ea606dedcd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T1.1; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) and Type(y) are primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T1.1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) and Type(y) are primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if ((true ^ true) !== 0) { - $ERROR('#1: (true ^ true) === 0. Actual: ' + ((true ^ true))); -} - -//CHECK#2 -if ((new Boolean(true) ^ true) !== 0) { - $ERROR('#2: (new Boolean(true) ^ true) === 0. Actual: ' + ((new Boolean(true) ^ true))); -} - -//CHECK#3 -if ((true ^ new Boolean(true)) !== 0) { - $ERROR('#3: (true ^ new Boolean(true)) === 0. Actual: ' + ((true ^ new Boolean(true)))); -} - -//CHECK#4 -if ((new Boolean(true) ^ new Boolean(true)) !== 0) { - $ERROR('#4: (new Boolean(true) ^ new Boolean(true)) === 0. Actual: ' + ((new Boolean(true) ^ new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.js deleted file mode 100644 index 773a9cd1bb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T1.2; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) and Type(y) are primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T1.2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) and Type(y) are primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if ((1 ^ 1) !== 0) { - $ERROR('#1: (1 ^ 1) === 0. Actual: ' + ((1 ^ 1))); -} - -//CHECK#2 -if ((new Number(1) ^ 1) !== 0) { - $ERROR('#2: (new Number(1) ^ 1) === 0. Actual: ' + ((new Number(1) ^ 1))); -} - -//CHECK#3 -if ((1 ^ new Number(1)) !== 0) { - $ERROR('#3: (1 ^ new Number(1)) === 0. Actual: ' + ((1 ^ new Number(1)))); -} - -//CHECK#4 -if ((new Number(1) ^ new Number(1)) !== 0) { - $ERROR('#4: (new Number(1) ^ new Number(1)) === 0. Actual: ' + ((new Number(1) ^ new Number(1)))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.js deleted file mode 100644 index 89dfe07c6d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T1.3; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) and Type(y) are primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T1.3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) and Type(y) are primitive string and String object", - -test: function testcase() { - //CHECK#1 -if (("1" ^ "1") !== 0) { - $ERROR('#1: ("1" ^ "1") === 0. Actual: ' + (("1" ^ "1"))); -} - -//CHECK#2 -if ((new String("1") ^ "1") !== 0) { - $ERROR('#2: (new String("1") ^ "1") === 0. Actual: ' + ((new String("1") ^ "1"))); -} - -//CHECK#3 -if (("1" ^ new String("1")) !== 0) { - $ERROR('#3: ("1" ^ new String("1")) === 0. Actual: ' + (("1" ^ new String("1")))); -} - -//CHECK#4 -if ((new String("1") ^ new String("1")) !== 0) { - $ERROR('#4: (new String("1") ^ new String("1")) === 0. Actual: ' + ((new String("1") ^ new String("1")))); -} - -//CHECK#5 -if (("x" ^ "1") !== 1) { - $ERROR('#5: ("x" ^ "1") === 1. Actual: ' + (("x" ^ "1"))); -} - -//CHECK#6 -if (("1" ^ "x") !== 1) { - $ERROR('#6: ("1" ^ "x") === 1. Actual: ' + (("1" ^ "x"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.js deleted file mode 100644 index 709ab059b3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T1.4; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) and Type(y) are null and undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T1.4", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) and Type(y) are null and undefined", - -test: function testcase() { - //CHECK#1 -if ((null ^ undefined) !== 0) { - $ERROR('#1: (null ^ undefined) === 0. Actual: ' + ((null ^ undefined))); -} - -//CHECK#2 -if ((undefined ^ null) !== 0) { - $ERROR('#2: (undefined ^ null) === 0. Actual: ' + ((undefined ^ null))); -} - -//CHECK#3 -if ((undefined ^ undefined) !== 0) { - $ERROR('#3: (undefined ^ undefined) === 0. Actual: ' + ((undefined ^ undefined))); -} - -//CHECK#4 -if ((null ^ null) !== 0) { - $ERROR('#4: (null ^ null) === 0. Actual: ' + ((null ^ null))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.js deleted file mode 100644 index a86e6cb2bb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T1.5; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) and Type(y) are Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T1.5", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) and Type(y) are Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} ^ function(){return 1}) !== 0) { - $ERROR('#1: ({} ^ function(){return 1}) === 0. Actual: ' + (({} ^ function(){return 1}))); -} - -//CHECK#2 -if ((function(){return 1} ^ {}) !== 0) { - $ERROR('#2: (function(){return 1} ^ {}) === 0. Actual: ' + ((function(){return 1} ^ {}))); -} - -//CHECK#3 -if ((function(){return 1} ^ function(){return 1}) !== 0) { - $ERROR('#3: (function(){return 1} ^ function(){return 1}) === 0. Actual: ' + ((function(){return 1} ^ function(){return 1}))); -} - -//CHECK#4 -if (({} ^ {}) !== 0) { - $ERROR('#4: ({} ^ {}) === 0. Actual: ' + (({} ^ {}))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.js deleted file mode 100644 index ea64552730..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T2.1; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T2.1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ((true ^ 1) !== 0) { - $ERROR('#1: (true ^ 1) === 0. Actual: ' + ((true ^ 1))); -} - -//CHECK#2 -if ((1 ^ true) !== 0) { - $ERROR('#2: (1 ^ true) === 0. Actual: ' + ((1 ^ true))); -} - -//CHECK#3 -if ((new Boolean(true) ^ 1) !== 0) { - $ERROR('#3: (new Boolean(true) ^ 1) === 0. Actual: ' + ((new Boolean(true) ^ 1))); -} - -//CHECK#4 -if ((1 ^ new Boolean(true)) !== 0) { - $ERROR('#4: (1 ^ new Boolean(true)) === 0. Actual: ' + ((1 ^ new Boolean(true)))); -} - -//CHECK#5 -if ((true ^ new Number(1)) !== 0) { - $ERROR('#5: (true ^ new Number(1)) === 0. Actual: ' + ((true ^ new Number(1)))); -} - -//CHECK#6 -if ((new Number(1) ^ true) !== 0) { - $ERROR('#6: (new Number(1) ^ true) === 0. Actual: ' + ((new Number(1) ^ true))); -} - -//CHECK#7 -if ((new Boolean(true) ^ new Number(1)) !== 0) { - $ERROR('#7: (new Boolean(true) ^ new Number(1)) === 0. Actual: ' + ((new Boolean(true) ^ new Number(1)))); -} - -//CHECK#8 -if ((new Number(1) ^ new Boolean(true)) !== 0) { - $ERROR('#8: (new Number(1) ^ new Boolean(true)) === 0. Actual: ' + ((new Number(1) ^ new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.js deleted file mode 100644 index 98fe4d7a35..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T2.2; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T2.2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (("1" ^ 1) !== 0) { - $ERROR('#1: ("1" ^ 1) === 0. Actual: ' + (("1" ^ 1))); -} - -//CHECK#2 -if ((1 ^ "1") !== 0) { - $ERROR('#2: (1 ^ "1") === 0. Actual: ' + ((1 ^ "1"))); -} - -//CHECK#3 -if ((new String("1") ^ 1) !== 0) { - $ERROR('#3: (new String("1") ^ 1) === 0. Actual: ' + ((new String("1") ^ 1))); -} - -//CHECK#4 -if ((1 ^ new String("1")) !== 0) { - $ERROR('#4: (1 ^ new String("1")) === 0. Actual: ' + ((1 ^ new String("1")))); -} - -//CHECK#5 -if (("1" ^ new Number(1)) !== 0) { - $ERROR('#5: ("1" ^ new Number(1)) === 0. Actual: ' + (("1" ^ new Number(1)))); -} - -//CHECK#6 -if ((new Number(1) ^ "1") !== 0) { - $ERROR('#6: (new Number(1) ^ "1") === 0. Actual: ' + ((new Number(1) ^ "1"))); -} - -//CHECK#7 -if ((new String("1") ^ new Number(1)) !== 0) { - $ERROR('#7: (new String("1") ^ new Number(1)) === 0. Actual: ' + ((new String("1") ^ new Number(1)))); -} - -//CHECK#8 -if ((new Number(1) ^ new String("1")) !== 0) { - $ERROR('#8: (new Number(1) ^ new String("1")) === 0. Actual: ' + ((new Number(1) ^ new String("1")))); -} - -//CHECK#9 -if (("x" ^ 1) !== 1) { - $ERROR('#9: ("x" ^ 1) === 1. Actual: ' + (("x" ^ 1))); -} - -//CHECK#10 -if ((1 ^ "x") !== 1) { - $ERROR('#10: (1 ^ "x") === 1. Actual: ' + ((1 ^ "x"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.js deleted file mode 100644 index d4ee38632d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T2.3; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T2.3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ((1 ^ null) !== 1) { - $ERROR('#1: (1 ^ null) === 1. Actual: ' + ((1 ^ null))); -} - -//CHECK#2 -if ((null ^ 1) !== 1) { - $ERROR('#2: (null ^ 1) === 1. Actual: ' + ((null ^ 1))); -} - -//CHECK#3 -if ((new Number(1) ^ null) !== 1) { - $ERROR('#3: (new Number(1) ^ null) === 1. Actual: ' + ((new Number(1) ^ null))); -} - -//CHECK#4 -if ((null ^ new Number(1)) !== 1) { - $ERROR('#4: (null ^ new Number(1)) === 1. Actual: ' + ((null ^ new Number(1)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.js deleted file mode 100644 index ca1e8b76e2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T2.4; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T2.4", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ((1 ^ undefined) !== 1) { - $ERROR('#1: (1 ^ undefined) === 1. Actual: ' + ((1 ^ undefined))); -} - -//CHECK#2 -if ((undefined ^ 1) !== 1) { - $ERROR('#2: (undefined ^ 1) === 1. Actual: ' + ((undefined ^ 1))); -} - -//CHECK#3 -if ((new Number(1) ^ undefined) !== 1) { - $ERROR('#3: (new Number(1) ^ undefined) === 1. Actual: ' + ((new Number(1) ^ undefined))); -} - -//CHECK#4 -if ((undefined ^ new Number(1)) !== 1) { - $ERROR('#4: (undefined ^ new Number(1)) === 1. Actual: ' + ((undefined ^ new Number(1)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.js deleted file mode 100644 index cc84a4713d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T2.5; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T2.5", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ((true ^ "1") !== 0) { - $ERROR('#1: (true ^ "1") === 0. Actual: ' + ((true ^ "1"))); -} - -//CHECK#2 -if (("1" ^ true) !== 0) { - $ERROR('#2: ("1" ^ true) === 0. Actual: ' + (("1" ^ true))); -} - -//CHECK#3 -if ((new Boolean(true) ^ "1") !== 0) { - $ERROR('#3: (new Boolean(true) ^ "1") === 0. Actual: ' + ((new Boolean(true) ^ "1"))); -} - -//CHECK#4 -if (("1" ^ new Boolean(true)) !== 0) { - $ERROR('#4: ("1" ^ new Boolean(true)) === 0. Actual: ' + (("1" ^ new Boolean(true)))); -} - -//CHECK#5 -if ((true ^ new String("1")) !== 0) { - $ERROR('#5: (true ^ new String("1")) === 0. Actual: ' + ((true ^ new String("1")))); -} - -//CHECK#6 -if ((new String("1") ^ true) !== 0) { - $ERROR('#6: (new String("1") ^ true) === 0. Actual: ' + ((new String("1") ^ true))); -} - -//CHECK#7 -if ((new Boolean(true) ^ new String("1")) !== 0) { - $ERROR('#7: (new Boolean(true) ^ new String("1")) === 0. Actual: ' + ((new Boolean(true) ^ new String("1")))); -} - -//CHECK#8 -if ((new String("1") ^ new Boolean(true)) !== 0) { - $ERROR('#8: (new String("1") ^ new Boolean(true)) === 0. Actual: ' + ((new String("1") ^ new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.js deleted file mode 100644 index 37e289af5d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T2.6; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T2.6", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (("1" ^ undefined) !== 1) { - $ERROR('#1: ("1" ^ undefined) === 1. Actual: ' + (("1" ^ undefined))); -} - -//CHECK#2 -if ((undefined ^ "1") !== 1) { - $ERROR('#2: (undefined ^ "1") === 1. Actual: ' + ((undefined ^ "1"))); -} - -//CHECK#3 -if ((new String("1") ^ undefined) !== 1) { - $ERROR('#3: (new String("1") ^ undefined) === 1. Actual: ' + ((new String("1") ^ undefined))); -} - -//CHECK#4 -if ((undefined ^ new String("1")) !== 1) { - $ERROR('#4: (undefined ^ new String("1")) === 1. Actual: ' + ((undefined ^ new String("1")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.js deleted file mode 100644 index da3ca765c0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T2.7; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T2.7", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (("1" ^ null) !== 1) { - $ERROR('#1: ("1" ^ null) === 1. Actual: ' + (("1" ^ null))); -} - -//CHECK#2 -if ((null ^ "1") !== 1) { - $ERROR('#2: (null ^ "1") === 1. Actual: ' + ((null ^ "1"))); -} - -//CHECK#3 -if ((new String("1") ^ null) !== 1) { - $ERROR('#3: (new String("1") ^ null) === 1. Actual: ' + ((new String("1") ^ null))); -} - -//CHECK#4 -if ((null ^ new String("1")) !== 1) { - $ERROR('#4: (null ^ new String("1")) === 1. Actual: ' + ((null ^ new String("1")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.js deleted file mode 100644 index 10a36419fc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T2.8; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T2.8", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ((true ^ undefined) !== 1) { - $ERROR('#1: (true ^ undefined) === 1. Actual: ' + ((true ^ undefined))); -} - -//CHECK#2 -if ((undefined ^ true) !== 1) { - $ERROR('#2: (undefined ^ true) === 1. Actual: ' + ((undefined ^ true))); -} - -//CHECK#3 -if ((new Boolean(true) ^ undefined) !== 1) { - $ERROR('#3: (new Boolean(true) ^ undefined) === 1. Actual: ' + ((new Boolean(true) ^ undefined))); -} - -//CHECK#4 -if ((undefined ^ new Boolean(true)) !== 1) { - $ERROR('#4: (undefined ^ new Boolean(true)) === 1. Actual: ' + ((undefined ^ new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.js deleted file mode 100644 index b709ee3362..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.2_A3_T2.9; - * @section: 11.10.2; - * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.2_A3_T2.9", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.js", - -assertion: "Operator x ^ y returns ToNumber(x) ^ ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ((true ^ null) !== 1) { - $ERROR('#1: (true ^ null) === 1. Actual: ' + ((true ^ null))); -} - -//CHECK#2 -if ((null ^ true) !== 1) { - $ERROR('#2: (null ^ true) === 1. Actual: ' + ((null ^ true))); -} - -//CHECK#3 -if ((new Boolean(true) ^ null) !== 1) { - $ERROR('#3: (new Boolean(true) ^ null) === 1. Actual: ' + ((new Boolean(true) ^ null))); -} - -//CHECK#4 -if ((null ^ new Boolean(true)) !== 1) { - $ERROR('#4: (null ^ new Boolean(true)) === 1. Actual: ' + ((null ^ new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.js deleted file mode 100644 index 87d7dcc479..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.10.3_A1; -* @section: 11.10.3; -* @assertion: White Space and Line Terminator between BitwiseORExpression and "|" or between "|" and BitwiseXORExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.js", - -assertion: "White Space and Line Terminator between BitwiseORExpression and \"|\" or between \"|\" and BitwiseXORExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if ((eval("0\u0009|\u00091")) !== 1) { - $ERROR('#1: (0\\u0009|\\u00091) === 1'); -} - -//CHECK#2 -if ((eval("0\u000B|\u000B1")) !== 1) { - $ERROR('#2: (0\\u000B|\\u000B1) === 1'); -} - -//CHECK#3 -if ((eval("0\u000C|\u000C1")) !== 1) { - $ERROR('#3: (0\\u000C|\\u000C1) === 1'); -} - -//CHECK#4 -if ((eval("0\u0020|\u00201")) !== 1) { - $ERROR('#4: (0\\u0020|\\u00201) === 1'); -} - -//CHECK#5 -if ((eval("0\u00A0|\u00A01")) !== 1) { - $ERROR('#5: (0\\u00A0|\\u00A01) === 1'); -} - -//CHECK#6 -if ((eval("0\u000A|\u000A1")) !== 1) { - $ERROR('#6: (0\\u000A|\\u000A1) === 1'); -} - -//CHECK#7 -if ((eval("0\u000D|\u000D1")) !== 1) { - $ERROR('#7: (0\\u000D|\\u000D1) === 1'); -} - -//CHECK#8 -if ((eval("0\u2028|\u20281")) !== 1) { - $ERROR('#8: (0\\u2028|\\u20281) === 1'); -} - -//CHECK#9 -if ((eval("0\u2029|\u20291")) !== 1) { - $ERROR('#9: (0\\u2029|\\u20291) === 1'); -} - - -//CHECK#10 -if ((eval("0\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029|\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 1) { - $ERROR('#10: (0\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029|\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.js deleted file mode 100644 index 406bcdaf7e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A2.1_T1; - * @section: 11.10.3; - * @assertion: Operator x | y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A2.1_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.js", - -assertion: "Operator x | y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ((1 | 0) !== 1) { - $ERROR('#1: (1 | 0) === 1. Actual: ' + ((1 | 0))); -} - -//CHECK#2 -var x = 1; -if ((x | 0) !== 1) { - $ERROR('#2: var x = 1; (x | 0) === 1. Actual: ' + ((x | 0))); -} - -//CHECK#3 -var y = 0; -if ((1 | y) !== 1) { - $ERROR('#3: var y = 0; (1 | y) === 1. Actual: ' + ((1 | y))); -} - -//CHECK#4 -var x = 1; -var y = 0; -if ((x | y) !== 1) { - $ERROR('#4: var x = 1; var y = 0; (x | y) === 1. Actual: ' + ((x | y))); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 0; -if ((objectx.prop | objecty.prop) !== 1) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 0; (objectx.prop | objecty.prop) === 1. Actual: ' + ((objectx.prop | objecty.prop))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.js deleted file mode 100644 index 9b6bf1d91b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A2.1_T2; - * @section: 11.10.3; - * @assertion: Operator x | y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A2.1_T2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.js", - -assertion: "Operator x | y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x | 1; - $ERROR('#1.1: x | 1 throw ReferenceError. Actual: ' + (x | 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x | 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.js deleted file mode 100644 index 2ad1f6fed1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A2.1_T3; - * @section: 11.10.3; - * @assertion: Operator x | y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A2.1_T3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.js", - -assertion: "Operator x | y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 | y; - $ERROR('#1.1: 1 | y throw ReferenceError. Actual: ' + (1 | y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 | y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.js deleted file mode 100644 index fcb07600ed..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A2.2_T1; - * @section: 11.10.3, 8.6.2.6; - * @assertion: Operator x | y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A2.2_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.js", - -assertion: "Operator x | y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if (({valueOf: function() {return 1}} | 0) !== 1) { - $ERROR('#1: ({valueOf: function() {return 1}} | 0) === 1. Actual: ' + (({valueOf: function() {return 1}} | 0))); -} - -//CHECK#2 -if (({valueOf: function() {return 1}, toString: function() {return 0}} | 0) !== 1) { - $ERROR('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} | 0) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return 0}} | 0))); -} - -//CHECK#3 -if (({valueOf: function() {return 1}, toString: function() {return {}}} | 0) !== 1) { - $ERROR('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} | 0) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return {}}} | 0))); -} - -//CHECK#4 -try { - if (({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0) !== 1) { - $ERROR('#4.1: ({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: ({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0) not throw "error"'); - } else { - $ERROR('#4.3: ({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if ((0 | {toString: function() {return 1}}) !== 1) { - $ERROR('#5: (0 | {toString: function() {return 1}}) === 1. Actual: ' + ((0 | {toString: function() {return 1}}))); -} - -//CHECK#6 -if ((0 | {valueOf: function() {return {}}, toString: function() {return 1}}) !== 1) { - $ERROR('#6: (0 | {valueOf: function() {return {}}, toString: function() {return 1}}) === 1. Actual: ' + ((0 | {valueOf: function() {return {}}, toString: function() {return 1}}))); -} - -//CHECK#7 -try { - 0 | {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: 0 | {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (0 | {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 0 | {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 0 | {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 0 | {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (0 | {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 0 | {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.js deleted file mode 100644 index 9a3ec43e5e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A2.3_T1; - * @section: 11.10.3; - * @assertion: ToInt32(first expression) is called first, and then ToInt32(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A2.3_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.js", - -assertion: "ToInt32(first expression) is called first, and then ToInt32(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x | y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x | y throw "x". Actual: ' + (x | y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToInt32(first expression) is called first, and then ToInt32(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x | y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.js deleted file mode 100644 index a63de967d2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A2.4_T1; - * @section: 11.10.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A2.4_T1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -if (((x = 0) | x) !== 0) { - $ERROR('#1: var x = 1; ((x = 0) | x) === 0. Actual: ' + (((x = 0) | x))); -} - -//CHECK#2 -var x = 1; -if ((x | (x = 0)) !== 1) { - $ERROR('#2: var x = 1; (x | (x = 0)) === 1. Actual: ' + ((x | (x = 0)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.js deleted file mode 100644 index 5f90c71af3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A2.4_T2; - * @section: 11.10.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A2.4_T2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() | y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() | y() throw "x". Actual: ' + (x() | y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() | y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.js deleted file mode 100644 index e28133d998..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A2.4_T3; - * @section: 11.10.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A2.4_T3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x | (x = 1); - $ERROR('#1.1: x | (x = 1) throw ReferenceError. Actual: ' + (x | (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x | (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if (((y = 1) | y) !== 1) { - $ERROR('#2: ((y = 1) | y) === 1. Actual: ' + (((y = 1) | y))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.js deleted file mode 100644 index 5592f41b15..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T1.1; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T1.1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if ((true | true) !== 1) { - $ERROR('#1: (true | true) === 1. Actual: ' + ((true | true))); -} - -//CHECK#2 -if ((new Boolean(true) | true) !== 1) { - $ERROR('#2: (new Boolean(true) | true) === 1. Actual: ' + ((new Boolean(true) | true))); -} - -//CHECK#3 -if ((true | new Boolean(true)) !== 1) { - $ERROR('#3: (true | new Boolean(true)) === 1. Actual: ' + ((true | new Boolean(true)))); -} - -//CHECK#4 -if ((new Boolean(true) | new Boolean(true)) !== 1) { - $ERROR('#4: (new Boolean(true) | new Boolean(true)) === 1. Actual: ' + ((new Boolean(true) | new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.js deleted file mode 100644 index 18d580d079..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T1.2; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T1.2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if ((1 | 1) !== 1) { - $ERROR('#1: (1 | 1) === 1. Actual: ' + ((1 | 1))); -} - -//CHECK#2 -if ((new Number(1) | 1) !== 1) { - $ERROR('#2: (new Number(1) | 1) === 1. Actual: ' + ((new Number(1) | 1))); -} - -//CHECK#3 -if ((1 | new Number(1)) !== 1) { - $ERROR('#3: (1 | new Number(1)) === 1. Actual: ' + ((1 | new Number(1)))); -} - -//CHECK#4 -if ((new Number(1) | new Number(1)) !== 1) { - $ERROR('#4: (new Number(1) | new Number(1)) === 1. Actual: ' + ((new Number(1) | new Number(1)))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.js deleted file mode 100644 index 91b708fd7c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T1.3; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T1.3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if (("1" | "1") !== 1) { - $ERROR('#1: ("1" | "1") === 1. Actual: ' + (("1" | "1"))); -} - -//CHECK#2 -if ((new String("1") | "1") !== 1) { - $ERROR('#2: (new String("1") | "1") === 1. Actual: ' + ((new String("1") | "1"))); -} - -//CHECK#3 -if (("1" | new String("1")) !== 1) { - $ERROR('#3: ("1" | new String("1")) === 1. Actual: ' + (("1" | new String("1")))); -} - -//CHECK#4 -if ((new String("1") | new String("1")) !== 1) { - $ERROR('#4: (new String("1") | new String("1")) === 1. Actual: ' + ((new String("1") | new String("1")))); -} - -//CHECK#5 -if (("x" | "1") !== 1) { - $ERROR('#5: ("x" | "1") === 1. Actual: ' + (("x" | "1"))); -} - -//CHECK#6 -if (("1" | "x") !== 1) { - $ERROR('#6: ("1" | "x") === 1. Actual: ' + (("1" | "x"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.js deleted file mode 100644 index 013013db05..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T1.4; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T1.4", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if ((null | undefined) !== 0) { - $ERROR('#1: (null | undefined) === 0. Actual: ' + ((null | undefined))); -} - -//CHECK#2 -if ((undefined | null) !== 0) { - $ERROR('#2: (undefined | null) === 0. Actual: ' + ((undefined | null))); -} - -//CHECK#3 -if ((undefined | undefined) !== 0) { - $ERROR('#3: (undefined | undefined) === 0. Actual: ' + ((undefined | undefined))); -} - -//CHECK#4 -if ((null | null) !== 0) { - $ERROR('#4: (null | null) === 0. Actual: ' + ((null | null))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.js deleted file mode 100644 index 9953942876..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T1.5; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) and Type(y) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T1.5", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) and Type(y) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} | function(){return 1}) !== 0) { - $ERROR('#1: ({} | function(){return 1}) === 0. Actual: ' + (({} | function(){return 1}))); -} - -//CHECK#2 -if ((function(){return 1} | {}) !== 0) { - $ERROR('#2: (function(){return 1} | {}) === 0. Actual: ' + ((function(){return 1} | {}))); -} - -//CHECK#3 -if ((function(){return 1} | function(){return 1}) !== 0) { - $ERROR('#3: (function(){return 1} | function(){return 1}) === 0. Actual: ' + ((function(){return 1} | function(){return 1}))); -} - -//CHECK#4 -if (({} | {}) !== 0) { - $ERROR('#4: ({} | {}) === 0. Actual: ' + (({} | {}))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.js deleted file mode 100644 index c3d3f5daf9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T2.1; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T2.1", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ((true | 1) !== 1) { - $ERROR('#1: (true | 1) === 1. Actual: ' + ((true | 1))); -} - -//CHECK#2 -if ((1 | true) !== 1) { - $ERROR('#2: (1 | true) === 1. Actual: ' + ((1 | true))); -} - -//CHECK#3 -if ((new Boolean(true) | 1) !== 1) { - $ERROR('#3: (new Boolean(true) | 1) === 1. Actual: ' + ((new Boolean(true) | 1))); -} - -//CHECK#4 -if ((1 | new Boolean(true)) !== 1) { - $ERROR('#4: (1 | new Boolean(true)) === 1. Actual: ' + ((1 | new Boolean(true)))); -} - -//CHECK#5 -if ((true | new Number(1)) !== 1) { - $ERROR('#5: (true | new Number(1)) === 1. Actual: ' + ((true | new Number(1)))); -} - -//CHECK#6 -if ((new Number(1) | true) !== 1) { - $ERROR('#6: (new Number(1) | true) === 1. Actual: ' + ((new Number(1) | true))); -} - -//CHECK#7 -if ((new Boolean(true) | new Number(1)) !== 1) { - $ERROR('#7: (new Boolean(true) | new Number(1)) === 1. Actual: ' + ((new Boolean(true) | new Number(1)))); -} - -//CHECK#8 -if ((new Number(1) | new Boolean(true)) !== 1) { - $ERROR('#8: (new Number(1) | new Boolean(true)) === 1. Actual: ' + ((new Number(1) | new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.js deleted file mode 100644 index 9d7701b85e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T2.2; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T2.2", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (("1" | 1) !== 1) { - $ERROR('#1: ("1" | 1) === 1. Actual: ' + (("1" | 1))); -} - -//CHECK#2 -if ((1 | "1") !== 1) { - $ERROR('#2: (1 | "1") === 1. Actual: ' + ((1 | "1"))); -} - -//CHECK#3 -if ((new String("1") | 1) !== 1) { - $ERROR('#3: (new String("1") | 1) === 1. Actual: ' + ((new String("1") | 1))); -} - -//CHECK#4 -if ((1 | new String("1")) !== 1) { - $ERROR('#4: (1 | new String("1")) === 1. Actual: ' + ((1 | new String("1")))); -} - -//CHECK#5 -if (("1" | new Number(1)) !== 1) { - $ERROR('#5: ("1" | new Number(1)) === 1. Actual: ' + (("1" | new Number(1)))); -} - -//CHECK#6 -if ((new Number(1) | "1") !== 1) { - $ERROR('#6: (new Number(1) | "1") === 1. Actual: ' + ((new Number(1) | "1"))); -} - -//CHECK#7 -if ((new String("1") | new Number(1)) !== 1) { - $ERROR('#7: (new String("1") | new Number(1)) === 1. Actual: ' + ((new String("1") | new Number(1)))); -} - -//CHECK#8 -if ((new Number(1) | new String("1")) !== 1) { - $ERROR('#8: (new Number(1) | new String("1")) === 1. Actual: ' + ((new Number(1) | new String("1")))); -} - -//CHECK#9 -if (("x" | 1) !== 1) { - $ERROR('#9: ("x" | 1) === 1. Actual: ' + (("x" | 1))); -} - -//CHECK#10 -if ((1 | "x") !== 1) { - $ERROR('#10: (1 | "x") === 1. Actual: ' + ((1 | "x"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.js deleted file mode 100644 index 009cce5b57..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T2.3; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T2.3", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ((1 | null) !== 1) { - $ERROR('#1: (1 | null) === 1. Actual: ' + ((1 | null))); -} - -//CHECK#2 -if ((null | 1) !== 1) { - $ERROR('#2: (null | 1) === 1. Actual: ' + ((null | 1))); -} - -//CHECK#3 -if ((new Number(1) | null) !== 1) { - $ERROR('#3: (new Number(1) | null) === 1. Actual: ' + ((new Number(1) | null))); -} - -//CHECK#4 -if ((null | new Number(1)) !== 1) { - $ERROR('#4: (null | new Number(1)) === 1. Actual: ' + ((null | new Number(1)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.js deleted file mode 100644 index fe5a34245a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T2.4; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T2.4", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ((1 | undefined) !== 1) { - $ERROR('#1: (1 | undefined) === 1. Actual: ' + ((1 | undefined))); -} - -//CHECK#2 -if ((undefined | 1) !== 1) { - $ERROR('#2: (undefined | 1) === 1. Actual: ' + ((undefined | 1))); -} - -//CHECK#3 -if ((new Number(1) | undefined) !== 1) { - $ERROR('#3: (new Number(1) | undefined) === 1. Actual: ' + ((new Number(1) | undefined))); -} - -//CHECK#4 -if ((undefined | new Number(1)) !== 1) { - $ERROR('#4: (undefined | new Number(1)) === 1. Actual: ' + ((undefined | new Number(1)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.js deleted file mode 100644 index f3fb549625..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T2.5; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T2.5", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ((true | "1") !== 1) { - $ERROR('#1: (true | "1") === 1. Actual: ' + ((true | "1"))); -} - -//CHECK#2 -if (("1" | true) !== 1) { - $ERROR('#2: ("1" | true) === 1. Actual: ' + (("1" | true))); -} - -//CHECK#3 -if ((new Boolean(true) | "1") !== 1) { - $ERROR('#3: (new Boolean(true) | "1") === 1. Actual: ' + ((new Boolean(true) | "1"))); -} - -//CHECK#4 -if (("1" | new Boolean(true)) !== 1) { - $ERROR('#4: ("1" | new Boolean(true)) === 1. Actual: ' + (("1" | new Boolean(true)))); -} - -//CHECK#5 -if ((true | new String("1")) !== 1) { - $ERROR('#5: (true | new String("1")) === 1. Actual: ' + ((true | new String("1")))); -} - -//CHECK#6 -if ((new String("1") | true) !== 1) { - $ERROR('#6: (new String("1") | true) === 1. Actual: ' + ((new String("1") | true))); -} - -//CHECK#7 -if ((new Boolean(true) | new String("1")) !== 1) { - $ERROR('#7: (new Boolean(true) | new String("1")) === 1. Actual: ' + ((new Boolean(true) | new String("1")))); -} - -//CHECK#8 -if ((new String("1") | new Boolean(true)) !== 1) { - $ERROR('#8: (new String("1") | new Boolean(true)) === 1. Actual: ' + ((new String("1") | new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.js deleted file mode 100644 index 9608e1dd14..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T2.6; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T2.6", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (("1" | undefined) !== 1) { - $ERROR('#1: ("1" | undefined) === 1. Actual: ' + (("1" | undefined))); -} - -//CHECK#2 -if ((undefined | "1") !== 1) { - $ERROR('#2: (undefined | "1") === 1. Actual: ' + ((undefined | "1"))); -} - -//CHECK#3 -if ((new String("1") | undefined) !== 1) { - $ERROR('#3: (new String("1") | undefined) === 1. Actual: ' + ((new String("1") | undefined))); -} - -//CHECK#4 -if ((undefined | new String("1")) !== 1) { - $ERROR('#4: (undefined | new String("1")) === 1. Actual: ' + ((undefined | new String("1")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.js deleted file mode 100644 index 150189fa1c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T2.7; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T2.7", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (("1" | null) !== 1) { - $ERROR('#1: ("1" | null) === 1. Actual: ' + (("1" | null))); -} - -//CHECK#2 -if ((null | "1") !== 1) { - $ERROR('#2: (null | "1") === 1. Actual: ' + ((null | "1"))); -} - -//CHECK#3 -if ((new String("1") | null) !== 1) { - $ERROR('#3: (new String("1") | null) === 1. Actual: ' + ((new String("1") | null))); -} - -//CHECK#4 -if ((null | new String("1")) !== 1) { - $ERROR('#4: (null | new String("1")) === 1. Actual: ' + ((null | new String("1")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.js deleted file mode 100644 index 436ed598c4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T2.8; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T2.8", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ((true | undefined) !== 1) { - $ERROR('#1: (true | undefined) === 1. Actual: ' + ((true | undefined))); -} - -//CHECK#2 -if ((undefined | true) !== 1) { - $ERROR('#2: (undefined | true) === 1. Actual: ' + ((undefined | true))); -} - -//CHECK#3 -if ((new Boolean(true) | undefined) !== 1) { - $ERROR('#3: (new Boolean(true) | undefined) === 1. Actual: ' + ((new Boolean(true) | undefined))); -} - -//CHECK#4 -if ((undefined | new Boolean(true)) !== 1) { - $ERROR('#4: (undefined | new Boolean(true)) === 1. Actual: ' + ((undefined | new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.js deleted file mode 100644 index ac972f9288..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.10.3_A3_T2.9; - * @section: 11.10.3; - * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.10.3_A3_T2.9", - -path: "TestCases/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.js", - -assertion: "Operator x | y returns ToNumber(x) | ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ((true | null) !== 1) { - $ERROR('#1: (true | null) === 1. Actual: ' + ((true | null))); -} - -//CHECK#2 -if ((null | true) !== 1) { - $ERROR('#2: (null | true) === 1. Actual: ' + ((null | true))); -} - -//CHECK#3 -if ((new Boolean(true) | null) !== 1) { - $ERROR('#3: (new Boolean(true) | null) === 1. Actual: ' + ((new Boolean(true) | null))); -} - -//CHECK#4 -if ((null | new Boolean(true)) !== 1) { - $ERROR('#4: (null | new Boolean(true)) === 1. Actual: ' + ((null | new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.js deleted file mode 100644 index c64a087589..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A1; -* @section: 11.11.1; -* @assertion: White Space and Line Terminator between LogicalANDExpression and "&&" or between "&&" and BitwiseORExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.js", - -assertion: "White Space and Line Terminator between LogicalANDExpression and \"&&\" or between \"&&\" and BitwiseORExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if ((eval("true\u0009&&\u0009true")) !== true) { - $ERROR('#1: (true\\u0009&&\\u0009true) === true'); -} - -//CHECK#2 -if ((eval("true\u000B&&\u000Btrue")) !== true) { - $ERROR('#2: (true\\u000B&&\\u000Btrue) === true'); -} - -//CHECK#3 -if ((eval("true\u000C&&\u000Ctrue")) !== true) { - $ERROR('#3: (true\\u000C&&\\u000Ctrue) === true'); -} - -//CHECK#4 -if ((eval("true\u0020&&\u0020true")) !== true) { - $ERROR('#4: (true\\u0020&&\\u0020true) === true'); -} - -//CHECK#5 -if ((eval("true\u00A0&&\u00A0true")) !== true) { - $ERROR('#5: (true\\u00A0&&\\u00A0true) === true'); -} - -//CHECK#6 -if ((eval("true\u000A&&\u000Atrue")) !== true) { - $ERROR('#6: (true\\u000A&&\\u000Atrue) === true'); -} - -//CHECK#7 -if ((eval("true\u000D&&\u000Dtrue")) !== true) { - $ERROR('#7: (true\\u000D&&\\u000Dtrue) === true'); -} - -//CHECK#8 -if ((eval("true\u2028&&\u2028true")) !== true) { - $ERROR('#8: (true\\u2028&&\\u2028true) === true'); -} - -//CHECK#9 -if ((eval("true\u2029&&\u2029true")) !== true) { - $ERROR('#9: (true\\u2029&&\\u2029true) === true'); -} - - -//CHECK#10 -if ((eval("true\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029&&\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { - $ERROR('#10: (true\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029&&\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.js deleted file mode 100644 index de8d571df2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A2.1_T1; -* @section: 11.11.1, 8.7.1; -* @assertion: Operator x && y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A2.1_T1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.js", - -assertion: "Operator x && y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ((false && true) !== false) { - $ERROR('#1: (false && true) === false'); -} - -//CHECK#2 -if ((true && false) !== false) { - $ERROR('#2: (true && false) === false'); -} - -//CHECK#3 -var x = false; -if ((x && true) !== false) { - $ERROR('#3: var x = false; (x && true) === false'); -} - -//CHECK#4 -var y = new Boolean(false); -if ((true && y) !== y) { - $ERROR('#4: var y = new Boolean(false); (true && y) === y'); -} - -//CHECK#5 -var x = false; -var y = true; -if ((x && y) !== false) { - $ERROR('#5: var x = false; var y = true; (x && y) === false'); -} - -//CHECK#6 -var x = true; -var y = new Boolean(false); -if ((x && y) !== y) { - $ERROR('#6: var x = true; var y = new Boolean(false); (x && y) === y'); -} - -//CHECK#7 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = true; -objecty.prop = 1.1; -if ((objectx.prop && objecty.prop) !== objecty.prop) { - $ERROR('#7: var objectx = new Object(); var objecty = new Object(); objectx.prop = true; objecty.prop = 1; (objectx.prop && objecty.prop) === objecty.prop'); -} - -//CHECK#8 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 0; -objecty.prop = true; -if ((objectx.prop && objecty.prop) !== objectx.prop) { - $ERROR('#8: var objectx = new Object(); var objecty = new Object(); objectx.prop = 0; objecty.prop = true; (objectx.prop && objecty.prop) === objectx.prop'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.js deleted file mode 100644 index c8739de8b4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A2.1_T2; -* @section: 11.11.1, 8.7.1; -* @assertion: Operator x && y uses GetValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A2.1_T2", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.js", - -assertion: "Operator x && y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x && true; - $ERROR('#1.1: x && true throw ReferenceError. Actual: ' + (x && true)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x && true throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.js deleted file mode 100644 index 12f8c89e0a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A2.1_T3; -* @section: 11.11.1, 8.7.1; -* @assertion: Operator x && y uses GetValue; -* @description: If ToBoolean(x) is true and GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A2.1_T3", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.js", - -assertion: "Operator x && y uses GetValue", - -description: "If ToBoolean(x) is true and GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - true && y; - $ERROR('#1.1: true && y throw ReferenceError. Actual: ' + (true && y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: true && y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.js deleted file mode 100644 index 7dc0526479..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A2.1_T4; -* @section: 11.11.1, 8.7.1, 16; -* @assertion: Operator x && y uses GetValue; -* @description: If ToBoolean(x) is false and GetBase(y) is null, return false; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A2.1_T4", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.js", - -assertion: "Operator x && y uses GetValue", - -description: "If ToBoolean(x) is false and GetBase(y) is null, return false", - -test: function testcase() { - //CHECK#1 -if ((false && x) !== false) { - $ERROR('#1: (false && x) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.js deleted file mode 100644 index 7ac2ee6bfe..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.11.1_A2.4_T1; - * @section: 11.11.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A2.4_T1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = false; -if (((x = true) && x) !== true) { - $ERROR('#1: var x = false; ((x = true) && x) === true'); -} - -//CHECK#2 -var x = false; -if ((x && (x = true)) !== false) { - $ERROR('#2: var x = false; (x && (x = true)) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.js deleted file mode 100644 index b449b6bae5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.11.1_A2.4_T2; - * @section: 11.11.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A2.4_T2", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() && y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() && y() throw "x". Actual: ' + (x() && y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() && y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.js deleted file mode 100644 index 65698b3902..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.11.1_A2.4_T3; - * @section: 11.11.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A2.4_T3", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x && (x = true); - $ERROR('#1.1: x && (x = true) throw ReferenceError. Actual: ' + (x && (x = true))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x && (x = true) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if (((y = true) && y) !== true) { - $ERROR('#2: ((y = true) && y) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.js deleted file mode 100644 index 9031357b49..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A3_T1; -* @section: 11.11.1; -* @assertion: If ToBoolean(x) is false, return x; -* @description: Type(x) is primitive boolean and Type(y) is changed between primitive boolean and Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A3_T1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.js", - -assertion: "If ToBoolean(x) is false, return x", - -description: "Type(x) is primitive boolean and Type(y) is changed between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if ((false && true) !== false) { - $ERROR('#1: (false && true) === false'); -} - -//CHECK#2 -if ((false && false) !== false) { - $ERROR('#2: (false && false) === false'); -} - -//CHECK#3 -if ((false && new Boolean(true)) !== false) { - $ERROR('#3: (false && new Boolean(true)) === false'); -} - -//CHECK#4 -if ((false && new Boolean(false)) !== false) { - $ERROR('#4: (false && new Boolean(false)) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.js deleted file mode 100644 index 17bc0ef5e0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.11.1_A3_T2; - * @section: 11.11.1; - * @assertion: If ToBoolean(x) is false, return x; - * @description: Type(x) and Type(y) vary between primitive number and Number object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A3_T2", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.js", - -assertion: "If ToBoolean(x) is false, return x", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if ((-0 && -1) !== 0) { - $ERROR('#1.1: (-0 && -1) === 0'); -} else { - if ((1 / (-0 && -1)) !== Number.NEGATIVE_INFINITY) { - $ERROR('#1.2: (-0 && -1) === -0'); - } -} - -//CHECK#2 -if ((0 && new Number(-1)) !== 0) { - $ERROR('#2.1: (0 && new Number(-1)) === 0'); -} else { - if ((1 / (0 && new Number(-1))) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: (0 && new Number(-1)) === +0'); - } -} - -//CHECK#3 -if ((isNaN(NaN && 1)) !== true) { - $ERROR('#3: (NaN && 1) === Not-a-Number'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.js deleted file mode 100644 index 272adcea1b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A3_T3; -* @section: 11.11.1; -* @assertion: If ToBoolean(x) is false, return x; -* @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A3_T3", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.js", - -assertion: "If ToBoolean(x) is false, return x", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if (("" && "1") !== "") { - $ERROR('#1: ("" && "1") === ""'); -} - -//CHECK#2 -if (("" && new String("1")) !== "") { - $ERROR('#2: ("" && new String("1")) === ""'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.js deleted file mode 100644 index 588efe6a84..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A3_T4; -* @section: 11.11.1; -* @assertion: If ToBoolean(x) is false, return x; -* @description: Type(x) or Type(y) is changed between null and undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A3_T4", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.js", - -assertion: "If ToBoolean(x) is false, return x", - -description: "Type(x) or Type(y) is changed between null and undefined", - -test: function testcase() { - //CHECK#1 -if ((undefined && true) !== undefined) { - $ERROR('#1: (undefined && true) === undefined'); -} - -//CHECK#2 -if ((null && false) !== null) { - $ERROR('#2: (null && false) === null'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.js deleted file mode 100644 index a9128e05ea..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A4_T1; -* @section: 11.11.1; -* @assertion: If ToBoolean(x) is true, return y; -* @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A4_T1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.js", - -assertion: "If ToBoolean(x) is true, return y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if ((true && true) !== true) { - $ERROR('#1: (true && true) === true'); -} - -//CHECK#2 -if ((true && false) !== false) { - $ERROR('#2: (true && false) === false'); -} - -//CHECK#3 -var y = new Boolean(true); -if ((new Boolean(true) && y) !== y) { - $ERROR('#3: (var y = new Boolean(true); (new Boolean(true) && y) === y'); -} - -//CHECK#4 -var y = new Boolean(false); -if ((new Boolean(true) && y) !== y) { - $ERROR('#4: (var y = new Boolean(false); (new Boolean(true) && y) === y'); -} - -//CHECK#5 -var y = new Boolean(true); -if ((new Boolean(false) && y) !== y) { - $ERROR('#5: (var y = new Boolean(true); (new Boolean(false) && y) === y'); -} - -//CHECK#6 -var y = new Boolean(false); -if ((new Boolean(false) && y) !== y) { - $ERROR('#6: (var y = new Boolean(false); (new Boolean(false) && y) === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.js deleted file mode 100644 index 59dc841f34..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A4_T2; -* @section: 11.11.1; -* @assertion: If ToBoolean(x) is true, return y; -* @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A4_T2", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.js", - -assertion: "If ToBoolean(x) is true, return y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if ((-1 && -0) !== 0) { - $ERROR('#1.1: (-1 && -0) === 0'); -} else { - if ((1 / (-1 && -0)) !== Number.NEGATIVE_INFINITY) { - $ERROR('#1.2: (-1 && -0) === -0'); - } -} - -//CHECK#2 -if ((-1 && 0) !== 0) { - $ERROR('#2.1: (-1 && 0) === 0'); -} else { - if ((1 / (-1 && 0)) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: (-1 && 0) === +0'); - } -} - -//CHECK#3 -if ((isNaN(0.1 && NaN)) !== true) { - $ERROR('#3: (0.1 && NaN) === Not-a-Number'); -} - -//CHECK#4 -var y = new Number(0); -if ((new Number(-1) && y) !== y) { - $ERROR('#4: (var y = new Number(0); (new Number(-1) && y) === y'); -} - -//CHECK#5 -var y = new Number(NaN); -if ((new Number(0) && y) !== y) { - $ERROR('#5: (var y = new Number(NaN); (new Number(0) && y) === y'); -} - -//CHECK#6 -var y = new Number(-1); -if ((new Number(NaN) && y) !== y) { - $ERROR('#6: (var y = new Number(-1); (new Number(NaN) && y) === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.js deleted file mode 100644 index c0f0b0e89b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A4_T3; -* @section: 11.11.1; -* @assertion: If ToBoolean(x) is true, return y; -* @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A4_T3", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.js", - -assertion: "If ToBoolean(x) is true, return y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if (("0" && "-1") !== "-1") { - $ERROR('#-1: ("0" && "-1") === "-1"'); -} - -//CHECK#2 -if (("-1" && "x") !== "x") { - $ERROR('#2: ("-1" && "x") === "x"'); -} - -//CHECK#3 -var y = new String(-1); -if ((new String("-1") && y) !== y) { - $ERROR('#3: (var y = new String(-1); (new String("-1") && y) === y'); -} - -//CHECK#4 -var y = new String(NaN); -if ((new String("0") && y) !== y) { - $ERROR('#4: (var y = new String(NaN); (new String("0") && y) === y'); -} - -//CHECK#5 -var y = new String("-x"); -if ((new String("x") && y) !== y) { - $ERROR('#5: (var y = new String("-x"); (new String("x") && y) === y'); -} - -//CHECK#6 -var y = new String(-1); -if ((new String(NaN) && y) !== y) { - $ERROR('#6: (var y = new String(-1); (new String(NaN) && y) === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.js deleted file mode 100644 index eeec00433b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.1_A4_T4; -* @section: 11.11.1; -* @assertion: If ToBoolean(x) is true, return y; -* @description: Type(x) or Type(y) is changed between null and undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.1_A4_T4", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.js", - -assertion: "If ToBoolean(x) is true, return y", - -description: "Type(x) or Type(y) is changed between null and undefined", - -test: function testcase() { - //CHECK#1 -if ((true && undefined) !== undefined) { - $ERROR('#1: (true && undefined) === undefined'); -} - -//CHECK#2 -if ((true && null) !== null) { - $ERROR('#2: (true && null) === null'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.js deleted file mode 100644 index 2e75218cb4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A1; -* @section: 11.11.2; -* @assertion: White Space and Line Terminator between LogicalORExpression and "||" or between "||" and LogicalANDExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.js", - -assertion: "White Space and Line Terminator between LogicalORExpression and \"||\" or between \"||\" and LogicalANDExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if ((eval("false\u0009||\u0009true")) !== true) { - $ERROR('#1: (false\\u0009||\\u0009true) === true'); -} - -//CHECK#2 -if ((eval("false\u000B||\u000Btrue")) !== true) { - $ERROR('#2: (false\\u000B||\\u000Btrue) === true'); -} - -//CHECK#3 -if ((eval("false\u000C||\u000Ctrue")) !== true) { - $ERROR('#3: (false\\u000C||\\u000Ctrue) === true'); -} - -//CHECK#4 -if ((eval("false\u0020||\u0020true")) !== true) { - $ERROR('#4: (false\\u0020||\\u0020true) === true'); -} - -//CHECK#5 -if ((eval("false\u00A0||\u00A0true")) !== true) { - $ERROR('#5: (false\\u00A0||\\u00A0true) === true'); -} - -//CHECK#6 -if ((eval("false\u000A||\u000Atrue")) !== true) { - $ERROR('#6: (false\\u000A||\\u000Atrue) === true'); -} - -//CHECK#7 -if ((eval("false\u000D||\u000Dtrue")) !== true) { - $ERROR('#7: (false\\u000D||\\u000Dtrue) === true'); -} - -//CHECK#8 -if ((eval("false\u2028||\u2028true")) !== true) { - $ERROR('#8: (false\\u2028||\\u2028true) === true'); -} - -//CHECK#9 -if ((eval("false\u2029||\u2029true")) !== true) { - $ERROR('#9: (false\\u2029||\\u2029true) === true'); -} - - -//CHECK#10 -if ((eval("false\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029||\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { - $ERROR('#10: (false\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029||\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.js deleted file mode 100644 index dbaddc9bcf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A2.1_T1; -* @section: 11.11.2, 8.7.1; -* @assertion: Operator x || y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A2.1_T1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.js", - -assertion: "Operator x || y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ((true || false) !== true) { - $ERROR('#1: (true || false) === true'); -} - -//CHECK#2 -if ((false || true) !== true) { - $ERROR('#2: (false || true) === true'); -} - -//CHECK#3 -var x = new Boolean(false); -if ((x || true) !== x) { - $ERROR('#3: var x = Boolean(false); (x || true) === x'); -} - -//CHECK#4 -var y = new Boolean(true); -if ((false || y) !== y) { - $ERROR('#4: var y = Boolean(true); (false || y) === y'); -} - -//CHECK#5 -var x = new Boolean(false); -var y = new Boolean(true); -if ((x || y) !== x) { - $ERROR('#5: var x = new Boolean(false); var y = new Boolean(true); (x || y) === x'); -} - -//CHECK#6 -var x = false; -var y = new Boolean(true); -if ((x || y) !== y) { - $ERROR('#6: var x = false; var y = new Boolean(true); (x || y) === y'); -} - -//CHECK#7 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = false; -objecty.prop = 1.1; -if ((objectx.prop || objecty.prop) !== objecty.prop) { - $ERROR('#7: var objectx = new Object(); var objecty = new Object(); objectx.prop = false; objecty.prop = 1; (objectx.prop || objecty.prop) === objecty.prop'); -} - -//CHECK#8 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1.1; -objecty.prop = false; -if ((objectx.prop || objecty.prop) !== objectx.prop) { - $ERROR('#8: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1.1; objecty.prop = false; (objectx.prop || objecty.prop) === objectx.prop'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.js deleted file mode 100644 index 18cb84b653..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A2.1_T2; -* @section: 11.11.2, 8.7.1; -* @assertion: Operator x || y uses GetValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A2.1_T2", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.js", - -assertion: "Operator x || y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x || true; - $ERROR('#1.1: x || true throw ReferenceError. Actual: ' + (x || true)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x || true throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.js deleted file mode 100644 index 6e12884820..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A2.1_T3; -* @section: 11.11.2, 8.7.1; -* @assertion: Operator x || y uses GetValue; -* @description: If ToBoolean(x) is false and GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A2.1_T3", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.js", - -assertion: "Operator x || y uses GetValue", - -description: "If ToBoolean(x) is false and GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - false || y; - $ERROR('#1.1: false || y throw ReferenceError. Actual: ' + (false || y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: false || y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.js deleted file mode 100644 index 081fc2d0b2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A2.1_T4; -* @section: 11.11.2, 8.7.1, 16; -* @assertion: Operator x || y uses GetValue; -* @description: If ToBoolean(x) is true and GetBase(y) is null, return true; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A2.1_T4", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.js", - -assertion: "Operator x || y uses GetValue", - -description: "If ToBoolean(x) is true and GetBase(y) is null, return true", - -test: function testcase() { - //CHECK#1 -if ((true || x) !== true) { - $ERROR('#1: (true || x) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.js deleted file mode 100644 index 75b0815d6b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.11.2_A2.4_T1; - * @section: 11.11.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A2.4_T1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = true; -if (((x = false) || x) !== false) { - $ERROR('#1: var x = true; ((x = false) || x) === false'); -} - -//CHECK#2 -var x = true; -if ((x || (x = false)) !== true) { - $ERROR('#2: var x = true; (x || (x = false)) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.js deleted file mode 100644 index 1c1c48f366..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.11.2_A2.4_T2; - * @section: 11.11.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A2.4_T2", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() || y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() || y() throw "x". Actual: ' + (x() || y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() || y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.js deleted file mode 100644 index f17388c13c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.11.2_A2.4_T3; - * @section: 11.11.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A2.4_T3", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x || (x = true); - $ERROR('#1.1: x || (x = true) throw ReferenceError. Actual: ' + (x || (x = true))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x || (x = true) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if (((y = true) || y) !== true) { - $ERROR('#2: ((y = true) || y) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.js deleted file mode 100644 index bf9d6a968e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A3_T1; -* @section: 11.11.2; -* @assertion: If ToBoolean(x) is false, return y; -* @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A3_T1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.js", - -assertion: "If ToBoolean(x) is false, return y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if ((false || true) !== true) { - $ERROR('#1: (false || true) === true'); -} - -//CHECK#2 -if ((false || false) !== false) { - $ERROR('#2: (false || false) === false'); -} - -//CHECK#3 -var y = new Boolean(true); -if ((false || y) !== y) { - $ERROR('#3: (var y = new Boolean(true); false || y) === y'); -} - -//CHECK#4 -var y = new Boolean(false); -if ((false || y) !== y) { - $ERROR('#4: (var y = new Boolean(false); false || y) === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.js deleted file mode 100644 index 5c2ead57c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.11.2_A3_T2; - * @section: 11.11.2; - * @assertion: If ToBoolean(x) is false, return y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A3_T2", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.js", - -assertion: "If ToBoolean(x) is false, return y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if ((0 || -0) !== 0) { - $ERROR('#1.1: (0 || -0) === 0'); -} else { - if ((1 / (0 || -0)) !== Number.NEGATIVE_INFINITY) { - $ERROR('#1.2: (0 || -0) === -0'); - } -} - -//CHECK#2 -if ((-0 || 0) !== 0) { - $ERROR('#2.1: (-0 || 0) === 0'); -} else { - if ((1 / (-0 || 0)) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: (-0 || 0) === +0'); - } -} - -//CHECK#3 -var y = new Number(-1); -if ((0 || y) !== y) { - $ERROR('#3: (var y = new Number(-1); 0 || y) === y'); -} - -//CHECK#4 -var y = new Number(0); -if ((NaN || y) !== y) { - $ERROR('#4: (var y = new Number(0); NaN || y) === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.js deleted file mode 100644 index e72d0d2aa8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A3_T3; -* @section: 11.11.2; -* @assertion: If ToBoolean(x) is false, return y; -* @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A3_T3", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.js", - -assertion: "If ToBoolean(x) is false, return y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if (("" || "1") !== "1") { - $ERROR('#1: ("" || "1") === "1"'); -} - -//CHECK#2 -var y = new String("1"); -if (("" || y) !== y) { - $ERROR('#2: (var y = new String("1"); "" || y) === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.js deleted file mode 100644 index b03de03bc6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A3_T4; -* @section: 11.11.2; -* @assertion: If ToBoolean(x) is false, return y; -* @description: Type(x) or Type(y) is changed between null and undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A3_T4", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.js", - -assertion: "If ToBoolean(x) is false, return y", - -description: "Type(x) or Type(y) is changed between null and undefined", - -test: function testcase() { - //CHECK#1 -if ((false || undefined) !== undefined) { - $ERROR('#1: (false || undefined) === undefined'); -} - -//CHECK#2 -if ((false || null) !== null) { - $ERROR('#2: (false || null) === null'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js deleted file mode 100644 index ac670c4a7b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A4_T1; -* @section: 11.11.2; -* @assertion: If ToBoolean(x) is true, return x; -* @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A4_T1", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js", - -assertion: "If ToBoolean(x) is true, return x", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (((true || true)) !== true) { - $ERROR('#1: (true || true) === true'); -} - -//CHECK#2 -if ((true || false) !== true) { - $ERROR('#2: (true || false) === true'); -} - -//CHECK#3 -var x = new Boolean(true); -if ((x || new Boolean(true)) !== x) { - $ERROR('#3: (var x = new Boolean(true); (x || new Boolean(true)) === x'); -} - -//CHECK#4 -var x = new Boolean(true); -if ((x || new Boolean(false)) !== x) { - $ERROR('#4: (var x = new Boolean(true); (x || new Boolean(false)) === x'); -} - -//CHECK#5 -var x = new Boolean(false); -if ((x || new Boolean(true)) !== x) { - $ERROR('#5: (var x = new Boolean(false); (x || new Boolean(true)) === x'); -} - -//CHECK#6 -var x = new Boolean(false); -if ((x || new Boolean(false)) !== x) { - $ERROR('#6: (var x = new Boolean(false); (x || new Boolean(false)) === x'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.js deleted file mode 100644 index 212d65c61c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A4_T2; -* @section: 11.11.2; -* @assertion: If ToBoolean(x) is true, return x; -* @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A4_T2", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.js", - -assertion: "If ToBoolean(x) is true, return x", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if ((-1 || 1) !== -1) { - $ERROR('#1: (-1 || 1) === -1'); -} - -//CHECK#2 -if ((1 || new Number(0)) !== 1) { - $ERROR('#2: (1 || new Number(0)) === 1'); -} - -//CHECK#3 -if ((-1 || NaN) !== -1) { - $ERROR('#3: (-1 || NaN) === -1'); -} - -//CHECK#4 -var x = new Number(-1); -if ((x || new Number(0)) !== x) { - $ERROR('#4: (var x = new Number(-1); (x || new Number(-1)) === x'); -} - -//CHECK#5 -var x = new Number(NaN); -if ((x || new Number(1)) !== x) { - $ERROR('#5: (var x = new Number(NaN); (x || new Number(1)) === x'); -} - -//CHECK#6 -var x = new Number(0); -if ((x || new Number(NaN)) !== x) { - $ERROR('#6: (var x = new Number(0); (x || new Number(NaN)) === x'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.js deleted file mode 100644 index 3ce71083fa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A4_T3; -* @section: 11.11.2; -* @assertion: If ToBoolean(x) is true, return x; -* @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A4_T3", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.js", - -assertion: "If ToBoolean(x) is true, return x", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if (("-1" || "1") !== "-1") { - $ERROR('#-1: ("-1" || "1") === "-1"'); -} - -//CHECK#2 -if (("-1" || "x") !== "-1") { - $ERROR('#2: ("-1" || "x") === "-1"'); -} - -//CHECK#3 -var x = new String("-1"); -if ((x || new String(-1)) !== x) { - $ERROR('#3: (var x = new String("-1"); (x || new String(-1)) === x'); -} - -//CHECK#4 -var x = new String(NaN); -if ((x || new String("1")) !== x) { - $ERROR('#4: (var x = new String(NaN); (x || new String("1")) === x'); -} - -//CHECK#5 -var x = new String("-x"); -if ((x || new String("x")) !== x) { - $ERROR('#5: (var x = new String("-x"); (x || new String("x")) === x'); -} - -//CHECK#6 -var x = new String(0); -if ((x || new String(NaN)) !== x) { - $ERROR('#6: (var x = new String(0); (x || new String(NaN)) === x'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.js deleted file mode 100644 index 8fd4ade550..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.11.2_A4_T4; -* @section: 11.11.2; -* @assertion: If ToBoolean(x) is true, return x; -* @description: Type(x) or Type(y) vary between Null and Undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.11.2_A4_T4", - -path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.js", - -assertion: "If ToBoolean(x) is true, return x", - -description: "Type(x) or Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if ((true || undefined) !== true) { - $ERROR('#1: (true || undefined) === true'); -} - -//CHECK#2 -if ((true || null) !== true) { - $ERROR('#2: (true || null) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A1.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A1.js deleted file mode 100644 index fb5f83eb77..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A1; -* @section: 11.12; -* @assertion: White Space and Line Terminator between LogicalORExpression and "?" or between "?" and AssignmentExpression or between AssignmentExpression and ":" or between ":" and AssignmentExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A1", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A1.js", - -assertion: "White Space and Line Terminator between LogicalORExpression and \"?\" or between \"?\" and AssignmentExpression or between AssignmentExpression and \":\" or between \":\" and AssignmentExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if ((eval("false\u0009?\u0009true\u0009:\u0009true")) !== true) { - $ERROR('#1: (false\\u0009?\\u0009true\\u0009:\\u0009true) === true'); -} - -//CHECK#2 -if ((eval("false\u000B?\u000Btrue\u000B:\u000Btrue")) !== true) { - $ERROR('#2: (false\\u000B?\\u000Btrue\\u000B:\\u000Btrue) === true'); -} - -//CHECK#3 -if ((eval("false\u000C?\u000Ctrue\u000C:\u000Ctrue")) !== true) { - $ERROR('#3: (false\\u000C?\\u000Ctrue\\u000C:\\u000Ctrue) === true'); -} - -//CHECK#4 -if ((eval("false\u0020?\u0020true\u0020:\u0020true")) !== true) { - $ERROR('#4: (false\\u0020?\\u0020true\\u0020:\\u0020true) === true'); -} - -//CHECK#5 -if ((eval("false\u00A0?\u00A0true\u00A0:\u00A0true")) !== true) { - $ERROR('#5: (false\\u00A0?\\u00A0true\\u00A0:\\u00A0true) === true'); -} - -//CHECK#6 -if ((eval("false\u000A?\u000Atrue\u000A:\u000Atrue")) !== true) { - $ERROR('#6: (false\\u000A?\\u000Atrue\\u000A:\\u000Atrue) === true'); -} - -//CHECK#7 -if ((eval("false\u000D?\u000Dtrue\u000D:\u000Dtrue")) !== true) { - $ERROR('#7: (false\\u000D?\\u000Dtrue\\u000D:\\u000Dtrue) === true'); -} - -//CHECK#8 -if ((eval("false\u2028?\u2028true\u2028:\u2028true")) !== true) { - $ERROR('#8: (false\\u2028?\\u2028true\\u2028:\\u2028true) === true'); -} - -//CHECK#9 -if ((eval("false\u2029?\u2029true\u2029:\u2029true")) !== true) { - $ERROR('#9: (false\\u2029?\\u2029true\\u2029:\\u2029true) === true'); -} - -//CHECK#10 -if ((eval("false\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029?\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029:\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { - $ERROR('#10: (false\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029?\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029:\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.js deleted file mode 100644 index 1ae55cb068..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A2.1_T1; -* @section: 11.12, 8.7.1; -* @assertion: Operator x ? y : z uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A2.1_T1", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.js", - -assertion: "Operator x ? y : z uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ((true ? false : true) !== false) { - $ERROR('#1: (true ? false : true) === false'); -} - -//CHECK#2 -if ((false ? false : true) !== true) { - $ERROR('#2: (false ? false : true) === true'); -} - -//CHECK#3 -var x = new Boolean(true); -var y = new Boolean(false); -if ((x ? y : true) !== y) { - $ERROR('#3: var x = new Boolean(true); var y = new Boolean(false); (x ? y : true) === y'); -} - -//CHECK#4 -var z = new Boolean(true); -if ((false ? false : z) !== z) { - $ERROR('#4: var z = new Boolean(true); (false ? false : z) === z'); -} - -//CHECK#5 -var x = new Boolean(true); -var y = new Boolean(false); -var z = new Boolean(true); -if ((x ? y : z) !== y) { - $ERROR('#5: var x = new Boolean(true); var y = new Boolean(false); var z = new Boolean(true); (x ? y : z) === y'); -} - -//CHECK#6 -var x = false; -var y = new Boolean(false); -var z = new Boolean(true); -if ((x ? y : z) !== z) { - $ERROR('#6: var x = false; var y = new Boolean(false); var z = new Boolean(true); (x ? y : z) === z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.js deleted file mode 100644 index f1faf262fc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A2.1_T2; -* @section: 11.12, 8.7.1; -* @assertion: Operator x ? y : z uses GetValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A2.1_T2", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.js", - -assertion: "Operator x ? y : z uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x ? true : false; - $ERROR('#1.1: x ? true : false throw ReferenceError. Actual: ' + (x ? true : false)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x ? true : false throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.js deleted file mode 100644 index f23f4d521c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A2.1_T3; -* @section: 11.12, 8.7.1; -* @assertion: Operator x ? y : z uses GetValue; -* @description: If ToBoolean(x) is true and GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A2.1_T3", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.js", - -assertion: "Operator x ? y : z uses GetValue", - -description: "If ToBoolean(x) is true and GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - true ? y : false; - $ERROR('#1.1: true ? y : false throw ReferenceError. Actual: ' + (true ? y : false)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: true ? y : false throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js deleted file mode 100644 index c8c8fb05c1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A2.1_T4; -* @section: 11.12, 8.7.1; -* @assertion: Operator x ? y : z uses GetValue; -* @description: If ToBoolean(x) is false and GetBase(z) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A2.1_T4", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js", - -assertion: "Operator x ? y : z uses GetValue", - -description: "If ToBoolean(x) is false and GetBase(z) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - false ? true : z; - $ERROR('#1.1: false ? true : z throw ReferenceError. Actual: ' + (false ? true : z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: false ? true : z throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.js deleted file mode 100644 index a8b9085329..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A2.1_T5; -* @section: 11.12, 8.7.1, 16; -* @assertion: Operator x ? y : z uses GetValue; -* @description: If ToBoolean(x) is true and GetBase(z) is null, return y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A2.1_T5", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.js", - -assertion: "Operator x ? y : z uses GetValue", - -description: "If ToBoolean(x) is true and GetBase(z) is null, return y", - -test: function testcase() { - //CHECK#1 -var y = new Object(); -if ((true ? y : z) !== y) { - $ERROR('#1: var y = new Object(); (true ? y : z) === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.js deleted file mode 100644 index c3e40450fa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A2.1_T6; -* @section: 11.12, 8.7.1, 16; -* @assertion: Operator x ? y : z uses GetValue; -* @description: If ToBoolean(x) is false and GetBase(y) is null, return z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A2.1_T6", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.js", - -assertion: "Operator x ? y : z uses GetValue", - -description: "If ToBoolean(x) is false and GetBase(y) is null, return z", - -test: function testcase() { - //CHECK#1 -var z = new Object(); -if ((false ? y : z) !== z) { - $ERROR('#1: var z = new Object(); (false ? y : z) === z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.js deleted file mode 100644 index 4fa911b589..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A3_T1; -* @section: 11.12; -* @assertion: If ToBoolean(x) is false, return z; -* @description: Type(y) and Type(z) are boolean primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A3_T1", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.js", - -assertion: "If ToBoolean(x) is false, return z", - -description: "Type(y) and Type(z) are boolean primitives", - -test: function testcase() { - //CHECK#1 -if ((false ? false : true) !== true) { - $ERROR('#1: (false ? false : true) === true'); -} - -//CHECK#2 -var z = new Boolean(true); -if ((false ? true : z) !== z) { - $ERROR('#2: (var y = new Boolean(true); (false ? true : z) === z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.js deleted file mode 100644 index 3111900393..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.12_A3_T2; - * @section: 11.12; - * @assertion: If ToBoolean(x) is false, return z; - * @description: Type(y) and Type(z) are number primitives; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A3_T2", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.js", - -assertion: "If ToBoolean(x) is false, return z", - -description: "Type(y) and Type(z) are number primitives", - -test: function testcase() { - //CHECK#1 -if ((0 ? 0 : 1) !== 1) { - $ERROR('#1: (0 ? 0 : 1) === 1'); -} - -//CHECK#2 -var z = new Number(1); -if ((0 ? 1 : z) !== z) { - $ERROR('#2: (var y = new Number(1); (0 ? 1 : z) === z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.js deleted file mode 100644 index e18403002d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A3_T3; -* @section: 11.12; -* @assertion: If ToBoolean(x) is false, return z; -* @description: Type(y) and Type(z) are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A3_T3", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.js", - -assertion: "If ToBoolean(x) is false, return z", - -description: "Type(y) and Type(z) are string primitives", - -test: function testcase() { - //CHECK#1 -if (("" ? "" : "1") !== "1") { - $ERROR('#1: ("" ? "" : "1") === "1"'); -} - -//CHECK#2 -var z = new String("1"); -if (("" ? "1" : z) !== z) { - $ERROR('#2: (var y = new String("1"); ("" ? "1" : z) === z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.js deleted file mode 100644 index 9bff7581b3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A3_T4; -* @section: 11.12; -* @assertion: If ToBoolean(x) is false, return z; -* @description: Type(x) or Type(y) is changed between null and undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A3_T4", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.js", - -assertion: "If ToBoolean(x) is false, return z", - -description: "Type(x) or Type(y) is changed between null and undefined", - -test: function testcase() { - //CHECK#1 -if ((false ? true : undefined) !== undefined) { - $ERROR('#1: (false ? true : undefined) === undefined'); -} - -//CHECK#2 -if ((false ? true : null) !== null) { - $ERROR('#2: (false ? true : null) === null'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.js deleted file mode 100644 index 937af7c6a3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A4_T1; -* @section: 11.12; -* @assertion: If ToBoolean(x) is true, return y; -* @description: Type(y) and Type(z) are boolean primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A4_T1", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.js", - -assertion: "If ToBoolean(x) is true, return y", - -description: "Type(y) and Type(z) are boolean primitives", - -test: function testcase() { - //CHECK#1 -if ((true ? false : true) !== false) { - $ERROR('#1: (true ? false : true) === false'); -} - -//CHECK#2 -var y = new Boolean(true); -if ((true ? y : false) !== y) { - $ERROR('#2: (var y = new Boolean(true); (true ? y : false) === y'); -} - -//CHECK#3 -var y = new Boolean(false); -if ((y ? y : true) !== y) { - $ERROR('#3: (var y = new Boolean(false); (y ? y : true) === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.js deleted file mode 100644 index c9562e029c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A4_T2; -* @section: 11.12; -* @assertion: If ToBoolean(x) is true, return y; -* @description: Type(y) and Type(z) are number primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A4_T2", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.js", - -assertion: "If ToBoolean(x) is true, return y", - -description: "Type(y) and Type(z) are number primitives", - -test: function testcase() { - //CHECK#1 -if ((1 ? 0 : 1) !== 0) { - $ERROR('#1: (1 ? 0 : 1) === 0'); -} - -//CHECK#2 -var y = new Number(1); -if ((1 ? y : 0) !== y) { - $ERROR('#2: (var y = new Number(1); (1 ? y : 0) === y'); -} - -//CHECK#3 -var y = new Number(NaN); -if ((y ? y : 1) !== y) { - $ERROR('#3: (var y = new Number(NaN); (y ? y : 1) === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.js deleted file mode 100644 index 5c9a20f227..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A4_T3; -* @section: 11.12; -* @assertion: If ToBoolean(x) is true, return y; -* @description: Type(y) and Type(z) are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A4_T3", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.js", - -assertion: "If ToBoolean(x) is true, return y", - -description: "Type(y) and Type(z) are string primitives", - -test: function testcase() { - //CHECK#1 -if (("1" ? "" : "1") !== "") { - $ERROR('#1: ("1" ? "" : "1") === ""'); -} - -//CHECK#2 -var y = new String("1"); -if (("1" ? y : "") !== y) { - $ERROR('#2: (var y = new String("1"); ("1" ? y : "") === y'); -} - -//CHECK#3 -var y = new String("y"); -if ((y ? y : "1") !== y) { - $ERROR('#3: (var y = new String("y"); (y ? y : "1") === y'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.js deleted file mode 100644 index e6f2b14668..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.12_A4_T4; -* @section: 11.12; -* @assertion: If ToBoolean(x) is true, return y; -* @description: Type(x) or Type(y) is changed between null and undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.12_A4_T4", - -path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.js", - -assertion: "If ToBoolean(x) is true, return y", - -description: "Type(x) or Type(y) is changed between null and undefined", - -test: function testcase() { - //CHECK#1 -if ((true ? undefined : true) !== undefined) { - $ERROR('#1: (true ? undefined : true) === undefined'); -} - -//CHECK#2 -if ((true ? null : true) !== null) { - $ERROR('#2: (true ? null : true) === null'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.js deleted file mode 100644 index eb3aeb9b37..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.1_A1; -* @section: 11.13.1; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "=" or between "=" and AssignmentExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.1_A1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"=\" or between \"=\" and AssignmentExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if ((eval("x\u0009=\u0009true")) !== true) { - $ERROR('#1: (x\\u0009=\\u0009true) === true'); -} - -//CHECK#2 -if ((eval("x\u000B=\u000Btrue")) !== true) { - $ERROR('#2: (x\\u000B=\\u000Btrue) === true'); -} - -//CHECK#3 -if ((eval("x\u000C=\u000Ctrue")) !== true) { - $ERROR('#3: (x\\u000C=\\u000Ctrue) === true'); -} - -//CHECK#4 -if ((eval("x\u0020=\u0020true")) !== true) { - $ERROR('#4: (x\\u0020=\\u0020true) === true'); -} - -//CHECK#5 -if ((eval("x\u00A0=\u00A0true")) !== true) { - $ERROR('#5: (x\\u00A0=\\u00A0true) === true'); -} - -//CHECK#6 -if ((eval("x\u000A=\u000Atrue")) !== true) { - $ERROR('#6: (x\\u000A=\\u000Atrue) === true'); -} - -//CHECK#7 -if ((eval("x\u000D=\u000Dtrue")) !== true) { - $ERROR('#7: (x\\u000D=\\u000Dtrue) === true'); -} - -//CHECK#8 -if ((eval("x\u2028=\u2028true")) !== true) { - $ERROR('#8: (x\\u2028=\\u2028true) === true'); -} - -//CHECK#9 -if ((eval("x\u2029=\u2029true")) !== true) { - $ERROR('#9: (x\\u2029=\\u2029true) === true'); -} - - -//CHECK#10 -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { - $ERROR('#10: (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.js deleted file mode 100644 index 1cb955bab4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.1_A2.1_T1; - * @section: 11.13.1; - * @assertion: Operator x = y uses GetValue and PutValue; - * @description: Either AssigmentExpression is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.1_A2.1_T1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.js", - -assertion: "Operator x = y uses GetValue and PutValue", - -description: "Either AssigmentExpression is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -x = 1; -if (x !== 1) { - $ERROR('#1: x = 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = 1; -if (x !== 1) { - $ERROR('#2: var x = 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -y = 1; -x = y; -if (x !== 1) { - $ERROR('#3: y = 1; x = y; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -var y = 1; -var x = y; -if (x !== 1) { - $ERROR('#4: var y = 1; var x = y; x === 1. Actual: ' + (x)); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objecty.prop = 1.1; -objectx.prop = objecty.prop; -if (objectx.prop !== objecty.prop) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objecty.prop = 1; objectx.prop = objecty.prop; objectx.prop === objecty.prop. Actual: ' + (objectx.prop)); -} else { - if (objectx === objecty) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objecty.prop = 1; objectx.prop = objecty.prop; objectx !== objecty'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.js deleted file mode 100644 index 36075fee3f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.1_A2.1_T2; - * @section: 11.13.1; - * @assertion: Operator x = y uses GetValue and PutValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.1_A2.1_T2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.js", - -assertion: "Operator x = y uses GetValue and PutValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x = y; - $ERROR('#1.1: x = y throw ReferenceError. Actual: ' + (x = y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x = y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.js deleted file mode 100644 index 170d024f45..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - 1 = 1; - $ERROR('#1.1: 1 = 1 throw ReferenceError (or SyntaxError). Actual: ' + (1 = 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 = 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - 1 = 1; - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.js deleted file mode 100644 index 1e651d0037..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.1_A3.1; - * @section: 11.13.1; - * @assertion: Operator x = y PutValue(x, y); - * @description: Checking Expression and Variable statements; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.1_A3.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.js", - -assertion: "Operator x = y PutValue(x, y)", - -description: "Checking Expression and Variable statements", - -test: function testcase() { - //CHECK#1 -var x = 1; -if (x !== 1) { - $ERROR('#1: var x = 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -y = 1; -if (y !== 1) { - $ERROR('#2: y = 1; y === 1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.js deleted file mode 100644 index 3b27213c64..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.1_A3.2; - * @section: 11.13.1; - * @assertion: Operator x = y returns GetValue(y); - * @description: Checking Expression and Variable statements; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.1_A3.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.js", - -assertion: "Operator x = y returns GetValue(y)", - -description: "Checking Expression and Variable statements", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) !== 1) { - $ERROR('#1: var x = 0; (x = 1) === 1. Actual: ' + ((x = 1))); -} - -//CHECK#2 -x = 0; -if ((x = 1) !== 1) { - $ERROR('#2: x = 0; (x = 1) === 1. Actual: ' + ((x = 1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.js deleted file mode 100644 index bd9e6ba760..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.1_A4_T1; - * @section: 11.13.1; - * @assertion: AssignmentExpression : LeftHandSideExpression = AssignmentExpression; - * @description: Syntax check; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.1_A4_T1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.js", - -assertion: "AssignmentExpression : LeftHandSideExpression = AssignmentExpression", - -description: "Syntax check", - -test: function testcase() { - //CHECK#1 -x = x = 1; -if (x !== 1) { - $ERROR('#1: The expression x = x = 1 is the same x = (x = 1), not (x = x) = 1. Actual: ' + (x)); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.js deleted file mode 100644 index 74cc775f74..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.1_A4_T2; - * @section: 11.13.1; - * @assertion: AssignmentExpression : LeftHandSideExpression = AssignmentExpression; - * @description: Syntax check if "x = x" throws ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.1_A4_T2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.js", - -assertion: "AssignmentExpression : LeftHandSideExpression = AssignmentExpression", - -description: "Syntax check if \"x = x\" throws ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x = x; - $ERROR('#1.1: x = x throw ReferenceError. Actual: ' + (x = x)); -} catch(e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x = x throw ReferenceError. Actual: ' + (e)); - } -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.js deleted file mode 100644 index 1788185d71..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T1; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x *= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x *= y", - -test: function testcase() { - //CHECK#1 -x = -1; -if ((eval("x\u0009*=\u0009-1")) !== 1) { - $ERROR('#1: x = -1; (x\\u0009*=\\u0009-1) === 1'); -} - -//CHECK#2 -x = -1; -if ((eval("x\u000B*=\u000B-1")) !== 1) { - $ERROR('#2: x = -1; (x\\u000B*=\\u000B-1) === 1'); -} - -//CHECK#3 -x = -1; -if ((eval("x\u000C*=\u000C-1")) !== 1) { - $ERROR('#3: x = -1; (x\\u000C*=\\u000C-1) === 1'); -} - -//CHECK#4 -x = -1; -if ((eval("x\u0020*=\u0020-1")) !== 1) { - $ERROR('#4: x = -1; (x\\u0020*=\\u0020-1) === 1'); -} - -//CHECK#5 -x = -1; -if ((eval("x\u00A0*=\u00A0-1")) !== 1) { - $ERROR('#5: x = -1; (x\\u00A0*=\\u00A0-1) === 1'); -} - -//CHECK#6 -x = -1; -if ((eval("x\u000A*=\u000A-1")) !== 1) { - $ERROR('#6: x = -1; (x\\u000A*=\\u000A-1) === 1'); -} - -//CHECK#7 -x = -1; -if ((eval("x\u000D*=\u000D-1")) !== 1) { - $ERROR('#7: x = -1; (x\\u000D*=\\u000D-1) === 1'); -} - -//CHECK#8 -x = -1; -if ((eval("x\u2028*=\u2028-1")) !== 1) { - $ERROR('#8: x = -1; (x\\u2028*=\\u2028-1) === 1'); -} - -//CHECK#9 -x = -1; -if ((eval("x\u2029*=\u2029-1")) !== 1) { - $ERROR('#9: x = -1; (x\\u2029*=\\u2029-1) === 1'); -} - - -//CHECK#10 -x = -1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029*=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-1")) !== 1) { - $ERROR('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029*=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-1) === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.js deleted file mode 100644 index 09e85ebb45..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T10; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x ^= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T10", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x ^= y", - -test: function testcase() { - //CHECK#1 -x = 1; -if ((eval("x\u0009^=\u00091")) !== 0) { - $ERROR('#1: x = 1; (x\\u0009^=\\u00091) === 0'); -} - -//CHECK#2 -x = 1; -if ((eval("x\u000B^=\u000B1")) !== 0) { - $ERROR('#2: x = 1; (x\\u000B^=\\u000B1) === 0'); -} - -//CHECK#3 -x = 1; -if ((eval("x\u000C^=\u000C1")) !== 0) { - $ERROR('#3: x = 1; (x\\u000C^=\\u000C1) === 0'); -} - -//CHECK#4 -x = 1; -if ((eval("x\u0020^=\u00201")) !== 0) { - $ERROR('#4: x = 1; (x\\u0020^=\\u00201) === 0'); -} - -//CHECK#5 -x = 1; -if ((eval("x\u00A0^=\u00A01")) !== 0) { - $ERROR('#5: x = 1; (x\\u00A0^=\\u00A01) === 0'); -} - -//CHECK#6 -x = 1; -if ((eval("x\u000A^=\u000A1")) !== 0) { - $ERROR('#6: x = 1; (x\\u000A^=\\u000A1) === 0'); -} - -//CHECK#7 -x = 1; -if ((eval("x\u000D^=\u000D1")) !== 0) { - $ERROR('#7: x = 1; (x\\u000D^=\\u000D1) === 0'); -} - -//CHECK#8 -x = 1; -if ((eval("x\u2028^=\u20281")) !== 0) { - $ERROR('#8: x = 1; (x\\u2028^=\\u20281) === 0'); -} - -//CHECK#9 -x = 1; -if ((eval("x\u2029^=\u20291")) !== 0) { - $ERROR('#9: x = 1; (x\\u2029^=\\u20291) === 0'); -} - - -//CHECK#10 -x = 1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029^=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 0) { - $ERROR('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029^=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.js deleted file mode 100644 index ac836a6834..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T11; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x |= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T11", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x |= y", - -test: function testcase() { - //CHECK#1 -x = 0; -if ((eval("x\u0009|=\u00091")) !== 1) { - $ERROR('#1: x = 0; (x\\u0009|=\\u00091) === 1'); -} - -//CHECK#2 -x = 0; -if ((eval("x\u000B|=\u000B1")) !== 1) { - $ERROR('#2: x = 0; (x\\u000B|=\\u000B1) === 1'); -} - -//CHECK#3 -x = 0; -if ((eval("x\u000C|=\u000C1")) !== 1) { - $ERROR('#3: x = 0; (x\\u000C|=\\u000C1) === 1'); -} - -//CHECK#4 -x = 0; -if ((eval("x\u0020|=\u00201")) !== 1) { - $ERROR('#4: x = 0; (x\\u0020|=\\u00201) === 1'); -} - -//CHECK#5 -x = 0; -if ((eval("x\u00A0|=\u00A01")) !== 1) { - $ERROR('#5: x = 0; (x\\u00A0|=\\u00A01) === 1'); -} - -//CHECK#6 -x = 0; -if ((eval("x\u000A|=\u000A1")) !== 1) { - $ERROR('#6: x = 0; (x\\u000A|=\\u000A1) === 1'); -} - -//CHECK#7 -x = 0; -if ((eval("x\u000D|=\u000D1")) !== 1) { - $ERROR('#7: x = 0; (x\\u000D|=\\u000D1) === 1'); -} - -//CHECK#8 -x = 0; -if ((eval("x\u2028|=\u20281")) !== 1) { - $ERROR('#8: x = 0; (x\\u2028|=\\u20281) === 1'); -} - -//CHECK#9 -x = 0; -if ((eval("x\u2029|=\u20291")) !== 1) { - $ERROR('#9: x = 0; (x\\u2029|=\\u20291) === 1'); -} - - -//CHECK#10 -x = 0; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029|=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 1) { - $ERROR('#10: x = 0; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029|=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.js deleted file mode 100644 index 2ea81b0036..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T2; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x /= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x /= y", - -test: function testcase() { - //CHECK#1 -x = -1; -if ((eval("x\u0009/=\u0009-1")) !== 1) { - $ERROR('#1: x = -1; (x\\u0009/=\\u0009-1) === 1'); -} - -//CHECK#2 -x = -1; -if ((eval("x\u000B/=\u000B-1")) !== 1) { - $ERROR('#2: x = -1; (x\\u000B/=\\u000B-1) === 1'); -} - -//CHECK#3 -x = -1; -if ((eval("x\u000C/=\u000C-1")) !== 1) { - $ERROR('#3: x = -1; (x\\u000C/=\\u000C-1) === 1'); -} - -//CHECK#4 -x = -1; -if ((eval("x\u0020/=\u0020-1")) !== 1) { - $ERROR('#4: x = -1; (x\\u0020/=\\u0020-1) === 1'); -} - -//CHECK#5 -x = -1; -if ((eval("x\u00A0/=\u00A0-1")) !== 1) { - $ERROR('#5: x = -1; (x\\u00A0/=\\u00A0-1) === 1'); -} - -//CHECK#6 -x = -1; -if ((eval("x\u000A/=\u000A-1")) !== 1) { - $ERROR('#6: x = -1; (x\\u000A/=\\u000A-1) === 1'); -} - -//CHECK#7 -x = -1; -if ((eval("x\u000D/=\u000D-1")) !== 1) { - $ERROR('#7: x = -1; (x\\u000D/=\\u000D-1) === 1'); -} - -//CHECK#8 -x = -1; -if ((eval("x\u2028/=\u2028-1")) !== 1) { - $ERROR('#8: x = -1; (x\\u2028/=\\u2028-1) === 1'); -} - -//CHECK#9 -x = -1; -if ((eval("x\u2029/=\u2029-1")) !== 1) { - $ERROR('#9: x = -1; (x\\u2029/=\\u2029-1) === 1'); -} - - -//CHECK#10 -x = -1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029/=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-1")) !== 1) { - $ERROR('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029/=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-1) === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.js deleted file mode 100644 index 3b02648cfa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T3; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x %= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x %= y", - -test: function testcase() { - //CHECK#1 -x = -1; -if ((eval("x\u0009%=\u0009-1")) !== 0) { - $ERROR('#1: x = -1; (x\\u0009%=\\u0009-1) === 0'); -} - -//CHECK#2 -x = -1; -if ((eval("x\u000B%=\u000B-1")) !== 0) { - $ERROR('#2: x = -1; (x\\u000B%=\\u000B-1) === 0'); -} - -//CHECK#3 -x = -1; -if ((eval("x\u000C%=\u000C-1")) !== 0) { - $ERROR('#3: x = -1; (x\\u000C%=\\u000C-1) === 0'); -} - -//CHECK#4 -x = -1; -if ((eval("x\u0020%=\u0020-1")) !== 0) { - $ERROR('#4: x = -1; (x\\u0020%=\\u0020-1) === 0'); -} - -//CHECK#5 -x = -1; -if ((eval("x\u00A0%=\u00A0-1")) !== 0) { - $ERROR('#5: x = -1; (x\\u00A0%=\\u00A0-1) === 0'); -} - -//CHECK#6 -x = -1; -if ((eval("x\u000A%=\u000A-1")) !== 0) { - $ERROR('#6: x = -1; (x\\u000A%=\\u000A-1) === 0'); -} - -//CHECK#7 -x = -1; -if ((eval("x\u000D%=\u000D-1")) !== 0) { - $ERROR('#7: x = -1; (x\\u000D%=\\u000D-1) === 0'); -} - -//CHECK#8 -x = -1; -if ((eval("x\u2028%=\u2028-1")) !== 0) { - $ERROR('#8: x = -1; (x\\u2028%=\\u2028-1) === 0'); -} - -//CHECK#9 -x = -1; -if ((eval("x\u2029%=\u2029-1")) !== 0) { - $ERROR('#9: x = -1; (x\\u2029%=\\u2029-1) === 0'); -} - - -//CHECK#10 -x = -1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029%=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-1")) !== 0) { - $ERROR('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029%=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-1) === 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.js deleted file mode 100644 index 84e4aa08c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T4; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x += y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x += y", - -test: function testcase() { - //CHECK#1 -x = -1; -if ((eval("x\u0009+=\u0009-1")) !== -2) { - $ERROR('#1: x = -1; (x\\u0009+=\\u0009-1) === -2'); -} - -//CHECK#2 -x = -1; -if ((eval("x\u000B+=\u000B-1")) !== -2) { - $ERROR('#2: x = -1; (x\\u000B+=\\u000B-1) === -2'); -} - -//CHECK#3 -x = -1; -if ((eval("x\u000C+=\u000C-1")) !== -2) { - $ERROR('#3: x = -1; (x\\u000C+=\\u000C-1) === -2'); -} - -//CHECK#4 -x = -1; -if ((eval("x\u0020+=\u0020-1")) !== -2) { - $ERROR('#4: x = -1; (x\\u0020+=\\u0020-1) === -2'); -} - -//CHECK#5 -x = -1; -if ((eval("x\u00A0+=\u00A0-1")) !== -2) { - $ERROR('#5: x = -1; (x\\u00A0+=\\u00A0-1) === -2'); -} - -//CHECK#6 -x = -1; -if ((eval("x\u000A+=\u000A-1")) !== -2) { - $ERROR('#6: x = -1; (x\\u000A+=\\u000A-1) === -2'); -} - -//CHECK#7 -x = -1; -if ((eval("x\u000D+=\u000D-1")) !== -2) { - $ERROR('#7: x = -1; (x\\u000D+=\\u000D-1) === -2'); -} - -//CHECK#8 -x = -1; -if ((eval("x\u2028+=\u2028-1")) !== -2) { - $ERROR('#8: x = -1; (x\\u2028+=\\u2028-1) === -2'); -} - -//CHECK#9 -x = -1; -if ((eval("x\u2029+=\u2029-1")) !== -2) { - $ERROR('#9: x = -1; (x\\u2029+=\\u2029-1) === -2'); -} - - -//CHECK#10 -x = -1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029+=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-1")) !== -2) { - $ERROR('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029+=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-1) === -2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.js deleted file mode 100644 index c401bff0ba..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T5; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x -= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x -= y", - -test: function testcase() { - //CHECK#1 -x = -1; -if ((eval("x\u0009-=\u00091")) !== -2) { - $ERROR('#1: x = -1; (x\\u0009-=\\u00091) === -2'); -} - -//CHECK#2 -x = -1; -if ((eval("x\u000B-=\u000B1")) !== -2) { - $ERROR('#2: x = -1; (x\\u000B-=\\u000B1) === -2'); -} - -//CHECK#3 -x = -1; -if ((eval("x\u000C-=\u000C1")) !== -2) { - $ERROR('#3: x = -1; (x\\u000C-=\\u000C1) === -2'); -} - -//CHECK#4 -x = -1; -if ((eval("x\u0020-=\u00201")) !== -2) { - $ERROR('#4: x = -1; (x\\u0020-=\\u00201) === -2'); -} - -//CHECK#5 -x = -1; -if ((eval("x\u00A0-=\u00A01")) !== -2) { - $ERROR('#5: x = -1; (x\\u00A0-=\\u00A01) === -2'); -} - -//CHECK#6 -x = -1; -if ((eval("x\u000A-=\u000A1")) !== -2) { - $ERROR('#6: x = -1; (x\\u000A-=\\u000A1) === -2'); -} - -//CHECK#7 -x = -1; -if ((eval("x\u000D-=\u000D1")) !== -2) { - $ERROR('#7: x = -1; (x\\u000D-=\\u000D1) === -2'); -} - -//CHECK#8 -x = -1; -if ((eval("x\u2028-=\u20281")) !== -2) { - $ERROR('#8: x = -1; (x\\u2028-=\\u20281) === -2'); -} - -//CHECK#9 -x = -1; -if ((eval("x\u2029-=\u20291")) !== -2) { - $ERROR('#9: x = -1; (x\\u2029-=\\u20291) === -2'); -} - - -//CHECK#10 -x = -1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== -2) { - $ERROR('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === -2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.js deleted file mode 100644 index f98c9a7e3d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T6; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x <<= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x <<= y", - -test: function testcase() { - //CHECK#1 -x = 1; -if ((eval("x\u0009<<=\u00091")) !== 2) { - $ERROR('#1: x = 1; (x\\u0009<<=\\u00091) === 2'); -} - -//CHECK#2 -x = 1; -if ((eval("x\u000B<<=\u000B1")) !== 2) { - $ERROR('#2: x = 1; (x\\u000B<<=\\u000B1) === 2'); -} - -//CHECK#3 -x = 1; -if ((eval("x\u000C<<=\u000C1")) !== 2) { - $ERROR('#3: x = 1; (x\\u000C<<=\\u000C1) === 2'); -} - -//CHECK#4 -x = 1; -if ((eval("x\u0020<<=\u00201")) !== 2) { - $ERROR('#4: x = 1; (x\\u0020<<=\\u00201) === 2'); -} - -//CHECK#5 -x = 1; -if ((eval("x\u00A0<<=\u00A01")) !== 2) { - $ERROR('#5: x = 1; (x\\u00A0<<=\\u00A01) === 2'); -} - -//CHECK#6 -x = 1; -if ((eval("x\u000A<<=\u000A1")) !== 2) { - $ERROR('#6: x = 1; (x\\u000A<<=\\u000A1) === 2'); -} - -//CHECK#7 -x = 1; -if ((eval("x\u000D<<=\u000D1")) !== 2) { - $ERROR('#7: x = 1; (x\\u000D<<=\\u000D1) === 2'); -} - -//CHECK#8 -x = 1; -if ((eval("x\u2028<<=\u20281")) !== 2) { - $ERROR('#8: x = 1; (x\\u2028<<=\\u20281) === 2'); -} - -//CHECK#9 -x = 1; -if ((eval("x\u2029<<=\u20291")) !== 2) { - $ERROR('#9: x = 1; (x\\u2029<<=\\u20291) === 2'); -} - - -//CHECK#10 -x = 1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029<<=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 2) { - $ERROR('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029<<=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.js deleted file mode 100644 index 755969d271..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T7; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x >>= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x >>= y", - -test: function testcase() { - //CHECK#1 -x = 1; -if ((eval("x\u0009>>=\u00091")) !== 0) { - $ERROR('#1: x = 1; (x\\u0009>>=\\u00091) === 0'); -} - -//CHECK#2 -x = 1; -if ((eval("x\u000B>>=\u000B1")) !== 0) { - $ERROR('#2: x = 1; (x\\u000B>>=\\u000B1) === 0'); -} - -//CHECK#3 -x = 1; -if ((eval("x\u000C>>=\u000C1")) !== 0) { - $ERROR('#3: x = 1; (x\\u000C>>=\\u000C1) === 0'); -} - -//CHECK#4 -x = 1; -if ((eval("x\u0020>>=\u00201")) !== 0) { - $ERROR('#4: x = 1; (x\\u0020>>=\\u00201) === 0'); -} - -//CHECK#5 -x = 1; -if ((eval("x\u00A0>>=\u00A01")) !== 0) { - $ERROR('#5: x = 1; (x\\u00A0>>=\\u00A01) === 0'); -} - -//CHECK#6 -x = 1; -if ((eval("x\u000A>>=\u000A1")) !== 0) { - $ERROR('#6: x = 1; (x\\u000A>>=\\u000A1) === 0'); -} - -//CHECK#7 -x = 1; -if ((eval("x\u000D>>=\u000D1")) !== 0) { - $ERROR('#7: x = 1; (x\\u000D>>=\\u000D1) === 0'); -} - -//CHECK#8 -x = 1; -if ((eval("x\u2028>>=\u20281")) !== 0) { - $ERROR('#8: x = 1; (x\\u2028>>=\\u20281) === 0'); -} - -//CHECK#9 -x = 1; -if ((eval("x\u2029>>=\u20291")) !== 0) { - $ERROR('#9: x = 1; (x\\u2029>>=\\u20291) === 0'); -} - - -//CHECK#10 -x = 1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 0) { - $ERROR('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.js deleted file mode 100644 index 0569fe30bc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T8; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x >>>= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x >>>= y", - -test: function testcase() { - //CHECK#1 -x = 1; -if ((eval("x\u0009>>>=\u00091")) !== 0) { - $ERROR('#1: x = 1; (x\\u0009>>>=\\u00091) === 0'); -} - -//CHECK#2 -x = 1; -if ((eval("x\u000B>>>=\u000B1")) !== 0) { - $ERROR('#2: x = 1; (x\\u000B>>>=\\u000B1) === 0'); -} - -//CHECK#3 -x = 1; -if ((eval("x\u000C>>>=\u000C1")) !== 0) { - $ERROR('#3: x = 1; (x\\u000C>>>=\\u000C1) === 0'); -} - -//CHECK#4 -x = 1; -if ((eval("x\u0020>>>=\u00201")) !== 0) { - $ERROR('#4: x = 1; (x\\u0020>>>=\\u00201) === 0'); -} - -//CHECK#5 -x = 1; -if ((eval("x\u00A0>>>=\u00A01")) !== 0) { - $ERROR('#5: x = 1; (x\\u00A0>>>=\\u00A01) === 0'); -} - -//CHECK#6 -x = 1; -if ((eval("x\u000A>>>=\u000A1")) !== 0) { - $ERROR('#6: x = 1; (x\\u000A>>>=\\u000A1) === 0'); -} - -//CHECK#7 -x = 1; -if ((eval("x\u000D>>>=\u000D1")) !== 0) { - $ERROR('#7: x = 1; (x\\u000D>>>=\\u000D1) === 0'); -} - -//CHECK#8 -x = 1; -if ((eval("x\u2028>>>=\u20281")) !== 0) { - $ERROR('#8: x = 1; (x\\u2028>>>=\\u20281) === 0'); -} - -//CHECK#9 -x = 1; -if ((eval("x\u2029>>>=\u20291")) !== 0) { - $ERROR('#9: x = 1; (x\\u2029>>>=\\u20291) === 0'); -} - - -//CHECK#10 -x = 1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>>>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 0) { - $ERROR('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>>>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.js deleted file mode 100644 index 8f5eccba49..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.13.2_A1_T9; -* @section: 11.13.2; -* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; -* @description: Checking by using eval, check operator is x &= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A1_T9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.js", - -assertion: "White Space and Line Terminator between LeftHandSideExpression and \"@=\" or between \"@=\" and AssignmentExpression are allowed", - -description: "Checking by using eval, check operator is x &= y", - -test: function testcase() { - //CHECK#1 -x = 1; -if ((eval("x\u0009&=\u00091")) !== 1) { - $ERROR('#1: x = 1; (x\\u0009&=\\u00091) === 1'); -} - -//CHECK#2 -x = 1; -if ((eval("x\u000B&=\u000B1")) !== 1) { - $ERROR('#2: x = 1; (x\\u000B&=\\u000B1) === 1'); -} - -//CHECK#3 -x = 1; -if ((eval("x\u000C&=\u000C1")) !== 1) { - $ERROR('#3: x = 1; (x\\u000C&=\\u000C1) === 1'); -} - -//CHECK#4 -x = 1; -if ((eval("x\u0020&=\u00201")) !== 1) { - $ERROR('#4: x = 1; (x\\u0020&=\\u00201) === 1'); -} - -//CHECK#5 -x = 1; -if ((eval("x\u00A0&=\u00A01")) !== 1) { - $ERROR('#5: x = 1; (x\\u00A0&=\\u00A01) === 1'); -} - -//CHECK#6 -x = 1; -if ((eval("x\u000A&=\u000A1")) !== 1) { - $ERROR('#6: x = 1; (x\\u000A&=\\u000A1) === 1'); -} - -//CHECK#7 -x = 1; -if ((eval("x\u000D&=\u000D1")) !== 1) { - $ERROR('#7: x = 1; (x\\u000D&=\\u000D1) === 1'); -} - -//CHECK#8 -x = 1; -if ((eval("x\u2028&=\u20281")) !== 1) { - $ERROR('#8: x = 1; (x\\u2028&=\\u20281) === 1'); -} - -//CHECK#9 -x = 1; -if ((eval("x\u2029&=\u20291")) !== 1) { - $ERROR('#9: x = 1; (x\\u2029&=\\u20291) === 1'); -} - - -//CHECK#10 -x = 1; -if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029&=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 1) { - $ERROR('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029&=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.js deleted file mode 100644 index ca61d02aa0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.1; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x *= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x *= y\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -var z = (x *= -1); -if (z !== -1) { - $ERROR('#1: var x = 1; var z = (x *= -1); z === -1. Actual: ' + (z)); -} - -//CHECK#2 -var x = 1; -var y = -1; -var z = (x *= y); -if (z !== -1) { - $ERROR('#2: var x = 1; var y = -1; var z = (x *= y); z === -1. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.js deleted file mode 100644 index 10c55434a9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.10; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x ^= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.10", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x ^= y\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -var z = (x ^= 1); -if (z !== 0) { - $ERROR('#1: var x = 1; var z = (x ^= 1); z === 0. Actual: ' + (z)); -} - -//CHECK#2 -var x = 1; -var y = 1; -var z = (x ^= y); -if (z !== 0) { - $ERROR('#2: var x = 1; var y = 1; var z = (x ^= y); z === 0. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.js deleted file mode 100644 index 021b3d0d5e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.11; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x |= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.11", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x |= y\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -var z = (x |= 1); -if (z !== 1) { - $ERROR('#1: var x = 0; var z = (x |= 1); z === 1. Actual: ' + (z)); -} - -//CHECK#2 -var x = 0; -var y = 1; -var z = (x |= y); -if (z !== 1) { - $ERROR('#2: var x = 0; var y = 1; var z = (x |= y); z === 1. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.js deleted file mode 100644 index fbb656117a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.2; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x /= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x /= y\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -var z = (x /= -1); -if (z !== -1) { - $ERROR('#1: var x = 1; var z = (x /= -1); z === -1. Actual: ' + (z)); -} - -//CHECK#2 -var x = 1; -var y = -1; -var z = (x /= y); -if (z !== -1) { - $ERROR('#2: var x = 1; var y = -1; var z = (x /= y); z === -1. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.js deleted file mode 100644 index cf3c60c250..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.3; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x %= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x %= y\"", - -test: function testcase() { - //CHECK#1 -var x = -1; -var z = (x %= 2); -if (z !== -1) { - $ERROR('#1: var x = -1; var z = (x %= 2); z === -1. Actual: ' + (z)); -} - -//CHECK#2 -var x = -1; -var y = 2; -var z = (x %= y); -if (z !== -1) { - $ERROR('#2: var x = -1; var y = 2; var z = (x %= y); z === -1. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.js deleted file mode 100644 index 9d199db1b7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.4; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x += y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x += y\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -var z = (x += 1); -if (z !== 2) { - $ERROR('#1: var x = 1; var z = (x += 1); z === 2. Actual: ' + (z)); -} - -//CHECK#2 -var x = 1; -var y = 1; -var z = (x += y); -if (z !== 2) { - $ERROR('#2: var x = 1; var y = 1; var z = (x += y); z === 2. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.js deleted file mode 100644 index 083d0a17d7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.5; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x -= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x -= y\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -var z = (x -= 1); -if (z !== 0) { - $ERROR('#1: var x = 1; var z = (x -= 1); z === 0. Actual: ' + (z)); -} - -//CHECK#2 -var x = 1; -var y = 1; -var z = (x -= y); -if (z !== 0) { - $ERROR('#2: var x = 1; var y = 1; var z = (x -= y); z === 0. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.js deleted file mode 100644 index d6d784e850..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.6; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x <<= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x <<= y\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -var z = (x <<= 1); -if (z !== 2) { - $ERROR('#1: var x = 1; var z = (x <<= 1); z === 2. Actual: ' + (z)); -} - -//CHECK#2 -var x = 1; -var y = 1; -var z = (x <<= y); -if (z !== 2) { - $ERROR('#2: var x = 1; var y = 1; var z = (x <<= y); z === 2. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.js deleted file mode 100644 index cc43542e18..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.7; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x >>= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x >>= y\"", - -test: function testcase() { - //CHECK#1 -var x = 4; -var z = (x >>= 1); -if (z !== 2) { - $ERROR('#1: var x = 4; var z = (x >>= 1); z === 2. Actual: ' + (z)); -} - -//CHECK#2 -var x = 4; -var y = 1; -var z = (x >>= y); -if (z !== 2) { - $ERROR('#2: var x = 4; var y = 1; var z = (x >>= y); z === 2. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.js deleted file mode 100644 index 734ee69945..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.8; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x >>>= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x >>>= y\"", - -test: function testcase() { - //CHECK#1 -var x = 4; -var z = (x >>>= 1); -if (z !== 2) { - $ERROR('#1: var x = 4; var z = (x >>>= 1); z === 2. Actual: ' + (z)); -} - -//CHECK#2 -var x = 4; -var y = 1; -var z = (x >>>= y); -if (z !== 2) { - $ERROR('#2: var x = 4; var y = 1; var z = (x >>>= y); z === 2. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.js deleted file mode 100644 index 9d1485a4ce..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T1.9; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x &= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T1.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.js", - -assertion: "Operator uses GetValue", - -description: "Either Type is not Reference or GetBase is not null, check opeartor is \"x &= y\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -var z = (x &= 1); -if (z !== 1) { - $ERROR('#1: var x = 1; var z = (x &= 1); z === 1. Actual: ' + (z)); -} - -//CHECK#2 -var x = 1; -var y = 1; -var z = (x &= y); -if (z !== 1) { - $ERROR('#2: var x = 1; var y = 1; var z = (x &= y); z === 1. Actual: ' + (z)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.js deleted file mode 100644 index a207af5d9a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.1; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x *= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x *= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x *= y); - $ERROR('#1.1: var x = 1; x *= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x *= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.js deleted file mode 100644 index 117c5f8937..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.10; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x ^= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.10", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x ^= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x ^= y); - $ERROR('#1.1: var x = 1; x ^= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x ^= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.js deleted file mode 100644 index b59dee5ae9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.11; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x |= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.11", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x |= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x |= y); - $ERROR('#1.1: var x = 1; x |= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x |= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.js deleted file mode 100644 index 79a80b3cdf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.2; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x /= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x /= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x /= y); - $ERROR('#1.1: var x = 1; x /= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x /= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.js deleted file mode 100644 index 411e556289..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.3; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x %= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x %= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x %= y); - $ERROR('#1.1: var x = 1; x %= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x %= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.js deleted file mode 100644 index b9502d519d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.4; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x += y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x += y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x += y); - $ERROR('#1.1: var x = 1; x += y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x += y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.js deleted file mode 100644 index fe941a2c89..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.5; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x -= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x -= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x -= y); - $ERROR('#1.1: var x = 1; x -= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x -= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.js deleted file mode 100644 index a5457386ba..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.6; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x <<= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x <<= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x <<= y); - $ERROR('#1.1: var x = 1; x <<= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x <<= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.js deleted file mode 100644 index c271d9f215..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.7; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x >>= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x >>= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x >>= y); - $ERROR('#1.1: var x = 1; x >>= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x >>= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.js deleted file mode 100644 index f045f22921..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.8; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x >>>= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x >>>= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x >>>= y); - $ERROR('#1.1: var x = 1; x >>>= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x >>>= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.js deleted file mode 100644 index ba8a60d894..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T2.9; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x &= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is \"x &= y\"", - -test: function testcase() { - //CHECK#1 -try { - var x = 1; - var z = (x &= y); - $ERROR('#1.1: var x = 1; x &= y throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: var x = 1; x &= y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.js deleted file mode 100644 index 25a8fdd7b4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.1; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x *= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x *= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x *= 1); - $ERROR('#1.1: x *= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x *= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.js deleted file mode 100644 index 794a760e22..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.10; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x ^= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.10", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x ^= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x ^= 1); - $ERROR('#1.1: x ^= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x ^= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.js deleted file mode 100644 index 0abb0be5b1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.11; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x |= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.11", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x |= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x |= 1); - $ERROR('#1.1: x |= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x |= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.js deleted file mode 100644 index ad5368af4b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.2; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x /= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x /= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x /= 1); - $ERROR('#1.1: x /= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x /= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.js deleted file mode 100644 index ff8e8f3b3a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.3; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x %= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x %= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x %= 1); - $ERROR('#1.1: x %= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x %= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.js deleted file mode 100644 index 8b0e5154a7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.4; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x += y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x += y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x += 1); - $ERROR('#1.1: x += 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x += 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.js deleted file mode 100644 index de845131cc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.5; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x -= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x -= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x -= 1); - $ERROR('#1.1: x -= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x -= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.js deleted file mode 100644 index 8e2a26256d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.6; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x <<= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x <<= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x <<= 1); - $ERROR('#1.1: x <<= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x <<= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.js deleted file mode 100644 index 67be9ddbd5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.7; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x >>= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x >>= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x >>= 1); - $ERROR('#1.1: x >>= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x >>= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.js deleted file mode 100644 index 1faa7f105f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.8; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x >>>= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x >>>= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x >>>= 1); - $ERROR('#1.1: x >>>= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x >>>= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.js deleted file mode 100644 index 7205f2f514..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A2.1_T3.9; - * @section: 11.13.2; - * @assertion: Operator uses GetValue; - * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x &= y"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A2.1_T3.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is \"x &= y\"", - -test: function testcase() { - //CHECK#1 -try { - var z = (x &= 1); - $ERROR('#1.1: x &= 1 throw ReferenceError. Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x &= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.js deleted file mode 100644 index f847369bac..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 *= 1); - $ERROR('#1.1: 1 *= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 *= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 *= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.js deleted file mode 100644 index 4dac1e5a19..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 ^= 1); - $ERROR('#1.1: 1 ^= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 ^= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 ^= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.js deleted file mode 100644 index bf229db0a7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 |= 1); - $ERROR('#1.1: 1 |= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 |= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 |= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.js deleted file mode 100644 index 688c9a0b79..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 /= 1); - $ERROR('#1.1: 1 /= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 /= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 /= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.js deleted file mode 100644 index c613ff38ad..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 %= 1); - $ERROR('#1.1: 1 %= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 %= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 %= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.js deleted file mode 100644 index 206014dc16..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 += 1); - $ERROR('#1.1: 1 += 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 += 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 += 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.js deleted file mode 100644 index 8cd9e00914..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 -= 1); - $ERROR('#1.1: 1 -= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 -= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 -= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.js deleted file mode 100644 index d11aa27fe4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 <<= 1); - $ERROR('#1.1: 1 <<= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 <<= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 <<= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.js deleted file mode 100644 index e94a3e7666..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 >>= 1); - $ERROR('#1.1: 1 >>= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 >>= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 >>= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.js deleted file mode 100644 index 2fcd9a6126..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 >>>= 1); - $ERROR('#1.1: 1 >>>= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 >>>= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 >>>= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.js deleted file mode 100644 index f018faa739..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - var z = (1 &= 1); - $ERROR('#1.1: 1 &= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 &= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - var z = (1 &= 1); - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.js deleted file mode 100644 index ca531f596b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T1; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x *= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x *= y", - -test: function testcase() { - //CHECK#1 -var x = 1; -x *= -1; -if (x !== -1) { - $ERROR('#1: var x = 1; x *= -1; x === -1. Actual: ' + (x)); -} - -//CHECK#2 -y = 1; -y *= -1; -if (y !== -1) { - $ERROR('#2: y = 1; y *= -1; y === -1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.js deleted file mode 100644 index c9c04a73d1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T10; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x ^= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T10", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x ^= y", - -test: function testcase() { - //CHECK#1 -var x = 0; -x ^= 1; -if (x !== 1) { - $ERROR('#1: var x = 0; x ^= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -y = 1; -y ^= 0; -if (y !== 1) { - $ERROR('#2: y = 1; y ^= 0; y === 1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.js deleted file mode 100644 index ff0cf50510..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T11; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x |= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T11", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x |= y", - -test: function testcase() { - //CHECK#1 -var x = 0; -x |= 1; -if (x !== 1) { - $ERROR('#1: var x = 0; x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -y = 1; -y |= 0; -if (y !== 1) { - $ERROR('#2: y = 1; y |= 0; y === 1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.js deleted file mode 100644 index bc29bbd62f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T2; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x /= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x /= y", - -test: function testcase() { - //CHECK#1 -var x = 1; -x /= -1; -if (x !== -1) { - $ERROR('#1: var x = 1; x /= -1; x === -1. Actual: ' + (x)); -} - -//CHECK#2 -y = 1; -y /= -1; -if (y !== -1) { - $ERROR('#2: y = 1; y /= -1; y === -1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.js deleted file mode 100644 index f87de3701e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T3; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x %= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x %= y", - -test: function testcase() { - //CHECK#1 -var x = -1; -x %= 2; -if (x !== -1) { - $ERROR('#1: var x = -1; x %= 2; x === -1. Actual: ' + (x)); -} - -//CHECK#2 -y = -1; -y %= 2; -if (y !== -1) { - $ERROR('#2: y = -1; y %= 2; y === -1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.js deleted file mode 100644 index 6f5e172d1e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T4; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x += y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x += y", - -test: function testcase() { - //CHECK#1 -var x = 1; -x += 1; -if (x !== 2) { - $ERROR('#1: var x = 1; x += 1; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -y = 1; -y += 1; -if (y !== 2) { - $ERROR('#2: y = 1; y += 1; y === 2. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.js deleted file mode 100644 index 6c2c02bbb9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T5; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x -= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x -= y", - -test: function testcase() { - //CHECK#1 -var x = -1; -x -= 1; -if (x !== -2) { - $ERROR('#1: var x = -1; x -= 1; x === -2. Actual: ' + (x)); -} - -//CHECK#2 -y = -1; -y -= 1; -if (y !== -2) { - $ERROR('#2: y = -1; y -= 1; y === -2. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.js deleted file mode 100644 index 10f26f071e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T6; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x <<= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x <<= y", - -test: function testcase() { - //CHECK#1 -var x = 1; -x <<= 1; -if (x !== 2) { - $ERROR('#1: var x = 1; x <<= 1; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -y = 1; -y <<= 1; -if (y !== 2) { - $ERROR('#2: y = 1; y <<= 1; y === 2. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.js deleted file mode 100644 index 8d8e80a063..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T7; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x >>= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x >>= y", - -test: function testcase() { - //CHECK#1 -var x = 4; -x >>= 1; -if (x !== 2) { - $ERROR('#1: var x = 4; x >>= 1; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -y = 4; -y >>= 1; -if (y !== 2) { - $ERROR('#2: y = 4; y >>= 1; y === 2. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.js deleted file mode 100644 index 33fde03a24..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T8; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x >>>= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x >>>= y", - -test: function testcase() { - //CHECK#1 -var x = 4; -x >>>= 1; -if (x !== 2) { - $ERROR('#1: var x = 4; x >>>= 1; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -y = 4; -y >>>= 1; -if (y !== 2) { - $ERROR('#2: y = 4; y >>>= 1; y === 2. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.js deleted file mode 100644 index 1dfee149a9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.1_T9; - * @section: 11.13.2; - * @assertion: Operator x @= y uses PutValue(x, x @ y); - * @description: Checking Expression and Variable statements for x &= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.1_T9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.js", - -assertion: "Operator x @= y uses PutValue(x, x @ y)", - -description: "Checking Expression and Variable statements for x &= y", - -test: function testcase() { - //CHECK#1 -var x = 1; -x &= 1; -if (x !== 1) { - $ERROR('#1: var x = 1; x &= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -y = 1; -y &= 1; -if (y !== 1) { - $ERROR('#2: y = 1; y &= 1; y === 1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.js deleted file mode 100644 index 796d63c206..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T1; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x *= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x *= y", - -test: function testcase() { - //CHECK#1 -var x = 1; -var x1 = (x *= -1); -if (x1 !== -1) { - $ERROR('#1: var x = 1; var x1 = (x *= -1); x1 === -1. Actual: ' + (x1)); -} - -//CHECK#2 -y = 1; -y1 = (y *= -1); -if (y1 !== -1) { - $ERROR('#2: y = 1; y1 = (y *= -1); y1 === -1. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.js deleted file mode 100644 index 5f4a159abe..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T10; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x ^= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T10", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x ^= y", - -test: function testcase() { - //CHECK#1 -var x = 0; -var x1 = (x ^= 1); -if (x1 !== 1) { - $ERROR('#1: var x = 0; var x1 = (x ^= 1); x1 === 1. Actual: ' + (x1)); -} - -//CHECK#2 -y = 1; -y1 = (y ^= 0); -if (y1 !== 1) { - $ERROR('#2: y = 1; y1 = (y ^= 0); y1 === 1. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.js deleted file mode 100644 index e00bcbf86f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T11; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x |= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T11", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x |= y", - -test: function testcase() { - //CHECK#1 -var x = 0; -var x1 = (x |= 1); -if (x1 !== 1) { - $ERROR('#1: var x = 0; var x1 = (x |= 1); x1 === 1. Actual: ' + (x1)); -} - -//CHECK#2 -y = 1; -y1 = (y |= 0); -if (y1 !== 1) { - $ERROR('#2: y = 1; y1 = (y |= 0); y1 === 1. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.js deleted file mode 100644 index cf3f4c887c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T2; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x /= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x /= y", - -test: function testcase() { - //CHECK#1 -var x = 1; -var x1 = (x /= -1); -if (x1 !== -1) { - $ERROR('#1: var x = 1; var x1 = (x /= -1); x1 === -1. Actual: ' + (x1)); -} - -//CHECK#2 -y = 1; -y1 = (y /= -1); -if (y1 !== -1) { - $ERROR('#2: y = 1; y1 = (y /= -1); y1 === -1. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.js deleted file mode 100644 index c98bcd5e1c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T3; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x %= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x %= y", - -test: function testcase() { - //CHECK#1 -var x = -1; -var x1 = (x %= 2); -if (x1 !== -1) { - $ERROR('#1: var x = -1; var x1 = (x %= 2); x1 === -1. Actual: ' + (x1)); -} - -//CHECK#2 -y = -1; -y1 = (y %= 2); -if (y1 !== -1) { - $ERROR('#2: y = -1; y1 = (y %= 2); y1 === -1. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.js deleted file mode 100644 index 6c88e623dd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T4; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x += y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x += y", - -test: function testcase() { - //CHECK#1 -var x = 1; -var x1 = (x += 1); -if (x1 !== 2) { - $ERROR('#1: var x = 1; var x1 = (x += 1); x1 === 2. Actual: ' + (x1)); -} - -//CHECK#2 -y = 1; -y1 = (y += 1); -if (y1 !== 2) { - $ERROR('#2: y = 1; y1 = (y += 1); y1 === 2. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.js deleted file mode 100644 index f4af3a46f9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T5; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x -= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x -= y", - -test: function testcase() { - //CHECK#1 -var x = -1; -var x1 = (x -= 1); -if (x1 !== -2) { - $ERROR('#1: var x = -1; var x1 = (x -= 1); x1 === -2. Actual: ' + (x1)); -} - -//CHECK#2 -y = -1; -y1 = (y -= 1); -if (y1 !== -2) { - $ERROR('#2: y = -1; y1 = (y -= 1); y1 === -2. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.js deleted file mode 100644 index 004cc99981..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T6; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x <<= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x <<= y", - -test: function testcase() { - //CHECK#1 -var x = 1; -var x1 = (x <<= 1); -if (x1 !== 2) { - $ERROR('#1: var x = 1; var x1 = (x <<= 1); x1 === 2. Actual: ' + (x1)); -} - -//CHECK#2 -y = 1; -y1 = (y <<= 1); -if (y1 !== 2) { - $ERROR('#2: y = 1; y1 = (y <<= 1); y1 === 2. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.js deleted file mode 100644 index 07eb55e855..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T7; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x >>= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x >>= y", - -test: function testcase() { - //CHECK#1 -var x = 4; -var x1 = (x >>= 1); -if (x1 !== 2) { - $ERROR('#1: var x = 4; var x1 = (x >>= 1); x1 === 2. Actual: ' + (x1)); -} - -//CHECK#2 -y = 4; -y1 = (y >>= 1); -if (y1 !== 2) { - $ERROR('#2: y = 4; y1 = (y >>= 1); y1 === 2. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.js deleted file mode 100644 index 5137d0398d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T8; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x >>>= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x >>>= y", - -test: function testcase() { - //CHECK#1 -var x = 4; -var x1 = (x >>>= 1); -if (x1 !== 2) { - $ERROR('#1: var x = 4; var x1 = (x >>>= 1); x1 === 2. Actual: ' + (x1)); -} - -//CHECK#2 -y = 4; -y1 = (y >>>= 1); -if (y1 !== 2) { - $ERROR('#2: y = 4; y1 = (y >>>= 1); y1 === 2. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.js deleted file mode 100644 index 903cd3954f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A3.2_T9; - * @section: 11.13.2; - * @assertion: Operator x @= y returns x @ y; - * @description: Checking Expression and Variable statements for x &= y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A3.2_T9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.js", - -assertion: "Operator x @= y returns x @ y", - -description: "Checking Expression and Variable statements for x &= y", - -test: function testcase() { - //CHECK#1 -var x = 1; -var x1 = (x &= 1); -if (x1 !== 1) { - $ERROR('#1: var x = 1; var x1 = (x &= 1); x1 === 1. Actual: ' + (x1)); -} - -//CHECK#2 -y = 1; -y1 = (y &= 1); -if (y1 !== 1) { - $ERROR('#2: y = 1; y1 = (y &= 1); y1 === 1. Actual: ' + (y1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.js deleted file mode 100644 index 944ad9ce84..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T1.1; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x ^= true; -if (x !== 0) { - $ERROR('#1: x = true; x ^= true; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x ^= true; -if (x !== 0) { - $ERROR('#2: x = new Boolean(true); x ^= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x ^= new Boolean(true); -if (x !== 0) { - $ERROR('#3: x = true; x ^= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x ^= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = new Boolean(true); x ^= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.js deleted file mode 100644 index 420ee7f4a9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T1.2; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x ^= 1; -if (x !== 0) { - $ERROR('#1: x = 1; x ^= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x ^= 1; -if (x !== 0) { - $ERROR('#2: x = new Number(1); x ^= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x ^= new Number(1); -if (x !== 0) { - $ERROR('#3: x = 1; x ^= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x ^= new Number(1); -if (x !== 0) { - $ERROR('#4: x = new Number(1); x ^= new Number(1); x === 0. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.js deleted file mode 100644 index 3506f28c37..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T1.3; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x ^= "1"; -if (x !== 0) { - $ERROR('#1: x = "1"; x ^= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x ^= "1"; -if (x !== 0) { - $ERROR('#2: x = new String("1"); x ^= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x ^= new String("1"); -if (x !== 0) { - $ERROR('#3: x = "1"; x ^= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x ^= new String("1"); -if (x !== 0) { - $ERROR('#4: x = new String("1"); x ^= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x ^= "1"; -if (x !== 1) { - $ERROR('#5: x = "x"; x ^= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x ^= "x"; -if (x !== 1) { - $ERROR('#6: x = "1"; x ^= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.js deleted file mode 100644 index d287f71d43..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T1.4; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x ^= undefined; -if (x !== 0) { - $ERROR('#1: x = null; x ^= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x ^= null; -if (x !== 0) { - $ERROR('#2: x = undefined; x ^= null; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x ^= undefined; -if (x !== 0) { - $ERROR('#3: x = undefined; x ^= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x ^= null; -if (x !== 0) { - $ERROR('#4: x = null; x ^= null; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.js deleted file mode 100644 index 13d5a8d127..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T2.1; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x ^= 1; -if (x !== 0) { - $ERROR('#1: x = true; x ^= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x ^= true; -if (x !== 0) { - $ERROR('#2: x = 1; x ^= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x ^= 1; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x ^= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x ^= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = 1; x ^= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x ^= new Number(1); -if (x !== 0) { - $ERROR('#5: x = true; x ^= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x ^= true; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x ^= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x ^= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x ^= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x ^= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x ^= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.js deleted file mode 100644 index e501e67fa9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T2.2; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x ^= 1; -if (x !== 0) { - $ERROR('#1: x = "1"; x ^= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x ^= "1"; -if (x !== 0) { - $ERROR('#2: x = 1; x ^= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x ^= 1; -if (x !== 0) { - $ERROR('#3: x = new String("1"); x ^= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x ^= new String("1"); -if (x !== 0) { - $ERROR('#4: x = 1; x ^= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x ^= new Number(1); -if (x !== 0) { - $ERROR('#5: x = "1"; x ^= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x ^= "1"; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x ^= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x ^= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new String("1"); x ^= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x ^= new String("1"); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x ^= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x ^= 1; -if (x !== 1) { - $ERROR('#9: x = "x"; x ^= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x ^= "x"; -if (x !== 1) { - $ERROR('#10: x = 1; x ^= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.js deleted file mode 100644 index 530c713f33..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T2.3; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x ^= null; -if (x !== 1) { - $ERROR('#1: x = 1; x ^= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x ^= 1; -if (x !== 1) { - $ERROR('#2: x = null; x ^= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x ^= null; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x ^= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x ^= new Number(1); -if (x !== 1) { - $ERROR('#4: x = null; x ^= new Number(1); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.js deleted file mode 100644 index 809fcef82b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T2.4; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x ^= undefined; -if (x !== 1) { - $ERROR('#1: x = 1; x ^= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x ^= 1; -if (x !== 1) { - $ERROR('#2: x = undefined; x ^= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x ^= undefined; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x ^= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x ^= new Number(1); -if (x !== 1) { - $ERROR('#4: x = undefined; x ^= new Number(1); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.js deleted file mode 100644 index 79f03e6fbf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T2.5; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x ^= "1"; -if (x !== 0) { - $ERROR('#1: x = true; x ^= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x ^= true; -if (x !== 0) { - $ERROR('#2: x = "1"; x ^= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x ^= "1"; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x ^= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x ^= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = "1"; x ^= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x ^= new String("1"); -if (x !== 0) { - $ERROR('#5: x = true; x ^= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x ^= true; -if (x !== 0) { - $ERROR('#6: x = new String("1"); x ^= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x ^= new String("1"); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x ^= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x ^= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new String("1"); x ^= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.js deleted file mode 100644 index 64a29051cd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T2.6; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x ^= undefined; -if (x !== 1) { - $ERROR('#1: x = "1"; x ^= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x ^= "1"; -if (x !== 1) { - $ERROR('#2: x = undefined; x ^= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x ^= undefined; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x ^= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x ^= new String("1"); -if (x !== 1) { - $ERROR('#4: x = undefined; x ^= new String("1"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.js deleted file mode 100644 index 481834d0dc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T2.7; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x ^= null; -if (x !== 1) { - $ERROR('#1: x = "1"; x ^= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x ^= "1"; -if (x !== 1) { - $ERROR('#2: x = null; x ^= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x ^= null; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x ^= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x ^= new String("1"); -if (x !== 1) { - $ERROR('#4: x = null; x ^= new String("1"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.js deleted file mode 100644 index e1e3a2f3eb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T2.8; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x ^= undefined; -if (x !== 1) { - $ERROR('#1: x = true; x ^= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x ^= true; -if (x !== 1) { - $ERROR('#2: x = undefined; x ^= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x ^= undefined; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x ^= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x ^= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = undefined; x ^= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.js deleted file mode 100644 index cc03c5614f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.10_T2.9; - * @section: 11.13.2, 11.10.2; - * @assertion: The production x ^= y is the same as x = x ^ y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.10_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.js", - -assertion: "The production x ^= y is the same as x = x ^ y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x ^= null; -if (x !== 1) { - $ERROR('#1: x = true; x ^= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x ^= true; -if (x !== 1) { - $ERROR('#2: x = null; x ^= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x ^= null; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x ^= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x ^= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = null; x ^= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.js deleted file mode 100644 index d35b262a31..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T1.1; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x |= true; -if (x !== 1) { - $ERROR('#1: x = true; x |= true; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x |= true; -if (x !== 1) { - $ERROR('#2: x = new Boolean(true); x |= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x |= new Boolean(true); -if (x !== 1) { - $ERROR('#3: x = true; x |= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x |= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = new Boolean(true); x |= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.js deleted file mode 100644 index 96007f6f44..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T1.2; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x |= 1; -if (x !== 1) { - $ERROR('#1: x = 1; x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x |= 1; -if (x !== 1) { - $ERROR('#2: x = new Number(1); x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x |= new Number(1); -if (x !== 1) { - $ERROR('#3: x = 1; x |= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x |= new Number(1); -if (x !== 1) { - $ERROR('#4: x = new Number(1); x |= new Number(1); x === 1. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.js deleted file mode 100644 index f627f29b91..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T1.3; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x |= "1"; -if (x !== 1) { - $ERROR('#1: x = "1"; x |= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x |= "1"; -if (x !== 1) { - $ERROR('#2: x = new String("1"); x |= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x |= new String("1"); -if (x !== 1) { - $ERROR('#3: x = "1"; x |= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x |= new String("1"); -if (x !== 1) { - $ERROR('#4: x = new String("1"); x |= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x |= "1"; -if (x !== 1) { - $ERROR('#5: x = "x"; x |= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x |= "x"; -if (x !== 1) { - $ERROR('#6: x = "1"; x |= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.js deleted file mode 100644 index 2f958019df..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T1.4; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x |= undefined; -if (x !== 0) { - $ERROR('#1: x = null; x |= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x |= null; -if (x !== 0) { - $ERROR('#2: x = undefined; x |= null; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x |= undefined; -if (x !== 0) { - $ERROR('#3: x = undefined; x |= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x |= null; -if (x !== 0) { - $ERROR('#4: x = null; x |= null; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.js deleted file mode 100644 index 5a37772a1f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T2.1; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x |= 1; -if (x !== 1) { - $ERROR('#1: x = true; x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x |= true; -if (x !== 1) { - $ERROR('#2: x = 1; x |= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x |= 1; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x |= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = 1; x |= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x |= new Number(1); -if (x !== 1) { - $ERROR('#5: x = true; x |= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x |= true; -if (x !== 1) { - $ERROR('#6: x = new Number(1); x |= true; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x |= new Number(1); -if (x !== 1) { - $ERROR('#7: x = new Boolean(true); x |= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x |= new Boolean(true); -if (x !== 1) { - $ERROR('#8: x = new Number(1); x |= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.js deleted file mode 100644 index 21a532f927..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T2.2; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x |= 1; -if (x !== 1) { - $ERROR('#1: x = "1"; x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x |= "1"; -if (x !== 1) { - $ERROR('#2: x = 1; x |= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x |= 1; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x |= new String("1"); -if (x !== 1) { - $ERROR('#4: x = 1; x |= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x |= new Number(1); -if (x !== 1) { - $ERROR('#5: x = "1"; x |= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x |= "1"; -if (x !== 1) { - $ERROR('#6: x = new Number(1); x |= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x |= new Number(1); -if (x !== 1) { - $ERROR('#7: x = new String("1"); x |= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x |= new String("1"); -if (x !== 1) { - $ERROR('#8: x = new Number(1); x |= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x |= 1; -if (x !== 1) { - $ERROR('#9: x = "x"; x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x |= "x"; -if (x !== 1) { - $ERROR('#10: x = 1; x |= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.js deleted file mode 100644 index 067905c0fa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T2.3; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x |= null; -if (x !== 1) { - $ERROR('#1: x = 1; x |= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x |= 1; -if (x !== 1) { - $ERROR('#2: x = null; x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x |= null; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x |= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x |= new Number(1); -if (x !== 1) { - $ERROR('#4: x = null; x |= new Number(1); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.js deleted file mode 100644 index b344d837b1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T2.4; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x |= undefined; -if (x !== 1) { - $ERROR('#1: x = 1; x |= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x |= 1; -if (x !== 1) { - $ERROR('#2: x = undefined; x |= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x |= undefined; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x |= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x |= new Number(1); -if (x !== 1) { - $ERROR('#4: x = undefined; x |= new Number(1); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.js deleted file mode 100644 index 5428054add..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T2.5; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x |= "1"; -if (x !== 1) { - $ERROR('#1: x = true; x |= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x |= true; -if (x !== 1) { - $ERROR('#2: x = "1"; x |= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x |= "1"; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x |= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x |= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = "1"; x |= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x |= new String("1"); -if (x !== 1) { - $ERROR('#5: x = true; x |= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x |= true; -if (x !== 1) { - $ERROR('#6: x = new String("1"); x |= true; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x |= new String("1"); -if (x !== 1) { - $ERROR('#7: x = new Boolean(true); x |= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x |= new Boolean(true); -if (x !== 1) { - $ERROR('#8: x = new String("1"); x |= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.js deleted file mode 100644 index 2a1efb1c98..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T2.6; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x |= undefined; -if (x !== 1) { - $ERROR('#1: x = "1"; x |= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x |= "1"; -if (x !== 1) { - $ERROR('#2: x = undefined; x |= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x |= undefined; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x |= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x |= new String("1"); -if (x !== 1) { - $ERROR('#4: x = undefined; x |= new String("1"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.js deleted file mode 100644 index b8b4f2bac1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T2.7; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x |= null; -if (x !== 1) { - $ERROR('#1: x = "1"; x |= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x |= "1"; -if (x !== 1) { - $ERROR('#2: x = null; x |= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x |= null; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x |= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x |= new String("1"); -if (x !== 1) { - $ERROR('#4: x = null; x |= new String("1"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.js deleted file mode 100644 index e52c654dae..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T2.8; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x |= undefined; -if (x !== 1) { - $ERROR('#1: x = true; x |= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x |= true; -if (x !== 1) { - $ERROR('#2: x = undefined; x |= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x |= undefined; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x |= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x |= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = undefined; x |= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.js deleted file mode 100644 index c07807b8b3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.11_T2.9; - * @section: 11.13.2, 11.10.3; - * @assertion: The production x |= y is the same as x = x | y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.11_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.js", - -assertion: "The production x |= y is the same as x = x | y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x |= null; -if (x !== 1) { - $ERROR('#1: x = true; x |= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x |= true; -if (x !== 1) { - $ERROR('#2: x = null; x |= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x |= null; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x |= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x |= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = null; x |= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.js deleted file mode 100644 index 45e88f7c8d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T1.1; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x *= true; -if (x !== 1) { - $ERROR('#1: x = true; x *= true; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x *= true; -if (x !== 1) { - $ERROR('#2: x = new Boolean(true); x *= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x *= new Boolean(true); -if (x !== 1) { - $ERROR('#3: x = true; x *= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x *= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = new Boolean(true); x *= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.js deleted file mode 100644 index 7a0d4ea92d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T1.2; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x *= 1; -if (x !== 1) { - $ERROR('#1: x = 1; x *= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x *= 1; -if (x !== 1) { - $ERROR('#2: x = new Number(1); x *= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x *= new Number(1); -if (x !== 1) { - $ERROR('#3: x = 1; x *= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x *= new Number(1); -if (x !== 1) { - $ERROR('#4: x = new Number(1); x *= new Number(1); x === 1. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.js deleted file mode 100644 index 642b9f845f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T1.3; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x *= "1"; -if (x !== 1) { - $ERROR('#1: x = "1"; x *= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x *= "1"; -if (x !== 1) { - $ERROR('#2: x = new String("1"); x *= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x *= new String("1"); -if (x !== 1) { - $ERROR('#3: x = "1"; x *= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x *= new String("1"); -if (x !== 1) { - $ERROR('#4: x = new String("1"); x *= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x *= "1"; -if (isNaN(x) !== true) { - $ERROR('#5: x = "x"; x *= "1"; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x *= "x"; -if (isNaN(x) !== true) { - $ERROR('#6: x = "1"; x *= "x"; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.js deleted file mode 100644 index ef1ddd2bb1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T1.4; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x *= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = null; x *= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x *= null; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x *= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x *= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = undefined; x *= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x *= null; -if (x !== 0) { - $ERROR('#4: x = null; x *= null; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.js deleted file mode 100644 index 7bc0156590..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T2.1; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Number (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Number (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x *= 1; -if (x !== 1) { - $ERROR('#1: x = true; x *= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x *= true; -if (x !== 1) { - $ERROR('#2: x = 1; x *= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x *= 1; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x *= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x *= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = 1; x *= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x *= new Number(1); -if (x !== 1) { - $ERROR('#5: x = true; x *= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x *= true; -if (x !== 1) { - $ERROR('#6: x = new Number(1); x *= true; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x *= new Number(1); -if (x !== 1) { - $ERROR('#7: x = new Boolean(true); x *= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x *= new Boolean(true); -if (x !== 1) { - $ERROR('#8: x = new Number(1); x *= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.js deleted file mode 100644 index 62467452bc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T2.2; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x *= 1; -if (x !== 1) { - $ERROR('#1: x = "1"; x *= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x *= "1"; -if (x !== 1) { - $ERROR('#2: x = 1; x *= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x *= 1; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x *= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x *= new String("1"); -if (x !== 1) { - $ERROR('#4: x = 1; x *= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x *= new Number(1); -if (x !== 1) { - $ERROR('#5: x = "1"; x *= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x *= "1"; -if (x !== 1) { - $ERROR('#6: x = new Number(1); x *= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x *= new Number(1); -if (x !== 1) { - $ERROR('#7: x = new String("1"); x *= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x *= new String("1"); -if (x !== 1) { - $ERROR('#8: x = new Number(1); x *= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x *= 1; -if (isNaN(x) !== true) { - $ERROR('#9: x = "x"; x *= 1; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x *= "x"; -if (isNaN(x) !== true) { - $ERROR('#10: x = 1; x *= "x"; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.js deleted file mode 100644 index 220a3d8a83..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T2.3; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x *= null; -if (x !== 0) { - $ERROR('#1: x = 1; x *= null; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x *= 1; -if (x !== 0) { - $ERROR('#2: x = null; x *= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x *= null; -if (x !== 0) { - $ERROR('#3: x = new Number(1); x *= null; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x *= new Number(1); -if (x !== 0) { - $ERROR('#4: x = null; x *= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.js deleted file mode 100644 index 72dd299346..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T2.4; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x *= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = 1; x *= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x *= 1; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x *= 1; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x *= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Number(1); x *= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x *= new Number(1); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x *= new Number(1); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.js deleted file mode 100644 index ef07da57fb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T2.5; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) amd Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) amd Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x *= "1"; -if (x !== 1) { - $ERROR('#1: x = true; x *= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x *= true; -if (x !== 1) { - $ERROR('#2: x = "1"; x *= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x *= "1"; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x *= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x *= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = "1"; x *= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x *= new String("1"); -if (x !== 1) { - $ERROR('#5: x = true; x *= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x *= true; -if (x !== 1) { - $ERROR('#6: x = new String("1"); x *= true; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x *= new String("1"); -if (x !== 1) { - $ERROR('#7: x = new Boolean(true); x *= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x *= new Boolean(true); -if (x !== 1) { - $ERROR('#8: x = new String("1"); x *= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.js deleted file mode 100644 index 71721f09f0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T2.6; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) is different from Type(y) and both types vary between primitive String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) is different from Type(y) and both types vary between primitive String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x *= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = "1"; x *= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x *= "1"; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x *= "1"; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x *= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new String("1"); x *= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x *= new String("1"); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x *= new String("1"); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.js deleted file mode 100644 index 12c8504a7d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T2.7; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x *= null; -if (x !== 0) { - $ERROR('#1: x = "1"; x *= null; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x *= "1"; -if (x !== 0) { - $ERROR('#2: x = null; x *= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x *= null; -if (x !== 0) { - $ERROR('#3: x = new String("1"); x *= null; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x *= new String("1"); -if (x !== 0) { - $ERROR('#4: x = null; x *= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.js deleted file mode 100644 index 33b07770f5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T2.8; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x *= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = true; x *= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x *= true; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x *= true; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x *= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Boolean(true); x *= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x *= new Boolean(true); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x *= new Boolean(true); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.js deleted file mode 100644 index bd87478da7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.1_T2.9; - * @section: 11.13.2, 11.5.1; - * @assertion: The production x *= y is the same as the production x = x * y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.1_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.js", - -assertion: "The production x *= y is the same as the production x = x * y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x *= null; -if (x !== 0) { - $ERROR('#1: x = true; x *= null; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x *= true; -if (x !== 0) { - $ERROR('#2: x = null; x *= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x *= null; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x *= null; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x *= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = null; x *= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.js deleted file mode 100644 index d6d99aea25..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T1.1; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x /= true; -if (x !== 1) { - $ERROR('#1: x = true; x /= true; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x /= true; -if (x !== 1) { - $ERROR('#2: x = new Boolean(true); x /= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x /= new Boolean(true); -if (x !== 1) { - $ERROR('#3: x = true; x /= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x /= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = new Boolean(true); x /= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.js deleted file mode 100644 index e532c9d84f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T1.2; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x /= 1; -if (x !== 1) { - $ERROR('#1: x = 1; x /= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x /= 1; -if (x !== 1) { - $ERROR('#2: x = new Number(1); x /= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x /= new Number(1); -if (x !== 1) { - $ERROR('#3: x = 1; x /= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x /= new Number(1); -if (x !== 1) { - $ERROR('#4: x = new Number(1); x /= new Number(1); x === 1. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.js deleted file mode 100644 index 2454d06dd7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T1.3; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x /= "1"; -if (x !== 1) { - $ERROR('#1: x = "1"; x /= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x /= "1"; -if (x !== 1) { - $ERROR('#2: x = new String("1"); x /= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x /= new String("1"); -if (x !== 1) { - $ERROR('#3: x = "1"; x /= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x /= new String("1"); -if (x !== 1) { - $ERROR('#4: x = new String("1"); x /= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x /= "1"; -if (isNaN(x) !== true) { - $ERROR('#5: x = "x"; x /= "1"; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x /= "x"; -if (isNaN(x) !== true) { - $ERROR('#6: x = "1"; x /= "x"; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.js deleted file mode 100644 index 9cad24642d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T1.4; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x /= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = null; x /= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x /= null; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x /= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x /= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = undefined; x /= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x /= null; -if (isNaN(x) !== true) { - $ERROR('#4: x = null; x /= null; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.js deleted file mode 100644 index aecb6190cb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T2.1; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x /= 1; -if (x !== 1) { - $ERROR('#1: x = true; x /= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x /= true; -if (x !== 1) { - $ERROR('#2: x = 1; x /= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x /= 1; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x /= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x /= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = 1; x /= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x /= new Number(1); -if (x !== 1) { - $ERROR('#5: x = true; x /= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x /= true; -if (x !== 1) { - $ERROR('#6: x = new Number(1); x /= true; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x /= new Number(1); -if (x !== 1) { - $ERROR('#7: x = new Boolean(true); x /= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x /= new Boolean(true); -if (x !== 1) { - $ERROR('#8: x = new Number(1); x /= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.js deleted file mode 100644 index 93dfb3af33..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T2.2; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x /= 1; -if (x !== 1) { - $ERROR('#1: x = "1"; x /= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x /= "1"; -if (x !== 1) { - $ERROR('#2: x = 1; x /= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x /= 1; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x /= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x /= new String("1"); -if (x !== 1) { - $ERROR('#4: x = 1; x /= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x /= new Number(1); -if (x !== 1) { - $ERROR('#5: x = "1"; x /= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x /= "1"; -if (x !== 1) { - $ERROR('#6: x = new Number(1); x /= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x /= new Number(1); -if (x !== 1) { - $ERROR('#7: x = new String("1"); x /= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x /= new String("1"); -if (x !== 1) { - $ERROR('#8: x = new Number(1); x /= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x /= 1; -if (isNaN(x) !== true) { - $ERROR('#9: x = "x"; x /= 1; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x /= "x"; -if (isNaN(x) !== true) { - $ERROR('#10: x = 1; x /= "x"; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.js deleted file mode 100644 index 8b7f24a5a2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T2.3; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x /= null; -if (x !== Number.POSITIVE_INFINITY) { - $ERROR('#1: x = 1; x /= null; x === +Infinity. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x /= 1; -if (x !== 0) { - $ERROR('#2: x = null; x /= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x /= null; -if (x !== Number.POSITIVE_INFINITY) { - $ERROR('#3: x = new Number(1); x /= null; x === +Infinity. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x /= new Number(1); -if (x !== 0) { - $ERROR('#4: x = null; x /= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.js deleted file mode 100644 index f014fb1e06..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T2.4; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x /= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = 1; x /= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x /= 1; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x /= 1; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x /= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Number(1); x /= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x /= new Number(1); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x /= new Number(1); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.js deleted file mode 100644 index 3b1861b00b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T2.5; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x /= "1"; -if (x !== 1) { - $ERROR('#1: x = true; x /= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x /= true; -if (x !== 1) { - $ERROR('#2: x = "1"; x /= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x /= "1"; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x /= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x /= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = "1"; x /= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x /= new String("1"); -if (x !== 1) { - $ERROR('#5: x = true; x /= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x /= true; -if (x !== 1) { - $ERROR('#6: x = new String("1"); x /= true; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x /= new String("1"); -if (x !== 1) { - $ERROR('#7: x = new Boolean(true); x /= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x /= new Boolean(true); -if (x !== 1) { - $ERROR('#8: x = new String("1"); x /= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.js deleted file mode 100644 index 6cc65b89c4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T2.6; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x /= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = "1"; x /= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x /= "1"; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x /= "1"; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x /= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new String("1"); x /= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x /= new String("1"); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x /= new String("1"); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.js deleted file mode 100644 index 39e57287a7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T2.7; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x /= null; -if (x !== Number.POSITIVE_INFINITY) { - $ERROR('#1: x = "1"; x /= null; x === +Infinity. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x /= "1"; -if (x !== 0) { - $ERROR('#2: x = null; x /= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x /= null; -if (x !== Number.POSITIVE_INFINITY) { - $ERROR('#3: x = new String("1"); x /= null; x === +Infinity. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x /= new String("1"); -if (x !== 0) { - $ERROR('#4: x = null; x /= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.js deleted file mode 100644 index d4c545c88e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T2.8; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x /= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = true; x /= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x /= true; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x /= true; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x /= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Boolean(true); x /= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x /= new Boolean(true); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x /= new Boolean(true); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.js deleted file mode 100644 index 318fdd979e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.2_T2.9; - * @section: 11.13.2, 11.5.2; - * @assertion: The production x /= y is the same as x = x / y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.2_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.js", - -assertion: "The production x /= y is the same as x = x / y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x /= null; -if (x !== Number.POSITIVE_INFINITY) { - $ERROR('#1: x = true; x /= null; x === +Infinity. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x /= true; -if (x !== 0) { - $ERROR('#2: x = null; x /= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x /= null; -if (x !== Number.POSITIVE_INFINITY) { - $ERROR('#3: x = new Boolean(true); x /= null; x === +Infinity. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x /= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = null; x /= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.js deleted file mode 100644 index fa2fe83037..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T1.1; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x %= true; -if (x !== 0) { - $ERROR('#1: x = true; x %= true; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x %= true; -if (x !== 0) { - $ERROR('#2: x = new Boolean(true); x %= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x %= new Boolean(true); -if (x !== 0) { - $ERROR('#3: x = true; x %= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x %= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = new Boolean(true); x %= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.js deleted file mode 100644 index 985322fe11..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T1.2; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x %= 1; -if (x !== 0) { - $ERROR('#1: x = 1; x %= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x %= 1; -if (x !== 0) { - $ERROR('#2: x = new Number(1); x %= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x %= new Number(1); -if (x !== 0) { - $ERROR('#3: x = 1; x %= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x %= new Number(1); -if (x !== 0) { - $ERROR('#4: x = new Number(1); x %= new Number(1); x === 0. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.js deleted file mode 100644 index 775871de0c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T1.3; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x %= "1"; -if (x !== 0) { - $ERROR('#1: x = "1"; x %= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x %= "1"; -if (x !== 0) { - $ERROR('#2: x = new String("1"); x %= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x %= new String("1"); -if (x !== 0) { - $ERROR('#3: x = "1"; x %= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x %= new String("1"); -if (x !== 0) { - $ERROR('#4: x = new String("1"); x %= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x %= "1"; -if (isNaN(x) !== true) { - $ERROR('#5: x = "x"; x %= "1"; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x %= "x"; -if (isNaN(x) !== true) { - $ERROR('#6: x = "1"; x %= "x"; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.js deleted file mode 100644 index f500ce620f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T1.4; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x %= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = null; x %= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x %= null; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x %= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x %= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = undefined; x %= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x %= null; -if (isNaN(x) !== true) { - $ERROR('#4: x = null; x %= null; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.js deleted file mode 100644 index 8048af5feb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T2.1; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x %= 1; -if (x !== 0) { - $ERROR('#1: x = true; x %= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x %= true; -if (x !== 0) { - $ERROR('#2: x = 1; x %= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x %= 1; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x %= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x %= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = 1; x %= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x %= new Number(1); -if (x !== 0) { - $ERROR('#5: x = true; x %= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x %= true; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x %= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x %= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x %= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x %= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x %= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.js deleted file mode 100644 index 958f830145..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T2.2; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x %= 1; -if (x !== 0) { - $ERROR('#1: x = "1"; x %= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x %= "1"; -if (x !== 0) { - $ERROR('#2: x = 1; x %= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x %= 1; -if (x !== 0) { - $ERROR('#3: x = new String("1"); x %= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x %= new String("1"); -if (x !== 0) { - $ERROR('#4: x = 1; x %= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x %= new Number(1); -if (x !== 0) { - $ERROR('#5: x = "1"; x %= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x %= "1"; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x %= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x %= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new String("1"); x %= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x %= new String("1"); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x %= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x %= 1; -if (isNaN(x) !== true) { - $ERROR('#9: x = "x"; x %= 1; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x %= "x"; -if (isNaN(x) !== true) { - $ERROR('#10: x = 1; x %= "x"; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.js deleted file mode 100644 index 004b5cc614..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T2.3; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x %= null; -if (isNaN(x) !== true) { - $ERROR('#1: x = 1; x %= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x %= 1; -if (x !== 0) { - $ERROR('#2: x = null; x %= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x %= null; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Number(1); x %= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x %= new Number(1); -if (x !== 0) { - $ERROR('#4: x = null; x %= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.js deleted file mode 100644 index a9bda98003..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T2.4; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x %= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = 1; x %= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x %= 1; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x %= 1; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x %= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Number(1); x %= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x %= new Number(1); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x %= new Number(1); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.js deleted file mode 100644 index a68bbcca9e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T2.5; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x %= "1"; -if (x !== 0) { - $ERROR('#1: x = true; x %= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x %= true; -if (x !== 0) { - $ERROR('#2: x = "1"; x %= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x %= "1"; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x %= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x %= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = "1"; x %= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x %= new String("1"); -if (x !== 0) { - $ERROR('#5: x = true; x %= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x %= true; -if (x !== 0) { - $ERROR('#6: x = new String("1"); x %= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x %= new String("1"); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x %= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x %= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new String("1"); x %= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.js deleted file mode 100644 index 53cd783eb4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T2.6; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x %= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = "1"; x %= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x %= "1"; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x %= "1"; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x %= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new String("1"); x %= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x %= new String("1"); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x %= new String("1"); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.js deleted file mode 100644 index d4da6accb2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T2.7; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x %= null; -if (isNaN(x) !== true) { - $ERROR('#1: x = "1"; x %= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x %= "1"; -if (x !== 0) { - $ERROR('#2: x = null; x %= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x %= null; -if (isNaN(x) !== true) { - $ERROR('#3: x = new String("1"); x %= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x %= new String("1"); -if (x !== 0) { - $ERROR('#4: x = null; x %= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.js deleted file mode 100644 index aa1d3364f1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T2.8; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x %= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = true; x %= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x %= true; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x %= true; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x %= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Boolean(true); x %= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x %= new Boolean(true); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x %= new Boolean(true); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.js deleted file mode 100644 index a68701b06d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.3_T2.9; - * @section: 11.13.2, 11.5.3; - * @assertion: The production x %= y is the same as x = x % y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.3_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.js", - -assertion: "The production x %= y is the same as x = x % y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x %= null; -if (isNaN(x) !== true) { - $ERROR('#1: x = true; x %= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x %= true; -if (x !== 0) { - $ERROR('#2: x = null; x %= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x %= null; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Boolean(true); x %= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x %= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = null; x %= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.js deleted file mode 100644 index 9fd96de24f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T1.1; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x += true; -if (x !== 2) { - $ERROR('#1: x = true; x += true; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x += true; -if (x !== 2) { - $ERROR('#2: x = new Boolean(true); x += true; x === 2. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x += new Boolean(true); -if (x !== 2) { - $ERROR('#3: x = true; x += new Boolean(true); x === 2. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x += new Boolean(true); -if (x !== 2) { - $ERROR('#4: x = new Boolean(true); x += new Boolean(true); x === 2. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.js deleted file mode 100644 index edf02804e7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T1.2; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x += 1; -if (x !== 2) { - $ERROR('#1: x = 1; x += 1; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x += 1; -if (x !== 2) { - $ERROR('#2: x = new Number(1); x += 1; x === 2. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x += new Number(1); -if (x !== 2) { - $ERROR('#3: x = 1; x += new Number(1); x === 2. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x += new Number(1); -if (x !== 2) { - $ERROR('#4: x = new Number(1); x += new Number(1); x === 2. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.js deleted file mode 100644 index 297fc42629..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T1.3; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x += undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = null; x += undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x += null; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x += null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x += undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = undefined; x += undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x += null; -if (x !== 0) { - $ERROR('#4: x = null; x += null; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.js deleted file mode 100644 index 4bc82f665b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T1.4; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x += "1"; -if (x !== "11") { - $ERROR('#1: x = "1"; x += "1"; x === "11". Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x += "1"; -if (x !== "11") { - $ERROR('#2: x = new String("1"); x += "1"; x === "11". Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x += new String("1"); -if (x !== "11") { - $ERROR('#3: x = "1"; x += new String("1"); x === "11". Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x += new String("1"); -if (x !== "11") { - $ERROR('#4: x = new String("1"); x += new String("1"); x === "11". Actual: ' + (x)); -} - -//CHECK#5 -if ("x" + "1" !=="x1") { - $ERROR('#5: x = "x"; x += "1"; x === "x1". Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x += "x"; -if (x !== "1x") { - $ERROR('#6: x = "1"; x += "x"; x === "1x". Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.js deleted file mode 100644 index 6e81eb9dd4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T2.1; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x += 1; -if (x !== 2) { - $ERROR('#1: x = true; x += 1; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x += true; -if (x !== 2) { - $ERROR('#2: x = 1; x += true; x === 2. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x += 1; -if (x !== 2) { - $ERROR('#3: x = new Boolean(true); x += 1; x === 2. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x += new Boolean(true); -if (x !== 2) { - $ERROR('#4: x = 1; x += new Boolean(true); x === 2. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x += new Number(1); -if (x !== 2) { - $ERROR('#5: x = true; x += new Number(1); x === 2. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x += true; -if (x !== 2) { - $ERROR('#6: x = new Number(1); x += true; x === 2. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x += new Number(1); -if (x !== 2) { - $ERROR('#7: x = new Boolean(true); x += new Number(1); x === 2. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x += new Boolean(true); -if (x !== 2) { - $ERROR('#8: x = new Number(1); x += new Boolean(true); x === 2. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.js deleted file mode 100644 index e29fb981c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T2.2; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x += null; -if (x !== 1) { - $ERROR('#1: x = 1; x += null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x += 1; -if (x !== 1) { - $ERROR('#2: x = null; x += 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x += null; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x += null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x += new Number(1); -if (x !== 1) { - $ERROR('#4: x = null; x += new Number(1); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.js deleted file mode 100644 index cd08b409a3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T2.3; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x += undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = 1; x += undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x += 1; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x += 1; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x += undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Number(1); x += undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x += new Number(1); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x += new Number(1); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.js deleted file mode 100644 index cdfff79dba..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T2.4; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x += undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = true; x += undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x += true; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x += true; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x += undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Boolean(true); x += undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x += new Boolean(true); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x += new Boolean(true); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.js deleted file mode 100644 index a6f8d467b2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T2.5; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x += null; -if (x !== 1) { - $ERROR('#1: x = true; x += null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x += true; -if (x !== 1) { - $ERROR('#2: x = null; x += true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x += null; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x += null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x += new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = null; x += new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.js deleted file mode 100644 index 3aa603db5f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.js +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T2.6; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x += 1; -if (x !== "11") { - $ERROR('#1: x = "1"; x += 1; x === "11". Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x += "1"; -if (x !== "11") { - $ERROR('#2: x = 1; x += "1"; x === "11". Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x += 1; -if (x !== "11") { - $ERROR('#3: x = new String("1"); x += 1; x === "11". Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x += new String("1"); -if (x !== "11") { - $ERROR('#4: x = 1; x += new String("1"); x === "11". Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x += new Number(1); -if (x !== "11") { - $ERROR('#5: x = "1"; x += new Number(1); x === "11". Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x += "1"; -if (x !== "11") { - $ERROR('#6: x = new Number(1); x += "1"; x === "11". Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x += new Number(1); -if (x !== "11") { - $ERROR('#7: x = new String("1"); x += new Number(1); x === "11". Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x += new String("1"); -if (x !== "11") { - $ERROR('#8: x = new Number(1); x += new String("1"); x === "11". Actual: ' + (x)); -} - -//CHECK#9 -if ("x" + 1 !=="x1") { - $ERROR('#9: x = "x"; x += 1; x === "x1". Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x += "x"; -if (x !== "1x") { - $ERROR('#10: x = 1; x += "x"; x === "1x". Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.js deleted file mode 100644 index cbdf890f2a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T2.7; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x += "1"; -if (x !== "true1") { - $ERROR('#1: x = true; x += "1"; x === "true1". Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x += true; -if (x !== "1true") { - $ERROR('#2: x = "1"; x += true; x === "1true". Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x += "1"; -if (x !== "true1") { - $ERROR('#3: x = new Boolean(true); x += "1"; x === "true1". Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x += new Boolean(true); -if (x !== "1true") { - $ERROR('#4: x = "1"; x += new Boolean(true); x === "1true". Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x += new String("1"); -if (x !== "true1") { - $ERROR('#5: x = true; x += new String("1"); x === "true1". Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x += true; -if (x !== "1true") { - $ERROR('#6: x = new String("1"); x += true; x === "1true". Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x += new String("1"); -if (x !== "true1") { - $ERROR('#7: x = new Boolean(true); x += new String("1"); x === "true1". Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x += new Boolean(true); -if (x !== "1true") { - $ERROR('#8: x = new String("1"); x += new Boolean(true); x === "1true". Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.js deleted file mode 100644 index 621761fbf9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T2.8; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x += undefined; -if (x !== "1undefined") { - $ERROR('#1: x = "1"; x += undefined; x === "1undefined". Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x += "1"; -if (x !== "undefined1") { - $ERROR('#2: x = undefined; x += "1"; x === "undefined1". Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x += undefined; -if (x !== "1undefined") { - $ERROR('#3: x = new String("1"); x += undefined; x === "1undefined". Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x += new String("1"); -if (x !== "undefined1") { - $ERROR('#4: x = undefined; x += new String("1"); x === "undefined1". Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.js deleted file mode 100644 index 097bc585c4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.4_T2.9; - * @section: 11.13.2, 11.6.1; - * @assertion: The production x += y is the same as x = x + y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.4_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.js", - -assertion: "The production x += y is the same as x = x + y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x += null; -if (x !== "1null") { - $ERROR('#1: x = "1"; x += null; x === "1null". Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x += "1"; -if (x !== "null1") { - $ERROR('#2: x = null; x += "1"; x === "null1". Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x += null; -if (x !== "1null") { - $ERROR('#3: x = new String("1"); x += null; x === "1null". Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x += new String("1"); -if (x !== "null1") { - $ERROR('#4: x = null; x += new String("1"); x === "null1". Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.js deleted file mode 100644 index e337656416..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T1.1; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x -= true; -if (x !== 0) { - $ERROR('#1: x = true; x -= true; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x -= true; -if (x !== 0) { - $ERROR('#2: x = new Boolean(true); x -= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x -= new Boolean(true); -if (x !== 0) { - $ERROR('#3: x = true; x -= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x -= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = new Boolean(true); x -= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.js deleted file mode 100644 index 2b76356dcf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T1.2; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x -= 1; -if (x !== 0) { - $ERROR('#1: x = 1; x -= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x -= 1; -if (x !== 0) { - $ERROR('#2: x = new Number(1); x -= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x -= new Number(1); -if (x !== 0) { - $ERROR('#3: x = 1; x -= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x -= new Number(1); -if (x !== 0) { - $ERROR('#4: x = new Number(1); x -= new Number(1); x === 0. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.js deleted file mode 100644 index 9595183c5a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T1.3; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x -= "1"; -if (x !== 0) { - $ERROR('#1: x = "1"; x -= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x -= "1"; -if (x !== 0) { - $ERROR('#2: x = new String("1"); x -= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x -= new String("1"); -if (x !== 0) { - $ERROR('#3: x = "1"; x -= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x -= new String("1"); -if (x !== 0) { - $ERROR('#4: x = new String("1"); x -= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x -= "1"; -if (isNaN(x) !== true) { - $ERROR('#5: x = "x"; x -= "1"; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x -= "x"; -if (isNaN(x) !== true) { - $ERROR('#6: x = "1"; x -= "x"; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.js deleted file mode 100644 index d6ac2c0889..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T1.4; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x -= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = null; x -= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x -= null; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x -= null; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x -= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = undefined; x -= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x -= null; -if (x !== 0) { - $ERROR('#4: x = null; x -= null; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.js deleted file mode 100644 index 63f66c1263..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T2.1; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x -= 1; -if (x !== 0) { - $ERROR('#1: x = true; x -= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x -= true; -if (x !== 0) { - $ERROR('#2: x = 1; x -= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x -= 1; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x -= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x -= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = 1; x -= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x -= new Number(1); -if (x !== 0) { - $ERROR('#5: x = true; x -= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x -= true; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x -= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x -= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x -= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x -= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x -= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.js deleted file mode 100644 index 9a08c6ee61..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T2.2; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x -= 1; -if (x !== 0) { - $ERROR('#1: x = "1"; x -= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x -= "1"; -if (x !== 0) { - $ERROR('#2: x = 1; x -= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x -= 1; -if (x !== 0) { - $ERROR('#3: x = new String("1"); x -= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x -= new String("1"); -if (x !== 0) { - $ERROR('#4: x = 1; x -= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x -= new Number(1); -if (x !== 0) { - $ERROR('#5: x = "1"; x -= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x -= "1"; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x -= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x -= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new String("1"); x -= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x -= new String("1"); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x -= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x -= 1; -if (isNaN(x) !== true) { - $ERROR('#9: x = "x"; x -= 1; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x -= "x"; -if (isNaN(x) !== true) { - $ERROR('#10: x = 1; x -= "x"; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.js deleted file mode 100644 index df9e1134ca..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T2.3; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x -= null; -if (x !== 1) { - $ERROR('#1: x = 1; x -= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x -= 1; -if (x !== -1) { - $ERROR('#2: x = null; x -= 1; x === -1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x -= null; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x -= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x -= new Number(1); -if (x !== -1) { - $ERROR('#4: x = null; x -= new Number(1); x === -1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.js deleted file mode 100644 index dc6df74cf4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T2.4; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x -= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = 1; x -= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x -= 1; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x -= 1; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x -= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Number(1); x -= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x -= new Number(1); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x -= new Number(1); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.js deleted file mode 100644 index 8b5e0b71af..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T2.5; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x -= "1"; -if (x !== 0) { - $ERROR('#1: x = true; x -= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x -= true; -if (x !== 0) { - $ERROR('#2: x = "1"; x -= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x -= "1"; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x -= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x -= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = "1"; x -= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x -= new String("1"); -if (x !== 0) { - $ERROR('#5: x = true; x -= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x -= true; -if (x !== 0) { - $ERROR('#6: x = new String("1"); x -= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x -= new String("1"); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x -= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x -= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new String("1"); x -= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.js deleted file mode 100644 index 59128a6f19..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T2.6; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x -= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = "1"; x -= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x -= "1"; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x -= "1"; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x -= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new String("1"); x -= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x -= new String("1"); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x -= new String("1"); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.js deleted file mode 100644 index af9c2013ec..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T2.7; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x -= null; -if (x !== 1) { - $ERROR('#1: x = "1"; x -= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x -= "1"; -if (x !== -1) { - $ERROR('#2: x = null; x -= "1"; x === -1. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x -= null; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x -= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x -= new String("1"); -if (x !== -1) { - $ERROR('#4: x = null; x -= new String("1"); x === -1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.js deleted file mode 100644 index 9721883fa1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T2.8; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x -= undefined; -if (isNaN(x) !== true) { - $ERROR('#1: x = true; x -= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x -= true; -if (isNaN(x) !== true) { - $ERROR('#2: x = undefined; x -= true; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x -= undefined; -if (isNaN(x) !== true) { - $ERROR('#3: x = new Boolean(true); x -= undefined; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x -= new Boolean(true); -if (isNaN(x) !== true) { - $ERROR('#4: x = undefined; x -= new Boolean(true); x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.js deleted file mode 100644 index 600ab7374b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.5_T2.9; - * @section: 11.13.2, 11.6.2; - * @assertion: The production x -= y is the same as x = x - y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.5_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.js", - -assertion: "The production x -= y is the same as x = x - y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x -= null; -if (x !== 1) { - $ERROR('#1: x = true; x -= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x -= true; -if (x !== -1) { - $ERROR('#2: x = null; x -= true; x === -1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x -= null; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x -= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x -= new Boolean(true); -if (x !== -1) { - $ERROR('#4: x = null; x -= new Boolean(true); x === -1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.js deleted file mode 100644 index 441f961d57..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T1.1; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x <<= true; -if (x !== 2) { - $ERROR('#1: x = true; x <<= true; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x <<= true; -if (x !== 2) { - $ERROR('#2: x = new Boolean(true); x <<= true; x === 2. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x <<= new Boolean(true); -if (x !== 2) { - $ERROR('#3: x = true; x <<= new Boolean(true); x === 2. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x <<= new Boolean(true); -if (x !== 2) { - $ERROR('#4: x = new Boolean(true); x <<= new Boolean(true); x === 2. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.js deleted file mode 100644 index 3c9f073e6d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T1.2; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x <<= 1; -if (x !== 2) { - $ERROR('#1: x = 1; x <<= 1; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x <<= 1; -if (x !== 2) { - $ERROR('#2: x = new Number(1); x <<= 1; x === 2. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x <<= new Number(1); -if (x !== 2) { - $ERROR('#3: x = 1; x <<= new Number(1); x === 2. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x <<= new Number(1); -if (x !== 2) { - $ERROR('#4: x = new Number(1); x <<= new Number(1); x === 2. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.js deleted file mode 100644 index 1876fc0c4c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T1.3; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x <<= "1"; -if (x !== 2) { - $ERROR('#1: x = "1"; x <<= "1"; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x <<= "1"; -if (x !== 2) { - $ERROR('#2: x = new String("1"); x <<= "1"; x === 2. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x <<= new String("1"); -if (x !== 2) { - $ERROR('#3: x = "1"; x <<= new String("1"); x === 2. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x <<= new String("1"); -if (x !== 2) { - $ERROR('#4: x = new String("1"); x <<= new String("1"); x === 2. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x <<= "1"; -if (x !== 0) { - $ERROR('#5: x = "x"; x <<= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x <<= "x"; -if (x !== 1) { - $ERROR('#6: x = "1"; x <<= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.js deleted file mode 100644 index b6edbfb15f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T1.4; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x <<= undefined; -if (x !== 0) { - $ERROR('#1: x = null; x <<= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x <<= null; -if (x !== 0) { - $ERROR('#2: x = undefined; x <<= null; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x <<= undefined; -if (x !== 0) { - $ERROR('#3: x = undefined; x <<= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x <<= null; -if (x !== 0) { - $ERROR('#4: x = null; x <<= null; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.js deleted file mode 100644 index 73b8501e5f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T2.1; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x <<= 1; -if (x !== 2) { - $ERROR('#1: x = true; x <<= 1; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x <<= true; -if (x !== 2) { - $ERROR('#2: x = 1; x <<= true; x === 2. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x <<= 1; -if (x !== 2) { - $ERROR('#3: x = new Boolean(true); x <<= 1; x === 2. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x <<= new Boolean(true); -if (x !== 2) { - $ERROR('#4: x = 1; x <<= new Boolean(true); x === 2. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x <<= new Number(1); -if (x !== 2) { - $ERROR('#5: x = true; x <<= new Number(1); x === 2. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x <<= true; -if (x !== 2) { - $ERROR('#6: x = new Number(1); x <<= true; x === 2. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x <<= new Number(1); -if (x !== 2) { - $ERROR('#7: x = new Boolean(true); x <<= new Number(1); x === 2. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x <<= new Boolean(true); -if (x !== 2) { - $ERROR('#8: x = new Number(1); x <<= new Boolean(true); x === 2. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.js deleted file mode 100644 index fe4f93089a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T2.2; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x <<= 1; -if (x !== 2) { - $ERROR('#1: x = "1"; x <<= 1; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x <<= "1"; -if (x !== 2) { - $ERROR('#2: x = 1; x <<= "1"; x === 2. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x <<= 1; -if (x !== 2) { - $ERROR('#3: x = new String("1"); x <<= 1; x === 2. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x <<= new String("1"); -if (x !== 2) { - $ERROR('#4: x = 1; x <<= new String("1"); x === 2. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x <<= new Number(1); -if (x !== 2) { - $ERROR('#5: x = "1"; x <<= new Number(1); x === 2. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x <<= "1"; -if (x !== 2) { - $ERROR('#6: x = new Number(1); x <<= "1"; x === 2. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x <<= new Number(1); -if (x !== 2) { - $ERROR('#7: x = new String("1"); x <<= new Number(1); x === 2. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x <<= new String("1"); -if (x !== 2) { - $ERROR('#8: x = new Number(1); x <<= new String("1"); x === 2. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x <<= 1; -if (x !== 0) { - $ERROR('#9: x = "x"; x <<= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x <<= "x"; -if (x !== 1) { - $ERROR('#10: x = 1; x <<= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.js deleted file mode 100644 index 5333a38b33..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T2.3; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x <<= null; -if (x !== 1) { - $ERROR('#1: x = 1; x <<= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x <<= 1; -if (x !== 0) { - $ERROR('#2: x = null; x <<= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x <<= null; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x <<= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x <<= new Number(1); -if (x !== 0) { - $ERROR('#4: x = null; x <<= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.js deleted file mode 100644 index 0e1393cde7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T2.4; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x <<= undefined; -if (x !== 1) { - $ERROR('#1: x = 1; x <<= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x <<= 1; -if (x !== 0) { - $ERROR('#2: x = undefined; x <<= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x <<= undefined; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x <<= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x <<= new Number(1); -if (x !== 0) { - $ERROR('#4: x = undefined; x <<= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.js deleted file mode 100644 index 0af1c69f26..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T2.5; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x <<= "1"; -if (x !== 2) { - $ERROR('#1: x = true; x <<= "1"; x === 2. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x <<= true; -if (x !== 2) { - $ERROR('#2: x = "1"; x <<= true; x === 2. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x <<= "1"; -if (x !== 2) { - $ERROR('#3: x = new Boolean(true); x <<= "1"; x === 2. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x <<= new Boolean(true); -if (x !== 2) { - $ERROR('#4: x = "1"; x <<= new Boolean(true); x === 2. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x <<= new String("1"); -if (x !== 2) { - $ERROR('#5: x = true; x <<= new String("1"); x === 2. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x <<= true; -if (x !== 2) { - $ERROR('#6: x = new String("1"); x <<= true; x === 2. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x <<= new String("1"); -if (x !== 2) { - $ERROR('#7: x = new Boolean(true); x <<= new String("1"); x === 2. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x <<= new Boolean(true); -if (x !== 2) { - $ERROR('#8: x = new String("1"); x <<= new Boolean(true); x === 2. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.js deleted file mode 100644 index decedb99df..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T2.6; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x <<= undefined; -if (x !== 1) { - $ERROR('#1: x = "1"; x <<= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x <<= "1"; -if (x !== 0) { - $ERROR('#2: x = undefined; x <<= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x <<= undefined; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x <<= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x <<= new String("1"); -if (x !== 0) { - $ERROR('#4: x = undefined; x <<= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.js deleted file mode 100644 index b52d72109d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T2.7; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x <<= null; -if (x !== 1) { - $ERROR('#1: x = "1"; x <<= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x <<= "1"; -if (x !== 0) { - $ERROR('#2: x = null; x <<= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x <<= null; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x <<= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x <<= new String("1"); -if (x !== 0) { - $ERROR('#4: x = null; x <<= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.js deleted file mode 100644 index 62c6e7027c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T2.8; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x <<= undefined; -if (x !== 1) { - $ERROR('#1: x = true; x <<= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x <<= true; -if (x !== 0) { - $ERROR('#2: x = undefined; x <<= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x <<= undefined; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x <<= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x <<= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = undefined; x <<= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.js deleted file mode 100644 index 937e7861f5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.6_T2.9; - * @section: 11.13.2, 11.7.1; - * @assertion: The production x <<= y is the same as x = x << y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.6_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.js", - -assertion: "The production x <<= y is the same as x = x << y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x <<= null; -if (x !== 1) { - $ERROR('#1: x = true; x <<= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x <<= true; -if (x !== 0) { - $ERROR('#2: x = null; x <<= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x <<= null; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x <<= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x <<= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = null; x <<= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.js deleted file mode 100644 index 238b4b10fb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T1.1; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x >>= true; -if (x !== 0) { - $ERROR('#1: x = true; x >>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x >>= true; -if (x !== 0) { - $ERROR('#2: x = new Boolean(true); x >>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x >>= new Boolean(true); -if (x !== 0) { - $ERROR('#3: x = true; x >>= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x >>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = new Boolean(true); x >>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.js deleted file mode 100644 index ee3b3d929c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T1.2; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x >>= 1; -if (x !== 0) { - $ERROR('#1: x = 1; x >>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x >>= 1; -if (x !== 0) { - $ERROR('#2: x = new Number(1); x >>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x >>= new Number(1); -if (x !== 0) { - $ERROR('#3: x = 1; x >>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x >>= new Number(1); -if (x !== 0) { - $ERROR('#4: x = new Number(1); x >>= new Number(1); x === 0. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.js deleted file mode 100644 index 22e991b925..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T1.3; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x >>= "1"; -if (x !== 0) { - $ERROR('#1: x = "1"; x >>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x >>= "1"; -if (x !== 0) { - $ERROR('#2: x = new String("1"); x >>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x >>= new String("1"); -if (x !== 0) { - $ERROR('#3: x = "1"; x >>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x >>= new String("1"); -if (x !== 0) { - $ERROR('#4: x = new String("1"); x >>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x >>= "1"; -if (x !== 0) { - $ERROR('#5: x = "x"; x >>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x >>= "x"; -if (x !== 1) { - $ERROR('#6: x = "1"; x >>= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.js deleted file mode 100644 index 00e79c5292..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T1.4; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x >>= undefined; -if (x !== 0) { - $ERROR('#1: x = null; x >>= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x >>= null; -if (x !== 0) { - $ERROR('#2: x = undefined; x >>= null; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x >>= undefined; -if (x !== 0) { - $ERROR('#3: x = undefined; x >>= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x >>= null; -if (x !== 0) { - $ERROR('#4: x = null; x >>= null; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.js deleted file mode 100644 index e2826523a7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T2.1; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x >>= 1; -if (x !== 0) { - $ERROR('#1: x = true; x >>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x >>= true; -if (x !== 0) { - $ERROR('#2: x = 1; x >>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x >>= 1; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x >>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x >>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = 1; x >>= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x >>= new Number(1); -if (x !== 0) { - $ERROR('#5: x = true; x >>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x >>= true; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x >>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x >>= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x >>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x >>= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x >>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.js deleted file mode 100644 index 794ce4c00a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T2.2; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x >>= 1; -if (x !== 0) { - $ERROR('#1: x = "1"; x >>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x >>= "1"; -if (x !== 0) { - $ERROR('#2: x = 1; x >>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x >>= 1; -if (x !== 0) { - $ERROR('#3: x = new String("1"); x >>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x >>= new String("1"); -if (x !== 0) { - $ERROR('#4: x = 1; x >>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x >>= new Number(1); -if (x !== 0) { - $ERROR('#5: x = "1"; x >>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x >>= "1"; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x >>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x >>= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new String("1"); x >>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x >>= new String("1"); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x >>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x >>= 1; -if (x !== 0) { - $ERROR('#9: x = "x"; x >>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x >>= "x"; -if (x !== 1) { - $ERROR('#10: x = 1; x >>= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.js deleted file mode 100644 index e2f3c96988..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T2.3; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x >>= null; -if (x !== 1) { - $ERROR('#1: x = 1; x >>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x >>= 1; -if (x !== 0) { - $ERROR('#2: x = null; x >>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x >>= null; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x >>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x >>= new Number(1); -if (x !== 0) { - $ERROR('#4: x = null; x >>= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.js deleted file mode 100644 index c5ae48d568..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T2.4; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x >>= undefined; -if (x !== 1) { - $ERROR('#1: x = 1; x >>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x >>= 1; -if (x !== 0) { - $ERROR('#2: x = undefined; x >>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x >>= undefined; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x >>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x >>= new Number(1); -if (x !== 0) { - $ERROR('#4: x = undefined; x >>= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.js deleted file mode 100644 index 0296dd9b89..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T2.5; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x >>= "1"; -if (x !== 0) { - $ERROR('#1: x = true; x >>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x >>= true; -if (x !== 0) { - $ERROR('#2: x = "1"; x >>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x >>= "1"; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x >>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x >>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = "1"; x >>= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x >>= new String("1"); -if (x !== 0) { - $ERROR('#5: x = true; x >>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x >>= true; -if (x !== 0) { - $ERROR('#6: x = new String("1"); x >>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x >>= new String("1"); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x >>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x >>= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new String("1"); x >>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.js deleted file mode 100644 index 66ae61036e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T2.6; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x >>= undefined; -if (x !== 1) { - $ERROR('#1: x = "1"; x >>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x >>= "1"; -if (x !== 0) { - $ERROR('#2: x = undefined; x >>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x >>= undefined; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x >>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x >>= new String("1"); -if (x !== 0) { - $ERROR('#4: x = undefined; x >>= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.js deleted file mode 100644 index 1df57f38b4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T2.7; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x >>= null; -if (x !== 1) { - $ERROR('#1: x = "1"; x >>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x >>= "1"; -if (x !== 0) { - $ERROR('#2: x = null; x >>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x >>= null; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x >>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x >>= new String("1"); -if (x !== 0) { - $ERROR('#4: x = null; x >>= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.js deleted file mode 100644 index e96ab37d5a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T2.8; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x >>= undefined; -if (x !== 1) { - $ERROR('#1: x = true; x >>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x >>= true; -if (x !== 0) { - $ERROR('#2: x = undefined; x >>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x >>= undefined; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x >>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x >>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = undefined; x >>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.js deleted file mode 100644 index ce4dadbfd4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.7_T2.9; - * @section: 11.13.2, 11.7.2; - * @assertion: The production x >>= y is the same as x = x >> y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.7_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.js", - -assertion: "The production x >>= y is the same as x = x >> y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x >>= null; -if (x !== 1) { - $ERROR('#1: x = true; x >>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x >>= true; -if (x !== 0) { - $ERROR('#2: x = null; x >>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x >>= null; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x >>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x >>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = null; x >>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.js deleted file mode 100644 index fdacab83a9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T1.1; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x >>>= true; -if (x !== 0) { - $ERROR('#1: x = true; x >>>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x >>>= true; -if (x !== 0) { - $ERROR('#2: x = new Boolean(true); x >>>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x >>>= new Boolean(true); -if (x !== 0) { - $ERROR('#3: x = true; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x >>>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = new Boolean(true); x >>>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.js deleted file mode 100644 index 042446f989..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T1.2; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x >>>= 1; -if (x !== 0) { - $ERROR('#1: x = 1; x >>>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x >>>= 1; -if (x !== 0) { - $ERROR('#2: x = new Number(1); x >>>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x >>>= new Number(1); -if (x !== 0) { - $ERROR('#3: x = 1; x >>>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x >>>= new Number(1); -if (x !== 0) { - $ERROR('#4: x = new Number(1); x >>>= new Number(1); x === 0. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.js deleted file mode 100644 index 6f69d30239..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T1.3; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x >>>= "1"; -if (x !== 0) { - $ERROR('#1: x = "1"; x >>>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x >>>= "1"; -if (x !== 0) { - $ERROR('#2: x = new String("1"); x >>>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x >>>= new String("1"); -if (x !== 0) { - $ERROR('#3: x = "1"; x >>>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x >>>= new String("1"); -if (x !== 0) { - $ERROR('#4: x = new String("1"); x >>>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x >>>= "1"; -if (x !== 0) { - $ERROR('#5: x = "x"; x >>>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x >>>= "x"; -if (x !== 1) { - $ERROR('#6: x = "1"; x >>>= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.js deleted file mode 100644 index 06bf0915df..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T1.4; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x >>>= undefined; -if (x !== 0) { - $ERROR('#1: x = null; x >>>= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x >>>= null; -if (x !== 0) { - $ERROR('#2: x = undefined; x >>>= null; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x >>>= undefined; -if (x !== 0) { - $ERROR('#3: x = undefined; x >>>= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x >>>= null; -if (x !== 0) { - $ERROR('#4: x = null; x >>>= null; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.js deleted file mode 100644 index 41cc69d979..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T2.1; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x >>>= 1; -if (x !== 0) { - $ERROR('#1: x = true; x >>>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x >>>= true; -if (x !== 0) { - $ERROR('#2: x = 1; x >>>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x >>>= 1; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x >>>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x >>>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = 1; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x >>>= new Number(1); -if (x !== 0) { - $ERROR('#5: x = true; x >>>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x >>>= true; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x >>>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x >>>= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x >>>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x >>>= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x >>>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.js deleted file mode 100644 index fdd3c35dd7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T2.2; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x >>>= 1; -if (x !== 0) { - $ERROR('#1: x = "1"; x >>>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x >>>= "1"; -if (x !== 0) { - $ERROR('#2: x = 1; x >>>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x >>>= 1; -if (x !== 0) { - $ERROR('#3: x = new String("1"); x >>>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x >>>= new String("1"); -if (x !== 0) { - $ERROR('#4: x = 1; x >>>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x >>>= new Number(1); -if (x !== 0) { - $ERROR('#5: x = "1"; x >>>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x >>>= "1"; -if (x !== 0) { - $ERROR('#6: x = new Number(1); x >>>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x >>>= new Number(1); -if (x !== 0) { - $ERROR('#7: x = new String("1"); x >>>= new Number(1); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x >>>= new String("1"); -if (x !== 0) { - $ERROR('#8: x = new Number(1); x >>>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x >>>= 1; -if (x !== 0) { - $ERROR('#9: x = "x"; x >>>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x >>>= "x"; -if (x !== 1) { - $ERROR('#10: x = 1; x >>>= "x"; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.js deleted file mode 100644 index ee95e924d3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T2.3; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x >>>= null; -if (x !== 1) { - $ERROR('#1: x = 1; x >>>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x >>>= 1; -if (x !== 0) { - $ERROR('#2: x = null; x >>>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x >>>= null; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x >>>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x >>>= new Number(1); -if (x !== 0) { - $ERROR('#4: x = null; x >>>= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.js deleted file mode 100644 index 612d1c44d1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T2.4; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x >>>= undefined; -if (x !== 1) { - $ERROR('#1: x = 1; x >>>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x >>>= 1; -if (x !== 0) { - $ERROR('#2: x = undefined; x >>>= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x >>>= undefined; -if (x !== 1) { - $ERROR('#3: x = new Number(1); x >>>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x >>>= new Number(1); -if (x !== 0) { - $ERROR('#4: x = undefined; x >>>= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.js deleted file mode 100644 index 9a67afe7c3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T2.5; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x >>>= "1"; -if (x !== 0) { - $ERROR('#1: x = true; x >>>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x >>>= true; -if (x !== 0) { - $ERROR('#2: x = "1"; x >>>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x >>>= "1"; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x >>>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x >>>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = "1"; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x >>>= new String("1"); -if (x !== 0) { - $ERROR('#5: x = true; x >>>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x >>>= true; -if (x !== 0) { - $ERROR('#6: x = new String("1"); x >>>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x >>>= new String("1"); -if (x !== 0) { - $ERROR('#7: x = new Boolean(true); x >>>= new String("1"); x === 0. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x >>>= new Boolean(true); -if (x !== 0) { - $ERROR('#8: x = new String("1"); x >>>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.js deleted file mode 100644 index 8da189aa27..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T2.6; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x >>>= undefined; -if (x !== 1) { - $ERROR('#1: x = "1"; x >>>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x >>>= "1"; -if (x !== 0) { - $ERROR('#2: x = undefined; x >>>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x >>>= undefined; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x >>>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x >>>= new String("1"); -if (x !== 0) { - $ERROR('#4: x = undefined; x >>>= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.js deleted file mode 100644 index 06478ea453..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T2.7; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x >>>= null; -if (x !== 1) { - $ERROR('#1: x = "1"; x >>>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x >>>= "1"; -if (x !== 0) { - $ERROR('#2: x = null; x >>>= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x >>>= null; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x >>>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x >>>= new String("1"); -if (x !== 0) { - $ERROR('#4: x = null; x >>>= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.js deleted file mode 100644 index a6ffc55065..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T2.8; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x >>>= undefined; -if (x !== 1) { - $ERROR('#1: x = true; x >>>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x >>>= true; -if (x !== 0) { - $ERROR('#2: x = undefined; x >>>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x >>>= undefined; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x >>>= undefined; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x >>>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = undefined; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.js deleted file mode 100644 index c92f8f3e66..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.8_T2.9; - * @section: 11.13.2, 11.7.3; - * @assertion: The production x >>>= y is the same as x = x >>> y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.8_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.js", - -assertion: "The production x >>>= y is the same as x = x >>> y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x >>>= null; -if (x !== 1) { - $ERROR('#1: x = true; x >>>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x >>>= true; -if (x !== 0) { - $ERROR('#2: x = null; x >>>= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x >>>= null; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x >>>= null; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x >>>= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = null; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.js deleted file mode 100644 index 37314482c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T1.1; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T1.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -x = true; -x &= true; -if (x !== 1) { - $ERROR('#1: x = true; x &= true; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new Boolean(true); -x &= true; -if (x !== 1) { - $ERROR('#2: x = new Boolean(true); x &= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = true; -x &= new Boolean(true); -if (x !== 1) { - $ERROR('#3: x = true; x &= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new Boolean(true); -x &= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = new Boolean(true); x &= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.js deleted file mode 100644 index bebdb7a62c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T1.2; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T1.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -x = 1; -x &= 1; -if (x !== 1) { - $ERROR('#1: x = 1; x &= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new Number(1); -x &= 1; -if (x !== 1) { - $ERROR('#2: x = new Number(1); x &= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = 1; -x &= new Number(1); -if (x !== 1) { - $ERROR('#3: x = 1; x &= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new Number(1); -x &= new Number(1); -if (x !== 1) { - $ERROR('#4: x = new Number(1); x &= new Number(1); x === 1. Actual: ' + (x)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.js deleted file mode 100644 index e2988249aa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T1.3; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T1.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -x = "1"; -x &= "1"; -if (x !== 1) { - $ERROR('#1: x = "1"; x &= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = new String("1"); -x &= "1"; -if (x !== 1) { - $ERROR('#2: x = new String("1"); x &= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = "1"; -x &= new String("1"); -if (x !== 1) { - $ERROR('#3: x = "1"; x &= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = new String("1"); -x &= new String("1"); -if (x !== 1) { - $ERROR('#4: x = new String("1"); x &= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = "x"; -x &= "1"; -if (x !== 0) { - $ERROR('#5: x = "x"; x &= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#6 -x = "1"; -x &= "x"; -if (x !== 0) { - $ERROR('#6: x = "1"; x &= "x"; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.js deleted file mode 100644 index dbb0d7ee82..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T1.4; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) and Type(y) vary between Null and Undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T1.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -x = null; -x &= undefined; -if (x !== 0) { - $ERROR('#1: x = null; x &= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x &= null; -if (x !== 0) { - $ERROR('#2: x = undefined; x &= null; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = undefined; -x &= undefined; -if (x !== 0) { - $ERROR('#3: x = undefined; x &= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x &= null; -if (x !== 0) { - $ERROR('#4: x = null; x &= null; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.js deleted file mode 100644 index 8668e6ae3f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T2.1; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T2.1", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x &= 1; -if (x !== 1) { - $ERROR('#1: x = true; x &= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x &= true; -if (x !== 1) { - $ERROR('#2: x = 1; x &= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x &= 1; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x &= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x &= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = 1; x &= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x &= new Number(1); -if (x !== 1) { - $ERROR('#5: x = true; x &= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x &= true; -if (x !== 1) { - $ERROR('#6: x = new Number(1); x &= true; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x &= new Number(1); -if (x !== 1) { - $ERROR('#7: x = new Boolean(true); x &= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x &= new Boolean(true); -if (x !== 1) { - $ERROR('#8: x = new Number(1); x &= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.js deleted file mode 100644 index 24ffabb977..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T2.2; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T2.2", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = "1"; -x &= 1; -if (x !== 1) { - $ERROR('#1: x = "1"; x &= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = 1; -x &= "1"; -if (x !== 1) { - $ERROR('#2: x = 1; x &= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x &= 1; -if (x !== 1) { - $ERROR('#3: x = new String("1"); x &= 1; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = 1; -x &= new String("1"); -if (x !== 1) { - $ERROR('#4: x = 1; x &= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = "1"; -x &= new Number(1); -if (x !== 1) { - $ERROR('#5: x = "1"; x &= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new Number(1); -x &= "1"; -if (x !== 1) { - $ERROR('#6: x = new Number(1); x &= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new String("1"); -x &= new Number(1); -if (x !== 1) { - $ERROR('#7: x = new String("1"); x &= new Number(1); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new Number(1); -x &= new String("1"); -if (x !== 1) { - $ERROR('#8: x = new Number(1); x &= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#9 -x = "x"; -x &= 1; -if (x !== 0) { - $ERROR('#9: x = "x"; x &= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#10 -x = 1; -x &= "x"; -if (x !== 0) { - $ERROR('#10: x = 1; x &= "x"; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.js deleted file mode 100644 index 21fb58a81d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T2.3; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T2.3", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = 1; -x &= null; -if (x !== 0) { - $ERROR('#1: x = 1; x &= null; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x &= 1; -if (x !== 0) { - $ERROR('#2: x = null; x &= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x &= null; -if (x !== 0) { - $ERROR('#3: x = new Number(1); x &= null; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x &= new Number(1); -if (x !== 0) { - $ERROR('#4: x = null; x &= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.js deleted file mode 100644 index 020afd7f4d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T2.4; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T2.4", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = 1; -x &= undefined; -if (x !== 0) { - $ERROR('#1: x = 1; x &= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x &= 1; -if (x !== 0) { - $ERROR('#2: x = undefined; x &= 1; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Number(1); -x &= undefined; -if (x !== 0) { - $ERROR('#3: x = new Number(1); x &= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x &= new Number(1); -if (x !== 0) { - $ERROR('#4: x = undefined; x &= new Number(1); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.js deleted file mode 100644 index 0cdfdb2d58..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T2.5; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T2.5", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -x = true; -x &= "1"; -if (x !== 1) { - $ERROR('#1: x = true; x &= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -x = "1"; -x &= true; -if (x !== 1) { - $ERROR('#2: x = "1"; x &= true; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x &= "1"; -if (x !== 1) { - $ERROR('#3: x = new Boolean(true); x &= "1"; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -x = "1"; -x &= new Boolean(true); -if (x !== 1) { - $ERROR('#4: x = "1"; x &= new Boolean(true); x === 1. Actual: ' + (x)); -} - -//CHECK#5 -x = true; -x &= new String("1"); -if (x !== 1) { - $ERROR('#5: x = true; x &= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#6 -x = new String("1"); -x &= true; -if (x !== 1) { - $ERROR('#6: x = new String("1"); x &= true; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -x = new Boolean(true); -x &= new String("1"); -if (x !== 1) { - $ERROR('#7: x = new Boolean(true); x &= new String("1"); x === 1. Actual: ' + (x)); -} - -//CHECK#8 -x = new String("1"); -x &= new Boolean(true); -if (x !== 1) { - $ERROR('#8: x = new String("1"); x &= new Boolean(true); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.js deleted file mode 100644 index c68bf0e40e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T2.6; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T2.6", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = "1"; -x &= undefined; -if (x !== 0) { - $ERROR('#1: x = "1"; x &= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x &= "1"; -if (x !== 0) { - $ERROR('#2: x = undefined; x &= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x &= undefined; -if (x !== 0) { - $ERROR('#3: x = new String("1"); x &= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x &= new String("1"); -if (x !== 0) { - $ERROR('#4: x = undefined; x &= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.js deleted file mode 100644 index cff01b3f6f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T2.7; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T2.7", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = "1"; -x &= null; -if (x !== 0) { - $ERROR('#1: x = "1"; x &= null; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x &= "1"; -if (x !== 0) { - $ERROR('#2: x = null; x &= "1"; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new String("1"); -x &= null; -if (x !== 0) { - $ERROR('#3: x = new String("1"); x &= null; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x &= new String("1"); -if (x !== 0) { - $ERROR('#4: x = null; x &= new String("1"); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.js deleted file mode 100644 index 4dc8378c16..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T2.8; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T2.8", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -x = true; -x &= undefined; -if (x !== 0) { - $ERROR('#1: x = true; x &= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = undefined; -x &= true; -if (x !== 0) { - $ERROR('#2: x = undefined; x &= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x &= undefined; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x &= undefined; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = undefined; -x &= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = undefined; x &= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.js deleted file mode 100644 index 495bfe015b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.13.2_A4.9_T2.9; - * @section: 11.13.2, 11.10.1; - * @assertion: The production x &= y is the same as x = x & y; - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.13.2_A4.9_T2.9", - -path: "TestCases/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.js", - -assertion: "The production x &= y is the same as x = x & y", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -x = true; -x &= null; -if (x !== 0) { - $ERROR('#1: x = true; x &= null; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -x = null; -x &= true; -if (x !== 0) { - $ERROR('#2: x = null; x &= true; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -x = new Boolean(true); -x &= null; -if (x !== 0) { - $ERROR('#3: x = new Boolean(true); x &= null; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -x = null; -x &= new Boolean(true); -if (x !== 0) { - $ERROR('#4: x = null; x &= new Boolean(true); x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A1.js b/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A1.js deleted file mode 100644 index a5a63f4865..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A1.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.14_A1; -* @section: 11.14; -* @assertion: White Space and Line Terminator between Expression and , or between , and AssignmentExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.14_A1", - -path: "TestCases/11_Expressions/11.14_Comma_Operator/S11.14_A1.js", - -assertion: "White Space and Line Terminator between Expression and , or between , and AssignmentExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if ((eval("false\u0009,\u0009true")) !== true) { - $ERROR('#1: (false\\u0009,\\u0009true) === true'); -} - -//CHECK#2 -if ((eval("false\u000B,\u000Btrue")) !== true) { - $ERROR('#2: (false\\u000B,\\u000Btrue) === true'); -} - -//CHECK#3 -if ((eval("false\u000C,\u000Ctrue")) !== true) { - $ERROR('#3: (false\\u000C,\\u000Ctrue) === true'); -} - -//CHECK#4 -if ((eval("false\u0020,\u0020true")) !== true) { - $ERROR('#4: (false\\u0020,\\u0020true) === true'); -} - -//CHECK#5 -if ((eval("false\u00A0,\u00A0true")) !== true) { - $ERROR('#5: (false\\u00A0,\\u00A0true) === true'); -} - -//CHECK#6 -if ((eval("false\u000A,\u000Atrue")) !== true) { - $ERROR('#6: (false\\u000A,\\u000Atrue) === true'); -} - -//CHECK#7 -if ((eval("false\u000D,\u000Dtrue")) !== true) { - $ERROR('#7: (false\\u000D,\\u000Dtrue) === true'); -} - -//CHECK#8 -if ((eval("false\u2028,\u2028true")) !== true) { - $ERROR('#8: (false\\u2028,\\u2028true) === true'); -} - -//CHECK#9 -if ((eval("false\u2029,\u2029true")) !== true) { - $ERROR('#9: (false\\u2029,\\u2029true) === true'); -} - - -//CHECK#10 -if ((eval("false\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029,\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { - $ERROR('#10: (false\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029,\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.js deleted file mode 100644 index 99c4df33c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.14_A2.1_T1; - * @section: 11.14; - * @assertion: Operator uses GetValue; - * @description: Either Expression is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.14_A2.1_T1", - -path: "TestCases/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.js", - -assertion: "Operator uses GetValue", - -description: "Either Expression is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ((1,2) !== 2) { - $ERROR('#1: (1,2) === 2. Actual: ' + ((1,2))); -} - -//CHECK#2 -var x = 1; -if ((x, 2) !== 2) { - $ERROR('#2: var x = 1; (x, 2) === 2. Actual: ' + ((x, 2))); -} - -//CHECK#3 -var y = 2; -if ((1, y) !== 2) { - $ERROR('#3: var y = 2; (1, y) === 2. Actual: ' + ((1, y))); -} - -//CHECK#4 -var x = 1; -var y = 2; -if ((x, y) !== 2) { - $ERROR('#4: var x = 1; var y = 2; (x, y) === 2. Actual: ' + ((x, y))); -} - -//CHECK#5 -var x = 1; -if ((x, x) !== 1) { - $ERROR('#5: var x = 1; (x, x) === 1. Actual: ' + ((x, x))); -} - -//CHECK#6 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = true; -objecty.prop = 1.1; -if ((objectx.prop = false, objecty.prop) !== objecty.prop) { - $ERROR('#6: var objectx = new Object(); var objecty = new Object(); objectx.prop = true; objecty.prop = 1; (objectx.prop = false, objecty.prop) === objecty.prop. Actual: ' + ((objectx.prop = false, objecty.prop))); -} else { - if (objectx.prop !== false) { - $ERROR('#6: var objectx = new Object(); var objecty = new Object(); objectx.prop = true; objecty.prop = 1; objectx.prop = false, objecty.prop; objectx.prop === false'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.js deleted file mode 100644 index 25b9d5e123..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.14_A2.1_T2; -* @section: 11.14; -* @assertion: Operator uses GetValue; -* @description: If GetBase(Expression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.14_A2.1_T2", - -path: "TestCases/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(Expression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x, 1; - $ERROR('#1.1: x, 1 throw ReferenceError. Actual: ' + (x, 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x, 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.js deleted file mode 100644 index ce11f352e5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.14_A2.1_T3; -* @section: 11.14; -* @assertion: Operator uses GetValue; -* @description: If GetBase(AssigmentExpression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.14_A2.1_T3", - -path: "TestCases/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.js", - -assertion: "Operator uses GetValue", - -description: "If GetBase(AssigmentExpression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1, y; - $ERROR('#1.1: 1, y throw ReferenceError. Actual: ' + (1, y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1, y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A3.js b/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A3.js deleted file mode 100644 index 230df02831..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.14_Comma_Operator/S11.14_A3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.14_A3; -* @section: 11.14; -* @assertion: Comma Operator evaluates all Expressions and returns the last of them; -* @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.14_A3", - -path: "TestCases/11_Expressions/11.14_Comma_Operator/S11.14_A3.js", - -assertion: "Comma Operator evaluates all Expressions and returns the last of them", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -var y = 0; -var z = 0; -if ((x = 1, y = 2, z = 3) !== 3) { - $ERROR('#1: var x = 0; var y = 0; var z = 0; (x = 1, y = 2, z = 3) === 3. Actual: ' + ((x = 1, y = 2, z = 3))); -} - -var x = 0; -var y = 0; -var z = 0; -x = 1, y = 2, z = 3; - -//CHECK#2 -if (x !== 1) { - $ERROR('#2: var x = 0; var y = 0; var z = 0; x = 1, y = 2, z = 3; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -if (y !== 2) { - $ERROR('#3: var x = 0; var y = 0; var z = 0; x = 1, y = 2, z = 3; y === 2. Actual: ' + (y)); -} - -//CHECK#4 -if (z !== 3) { - $ERROR('#4: var x = 0; var y = 0; var z = 0; x = 1, y = 2, z = 3; z === 3. Actual: ' + (z)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.js deleted file mode 100644 index 47faa465a7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - this = 1; - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.js deleted file mode 100644 index c03f778c9b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.1.1_A2; - * @section: 11.1.1; - * @assertion: Being in global code, "this" and "eval("this")" return the global object; - * @description: Checking if execution of "this" and eval("this"), which are in global code, return the global object by using toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.1_A2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.js", - -assertion: "Being in global code, \"this\" and \"eval(\"this\")\" return the global object", - -description: "Checking if execution of \"this\" and eval(\"this\"), which are in global code, return the global object by using toString function", - -test: function testcase() { - //CHECK#1 -if (this.toString() !== toString()) { - $ERROR('#1: this.toString() === toString(). Actual: ' + (this.toString())); -} - -//CHECK#2 -if (eval("this").toString() !== toString()) { - $ERROR('#2: eval("this").toString() === toString(). Actual: ' + (this.toString())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.js deleted file mode 100644 index c40ad2d309..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.1.1_A3.1; - * @section: 11.1.1; - * @assertion: Being in function code, "this" and eval("this"), called as a functions, return the global object; - * @description: Creating function which returns "this" or eval("this"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.1_A3.1", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.js", - -assertion: "Being in function code, \"this\" and eval(\"this\"), called as a functions, return the global object", - -description: "Creating function which returns \"this\" or eval(\"this\")", - -test: function testcase() { - //CHECK#1 -function MyFunction() {return this} -if (MyFunction() !== this) { - $ERROR('#1: function MyFunction() {return this} MyFunction() === this. Actual: ' + (MyFunction())); -} - -//CHECK#2 -function MyFunction() {return eval("this")} -if (MyFunction() !== this) { - $ERROR('#2: function MyFunction() {return eval("this")} MyFunction() === this. Actual: ' + (MyFunction())); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.js deleted file mode 100644 index 1f569d016c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.1.1_A3.2; - * @section: 11.1.1; - * @assertion: Being in function code, "this" and eval("this"), called as a constructors, return the object; - * @description: Create function. It have property, that returned "this"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.1_A3.2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.js", - -assertion: "Being in function code, \"this\" and eval(\"this\"), called as a constructors, return the object", - -description: "Create function. It have property, that returned \"this\"", - -test: function testcase() { - //CHECK#1 -function MyFunction() {this.THIS = this} -if ((new MyFunction()).THIS.toString() !== "[object Object]") { - $ERROR('#1: function MyFunction() {this.THIS = this} (new MyFunction()).THIS.toString() !== "[object Object]". Actual: ' + ((new MyFunction()).THIS.toString())); -} - -//CHECK#2 -function MyFunction() {this.THIS = eval("this")} -if ((new MyFunction()).THIS.toString() !== "[object Object]") { - $ERROR('#2: function MyFunction() {this.THIS = eval("this")} (new MyFunction()).THIS.toString() !== "[object Object]". Actual: ' + ((new MyFunction()).THIS.toString())); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.js deleted file mode 100644 index 60b5cb1923..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.1.1_A4.1; - * @section: 11.1.1; - * @assertion: Being in anonymous code, "this" and eval("this"), called as a function, return the global object; - * @description: Creating function with new Function() constructor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.1_A4.1", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.js", - -assertion: "Being in anonymous code, \"this\" and eval(\"this\"), called as a function, return the global object", - -description: "Creating function with new Function() constructor", - -test: function testcase() { - //CHECK#1 -var MyFunction = new Function("return this"); -if (MyFunction() !== this) { - $ERROR('#1: var MyFunction = new Function("return this"); MyFunction() === this. Actual: ' + (MyFunction())); -} - -//CHECK#2 -var MyFunction = new Function("return eval(\'this\')"); -if (MyFunction() !== this) { - $ERROR('#2: var MyFunction = new Function("return eval(\'this\')"); MyFunction() === this. Actual: ' + (MyFunction())); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.js deleted file mode 100644 index c19ea01ac4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.1.1_A4.2; - * @section: 11.1.1; - * @assertion: Being in anonymous code, "this" and eval("this"), called as a constructor, return the object; - * @description: Creating function by using new Function() constructor. It has the property, which returns "this"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.1_A4.2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.js", - -assertion: "Being in anonymous code, \"this\" and eval(\"this\"), called as a constructor, return the object", - -description: "Creating function by using new Function() constructor. It has the property, which returns \"this\"", - -test: function testcase() { - //CHECK#1 -var MyFunction = new Function("this.THIS = this"); -var MyObject = new MyFunction(); -if (MyObject.THIS.toString() !== "[object Object]") { - $ERROR('#1: var MyFunction = new Function("this.THIS = this"); var MyObject = new MyFunction(); MyObject.THIS.toString() === "[object Object]". Actual: ' + (MyObject.THIS.toString())); -} - -//CHECK#2 -var MyFunction = new Function("this.THIS = eval(\'this\')"); -var MyObject = new MyFunction(); -if (MyObject.THIS.toString() !== "[object Object]") { - $ERROR('#2: var MyFunction = new Function("this.THIS = eval(\'this\')"); var MyObject = new MyFunction(); MyObject.THIS.toString() === "[object Object]". Actual: ' + (MyObject.THIS.toString())); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.js deleted file mode 100644 index 8756c0fb4e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.1.2_A1_T1; - * @section: 11.1.2; - * @assertion: The result of evaluating an Identifier is always a value of type Reference; - * @description: Creating variables without defining it; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.2_A1_T1", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.js", - -assertion: "The result of evaluating an Identifier is always a value of type Reference", - -description: "Creating variables without defining it", - -test: function testcase() { - //CHECK#1 -if (this.x !== undefined) { - $ERROR('#1: this.x === undefined. Actual: ' + (this.x)); -} - -//CHECK#2 -var object = new Object(); -if (object.prop !== undefined) { - $ERROR('#2: var object = new Object(); object.prop === undefined. Actual: ' + (object.prop)); -} - -//CHECK#3 -this.y++; -if (isNaN(y) !== true) { - $ERROR('#3: this.y++; y === Not-a-Number. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.js deleted file mode 100644 index 1af74fd984..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.1.2_A1_T2; - * @section: 11.1.2; - * @assertion: The result of evaluating an Identifier is always a value of type Reference; - * @description: Trying to generate ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.2_A1_T2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.js", - -assertion: "The result of evaluating an Identifier is always a value of type Reference", - -description: "Trying to generate ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - this.z; - z; - $ERROR('#1.1: this.z; z === undefined throw ReferenceError. Actual: ' + (z)); -} catch(e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: this.z; z === undefined throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.js deleted file mode 100644 index 64fba2c647..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.4_A1.1; -* @section: 11.1.4; -* @assertion: Evaluate the production ArrayLiteral: [ ]; -* @description: Checking various properties of the array defined with expression "var array = []"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.4_A1.1", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.js", - -assertion: "Evaluate the production ArrayLiteral: [ ]", - -description: "Checking various properties of the array defined with expression \"var array = []\"", - -test: function testcase() { - var array = []; - -//CHECK#1 -if (typeof array !== "object") { - $ERROR('#1: var array = []; typeof array === "object". Actual: ' + (typeof array)); -} - -//CHECK#2 -if (array instanceof Array !== true) { - $ERROR('#2: var array = []; array instanceof Array === true'); -} - -//CHECK#3 -if (array.toString !== Array.prototype.toString) { - $ERROR('#3: var array = []; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); -} - -//CHECK#4 -if (array.length !== 0) { - $ERROR('#4: var array = []; array.length === 0. Actual: ' + (array.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.js deleted file mode 100644 index 2d733c122f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.4_A1.2; -* @section: 11.1.4; -* @assertion: Evaluate the production ArrayLiteral: [ Elision ]; -* @description: Checking various properties the array defined with "var array = [,,,,,]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.4_A1.2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.js", - -assertion: "Evaluate the production ArrayLiteral: [ Elision ]", - -description: "Checking various properties the array defined with \"var array = [,,,,,]\"", - -test: function testcase() { - var array = [,,,,,]; - -//CHECK#1 -if (typeof array !== "object") { - $ERROR('#1: var array = [,,,,,]; typeof array === "object". Actual: ' + (typeof array)); -} - -//CHECK#2 -if (array instanceof Array !== true) { - $ERROR('#2: var array = [,,,,,]; array instanceof Array === true'); -} - -//CHECK#3 -if (array.toString !== Array.prototype.toString) { - $ERROR('#3: var array = [,,,,,]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); -} - -//CHECK#4 -if (array.length !== 5) { - $ERROR('#4: var array = [,,,,,]; array.length === 5. Actual: ' + (array.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.js deleted file mode 100644 index ec62df7c92..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.4_A1.3; -* @section: 11.1.4; -* @assertion: Evaluate the production ArrayLiteral: [ AssignmentExpression ]; -* @description: Checking various properteis and contents of the array defined with "var array = [1,2,3,4,5]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.4_A1.3", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.js", - -assertion: "Evaluate the production ArrayLiteral: [ AssignmentExpression ]", - -description: "Checking various properteis and contents of the array defined with \"var array = [1,2,3,4,5]\"", - -test: function testcase() { - var array = [1,2,3,4,5]; - -//CHECK#1 -if (typeof array !== "object") { - $ERROR('#1: var array = [1,2,3,4,5]; typeof array === "object". Actual: ' + (typeof array)); -} - -//CHECK#2 -if (array instanceof Array !== true) { - $ERROR('#2: var array = [1,2,3,4,5]; array instanceof Array === true'); -} - -//CHECK#3 -if (array.toString !== Array.prototype.toString) { - $ERROR('#3: var array = [1,2,3,4,5]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); -} - -//CHECK#4 -if (array.length !== 5) { - $ERROR('#4: var array = [1,2,3,4,5]; array.length === 5. Actual: ' + (array.length)); -} - -//CHECK#5 -if (array[0] !== 1) { - $ERROR('#5: var array = [1,2,3,4,5]; array[0] === 1. Actual: ' + (array[0])); -} - -//CHECK#6 -if (array[1] !== 2) { - $ERROR('#6: var array = [1,2,3,4,5]; array[1] === 2. Actual: ' + (array[1])); -} - -//CHECK#7 -if (array[2] !== 3) { - $ERROR('#7: var array = [1,2,3,4,5]; array[2] === 3. Actual: ' + (array[2])); -} - -//CHECK#8 -if (array[3] !== 4) { - $ERROR('#8: var array = [1,2,3,4,5]; array[3] === 4. Actual: ' + (array[3])); -} - -//CHECK#9 -if (array[4] !== 5) { - $ERROR('#9: var array = [1,2,3,4,5]; array[4] === 5. Actual: ' + (array[4])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.js deleted file mode 100644 index 4381d90c8e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.4_A1.4; -* @section: 11.1.4; -* @assertion: Evaluate the production ArrayLiteral: [ Elision, AssignmentExpression ]; -* @description: Checking various properteis and content of the array defined with "var array = [,,,1,2]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.4_A1.4", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.js", - -assertion: "Evaluate the production ArrayLiteral: [ Elision, AssignmentExpression ]", - -description: "Checking various properteis and content of the array defined with \"var array = [,,,1,2]\"", - -test: function testcase() { - var array = [,,,1,2]; - -//CHECK#1 -if (typeof array !== "object") { - $ERROR('#1: var array = [,,,1,2]; typeof array === "object". Actual: ' + (typeof array)); -} - -//CHECK#2 -if (array instanceof Array !== true) { - $ERROR('#2: var array = [,,,1,2]; array instanceof Array === true'); -} - -//CHECK#3 -if (array.toString !== Array.prototype.toString) { - $ERROR('#3: var array = [,,,1,2]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); -} - -//CHECK#4 -if (array.length !== 5) { - $ERROR('#4: var array = [,,,1,2]; array.length === 5. Actual: ' + (array.length)); -} - -//CHECK#5 -if (array[0] !== undefined) { - $ERROR('#5: var array = [,,,1,2]; array[0] === undefined. Actual: ' + (array[0])); -} - -//CHECK#6 -if (array[1] !== undefined) { - $ERROR('#6: var array = [,,,1,2]; array[1] === undefined. Actual: ' + (array[1])); -} - -//CHECK#7 -if (array[2] !== undefined) { - $ERROR('#7: var array = [,,,1,2]; array[2] === undefined. Actual: ' + (array[2])); -} - -//CHECK#8 -if (array[3] !== 1) { - $ERROR('#8: var array = [,,,1,2]; array[3] === 1. Actual: ' + (array[3])); -} - -//CHECK#9 -if (array[4] !== 2) { - $ERROR('#9: var array = [,,,1,2]; array[4] === 2. Actual: ' + (array[4])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.js deleted file mode 100644 index 489e1329f6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.4_A1.5; -* @section: 11.1.4; -* @assertion: Evaluate the production ArrayLiteral: [ AssignmentExpression, Elision ]; -* @description: Checking various properteis and contents of the array defined with "var array = [4,5,,,,]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.4_A1.5", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.js", - -assertion: "Evaluate the production ArrayLiteral: [ AssignmentExpression, Elision ]", - -description: "Checking various properteis and contents of the array defined with \"var array = [4,5,,,,]\"", - -test: function testcase() { - var array = [4,5,,,,]; - -//CHECK#1 -if (typeof array !== "object") { - $ERROR('#1: var array = [4,5,,,,]; typeof array === "object". Actual: ' + (typeof array)); -} - -//CHECK#2 -if (array instanceof Array !== true) { - $ERROR('#2: var array = [4,5,,,,]; array instanceof Array === true'); -} - -//CHECK#3 -if (array.toString !== Array.prototype.toString) { - $ERROR('#3: var array = [4,5,,,,]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); -} - -//CHECK#4 -if (array.length !== 5) { - $ERROR('#4: var array = [4,5,,,,]; array.length === 5. Actual: ' + (array.length)); -} - -//CHECK#5 -if (array[0] !== 4) { - $ERROR('#5: var array = [4,5,,,,]; array[0] === 4. Actual: ' + (array[0])); -} - -//CHECK#6 -if (array[1] !== 5) { - $ERROR('#6: var array = [4,5,,,,]; array[1] === 5. Actual: ' + (array[1])); -} - -//CHECK#7 -if (array[2] !== undefined) { - $ERROR('#7: var array = [4,5,,,,]; array[2] === undefined. Actual: ' + (array[2])); -} - -//CHECK#8 -if (array[3] !== undefined) { - $ERROR('#8: var array = [4,5,,,,]; array[3] === undefined. Actual: ' + (array[3])); -} - -//CHECK#9 -if (array[4] !== undefined) { - $ERROR('#9: var array = [4,5,,,,]; array[4] === undefined. Actual: ' + (array[4])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.js deleted file mode 100644 index 768d0bd979..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.4_A1.6; -* @section: 11.1.4; -* @assertion: Evaluate the production ArrayLiteral: [ Elision, AssignmentExpression, Elision ]; -* @description: Checking various properteis and contents of the array defined with "var array = [,,3,,,]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.4_A1.6", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.js", - -assertion: "Evaluate the production ArrayLiteral: [ Elision, AssignmentExpression, Elision ]", - -description: "Checking various properteis and contents of the array defined with \"var array = [,,3,,,]\"", - -test: function testcase() { - var array = [,,3,,,]; - -//CHECK#1 -if (typeof array !== "object") { - $ERROR('#1: var array = [,,3,,,]; typeof array === "object". Actual: ' + (typeof array)); -} - -//CHECK#2 -if (array instanceof Array !== true) { - $ERROR('#2: var array = [,,3,,,]; array instanceof Array === true'); -} - -//CHECK#3 -if (array.toString !== Array.prototype.toString) { - $ERROR('#3: var array = [,,3,,,]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); -} - -//CHECK#4 -if (array.length !== 5) { - $ERROR('#4: var array = [,,3,,,]; array.length === 5. Actual: ' + (array.length)); -} - -//CHECK#5 -if (array[0] !== undefined) { - $ERROR('#5: var array = [,,3,,,]; array[0] === undefined. Actual: ' + (array[0])); -} - -//CHECK#6 -if (array[1] !== undefined) { - $ERROR('#6: var array = [,,3,,,]; array[1] === undefined. Actual: ' + (array[1])); -} - -//CHECK#7 -if (array[2] !== 3) { - $ERROR('#7: var array = [,,3,,,]; array[2] === 3. Actual: ' + (array[2])); -} - -//CHECK#8 -if (array[3] !== undefined) { - $ERROR('#8: var array = [,,3,,,]; array[3] === undefined. Actual: ' + (array[3])); -} - -//CHECK#9 -if (array[4] !== undefined) { - $ERROR('#9: var array = [,,3,,,]; array[4] === undefined. Actual: ' + (array[4])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.js deleted file mode 100644 index c41c315974..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.4_A1.7; -* @section: 11.1.4; -* @assertion: Evaluate the production ArrayLiteral: [ AssignmentExpression, Elision, AssignmentExpression ]; -* @description: Checking various properteis and contents of the array defined with "var array = [1,2,,4,5]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.4_A1.7", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.js", - -assertion: "Evaluate the production ArrayLiteral: [ AssignmentExpression, Elision, AssignmentExpression ]", - -description: "Checking various properteis and contents of the array defined with \"var array = [1,2,,4,5]\"", - -test: function testcase() { - var array = [1,2,,4,5]; - -//CHECK#1 -if (typeof array !== "object") { - $ERROR('#1: var array = [1,2,,4,5]; typeof array === "object". Actual: ' + (typeof array)); -} - -//CHECK#2 -if (array instanceof Array !== true) { - $ERROR('#2: var array = [1,2,,4,5]; array instanceof Array === true'); -} - -//CHECK#3 -if (array.toString !== Array.prototype.toString) { - $ERROR('#3: var array = [1,2,,4,5]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); -} - -//CHECK#4 -if (array.length !== 5) { - $ERROR('#4: var array = [1,2,,4,5]; array.length === 5. Actual: ' + (array.length)); -} - -//CHECK#5 -if (array[0] !== 1) { - $ERROR('#5: var array = [1,2,,4,5]; array[0] === 1. Actual: ' + (array[0])); -} - -//CHECK#6 -if (array[1] !== 2) { - $ERROR('#6: var array = [1,2,,4,5]; array[1] === 2. Actual: ' + (array[1])); -} - -//CHECK#7 -if (array[2] !== undefined) { - $ERROR('#7: var array = [1,2,,4,5]; array[2] === undefined. Actual: ' + (array[2])); -} - -//CHECK#8 -if (array[3] !== 4) { - $ERROR('#8: var array = [1,2,,4,5]; array[3] === 4. Actual: ' + (array[3])); -} - -//CHECK#9 -if (array[4] !== 5) { - $ERROR('#9: var array = [1,2,,4,5]; array[4] === 5. Actual: ' + (array[4])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.js deleted file mode 100644 index deb683ca96..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.js +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.4_A2; -* @section: 11.1.4; -* @assertion: Create multi dimensional array; -* @description: Checking various properteis and contents of the arrya defined with "var array = [[1,2], [3], []]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.4_A2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.js", - -assertion: "Create multi dimensional array", - -description: "Checking various properteis and contents of the arrya defined with \"var array = [[1,2], [3], []]\"", - -test: function testcase() { - var array = [[1,2], [3], []]; - -//CHECK#1 -if (typeof array !== "object") { - $ERROR('#1: var array = [[1,2], [3], []]; typeof array === "object". Actual: ' + (typeof array)); -} - -//CHECK#2 -if (array instanceof Array !== true) { - $ERROR('#2: var array = [[1,2], [3], []]; array instanceof Array === true'); -} - -//CHECK#3 -if (array.toString !== Array.prototype.toString) { - $ERROR('#3: var array = [[1,2], [3], []]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); -} - -//CHECK#4 -if (array.length !== 3) { - $ERROR('#4: var array = [[1,2], [3], []]; array.length === 3. Actual: ' + (array.length)); -} - -var subarray = array[0]; - -//CHECK#5 -if (typeof subarray !== "object") { - $ERROR('#5: var array = [[1,2], [3], []]; var subarray = array[0]; typeof subarray === "object". Actual: ' + (typeof subarray)); -} - -//CHECK#6 -if (subarray instanceof Array !== true) { - $ERROR('#6: var array = [[1,2], [3], []]; var subarray = array[0]; subarray instanceof Array === true'); -} - -//CHECK#7 -if (subarray.toString !== Array.prototype.toString) { - $ERROR('#7: var array = [[1,2], [3], []]; var subarray = array[0]; subarray.toString === Array.prototype.toString. Actual: ' + (subarray.toString)); -} - -//CHECK#8 -if (subarray.length !== 2) { - $ERROR('#8: var array = [[1,2], [3], []]; var subarray = array[0]; subarray.length === 2. Actual: ' + (subarray.length)); -} - -//CHECK#9 -if (subarray[0] !== 1) { - $ERROR('#9: var array = [[1,2], [3], []]; var subarray = array[0]; subarray[0] === 1. Actual: ' + (subarray[0])); -} - -//CHECK#10 -if (subarray[1] !== 2) { - $ERROR('#10: var array = [[1,2], [3], []]; var subarray = array[1]; subarray[1] === 2. Actual: ' + (subarray[1])); -} - -var subarray = array[1]; - -//CHECK#11 -if (typeof subarray !== "object") { -$ERROR('#11: var array = [[1,2], [3], []]; var subarray = array[1]; typeof subarray === "object". Actual: ' + (typeof subarray)); -} - -//CHECK#12 -if (subarray instanceof Array !== true) { -$ERROR('#12: var array = [[1,2], [3], []]; var subarray = array[1]; subarray instanceof Array === true'); -} - -//CHECK#13 -if (subarray.toString !== Array.prototype.toString) { -$ERROR('#13: var array = [[1,2], [3], []]; var subarray = array[1]; subarray.toString === Array.prototype.toString. Actual: ' + (subarray.toString)); -} - -//CHECK#14 -if (subarray.length !== 1) { -$ERROR('#14: var array = [[1,2], [3], []]; var subarray = array[1]; subarray.length === 1. Actual: ' + (subarray.length)); -} - -//CHECK#15 -if (subarray[0] !== 3) { -$ERROR('#15: var array = [[1,2], [3], []]; var subarray = array[1]; subarray[0] === 3. Actual: ' + (subarray[0])); -} - -var subarray = array[2]; - -//CHECK#16 -if (typeof subarray !== "object") { -$ERROR('#16: var array = [[1,2], [3], []]; var subarray = array[2]; typeof subarray === "object". Actual: ' + (typeof subarray)); -} - -//CHECK#17 -if (subarray instanceof Array !== true) { -$ERROR('#17: var array = [[1,2], [3], []]; var subarray = array[2]; subarray instanceof Array === true'); -} - -//CHECK#18 -if (subarray.toString !== Array.prototype.toString) { -$ERROR('#18: var array = [[1,2], [3], []]; var subarray = array[2]; subarray.toString === Array.prototype.toString. Actual: ' + (subarray.toString)); -} - -//CHECK#19 -if (subarray.length !== 0) { -$ERROR('#19: var array = [[1,2], [3], []]; var subarray = array[2]; subarray.length === 0. Actual: ' + (subarray.length)); -} - -//CHECK#20 -if (array[0][0] !== 1) { - $ERROR('#20: var array = [[1,2], [3], []]; array[0][0] === 1. Actual: ' + (array[0][0])); -} - -//CHECK#21 -if (array[0][1] !== 2) { - $ERROR('#21: var array = [[1,2], [3], []]; array[0][1] === 2. Actual: ' + (array[0][1])); -} - -//CHECK#22 -if (array[1][0] !== 3) { - $ERROR('#722: var array = [[1,2], [3], []]; array[1][0] === 3. Actual: ' + (array[1][0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.js deleted file mode 100644 index 4814819b46..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.5_A1.1; -* @section: 11.1.5; -* @assertion: Evaluate the production ObjectLiteral: { }; -* @description: Checking various properteis of the object defined with "var object = {}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.5_A1.1", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.js", - -assertion: "Evaluate the production ObjectLiteral: { }", - -description: "Checking various properteis of the object defined with \"var object = {}\"", - -test: function testcase() { - var object = {}; - -//CHECK#1 -if (typeof object !== "object") { - $ERROR('#1: var object = {}; typeof object === "object". Actual: ' + (typeof object)); -} - -//CHECK#2 -if (object instanceof Object !== true) { - $ERROR('#2: var object = {}; object instanceof Object === true'); -} - -//CHECK#3 -if (object.toString !== Object.prototype.toString) { - $ERROR('#3: var object = {}; object.toString === Object.prototype.toString. Actual: ' + (object.toString)); -} - -//CHECK#4 -if (object.toString() !== "[object Object]") { - $ERROR('#4: var object = {}; object.toString === "[object Object]". Actual: ' + (object.toString)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.js deleted file mode 100644 index 393a65bab3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.5_A1.2; -* @section: 11.1.5; -* @assertion: Evaluate the production ObjectLiteral: { NumericLiteral : AssignmentExpression}; -* @description: Checking various properteis and contents of the object defined with "var object = {1 : true}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.5_A1.2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.js", - -assertion: "Evaluate the production ObjectLiteral: { NumericLiteral : AssignmentExpression}", - -description: "Checking various properteis and contents of the object defined with \"var object = {1 : true}\"", - -test: function testcase() { - var object = {1 : true}; - -//CHECK#1 -if (typeof object !== "object") { - $ERROR('#1: var object = {1 : true}; typeof object === "object". Actual: ' + (typeof object)); -} - -//CHECK#2 -if (object instanceof Object !== true) { - $ERROR('#2: var object = {1 : true}; object instanceof Object === true'); -} - -//CHECK#3 -if (object.toString !== Object.prototype.toString) { - $ERROR('#3: var object = {1 : true}; object.toString === Object.prototype.toString. Actual: ' + (object.toString)); -} - -//CHECK#4 -if (object[1] !== true) { - $ERROR('#4: var object = {1 : true}; object[1] === true'); -} - -//CHECK#5 -if (object["1"] !== true) { - $ERROR('#5: var object = {1 : true}; object["1"] === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.js deleted file mode 100644 index d95c8e22f1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.5_A1.3; -* @section: 11.1.5; -* @assertion: Evaluate the production ObjectLiteral: { StringLiteral : AssignmentExpression}; -* @description: Checking various properteis and contents of the object defined with "var object = {"x" : true}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.5_A1.3", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.js", - -assertion: "Evaluate the production ObjectLiteral: { StringLiteral : AssignmentExpression}", - -description: "Checking various properteis and contents of the object defined with \"var object = {\"x\" : true}\"", - -test: function testcase() { - var object = {"x" : true}; - -//CHECK#1 -if (typeof object !== "object") { - $ERROR('#1: var object = {"x" : true}; typeof object === "object". Actual: ' + (typeof object)); -} - -//CHECK#2 -if (object instanceof Object !== true) { - $ERROR('#2: var object = {"x" : true}; object instanceof Object === true'); -} - -//CHECK#3 -if (object.toString !== Object.prototype.toString) { - $ERROR('#3: var object = {"x" : true}; object.toString === Object.prototype.toString. Actual: ' + (object.toString)); -} - -//CHECK#4 -if (object["x"] !== true) { - $ERROR('#4: var object = {"x" : true}; object["x"] === true'); -} - -//CHECK#5 -if (object.x !== true) { - $ERROR('#5: var object = {"x" : true}; object.x === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.js deleted file mode 100644 index ab3a1812d8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.5_A1.4; -* @section: 11.1.5; -* @assertion: Evaluate the production ObjectLiteral: { Identifier : AssignmentExpression}; -* @description: Checking various properteis and contents of the object defined with "var object = {prop : true}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.5_A1.4", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.js", - -assertion: "Evaluate the production ObjectLiteral: { Identifier : AssignmentExpression}", - -description: "Checking various properteis and contents of the object defined with \"var object = {prop : true}\"", - -test: function testcase() { - var object = {prop : true}; - -//CHECK#1 -if (typeof object !== "object") { - $ERROR('#1: var object = {prop : true}; typeof object === "object". Actual: ' + (typeof object)); -} - -//CHECK#2 -if (object instanceof Object !== true) { - $ERROR('#2: var object = {prop : true}; object instanceof Object === true'); -} - -//CHECK#3 -if (object.toString !== Object.prototype.toString) { - $ERROR('#3: var object = {prop : true}; object.toString === Object.prototype.toString. Actual: ' + (object.toString)); -} - -//CHECK#4 -if (object["prop"] !== true) { - $ERROR('#4: var object = {prop : true}; object["prop"] === true'); -} - -//CHECK#5 -if (object.prop !== true) { - $ERROR('#5: var object = {prop : true}; object.prop === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.js deleted file mode 100644 index 93195d09bc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.js +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.5_A2; -* @section: 11.1.5; -* @assertion: Evaluate the production ObjectLiteral: { PropertyName : AssignmentExpression }; -* @description: Creating property "prop" of various types(boolean, number and etc.); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.5_A2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.js", - -assertion: "Evaluate the production ObjectLiteral: { PropertyName : AssignmentExpression }", - -description: "Creating property \"prop\" of various types(boolean, number and etc.)", - -test: function testcase() { - //CHECK#1 -var x = true; -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#1: var x = true; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#2 -var x = new Boolean(true); -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#2: var x = new Boolean(true); var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#3 -var x = 1; -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#3: var x = 1; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#4 -var x = new Number(1); -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#4: var x = new Number(1); var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#5 -var x = "1"; -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#5: var x = "1"; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#6 -var x = new String(1); -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#6: var x = new String(1); var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#7 -var x = undefined; -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#7: var x = undefined; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#8 -var x = null; -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#8: var x = null; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#9 -var x = {}; -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#9: var x = {}; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#10 -var x = [1,2]; -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#10: var x = [1,2]; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#11 -var x = function() {}; -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#11: var x = function() {}; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - -//CHECK#12 -var x = this; -var object = {prop : x}; -if (object.prop !== x) { - $ERROR('#12: var x = this; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js deleted file mode 100644 index 7cc892bac3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.5_A3; -* @section: 11.1.5; -* @assertion: Evaluate the production ObjectLiteral: { PropertyNameAndValueList }; -* @description: Creating the object defined with "var object = {0 : 1, "1" : "x", o : {}}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.5_A3", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js", - -assertion: "Evaluate the production ObjectLiteral: { PropertyNameAndValueList }", - -description: "Creating the object defined with \"var object = {0 : 1, \"1\" : \"x\", o : {}}\"", - -test: function testcase() { - var object = {0 : 1, "1" : "x", o : {}}; - -//CHECK#1 -if (object[0] !== 1) { - $ERROR('#1: var object = {0 : 1; "1" : "x"; o : {}}; object[0] === 1. Actual: ' + (object[0])); -} - -//CHECK#2 -if (object["1"] !== "x") { - $ERROR('#2: var object = {0 : 1; "1" : "x"; o : {}}; object["1"] === "x". Actual: ' + (object["1"])); -} - -//CHECK#3 -if (typeof object.o !== "object") { - $ERROR('#1: var object = {0 : 1; "1" : "x"; o : {}}; typeof object.o === "object". Actual: ' + (typeof object.o)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.js deleted file mode 100644 index ba37de788d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -var object = {true : 1}; - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.js deleted file mode 100644 index f4af6d7240..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -var object = {null : true}; - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.js deleted file mode 100644 index 7dc1225ba8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.5_A4.3; -* @section: 11.1.5; -* @assertion: The PropertyName is undefined, ToString(BooleanLiteral), ToString(nullLiteral); -* @description: Creating properties with following names: undefined, 'true', 'null'; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.5_A4.3", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.js", - -assertion: "The PropertyName is undefined, ToString(BooleanLiteral), ToString(nullLiteral)", - -description: "Creating properties with following names: undefined, \'true\', \'null\'", - -test: function testcase() { - //CHECK#1 -var object = {undefined : true}; -if (object.undefined !== true) { - $ERROR('#1: var object = {undefined : true}; object.undefined === true'); -} - -//CHECK#2 -var object = {undefined : true}; -if (object["undefined"] !== true) { - $ERROR('#2: var object = {undefined : true}; object["undefined"] === true'); -} - -//CHECK#3 -var object = {"true" : true}; -if (object["true"] !== true) { - $ERROR('#3: var object = {"true" : true}; object["true"] === true'); -} - -//CHECK#4 -var object = {"null" : true}; -if (object["null"] !== true) { - $ERROR('#4: var object = {"null" : true}; object["null"] === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.js deleted file mode 100644 index 1d4d52746c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.6_A1; -* @section: 11.1.6, 7.2, 7.3; -* @assertion: White Space and Line Terminator inside "grouping" operator are allowed; -* @description: Inserting WhiteSpaces and LineTerminators into grouping operator. Eval is used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.6_A1", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.js", - -assertion: "White Space and Line Terminator inside \"grouping\" operator are allowed", - -description: "Inserting WhiteSpaces and LineTerminators into grouping operator. Eval is used", - -test: function testcase() { - //CHECK#1 -if (eval("(\u00091\u0009)") !== 1) { - $ERROR('#1: (\\u00091\\u0009) === 1'); -} - -//CHECK#2 -if (eval("(\u000B1\u000B)") !== 1) { - $ERROR('#2: (\\u000B1\\u000B) === 1'); -} - -//CHECK#3 -if (eval("(\u000C1\u000C)") !== 1) { - $ERROR('#3: (\\u000C1\\u000C) === 1'); -} - -//CHECK#4 -if (eval("(\u00201\u0020)") !== 1) { - $ERROR('#4: (\\u00201\\u0020 === 1'); -} - -//CHECK#5 -if (eval("(\u00A01\u00A0)") !== 1) { - $ERROR('#5: (\\u00A01\\u00A0) === 1'); -} - -//CHECK#6 -if (eval("(\u000A1\u000A)") !== 1) { - $ERROR('#6: (\\u000A1\\u000A) === 1'); -} - -//CHECK#7 -if (eval("(\u000D1\u000D)") !== 1) { - $ERROR('#7: (\\u000D1\\u000D) === 1'); -} - -//CHECK#8 -if (eval("(\u20281\u2028)") !== 1) { - $ERROR('#8: (\\u20281\\u2028) === 1'); -} - -//CHECK#9 -if (eval("(\u20291\u2029)") !== 1) { - $ERROR('#9: (\\u20291\\u2029) === 1'); -} - -//CHECK#10 -if (eval("(\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029)") !== 1) { - $ERROR('#10: (\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029) === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.js deleted file mode 100644 index f8607e8840..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.6_A2; -* @section: 11.1.6; -* @assertion: "This" operator doesn't use GetValue. The operators "delete" and "typeof" can be applied to parenthesised expressions; -* @description: Applying "delete" and "typeof" operators to an undefined variable and a property of an object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.6_A2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.js", - -assertion: "\"This\" operator doesn\'t use GetValue. The operators \"delete\" and \"typeof\" can be applied to parenthesised expressions", - -description: "Applying \"delete\" and \"typeof\" operators to an undefined variable and a property of an object", - -test: function testcase() { - //CHECK#1 -if (delete (x) !== true) { - $ERROR('#1: delete (x) === true'); -} - -//CHECK#2 -if (typeof (x) !== "undefined") { - $ERROR('#2: typeof (x) === "undefined". Actual: ' + (typeof (x))); -} - -var object = {}; -//CHECK#3 -if (delete (object.prop) !== true) { - $ERROR('#3: var object = {}; delete (object.prop) === true'); -} - -//CHECK#4 -if (typeof (object.prop) !== "undefined") { - $ERROR('#4: var object = {}; typeof (object.prop) === "undefined". Actual: ' + (typeof (object.prop))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.js deleted file mode 100644 index 0d89f96b95..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.6_A3_T1; -* @section: 11.1.6; -* @assertion: "This" operator only evaluates Expression; -* @description: Applying grouping operator to Boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.6_A3_T1", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.js", - -assertion: "\"This\" operator only evaluates Expression", - -description: "Applying grouping operator to Boolean", - -test: function testcase() { - // Check for Boolean - -//CHECK#1 -if ((true) !== true) { - $ERROR('#1: (true) === true'); -} - -//CHECK#2 -var x = new Boolean(true); -if ((x) !== x) { - $ERROR('#2: var x = new Boolean(true); (x) === x. Actual: ' + ((x))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.js deleted file mode 100644 index 30a16f0484..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.6_A3_T2; -* @section: 11.1.6; -* @assertion: "This" operator only evaluates Expression; -* @description: Applying grouping operator to Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.6_A3_T2", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.js", - -assertion: "\"This\" operator only evaluates Expression", - -description: "Applying grouping operator to Number", - -test: function testcase() { - //Check for Number - -//CHECK#1 -if ((1) !== 1) { - $ERROR('#1: (1) === 1. Actual: ' + ((1))); -} - -//CHECK#2 -var x = new Number(1); -if ((x) !== x) { - $ERROR('#2: var x = new Number(1); (x) === x. Actual: ' + ((x))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.js deleted file mode 100644 index d3eb83c096..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.6_A3_T3; -* @section: 11.1.6; -* @assertion: "This" operator only evaluates Expression; -* @description: Applying grouping operator to String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.6_A3_T3", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.js", - -assertion: "\"This\" operator only evaluates Expression", - -description: "Applying grouping operator to String", - -test: function testcase() { - //Check for String - -//CHECK#1 -if (("1") !== "1") { - $ERROR('#1: ("1") === "1". Actual: ' + (("1"))); -} - -//CHECK#2 -if (("x") !== "x") { - $ERROR('#2: ("x") === "x". Actual: ' + (("x"))); -} - -//CHECK#3 -var x = new Number("1"); -if ((x) !== x) { - $ERROR('#3: var x = new Number("1"); (x) === x. Actual: ' + ((x))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.js deleted file mode 100644 index 1853a27b86..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.6_A3_T4; -* @section: 11.1.6; -* @assertion: "This" operator only evaluates Expression; -* @description: Applying grouping operator to undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.6_A3_T4", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.js", - -assertion: "\"This\" operator only evaluates Expression", - -description: "Applying grouping operator to undefined", - -test: function testcase() { - //Check for undefined and null - -//CHECK#1 -if ((undefined) !== undefined) { - $ERROR('#1: (undefined) === undefined. Actual: ' + ((undefined))); -} - -//CHECK#2 -if ((void 0) !== void 0) { - $ERROR('#2: (void 0) === void 0. Actual: ' + ((void 0))); -} - -//CHECK#2 -if ((null) !== null) { - $ERROR('#2: (null) === null. Actual: ' + ((null))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.js deleted file mode 100644 index b034f4ff57..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.6_A3_T5; -* @section: 11.1.6; -* @assertion: "This" operator only evaluates Expression; -* @description: Using grouping operator in declaration of variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.6_A3_T5", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.js", - -assertion: "\"This\" operator only evaluates Expression", - -description: "Using grouping operator in declaration of variables", - -test: function testcase() { - //CHECK#1 -(x) = 1; -if (x !== 1) { - $ERROR('#1: (x) = 1; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -var y = 1; (y)++; ++(y); (y)--; --(y); -if (y !== 1) { - $ERROR('#2: var y = 1; (y)++; ++(y); (y)--; --(y); y === 1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.js deleted file mode 100644 index 4716dd66c2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.1.6_A3_T6; -* @section: 11.1.6; -* @assertion: "This" operator only evaluates Expression; -* @description: Applying grouping operator to delete and typeof operators; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.1.6_A3_T6", - -path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.js", - -assertion: "\"This\" operator only evaluates Expression", - -description: "Applying grouping operator to delete and typeof operators", - -test: function testcase() { - //CHECK#1 -if (delete (x) !== true) { - $ERROR('#1: delete (x) === true'); -} - -//CHECK#2 -if (typeof (x) !== "undefined") { - $ERROR('#2: typeof (x) === "undefined". Actual: ' + (typeof (x))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.js deleted file mode 100644 index 3eae2d13a8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A1.1; -* @section: 11.2.1, 7.2, 7.3; -* @assertion: White Space and Line Terminator between MemberExpression or CallExpression and "." and between "." and Identifier are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A1.1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.js", - -assertion: "White Space and Line Terminator between MemberExpression or CallExpression and \".\" and between \".\" and Identifier are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("Number\u0009.\u0009POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#1: Number\\u0009.\\u0009POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - -//CHECK#2 -if (eval("Number\u000B.\u000BPOSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#2: Number\\u000B.\\u000BPOSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - -//CHECK#3 -if (eval("Number\u000C.\u000CPOSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#3: Number\\u000C.\\u000CPOSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - -//CHECK#4 -if (eval("Number\u0020.\u0020POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#4: Number\\u0020.\\u0020POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - -//CHECK#5 -if (eval("Number\u00A0.\u00A0POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#5: Number\\u00A0.\\u00A0POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - -//CHECK#6 -if (eval("Number\u000A.\u000APOSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#6: Number\\u000A.\\u000APOSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - -//CHECK#7 -if (eval("Number\u000D.\u000DPOSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#7: Number\\u000D.\\u000DPOSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - -//CHECK#8 -if (eval("Number\u2028.\u2028POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#8: Number\\u2028.\\u2028POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - -//CHECK#9 -if (eval("Number\u2029.\u2029POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#9: Number\\u2029.\\u2029POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - -//CHECK#10 -if (eval("Number\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029.\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { - $ERROR('#10: Number\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029.\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.js deleted file mode 100644 index 4812134842..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A1.2; -* @section: 11.2.1, 7.2, 7.3; -* @assertion: White Space and Line Terminator between "[" and MemberExpression or CallExpression and between Identifier and "]" are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A1.2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.js", - -assertion: "White Space and Line Terminator between \"[\" and MemberExpression or CallExpression and between Identifier and \"]\" are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval('Number[\u0009"POSITIVE_INFINITY"\u0009]') !== Number.POSITIVE_INFINITY) { - $ERROR('#1: Number[\\u0009"POSITIVE_INFINITY"\\u0009] === Number.POSITIVE_INFINITY'); -} - -//CHECK#2 -if (eval('Number[\u000B"POSITIVE_INFINITY"\u000B]') !== Number.POSITIVE_INFINITY) { - $ERROR('#2: Number[\\u000B"POSITIVE_INFINITY"\\u000B] === Number.POSITIVE_INFINITY'); -} - -//CHECK#3 -if (eval('Number[\u000C"POSITIVE_INFINITY"\u000C]') !== Number.POSITIVE_INFINITY) { - $ERROR('#3: Number[\\u000C"POSITIVE_INFINITY"\\u000C] === Number.POSITIVE_INFINITY'); -} - -//CHECK#4 -if (eval('Number[\u0020"POSITIVE_INFINITY"\u0020]') !== Number.POSITIVE_INFINITY) { - $ERROR('#4: Number[\\u0020"POSITIVE_INFINITY"\\u0020] === Number.POSITIVE_INFINITY'); -} - -//CHECK#5 -if (eval('Number[\u00A0"POSITIVE_INFINITY"\u00A0]') !== Number.POSITIVE_INFINITY) { - $ERROR('#5: Number[\\u00A0"POSITIVE_INFINITY"\\u00A0] === Number.POSITIVE_INFINITY'); -} - -//CHECK#6 -if (eval('Number[\u000A"POSITIVE_INFINITY"\u000A]') !== Number.POSITIVE_INFINITY) { - $ERROR('#6: Number[\\u000A"POSITIVE_INFINITY"\\u000A] === Number.POSITIVE_INFINITY'); -} - -//CHECK#7 -if (eval('Number[\u000D"POSITIVE_INFINITY"\u000D]') !== Number.POSITIVE_INFINITY) { - $ERROR('#7: Number[\\u000D"POSITIVE_INFINITY"\\u000D] === Number.POSITIVE_INFINITY'); -} - -//CHECK#8 -if (eval('Number[\u2028"POSITIVE_INFINITY"\u2028]') !== Number.POSITIVE_INFINITY) { - $ERROR('#8: Number[\\u2028"POSITIVE_INFINITY"\\u2028] === Number.POSITIVE_INFINITY'); -} - -//CHECK#9 -if (eval('Number[\u2029"POSITIVE_INFINITY"\u2029]') !== Number.POSITIVE_INFINITY) { - $ERROR('#9: Number[\\u2029"POSITIVE_INFINITY"\\u2029] === Number.POSITIVE_INFINITY'); -} - -//CHECK#10 -if (eval('Number[\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029"POSITIVE_INFINITY"\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029]') !== Number.POSITIVE_INFINITY) { - $ERROR('#10: Number[\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029"POSITIVE_INFINITY"\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029] === Number.POSITIVE_INFINITY'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.js deleted file mode 100644 index 2956cccdf0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A2; -* @section: 11.2.1; -* @assertion: MemberExpression and CallExpression uses GetValue; -* @description: If GetBase(MemberExpression or CallExpression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.js", - -assertion: "MemberExpression and CallExpression uses GetValue", - -description: "If GetBase(MemberExpression or CallExpression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - object[1]; - $ERROR('#1.1: object[1] throw ReferenceError. Actual: ' + (object[1])); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: object[1] throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - object.prop; - $ERROR('#2.1: object.prop throw ReferenceError. Actual: ' + (object.prop)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#2.2: object.prop throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.js deleted file mode 100644 index 6bac9188cf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A3_T1; -* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; -* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression); -* @description: Checking Boolean case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A3_T1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.js", - -assertion: "MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression)", - -description: "Checking Boolean case", - -test: function testcase() { - //CHECK#1 -if (true.toString() !== "true") { - $ERROR('#1: true.toString() === "true". Actual: ' + (true.toString())); -} - -//CHECK#2 -if (false["toString"]() !== "false") { - $ERROR('#2: false["toString"]() === "false". Actual: ' + (false["toString"]())); -} - -//CHECK#3 -if (new Boolean(true).toString() !== "true") { - $ERROR('#3: new Boolean(true).toString() === "true". Actual: ' + (new Boolean(true).toString())); -} - -//CHECK#4 -if (new Boolean(false)["toString"]() !== "false") { - $ERROR('#4: new Boolean(false)["toString"]() === "false". Actual: ' + (new Boolean(false)["toString"]())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.js deleted file mode 100644 index 62b61e8356..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A3_T2; -* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; -* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression) -* @description: Checking Number case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A3_T2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.js", - -assertion: "MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression)", - -description: "Checking Number case", - -test: function testcase() { - //CHECK#1 -if (1..toString() !== "1") { - $ERROR('#1: 1..toString() === "1". Actual: ' + (1..toString())); -} - -//CHECK#2 -if (1.1.toFixed(5) !== "1.10000") { - $ERROR('#2: 1.1.toFixed(5) === "1.10000". Actual: ' + (1.1.toFixed(5))); -} - -//CHECK#3 -if (1["toString"]() !== "1") { - $ERROR('#3: 1["toString"]() === "1". Actual: ' + (1["toString"]())); -} - -//CHECK#4 -if (1.["toFixed"](5) !== "1.00000") { - $ERROR('#4: 1.["toFixed"](5) === "1.00000". Actual: ' + (1.["toFixed"](5))); -} - -//CHECK#5 -if (new Number(1).toString() !== "1") { - $ERROR('#5: new Number(1).toString() === "1". Actual: ' + (new Number(1).toString())); -} - -//CHECK#6 -if (new Number(1)["toFixed"](5) !== "1.00000") { - $ERROR('#6: new Number(1)["toFixed"](5) === "1.00000". Actual: ' + (new Number(1)["toFixed"](5))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.js deleted file mode 100644 index 19c72e9472..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A3_T3; -* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; -* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression) -* @description: Checking String case; -* -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A3_T3", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.js", - -assertion: "MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression)", - -description: "Checking String case", - -test: function testcase() { - //CHECK#1 -if ("abc123".charAt(5) !== "3") { - $ERROR('#1: "abc123".charAt(5) === "3". Actual: ' + ("abc123".charAt(5))); -} - -//CHECK#2 -if ("abc123"["charAt"](0) !== "a") { - $ERROR('#2: "abc123"["charAt"](0) === "a". Actual: ' + ("abc123"["charAt"](0))); -} - -//CHECK#3 -if ("abc123".length !== 6) { - $ERROR('#3: "abc123".length === 6. Actual: ' + ("abc123".length)); -} - -//CHECK#4 -if ("abc123"["length"] !== 6) { - $ERROR('#4: "abc123"["length"] === 6. Actual: ' + ("abc123"["length"])); -} - -//CHECK#5 -if (new String("abc123").length !== 6) { - $ERROR('#5: new String("abc123").length === 6. Actual: ' + (new String("abc123").length)); -} - -//CHECK#6 -if (new String("abc123")["charAt"](2) !== "c") { - $ERROR('#6: new String("abc123")["charAt"](2) === "c". Actual: ' + (new String("abc123")["charAt"](2))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js deleted file mode 100644 index 56450800ab..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A3_T4; -* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; -* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression) -* @description: Checking "undefined" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A3_T4", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js", - -assertion: "MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression)", - -description: "Checking \"undefined\" case", - -test: function testcase() { - //CHECK#1 -try { - undefined.toString(); - $ERROR('#1.1: undefined.toString() throw TypeError. Actual: ' + (undefined.toString())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: undefined.toString() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - undefined["toString"](); - $ERROR('#2.1: undefined["toString"]() throw TypeError. Actual: ' + (undefined["toString"]())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: undefined["toString"]() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.js deleted file mode 100644 index c64948ac11..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A3_T5; -* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; -* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression) -* @description: Checking "null" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A3_T5", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.js", - -assertion: "MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression)", - -description: "Checking \"null\" case", - -test: function testcase() { - //CHECK#1 -try { - null.toString(); - $ERROR('#1.1: null.toString() throw TypeError. Actual: ' + (null.toString())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: null.toString() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - null["toString"](); - $ERROR('#2.1: null["toString"]() throw TypeError. Actual: ' + (null["toString"]())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: null["toString"]() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.js deleted file mode 100644 index 2421cba48c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A4_T1; -* @section: 11.2.1; -* @assertion: Check type of various properties; -* @description: Checking properties of this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A4_T1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.js", - -assertion: "Check type of various properties", - -description: "Checking properties of this object", - -test: function testcase() { - //CHECK#1-32 -if (typeof (this.NaN) === "undefined") $ERROR('#1: typeof (this.NaN) !== "undefined"'); -if (typeof this['NaN'] === "undefined") $ERROR('#2: typeof this["NaN"] !== "undefined"'); -if (typeof this.Infinity === "undefined") $ERROR('#3: typeof this.Infinity !== "undefined"'); -if (typeof this['Infinity'] === "undefined") $ERROR('#4: typeof this["Infinity"] !== "undefined"'); -if (typeof this.parseInt === "undefined") $ERROR('#5: typeof this.parseInt !== "undefined"'); -if (typeof this['parseInt'] === "undefined") $ERROR('#6: typeof this["parseInt"] !== "undefined"'); -if (typeof this.parseFloat === "undefined") $ERROR('#7: typeof this.parseFloat !== "undefined"'); -if (typeof this['parseFloat'] === "undefined") $ERROR('#8: typeof this["parseFloat"] !== "undefined"'); -if (typeof this.escape === "undefined") $ERROR('#9: typeof this.escape !== "undefined"'); -if (typeof this['escape'] === "undefined") $ERROR('#10: typeof this["escape"] !== "undefined"'); -if (typeof this.unescape === "undefined") $ERROR('#11: typeof this.unescape !== "undefined"'); -if (typeof this['unescape'] === "undefined") $ERROR('#12: typeof this["unescape"] !== "undefined"'); -if (typeof this.isNaN === "undefined") $ERROR('#13: typeof this.isNaN !== "undefined"'); -if (typeof this['isNaN'] === "undefined") $ERROR('#14: typeof this["isNaN"] !== "undefined"'); -if (typeof this.isFinite === "undefined") $ERROR('#15: typeof this.isFinite !== "undefined"'); -if (typeof this['isFinite'] === "undefined") $ERROR('#16: typeof this["isFinite"] !== "undefined"'); -if (typeof this.Object === "undefined") $ERROR('#17: typeof this.Object !== "undefined"'); -if (typeof this['Object'] === "undefined") $ERROR('#18: typeof this["Object"] !== "undefined"'); -if (typeof this.Number === "undefined") $ERROR('#19: typeof this.Number !== "undefined"'); -if (typeof this['Number'] === "undefined") $ERROR('#20: typeof this["Number"] !== "undefined"'); -if (typeof this.Function === "undefined") $ERROR('#21: typeof this.Function !== "undefined"'); -if (typeof this['Function'] === "undefined") $ERROR('#22: typeof this["Function"] !== "undefined"'); -if (typeof this.Array === "undefined") $ERROR('#23: typeof this.Array !== "undefined"'); -if (typeof this['Array'] === "undefined") $ERROR('#24: typeof this["Array"] !== "undefined"'); -if (typeof this.String === "undefined") $ERROR('#25: typeof this.String !== "undefined"'); -if (typeof this['String'] === "undefined") $ERROR('#26: typeof this["String"] !== "undefined"'); -if (typeof this.Boolean === "undefined") $ERROR('#27: typeof this.Boolean !== "undefined"'); -if (typeof this['Boolean'] === "undefined") $ERROR('#28: typeof this["Boolean"] !== "undefined"'); -if (typeof this.Date === "undefined") $ERROR('#29: typeof this.Date !== "undefined"'); -if (typeof this['Date'] === "undefined") $ERROR('#30: typeof this["Date"] !== "undefined"'); -if (typeof this.Math === "undefined") $ERROR('#31: typeof this.Math !== "undefined"'); -if (typeof this['Math'] === "undefined") $ERROR('#32: typeof this["Math"] !== "undefined"'); - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.js deleted file mode 100644 index 5e0fa13462..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A4_T2; -* @section: 11.2.1; -* @assertion: Check type of various properties; -* @description: Checking properties and methods of Object objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A4_T2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.js", - -assertion: "Check type of various properties", - -description: "Checking properties and methods of Object objects", - -test: function testcase() { - //CHECK#1-8 -if (typeof Object.prototype !== "object") $ERROR('#1: typeof Object.prototype === "object". Actual: ' + (typeof Object.prototype )); -if (typeof Object['prototype'] !== "object") $ERROR('#2: typeof Object["prototype"] === "object". Actual: ' + (typeof Object["prototype"] )); -if (typeof Object.toString !== "function") $ERROR('#3: typeof Object.toString === "function". Actual: ' + (typeof Object.toString )); -if (typeof Object['toString'] !== "function") $ERROR('#4: typeof Object["toString"] === "function". Actual: ' + (typeof Object["toString"] )); -if (typeof Object.valueOf !== "function") $ERROR('#5: typeof Object.valueOf === "function". Actual: ' + (typeof Object.valueOf )); -if (typeof Object['valueOf'] !== "function") $ERROR('#6: typeof Object["valueOf"] === "function". Actual: ' + (typeof Object["valueOf"] )); -if (typeof Object.constructor !== "function") $ERROR('#7: typeof Object.constructor === "function". Actual: ' + (typeof Object.constructor )); -if (typeof Object['constructor'] !== "function") $ERROR('#8: typeof Object["constructor"] === "function". Actual: ' + (typeof Object["constructor"] )); - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.js deleted file mode 100644 index 8047feba51..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A4_T3; -* @section: 11.2.1; -* @assertion: Check type of various properties; -* @description: Checking properties of the Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A4_T3", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.js", - -assertion: "Check type of various properties", - -description: "Checking properties of the Function object", - -test: function testcase() { - //CHECK#1-8 -if (typeof Function.prototype !== "function") $ERROR('#1: typeof Function.prototype === "function". Actual: ' + (typeof Function.prototype )); -if (typeof Function['prototype'] !== "function") $ERROR('#2: typeof Function["prototype"] === "function". Actual: ' + (typeof Function["prototype"] )); -if (typeof Function.prototype.toString !== "function") $ERROR('#3: typeof Function.prototype.toString === "function". Actual: ' + (typeof Function.prototype.toString )); -if (typeof Function.prototype['toString'] !== "function") $ERROR('#4: typeof Function.prototype["toString"] === "function". Actual: ' + (typeof Function.prototype["toString"] )); -if (typeof Function.prototype.length !== "number") $ERROR('#5: typeof Function.prototype.length === "number". Actual: ' + (typeof Function.prototype.length )); -if (typeof Function.prototype['length'] !== "number") $ERROR('#6: typeof Function.prototype["length"] === "number". Actual: ' + (typeof Function.prototype["length"] )); -if (typeof Function.prototype.valueOf !== "function") $ERROR('#7: typeof Function.prototype.valueOf === "function". Actual: ' + (typeof Function.prototype.valueOf )); -if (typeof Function.prototype['valueOf'] !== "function") $ERROR('#8: typeof Function.prototype["valueOf"] === "function". Actual: ' + (typeof Function.prototype["valueOf"] )); - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.js deleted file mode 100644 index 1b14c49d42..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A4_T4; -* @section: 11.2.1; -* @assertion: Check type of various properties; -* @description: Checking properties of the Array object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A4_T4", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.js", - -assertion: "Check type of various properties", - -description: "Checking properties of the Array object", - -test: function testcase() { - //CHECK#1-8 -if (typeof Array.prototype !== "object") $ERROR('#1: typeof Array.prototype === "object". Actual: ' + (typeof Array.prototype )); -if (typeof Array['prototype'] !== "object") $ERROR('#2: typeof Array["prototype"] === "object". Actual: ' + (typeof Array["prototype"] )); -if (typeof Array.length !== "number") $ERROR('#3: typeof Array.length === "number". Actual: ' + (typeof Array.length )); -if (typeof Array['length'] !== "number") $ERROR('#4: typeof Array["length"] === "number". Actual: ' + (typeof Array["length"] )); -if (typeof Array.prototype.constructor !== "function") $ERROR('#5: typeof Array.prototype.constructor === "function". Actual: ' + (typeof Array.prototype.constructor )); -if (typeof Array.prototype['constructor'] !== "function") $ERROR('#6: typeof Array.prototype["constructor"] === "function". Actual: ' + (typeof Array.prototype["constructor"] )); -if (typeof Array.prototype.toString !== "function") $ERROR('#7: typeof Array.prototype.toString === "function". Actual: ' + (typeof Array.prototype.toString )); -if (typeof Array.prototype['toString'] !== "function") $ERROR('#8: typeof Array.prototype["toString"] === "function". Actual: ' + (typeof Array.prototype["toString"] )); -if (typeof Array.prototype.join !== "function") $ERROR('#9: typeof Array.prototype.join === "function". Actual: ' + (typeof Array.prototype.join )); -if (typeof Array.prototype['join'] !== "function") $ERROR('#10: typeof Array.prototype["join"] === "function". Actual: ' + (typeof Array.prototype["join"] )); -if (typeof Array.prototype.reverse !== "function") $ERROR('#11: typeof Array.prototype.reverse === "function". Actual: ' + (typeof Array.prototype.reverse )); -if (typeof Array.prototype['reverse'] !== "function") $ERROR('#12: typeof Array.prototype["reverse"] === "function". Actual: ' + (typeof Array.prototype["reverse"] )); -if (typeof Array.prototype.sort !== "function") $ERROR('#13: typeof Array.prototype.sort === "function". Actual: ' + (typeof Array.prototype.sort )); -if (typeof Array.prototype['sort'] !== "function") $ERROR('#14: typeof Array.prototype["sort"] === "function". Actual: ' + (typeof Array.prototype["sort"] )); - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.js deleted file mode 100644 index b42eb0a3ab..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A4_T5; -* @section: 11.2.1; -* @assertion: Check type of various properties; -* @description: Checking properties of the String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A4_T5", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.js", - -assertion: "Check type of various properties", - -description: "Checking properties of the String object", - -test: function testcase() { - //CHECK#1-28 -if (typeof String.prototype !== "object") $ERROR('#1: typeof String.prototype === "object". Actual: ' + (typeof String.prototype )); -if (typeof String['prototype'] !== "object") $ERROR('#2: typeof String["prototype"] === "object". Actual: ' + (typeof String["prototype"] )); -if (typeof String.fromCharCode !== "function") $ERROR('#3: typeof String.fromCharCode === "function". Actual: ' + (typeof String.fromCharCode )); -if (typeof String['fromCharCode'] !== "function") $ERROR('#4: typeof String["fromCharCode"] === "function". Actual: ' + (typeof String["fromCharCode"] )); -if (typeof String.prototype.toString !== "function") $ERROR('#5: typeof String.prototype.toString === "function". Actual: ' + (typeof String.prototype.toString )); -if (typeof String.prototype['toString'] !== "function") $ERROR('#6: typeof String.prototype["toString"] === "function". Actual: ' + (typeof String.prototype["toString"] )); -if (typeof String.prototype.constructor !== "function") $ERROR('#7: typeof String.prototype.constructor === "function". Actual: ' + (typeof String.prototype.constructor )); -if (typeof String.prototype['constructor'] !== "function") $ERROR('#8: typeof String.prototype["constructor"] === "function". Actual: ' + (typeof String.prototype["constructor"] )); -if (typeof String.prototype.valueOf !== "function") $ERROR('#9: typeof String.prototype.valueOf === "function". Actual: ' + (typeof String.prototype.valueOf )); -if (typeof String.prototype['valueOf'] !== "function") $ERROR('#10: typeof String.prototype["valueOf"] === "function". Actual: ' + (typeof String.prototype["valueOf"] )); -if (typeof String.prototype.charAt !== "function") $ERROR('#11: typeof String.prototype.charAt === "function". Actual: ' + (typeof String.prototype.charAt )); -if (typeof String.prototype['charAt'] !== "function") $ERROR('#12: typeof String.prototype["charAt"] === "function". Actual: ' + (typeof String.prototype["charAt"] )); -if (typeof String.prototype.charCodeAt !== "function") $ERROR('#13: typeof String.prototype.charCodeAt === "function". Actual: ' + (typeof String.prototype.charCodeAt )); -if (typeof String.prototype['charCodeAt'] !== "function") $ERROR('#14: typeof String.prototype["charCodeAt"] === "function". Actual: ' + (typeof String.prototype["charCodeAt"] )); -if (typeof String.prototype.indexOf !== "function") $ERROR('#15: typeof String.prototype.indexOf === "function". Actual: ' + (typeof String.prototype.indexOf )); -if (typeof String.prototype['indexOf'] !== "function") $ERROR('#16: typeof String.prototype["indexOf"] === "function". Actual: ' + (typeof String.prototype["indexOf"] )); -if (typeof String.prototype.lastIndexOf !== "function") $ERROR('#17: typeof String.prototype.lastIndexOf === "function". Actual: ' + (typeof String.prototype.lastIndexOf )); -if (typeof String.prototype['lastIndexOf'] !== "function") $ERROR('#18: typeof String.prototype["lastIndexOf"] === "function". Actual: ' + (typeof String.prototype["lastIndexOf"] )); -if (typeof String.prototype.split !== "function") $ERROR('#19: typeof String.prototype.split === "function". Actual: ' + (typeof String.prototype.split )); -if (typeof String.prototype['split'] !== "function") $ERROR('#20: typeof String.prototype["split"] === "function". Actual: ' + (typeof String.prototype["split"] )); -if (typeof String.prototype.substring !== "function") $ERROR('#21: typeof String.prototype.substring === "function". Actual: ' + (typeof String.prototype.substring )); -if (typeof String.prototype['substring'] !== "function") $ERROR('#22: typeof String.prototype["substring"] === "function". Actual: ' + (typeof String.prototype["substring"] )); -if (typeof String.prototype.toLowerCase !== "function") $ERROR('#23: typeof String.prototype.toLowerCase === "function". Actual: ' + (typeof String.prototype.toLowerCase )); -if (typeof String.prototype['toLowerCase'] !== "function") $ERROR('#24: typeof String.prototype["toLowerCase"] === "function". Actual: ' + (typeof String.prototype["toLowerCase"] )); -if (typeof String.prototype.toUpperCase !== "function") $ERROR('#25: typeof String.prototype.toUpperCase === "function". Actual: ' + (typeof String.prototype.toUpperCase )); -if (typeof String.prototype['toUpperCase'] !== "function") $ERROR('#26: typeof Array.prototype === "object". Actual: ' + (typeof Array.prototype )); -if (typeof String.prototype.length !== "number") $ERROR('#27: typeof String.prototype.length === "number". Actual: ' + (typeof String.prototype.length )); -if (typeof String.prototype['length'] !== "number") $ERROR('#28: typeof String.prototype["length"] === "number". Actual: ' + (typeof String.prototype["length"] )); - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.js deleted file mode 100644 index 2e849c27ed..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A4_T6; -* @section: 11.2.1; -* @assertion: Check type of various properties; -* @description: Checking properties of the Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A4_T6", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.js", - -assertion: "Check type of various properties", - -description: "Checking properties of the Boolean object", - -test: function testcase() { - //CHECK#1-8 -if (typeof Boolean.prototype !== "object") $ERROR('#1: typeof Boolean.prototype === "object". Actual: ' + (typeof Boolean.prototype )); -if (typeof Boolean['prototype'] !== "object") $ERROR('#2: typeof Boolean["prototype"] === "object". Actual: ' + (typeof Boolean["prototype"] )); -if (typeof Boolean.constructor !== "function") $ERROR('#3: typeof Boolean.constructor === "function". Actual: ' + (typeof Boolean.constructor )); -if (typeof Boolean['constructor'] !== "function") $ERROR('#4: typeof Boolean["constructor"] === "function". Actual: ' + (typeof Boolean["constructor"] )); -if (typeof Boolean.prototype.valueOf !== "function") $ERROR('#5: typeof Boolean.prototype.valueOf === "function". Actual: ' + (typeof Boolean.prototype.valueOf )); -if (typeof Boolean.prototype['valueOf'] !== "function") $ERROR('#6: typeof Boolean.prototype["valueOf"] === "function". Actual: ' + (typeof Boolean.prototype["valueOf"] )); -if (typeof Boolean.prototype.toString !== "function") $ERROR('#7: typeof Boolean.prototype.toString === "function". Actual: ' + (typeof Boolean.prototype.toString )); -if (typeof Boolean.prototype['toString'] !== "function") $ERROR('#8: typeof Boolean.prototype["toString"] === "function". Actual: ' + (typeof Boolean.prototype["toString"] )); - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.js deleted file mode 100644 index dc902d1227..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A4_T7; -* @section: 11.2.1; -* @assertion: Check type of various properties; -* @description: Checking properties of the Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A4_T7", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.js", - -assertion: "Check type of various properties", - -description: "Checking properties of the Number object", - -test: function testcase() { - //CHECK#1-16 -if (typeof Number.MAX_VALUE !== "number") $ERROR('#1: typeof Number.MAX_VALUE === "number". Actual: ' + (typeof Number.MAX_VALUE )); -if (typeof Number['MAX_VALUE'] !== "number") $ERROR('#2: typeof Number["MAX_VALUE"] === "number". Actual: ' + (typeof Number["MAX_VALUE"] )); -if (typeof Number.MIN_VALUE !== "number") $ERROR('#3: typeof Number.MIN_VALUE === "number". Actual: ' + (typeof Number.MIN_VALUE )); -if (typeof Number['MIN_VALUE'] !== "number") $ERROR('#4: typeof Number["MIN_VALUE"] === "number". Actual: ' + (typeof Number["MIN_VALUE"] )); -if (typeof Number.NaN !== "number") $ERROR('#5: typeof Number.NaN === "number". Actual: ' + (typeof Number.NaN )); -if (typeof Number['NaN'] !== "number") $ERROR('#6: typeof Number["NaN"] === "number". Actual: ' + (typeof Number["NaN"] )); -if (typeof Number.NEGATIVE_INFINITY !== "number") $ERROR('#7: typeof Number.NEGATIVE_INFINITY === "number". Actual: ' + (typeof Number.NEGATIVE_INFINITY )); -if (typeof Number['NEGATIVE_INFINITY'] !== "number") $ERROR('#8: typeof Number["NEGATIVE_INFINITY"] === "number". Actual: ' + (typeof Number["NEGATIVE_INFINITY"] )); -if (typeof Number.POSITIVE_INFINITY !== "number") $ERROR('#9: typeof Number.POSITIVE_INFINITY === "number". Actual: ' + (typeof Number.POSITIVE_INFINITY )); -if (typeof Number['POSITIVE_INFINITY'] !== "number") $ERROR('#10: typeof Number["POSITIVE_INFINITY"] === "number". Actual: ' + (typeof Number["POSITIVE_INFINITY"] )); -if (typeof Number.prototype.toString !== "function") $ERROR('#11: typeof Number.prototype.toString === "function". Actual: ' + (typeof Number.prototype.toString )); -if (typeof Number.prototype['toString'] !== "function") $ERROR('#12: typeof Number.prototype["toString"] === "function". Actual: ' + (typeof Number.prototype["toString"] )); -if (typeof Number.prototype.constructor !== "function") $ERROR('#13: typeof Number.prototype.constructor === "function". Actual: ' + (typeof Number.prototype.constructor )); -if (typeof Number.prototype['constructor'] !== "function") $ERROR('#14: typeof Number.prototype["constructor"] === "function". Actual: ' + (typeof Number.prototype["constructor"] )); -if (typeof Number.prototype.valueOf !== "function") $ERROR('#15: typeof Number.prototype.valueOf === "function". Actual: ' + (typeof Number.prototype.valueOf )); -if (typeof Number.prototype['valueOf'] !== "function") $ERROR('#16: typeof Number.prototype["valueOf"] === "function". Actual: ' + (typeof Number.prototype["valueOf"] )); - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.js deleted file mode 100644 index d74b814daf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A4_T8; -* @section: 11.2.1; -* @assertion: Check type of various properties; -* @description: Checking properties of the Math Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A4_T8", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.js", - -assertion: "Check type of various properties", - -description: "Checking properties of the Math Object", - -test: function testcase() { - //CHECK#1-52 -if (typeof Math.E !== "number") $ERROR('#1: typeof Math.E === "number". Actual: ' + (typeof Math.E )); -if (typeof Math['E'] !== "number") $ERROR('#2: typeof Math["E"] === "number". Actual: ' + (typeof Math["E"] )); -if (typeof Math.LN10 !== "number") $ERROR('#3: typeof Math.LN10 === "number". Actual: ' + (typeof Math.LN10 )); -if (typeof Math['LN10'] !== "number") $ERROR('#4: typeof Math["LN10"] === "number". Actual: ' + (typeof Math["LN10"] )); -if (typeof Math.LN2 !== "number") $ERROR('#5: typeof Math.LN2 === "number". Actual: ' + (typeof Math.LN2 )); -if (typeof Math['LN2'] !== "number") $ERROR('#6: typeof Math["LN2"] === "number". Actual: ' + (typeof Math["LN2"] )); -if (typeof Math.LOG2E !== "number") $ERROR('#7: typeof Math.LOG2E === "number". Actual: ' + (typeof Math.LOG2E )); -if (typeof Math['LOG2E'] !== "number") $ERROR('#8: typeof Math["LOG2E"] === "number". Actual: ' + (typeof Math["LOG2E"] )); -if (typeof Math.LOG10E !== "number") $ERROR('#9: typeof Math.LOG10E === "number". Actual: ' + (typeof Math.LOG10E )); -if (typeof Math['LOG10E'] !== "number") $ERROR('#10: typeof Math["LOG10E"] === "number". Actual: ' + (typeof Math["LOG10E"] )); -if (typeof Math.PI !== "number") $ERROR('#11: typeof Math.PI === "number". Actual: ' + (typeof Math.PI )); -if (typeof Math['PI'] !== "number") $ERROR('#12: typeof Math["PI"] === "number". Actual: ' + (typeof Math["PI"] )); -if (typeof Math.SQRT1_2 !== "number") $ERROR('#13: typeof Math.SQRT1_2 === "number". Actual: ' + (typeof Math.SQRT1_2 )); -if (typeof Math['SQRT1_2'] !== "number") $ERROR('#14: typeof Math["SQRT1_2"] === "number". Actual: ' + (typeof Math["SQRT1_2"] )); -if (typeof Math.SQRT2 !== "number") $ERROR('#15: typeof Math.SQRT2 === "number". Actual: ' + (typeof Math.SQRT2 )); -if (typeof Math['SQRT2'] !== "number") $ERROR('#16: typeof Math["SQRT2"] === "number". Actual: ' + (typeof Math["SQRT2"] )); -if (typeof Math.abs !== "function") $ERROR('#17: typeof Math.abs === "function". Actual: ' + (typeof Math.abs )); -if (typeof Math['abs'] !== "function") $ERROR('#18: typeof Math["abs"] === "function". Actual: ' + (typeof Math["abs"] )); -if (typeof Math.acos !== "function") $ERROR('#19: typeof Math.acos === "function". Actual: ' + (typeof Math.acos )); -if (typeof Math['acos'] !== "function") $ERROR('#20: typeof Math["acos"] === "function". Actual: ' + (typeof Math["acos"] )); -if (typeof Math.asin !== "function") $ERROR('#21: typeof Math.asin === "function". Actual: ' + (typeof Math.asin )); -if (typeof Math['asin'] !== "function") $ERROR('#22: typeof Math["asin"] === "function". Actual: ' + (typeof Math["asin"] )); -if (typeof Math.atan !== "function") $ERROR('#23: typeof Math.atan === "function". Actual: ' + (typeof Math.atan )); -if (typeof Math['atan'] !== "function") $ERROR('#24: typeof Math["atan"] === "function". Actual: ' + (typeof Math["atan"] )); -if (typeof Math.atan2 !== "function") $ERROR('#25: typeof Math.atan2 === "function". Actual: ' + (typeof Math.atan2 )); -if (typeof Math['atan2'] !== "function") $ERROR('#26: typeof Math["atan2"] === "function". Actual: ' + (typeof Math["atan2"] )); -if (typeof Math.ceil !== "function") $ERROR('#27: typeof Math.ceil === "function". Actual: ' + (typeof Math.ceil )); -if (typeof Math['ceil'] !== "function") $ERROR('#28: typeof Math["ceil"] === "function". Actual: ' + (typeof Math["ceil"] )); -if (typeof Math.cos !== "function") $ERROR('#29: typeof Math.cos === "function". Actual: ' + (typeof Math.cos )); -if (typeof Math['cos'] !== "function") $ERROR('#30: typeof Math["cos"] === "function". Actual: ' + (typeof Math["cos"] )); -if (typeof Math.exp !== "function") $ERROR('#31: typeof Math.exp === "function". Actual: ' + (typeof Math.exp )); -if (typeof Math['exp'] !== "function") $ERROR('#32: typeof Math["exp"] === "function". Actual: ' + (typeof Math["exp"] )); -if (typeof Math.floor !== "function") $ERROR('#33: typeof Math.floor === "function". Actual: ' + (typeof Math.floor )); -if (typeof Math['floor'] !== "function") $ERROR('#34: typeof Math["floor"] === "function". Actual: ' + (typeof Math["floor"] )); -if (typeof Math.log !== "function") $ERROR('#35: typeof Math.log === "function". Actual: ' + (typeof Math.log )); -if (typeof Math['log'] !== "function") $ERROR('#36: typeof Math["log"] === "function". Actual: ' + (typeof Math["log"] )); -if (typeof Math.max !== "function") $ERROR('#37: typeof Math.max === "function". Actual: ' + (typeof Math.max )); -if (typeof Math['max'] !== "function") $ERROR('#38: typeof Math["max"] === "function". Actual: ' + (typeof Math["max"] )); -if (typeof Math.min !== "function") $ERROR('#39: typeof Math.min === "function". Actual: ' + (typeof Math.min )); -if (typeof Math['min'] !== "function") $ERROR('#40: typeof Math["min"] === "function". Actual: ' + (typeof Math["min"] )); -if (typeof Math.pow !== "function") $ERROR('#41: typeof Math.pow === "function". Actual: ' + (typeof Math.pow )); -if (typeof Math['pow'] !== "function") $ERROR('#42: typeof Math["pow"] === "function". Actual: ' + (typeof Math["pow"] )); -if (typeof Math.random !== "function") $ERROR('#43: typeof Math.random === "function". Actual: ' + (typeof Math.random )); -if (typeof Math['random'] !== "function") $ERROR('#44: typeof Math["random"] === "function". Actual: ' + (typeof Math["random"] )); -if (typeof Math.round !== "function") $ERROR('#45: typeof Math.round === "function". Actual: ' + (typeof Math.round )); -if (typeof Math['round'] !== "function") $ERROR('#46: typeof Math["round"] === "function". Actual: ' + (typeof Math["round"] )); -if (typeof Math.sin !== "function") $ERROR('#47: typeof Math.sin === "function". Actual: ' + (typeof Math.sin )); -if (typeof Math['sin'] !== "function") $ERROR('#48: typeof Math["sin"] === "function". Actual: ' + (typeof Math["sin"] )); -if (typeof Math.sqrt !== "function") $ERROR('#49: typeof Math.sqrt === "function". Actual: ' + (typeof Math.sqrt )); -if (typeof Math['sqrt'] !== "function") $ERROR('#50: typeof Math["sqrt"] === "function". Actual: ' + (typeof Math["sqrt"] )); -if (typeof Math.tan !== "function") $ERROR('#51: typeof Math.tan === "function". Actual: ' + (typeof Math.tan )); -if (typeof Math['tan'] !== "function") $ERROR('#52: typeof Math["tan"] === "function". Actual: ' + (typeof Math["tan"] )); - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.js deleted file mode 100644 index 238c202051..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.js +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.1_A4_T9; -* @section: 11.2.1; -* @assertion: Check type of various properties; -* @description: Checking properties of the Date object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.1_A4_T9", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.js", - -assertion: "Check type of various properties", - -description: "Checking properties of the Date object", - -test: function testcase() { - //CHECK#1-86 -if (typeof Date.parse !== "function") $ERROR('#1: typeof Date.parse === "function". Actual: ' + (typeof Date.parse )); -if (typeof Date['parse'] !== "function") $ERROR('#2: typeof Date["parse"] === "function". Actual: ' + (typeof Date["parse"] )); -if (typeof Date.prototype !== "object") $ERROR('#3: typeof Date.prototype === "object". Actual: ' + (typeof Date.prototype )); -if (typeof Date['prototype'] !== "object") $ERROR('#4: typeof Date["prototype"] === "object". Actual: ' + (typeof Date["prototype"] )); -if (typeof Date.UTC !== "function") $ERROR('#5: typeof Date.UTC === "function". Actual: ' + (typeof Date.UTC )); -if (typeof Date['UTC'] !== "function") $ERROR('#6: typeof Date["UTC"] === "function". Actual: ' + (typeof Date["UTC"] )); -if (typeof Date.prototype.constructor !== "function") $ERROR('#7: typeof Date.prototype.constructor === "funvtion". Actual: ' + (typeof Date.prototype.constructor )); -if (typeof Date.prototype['constructor'] !== "function") $ERROR('#8: typeof Date.prototype["constructor"] === "function". Actual: ' + (typeof Date.prototype["constructor"] )); -if (typeof Date.prototype.toString !== "function") $ERROR('#9: typeof Date.prototype.toString === "function". Actual: ' + (typeof Date.prototype.toString )); -if (typeof Date.prototype['toString'] !== "function") $ERROR('#10: typeof Date.prototype["toString"] === "function". Actual: ' + (typeof Date.prototype["toString"] )); -if (typeof Date.prototype.valueOf !== "function") $ERROR('#11: typeof Date.prototype.valueOf === "function". Actual: ' + (typeof Date.prototype.valueOf )); -if (typeof Date.prototype['valueOf'] !== "function") $ERROR('#12: typeof Date.prototype["valueOf"] === "function". Actual: ' + (typeof Date.prototype["valueOf"] )); -if (typeof Date.prototype.getTime !== "function") $ERROR('#13: typeof Date.prototype.getTime === "function". Actual: ' + (typeof Date.prototype.getTime )); -if (typeof Date.prototype['getTime'] !== "function") $ERROR('#14: typeof Date.prototype["getTime"] === "function". Actual: ' + (typeof Date.prototype["getTime"] )); -if (typeof Date.prototype.getYear !== "function") $ERROR('#15: typeof Date.prototype.getYear === "function". Actual: ' + (typeof Date.prototype.getYear )); -if (typeof Date.prototype['getYear'] !== "function") $ERROR('#16: typeof Date.prototype["getYear"] === "function". Actual: ' + (typeof Date.prototype["getYear"] )); -if (typeof Date.prototype.getFullYear !== "function") $ERROR('#17: typeof Date.prototype.getFullYear === "function". Actual: ' + (typeof Date.prototype.getFullYear )); -if (typeof Date.prototype['getFullYear'] !== "function") $ERROR('#18: typeof Date.prototype["getFullYear"] === "function". Actual: ' + (typeof Date.prototype["getFullYear"] )); -if (typeof Date.prototype.getUTCFullYear !== "function") $ERROR('#19: typeof Date.prototype.getUTCFullYear === "function". Actual: ' + (typeof Date.prototype.getUTCFullYear )); -if (typeof Date.prototype['getUTCFullYear'] !== "function") $ERROR('#20: typeof Date.prototype["getUTCFullYear"] === "function". Actual: ' + (typeof Date.prototype["getUTCFullYear"] )); -if (typeof Date.prototype.getMonth !== "function") $ERROR('#21: typeof Date.prototype.getMonth === "function". Actual: ' + (typeof Date.prototype.getMonth )); -if (typeof Date.prototype['getMonth'] !== "function") $ERROR('#22: typeof Date.prototype["getMonth"] === "function". Actual: ' + (typeof Date.prototype["getMonth"] )); -if (typeof Date.prototype.getUTCMonth !== "function") $ERROR('#23: typeof Date.prototype.getUTCMonth === "function". Actual: ' + (typeof Date.prototype.getUTCMonth )); -if (typeof Date.prototype['getUTCMonth'] !== "function") $ERROR('#24: typeof Date.prototype["getUTCMonth"] === "function". Actual: ' + (typeof Date.prototype["getUTCMonth"] )); -if (typeof Date.prototype.getDate !== "function") $ERROR('#25: typeof Date.prototype.getDate === "function". Actual: ' + (typeof Date.prototype.getDate )); -if (typeof Date.prototype['getDate'] !== "function") $ERROR('#26: typeof Date.prototype["getDate"] === "function". Actual: ' + (typeof Date.prototype["getDate"] )); -if (typeof Date.prototype.getUTCDate !== "function") $ERROR('#27: typeof Date.prototype.getUTCDate === "function". Actual: ' + (typeof Date.prototype.getUTCDate )); -if (typeof Date.prototype['getUTCDate'] !== "function") $ERROR('#28: typeof Date.prototype["getUTCDate"] === "function". Actual: ' + (typeof Date.prototype["getUTCDate"] )); -if (typeof Date.prototype.getDay !== "function") $ERROR('#29: typeof Date.prototype.getDay === "function". Actual: ' + (typeof Date.prototype.getDay )); -if (typeof Date.prototype['getDay'] !== "function") $ERROR('#30: typeof Date.prototype["getDay"] === "function". Actual: ' + (typeof Date.prototype["getDay"] )); -if (typeof Date.prototype.getUTCDay !== "function") $ERROR('#31: typeof Date.prototype.getUTCDay === "function". Actual: ' + (typeof Date.prototype.getUTCDay )); -if (typeof Date.prototype['getUTCDay'] !== "function") $ERROR('#32: typeof Date.prototype["getUTCDay"] === "function". Actual: ' + (typeof Date.prototype["getUTCDay"] )); -if (typeof Date.prototype.getHours !== "function") $ERROR('#33: typeof Date.prototype.getHours === "function". Actual: ' + (typeof Date.prototype.getHours )); -if (typeof Date.prototype['getHours'] !== "function") $ERROR('#34: typeof Date.prototype["getHours"] === "function". Actual: ' + (typeof Date.prototype["getHours"] )); -if (typeof Date.prototype.getUTCHours !== "function") $ERROR('#35: typeof Date.prototype.getUTCHours === "function". Actual: ' + (typeof Date.prototype.getUTCHours )); -if (typeof Date.prototype['getUTCHours'] !== "function") $ERROR('#36: typeof Date.prototype["getUTCHours"] === "function". Actual: ' + (typeof Date.prototype["getUTCHours"] )); -if (typeof Date.prototype.getMinutes !== "function") $ERROR('#37: typeof Date.prototype.getMinutes === "function". Actual: ' + (typeof Date.prototype.getMinutes )); -if (typeof Date.prototype['getMinutes'] !== "function") $ERROR('#38: typeof Date.prototype["getMinutes"] === "function". Actual: ' + (typeof Date.prototype["getMinutes"] )); -if (typeof Date.prototype.getUTCMinutes !== "function") $ERROR('#39: typeof Date.prototype.getUTCMinutes === "function". Actual: ' + (typeof Date.prototype.getUTCMinutes )); -if (typeof Date.prototype['getUTCMinutes'] !== "function") $ERROR('#40: typeof Date.prototype["getUTCMinutes"] === "function". Actual: ' + (typeof Date.prototype["getUTCMinutes"] )); -if (typeof Date.prototype.getSeconds !== "function") $ERROR('#41: typeof Date.prototype.getSeconds === "function". Actual: ' + (typeof Date.prototype.getSeconds )); -if (typeof Date.prototype['getSeconds'] !== "function") $ERROR('#42: typeof Date.prototype["getSeconds"] === "function". Actual: ' + (typeof Date.prototype["getSeconds"] )); -if (typeof Date.prototype.getUTCSeconds !== "function") $ERROR('#43: typeof Date.prototype.getUTCSeconds === "function". Actual: ' + (typeof Date.prototype.getUTCSeconds )); -if (typeof Date.prototype['getUTCSeconds'] !== "function") $ERROR('#44: typeof Date.prototype["getUTCSeconds"] === "function". Actual: ' + (typeof Date.prototype["getUTCSeconds"] )); -if (typeof Date.prototype.getMilliseconds !== "function") $ERROR('#45: typeof Date.prototype.getMilliseconds === "function". Actual: ' + (typeof Date.prototype.getMilliseconds )); -if (typeof Date.prototype['getMilliseconds'] !== "function") $ERROR('#46: typeof Date.prototype["getMilliseconds"] === "function". Actual: ' + (typeof Date.prototype["getMilliseconds"] )); -if (typeof Date.prototype.getUTCMilliseconds !== "function") $ERROR('#47: typeof Date.prototype.getUTCMilliseconds === "function". Actual: ' + (typeof Date.prototype.getUTCMilliseconds )); -if (typeof Date.prototype['getUTCMilliseconds'] !== "function") $ERROR('#48: typeof Date.prototype["getUTCMilliseconds"] === "function". Actual: ' + (typeof Date.prototype["getUTCMilliseconds"] )); -if (typeof Date.prototype.setTime !== "function") $ERROR('#49: typeof Date.prototype.setTime === "function". Actual: ' + (typeof Date.prototype.setTime )); -if (typeof Date.prototype['setTime'] !== "function") $ERROR('#50: typeof Date.prototype["setTime"] === "function". Actual: ' + (typeof Date.prototype["setTime"] )); -if (typeof Date.prototype.setMilliseconds !== "function") $ERROR('#51: typeof Date.prototype.setMilliseconds === "function". Actual: ' + (typeof Date.prototype.setMilliseconds )); -if (typeof Date.prototype['setMilliseconds'] !== "function") $ERROR('#52: typeof Date.prototype["setMilliseconds"] === "function". Actual: ' + (typeof Date.prototype["setMilliseconds"] )); -if (typeof Date.prototype.setUTCMilliseconds !== "function") $ERROR('#53: typeof Date.prototype.setUTCMilliseconds === "function". Actual: ' + (typeof Date.prototype.setUTCMilliseconds )); -if (typeof Date.prototype['setUTCMilliseconds'] !== "function") $ERROR('#54: typeof Date.prototype["setUTCMilliseconds"] === "function". Actual: ' + (typeof Date.prototype["setUTCMilliseconds"] )); -if (typeof Date.prototype.setSeconds !== "function") $ERROR('#55: typeof Date.prototype.setSeconds === "function". Actual: ' + (typeof Date.prototype.setSeconds )); -if (typeof Date.prototype['setSeconds'] !== "function") $ERROR('#56: typeof Date.prototype["setSeconds"] === "function". Actual: ' + (typeof Date.prototype["setSeconds"] )); -if (typeof Date.prototype.setUTCSeconds !== "function") $ERROR('#57: typeof Date.prototype.setUTCSeconds === "function". Actual: ' + (typeof Date.prototype.setUTCSeconds )); -if (typeof Date.prototype['setUTCSeconds'] !== "function") $ERROR('#58: typeof Date.prototype["setUTCSeconds"] === "function". Actual: ' + (typeof Date.prototype["setUTCSeconds"] )); -if (typeof Date.prototype.setMinutes !== "function") $ERROR('#59: typeof Date.prototype.setMinutes === "function". Actual: ' + (typeof Date.prototype.setMinutes )); -if (typeof Date.prototype['setMinutes'] !== "function") $ERROR('#60: typeof Date.prototype["setMinutes"] === "function". Actual: ' + (typeof Date.prototype["setMinutes"] )); -if (typeof Date.prototype.setUTCMinutes !== "function") $ERROR('#61: typeof Date.prototype.setUTCMinutes === "function". Actual: ' + (typeof Date.prototype.setUTCMinutes )); -if (typeof Date.prototype['setUTCMinutes'] !== "function") $ERROR('#62: typeof Date.prototype["setUTCMinutes"] === "function". Actual: ' + (typeof Date.prototype["setUTCMinutes"] )); -if (typeof Date.prototype.setHours !== "function") $ERROR('#63: typeof Date.prototype.setHours === "function". Actual: ' + (typeof Date.prototype.setHours )); -if (typeof Date.prototype['setHours'] !== "function") $ERROR('#64: typeof Date.prototype["setHours"] === "function". Actual: ' + (typeof Date.prototype["setHours"] )); -if (typeof Date.prototype.setUTCHours !== "function") $ERROR('#65: typeof Date.prototype.setUTCHours === "function". Actual: ' + (typeof Date.prototype.setUTCHours )); -if (typeof Date.prototype['setUTCHours'] !== "function") $ERROR('#66: typeof Date.prototype["setUTCHours"] === "function". Actual: ' + (typeof Date.prototype["setUTCHours"] )); -if (typeof Date.prototype.setDate !== "function") $ERROR('#67: typeof Date.prototype.setDate === "function". Actual: ' + (typeof Date.prototype.setDate )); -if (typeof Date.prototype['setDate'] !== "function") $ERROR('#68: typeof Date.prototype["setDate"] === "function". Actual: ' + (typeof Date.prototype["setDate"] )); -if (typeof Date.prototype.setUTCDate !== "function") $ERROR('#69: typeof Date.prototype.setUTCDate === "function". Actual: ' + (typeof Date.prototype.setUTCDate )); -if (typeof Date.prototype['setUTCDate'] !== "function") $ERROR('#70: typeof Date.prototype["setUTCDate"] === "function". Actual: ' + (typeof Date.prototype["setUTCDate"] )); -if (typeof Date.prototype.setMonth !== "function") $ERROR('#71: typeof Date.prototype.setMonth === "function". Actual: ' + (typeof Date.prototype.setMonth )); -if (typeof Date.prototype['setMonth'] !== "function") $ERROR('#72: typeof Date.prototype["setMonth"] === "function". Actual: ' + (typeof Date.prototype["setMonth"] )); -if (typeof Date.prototype.setUTCMonth !== "function") $ERROR('#73: typeof Date.prototype.setUTCMonth === "function". Actual: ' + (typeof Date.prototype.setUTCMonth )); -if (typeof Date.prototype['setUTCMonth'] !== "function") $ERROR('#74: typeof Date.prototype["setUTCMonth"] === "function". Actual: ' + (typeof Date.prototype["setUTCMonth"] )); -if (typeof Date.prototype.setFullYear !== "function") $ERROR('#75: typeof Date.prototype.setFullYear === "function". Actual: ' + (typeof Date.prototype.setFullYear )); -if (typeof Date.prototype['setFullYear'] !== "function") $ERROR('#76: typeof Date.prototype["setFullYear"] === "function". Actual: ' + (typeof Date.prototype["setFullYear"] )); -if (typeof Date.prototype.setUTCFullYear !== "function") $ERROR('#77: typeof Date.prototype.setUTCFullYear === "function". Actual: ' + (typeof Date.prototype.setUTCFullYear )); -if (typeof Date.prototype['setUTCFullYear'] !== "function") $ERROR('#78: typeof Date.prototype["setUTCFullYear"] === "function". Actual: ' + (typeof Date.prototype["setUTCFullYear"] )); -if (typeof Date.prototype.setYear !== "function") $ERROR('#79: typeof Date.prototype.setYear === "function". Actual: ' + (typeof Date.prototype.setYear )); -if (typeof Date.prototype['setYear'] !== "function") $ERROR('#80: typeof Date.prototype["setYear"] === "function". Actual: ' + (typeof Date.prototype["setYear"] )); -if (typeof Date.prototype.toLocaleString !== "function") $ERROR('#81: typeof Date.prototype.toLocaleString === "function". Actual: ' + (typeof Date.prototype.toLocaleString )); -if (typeof Date.prototype['toLocaleString'] !== "function") $ERROR('#82: typeof Date.prototype["toLocaleString"] === "function". Actual: ' + (typeof Date.prototype["toLocaleString"] )); -if (typeof Date.prototype.toUTCString !== "function") $ERROR('#83: typeof Date.prototype.toUTCString === "function". Actual: ' + (typeof Date.prototype.toUTCString )); -if (typeof Date.prototype['toUTCString'] !== "function") $ERROR('#84: typeof Date.prototype["toUTCString"] === "function". Actual: ' + (typeof Date.prototype["toUTCString"] )); -if (typeof Date.prototype.toGMTString !== "function") $ERROR('#85: typeof Date.prototype.toGMTString === "function". Actual: ' + (typeof Date.prototype.toGMTString )); -if (typeof Date.prototype['toGMTString'] !== "function") $ERROR('#86: typeof Date.prototype["toGMTString"] === "function". Actual: ' + (typeof Date.prototype["toGMTString"] )); - - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.js deleted file mode 100644 index 59926b2c3c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A1.1; -* @section: 11.2.2, 7.2, 7.3; -* @assertion: White Space and Line Terminator between "new" and NewExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A1.1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.js", - -assertion: "White Space and Line Terminator between \"new\" and NewExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("new\u0009Number") != 0) { - $ERROR('#1: new\\u0009Number == 0'); -} - -//CHECK#2 -if (eval("new\u000BNumber") != 0) { - $ERROR('#2: new\\u000BNumber == 0'); -} - -//CHECK#3 -if (eval("new\u000CNumber") != 0) { - $ERROR('#3: new\\u000CNumber == 0'); -} - -//CHECK#4 -if (eval("new\u0020Number") != 0) { - $ERROR('#4: new\\u0020Number == 0'); -} - -//CHECK#5 -if (eval("new\u00A0Number") != 0) { - $ERROR('#5: new\\u00A0Number == 0'); -} - -//CHECK#6 -if (eval("new\u000ANumber") != 0) { - $ERROR('#6: new\\u000ANumber == 0'); -} - -//CHECK#7 -if (eval("new\u000DNumber") != 0) { - $ERROR('#7: new\\u000DNumber == 0'); -} - -//CHECK#8 -if (eval("new\u2028Number") != 0) { - $ERROR('#8: new\\u2028Number == 0'); -} - -//CHECK#9 -if (eval("new\u2029Number") != 0) { - $ERROR('#9: new\\u2029Number == 0'); -} - -//CHECK#10 -if (eval("new\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Number") != 0) { - $ERROR('#10: new\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Number == 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.js deleted file mode 100644 index 7ba481dc82..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A1.2; -* @section: 11.2.2, 7.2, 7.3; -* @assertion: White Space and Line Terminator between "new" and MemberExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A1.2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.js", - -assertion: "White Space and Line Terminator between \"new\" and MemberExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("new\u0009Number()") != 0) { - $ERROR('#1: new\\u0009Number == 0'); -} - -//CHECK#2 -if (eval("new\u000BNumber()") != 0) { - $ERROR('#2: new\\u000BNumber == 0'); -} - -//CHECK#3 -if (eval("new\u000CNumber()") != 0) { - $ERROR('#3: new\\u000CNumber == 0'); -} - -//CHECK#4 -if (eval("new\u0020Number()") != 0) { - $ERROR('#4: new\\u0020Number == 0'); -} - -//CHECK#5 -if (eval("new\u00A0Number()") != 0) { - $ERROR('#5: new\\u00A0Number == 0'); -} - -//CHECK#6 -if (eval("new\u000ANumber()") != 0) { - $ERROR('#6: new\\u000ANumber == 0'); -} - -//CHECK#7 -if (eval("new\u000DNumber()") != 0) { - $ERROR('#7: new\\u000DNumber == 0'); -} - -//CHECK#8 -if (eval("new\u2028Number()") != 0) { - $ERROR('#8: new\\u2028Number == 0'); -} - -//CHECK#9 -if (eval("new\u2029Number()") != 0) { - $ERROR('#9: new\\u2029Number == 0'); -} - -//CHECK#10 -if (eval("new\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Number()") != 0) { - $ERROR('#10: new\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Number == 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.js deleted file mode 100644 index 5ea96bc399..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A2; -* @section: 11.2.2; -* @assertion: Operator "new" uses GetValue; -* @description: If GetBase(NewExpression) or GetBase(MemberExpression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.js", - -assertion: "Operator \"new\" uses GetValue", - -description: "If GetBase(NewExpression) or GetBase(MemberExpression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - new x; - $ERROR('#1.1: new x throw ReferenceError. Actual: ' + (new x)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: new x throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - new x(); - $ERROR('#2: new x() throw ReferenceError'); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#2: new x() throw ReferenceError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.js deleted file mode 100644 index d926aab49f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A3_T1; -* @section: 11.2.2; -* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; -* @description: Checking boolean primitive case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A3_T1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.js", - -assertion: "If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError", - -description: "Checking boolean primitive case", - -test: function testcase() { - //CHECK#1 -try { - new true; - $ERROR('#1: new true throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new true throw TypeError'); - } -} - -//CHECK#2 -try { - var x = true; - new x; - $ERROR('#2: var x = true; new x throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: var x = true; new x throw TypeError'); - } -} - -//CHECK#3 -try { - var x = true; - new x(); - $ERROR('#3: var x = true; new x() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: var x = true; new x() throw TypeError'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.js deleted file mode 100644 index 79484f6b06..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A3_T2; -* @section: 11.2.2; -* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; -* @description: Checking "number primitive" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A3_T2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.js", - -assertion: "If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError", - -description: "Checking \"number primitive\" case", - -test: function testcase() { - //CHECK#1 -try { - new 1; - $ERROR('#1: new 1 throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new 1 throw TypeError'); - } -} - -//CHECK#2 -try { - var x = 1; - new x; - $ERROR('#2: var x = 1; new x throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: var x = 1; new x throw TypeError'); - } -} - -//CHECK#3 -try { - var x = 1; - new x(); - $ERROR('#3: var x = 1; new x() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: var x = 1; new x() throw TypeError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.js deleted file mode 100644 index b6d6c1cf21..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A3_T3; -* @section: 11.2.2; -* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; -* @description: Checking "string primitive" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A3_T3", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.js", - -assertion: "If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError", - -description: "Checking \"string primitive\" case", - -test: function testcase() { - //CHECK#1 -try { - new 1; - $ERROR('#1: new "1" throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new "1" throw TypeError'); - } -} - -//CHECK#2 -try { - var x = "1"; - new x; - $ERROR('#2: var x = "1"; new x throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: var x = "1"; new x throw TypeError'); - } -} - -//CHECK#3 -try { - var x = "1"; - new x(); - $ERROR('#3: var x = "1"; new x() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: var x = "1"; new x() throw TypeError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.js deleted file mode 100644 index 0f94feb11c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A3_T4; -* @section: 11.2.2; -* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; -* @description: Checking "undefined" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A3_T4", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.js", - -assertion: "If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError", - -description: "Checking \"undefined\" case", - -test: function testcase() { - //CHECK#1 -try { - new undefined; - $ERROR('#1: new undefined throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new undefined throw TypeError'); - } -} - -//CHECK#2 -try { - var x = undefined; - new x; - $ERROR('#2: var x = undefined; new x throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: var x = undefined; new x throw TypeError'); - } -} - -//CHECK#3 -try { - var x = undefined; - new x(); - $ERROR('#3: var x = undefined; new x() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: var x = undefined; new x() throw TypeError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.js deleted file mode 100644 index 998df74704..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A3_T5; -* @section: 11.2.2; -* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; -* @description: Checking "null primitive" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A3_T5", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.js", - -assertion: "If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError", - -description: "Checking \"null primitive\" case", - -test: function testcase() { - //CHECK#1 -try { - new null; - $ERROR('#1: new null throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new null throw TypeError'); - } -} - -//CHECK#2 -try { - var x = null; - new x; - $ERROR('#2: var x = null; new x throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: var x = null; new x throw TypeError'); - } -} - -//CHECK#3 -try { - var x = null; - new x(); - $ERROR('#3: var x = null; new x() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: var x = null; new x() throw TypeError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.js deleted file mode 100644 index 7e15f71af7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A4_T1; -* @section: 11.2.2; -* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; -* @description: Checking Boolean object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A4_T1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.js", - -assertion: "If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError", - -description: "Checking Boolean object case", - -test: function testcase() { - //CHECK#1 -try { - new new Boolean(true); - $ERROR('#1: new new Boolean(true) throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new new Boolean(true) throw TypeError'); - } -} - -//CHECK#2 -try { - var x = new Boolean(true); - new x; - $ERROR('#2: var x = new Boolean(true); new x throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: var x = new Boolean(true); new x throw TypeError'); - } -} - -//CHECK#3 -try { - var x = new Boolean(true); - new x(); - $ERROR('#3: var x = new Boolean(true); new x() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: var x = new Boolean(true); new x() throw TypeError'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.js deleted file mode 100644 index 92bc40a340..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A4_T2; -* @section: 11.2.2; -* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; -* @description: Checking Number object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A4_T2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.js", - -assertion: "If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError", - -description: "Checking Number object case", - -test: function testcase() { - //CHECK#1 -try { - new new Number(1); - $ERROR('#1: new new Number(1) throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new new Number(1) throw TypeError'); - } -} - -//CHECK#2 -try { - var x = new Number(1); - new x; - $ERROR('#2: var x = new Number(1); new x throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: var x = new Number(1); new x throw TypeError'); - } -} - -//CHECK#3 -try { - var x = new Number(1); - new x(); - $ERROR('#3: var x = new Number(1); new x() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: var x = new Number(1); new x() throw TypeError'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.js deleted file mode 100644 index 241052e73c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A4_T3; -* @section: 11.2.2; -* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; -* @description: Checking String object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A4_T3", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.js", - -assertion: "If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError", - -description: "Checking String object case", - -test: function testcase() { - //CHECK#1 -try { - new new String("1"); - $ERROR('#1: new new String("1") throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new new String("1") throw TypeError'); - } -} - -//CHECK#2 -try { - var x = new String("1"); - new x; - $ERROR('#2: var x = new String("1"); new x throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: var x = new String("1"); new x throw TypeError'); - } -} - -//CHECK#3 -try { - var x = new String("1"); - new x(); - $ERROR('#3: var x = new String("1"); new x() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: var x = new String("1"); new x() throw TypeError'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.js deleted file mode 100644 index 462fc88888..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A4_T4; -* @section: 11.2.2; -* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; -* @description: Checking Global object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A4_T4", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.js", - -assertion: "If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError", - -description: "Checking Global object case", - -test: function testcase() { - //CHECK#1 -try { - new this; - $ERROR('#1: new this throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new this throw TypeError'); - } -} - -//CHECK#2 -try { - new this(); - $ERROR('#2: new this() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: new this() throw TypeError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.js deleted file mode 100644 index 53a7523ca6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.2_A4_T5; -* @section: 11.2.2; -* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; -* @description: Checking Math object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.2_A4_T5", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.js", - -assertion: "If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError", - -description: "Checking Math object case", - -test: function testcase() { - //CHECK#1 -try { - new Math; - $ERROR('#1: new Math throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: new Math throw TypeError'); - } -} - -//CHECK#2 -try { - new new Math(); - $ERROR('#2: new new Math() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: new new Math() throw TypeError'); - } -} - -//CHECK#3 -try { - var x = new Math(); - new x(); - $ERROR('#3: var x = new Math(); new x() throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: var x = new Math(); new x() throw TypeError'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.js deleted file mode 100644 index 2c3260fcd8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A1; -* @section: 11.2.3, 7.2, 7.3; -* @assertion: White Space and Line Terminator between MemberExpression and Arguments are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.js", - -assertion: "White Space and Line Terminator between MemberExpression and Arguments are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("Number\u0009()") !== 0) { - $ERROR('#1: Number\\u0009() === 0'); -} - -//CHECK#2 -if (eval("Number\u000B()") !== 0) { - $ERROR('#2: Number\\u000B() === 0'); -} - -//CHECK#3 -if (eval("Number\u000C()") !== 0) { - $ERROR('#3: Number\\u000C() === 0'); -} - -//CHECK#4 -if (eval("Number\u0020()") !== 0) { - $ERROR('#4: Number\\u0020 === 0'); -} - -//CHECK#5 -if (eval("Number\u00A0()") !== 0) { - $ERROR('#5: Number\\u00A0() === 0'); -} - -//CHECK#6 -if (eval("Number\u000A()") !== 0) { - $ERROR('#6: Number\\u000A() === 0'); -} - -//CHECK#7 -if (eval("Number\u000D()") !== 0) { - $ERROR('#7: Number\\u000D() === 0'); -} - -//CHECK#8 -if (eval("Number\u2028()") !== 0) { - $ERROR('#8: Number\\u2028() === 0'); -} - -//CHECK#9 -if (eval("Number\u2029()") !== 0) { - $ERROR('#9: Number\\u2029() === 0'); -} - -//CHECK#10 -if (eval("Number\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029()") !== 0) { - $ERROR('#10: Number\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029() === 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.js deleted file mode 100644 index cdb0fed082..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A2; -* @section: 11.2.3; -* @assertion: CallExpression : MemberExpression Arguments uses GetValue; -* @description: If GetBase(MemberExpression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.js", - -assertion: "CallExpression : MemberExpression Arguments uses GetValue", - -description: "If GetBase(MemberExpression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x(); - $ERROR('#1.1: x() throw ReferenceError. Actual: ' + (x())); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x() throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - x(1,2,3); - $ERROR('#2.1: x(1,2,3) throw ReferenceError. Actual: ' + (x(1,2,3))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#2.2: x(1,2,3) throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.js deleted file mode 100644 index 6ed956496d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A3_T1; -* @section: 11.2.3; -* @assertion: If MemberExpression is not Object, throw TypeError; -* @description: Checking "boolean primitive" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A3_T1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.js", - -assertion: "If MemberExpression is not Object, throw TypeError", - -description: "Checking \"boolean primitive\" case", - -test: function testcase() { - //CHECK#1 -try { - true(); - $ERROR('#1.1: true() throw TypeError. Actual: ' + (true())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: true() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - var x = true; - x(); - $ERROR('#2.1: var x = true; x() throw TypeError. Actual: ' + (x())) -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var x = true; x() throw TypeError. Actual: ' + (e)) - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.js deleted file mode 100644 index fbc78b27e3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A3_T2; -* @section: 11.2.3; -* @assertion: If MemberExpression is not Object, throw TypeError; -* @description: Checking "number primitive" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A3_T2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.js", - -assertion: "If MemberExpression is not Object, throw TypeError", - -description: "Checking \"number primitive\" case", - -test: function testcase() { - //CHECK#1 -try { - 1(); - $ERROR('#1.1: 1() throw TypeError. Actual: ' + (1())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: 1() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - var x = 1; - x(); - $ERROR('#2.1: var x = 1; x() throw TypeError. Actual: ' + (x())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var x = 1; x() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.js deleted file mode 100644 index 40f998e2cd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A3_T3; -* @section: 11.2.3; -* @assertion: If MemberExpression is not Object, throw TypeError; -* @description: Checking "string primitive" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A3_T3", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.js", - -assertion: "If MemberExpression is not Object, throw TypeError", - -description: "Checking \"string primitive\" case", - -test: function testcase() { - //CHECK#1 -try { - "1"(); - $ERROR('#1.1: "1"() throw TypeError. Actual: ' + ("1"())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: "1"() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - var x = "1"; - x(); - $ERROR('#2.1: var x = "1"; x() throw TypeError. Actual: ' + (x())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var x = "1"; x() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.js deleted file mode 100644 index 49ad918ad0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A3_T4; -* @section: 11.2.3; -* @assertion: If MemberExpression is not Object, throw TypeError; -* @description: Checking "undefined" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A3_T4", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.js", - -assertion: "If MemberExpression is not Object, throw TypeError", - -description: "Checking \"undefined\" case", - -test: function testcase() { - //CHECK#1 -try { - undefined(); - $ERROR('#1.1: undefined() throw TypeError. Actual: ' + (e)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: undefined() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - var x = undefined; - x(); - $ERROR('#2.1: var x = undefined; x() throw TypeError. Actual: ' + (e)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var x = undefined; x() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.js deleted file mode 100644 index 13b4d6c442..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A3_T5; -* @section: 11.2.3; -* @assertion: If MemberExpression is not Object, throw TypeError; -* @description: Checking "null" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A3_T5", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.js", - -assertion: "If MemberExpression is not Object, throw TypeError", - -description: "Checking \"null\" case", - -test: function testcase() { - //CHECK#1 -try { - null(); - $ERROR('#1.1: null() throw TypeError. Actual: ' + (null())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: null() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - var x = null; - x(); - $ERROR('#2.1: var x = null; x() throw TypeError. Actual: ' + (x())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var x = null; x() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js deleted file mode 100644 index 4514c7b254..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A4_T1; -* @section: 11.2.3; -* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; -* @description: Checking Boolean object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A4_T1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js", - -assertion: "If MemberExpression does not implement the internal [[Call]] method, throw TypeError", - -description: "Checking Boolean object case", - -test: function testcase() { - //CHECK#1 -try { - new Boolean(true)(); - $ERROR('#1.1: new Boolean(true)() throw TypeError. Actual: ' + (new Boolean(true)())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Boolean(true)() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - var x = new Boolean(true); - x(); - $ERROR('#2.1: var x = new Boolean(true); x() throw TypeError. Actual: ' + (x())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var x = new Boolean(true); x() throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.js deleted file mode 100644 index 68ce17708c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A4_T2; -* @section: 11.2.3; -* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; -* @description: Checking Number object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A4_T2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.js", - -assertion: "If MemberExpression does not implement the internal [[Call]] method, throw TypeError", - -description: "Checking Number object case", - -test: function testcase() { - //CHECK#1 -try { - new Number(1)(); - $ERROR('#1.1: new Number(1)() throw TypeError. Actual: ' + (new Number(1)())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Number(1)() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - var x = new Number(1); - x(); - $ERROR('#2.1: var x = new Number(1); x() throw TypeError. Actual: ' + (x())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var x = new Number(1); x() throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.js deleted file mode 100644 index a9f35692a3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A4_T3; -* @section: 11.2.3; -* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; -* @description: Checking String object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A4_T3", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.js", - -assertion: "If MemberExpression does not implement the internal [[Call]] method, throw TypeError", - -description: "Checking String object case", - -test: function testcase() { - //CHECK#1 -try { - new String("1")(); - $ERROR('#1.1: new String("1")() throw TypeError. Actual: ' + (new String("1")())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new String("1")() throw TypeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - var x = new String("1"); - x(); - $ERROR('#2.1: var x = new String("1"); x() throw TypeError. Actual: ' + (x())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var x = new String("1"); x() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.js deleted file mode 100644 index 28c221e17a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A4_T4; -* @section: 11.2.3; -* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; -* @description: Checking Global object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A4_T4", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.js", - -assertion: "If MemberExpression does not implement the internal [[Call]] method, throw TypeError", - -description: "Checking Global object case", - -test: function testcase() { - //CHECK#1 -try { - this(); - $ERROR('#1.1: this() throw TypeError. Actual: ' + (this())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: this() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.js deleted file mode 100644 index 68f7f3064a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.3_A4_T5; -* @section: 11.2.3; -* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; -* @description: Checking Math object case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.3_A4_T5", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.js", - -assertion: "If MemberExpression does not implement the internal [[Call]] method, throw TypeError", - -description: "Checking Math object case", - -test: function testcase() { - //CHECK#1 -try { - Math(); - $ERROR('#1.1: Math() throw TypeError. Actual: ' + (Math())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: Math() throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.js deleted file mode 100644 index 892355c6f1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.4_A1.1_T1; -* @section: 11.2.4, 11.2.3, 10.1.8; -* @assertion: Arguments : (); -* @description: Function is declared with no FormalParameterList; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.4_A1.1_T1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.js", - -assertion: "Arguments : ()", - -description: "Function is declared with no FormalParameterList", - -test: function testcase() { - function f_arg() { - return arguments; -} - -//CHECK#1 -if (f_arg().length !== 0) { - $ERROR('#1: function f_arg() {return arguments;} f_arg().length === 0. Actual: ' + (f_arg().length)); -} - -//CHECK#2 -if (f_arg()[0] !== undefined) { - $ERROR('#2: function f_arg() {return arguments;} f_arg()[0] === undefined. Actual: ' + (f_arg()[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.js deleted file mode 100644 index 5d70e95dcb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.4_A1.1_T2; -* @section: 11.2.4, 11.2.3, 10.1.8; -* @assertion: Arguments : (); -* @description: Function is declared with FormalParameterList; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.4_A1.1_T2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.js", - -assertion: "Arguments : ()", - -description: "Function is declared with FormalParameterList", - -test: function testcase() { - function f_arg(x,y) { - return arguments; -} - -//CHECK#1 -if (f_arg().length !== 0) { - $ERROR('#1: function f_arg(x,y) {return arguments;} f_arg().length === 0. Actual: ' + (f_arg().length)); -} - -//CHECK#2 -if (f_arg()[0] !== undefined) { - $ERROR('#2: function f_arg(x,y) {return arguments;} f_arg()[0] === undefined. Actual: ' + (f_arg()[0])); -} - -//CHECK#3 -if (f_arg.length !== 2) { - $ERROR('#3: function f_arg(x,y) {return arguments;} f_arg.length === 2. Actual: ' + (f_arg.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.js deleted file mode 100644 index 0b82bedf1d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.4_A1.2_T1; -* @section: 11.2.4, 11.2.3, 10.1.8; -* @assertion: Arguments : (ArgumentList); -* @description: Function is declared with no FormalParameterList; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.4_A1.2_T1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.js", - -assertion: "Arguments : (ArgumentList)", - -description: "Function is declared with no FormalParameterList", - -test: function testcase() { - f_arg = function() { - return arguments; -} - -//CHECK#1 -if (f_arg(1,2,3).length !== 3) { - $ERROR('#1: f_arg = function()() {return arguments;} f_arg(1,2,3).length === 3. Actual: ' + (f_arg(1,2,3).length)); -} - -//CHECK#2 -if (f_arg(1,2,3)[0] !== 1) { - $ERROR('#1: f_arg = function()() {return arguments;} f_arg(1,2,3)[0] === 1. Actual: ' + (f_arg(1,2,3)[0])); -} - -//CHECK#3 -if (f_arg(1,2,3)[1] !== 2) { - $ERROR('#3: f_arg = function()() {return arguments;} f_arg(1,2,3)[1] === 2. Actual: ' + (f_arg(1,2,3)[1])); -} - -//CHECK#4 -if (f_arg(1,2,3)[2] !== 3) { - $ERROR('#4: f_arg = function()() {return arguments;} f_arg(1,2,3)[2] === 3. Actual: ' + (f_arg(1,2,3)[2])); -} - -//CHECK#5 -if (f_arg(1,2,3)[3] !== undefined) { - $ERROR('#5: f_arg = function()() {return arguments;} f_arg(1,2,3)[3] === undefined. Actual: ' + (f_arg(1,2,3)[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.js deleted file mode 100644 index 96533e1d33..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.4_A1.2_T2; -* @section: 11.2.4, 11.2.3, 10.1.8; -* @assertion: Arguments : (ArgumentList); -* @description: Function is declared with FormalParameterList; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.4_A1.2_T2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.js", - -assertion: "Arguments : (ArgumentList)", - -description: "Function is declared with FormalParameterList", - -test: function testcase() { - f_arg = function(x,y) { - return arguments; -} - -//CHECK#1 -if (f_arg(1,2,3).length !== 3) { - $ERROR('#1: f_arg = function(x,y) {return arguments;} f_arg(1,2,3).length === 3. Actual: ' + (f_arg(1,2,3).length)); -} - -//CHECK#2 -if (f_arg(1)[0] !== 1) { - $ERROR('#1: f_arg = function(x,y) {return arguments;} f_arg(1)[0] === 1. Actual: ' + (f_arg(1)[0])); -} - -//CHECK#3 -if (f_arg(1,2)[1] !== 2) { - $ERROR('#3: f_arg = function(x,y) {return arguments;} f_arg(1,2)[1] === 2. Actual: ' + (f_arg(1,2)[1])); -} - -//CHECK#4 -if (f_arg(1,2,3)[2] !== 3) { - $ERROR('#4: f_arg = function(x,y) {return arguments;} f_arg(1,2,3)[2] === 3. Actual: ' + (f_arg(1,2,3)[2])); -} - -//CHECK#5 -if (f_arg(1,2,3)[3] !== undefined) { - $ERROR('#5: f_arg = function(x,y) {return arguments;} f_arg(1,2,3)[3] === undefined. Actual: ' + (f_arg(1,2,3)[3])); -} - -//CHECK#6 -if (f_arg.length !== 2) { - $ERROR('#6: f_arg = function(x,y) {return arguments;} f_arg.length === 2. Actual: ' + (f_arg.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.js deleted file mode 100644 index e1286b61bb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function f_arg() { -} - -f_arg(1,,2); - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.js deleted file mode 100644 index f63a1a9894..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.4_A1.4_T1; -* @section: 11.2.4, 11.2.3, 10.1.8; -* @assertion: Arguments : (ArgumentList : ArgumentList, AssignmentExpression); -* @description: Return an internal list whose length is one greater than the -* length of ArgumentList and whose items are the items of ArgumentList, in order, -* followed at the end by GetValue(AssignmentExpression), which is the last item of -* the new list; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.4_A1.4_T1", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.js", - -assertion: "Arguments : (ArgumentList : ArgumentList, AssignmentExpression)", - -description: "Return an internal list whose length is one greater than the", - -test: function testcase() { - function f_arg() { -} - -//CHECK#1 -f_arg(x=1,x); - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.js deleted file mode 100644 index 66ccd55096..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.4_A1.4_T2; -* @section: 11.2.4, 11.2.3, 10.1.8; -* @assertion: Arguments : (ArgumentList : ArgumentList, AssignmentExpression); -* @description: Return an internal list whose length is one greater than the -* length of ArgumentList and whose items are the items of ArgumentList, in order, -* followed at the end by GetValue(AssignmentExpression), which is the last item of -* the new list; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.4_A1.4_T2", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.js", - -assertion: "Arguments : (ArgumentList : ArgumentList, AssignmentExpression)", - -description: "Return an internal list whose length is one greater than the", - -test: function testcase() { - function f_arg() { -} - -//CHECK#1 -try { - f_arg(x,x=1); - $ERROR('#1.1: function f_arg() {} f_arg(x,x=1) throw ReferenceError. Actual: ' + (f_arg(x,x=1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: function f_arg() {} f_arg(x,x=1) throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.js deleted file mode 100644 index 9090803bf4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.4_A1.4_T3; -* @section: 11.2.4, 11.2.3, 10.1.8; -* @assertion: Arguments : (ArgumentList : ArgumentList, AssignmentExpression); -* @description: Return an internal list whose length is one greater than the -* length of ArgumentList and whose items are the items of ArgumentList, in order, -* followed at the end by GetValue(AssignmentExpression), which is the last item of -* the new list; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.4_A1.4_T3", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.js", - -assertion: "Arguments : (ArgumentList : ArgumentList, AssignmentExpression)", - -description: "Return an internal list whose length is one greater than the", - -test: function testcase() { - function f_arg(x,y,z) { - return z; -} - -//CHECK#1 -if (f_arg(x=1,y=x,x+y) !== 2) { - $ERROR('#1: function f_arg(x,y,z) {return z;} f_arg(x=1,y=x,x+y) === 2. Actual: ' + (f_arg(x=1,y=x,x+y))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.js deleted file mode 100644 index b28f83c9bd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.2.4_A1.4_T4; -* @section: 11.2.4, 11.2.3, 10.1.8; -* @assertion: Arguments : (ArgumentList : ArgumentList, AssignmentExpression); -* @description: Return an internal list whose length is one greater than the -* length of ArgumentList and whose items are the items of ArgumentList, in order, -* followed at the end by GetValue(AssignmentExpression), which is the last item of -* the new list; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.2.4_A1.4_T4", - -path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.js", - -assertion: "Arguments : (ArgumentList : ArgumentList, AssignmentExpression)", - -description: "Return an internal list whose length is one greater than the", - -test: function testcase() { - var x = function () { throw "x"; }; -var y = function () { throw "y"; }; - -function f_arg() { -} - -//CHECK#1 -try { - f_arg(x(),y()); - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; function f_arg() {} f_arg(x(),y()) throw "x". Actual: ' + (f_arg(x(),y()))); -} -catch (e) { - if (e === "y") { - $ERROR('#1.2: First argument is evaluated first, and then second argument'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; function f_arg() {} f_arg(x(),y()) throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.js deleted file mode 100644 index 1b449ee04c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -eval("var x = 1; x\u000A++"); - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.js deleted file mode 100644 index da6baa3e24..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -eval("var x = 1; x\u000D++"); - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.js deleted file mode 100644 index c93aa100db..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -eval("var x = 1; x\u2028++"); - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.js deleted file mode 100644 index d0de1a35ca..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -eval("var x = 1; x\u2029++"); - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.js deleted file mode 100644 index 6806207c1c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A1.2_T1; -* @section: 11.3.1, 11.6.3, 7.2; -* @assertion: White Space between LeftHandSideExpression and "++" are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A1.2_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.js", - -assertion: "White Space between LeftHandSideExpression and \"++\" are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("var x = 0; x\u0009++; x") !== 1) { - $ERROR('#1: var x = 0; x\\u0009++; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -if (eval("var x = 0; x\u000B++; x") !== 1) { - $ERROR('#2: var x = 0; x\\u000B++; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -if (eval("var x = 0; x\u000C++; x") !== 1) { - $ERROR('#3: var x = 0; x\\u000C++; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -if (eval("var x = 0; x\u0020++; x") !== 1) { - $ERROR('#4: var x = 0; x\\u0020++; x === 1. Actual: ' + (x)); -} - -//CHECK#5 -if (eval("var x = 0; x\u00A0++; x") !== 1) { - $ERROR('#5: var x = 0; x\\u00A0++; x === 1. Actual: ' + (x)); -} - -//CHECK#6 -if (eval("var x = 0; x\u0009\u000B\u000C\u0020\u00A0++; x") !== 1) { - $ERROR('#6: var x = 0; x\\u0009\\u000B\\u000C\\u0020\\u00A0++; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.js deleted file mode 100644 index da9b1d3ca5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A2.1_T1; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ uses GetValue and PutValue; -* @description: Type(x) is Reference and GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A2.1_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.js", - -assertion: "Operator x++ uses GetValue and PutValue", - -description: "Type(x) is Reference and GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -var x = 1; -var y = x++; -if (y !== 1) { - $ERROR('#1: var x = 1; var y = x++; y === 1. Actual: ' + (y)); -} else { - if (x !== 1 + 1) { - $ERROR('#1: var x = 1; var y = x++; x === 1 + 1. Actual: ' + (x)); - } -} - -//CHECK#2 -this.x = 1; -var y = this.x++; -if (y !== 1) { - $ERROR('#2: this.x = 1; var y = this.x++; y === 1. Actual: ' + (y)); -} else { - if (this.x !== 1 + 1) { - $ERROR('#2: this.x = 1; var y = this.x++; this.x === 1 + 1. Actual: ' + (this.x)); - } -} - -//CHECK#3 -var object = new Object(); -object.prop = 1; -var y = object.prop++; -if (y !== 1) { - $ERROR('#3: var object = new Object(); object.prop = 1; var y = object.prop++; y === 1. Actual: ' + (y)); -} else { - if (this.x !== 1 + 1) { - $ERROR('#3: var object = new Object(); object.prop = 1; var y = object.prop++; object.prop === 1 + 1. Actual: ' + (object.prop)); - } -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.js deleted file mode 100644 index e5c376a7e7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A2.1_T2; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ uses GetValue and PutValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A2.1_T2", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.js", - -assertion: "Operator x++ uses GetValue and PutValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x++; - $ERROR('#1.1: x++ throw ReferenceError. Actual: ' + (x++)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x++ throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.js deleted file mode 100644 index a17c9cb774..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - 1++; - $ERROR('#1.1: 1++ throw ReferenceError (or SyntaxError). Actual: ' + (1++)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1++ throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - 1++; - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.js deleted file mode 100644 index 0eb5ce38f8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.js +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.3.1_A2.2_T1; - * @section: 11.3.1, 8.6.2.6; - * @assertion: Operator x++ uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A2.2_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.js", - -assertion: "Operator x++ uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -var y = object++; -if (y !== 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; var y = object++; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 + 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; object++; object === 1 + 1. Actual: ' + (object)); - } -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -var y = object++; -if (y !== 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; var y = object++; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 + 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; object++; object === 1 + 1. Actual: ' + (object)); - } -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -var y = object++; -if (y !== 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; var y = object++; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 + 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; object++; object === 1 + 1. Actual: ' + (object)); - } -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - var y = object++; - if (y !== 1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; var y = object++; y === 1. Actual: ' + (y)); - } else { - if (object !== 1 + 1) { - $ERROR('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object++; object === 1 + 1. Actual: ' + (object)); - } - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; var y = object++; y not throw "error"'); - } else { - $ERROR('#4.4: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; var y = object++; y not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -var y = object++; -if (y !== 1) { - $ERROR('#5.1: var object = {toString: function() {return 1}}; var y = object++; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 + 1) { - $ERROR('#5.2: var object = {toString: function() {return 1}}; object++; object === 1 + 1. Actual: ' + (object)); - } -} - - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -var y = object++; -if (y !== 1) { - $ERROR('#6.1: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; var y = object++; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 + 1) { - $ERROR('#6.2: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; object++; object === 1 + 1. Actual: ' + (object)); - } -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - var y = object++; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object++ throw "error". Actual: ' + (y)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object++ throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - var y = object++; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object++ throw TypeError. Actual: ' + (y)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object++ throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.js deleted file mode 100644 index c7acad06e1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A3_T1; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns x = ToNumber(x) + 1; -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A3_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.js", - -assertion: "Operator x++ returns x = ToNumber(x) + 1", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -var x = false; -x++; -if (x !== 0 + 1) { - $ERROR('#1: var x = false; x++; x === 0 + 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = new Boolean(true); -x++; -if (x !== 1 + 1) { - $ERROR('#2: var x = new Boolean(true); x++; x === 1 + 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.js deleted file mode 100644 index 4e9b9e74d1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A3_T2; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns x = ToNumber(x) + 1; -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A3_T2", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.js", - -assertion: "Operator x++ returns x = ToNumber(x) + 1", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -var x = 0.1; -x++; -if (x !== 0.1 + 1) { - $ERROR('#1: var x = 0.1; x++; x === 0.1 + 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = new Number(-1.1); -x++; -if (x !== -1.1 + 1) { - $ERROR('#2: var x = new Number(-1.1); x++; x === -1.1 + 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.js deleted file mode 100644 index caec4fccd9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A3_T3; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns x = ToNumber(x) + 1; -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A3_T3", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.js", - -assertion: "Operator x++ returns x = ToNumber(x) + 1", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -var x = "1"; -x++; -if (x !== 1 + 1) { - $ERROR('#1: var x = "1"; x++; x === 1 + 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = "x"; -x++; -if (isNaN(x) !== true) { - $ERROR('#2: var x = "x"; x++; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -var x = new Number("-1"); -x++; -if (x !== -1 + 1) { - $ERROR('#3: var x = new String("-1"); x++; x === -1 + 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.js deleted file mode 100644 index b915cd2f86..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A3_T4; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns x = ToNumber(x) + 1; -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A3_T4", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.js", - -assertion: "Operator x++ returns x = ToNumber(x) + 1", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -var x; -x++; -if (isNaN(x) !== true) { - $ERROR('#1: var x; x++; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -var x = null; -x++; -if (x !== 1) { - $ERROR('#2: var x = null; x++; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.js deleted file mode 100644 index bc77046266..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A3_T5; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns x = ToNumber(x) + 1; -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A3_T5", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.js", - -assertion: "Operator x++ returns x = ToNumber(x) + 1", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -var x = {}; -x++; -if (isNaN(x) !== true) { - $ERROR('#1: var x = {}; x++; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -var x = function(){return 1}; -x++; -if (isNaN(x) !== true) { - $ERROR('#2: var x = function(){return 1}; x++; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.js deleted file mode 100644 index 17c3a5aac7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A4_T1; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns ToNumber(x); -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A4_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.js", - -assertion: "Operator x++ returns ToNumber(x)", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -var x = false; -var y = x++; -if (y !== 0) { - $ERROR('#1: var x = false; var y = x++; y === 0. Actual: ' + (y)); -} - -//CHECK#2 -var x = new Boolean(true); -var y = x++; -if (y !== 1) { - $ERROR('#2: var x = new Boolean(true); var y = x++; y === 1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.js deleted file mode 100644 index 19e202e7d6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A4_T2; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns ToNumber(x); -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A4_T2", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.js", - -assertion: "Operator x++ returns ToNumber(x)", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -var x = -0.1; -var y = x++; -if (y !== -0.1) { - $ERROR('#1: var x = -0.1; var y = x++; y === -0.1. Actual: ' + (y)); -} - -//CHECK#2 -var x = new Number(1.1); -var y = x++; -if (y !== 1.1) { - $ERROR('#2: var x = new Number(1.1); var y = x++; y === 1.1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.js deleted file mode 100644 index c42bef3ec6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A4_T3; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns ToNumber(x); -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A4_T3", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.js", - -assertion: "Operator x++ returns ToNumber(x)", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -var x = "1"; -var y = x++; -if (y !== 1) { - $ERROR('#1: var x = "1"; var y = x++; y === 1. Actual: ' + (y)); -} - -//CHECK#2 -var x = "x"; -var y = x++; -if (isNaN(y) !== true) { - $ERROR('#2: var x = "x"; var y = x++; y === Not-a-Number. Actual: ' + (y)); -} - -//CHECK#3 -var x = new String("-1"); -var y = x++; -if (y !== -1) { - $ERROR('#3: var x = new String("-1"); var y = x++; y === -1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js deleted file mode 100644 index c31a5f87bd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A4_T4; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns ToNumber(x); -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A4_T4", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js", - -assertion: "Operator x++ returns ToNumber(x)", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -var x; -var y = x++; -if (isNaN(y) !== true) { - $ERROR('#1: var x; var y = x++; y === Not-a-Number. Actual: ' + (y)); -} - -//CHECK#2 -var x = null; -var y = x++; -if (y !== 0) { - $ERROR('#2: var x = null; var y = x++; y === 0. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.js deleted file mode 100644 index 6560589eaf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.1_A4_T5; -* @section: 11.3.1, 11.6.3; -* @assertion: Operator x++ returns ToNumber(x); -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.1_A4_T5", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.js", - -assertion: "Operator x++ returns ToNumber(x)", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -var x = {}; -var y = x++; -if (isNaN(y) !== true) { - $ERROR('#1: var x = {}; var y = x++; y === Not-a-Number. Actual: ' + (y)); -} - -//CHECK#2 -var x = function(){return 1}; -var y = x++; -if (isNaN(y) !== true) { - $ERROR('#2: var x = function(){return 1}; var y = x++; y === Not-a-Number. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.js deleted file mode 100644 index 9d1786ae8b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -eval("var x = 1; x\u000A--"); - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.js deleted file mode 100644 index c64d92053e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -eval("var x = 1; x\u000D--"); - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.js deleted file mode 100644 index 743534a6f7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -eval("var x = 1; x\u2028--"); - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.js deleted file mode 100644 index 639a54425c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -eval("var x = 1; x\u2029--"); - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.js deleted file mode 100644 index 4d2840758c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A1.2_T1; -* @section: 11.3.2, 11.6.3, 7.2; -* @assertion: White Space between LeftHandSideExpression and "--" are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A1.2_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.js", - -assertion: "White Space between LeftHandSideExpression and \"--\" are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("var x = 0; x\u0009--; x") !== -1) { - $ERROR('#1: var x = 0; x\\u0009--; x === -1. Actual: ' + (x)); -} - -//CHECK#2 -if (eval("var x = 0; x\u000B--; x") !== -1) { - $ERROR('#2: var x = 0; x\\u000B--; x === -1. Actual: ' + (x)); -} - -//CHECK#3 -if (eval("var x = 0; x\u000C--; x") !== -1) { - $ERROR('#3: var x = 0; x\\u000C--; x === -1. Actual: ' + (x)); -} - -//CHECK#4 -if (eval("var x = 0; x\u0020--; x") !== -1) { - $ERROR('#4: var x = 0; x\\u0020--; x === -1. Actual: ' + (x)); -} - -//CHECK#5 -if (eval("var x = 0; x\u00A0--; x") !== -1) { - $ERROR('#5: var x = 0; x\\u00A0--; x === -1. Actual: ' + (x)); -} - -//CHECK#6 -if (eval("var x = 0; x\u0009\u000B\u000C\u0020\u00A0--; x") !== -1) { - $ERROR('#6: var x = 0; x\\u0009\\u000B\\u000C\\u0020\\u00A0--; x === -1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.js deleted file mode 100644 index 1bf30761aa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A2.1_T1; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- uses GetValue and PutValue; -* @description: Type(x) is Reference and GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A2.1_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.js", - -assertion: "Operator x-- uses GetValue and PutValue", - -description: "Type(x) is Reference and GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -var x = 1; -if (x-- !== 1) { - $ERROR('#1: var x = 1; x-- === 1. Actual: ' + (x--)); -} else { - if (x !== 1 - 1) { - $ERROR('#1: var x = 1; x--; x === 1 - 1. Actual: ' + (x)); - } -} - -//CHECK#2 -this.x = 1; -if (this.x-- !== 1) { - $ERROR('#2: this.x = 1; this.x-- === 1. Actual: ' + (this.x--)); -} else { - if (this.x !== 1 - 1) { - $ERROR('#2: this.x = 1; this.x--; this.x === 1 - 1. Actual: ' + (this.x)); - } -} - -//CHECK#3 -var object = new Object(); -object.prop = 1; -if (object.prop-- !== 1) { - $ERROR('#3: var object = new Object(); object.prop = 1; object.prop-- === 1. Actual: ' + (object.prop--)); -} else { - if (this.x !== 1 - 1) { - $ERROR('#3: var object = new Object(); object.prop = 1; object.prop--; object.prop === 1 - 1. Actual: ' + (object.prop)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.js deleted file mode 100644 index 4ee35bea98..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A2.1_T2; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- uses GetValue and PutValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A2.1_T2", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.js", - -assertion: "Operator x-- uses GetValue and PutValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x--; - $ERROR('#1.1: x-- throw ReferenceError. Actual: ' + (x--)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x-- throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.js deleted file mode 100644 index 63f7b63a52..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - 1--; - $ERROR('#1.1: 1-- throw ReferenceError (or SyntaxError). Actual: ' + (1--)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1-- throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - 1--; - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.js deleted file mode 100644 index af983c254f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.js +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.3.2_A2.2_T1; - * @section: 11.3.2, 8.6.2.6; - * @assertion: Operator x-- uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A2.2_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.js", - -assertion: "Operator x-- uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -var y = object--; -if (y !== 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; var y = object--; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 - 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; object--; object === 1 - 1. Actual: ' + (object)); - } -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -var y = object--; -if (y !== 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; var y = object--; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 - 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; object--; object === 1 - 1. Actual: ' + (object)); - } -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -var y = object--; -if (y !== 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; var y = object--; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 - 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; object--; object === 1 - 1. Actual: ' + (object)); - } -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - var y = object--; - if (y !== 1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; var y = object--; y === 1. Actual: ' + (y)); - } else { - if (object !== 1 - 1) { - $ERROR('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object--; object === 1 - 1. Actual: ' + (object)); - } - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; y not throw "error"'); - } else { - $ERROR('#4.4: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; y not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -var y = object--; -if (y !== 1) { - $ERROR('#5.1: var object = {toString: function() {return 1}}; var y = object--; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 - 1) { - $ERROR('#5.2: var object = {toString: function() {return 1}}; object--; object === 1 - 1. Actual: ' + (object)); - } -} - - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -var y = object--; -if (y !== 1) { - $ERROR('#6.1: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; var y = object--; y === 1. Actual: ' + (y)); -} else { - if (object !== 1 - 1) { - $ERROR('#6.2: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; object--; object === 1 - 1. Actual: ' + (object)); - } -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - var y = object--; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object-- throw "error". Actual: ' + (y)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object-- throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - var y = object--; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object-- throw TypeError. Actual: ' + (y)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object-- throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.js deleted file mode 100644 index 25b2e0d25e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A3_T1; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns x = ToNumber(x) - 1; -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A3_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.js", - -assertion: "Operator x-- returns x = ToNumber(x) - 1", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -var x = true; -x--; -if (x !== 0) { - $ERROR('#1: var x = true; x--; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -var x = new Boolean(false); -x--; -if (x !== 0 - 1) { - $ERROR('#2: var x = new Boolean(false); x--; x === 0 - 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.js deleted file mode 100644 index 4c6bb793dc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A3_T2; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns x = ToNumber(x) - 1; -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A3_T2", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.js", - -assertion: "Operator x-- returns x = ToNumber(x) - 1", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -var x = 1.1; -x--; -if (x !== 1.1 - 1) { - $ERROR('#1: var x = 1.1; x--; x === 1.1 - 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = new Number(-0.1); -x--; -if (x !== -0.1 - 1) { - $ERROR('#2: var x = new Number(-0.1); x--; x === -0.1 - 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.js deleted file mode 100644 index 00d1fbb392..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A3_T3; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns x = ToNumber(x) - 1; -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A3_T3", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.js", - -assertion: "Operator x-- returns x = ToNumber(x) - 1", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -var x = "1"; -x--; -if (x !== 1 - 1) { - $ERROR('#1: var x = "1"; x--; x === 1 - 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = "x"; -x--; -if (isNaN(x) !== true) { - $ERROR('#2: var x = "x"; x--; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -var x = new Number("-1"); -x--; -if (x !== -1 - 1) { - $ERROR('#3: var x = new String("-1"); x--; x === -1 - 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.js deleted file mode 100644 index 597838d74a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A3_T4; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns x = ToNumber(x) - 1; -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A3_T4", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.js", - -assertion: "Operator x-- returns x = ToNumber(x) - 1", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -var x; -x--; -if (isNaN(x) !== true) { - $ERROR('#1: var x; x--; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -var x = null; -x--; -if (x !== -1) { - $ERROR('#2: var x = null; x--; x === -1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.js deleted file mode 100644 index 45dd2de734..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A3_T5; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns x = ToNumber(x) - 1; -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A3_T5", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.js", - -assertion: "Operator x-- returns x = ToNumber(x) - 1", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -var x = {}; -x--; -if (isNaN(x) !== true) { - $ERROR('#1: var x = {}; x--; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -var x = function(){return 1}; -x--; -if (isNaN(x) !== true) { - $ERROR('#2: var x = function(){return 1}; x--; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.js deleted file mode 100644 index 88a542507a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A4_T1; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns ToNumber(x); -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A4_T1", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.js", - -assertion: "Operator x-- returns ToNumber(x)", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -var x = true; -var y = x--; -if (y !== 1) { - $ERROR('#1: var x = true; var y = x--; y === 1. Actual: ' + (y)); -} - -//CHECK#2 -var x = new Boolean(false); -var y = x--; -if (y !== 0) { - $ERROR('#2: var x = new Boolean(false); var y = x--; y === 0. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.js deleted file mode 100644 index e79582982b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A4_T2; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns ToNumber(x); -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A4_T2", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.js", - -assertion: "Operator x-- returns ToNumber(x)", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -var x = 1.1; -var y = x--; -if (y !== 1.1) { - $ERROR('#1: var x = 1.1; var y = x--; y === 1.1. Actual: ' + (y)); -} - -//CHECK#2 -var x = new Number(-0.1); -var y = x--; -if (y !== -0.1) { - $ERROR('#2: var x = new Number(-0.1); var y = x--; y === -0.1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.js deleted file mode 100644 index c7d2466b70..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A4_T3; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns ToNumber(x); -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A4_T3", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.js", - -assertion: "Operator x-- returns ToNumber(x)", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -var x = "1"; -var y = x--; -if (y !== 1) { - $ERROR('#1: var x = "1"; var y = x--; y === 1. Actual: ' + (y)); -} - -//CHECK#2 -var x = "x"; -var y = x--; -if (isNaN(y) !== true) { - $ERROR('#2: var x = "x"; var y = x--; y === Not-a-Number. Actual: ' + (y)); -} - -//CHECK#3 -var x = new String("-1"); -var y = x--; -if (y !== -1) { - $ERROR('#3: var x = new String("-1"); var y = x--; y === -1. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.js deleted file mode 100644 index 64b15e3e75..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A4_T4; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns ToNumber(x); -* @description: If Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A4_T4", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.js", - -assertion: "Operator x-- returns ToNumber(x)", - -description: "If Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -var x; -var y = x--; -if (isNaN(y) !== true) { - $ERROR('#1: var x; var y = x--; y === Not-a-Number. Actual: ' + (y)); -} - -//CHECK#2 -var x = null; -var y = x--; -if (y !== 0) { - $ERROR('#2: var x = null; var y = x--; y === 0. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.js deleted file mode 100644 index 528ffac376..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.3.2_A4_T5; -* @section: 11.3.2, 11.6.3; -* @assertion: Operator x-- returns ToNumber(x); -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.3.2_A4_T5", - -path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.js", - -assertion: "Operator x-- returns ToNumber(x)", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -var x = {}; -var y = x--; -if (isNaN(y) !== true) { - $ERROR('#1: var x = {}; var y = x--; y === Not-a-Number. Actual: ' + (y)); -} - -//CHECK#2 -var x = function(){return 1}; -var y = x--; -if (isNaN(y) !== true) { - $ERROR('#2: var x = function(){return 1}; var y = x--; y === Not-a-Number. Actual: ' + (y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.js deleted file mode 100644 index 9e2e54312b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.1_A1; -* @section: 11.4.1; -* @assertion: White Space and Line Terminator between "delete" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.1_A1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.js", - -assertion: "White Space and Line Terminator between \"delete\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("delete\u00090") !== true) { - $ERROR('#1: delete\\u00090 === true'); -} - -//CHECK#2 -if (eval("delete\u000B0") !== true) { - $ERROR('#2: delete\\u000B0 === true'); -} - -//CHECK#3 -if (eval("delete\u000C0") !== true) { - $ERROR('#3: delete\\u000C0 === true'); -} - -//CHECK#4 -if (eval("delete\u00200") !== true) { - $ERROR('#4: delete\\u00200 === true'); -} - -//CHECK#5 -if (eval("delete\u00A00") !== true) { - $ERROR('#5: delete\\u00A00 === true'); -} - -//CHECK#6 -if (eval("delete\u000A0") !== true) { - $ERROR('#6: delete\\u000A0 === true'); -} - -//CHECK#7 -if (eval("delete\u000D0") !== true) { - $ERROR('#7: delete\\u000D0 === true'); -} - -//CHECK#8 -if (eval("delete\u20280") !== true) { - $ERROR('#8: delete\\u20280 === true'); -} - -//CHECK#9 -if (eval("delete\u20290") !== true) { - $ERROR('#9: delete\\u20290 === true'); -} - -//CHECK#10 -if (eval("delete\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20290") !== true) { - $ERROR('#10: delete\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20290 === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.js deleted file mode 100644 index 0264a0017d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.1_A2.1; -* @section: 11.4.1; -* @assertion: If Type(x) is not Reference, return true; -* @description: Checking primitive value and Object value cases; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.1_A2.1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.js", - -assertion: "If Type(x) is not Reference, return true", - -description: "Checking primitive value and Object value cases", - -test: function testcase() { - //CHECK#1 -if (delete 1 !== true) { - $ERROR('#1: delete 1 === true'); -} - -//CHECK#2 -if (delete new Object() !== true) { - $ERROR('#2: delete new Object() === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.js deleted file mode 100644 index e800f2e042..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.1_A2.2_T1; -* @section: 11.4.1; -* @assertion: If GetBase(x) doesn't have a property GetPropertyName(x), return true; -* @description: Checking undeclared variable case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.1_A2.2_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.js", - -assertion: "If GetBase(x) doesn\'t have a property GetPropertyName(x), return true", - -description: "Checking undeclared variable case", - -test: function testcase() { - //CHECK#1 -if (delete x !== true) { - $ERROR('#1: delete x === true'); -} - -//CHECK#2 -if (delete this.x !== true) { - $ERROR('#2: delete this.x === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.js deleted file mode 100644 index f2e9d3b0ff..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.1_A2.2_T2; -* @section: 11.4.1; -* @assertion: If GetBase(x) doesn't have a property GetPropertyName(x), return true; -* @description: Checking Object object and Function object cases; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.1_A2.2_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.js", - -assertion: "If GetBase(x) doesn\'t have a property GetPropertyName(x), return true", - -description: "Checking Object object and Function object cases", - -test: function testcase() { - //CHECK#1 -function MyFunction(){} -var MyObject = new MyFunction(); -if (delete MyObject.prop !== true) { - $ERROR('#1: function MyFunction(){}; var MyObject = new MyFunction(); delete MyObject.prop === true'); -} - -//CHECK#2 -var MyObject = new Object(); -if (delete MyObject.prop !== true) { - $ERROR('#2: var MyObject = new Object(); delete MyObject.prop === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.js deleted file mode 100644 index 9debcfd10e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.1_A3.1; -* @section: 11.4.1; -* @assertion: If the property has the DontDelete attribute, return false; -* @description: Checking declared variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.1_A3.1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.js", - -assertion: "If the property has the DontDelete attribute, return false", - -description: "Checking declared variable", - -test: function testcase() { - //CHECK#1 -var x = 1; -if (delete x !== false) { - $ERROR('#1: var x = 1; delete x === false'); -} - -//CHECK#2 -var y = 1; -if (delete this.y !== false) { - $ERROR('#2: var y = 1; delete this.y === false'); -} - -//CHECK#3 -function MyFunction(){}; -if (delete MyFunction !== false) { - $ERROR('#3: function MyFunction(){}; delete MyFunction === false'); -} - -//CHECK#4 -function MyFunction(){}; -var MyObject = new MyFunction(); -if (delete MyObject !== false) { - $ERROR('#4: function MyFunction(){}; var MyObject = new MyFunction(); delete MyObject === false'); -} - -//CHECK#5 -if (delete MyObject !== false) { - $ERROR('#5: function MyFunction(){}; var MyObject = new MyFunction(); delete MyObject === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.js deleted file mode 100644 index 38acefd78c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.1_A3.2; -* @section: 11.4.1; -* @assertion: If the property doesn't have the DontDelete attribute, return true; -* @description: Checking declared variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.1_A3.2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.js", - -assertion: "If the property doesn\'t have the DontDelete attribute, return true", - -description: "Checking declared variable", - -test: function testcase() { - //CHECK#1 -x = 1; -if (delete x !== true) { - $ERROR('#1: x = 1; delete x === true'); -} - -//CHECK#2 -function MyFunction(){}; -MyFunction.prop = 1; -if (delete MyFunction.prop !== true) { - $ERROR('#2: function MyFunction(){}; MyFunction.prop = 1; delete MyFunction.prop === true'); -} - -//CHECK#3 -function MyFunction(){}; -var MyObject = new MyFunction(); -MyObject.prop = 1; -if (delete MyObject.prop !== true) { - $ERROR('#3: function MyFunction(){}; var MyObject = new MyFunction(); MyFunction.prop = 1; delete MyObject.prop === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.js deleted file mode 100644 index e3ceaca2b5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.1_A3.3; -* @section: 11.4.1; -* @assertion: If the property doesn't have the DontDelete attribute, remove the property; -* @description: Checking declared variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.1_A3.3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.js", - -assertion: "If the property doesn\'t have the DontDelete attribute, remove the property", - -description: "Checking declared variable", - -test: function testcase() { - //CHECK#1 -try { - x = 1; - delete x; - x; - $ERROR('#1: x = 1; delete x; x is not exist'); -} catch (e) { - if (e instanceof ReferenceError !== true) { - $ERROR('#1: x = 1; delete x; x is not exist'); - } -} - - -//CHECK#2 -function MyFunction(){}; -MyFunction.prop = 1; -delete MyFunction.prop; -if (MyFunction.prop !== undefined) { - $ERROR('#2: function MyFunction(){}; MyFunction.prop = 1; delete MyFunction.prop; MyFunction.prop === undefined. Actual: ' + (MyFunction.prop)); - -} - -//CHECK#3 -function MyFunction(){}; -var MyObjectVar = new MyFunction(); -MyObjectVar.prop = 1; -delete MyObjectVar.prop; -if (MyObjectVar.prop !== undefined) { - $ERROR('#3: function MyFunction(){}; var MyObjectVar = new MyFunction(); MyFunction.prop = 1; delete MyObjectVar.prop; MyObjectVar.prop === undefined. Actual: ' + (MyObjectVar.prop)); -} - -//CHECK#4 -if (delete MyObjectVar !== false) { - $ERROR('#4: function MyFunction(){}; var MyObjectVar = new MyFunction(); delete MyObjectVar === false'); -} - -//CHECK#5 -function MyFunction(){}; -MyObjectNotVar = new MyFunction(); -MyObjectNotVar.prop = 1; -delete MyObjectNotVar.prop; -if (MyObjectNotVar.prop !== undefined) { - $ERROR('#5: function MyFunction(){}; MyObjectNotVar = new MyFunction(); MyFunction.prop = 1; delete MyObjectNotVar.prop; MyObjectNotVar.prop === undefined. Actual: ' + (MyObjectNotVar.prop)); -} - -//CHECK#6 -if (delete MyObjectNotVar !== true) { - $ERROR('#6: function MyFunction(){}; var MyObjectNotVar = new MyFunction(); delete MyObjectNotVar === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.js deleted file mode 100644 index e8bd1a4386..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.1_A4; -* @section: 11.4.1; -* @assertion: "Delete" operator removes property, which is reference to the object, not the object; -* @description: Checking two reference by one object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.1_A4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.js", - -assertion: "\"Delete\" operator removes property, which is reference to the object, not the object", - -description: "Checking two reference by one object", - -test: function testcase() { - //CHECK#1 -obj = new Object(); -ref = obj; -delete ref; -if (typeof obj !== "object") { - $ERROR('#1: obj = new Object(); ref = obj; delete ref; typeof obj === "object". Actual: ' + (typeof obj)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.js deleted file mode 100644 index 53af043b7e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.2_A1; -* @section: 11.4.2; -* @assertion: White Space and Line Terminator between "void" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.2_A1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.js", - -assertion: "White Space and Line Terminator between \"void\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("void\u00090") !== undefined) { - $ERROR('#1: void\\u00090 === undefined'); -} - -//CHECK#2 -if (eval("void\u000B0") !== undefined) { - $ERROR('#2: void\\u000B0 === undefined'); -} - -//CHECK#3 -if (eval("void\u000C0") !== undefined) { - $ERROR('#3: void\\u000C0 === undefined'); -} - -//CHECK#4 -if (eval("void\u00200") !== undefined) { - $ERROR('#4: void\\u00200 === undefined'); -} - -//CHECK#5 -if (eval("void\u00A00") !== undefined) { - $ERROR('#5: void\\u00A00 === undefined'); -} - -//CHECK#6 -if (eval("void\u000A0") !== undefined) { - $ERROR('#6: void\\u000A0 === undefined'); -} - -//CHECK#7 -if (eval("void\u000D0") !== undefined) { - $ERROR('#7: void\\u000D0 === undefined'); -} - -//CHECK#8 -if (eval("void\u20280") !== undefined) { - $ERROR('#8: void\\u20280 === undefined'); -} - -//CHECK#9 -if (eval("void\u20290") !== undefined) { - $ERROR('#9: void\\u20290 === undefined'); -} - -//CHECK#10 -if (eval("void\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20290") !== undefined) { - $ERROR('#10: void\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20290 === undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.js deleted file mode 100644 index 9ab94a08ef..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.2_A2_T1; -* @section: 11.4.2; -* @assertion: Operator "void" uses GetValue; -* @description: Either Type(x) is not Reference or GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.2_A2_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.js", - -assertion: "Operator \"void\" uses GetValue", - -description: "Either Type(x) is not Reference or GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -if (void 0 !== undefined) { - $ERROR('#1: void 0 === undefined. Actual: ' + (void 0)); -} - -//CHECK#2 -var x = 0; -if (void x !== undefined) { - $ERROR('#2: var x = 0; void x === undefined. Actual: ' + (void x)); -} - -//CHECK#3 -var x = new Object(); -if (void x !== undefined) { - $ERROR('#3: var x = new Object(); void x === undefined. Actual: ' + (void x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.js deleted file mode 100644 index 75d45a4a14..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -void x; - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.js deleted file mode 100644 index cb02061fd9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.2_A4_T1; -* @section: 11.4.2; -* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.2_A4_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.js", - -assertion: "Operator \"void\" evaluates UnaryExpression and returns undefined", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -var x = false; -if (void x !== undefined) { - $ERROR('#1: var x = false; void x === undefined. Actual: ' + (void x)); -} - -//CHECK#2 -var x = new Boolean(true); -if (void x !== undefined) { - $ERROR('#2: var x = new Boolean(true); void x === undefined. Actual: ' + (void x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.js deleted file mode 100644 index bcd81a9bc1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.2_A4_T2; -* @section: 11.4.2; -* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.2_A4_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.js", - -assertion: "Operator \"void\" evaluates UnaryExpression and returns undefined", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -var x = 0.1; -if (void x !== undefined) { - $ERROR('#1: var x = 0.1; void x === undefined. Actual: ' + (void x)); -} - -//CHECK#2 -var x = new Number(-1.1); -if (void x !== undefined) { - $ERROR('#2: var x = new Number(-1.1); void x === undefined. Actual: ' + (void x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.js deleted file mode 100644 index c19b3fab25..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.2_A4_T3; -* @section: 11.4.2; -* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; -* @description: Type(x) is string primitive of String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.2_A4_T3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.js", - -assertion: "Operator \"void\" evaluates UnaryExpression and returns undefined", - -description: "Type(x) is string primitive of String object", - -test: function testcase() { - //CHECK#1 -var x = "1"; -if (void x !== undefined) { - $ERROR('#1: var x = "1"; void x === undefined. Actual: ' + (void x)); -} - -//CHECK#2 -var x = "x"; -if (isNaN(void x) !== true) { - $ERROR('#2: var x = "x"; void x === undefined. Actual: ' + (void x)); -} - -//CHECK#3 -var x = new String("-1"); -if (void x !== undefined) { - $ERROR('#3: var x = new String("-1"); void x === undefined. Actual: ' + (void x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.js deleted file mode 100644 index e96d15ee37..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.2_A4_T4; -* @section: 11.4.2; -* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.2_A4_T4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.js", - -assertion: "Operator \"void\" evaluates UnaryExpression and returns undefined", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -var x; -if (isNaN(void x) !== true) { - $ERROR('#1: var x; void x === undefined. Actual: ' + (void x)); -} - -//CHECK#2 -var x = null; -if (void x !== undefined) { - $ERROR('#2: var x = null; void x === undefined. Actual: ' + (void x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.js deleted file mode 100644 index 2145ab80f1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.2_A4_T5; -* @section: 11.4.2; -* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.2_A4_T5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.js", - -assertion: "Operator \"void\" evaluates UnaryExpression and returns undefined", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -var x = {}; -if (isNaN(void x) !== true) { - $ERROR('#1: var x = {}; void x === undefined. Actual: ' + (void x)); -} - -//CHECK#2 -var x = function(){return 1}; -if (isNaN(void x) !== true) { - $ERROR('#2: var x = function(){return 1}; void x === undefined. Actual: ' + (void x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.js deleted file mode 100644 index 9044216317..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.2_A4_T6; -* @section: 11.4.2; -* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; -* @description: Checking Simple Assignment operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.2_A4_T6", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.js", - -assertion: "Operator \"void\" evaluates UnaryExpression and returns undefined", - -description: "Checking Simple Assignment operator", - -test: function testcase() { - //CHECK#1 -var x = 0; -if (void (x = 1) !== undefined) { - $ERROR('#1: var x = 0; void (x = 1) === undefined. Actual: ' + (void (x = 1))); -} else { - if (x !== 1) { - $ERROR('#1: var x = 0; void (x = 1); x === 1. Actual: ' + (x)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.js deleted file mode 100644 index b5ab7e130e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A1; -* @section: 11.4.3; -* @assertion: White Space and Line Terminator between "typeof" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.js", - -assertion: "White Space and Line Terminator between \"typeof\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("var x = 0; typeof\u0009x") !== "number") { - $ERROR('#1: var x = 0; typeof\\u0009x; x === "number". Actual: ' + (x)); -} - -//CHECK#2 -if (eval("var x = 0; typeof\u000Bx") !== "number") { - $ERROR('#2: var x = 0; typeof\\u000Bx; x === "number". Actual: ' + (x)); -} - -//CHECK#3 -if (eval("var x = 0; typeof\u000Cx") !== "number") { - $ERROR('#3: var x = 0; typeof\\u000Cx; x === "number". Actual: ' + (x)); -} - -//CHECK#4 -if (eval("var x = 0; typeof\u0020x") !== "number") { - $ERROR('#4: var x = 0; typeof\\u0020x; x === "number". Actual: ' + (x)); -} - -//CHECK#5 -if (eval("var x = 0; typeof\u00A0x") !== "number") { - $ERROR('#5: var x = 0; typeof\\u00A0x; x === "number". Actual: ' + (x)); -} - -//CHECK#6 -if (eval("var x = 0; typeof\u000Ax") !== "number") { - $ERROR('#6: var x = 0; typeof\\u000Ax; x === "number". Actual: ' + (x)); -} - -//CHECK#7 -if (eval("var x = 0; typeof\u000Dx") !== "number") { - $ERROR('#7: var x = 0; typeof\\u000Dx; x === "number". Actual: ' + (x)); -} - -//CHECK#8 -if (eval("var x = 0; typeof\u2028x") !== "number") { - $ERROR('#8: var x = 0; typeof\\u2028x; x === "number". Actual: ' + (x)); -} - -//CHECK#9 -if (eval("var x = 0; typeof\u2029x") !== "number") { - $ERROR('#9: var x = 0; typeof\\u2029x; x === "number". Actual: ' + (x)); -} - -//CHECK#10 -if (eval("var x = 0; typeof\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029x") !== "number") { - $ERROR('#10: var x = 0; typeof\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029x; x === "number". Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.js deleted file mode 100644 index 74d91355f3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A2_T1; -* @section: 11.4.3; -* @assertion: Operator "typeof" uses GetValue; -* @description: Either Type(x) is not Reference or GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A2_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.js", - -assertion: "Operator \"typeof\" uses GetValue", - -description: "Either Type(x) is not Reference or GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -if (typeof 0 !== "number") { - $ERROR('#1: typeof 0 === "number". Actual: ' + (typeof 0)); -} - -//CHECK#2 -var x = 0; -if (typeof x !== "number") { - $ERROR('#2: typeof x === "number". Actual: ' + (typeof x)); -} - -//CHECK#3 -var x = new Object(); -if (typeof x !== "object") { - $ERROR('#3: var x = new Object(); typeof x === "object". Actual: ' + (typeof x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.js deleted file mode 100644 index 1b4c2de146..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A2_T2; -* @section: 11.4.3; -* @assertion: Operator "typeof" uses GetValue; -* @description: If GetBase(x) is null, return "undefined"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A2_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.js", - -assertion: "Operator \"typeof\" uses GetValue", - -description: "If GetBase(x) is null, return \"undefined\"", - -test: function testcase() { - //CHECK#1 -if (typeof x !== "undefined") { - $ERROR('#1: typeof x === "undefined". Actual: ' + (typeof x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.js deleted file mode 100644 index 7da52f0d12..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A3.1; -* @section: 11.4.3; -* @assertion: Result of applying "typeof" operator to undefined is "undefined"; -* @description: typeof undefined === "undefined"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A3.1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.js", - -assertion: "Result of applying \"typeof\" operator to undefined is \"undefined\"", - -description: "typeof undefined === \"undefined\"", - -test: function testcase() { - //CHECK#1 -if (typeof undefined !== "undefined") { - $ERROR('#1: typeof undefined === "undefined". Actual: ' + (typeof undefined)); -} - -//CHECK#2 -if (typeof void 0 !== "undefined") { - $ERROR('#2: typeof void 0 === "undefined". Actual: ' + (typeof void 0)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.js deleted file mode 100644 index dada1073a5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A3.2; -* @section: 11.4.3; -* @assertion: Result of applying "typeof" operator to null is "object"; -* @description: typeof null === "object"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A3.2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.js", - -assertion: "Result of applying \"typeof\" operator to null is \"object\"", - -description: "typeof null === \"object\"", - -test: function testcase() { - //CHECK#1 -if (typeof null !== "object") { - $ERROR('#1: typeof null === "object". Actual: ' + (typeof null)); -} - -//CHECK#2 -if (typeof RegExp("0").exec("1") !== "object") { - $ERROR('#2: typeof RegExp("0").exec("1") === "object". Actual: ' + (typeof RegExp("0").exec("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.js deleted file mode 100644 index ab1bdb4551..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A3.3; -* @section: 11.4.3; -* @assertion: Result of applying "typeof" operator to boolean is "boolean"; -* @description: typeof (boolean value) === "boolean"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A3.3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.js", - -assertion: "Result of applying \"typeof\" operator to boolean is \"boolean\"", - -description: "typeof (boolean value) === \"boolean\"", - -test: function testcase() { - //CHECK#1 -if (typeof true !== "boolean") { - $ERROR('#1: typeof true === "boolean". Actual: ' + (typeof true)); -} - -//CHECK#2 -if (typeof false !== "boolean") { - $ERROR('#2: typeof false === "boolean". Actual: ' + (typeof false)); -} - -//CHECK#3 -if (typeof !-1 !== "boolean") { - $ERROR('#3: typeof !-1 === "boolean". Actual: ' + (typeof !-1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.js deleted file mode 100644 index 6de0ba985d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A3.4; -* @section: 11.4.3; -* @assertion: Result of appying "typeof" operator to number is "number"; -* @description: typeof (number value) === "number"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A3.4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.js", - -assertion: "Result of appying \"typeof\" operator to number is \"number\"", - -description: "typeof (number value) === \"number\"", - -test: function testcase() { - //CHECK#1 -if (typeof 1 !== "number") { - $ERROR('#1: typeof 1 === "number". Actual: ' + (typeof 1)); -} - -//CHECK#2 -if (typeof Number.NaN !== "number") { - $ERROR('#2: typeof NaN === "number". Actual: ' + (typeof NaN)); -} - -//CHECK#3 -if (typeof Number.POSITIVE_INFINITY !== "number") { - $ERROR('#3: typeof Infinity === "number". Actual: ' + (typeof Infinity)); -} - -//CHECK#4 -if (typeof Number.NEGATIVE_INFINITY !== "number") { - $ERROR('#4: typeof -Infinity === "number". Actual: ' + (typeof -Infinity)); -} - -//CHECK#5 -if (typeof Math.PI !== "number") { - $ERROR('#5: typeof Math.PI === "number". Actual: ' + (typeof Math.PI)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.js deleted file mode 100644 index 06c530086b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A3.5; -* @section: 11.4.3; -* @assertion: Result of appying "typeof" operator to string is "string"; -* @description: typeof (string value) === "string"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A3.5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.js", - -assertion: "Result of appying \"typeof\" operator to string is \"string\"", - -description: "typeof (string value) === \"string\"", - -test: function testcase() { - //CHECK#1 -if (typeof "1" !== "string") { - $ERROR('#1: typeof "1" === "string". Actual: ' + (typeof "1")); -} - -//CHECK#2 -if (typeof "NaN" !== "string") { - $ERROR('#2: typeof "NaN" === "string". Actual: ' + (typeof "NaN")); -} - -//CHECK#3 -if (typeof "Infinity" !== "string") { - $ERROR('#3: typeof "Infinity" === "string". Actual: ' + (typeof "Infinity")); -} - -//CHECK#4 -if (typeof "" !== "string") { - $ERROR('#4: typeof "" === "string". Actual: ' + (typeof "")); -} - -//CHECK#5 -if (typeof "true" !== "string") { - $ERROR('#5: typeof "true" === "string". Actual: ' + (typeof "true")); -} - -//CHECK#6 -if (typeof Date() !== "string") { - $ERROR('#6: typeof Date() === "string". Actual: ' + (typeof Date())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.js deleted file mode 100644 index f9eac323fa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A3.6; -* @section: 11.4.3; -* @assertion: Result of applying "typeof" operator to the object that is native and doesn't implement [[Call]] is "object"; -* @description: typeof (object without [[Call]]) === "object"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A3.6", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.js", - -assertion: "Result of applying \"typeof\" operator to the object that is native and doesn\'t implement [[Call]] is \"object\"", - -description: "typeof (object without [[Call]]) === \"object\"", - -test: function testcase() { - //CHECK#1 -if (typeof this !== "object") { - $ERROR('#1: typeof this === "object". Actual: ' + (typeof this)); -} - -//CHECK#2 -if (typeof new Object() !== "object") { - $ERROR('#2: typeof new Object() === "object". Actual: ' + (typeof new Object())); -} - -//CHECK#3 -if (typeof new Array(1,2,3) !== "object") { - $ERROR('#3: typeof new Array(1,2,3) === "object". Actual: ' + (typeof new Array(1,2,3))); -} - -//CHECK#4 -if (typeof Array(1,2,3) !== "object") { - $ERROR('#4: typeof Array(1,2,3) === "object". Actual: ' + (typeof Array(1,2,3))); -} - -//CHECK#5 -if (typeof new String("x") !== "object") { - $ERROR('#5: typeof new String("x") === "object". Actual: ' + (typeof new String("x"))); -} - -//CHECK#6 -if (typeof new Boolean(true) !== "object") { - $ERROR('#6: typeof new Boolean(true) === "object". Actual: ' + (typeof new Boolean(true))); -} - -//CHECK#7 -if (typeof new Number(1) !== "object") { - $ERROR('#7: typeof new Number(1) === "object". Actual: ' + (typeof new Number(1))); -} - -//CHECK#8 -//The Math object does not have a [[Construct]] property; -//it is not possible to use the Math object as a constructor with the new operator. -//The Math object does not have a [[Call]] property; it is not possible to invoke the Math object as a object. -if (typeof Math !== "object") { - $ERROR('#8: typeof Math === "object". Actual: ' + (typeof Math)); -} - -//CHECK#9 -if (typeof new Date() !== "object") { - $ERROR('#9: typeof new Date() === "object". Actual: ' + (typeof new Date())); -} - -//CHECK#10 -if (typeof new Error() !== "object") { - $ERROR('#10: typeof new Error() === "object". Actual: ' + (typeof new Error())); -} - -//CHECK#11 -if (typeof new RegExp() !== "object") { - $ERROR('#11: typeof new RegExp() === "object". Actual: ' + (typeof new RegExp())); -} - -//CHECK#12 -if (typeof RegExp() !== "object") { - $ERROR('#12: typeof RegExp() === "object". Actual: ' + (typeof RegExp())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.js deleted file mode 100644 index 3374b783db..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.3_A3.7; -* @section: 11.4.3; -* @assertion: Result of applying "typeof" operator to the object that is native and implements [[Call]] is "function"; -* @description: typeof (object with [[Call]]) === "function"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.3_A3.7", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.js", - -assertion: "Result of applying \"typeof\" operator to the object that is native and implements [[Call]] is \"function\"", - -description: "typeof (object with [[Call]]) === \"function\"", - -test: function testcase() { - //CHECK#1 -if (typeof new Function() !== "function") { - $ERROR('#1: typeof new Function() === "function". Actual: ' + (typeof new Function())); -} - -//CHECK#2 -if (typeof Function() !== "function") { - $ERROR('#2: typeof Function() === "function". Actual: ' + (typeof Function())); -} - -//CHECK#3 -if (typeof Object !== "function") { - $ERROR('#3: typeof Object === "function". Actual: ' + (typeof Object)); -} - -//CHECK#4 -if (typeof String !== "function") { - $ERROR('#4: typeof String === "function". Actual: ' + (typeof String)); -} - -//CHECK5 -if (typeof Boolean !== "function") { - $ERROR('#5: typeof Boolean === "function". Actual: ' + (typeof Boolean)); -} - -//CHECK#6 -if (typeof Number !== "function") { - $ERROR('#6: typeof Number === "function". Actual: ' + (typeof Number)); -} - -//CHECK#7 -if (typeof Date !== "function") { - $ERROR('#7: typeof Date === "function". Actual: ' + (typeof Date)); -} - -//CHECK#8 -if (typeof Error !== "function") { - $ERROR('#8: typeof Error === "function". Actual: ' + (typeof Error)); -} - -//CHECK#9 -if (typeof RegExp !== "function") { - $ERROR('#9: typeof RegExp === "function". Actual: ' + (typeof RegExp)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.js deleted file mode 100644 index f099dc1a1d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A1; -* @section: 11.4.4, 11.6.3, 7.2, 7.3; -* @assertion: White Space and Line Terminator between "++" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.js", - -assertion: "White Space and Line Terminator between \"++\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("var x = 0; ++\u0009x") !== 1) { - $ERROR('#1: var x = 0; ++\\u0009x; x === 1. Actual: ' + (x)); -} - -//CHECK#2 -if (eval("var x = 0; ++\u000Bx") !== 1) { - $ERROR('#2: var x = 0; ++\\u000Bx; x === 1. Actual: ' + (x)); -} - -//CHECK#3 -if (eval("var x = 0; ++\u000Cx") !== 1) { - $ERROR('#3: var x = 0; ++\\u000Cx; x === 1. Actual: ' + (x)); -} - -//CHECK#4 -if (eval("var x = 0; ++\u0020x") !== 1) { - $ERROR('#4: var x = 0; ++\\u0020x; x === 1. Actual: ' + (x)); -} - -//CHECK#5 -if (eval("var x = 0; ++\u00A0x") !== 1) { - $ERROR('#5: var x = 0; ++\\u00A0x; x === 1. Actual: ' + (x)); -} - -//CHECK#6 -if (eval("var x = 0; ++\u000Ax") !== 1) { - $ERROR('#6: var x = 0; ++\\u000Ax; x === 1. Actual: ' + (x)); -} - -//CHECK#7 -if (eval("var x = 0; ++\u000Dx") !== 1) { - $ERROR('#7: var x = 0; ++\\u000Dx; x === 1. Actual: ' + (x)); -} - -//CHECK#8 -if (eval("var x = 0; ++\u2028x") !== 1) { - $ERROR('#8: var x = 0; ++\\u2028x; x === 1. Actual: ' + (x)); -} - -//CHECK#9 -if (eval("var x = 0; ++\u2029x") !== 1) { - $ERROR('#9: var x = 0; ++\\u2029x; x === 1. Actual: ' + (x)); -} - -//CHECK#10 -if (eval("var x = 0; ++\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029x") !== 1) { - $ERROR('#10: var x = 0; ++\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029x; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.js deleted file mode 100644 index 4b79e975ca..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A2.1_T1; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x uses GetValue and PutValue; -* @description: Type(x) is Reference and GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A2.1_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.js", - -assertion: "Operator ++x uses GetValue and PutValue", - -description: "Type(x) is Reference and GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -var x = 1; -if (++x !== 1 + 1) { - $ERROR('#1: var x = 1; ++x === 1 + 1. Actual: ' + (++x)); -} else { - if (x !== 1 + 1) { - $ERROR('#1: var x = 1; ++x; x === 1 + 1. Actual: ' + (x)); - } -} - -//CHECK#2 -this.x = 1; -if (++this.x !== 1 + 1) { - $ERROR('#2: this.x = 1; ++this.x === 1 + 1. Actual: ' + (++this.x)); -} else { - if (this.x !== 1 + 1) { - $ERROR('#2: this.x = 1; ++this.x; this.x === 1 + 1. Actual: ' + (this.x)); - } -} - -//CHECK#3 -var object = new Object(); -object.prop = 1; -if (++object.prop !== 1 + 1) { - $ERROR('#3: var object = new Object(); object.prop = 1; ++object.prop === 1 + 1. Actual: ' + (++object.prop)); -} else { - if (this.x !== 1 + 1) { - $ERROR('#3: var object = new Object(); object.prop = 1; ++object.prop; object.prop === 1 + 1. Actual: ' + (object.prop)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.js deleted file mode 100644 index b031093400..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A2.1_T2; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x uses GetValue and PutValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A2.1_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.js", - -assertion: "Operator ++x uses GetValue and PutValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - ++x; - $ERROR('#1.1: ++x throw ReferenceError. Actual: ' + (++x)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: ++x throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.js deleted file mode 100644 index 22cfe44d23..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - ++1; - $ERROR('#1.1: ++1 throw ReferenceError (or SyntaxError). Actual: ' + (++1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: ++1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - ++1; - } -} - - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.js deleted file mode 100644 index 83b2d7a0d5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.js +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.4.4_A2.2_T1; - * @section: 11.4.4, 8.6.2.6; - * @assertion: Operator ++x uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A2.2_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.js", - -assertion: "Operator ++x uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if (++object !== 1 + 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; ++object === 1 + 1. Actual: ' + (++object)); -} else { - if (object !== 1 + 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; ++object; object === 1 + 1. Actual: ' + (object)); - } -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (++object !== 1 + 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; ++object === 1 + 1. Actual: ' + (++object)); -} else { - if (object !== 1 + 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; ++object; object === 1 + 1. Actual: ' + (object)); - } -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if (++object !== 1 + 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; ++object === 1 + 1. Actual: ' + (++object)); -} else { - if (object !== 1 + 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; ++object; object === 1 + 1. Actual: ' + (object)); - } -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - if (++object !== 1 + 1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ++object === 1 + 1. Actual: ' + (++object)); - } else { - if (object !== 1 + 1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ++object; object === 1 + 1. Actual: ' + (object)); - } - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ++object not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ++object not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if (++object !== 1 + 1) { - $ERROR('#5.1: var object = {toString: function() {return 1}}; ++object === 1 + 1. Actual: ' + (++object)); -} else { - if (object !== 1 + 1) { - $ERROR('#5.2: var object = {toString: function() {return 1}}; ++object; object === 1 + 1. Actual: ' + (object)); - } -} - - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if (++object !== 1 + 1) { - $ERROR('#6.1: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; ++object === 1 + 1. Actual: ' + (++object)); -} else { - if (object !== 1 + 1) { - $ERROR('#6.2: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; ++object; object === 1 + 1. Actual: ' + (object)); - } -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - ++object; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ++object throw "error". Actual: ' + (++object)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ++object throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - ++object; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ++object throw TypeError. Actual: ' + (++object)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ++object throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.js deleted file mode 100644 index db2b00a8f4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A3_T1; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns x = ToNumber(x) + 1; -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A3_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.js", - -assertion: "Operator ++x returns x = ToNumber(x) + 1", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -var x = false; -++x; -if (x !== 0 + 1) { - $ERROR('#1: var x = false; ++x; x === 0 + 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = new Boolean(true); -++x; -if (x !== 1 + 1) { - $ERROR('#2: var x = new Boolean(true); ++x; x === 1 + 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.js deleted file mode 100644 index abdf6c3e30..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A3_T2; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns x = ToNumber(x) + 1; -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A3_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.js", - -assertion: "Operator ++x returns x = ToNumber(x) + 1", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -var x = 0.1; -++x; -if (x !== 0.1 + 1) { - $ERROR('#1: var x = 0.1; ++x; x === 0.1 + 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = new Number(-1.1); -++x; -if (x !== -1.1 + 1) { - $ERROR('#2: var x = new Number(-1.1); ++x; x === -1.1 + 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.js deleted file mode 100644 index a7ca3aa052..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A3_T3; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns x = ToNumber(x) + 1; -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A3_T3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.js", - -assertion: "Operator ++x returns x = ToNumber(x) + 1", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -var x = "1"; -++x; -if (x !== 1 + 1) { - $ERROR('#1: var x = "1"; ++x; x === 1 + 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = "x"; -++x; -if (isNaN(x) !== true) { - $ERROR('#2: var x = "x"; ++x; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -var x = new Number("-1"); -++x; -if (x !== -1 + 1) { - $ERROR('#3: var x = new String("-1"); ++x; x === -1 + 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.js deleted file mode 100644 index 6af126483a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A3_T4; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns x = ToNumber(x) + 1; -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A3_T4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.js", - -assertion: "Operator ++x returns x = ToNumber(x) + 1", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -var x; -++x; -if (isNaN(x) !== true) { - $ERROR('#1: var x; ++x; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -var x = null; -++x; -if (x !== 1) { - $ERROR('#2: var x = null; ++x; x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.js deleted file mode 100644 index ed56ef146b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A3_T5; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns x = ToNumber(x) + 1; -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A3_T5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.js", - -assertion: "Operator ++x returns x = ToNumber(x) + 1", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -var x = {}; -++x; -if (isNaN(x) !== true) { - $ERROR('#1: var x = {}; ++x; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -var x = function(){return 1}; -++x; -if (isNaN(x) !== true) { - $ERROR('#2: var x = function(){return 1}; ++x; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.js deleted file mode 100644 index 43e81cd53c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A4_T1; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns ToNumber(x) + 1; -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A4_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.js", - -assertion: "Operator ++x returns ToNumber(x) + 1", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -var x = false; -if (++x !== 0 + 1) { - $ERROR('#1: var x = false; ++x === 0 + 1. Actual: ' + (++x)); -} - -//CHECK#2 -var x = new Boolean(true); -if (++x !== 1 + 1) { - $ERROR('#2: var x = new Boolean(true); ++x === 1 + 1. Actual: ' + (++x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.js deleted file mode 100644 index 8e940079fa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A4_T2; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns ToNumber(x) + 1; -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A4_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.js", - -assertion: "Operator ++x returns ToNumber(x) + 1", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -var x = 0.1; -if (++x !== 0.1 + 1) { - $ERROR('#1: var x = 0.1; ++x === 0.1 + 1. Actual: ' + (++x)); -} - -//CHECK#2 -var x = new Number(-1.1); -if (++x !== -1.1 + 1) { - $ERROR('#2: var x = new Number(-1.1); ++x === -1.1 + 1. Actual: ' + (++x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.js deleted file mode 100644 index f6e73f6648..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A4_T3; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns ToNumber(x) + 1; -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A4_T3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.js", - -assertion: "Operator ++x returns ToNumber(x) + 1", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -var x = "1"; -if (++x !== 1 + 1) { - $ERROR('#1: var x = "1"; ++x === 1 + 1. Actual: ' + (++x)); -} - -//CHECK#2 -var x = "x"; -if (isNaN(++x) !== true) { - $ERROR('#2: var x = "x"; ++x === Not-a-Number. Actual: ' + (++x)); -} - -//CHECK#3 -var x = new String("-1"); -if (++x !== -1 + 1) { - $ERROR('#3: var x = new String("-1"); ++x === -1 + 1. Actual: ' + (++x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.js deleted file mode 100644 index 2593968853..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A4_T4; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns ToNumber(x) + 1; -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A4_T4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.js", - -assertion: "Operator ++x returns ToNumber(x) + 1", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -var x; -if (isNaN(++x) !== true) { - $ERROR('#1: var x; ++x === Not-a-Number. Actual: ' + (++x)); -} - -//CHECK#2 -var x = null; -if (++x !== 1) { - $ERROR('#2: var x = null; ++x === 1. Actual: ' + (++x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.js deleted file mode 100644 index 54b4e2fda4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.4_A4_T5; -* @section: 11.4.4, 11.6.3; -* @assertion: Operator ++x returns ToNumber(x) + 1; -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.4_A4_T5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.js", - -assertion: "Operator ++x returns ToNumber(x) + 1", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -var x = {}; -if (isNaN(++x) !== true) { - $ERROR('#1: var x = {}; ++x === Not-a-Number. Actual: ' + (++x)); -} - -//CHECK#2 -var x = function(){return 1}; -if (isNaN(++x) !== true) { - $ERROR('#2: var x = function(){return 1}; ++x === Not-a-Number. Actual: ' + (++x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.js deleted file mode 100644 index e1a2320107..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A1; -* @section: 11.4.5, 11.6.3, 7.2, 7.3; -* @assertion: White Space and Line Terminator between "--" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.js", - -assertion: "White Space and Line Terminator between \"--\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("var x = 1; --\u0009x") !== 0) { - $ERROR('#1: var x = 1; --\\u0009x; x === 0. Actual: ' + (x)); -} - -//CHECK#2 -if (eval("var x = 1; --\u000Bx") !== 0) { - $ERROR('#2: var x = 1; --\\u000Bx; x === 0. Actual: ' + (x)); -} - -//CHECK#3 -if (eval("var x = 1; --\u000Cx") !== 0) { - $ERROR('#3: var x = 1; --\\u000Cx; x === 0. Actual: ' + (x)); -} - -//CHECK#4 -if (eval("var x = 1; --\u0020x") !== 0) { - $ERROR('#4: var x = 1; --\\u0020x; x === 0. Actual: ' + (x)); -} - -//CHECK#5 -if (eval("var x = 1; --\u00A0x") !== 0) { - $ERROR('#5: var x = 1; --\\u00A0x; x === 0. Actual: ' + (x)); -} - -//CHECK#6 -if (eval("var x = 1; --\u000Ax") !== 0) { - $ERROR('#6: var x = 1; --\\u000Ax; x === 0. Actual: ' + (x)); -} - -//CHECK#7 -if (eval("var x = 1; --\u000Dx") !== 0) { - $ERROR('#7: var x = 1; --\\u000Dx; x === 0. Actual: ' + (x)); -} - -//CHECK#8 -if (eval("var x = 1; --\u2028x") !== 0) { - $ERROR('#8: var x = 1; --\\u2028x; x === 0. Actual: ' + (x)); -} - -//CHECK#9 -if (eval("var x = 1; --\u2029x") !== 0) { - $ERROR('#9: var x = 1; --\\u2029x; x === 0. Actual: ' + (x)); -} - -//CHECK#10 -if (eval("var x = 1; --\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029x") !== 0) { - $ERROR('#10: var x = 1; --\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029x; x === 0. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.js deleted file mode 100644 index 7be47d945f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A2.1_T1; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x uses GetValue and PutValue; -* @description: Type(x) is Reference and GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A2.1_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.js", - -assertion: "Operator --x uses GetValue and PutValue", - -description: "Type(x) is Reference and GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -var x = 1; -if (--x !== 1 - 1) { - $ERROR('#1: var x = 1; --x === 1 - 1. Actual: ' + (--x)); -} else { - if (x !== 1 - 1) { - $ERROR('#1: var x = 1; --x; x === 1 - 1. Actual: ' + (x)); - } -} - -//CHECK#2 -this.x = 1; -if (--this.x !== 1 - 1) { - $ERROR('#2: this.x = 1; --this.x === 1 - 1. Actual: ' + (--this.x)); -} else { - if (this.x !== 1 - 1) { - $ERROR('#2: this.x = 1; --this.x; this.x === 1 - 1. Actual: ' + (this.x)); - } -} - -//CHECK#3 -var object = new Object(); -object.prop = 1; -if (--object.prop !== 1 - 1) { - $ERROR('#3: var object = new Object(); object.prop = 1; --object.prop === 1 - 1. Actual: ' + (--object.prop)); -} else { - if (this.x !== 1 - 1) { - $ERROR('#3: var object = new Object(); object.prop = 1; --object.prop; object.prop === 1 - 1. Actual: ' + (object.prop)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.js deleted file mode 100644 index e0fc380813..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A2.1_T2; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x uses GetValue and PutValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A2.1_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.js", - -assertion: "Operator --x uses GetValue and PutValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - --x; - $ERROR('#1.1: --x throw ReferenceError. Actual: ' + (--x)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: --x throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.js deleted file mode 100644 index e6d3755db0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -try { - --1; - $ERROR('#1.1: --1 throw ReferenceError (or SyntaxError). Actual: ' + (--1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: --1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); - } else { - --1; - } -} - - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.js deleted file mode 100644 index a369df5416..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.js +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.4.5_A2.2_T1; - * @section: 11.4.5, 8.6.2.6; - * @assertion: Operator --x uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A2.2_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.js", - -assertion: "Operator --x uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if (--object !== 1 - 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; --object === 1 - 1. Actual: ' + (--object)); -} else { - if (object !== 1 - 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; --object; object === 1 - 1. Actual: ' + (object)); - } -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (--object !== 1 - 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; --object === 1 - 1. Actual: ' + (--object)); -} else { - if (object !== 1 - 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; --object; object === 1 - 1. Actual: ' + (object)); - } -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if (--object !== 1 - 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; --object === 1 - 1. Actual: ' + (--object)); -} else { - if (object !== 1 - 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; --object; object === 1 - 1. Actual: ' + (object)); - } -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - if (--object !== 1 - 1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; --object === 1 - 1. Actual: ' + (--object)); - } else { - if (object !== 1 - 1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; --object; object === 1 - 1. Actual: ' + (object)); - } - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; --object not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; --object not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if (--object !== 1 - 1) { - $ERROR('#5.1: var object = {toString: function() {return 1}}; --object === 1 - 1. Actual: ' + (--object)); -} else { - if (object !== 1 - 1) { - $ERROR('#5.2: var object = {toString: function() {return 1}}; --object; object === 1 - 1. Actual: ' + (object)); - } -} - - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if (--object !== 1 - 1) { - $ERROR('#6.1: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; --object === 1 - 1. Actual: ' + (--object)); -} else { - if (object !== 1 - 1) { - $ERROR('#6.2: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; --object; object === 1 - 1. Actual: ' + (object)); - } -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - --object; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; --object throw "error". Actual: ' + (--object)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; --object throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - --object; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; --object throw TypeError. Actual: ' + (--object)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; --object throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.js deleted file mode 100644 index d3e06f9bb6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A3_T1; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns x = ToNumber(x) - 1; -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A3_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.js", - -assertion: "Operator --x returns x = ToNumber(x) - 1", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -var x = true; ---x; -if (x !== 1 - 1) { - $ERROR('#1: var x = true; --x; x === 1 - 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = new Boolean(false); ---x; -if (x !== 0 - 1) { - $ERROR('#2: var x = new Boolean(false); --x; x === 0 - 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.js deleted file mode 100644 index d10c8864a5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A3_T2; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns x = ToNumber(x) - 1; -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A3_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.js", - -assertion: "Operator --x returns x = ToNumber(x) - 1", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -var x = 0.1; ---x; -if (x !== 0.1 - 1) { - $ERROR('#1: var x = 0.1; --x; x === 0.1 - 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = new Number(-1.1); ---x; -if (x !== -1.1 - 1) { - $ERROR('#2: var x = new Number(-1.1); --x; x === -1.1 - 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.js deleted file mode 100644 index 989bc88c58..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A3_T3; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns x = ToNumber(x) - 1; -* @description: Type(x) is primitive string or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A3_T3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.js", - -assertion: "Operator --x returns x = ToNumber(x) - 1", - -description: "Type(x) is primitive string or String object", - -test: function testcase() { - //CHECK#1 -var x = "1"; ---x; -if (x !== 1 - 1) { - $ERROR('#1: var x = "1"; --x; x === 1 - 1. Actual: ' + (x)); -} - -//CHECK#2 -var x = "x"; ---x; -if (isNaN(x) !== true) { - $ERROR('#2: var x = "x"; --x; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#3 -var x = new Number("-1"); ---x; -if (x !== -1 - 1) { - $ERROR('#3: var x = new String("-1"); --x; x === -1 - 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.js deleted file mode 100644 index 1c6956abc9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A3_T4; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns x = ToNumber(x) - 1; -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A3_T4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.js", - -assertion: "Operator --x returns x = ToNumber(x) - 1", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -var x; ---x; -if (isNaN(x) !== true) { - $ERROR('#1: var x; --x; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -var x = null; ---x; -if (x !== -1) { - $ERROR('#2: var x = null; --x; x === -1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.js deleted file mode 100644 index eb457468ef..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A3_T5; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns x = ToNumber(x) - 1; -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A3_T5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.js", - -assertion: "Operator --x returns x = ToNumber(x) - 1", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -var x = {}; ---x; -if (isNaN(x) !== true) { - $ERROR('#1: var x = {}; --x; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -var x = function(){return 1}; ---x; -if (isNaN(x) !== true) { - $ERROR('#2: var x = function(){return 1}; --x; x === Not-a-Number. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js deleted file mode 100644 index c3a4891935..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A4_T1; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns ToNumber(x) - 1; -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A4_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js", - -assertion: "Operator --x returns ToNumber(x) - 1", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -var x = true; -if (--x !== 1 - 1) { - $ERROR('#1: var x = true; --x === 1 - 1. Actual: ' + (--x)); -} - -//CHECK#2 -var x = new Boolean(false); -if (--x !== 0 - 1) { - $ERROR('#2: var x = new Boolean(false); --x === 0 - 1. Actual: ' + (--x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.js deleted file mode 100644 index 0ca9daeef6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A4_T2; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns ToNumber(x) - 1; -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A4_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.js", - -assertion: "Operator --x returns ToNumber(x) - 1", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -var x = 0.1; -if (--x !== 0.1 - 1) { - $ERROR('#1: var x = 0.1; --x === 0.1 - 1. Actual: ' + (--x)); -} - -//CHECK#2 -var x = new Number(-1.1); -if (--x !== -1.1 - 1) { - $ERROR('#2: var x = new Number(-1.1); --x === -1.1- 1. Actual: ' + (--x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.js deleted file mode 100644 index d90ded8d3b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A4_T3; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns ToNumber(x) - 1; -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A4_T3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.js", - -assertion: "Operator --x returns ToNumber(x) - 1", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -var x = "1"; -if (--x !== 1 - 1) { - $ERROR('#1: var x = "1"; --x === 1 - 1. Actual: ' + (--x)); -} - -//CHECK#2 -var x = "x"; -if (isNaN(--x) !== true) { - $ERROR('#2: var x = "x"; --x === Not-a-Number. Actual: ' + (--x)); -} - -//CHECK#3 -var x = new String("-1"); -if (--x !== -1 - 1) { - $ERROR('#3: var x = new String("-1"); --x === -1 - 1. Actual: ' + (--x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.js deleted file mode 100644 index 6f9faf50b5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A4_T4; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns ToNumber(x) - 1; -* @description: Type(x) is undefined or null; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A4_T4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.js", - -assertion: "Operator --x returns ToNumber(x) - 1", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -var x; -if (isNaN(--x) !== true) { - $ERROR('#1: var x; --x; x === Not-a-Number. Actual: ' + (x)); -} - -//CHECK#2 -var x = null; -if (--x !== -1) { - $ERROR('#2: var x = null; --x === -1. Actual: ' + (--x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.js deleted file mode 100644 index cede088b72..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.5_A4_T5; -* @section: 11.4.5, 11.6.3; -* @assertion: Operator --x returns ToNumber(x) - 1; -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.5_A4_T5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.js", - -assertion: "Operator --x returns ToNumber(x) - 1", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -var x = {}; -if (isNaN(--x) !== true) { - $ERROR('#1: var x = {}; --x === Not-a-Number. Actual: ' + (--x)); -} - -//CHECK#2 -var x = function(){return 1}; -if (isNaN(--x) !== true) { - $ERROR('#2: var x = function(){return 1}; --x === Not-a-Number. Actual: ' + (--x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.js deleted file mode 100644 index 23b9361093..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.6_A1; -* @section: 11.4.6, 7.2, 7.3; -* @assertion: White Space and Line Terminator between "+" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.6_A1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.js", - -assertion: "White Space and Line Terminator between \"+\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("+\u00091") !== 1) { - $ERROR('#1: +\\u00091 === 1'); -} - -//CHECK#2 -if (eval("+\u000B1") !== 1) { - $ERROR('#2: +\\u000B1 === 1'); -} - -//CHECK#3 -if (eval("+\u000C1") !== 1) { - $ERROR('#3: +\\u000C1 === 1'); -} - -//CHECK#4 -if (eval("+\u00201") !== 1) { - $ERROR('#4: +\\u0020 === 1'); -} - -//CHECK#5 -if (eval("+\u00A01") !== 1) { - $ERROR('#5: +\\u00A01 === 1'); -} - -//CHECK#6 -if (eval("+\u000A1") !== 1) { - $ERROR('#6: +\\u000A1 === 1'); -} - -//CHECK#7 -if (eval("+\u000D1") !== 1) { - $ERROR('#7: +\\u000D1 === 1'); -} - -//CHECK#8 -if (eval("+\u20281") !== 1) { - $ERROR('#8: +\\u20281 === 1'); -} - -//CHECK#9 -if (eval("+\u20291") !== 1) { - $ERROR('#9: +\\u20291 === 1'); -} - -//CHECK#10 -if (eval("+\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 1) { - $ERROR('#10: +\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.js deleted file mode 100644 index 4845bc1d7f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.6_A2.1_T1; -* @section: 11.4.6; -* @assertion: Operator +x uses GetValue; -* @description: Either Type(x) is not Reference or GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.6_A2.1_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.js", - -assertion: "Operator +x uses GetValue", - -description: "Either Type(x) is not Reference or GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -if (+1 !== 1) { - $ERROR('#1: +1 === 1. Actual: ' + (+1)); -} - -//CHECK#2 -if (+(+1) !== 1) { - $ERROR('#2: +(+1) === -1. Actual: ' + (+(+1))); -} - -//CHECK#3 -var x = 1; -if (+x !== 1) { - $ERROR('#3: var x = +1; -x === 1. Actual: ' + (-x)); -} - -//CHECK#4 -var x = 1; -if (+(+x) !== 1) { - $ERROR('#4: var x = 1; +(+x) === 1. Actual: ' + (+(+x))); -} - -//CHECK#5 -var object = new Object(); -object.prop = 1; -if (+object.prop !== 1) { - $ERROR('#5: var object = new Object(); object.prop = 1; +object.prop === 1. Actual: ' + (+object.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.js deleted file mode 100644 index 3f2721b226..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.6_A2.1_T2; -* @section: 11.4.6; -* @assertion: Operator +x uses GetValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.6_A2.1_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.js", - -assertion: "Operator +x uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - +x; - $ERROR('#1.1: +x throw ReferenceError. Actual: ' + (+x)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: +x throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.js deleted file mode 100644 index 4f3831aec7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.4.6_A2.2_T1; - * @section: 11.4.6, 8.6.2.6; - * @assertion: Operator +x uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.6_A2.2_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.js", - -assertion: "Operator +x uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if (+object !== 1) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; +object === 1. Actual: ' + (+object)); -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (+object !== 1) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; +object === 1. Actual: ' + (+object)); -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if (+object !== 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; +object === 1. Actual: ' + (+object)); -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - if (+object !== 1) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; +object === 1. Actual: ' + (+object)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; +object not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; +object not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if (+object !== 1) { - $ERROR('#5: var object = {toString: function() {return 1}}; +object === 1. Actual: ' + (+object)); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if (+object !== 1) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; +object === 1. Actual: ' + (+object)); -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - +object; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; +object throw "error". Actual: ' + (+object)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; +object throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - +object; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; +object throw TypeError. Actual: ' + (+object)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; +object throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.js deleted file mode 100644 index 59007947b9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.6_A3_T1; -* @section: 11.4.6; -* @assertion: Operator +x returns ToNumber(x); -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.6_A3_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.js", - -assertion: "Operator +x returns ToNumber(x)", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -if (+false !== 0) { - $ERROR('#1: +false === 0. Actual: ' + (+false)); -} - -//CHECK#2 -if (+new Boolean(true) !== 1) { - $ERROR('#2: +new Boolean(true) === 1. Actual: ' + (+new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.js deleted file mode 100644 index a58639648c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.6_A3_T2; -* @section: 11.4.6; -* @assertion: Operator +x returns ToNumber(x); -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.6_A3_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.js", - -assertion: "Operator +x returns ToNumber(x)", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -if (+0.1 !== 0.1) { - $ERROR('#1: +0.1 === 0.1. Actual: ' + (+0.1)); -} - -//CHECK#2 -if (+new Number(-1.1) !== -1.1) { - $ERROR('#2: +new Number(-1.1) === -1.1. Actual: ' + (+new Number(-1.1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.js deleted file mode 100644 index ec821ab8a7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.6_A3_T3; -* @section: 11.4.6; -* @assertion: Operator +x returns ToNumber(x); -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.6_A3_T3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.js", - -assertion: "Operator +x returns ToNumber(x)", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -if (+"1" !== 1) { - $ERROR('#1: +"1" === 1. Actual: ' + (+"1")); -} - -//CHECK#2 -if (isNaN(+"x") !== true) { - $ERROR('#2: +"x" === Not-a-Number. Actual: ' + (+"x")); -} - -//CHECK#3 -if (+new Number("-1") !== -1) { - $ERROR('#3: +new String("-1") === -1. Actual: ' + (+new String("-1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.js deleted file mode 100644 index 81ccf5df7d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.6_A3_T4; -* @section: 11.4.6; -* @assertion: Operator +x returns ToNumber(x); -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.6_A3_T4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.js", - -assertion: "Operator +x returns ToNumber(x)", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -if (isNaN(+void 0) !== true) { - $ERROR('#1: +void 0 === Not-a-Number. Actual: ' + (+void 0)); -} - -//CHECK#2 -if (+null !== 0) { - $ERROR('#2: +null === 0. Actual: ' + (+null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js deleted file mode 100644 index 422044cf6b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.6_A3_T5; -* @section: 11.4.6; -* @assertion: Operator +x returns ToNumber(x); -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.6_A3_T5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js", - -assertion: "Operator +x returns ToNumber(x)", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -if (isNaN(+{}) !== true) { - $ERROR('#1: +{} === Not-a-Number. Actual: ' + (+{})); -} - -//CHECK#2 -if (isNaN(+function(){return 1}) !== true) { - $ERROR('#2: +function(){return 1} === Not-a-Number. Actual: ' + (+function(){return 1})); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.js deleted file mode 100644 index 7e91373933..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A1; -* @section: 11.4.7, 7.2, 7.3; -* @assertion: White Space and Line Terminator between "-" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.js", - -assertion: "White Space and Line Terminator between \"-\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("-\u00091") !== -1) { - $ERROR('#1: -\\u00091 === -1'); -} - -//CHECK#2 -if (eval("-\u000B1") !== -1) { - $ERROR('#2: -\\u000B1 === -1'); -} - -//CHECK#3 -if (eval("-\u000C1") !== -1) { - $ERROR('#3: -\\u000C1 === -1'); -} - -//CHECK#4 -if (eval("-\u00201") !== -1) { - $ERROR('#4: -\\u0020 === -1'); -} - -//CHECK#5 -if (eval("-\u00A01") !== -1) { - $ERROR('#5: -\\u00A01 === -1'); -} - -//CHECK#6 -if (eval("-\u000A1") !== -1) { - $ERROR('#6: -\\u000A1 === -1'); -} - -//CHECK#7 -if (eval("-\u000D1") !== -1) { - $ERROR('#7: -\\u000D1 === -1'); -} - -//CHECK#8 -if (eval("-\u20281") !== -1) { - $ERROR('#8: -\\u20281 === -1'); -} - -//CHECK#9 -if (eval("-\u20291") !== -1) { - $ERROR('#9: -\\u20291 === -1'); -} - -//CHECK#10 -if (eval("-\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== -1) { - $ERROR('#10: -\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === -1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.js deleted file mode 100644 index 2c3555f508..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A2.1_T1; -* @section: 11.4.7; -* @assertion: Operator -x uses GetValue; -* @description: Either Type(x) is not Reference or GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A2.1_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.js", - -assertion: "Operator -x uses GetValue", - -description: "Either Type(x) is not Reference or GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -if (-1 !== -1) { - $ERROR('#1: -1 === -1. Actual: ' + (-1)); -} - -//CHECK#2 -if (-(-1) !== 1) { - $ERROR('#2: -(-1) === -1. Actual: ' + (-(-1))); -} - -//CHECK#3 -var x = -1; -if (-x !== 1) { - $ERROR('#3: var x = -1; -x === 1. Actual: ' + (-x)); -} - -//CHECK#4 -var x = -1; -if (-(-x) !== -1) { - $ERROR('#4: var x = -1; -(-x) === -1. Actual: ' + (-(-x))); -} - -//CHECK#5 -var object = new Object(); -object.prop = 1; -if (-object.prop !== -1) { - $ERROR('#5: var object = new Object(); object.prop = -1; -object.prop === -1. Actual: ' + (-object.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js deleted file mode 100644 index a05d4ee4d8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A2.1_T2; -* @section: 11.4.7; -* @assertion: Operator -x uses GetValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A2.1_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js", - -assertion: "Operator -x uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - -x; - $ERROR('#1.1: -x throw ReferenceError. Actual: ' + (-x)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: -x throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.js deleted file mode 100644 index 15d9d60dbb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.4.7_A2.2_T1; - * @section: 11.4.7, 8.6.2.6; - * @assertion: Operator -x uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A2.2_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.js", - -assertion: "Operator -x uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return -1}}; -if (-object !== 1) { - $ERROR('#1: var object = {valueOf: function() {return -1}}; -object === 1. Actual: ' + (-object)); -} - -//CHECK#2 -var object = {valueOf: function() {return -1}, toString: function() {return 0}}; -if (-object !== 1) { - $ERROR('#2: var object = {valueOf: function() {return -1}, toString: function() {return 0}}; -object === 1. Actual: ' + (-object)); -} - -//CHECK#3 -var object = {valueOf: function() {return -1}, toString: function() {return {}}}; -if (-object !== 1) { - $ERROR('#3: var object = {valueOf: function() {return -1}, toString: function() {return {}}}; -object === 1. Actual: ' + (-object)); -} - -//CHECK#4 -try { - var object = {valueOf: function() {return -1}, toString: function() {throw "error"}}; - if (-object !== 1) { - $ERROR('#4.1: var object = {valueOf: function() {return -1}, toString: function() {throw "error"}}; -object === 1. Actual: ' + (-object)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {return -1}, toString: function() {throw "error"}}; -object not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {return -1}, toString: function() {throw "error"}}; -object not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return -1}}; -if (-object !== 1) { - $ERROR('#5.1: var object = {toString: function() {return -1}}; -object === 1. Actual: ' + (-object)); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return -1}} -if (-object !== 1) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return -1}}; -object === 1. Actual: ' + (-object)); -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return -1}}; - -object; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return -1}}; -object throw "error". Actual: ' + (-object)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return -1}}; -object throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - -object; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; -object throw TypeError. Actual: ' + (-object)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; -object throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.js deleted file mode 100644 index 8da643c8b2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A3_T1; -* @section: 11.4.7; -* @assertion: Operator -x returns -ToNumber(x); -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A3_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.js", - -assertion: "Operator -x returns -ToNumber(x)", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -if (-false !== 0) { - $ERROR('#1: -false === 0. Actual: ' + (-false)); -} - -//CHECK#2 -if (-new Boolean(true) !== -1) { - $ERROR('#2: -new Boolean(true) === -1. Actual: ' + (-new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.js deleted file mode 100644 index ca761d4710..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A3_T2; -* @section: 11.4.7; -* @assertion: Operator -x returns -ToNumber(x); -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A3_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.js", - -assertion: "Operator -x returns -ToNumber(x)", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -if (-(1) !== -1) { - $ERROR('#1: -(1) === -1. Actual: ' + (-(1))); -} - -//CHECK#2 -if (-new Number(-1) !== 1) { - $ERROR('#2: -new Number(-1) === 1. Actual: ' + (-new Number(-1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.js deleted file mode 100644 index a90bb37893..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A3_T3; -* @section: 11.4.7; -* @assertion: Operator -x returns -ToNumber(x); -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A3_T3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.js", - -assertion: "Operator -x returns -ToNumber(x)", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -if (-"1" !== -1) { - $ERROR('#1: -"1" === -1. Actual: ' + (-"1")); -} - -//CHECK#2 -if (isNaN(-"x") !== true) { - $ERROR('#2: -"x" === Not-a-Number. Actual: ' + (-"x")); -} - -//CHECK#3 -if (-new String("-1") !== 1) { - $ERROR('#3: -new String("-1") === 1. Actual: ' + (-new String("-1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.js deleted file mode 100644 index d3fa4dcd40..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A3_T4; -* @section: 11.4.7; -* @assertion: Operator -x returns -ToNumber(x); -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A3_T4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.js", - -assertion: "Operator -x returns -ToNumber(x)", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -if (isNaN(-void 0) !== true) { - $ERROR('#1: +void 0 === Not-a-Number. Actual: ' + (+void 0)); -} - -//CHECK#2 -if (-null !== 0) { - $ERROR('#2: +null === 0. Actual: ' + (+null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.js deleted file mode 100644 index 9d33dd6080..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A3_T5; -* @section: 11.4.7; -* @assertion: Operator -x returns -ToNumber(x); -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A3_T5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.js", - -assertion: "Operator -x returns -ToNumber(x)", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -if (isNaN(-{}) !== true) { - $ERROR('#1: -{} === Not-a-Number. Actual: ' + (-{})); -} - -//CHECK#2 -if (isNaN(-function(){return 1}) !== true) { - $ERROR('#2: -function(){return 1} === Not-a-Number. Actual: ' + (-function(){return 1})); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.js deleted file mode 100644 index 8ad4e9292b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A4.1; -* @section: 11.4.7; -* @assertion: If x is NaN, operator -x returns NaN; -* @description: Checking NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A4.1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.js", - -assertion: "If x is NaN, operator -x returns NaN", - -description: "Checking NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(-NaN) !== true) { - $ERROR('#1: -NaN === Not-a-Number. Actual: ' + (-NaN)); -} - -//CHECK#2 -var x = NaN; -if (isNaN(-x) != true) { - $ERROR('#2: var x = NaN; -x === Not-a-Number. Actual: ' + (-x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.js deleted file mode 100644 index d264af4f41..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.7_A4.2; -* @section: 11.4.7; -* @assertion: Negating +0 produces -0, negating -0 produces +0; -* @description: Checking Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.7_A4.2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.js", - -assertion: "Negating +0 produces -0, negating -0 produces +0", - -description: "Checking Infinity", - -test: function testcase() { - //CHECK#1 -var x = 0; -x = -x; -if (x !== -0) { - $ERROR('#1.1: var x = 0; x = -x; x === 0. Actual: ' + (x)); -} else { - if (1/x !== Number.NEGATIVE_INFINITY) { - $ERROR('#1.2: var x = 0; x = -x; x === - 0. Actual: +0'); - } -} - -//CHECK#2 -var x = -0; -x = -x; -if (x !== 0) { - $ERROR('#2.1: var x = -0; x = -x; x === 0. Actual: ' + (x)); -} else { - if (1/x !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: var x = -0; x = -x; x === + 0. Actual: -0'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.js deleted file mode 100644 index 093726c025..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.8_A1; -* @section: 11.4.8, 7.2, 7.3; -* @assertion: White Space and Line Terminator between "~" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.8_A1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.js", - -assertion: "White Space and Line Terminator between \"~\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("~\u00090") !== -1) { - $ERROR('#0: ~\\u00090 === -1'); -} - -//CHECK#2 -if (eval("~\u000B0") !== -1) { - $ERROR('#2: ~\\u000B0 === -1'); -} - -//CHECK#3 -if (eval("~\u000C0") !== -1) { - $ERROR('#3: ~\\u000C0 === -1'); -} - -//CHECK#4 -if (eval("~\u00200") !== -1) { - $ERROR('#4: ~\\u0020 === -1'); -} - -//CHECK#5 -if (eval("~\u00A00") !== -1) { - $ERROR('#5: ~\\u00A00 === -1'); -} - -//CHECK#6 -if (eval("~\u000A0") !== -1) { - $ERROR('#6: ~\\u000A0 === -1'); -} - -//CHECK#7 -if (eval("~\u000D0") !== -1) { - $ERROR('#7: ~\\u000D0 === -1'); -} - -//CHECK#8 -if (eval("~\u20280") !== -1) { - $ERROR('#8: ~\\u20280 === -1'); -} - -//CHECK#9 -if (eval("~\u20290") !== -1) { - $ERROR('#9: ~\\u20290 === -1'); -} - -//CHECK#10 -if (eval("~\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20290") !== -1) { - $ERROR('#10: ~\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20290 === -1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.js deleted file mode 100644 index 4f3125e7b6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.8_A2.1_T1; -* @section: 11.4.8; -* @assertion: Operator ~x uses GetValue; -* @description: Either Type(x) is not Reference or GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.8_A2.1_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.js", - -assertion: "Operator ~x uses GetValue", - -description: "Either Type(x) is not Reference or GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -if (~0 !== -1) { - $ERROR('#1: ~0 === -1. Actual: ' + (~0)); -} - -//CHECK#2 -if (~(~0) !== 0) { - $ERROR('#2: ~(~0) === 0. Actual: ' + (~(~0))); -} - -//CHECK#3 -var x = 0; -if (~x !== -1) { - $ERROR('#3: var x = 0; ~x === -1. Actual: ' + (~x)); -} - -//CHECK#4 -var x = 0; -if (~(~x) !== 0) { - $ERROR('#4: var x = 0; ~(~x) === 0. Actual: ' + (~(~x))); -} - -//CHECK#5 -var object = new Object(); -object.prop = 0; -if (~object.prop !== -1) { - $ERROR('#5: var object = new Object(); object.prop = 0; ~object.prop === -1. Actual: ' + (~object.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.js deleted file mode 100644 index 2704b8b674..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.8_A2.1_T2; -* @section: 11.4.8; -* @assertion: Operator ~x uses GetValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.8_A2.1_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.js", - -assertion: "Operator ~x uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - ~x; - $ERROR('#1.1: ~x throw ReferenceError. Actual: ' + (~x)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: ~x throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.js deleted file mode 100644 index ec7dc80fad..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.4.8_A2.2_T1; - * @section: 11.4.8, 8.6.2.6; - * @assertion: Operator ~x uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.8_A2.2_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.js", - -assertion: "Operator ~x uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if (~object !== -2) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; ~object === -2. Actual: ' + (~object)); -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (~object !== -2) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; ~object === -2. Actual: ' + (~object)); -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if (~object !== -2) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; ~object === -2. Actual: ' + (~object)); -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - if (~object !== -2) { - $ERROR('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object === -2. Actual: ' + (~object)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if (~object !== -2) { - $ERROR('#5: var object = {toString: function() {return 1}}; ~object === -2. Actual: ' + (~object)); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if (~object !== -2) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; ~object === -2. Actual: ' + (~object)); -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - ~object; - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ~object throw "error". Actual: ' + (~object)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ~object throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - ~object; - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ~object throw TypeError. Actual: ' + (~object)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ~object throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.js deleted file mode 100644 index 8a24ec78fc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.8_A3_T1; -* @section: 11.4.8; -* @assertion: Operator ~x returns ~ToInt32(x); -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.8_A3_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.js", - -assertion: "Operator ~x returns ~ToInt32(x)", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -if (~false !== -1) { - $ERROR('#1: ~false === -1. Actual: ' + (~false)); -} - -//CHECK#2 -if (~new Boolean(true) !== -2) { - $ERROR('#2: ~new Boolean(true) === -2. Actual: ' + (~new Boolean(true))); -} - -//CHECK#3 -if (~new Boolean(false) !== -1) { - $ERROR('#3: ~new Boolean(false) === -1. Actual: ' + (~new Boolean(false))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.js deleted file mode 100644 index a83e9e7285..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.8_A3_T2; -* @section: 11.4.8; -* @assertion: Operator ~x returns ~ToInt32(x); -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.8_A3_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.js", - -assertion: "Operator ~x returns ~ToInt32(x)", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -if (~0.1 !== -1) { - $ERROR('#1: ~0.1 === -1. Actual: ' + (~0.1)); -} - -//CHECK#2 -if (~new Number(-0.1) !== -1) { - $ERROR('#2: ~new Number(-0.1) === -1. Actual: ' + (~new Number(-0.1))); -} - -//CHECK#3 -if (~NaN !== -1) { - $ERROR('#3: ~NaN === -1. Actual: ' + (~NaN)); -} - -//CHECK#4 -if (~new Number(NaN) !== -1) { - $ERROR('#4: ~new Number(NaN) === -1. Actual: ' + (~new Number(NaN))); -} - -//CHECK#5 -if (~1 !== -2) { - $ERROR('#5: ~1 === -2. Actual: ' + (~1)); -} - -//CHECK#6 -if (~new Number(-2) !== 1) { - $ERROR('#6: ~new Number(-2) === 1. Actual: ' + (~new Number(-2))); -} - -//CHECK#7 -if (~Infinity !== -1) { - $ERROR('#7: ~Infinity === -1. Actual: ' + (~Infinity)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.js deleted file mode 100644 index 8012cf7f98..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.8_A3_T3; -* @section: 11.4.8; -* @assertion: Operator ~x returns ~ToInt32(x); -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.8_A3_T3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.js", - -assertion: "Operator ~x returns ~ToInt32(x)", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -if (~"1" !== -2) { - $ERROR('#1: ~"1" === -2. Actual: ' + (~"1")); -} - -//CHECK#2 -if (~new String("0") !== -1) { - $ERROR('#2: ~new String("0") === -1. Actual: ' + (~new String("0"))); -} - -//CHECK#3 -if (~"x" !== -1) { - $ERROR('#3: ~"x" === -1. Actual: ' + (~"x")); -} - -//CHECK#4 -if (~"" !== -1) { - $ERROR('#4: ~"" === -1. Actual: ' + (~"")); -} - -//CHECK#5 -if (~new String("-2") !== 1) { - $ERROR('#5: ~new String("-2") === 1. Actual: ' + (~new String("-2"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.js deleted file mode 100644 index 94859620dd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.8_A3_T4; -* @section: 11.4.8; -* @assertion: Operator ~x returns ~ToInt32(x); -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.8_A3_T4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.js", - -assertion: "Operator ~x returns ~ToInt32(x)", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -if (~void 0 !== -1) { - $ERROR('#1: ~void 0 === -1. Actual: ' + (~void 0)); -} - -//CHECK#2 -if (~null !== -1) { - $ERROR('#2: ~null === -1. Actual: ' + (~null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.js deleted file mode 100644 index 23cb677c68..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.8_A3_T5; -* @section: 11.4.8; -* @assertion: Operator ~x returns ~ToInt32(x); -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.8_A3_T5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.js", - -assertion: "Operator ~x returns ~ToInt32(x)", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -if (~({}) !== -1) { - $ERROR('#1: ~({}) === -1. Actual: ' + (~({}))); -} - -//CHECK#2 -if (~(function(){return 1}) !== -1) { - $ERROR('#2: ~(function(){return 1}) === -1. Actual: ' + (~(function(){return 1}))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.js deleted file mode 100644 index 35bf792389..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.9_A1; -* @section: 11.4.9, 7.2, 7.3; -* @assertion: White Space and Line Terminator between "!" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.9_A1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.js", - -assertion: "White Space and Line Terminator between \"!\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("!\u0009true") !== false) { - $ERROR('#true: !\\u0009true === false'); -} - -//CHECK#2 -if (eval("!\u000Btrue") !== false) { - $ERROR('#2: !\\u000Btrue === false'); -} - -//CHECK#3 -if (eval("!\u000Ctrue") !== false) { - $ERROR('#3: !\\u000Ctrue === false'); -} - -//CHECK#4 -if (eval("!\u0020true") !== false) { - $ERROR('#4: !\\u0020 === false'); -} - -//CHECK#5 -if (eval("!\u00A0true") !== false) { - $ERROR('#5: !\\u00A0true === false'); -} - -//CHECK#6 -if (eval("!\u000Atrue") !== false) { - $ERROR('#6: !\\u000Atrue === false'); -} - -//CHECK#7 -if (eval("!\u000Dtrue") !== false) { - $ERROR('#7: !\\u000Dtrue === false'); -} - -//CHECK#8 -if (eval("!\u2028true") !== false) { - $ERROR('#8: !\\u2028true === false'); -} - -//CHECK#9 -if (eval("!\u2029true") !== false) { - $ERROR('#9: !\\u2029true === false'); -} - -//CHECK#10 -if (eval("!\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true") !== false) { - $ERROR('#10: !\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.js deleted file mode 100644 index b3ec7cb6ab..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.9_A2.1_T1; -* @section: 11.4.9; -* @assertion: Operator !x uses GetValue; -* @description: Either Type(x) is not Reference or GetBase(x) is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.9_A2.1_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.js", - -assertion: "Operator !x uses GetValue", - -description: "Either Type(x) is not Reference or GetBase(x) is not null", - -test: function testcase() { - //CHECK#1 -if (!true !== false) { - $ERROR('#1: !true === false'); -} - -//CHECK#2 -if (!(!true) !== true) { - $ERROR('#2: !(!true) === true'); -} - -//CHECK#3 -var x = true; -if (!x !== false) { - $ERROR('#3: var x = true; !x === false'); -} - -//CHECK#4 -var x = true; -if (!(!x) !== true) { - $ERROR('#4: var x = true; !(!x) === true'); -} - -//CHECK#5 -var object = new Object(); -object.prop = true; -if (!object.prop !== false) { - $ERROR('#5: var object = new Object(); object.prop = true; !object.prop === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.js deleted file mode 100644 index 05073e623a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.9_A2.1_T2; -* @section: 11.4.9; -* @assertion: Operator !x uses GetValue; -* @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.9_A2.1_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.js", - -assertion: "Operator !x uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - !x; - $ERROR('#1.1: !x throw ReferenceError. Actual: ' + (!x)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: !x throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.js deleted file mode 100644 index 18aa3861a3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.4.9_A2.2_T1; - * @section: 11.4.9, 8.6.2.6; - * @assertion: Operator !x uses [[Default Value]]; - * @description: If Type(value) is Object, return false; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.9_A2.2_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.js", - -assertion: "Operator !x uses [[Default Value]]", - -description: "If Type(value) is Object, return false", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if (!object !== false) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; !object === false. Actual: ' + (!object)); -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (!object !== false) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; !object === false. Actual: ' + (!object)); -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if (!object !== false) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; !object === false. Actual: ' + (!object)); -} - -//CHECK#4 -var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; -if (!object !== false) { - $ERROR('#4: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; !object === false. Actual: ' + (!object)); -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if (!object !== false) { - $ERROR('#5: var object = {toString: function() {return 1}}; !object === false. Actual: ' + (!object)); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if (!object !== false) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; !object === false. Actual: ' + (!object)); -} - -//CHECK#7 -var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; -if (!object !== false) { - $ERROR('#7: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; !object === false. Actual: ' + (!object)); -} - -//CHECK#8 -var object = {valueOf: function() {return {}}, toString: function() {return {}}}; -if (!object !== false) { - $ERROR('#8: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; !object === false. Actual: ' + (!object)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.js deleted file mode 100644 index eb8d9e1a45..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.9_A3_T1; -* @section: 11.4.9; -* @assertion: Operator !x returns !ToBoolean(x); -* @description: Type(x) is boolean primitive or Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.9_A3_T1", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.js", - -assertion: "Operator !x returns !ToBoolean(x)", - -description: "Type(x) is boolean primitive or Boolean object", - -test: function testcase() { - //CHECK#1 -if (!false !== true) { - $ERROR('#1: !false === true'); -} - -//CHECK#2 -if (!new Boolean(true) !== false) { - $ERROR('#2: !new Boolean(true) === false'); -} - -//CHECK#3 -if (!new Boolean(false) !== false) { - $ERROR('#3: !new Boolean(false) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.js deleted file mode 100644 index 0f462e7ad3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.9_A3_T2; -* @section: 11.4.9; -* @assertion: Operator !x returns !ToBoolean(x); -* @description: Type(x) is number primitive or Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.9_A3_T2", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.js", - -assertion: "Operator !x returns !ToBoolean(x)", - -description: "Type(x) is number primitive or Number object", - -test: function testcase() { - //CHECK#1 -if (!0.1 !== false) { - $ERROR('#1: !0.1 === false'); -} - -//CHECK#2 -if (!new Number(-0.1) !== false) { - $ERROR('#2: !new Number(-0.1) === false'); -} - -//CHECK#3 -if (!NaN !== true) { - $ERROR('#3: !NaN === true'); -} - -//CHECK#4 -if (!new Number(NaN) !== false) { - $ERROR('#4: !new Number(NaN) === false'); -} - -//CHECK#5 -if (!0 !== true) { - $ERROR('#5: !0 === true'); -} - -//CHECK#6 -if (!new Number(0) !== false) { - $ERROR('#6: !new Number(0) === false'); -} - -//CHECK#7 -if (!Infinity !== false) { - $ERROR('#7: !Infinity === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js deleted file mode 100644 index d98faf87d4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.9_A3_T3; -* @section: 11.4.9; -* @assertion: Operator !x returns !ToBoolean(x); -* @description: Type(x) is string primitive or String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.9_A3_T3", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js", - -assertion: "Operator !x returns !ToBoolean(x)", - -description: "Type(x) is string primitive or String object", - -test: function testcase() { - //CHECK#1 -if (!"1" !== false) { - $ERROR('#1: !"1" === false'); -} - -//CHECK#2 -if (!new String("0") !== false) { - $ERROR('#2: !new String("0") === false'); -} - -//CHECK#3 -if (!"x" !== false) { - $ERROR('#3: !"x" === false'); -} - -//CHECK#4 -if (!"" !== true) { - $ERROR('#4: !"" === true'); -} - -//CHECK#5 -if (!new String("") !== false) { - $ERROR('#5: !new String("") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.js deleted file mode 100644 index e2888409eb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.9_A3_T4; -* @section: 11.4.9; -* @assertion: Operator !x returns !ToBoolean(x); -* @description: Type(x) is undefined or null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.9_A3_T4", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.js", - -assertion: "Operator !x returns !ToBoolean(x)", - -description: "Type(x) is undefined or null", - -test: function testcase() { - //CHECK#1 -if (!void 0 !== true) { - $ERROR('#1: !void 0 === true'); -} - -//CHECK#2 -if (!null !== true) { - $ERROR('#2: !null === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.js deleted file mode 100644 index f8b9c87936..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.4.9_A3_T5; -* @section: 11.4.9; -* @assertion: Operator !x returns !ToBoolean(x); -* @description: Type(x) is Object object or Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.4.9_A3_T5", - -path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.js", - -assertion: "Operator !x returns !ToBoolean(x)", - -description: "Type(x) is Object object or Function object", - -test: function testcase() { - //CHECK#1 -if ((!{}) !== false) { - $ERROR('#1: !({}) === false'); -} - -//CHECK#2 -if (!(function(){return 1}) !== false) { - $ERROR('#2: !(function(){return 1}) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A1.js deleted file mode 100644 index a7a632e8d3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.5.1_A1; -* @section: 11.5.1, 7.2, 7.3; -* @assertion: White Space and Line Terminator between MultiplicativeExpression and "*" or between "*" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A1.js", - -assertion: "White Space and Line Terminator between MultiplicativeExpression and \"*\" or between \"*\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("1\u0009*\u00091") !== 1) { - $ERROR('#1: 1\\u0009*\\u00091 === 1'); -} - -//CHECK#2 -if (eval("1\u000B*\u000B1") !== 1) { - $ERROR('#2: 1\\u000B*\\u000B1 === 1'); -} - -//CHECK#3 -if (eval("1\u000C*\u000C1") !== 1) { - $ERROR('#3: 1\\u000C*\\u000C1 === 1'); -} - -//CHECK#4 -if (eval("1\u0020*\u00201") !== 1) { - $ERROR('#4: 1\\u0020*\\u00201 === 1'); -} - -//CHECK#5 -if (eval("1\u00A0*\u00A01") !== 1) { - $ERROR('#5: 1\\u00A0*\\u00A01 === 1'); -} - -//CHECK#6 -if (eval("1\u000A*\u000A1") !== 1) { - $ERROR('#6: 1\\u000A*\\u000A1 === 1'); -} - -//CHECK#7 -if (eval("1\u000D*\u000D1") !== 1) { - $ERROR('#7: 1\\u000D*\\u000D1 === 1'); -} - -//CHECK#8 -if (eval("1\u2028*\u20281") !== 1) { - $ERROR('#8: 1\\u2028*\\u20281 === 1'); -} - -//CHECK#9 -if (eval("1\u2029*\u20291") !== 1) { - $ERROR('#9: 1\\u2029*\\u20291 === 1'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029*\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 1) { - $ERROR('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029*\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T1.js deleted file mode 100644 index f1cb165ddb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A2.1_T1; - * @section: 11.5.1; - * @assertion: Operator x * y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A2.1_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T1.js", - -assertion: "Operator x * y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (1 * 1 !== 1) { - $ERROR('#1: 1 * 1 === 1. Actual: ' + (1 * 1)); -} - -//CHECK#2 -var x = 1; -if (x * 1 !== 1) { - $ERROR('#2: var x = 1; x * 1 === 1. Actual: ' + (x * 1)); -} - -//CHECK#3 -var y = 1; -if (1 * y !== 1) { - $ERROR('#3: var y = 1; 1 * y === 1. Actual: ' + (1 * y)); -} - -//CHECK#4 -var x = 1; -var y = 1; -if (x * y !== 1) { - $ERROR('#4: var x = 1; var y = 1; x * y === 1. Actual: ' + (x * y)); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if (objectx.prop * objecty.prop !== 1) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop * objecty.prop === 1. Actual: ' + (objectx.prop * objecty.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T2.js deleted file mode 100644 index dde11f5c94..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A2.1_T2; - * @section: 11.5.1; - * @assertion: Operator x * y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A2.1_T2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T2.js", - -assertion: "Operator x * y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x * 1; - $ERROR('#1.1: x * 1 throw ReferenceError. Actual: ' + (x * 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x * 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T3.js deleted file mode 100644 index 475eba223e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A2.1_T3; - * @section: 11.5.1; - * @assertion: Operator x * y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A2.1_T3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.1_T3.js", - -assertion: "Operator x * y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 * y; - $ERROR('#1.1: 1 * y throw ReferenceError. Actual: ' + (1 * y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 * y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.2_T1.js deleted file mode 100644 index def3d1cb42..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A2.2_T1; - * @section: 11.5.1, 8.6.2.6; - * @assertion: Operator x * y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A2.2_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.2_T1.js", - -assertion: "Operator x * y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 1}} * 1 !== 1) { - $ERROR('#1: {valueOf: function() {return 1}} * 1 === 1. Actual: ' + ({valueOf: function() {return 1}} * 1)); -} - -//CHECK#2 -if ({valueOf: function() {return 1}, toString: function() {return 0}} * 1 !== 1) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 0}} * 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} * 1)); -} - -//CHECK#3 -if ({valueOf: function() {return 1}, toString: function() {return {}}} * 1 !== 1) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} * 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} * 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 1}, toString: function() {throw "error"}} * 1 !== 1) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} * 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} * 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} * 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} * 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 * {toString: function() {return 1}} !== 1) { - $ERROR('#5: 1 * {toString: function() {return 1}} === 1. Actual: ' + (1 * {toString: function() {return 1}})); -} - -//CHECK#6 -if (1 * {valueOf: function() {return {}}, toString: function() {return 1}} !== 1) { - $ERROR('#6: 1 * {valueOf: function() {return {}}, toString: function() {return 1}} === 1. Actual: ' + (1 * {valueOf: function() {return {}}, toString: function() {return 1}})); -} - -//CHECK#7 -try { - 1 * {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: 1 * {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 * {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 * {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 * {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 * {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 * {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 * {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.3_T1.js deleted file mode 100644 index 1823f99e77..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A2.3_T1; - * @section: 11.5.1; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A2.3_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x * y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x * y throw "x". Actual: ' + (x * y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x * y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T1.js deleted file mode 100644 index c309d1cae3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A2.4_T1; - * @section: 11.5.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A2.4_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) * x !== 1) { - $ERROR('#1: var x = 0; (x = 1) * x === 1. Actual: ' + ((x = 1) * x)); -} - -//CHECK#2 -var x = 0; -if (x * (x = 1) !== 0) { - $ERROR('#2: var x = 0; x * (x = 1) === 0. Actual: ' + (x * (x = 1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T2.js deleted file mode 100644 index 22fafc206c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A2.4_T2; - * @section: 11.5.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw" -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A2.4_T2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() * y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() * y() throw "x". Actual: ' + (x() * y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() * y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T3.js deleted file mode 100644 index 6032558984..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A2.4_T3; - * @section: 11.5.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A2.4_T3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x * (x = 1); - $ERROR('#1.1: x * (x = 1) throw ReferenceError. Actual: ' + (x * (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x * (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) * y !== 1) { - $ERROR('#2: (y = 1) * y === 1. Actual: ' + ((y = 1) * y)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.1.js deleted file mode 100644 index 222dc9eec8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T1.1; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T1.1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.1.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true * true !== 1) { - $ERROR('#1: true * true === 1. Actual: ' + (true * true)); -} - -//CHECK#2 -if (new Boolean(true) * true !== 1) { - $ERROR('#2: new Boolean(true) * true === 1. Actual: ' + (new Boolean(true) * true)); -} - -//CHECK#3 -if (true * new Boolean(true) !== 1) { - $ERROR('#3: true * new Boolean(true) === 1. Actual: ' + (true * new Boolean(true))); -} - -//CHECK#4 -if (new Boolean(true) * new Boolean(true) !== 1) { - $ERROR('#4: new Boolean(true) * new Boolean(true) === 1. Actual: ' + (new Boolean(true) * new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.2.js deleted file mode 100644 index 93692d3146..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T1.2; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T1.2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.2.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 * 1 !== 1) { - $ERROR('#1: 1 * 1 === 1. Actual: ' + (1 * 1)); -} - -//CHECK#2 -if (new Number(1) * 1 !== 1) { - $ERROR('#2: new Number(1) * 1 === 1. Actual: ' + (new Number(1) * 1)); -} - -//CHECK#3 -if (1 * new Number(1) !== 1) { - $ERROR('#3: 1 * new Number(1) === 1. Actual: ' + (1 * new Number(1))); -} - -//CHECK#4 -if (new Number(1) * new Number(1) !== 1) { - $ERROR('#4: new Number(1) * new Number(1) === 1. Actual: ' + (new Number(1) * new Number(1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.3.js deleted file mode 100644 index 090c8a6770..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T1.3; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T1.3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.3.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" * "1" !== 1) { - $ERROR('#1: "1" * "1" === 1. Actual: ' + ("1" * "1")); -} - -//CHECK#2 -if (new String("1") * "1" !== 1) { - $ERROR('#2: new String("1") * "1" === 1. Actual: ' + (new String("1") * "1")); -} - -//CHECK#3 -if ("1" * new String("1") !== 1) { - $ERROR('#3: "1" * new String("1") === 1. Actual: ' + ("1" * new String("1"))); -} - -//CHECK#4 -if (new String("1") * new String("1") !== 1) { - $ERROR('#4: new String("1") * new String("1") === 1. Actual: ' + (new String("1") * new String("1"))); -} - -//CHECK#5 -if (isNaN("x" * "1") !== true) { - $ERROR('#5: "x" * "1" === Not-a-Number. Actual: ' + ("x" * "1")); -} - -//CHECK#6 -if (isNaN("1" * "x") !== true) { - $ERROR('#6: "1" * "x" === Not-a-Number. Actual: ' + ("1" * "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.4.js deleted file mode 100644 index 8a6775bc53..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T1.4; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T1.4", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.4.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(null * undefined) !== true) { - $ERROR('#1: null * undefined === Not-a-Number. Actual: ' + (null * undefined)); -} - -//CHECK#2 -if (isNaN(undefined * null) !== true) { - $ERROR('#2: undefined * null === Not-a-Number. Actual: ' + (undefined * null)); -} - -//CHECK#3 -if (isNaN(undefined * undefined) !== true) { - $ERROR('#3: undefined * undefined === Not-a-Number. Actual: ' + (undefined * undefined)); -} - -//CHECK#4 -if (null * null !== 0) { - $ERROR('#4: null * null === 0. Actual: ' + (null * null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.5.js deleted file mode 100644 index 6c1df116f7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T1.5; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) and Type(y) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T1.5", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T1.5.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) and Type(y) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (isNaN({} * function(){return 1}) !== true) { - $ERROR('#1: {} * function(){return 1} === Not-a-Number. Actual: ' + ({} * function(){return 1})); -} - -//CHECK#2 -if (isNaN(function(){return 1} * {}) !== true) { - $ERROR('#2: function(){return 1} * {} === Not-a-Number. Actual: ' + (function(){return 1} * {})); -} - -//CHECK#3 -if (isNaN(function(){return 1} * function(){return 1}) !== true) { - $ERROR('#3: function(){return 1} * function(){return 1} === Not-a-Number. Actual: ' + (function(){return 1} * function(){return 1})); -} - -//CHECK#4 -if (isNaN({} * {}) !== true) { - $ERROR('#4: {} * {} === Not-a-Number. Actual: ' + ({} * {})); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.1.js deleted file mode 100644 index c64a3bf092..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T2.1; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Number (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T2.1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.1.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Number (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true * 1 !== 1) { - $ERROR('#1: true * 1 === 1. Actual: ' + (true * 1)); -} - -//CHECK#2 -if (1 * true !== 1) { - $ERROR('#2: 1 * true === 1. Actual: ' + (1 * true)); -} - -//CHECK#3 -if (new Boolean(true) * 1 !== 1) { - $ERROR('#3: new Boolean(true) * 1 === 1. Actual: ' + (new Boolean(true) * 1)); -} - -//CHECK#4 -if (1 * new Boolean(true) !== 1) { - $ERROR('#4: 1 * new Boolean(true) === 1. Actual: ' + (1 * new Boolean(true))); -} - -//CHECK#5 -if (true * new Number(1) !== 1) { - $ERROR('#5: true * new Number(1) === 1. Actual: ' + (true * new Number(1))); -} - -//CHECK#6 -if (new Number(1) * true !== 1) { - $ERROR('#6: new Number(1) * true === 1. Actual: ' + (new Number(1) * true)); -} - -//CHECK#7 -if (new Boolean(true) * new Number(1) !== 1) { - $ERROR('#7: new Boolean(true) * new Number(1) === 1. Actual: ' + (new Boolean(true) * new Number(1))); -} - -//CHECK#8 -if (new Number(1) * new Boolean(true) !== 1) { - $ERROR('#8: new Number(1) * new Boolean(true) === 1. Actual: ' + (new Number(1) * new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.2.js deleted file mode 100644 index f7a439de93..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T2.2; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T2.2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.2.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" * 1 !== 1) { - $ERROR('#1: "1" * 1 === 1. Actual: ' + ("1" * 1)); -} - -//CHECK#2 -if (1 * "1" !== 1) { - $ERROR('#2: 1 * "1" === 1. Actual: ' + (1 * "1")); -} - -//CHECK#3 -if (new String("1") * 1 !== 1) { - $ERROR('#3: new String("1") * 1 === 1. Actual: ' + (new String("1") * 1)); -} - -//CHECK#4 -if (1 * new String("1") !== 1) { - $ERROR('#4: 1 * new String("1") === 1. Actual: ' + (1 * new String("1"))); -} - -//CHECK#5 -if ("1" * new Number(1) !== 1) { - $ERROR('#5: "1" * new Number(1) === 1. Actual: ' + ("1" * new Number(1))); -} - -//CHECK#6 -if (new Number(1) * "1" !== 1) { - $ERROR('#6: new Number(1) * "1" === 1. Actual: ' + (new Number(1) * "1")); -} - -//CHECK#7 -if (new String("1") * new Number(1) !== 1) { - $ERROR('#7: new String("1") * new Number(1) === 1. Actual: ' + (new String("1") * new Number(1))); -} - -//CHECK#8 -if (new Number(1) * new String("1") !== 1) { - $ERROR('#8: new Number(1) * new String("1") === 1. Actual: ' + (new Number(1) * new String("1"))); -} - -//CHECK#9 -if (isNaN("x" * 1) !== true) { - $ERROR('#9: "x" * 1 === Not-a-Number. Actual: ' + ("x" * 1)); -} - -//CHECK#10 -if (isNaN(1 * "x") !== true) { - $ERROR('#10: 1 * "x" === Not-a-Number. Actual: ' + (1 * "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.3.js deleted file mode 100644 index 35fafb6495..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T2.3; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T2.3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.3.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 * null !== 0) { - $ERROR('#1: 1 * null === 0. Actual: ' + (1 * null)); -} - -//CHECK#2 -if (null * 1 !== 0) { - $ERROR('#2: null * 1 === 0. Actual: ' + (null * 1)); -} - -//CHECK#3 -if (new Number(1) * null !== 0) { - $ERROR('#3: new Number(1) * null === 0. Actual: ' + (new Number(1) * null)); -} - -//CHECK#4 -if (null * new Number(1) !== 0) { - $ERROR('#4: null * new Number(1) === 0. Actual: ' + (null * new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.4.js deleted file mode 100644 index f58afdaa0f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T2.4; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T2.4", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.4.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(1 * undefined) !== true) { - $ERROR('#1: 1 * undefined === Not-a-Number. Actual: ' + (1 * undefined)); -} - -//CHECK#2 -if (isNaN(undefined * 1) !== true) { - $ERROR('#2: undefined * 1 === Not-a-Number. Actual: ' + (undefined * 1)); -} - -//CHECK#3 -if (isNaN(new Number(1) * undefined) !== true) { - $ERROR('#3: new Number(1) * undefined === Not-a-Number. Actual: ' + (new Number(1) * undefined)); -} - -//CHECK#4 -if (isNaN(undefined * new Number(1)) !== true) { - $ERROR('#4: undefined * new Number(1) === Not-a-Number. Actual: ' + (undefined * new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.5.js deleted file mode 100644 index 694096abaf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T2.5; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T2.5", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.5.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true * "1" !== 1) { - $ERROR('#1: true * "1" === 1. Actual: ' + (true * "1")); -} - -//CHECK#2 -if ("1" * true !== 1) { - $ERROR('#2: "1" * true === 1. Actual: ' + ("1" * true)); -} - -//CHECK#3 -if (new Boolean(true) * "1" !== 1) { - $ERROR('#3: new Boolean(true) * "1" === 1. Actual: ' + (new Boolean(true) * "1")); -} - -//CHECK#4 -if ("1" * new Boolean(true) !== 1) { - $ERROR('#4: "1" * new Boolean(true) === 1. Actual: ' + ("1" * new Boolean(true))); -} - -//CHECK#5 -if (true * new String("1") !== 1) { - $ERROR('#5: true * new String("1") === 1. Actual: ' + (true * new String("1"))); -} - -//CHECK#6 -if (new String("1") * true !== 1) { - $ERROR('#6: new String("1") * true === 1. Actual: ' + (new String("1") * true)); -} - -//CHECK#7 -if (new Boolean(true) * new String("1") !== 1) { - $ERROR('#7: new Boolean(true) * new String("1") === 1. Actual: ' + (new Boolean(true) * new String("1"))); -} - -//CHECK#8 -if (new String("1") * new Boolean(true) !== 1) { - $ERROR('#8: new String("1") * new Boolean(true) === 1. Actual: ' + (new String("1") * new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.6.js deleted file mode 100644 index 34ff2b371c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T2.6; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between primitive String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T2.6", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.6.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between primitive String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN("1" * undefined) !== true) { - $ERROR('#1: "1" * undefined === Not-a-Number. Actual: ' + ("1" * undefined)); -} - -//CHECK#2 -if (isNaN(undefined * "1") !== true) { - $ERROR('#2: undefined * "1" === Not-a-Number. Actual: ' + (undefined * "1")); -} - -//CHECK#3 -if (isNaN(new String("1") * undefined) !== true) { - $ERROR('#3: new String("1") * undefined === Not-a-Number. Actual: ' + (new String("1") * undefined)); -} - -//CHECK#4 -if (isNaN(undefined * new String("1")) !== true) { - $ERROR('#4: undefined * new String("1") === Not-a-Number. Actual: ' + (undefined * new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.7.js deleted file mode 100644 index 6dcce7c8c5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T2.7; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T2.7", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.7.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" * null !== 0) { - $ERROR('#1: "1" * null === 0. Actual: ' + ("1" * null)); -} - -//CHECK#2 -if (null * "1" !== 0) { - $ERROR('#2: null * "1" === 0. Actual: ' + (null * "1")); -} - -//CHECK#3 -if (new String("1") * null !== 0) { - $ERROR('#3: new String("1") * null === 0. Actual: ' + (new String("1") * null)); -} - -//CHECK#4 -if (null * new String("1") !== 0) { - $ERROR('#4: null * new String("1") === 0. Actual: ' + (null * new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.8.js deleted file mode 100644 index 245d1189d7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T2.8; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T2.8", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.8.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(true * undefined) !== true) { - $ERROR('#1: true * undefined === Not-a-Number. Actual: ' + (true * undefined)); -} - -//CHECK#2 -if (isNaN(undefined * true) !== true) { - $ERROR('#2: undefined * true === Not-a-Number. Actual: ' + (undefined * true)); -} - -//CHECK#3 -if (isNaN(new Boolean(true) * undefined) !== true) { - $ERROR('#3: new Boolean(true) * undefined === Not-a-Number. Actual: ' + (new Boolean(true) * undefined)); -} - -//CHECK#4 -if (isNaN(undefined * new Boolean(true)) !== true) { - $ERROR('#4: undefined * new Boolean(true) === Not-a-Number. Actual: ' + (undefined * new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.9.js deleted file mode 100644 index 9cd48b6b59..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A3_T2.9; - * @section: 11.5.1; - * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A3_T2.9", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A3_T2.9.js", - -assertion: "Operator x * y returns ToNumber(x) * ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true * null !== 0) { - $ERROR('#1: true * null === 0. Actual: ' + (true * null)); -} - -//CHECK#2 -if (null * true !== 0) { - $ERROR('#2: null * true === 0. Actual: ' + (null * true)); -} - -//CHECK#3 -if (new Boolean(true) * null !== 0) { - $ERROR('#3: new Boolean(true) * null === 0. Actual: ' + (new Boolean(true) * null)); -} - -//CHECK#4 -if (null * new Boolean(true) !== 0) { - $ERROR('#4: null * new Boolean(true) === 0. Actual: ' + (null * new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.1.js deleted file mode 100644 index e279c0838b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A4_T1.1; - * @section: 11.5.1; - * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; - * @description: If left operand is NaN, the result is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A4_T1.1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.1.js", - -assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics", - -description: "If left operand is NaN, the result is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NaN * Number.NaN) !== true) { - $ERROR('#1: NaN * NaN === Not-a-Number. Actual: ' + (NaN * NaN)); -} - -//CHECK#2 -if (isNaN(Number.NaN * +0) !== true) { - $ERROR('#2: NaN * +0 === Not-a-Number. Actual: ' + (NaN * +0)); -} - -//CHECK#3 -if (isNaN(Number.NaN * -0) !== true) { - $ERROR('#3: NaN * -0 === Not-a-Number. Actual: ' + (NaN * -0)); -} - -//CHECK#4 -if (isNaN(Number.NaN * Number.POSITIVE_INFINITY) !== true) { - $ERROR('#4: NaN * Infinity === Not-a-Number. Actual: ' + (NaN * Infinity)); -} - -//CHECK#5 -if (isNaN(Number.NaN * Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#5: NaN * -Infinity === Not-a-Number. Actual: ' + (NaN * -Infinity)); -} - -//CHECK#6 -if (isNaN(Number.NaN * Number.MAX_VALUE) !== true) { - $ERROR('#6: NaN * Number.MAX_VALUE === Not-a-Number. Actual: ' + (NaN * Number.MAX_VALUE)); -} - -//CHECK#7 -if (isNaN(Number.NaN * Number.MIN_VALUE) !== true) { - $ERROR('#7: NaN * Number.MIN_VALUE === Not-a-Number. Actual: ' + (NaN * Number.MIN_VALUE)); -} - -//CHECK#8 -if (isNaN(Number.NaN * 1) !== true) { - $ERROR('#8: NaN * 1 === Not-a-Number. Actual: ' + (NaN * 1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.2.js deleted file mode 100644 index 2a0a2627e8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A4_T1.2; - * @section: 11.5.1; - * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; - * @description: If right operand is NaN, the result is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A4_T1.2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T1.2.js", - -assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics", - -description: "If right operand is NaN, the result is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NaN * Number.NaN) !== true) { - $ERROR('#1: NaN * NaN === Not-a-Number. Actual: ' + (NaN * NaN)); -} - -//CHECK#2 -if (isNaN(+0 * Number.NaN) !== true) { - $ERROR('#2: +0 * NaN === Not-a-Number. Actual: ' + (+0 * NaN)); -} - -//CHECK#3 -if (isNaN(-0 * Number.NaN) !== true) { - $ERROR('#3: -0 * NaN === Not-a-Number. Actual: ' + (-0 * NaN)); -} - -//CHECK#4 -if (isNaN(Number.POSITIVE_INFINITY * Number.NaN) !== true) { - $ERROR('#4: Infinity * NaN === Not-a-Number. Actual: ' + (Infinity * NaN)); -} - -//CHECK#5 -if (isNaN(Number.NEGATIVE_INFINITY * Number.NaN) !== true) { - $ERROR('#5: -Infinity * NaN === Not-a-Number. Actual: ' + ( -Infinity * NaN)); -} - -//CHECK#6 -if (isNaN(Number.MAX_VALUE * Number.NaN) !== true) { - $ERROR('#6: Number.MAX_VALUE * NaN === Not-a-Number. Actual: ' + (Number.MAX_VALUE * NaN)); -} - -//CHECK#7 -if (isNaN(Number.MIN_VALUE * Number.NaN) !== true) { - $ERROR('#7: Number.MIN_VALUE * NaN === Not-a-Number. Actual: ' + (Number.MIN_VALUE * NaN)); -} - -//CHECK#8 -if (isNaN(1 * Number.NaN) !== true) { - $ERROR('#8: 1 * NaN === Not-a-Number. Actual: ' + (1 * NaN)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T2.js deleted file mode 100644 index 0500f7579a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T2.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A4_T2; - * @section: 11.5.1; - * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; - * @description: The sign of the result is positive if both operands have the same sign, negative if the operands have different signs; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A4_T2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T2.js", - -assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics", - -description: "The sign of the result is positive if both operands have the same sign, negative if the operands have different signs", - -test: function testcase() { - //CHECK#1 -if (1 * 1 !== 1) { - $ERROR('#1: 1 * 1 === 1. Actual: ' + (1 * 1)); -} - -//CHECK#2 -if (1 * -1 !== -1) { - $ERROR('#2: 1 * -1 === -1. Actual: ' + (1 * -1)); -} - -//CHECK#3 -if (-1 * 1 !== -1) { - $ERROR('#3: -1 * 1 === -1. Actual: ' + (-1 * 1)); -} - -//CHECK#4 -if (-1 * -1 !== 1) { - $ERROR('#4: -1 * -1 === 1. Actual: ' + (-1 * -1)); -} - -//CHECK#5 -if (0 * 0 !== 0) { - $ERROR('#5.1: 0 * 0 === 0. Actual: ' + (0 * 0)); -} else { - if (1 / (0 * 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#5.2: 0 * 0 === + 0. Actual: -0'); - } -} - -//CHECK#6 -if (0 * -0 !== -0) { - $ERROR('#6.1: 0 * -0 === 0. Actual: ' + (0 * -0)); -} else { - if (1 / (0 * -0) !== Number.NEGATIVE_INFINITY) { - $ERROR('#6.2: 0 * -0 === - 0. Actual: +0'); - } -} - -//CHECK#7 -if (-0 * 0 !== -0) { - $ERROR('#7.1: -0 * 0 === 0. Actual: ' + (-0 * 0)); -} else { - if (1 / (-0 * 0) !== Number.NEGATIVE_INFINITY) { - $ERROR('#7.2: -0 * 0 === - 0. Actual: +0'); - } -} - -//CHECK#8 -if (-0 * -0 !== 0) { - $ERROR('#8.1: -0 * -0 === 0. Actual: ' + (-0 * -0)); -} else { - if (1 / (-0 * -0) !== Number.POSITIVE_INFINITY) { - $ERROR('#8.2: 0 * -0 === - 0. Actual: +0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T3.js deleted file mode 100644 index defdf521b5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T3.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A4_T3; - * @section: 11.5.1; - * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; - * @description: Multiplication of an infinity by a zero results in NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A4_T3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T3.js", - -assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics", - -description: "Multiplication of an infinity by a zero results in NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NEGATIVE_INFINITY * 0) !== true) { - $ERROR('#1: Infinity * 0 === Not-a-Number. Actual: ' + (Infinity * 0)); -} - -//CHECK#2 -if (isNaN(-0 * Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#2: -0 * -Infinity === Not-a-Number. Actual: ' + (-0 * -Infinity)); -} - -//CHECK#3 -if (isNaN(Number.POSITIVE_INFINITY * -0) !== true) { - $ERROR('#3: Infinity * -0 === Not-a-Number. Actual: ' + (Infinity * -0)); -} - -//CHECK#4 -if (isNaN(0 * Number.POSITIVE_INFINITY) !== true) { - $ERROR('#4: 0 * Infinity === Not-a-Number. Actual: ' + (0 * Infinity)); -} - -//CHECK#5 -if (isNaN(Number.NEGATIVE_INFINITY * -0) !== true) { - $ERROR('#5: Infinity * -0 === Not-a-Number. Actual: ' + (Infinity * -0)); -} - -//CHECK#6 -if (isNaN(0 * Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#6: 0 * -Infinity === Not-a-Number. Actual: ' + (0 * -Infinity)); -} - -//CHECK#7 -if (isNaN(Number.POSITIVE_INFINITY * 0) !== true) { - $ERROR('#7: Infinity * 0 === Not-a-Number. Actual: ' + (Infinity * 0)); -} - -//CHECK#8 -if (isNaN(-0 * Number.POSITIVE_INFINITY) !== true) { - $ERROR('#8: -0 * Infinity === Not-a-Number. Actual: ' + (-0 * Infinity)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T4.js deleted file mode 100644 index c43ba5a9aa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A4_T4; - * @section: 11.5.1; - * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; - * @description: Multiplication of an infinity by an infinity results in an infinity of appropriate sign; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A4_T4", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T4.js", - -assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics", - -description: "Multiplication of an infinity by an infinity results in an infinity of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (Number.NEGATIVE_INFINITY * Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY) { - $ERROR('#1: -Infinity * -Infinity === Infinity. Actual: ' + (-Infinity * -Infinity)); -} - -//CHECK#2 -if (Number.POSITIVE_INFINITY * Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY) { - $ERROR('#2: Infinity * Infinity === Infinity. Actual: ' + (Infinity * Infinity)); -} - -//CHECK#3 -if (Number.NEGATIVE_INFINITY * Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY) { - $ERROR('#3: -Infinity * Infinity === -Infinity. Actual: ' + (-Infinity * Infinity)); -} - -//CHECK#4 -if (Number.POSITIVE_INFINITY * Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY) { - $ERROR('#4: Infinity * -Infinity === -Infinity. Actual: ' + (Infinity * -Infinity)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T5.js deleted file mode 100644 index 3a13c48ce9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A4_T5; - * @section: 11.5.1; - * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; - * @description: Multiplication of an infinity by a finite non-zero value results in a signed infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A4_T5", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T5.js", - -assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics", - -description: "Multiplication of an infinity by a finite non-zero value results in a signed infinity", - -test: function testcase() { - //CHECK#1 -if (Number.NEGATIVE_INFINITY * -1 !== Number.POSITIVE_INFINITY) { - $ERROR('#1: -Infinity * -1 === Infinity. Actual: ' + (-Infinity * -1)); -} - -//CHECK#2 -if (-1 * Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY) { - $ERROR('#2: -1 * -Infinity === Infinity. Actual: ' + (-1 * -Infinity)); -} - -//CHECK#3 -if (Number.POSITIVE_INFINITY * -1 !== Number.NEGATIVE_INFINITY) { - $ERROR('#3: Infinity * -1 === -Infinity. Actual: ' + (Infinity * -1)); -} - -//CHECK#4 -if (-1 * Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY) { - $ERROR('#4: -1 * Infinity === -Infinity. Actual: ' + (-1 * Infinity)); -} - -//CHECK#5 -if (Number.POSITIVE_INFINITY * Number.MAX_VALUE !== Number.POSITIVE_INFINITY) { - $ERROR('#5: Infinity * Number.MAX_VALUE === Infinity. Actual: ' + (Infinity * Number.MAX_VALUE)); -} - -//CHECK#6 -if (Number.POSITIVE_INFINITY * Number.MAX_VALUE !== Number.MAX_VALUE * Number.POSITIVE_INFINITY) { - $ERROR('#6: Infinity * Number.MAX_VALUE === Number.MAX_VALUE * Infinity. Actual: ' + (Infinity * Number.MAX_VALUE)); -} - -//CHECK#7 -if (Number.NEGATIVE_INFINITY * Number.MIN_VALUE !== Number.NEGATIVE_INFINITY) { - $ERROR('#7: -Infinity * Number.MIN_VALUE === -Infinity. Actual: ' + (-Infinity * Number.MIN_VALUE)); -} - -//CHECK#8 -if (Number.NEGATIVE_INFINITY * Number.MIN_VALUE !== Number.MIN_VALUE * Number.NEGATIVE_INFINITY) { - $ERROR('#8: -Infinity * Number.MIN_VALUE === Number.MIN_VALUE * -Infinity. Actual: ' + (-Infinity * Number.MIN_VALUE)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T6.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T6.js deleted file mode 100644 index bb53a6c25f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A4_T6; - * @section: 11.5.1; - * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; - * @description: If the magnitude is too large to represent, the result is then an infinity of appropriate sign; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A4_T6", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T6.js", - -assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics", - -description: "If the magnitude is too large to represent, the result is then an infinity of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (Number.MAX_VALUE * 1.1 !== Number.POSITIVE_INFINITY) { - $ERROR('#1: Number.MAX_VALUE * 1.1 === Number.POSITIVE_INFINITY. Actual: ' + (Number.MAX_VALUE * 1.1)); -} - -//CHECK#2 -if (-1.1 * Number.MAX_VALUE !== Number.NEGATIVE_INFINITY) { - $ERROR('#2: -1.1 * Number.MAX_VALUE === Number.NEGATIVE_INFINITY. Actual: ' + (-1.1 * Number.MAX_VALUE)); -} - -//CHECK#3 -if (Number.MAX_VALUE * 1 !== Number.MAX_VALUE) { - $ERROR('#3: Number.MAX_VALUE * 1 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE * 1)); -} - -//CHECK#4 -if (-1 * Number.MAX_VALUE !== -Number.MAX_VALUE) { - $ERROR('#4: -1 * Number.MAX_VALUE === -Number.MAX_VALUE. Actual: ' + (-1 * Number.MAX_VALUE)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T7.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T7.js deleted file mode 100644 index e470c927e5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T7.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A4_T7; - * @section: 11.5.1; - * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; - * @description: If the magnitude is too small to represent, the result is then a zero of appropriate sign; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A4_T7", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T7.js", - -assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics", - -description: "If the magnitude is too small to represent, the result is then a zero of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (Number.MIN_VALUE * 0.1 !== 0) { - $ERROR('#1: Number.MIN_VALUE * 0.1 === 0. Actual: ' + (Number.MIN_VALUE * 0.1)); -} - -//CHECK#2 -if (-0.1 * Number.MIN_VALUE !== -0) { - $ERROR('#2.1: -0.1 * Number.MIN_VALUE === -0. Actual: ' + (-0.1 * Number.MIN_VALUE)); -} else { - if (1 / (-0.1 * Number.MIN_VALUE) !== Number.NEGATIVE_INFINITY) { - $ERROR('#2.2: -0.1 * Number.MIN_VALUE === -0. Actual: +0'); - } -} - -//CHECK#3 -if (Number.MIN_VALUE * 0.5 !== 0) { - $ERROR('#3: Number.MIN_VALUE * 0.5 === 0. Actual: ' + (Number.MIN_VALUE * 0.5)); -} - -//CHECK#4 -if (-0.5 * Number.MIN_VALUE !== -0) { - $ERROR('#4.1: -0.5 * Number.MIN_VALUE === -0. Actual: ' + (-0.5 * Number.MIN_VALUE)); -} else { - if (1 / (-0.5 * Number.MIN_VALUE) !== Number.NEGATIVE_INFINITY) { - $ERROR('#4.2: -0.5 * Number.MIN_VALUE === -0. Actual: +0'); - } -} - -//CHECK#5 -if (Number.MIN_VALUE * 0.51 !== Number.MIN_VALUE) { - $ERROR('#5: Number.MIN_VALUE * 0.51 === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE * 0.51)); -} - -//CHECK#6 -if (-0.51 * Number.MIN_VALUE !== -Number.MIN_VALUE) { - $ERROR('#6: -0.51 * Number.MIN_VALUE === -Number.MIN_VALUE. Actual: ' + (-0.51 * Number.MIN_VALUE)); -} - -//CHECK#7 -if (Number.MIN_VALUE * 0.9 !== Number.MIN_VALUE) { - $ERROR('#7: Number.MIN_VALUE * 0.9 === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE * 0.9)); -} - -//CHECK#8 -if (-0.9 * Number.MIN_VALUE !== -Number.MIN_VALUE) { - $ERROR('#8: -0.9 * Number.MIN_VALUE === -Number.MIN_VALUE. Actual: ' + (-0.9 * Number.MIN_VALUE)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js deleted file mode 100644 index a9d8c9e128..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.1_A4_T8; - * @section: 11.5.1; - * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; - * @description: Multiplication is not always associative (x * y * z is the same as (x * y) * z, not x * (y * z)); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.1_A4_T8", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js", - -assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics", - -description: "Multiplication is not always associative (x * y * z is the same as (x * y) * z, not x * (y * z))", - -test: function testcase() { - //CHECK#1 -if (Number.MAX_VALUE * 1.1 * 0.9 !== (Number.MAX_VALUE * 1.1) * 0.9) { - $ERROR('#1: Number.MAX_VALUE * 1.1 * 0.9 === (Number.MAX_VALUE * 1.1) * 0.9. Actual: ' + (Number.MAX_VALUE * 1.1 * 0.9)); -} - -//CHECK#2 -if ((Number.MAX_VALUE * 1.1) * 0.9 === Number.MAX_VALUE * (1.1 * 0.9)) { - $ERROR('#2: (Number.MAX_VALUE * 1.1) * 0.9 !== Number.MAX_VALUE * (1.1 * 0.9)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A1.js deleted file mode 100644 index 4bd3176f3a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.5.2_A1; -* @section: 11.5.2, 7.2, 7.3; -* @assertion: White Space and Line Terminator between MultiplicativeExpression and "/" or between "/" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A1.js", - -assertion: "White Space and Line Terminator between MultiplicativeExpression and \"/\" or between \"/\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("1\u0009/\u00091") !== 1) { - $ERROR('#1: 1\\u0009/\\u00091 === 1'); -} - -//CHECK#2 -if (eval("1\u000B/\u000B1") !== 1) { - $ERROR('#2: 1\\u000B/\\u000B1 === 1'); -} - -//CHECK#3 -if (eval("1\u000C/\u000C1") !== 1) { - $ERROR('#3: 1\\u000C/\\u000C1 === 1'); -} - -//CHECK#4 -if (eval("1\u0020/\u00201") !== 1) { - $ERROR('#4: 1\\u0020/\\u00201 === 1'); -} - -//CHECK#5 -if (eval("1\u00A0/\u00A01") !== 1) { - $ERROR('#5: 1\\u00A0/\\u00A01 === 1'); -} - -//CHECK#6 -if (eval("1\u000A/\u000A1") !== 1) { - $ERROR('#6: 1\\u000A/\\u000A1 === 1'); -} - -//CHECK#7 -if (eval("1\u000D/\u000D1") !== 1) { - $ERROR('#7: 1\\u000D/\\u000D1 === 1'); -} - -//CHECK#8 -if (eval("1\u2028/\u20281") !== 1) { - $ERROR('#8: 1\\u2028/\\u20281 === 1'); -} - -//CHECK#9 -if (eval("1\u2029/\u20291") !== 1) { - $ERROR('#9: 1\\u2029/\\u20291 === 1'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029/\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 1) { - $ERROR('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029/\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T1.js deleted file mode 100644 index 4823aaac26..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A2.1_T1; - * @section: 11.5.2; - * @assertion: Operator x / y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A2.1_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T1.js", - -assertion: "Operator x / y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (1 / 1 !== 1) { - $ERROR('#1: 1 / 1 === 1. Actual: ' + (1 / 1)); -} - -//CHECK#2 -var x = 1; -if (x / 1 !== 1) { - $ERROR('#2: var x = 1; x / 1 === 1. Actual: ' + (x / 1)); -} - -//CHECK#3 -var y = 1; -if (1 / y !== 1) { - $ERROR('#3: var y = 1; 1 / y === 1. Actual: ' + (1 / y)); -} - -//CHECK#4 -var x = 1; -var y = 1; -if (x / y !== 1) { - $ERROR('#4: var x = 1; var y = 1; x / y === 1. Actual: ' + (x / y)); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if (objectx.prop / objecty.prop !== 1) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop / objecty.prop === 1. Actual: ' + (objectx.prop / objecty.prop)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T2.js deleted file mode 100644 index 11a0b945ff..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A2.1_T2; - * @section: 11.5.2; - * @assertion: Operator x / y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A2.1_T2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T2.js", - -assertion: "Operator x / y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x / 1; - $ERROR('#1.1: x / 1 throw ReferenceError. Actual: ' + (x / 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x / 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T3.js deleted file mode 100644 index 8916019a0e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A2.1_T3; - * @section: 11.5.2; - * @assertion: Operator x / y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A2.1_T3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.1_T3.js", - -assertion: "Operator x / y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 / y; - $ERROR('#1.1: 1 / y throw ReferenceError. Actual: ' + (1 / y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 / y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.2_T1.js deleted file mode 100644 index 20c129206e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A2.2_T1; - * @section: 11.5.2, 8.6.2.6; - * @assertion: Operator x / y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A2.2_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.2_T1.js", - -assertion: "Operator x / y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 1}} / 1 !== 1) { - $ERROR('#1: {valueOf: function() {return 1}} / 1 === 1. Actual: ' + ({valueOf: function() {return 1}} / 1)); -} - -//CHECK#2 -if ({valueOf: function() {return 1}, toString: function() {return 0}} / 1 !== 1) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 0}} / 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} / 1)); -} - -//CHECK#3 -if ({valueOf: function() {return 1}, toString: function() {return {}}} / 1 !== 1) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} / 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} / 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 1}, toString: function() {throw "error"}} / 1 !== 1) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} / 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} / 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} / 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} / 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 / {toString: function() {return 1}} !== 1) { - $ERROR('#5: 1 / {toString: function() {return 1}} === 1. Actual: ' + (1 / {toString: function() {return 1}})); -} - -//CHECK#6 -if (1 / {valueOf: function() {return {}}, toString: function() {return 1}} !== 1) { - $ERROR('#6: 1 / {valueOf: function() {return {}}, toString: function() {return 1}} === 1. Actual: ' + (1 / {valueOf: function() {return {}}, toString: function() {return 1}})); -} - -//CHECK#7 -try { - 1 / {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: 1 / {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 / {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 / {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 / {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 / {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 / {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 / {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.3_T1.js deleted file mode 100644 index 3788123c47..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A2.3_T1; - * @section: 11.5.2; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A2.3_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x / y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x / y throw "x". Actual: ' + (x / y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x / y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T1.js deleted file mode 100644 index 1f499db786..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A2.4_T1; - * @section: 11.5.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A2.4_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) / x !== 1) { - $ERROR('#1: var x = 0; (x = 1) / x === 1. Actual: ' + ((x = 1) / x)); -} - -//CHECK#2 -var x = 0; -if (x / (x = 1) !== 0) { - $ERROR('#2: var x = 0; x / (x = 1) === 0. Actual: ' + (x / (x = 1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T2.js deleted file mode 100644 index be389280c5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A2.4_T2; - * @section: 11.5.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A2.4_T2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() / y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() / y() throw "x". Actual: ' + (x() / y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() / y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T3.js deleted file mode 100644 index 1b6dfa5659..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A2.4_T3; - * @section: 11.5.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A2.4_T3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x / (x = 1); - $ERROR('#1.1: x / (x = 1) throw ReferenceError. Actual: ' + (x / (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x / (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) / y !== 1) { - $ERROR('#2: (y = 1) / y === 1. Actual: ' + ((y = 1) / y)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.1.js deleted file mode 100644 index 9d08f2254a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T1.1; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T1.1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.1.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true / true !== 1) { - $ERROR('#1: true / true === 1. Actual: ' + (true / true)); -} - -//CHECK#2 -if (new Boolean(true) / true !== 1) { - $ERROR('#2: new Boolean(true) / true === 1. Actual: ' + (new Boolean(true) / true)); -} - -//CHECK#3 -if (true / new Boolean(true) !== 1) { - $ERROR('#3: true / new Boolean(true) === 1. Actual: ' + (true / new Boolean(true))); -} - -//CHECK#4 -if (new Boolean(true) / new Boolean(true) !== 1) { - $ERROR('#4: new Boolean(true) / new Boolean(true) === 1. Actual: ' + (new Boolean(true) / new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.2.js deleted file mode 100644 index f436daa801..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T1.2; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T1.2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.2.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 / 1 !== 1) { - $ERROR('#1: 1 / 1 === 1. Actual: ' + (1 / 1)); -} - -//CHECK#2 -if (new Number(1) / 1 !== 1) { - $ERROR('#2: new Number(1) / 1 === 1. Actual: ' + (new Number(1) / 1)); -} - -//CHECK#3 -if (1 / new Number(1) !== 1) { - $ERROR('#3: 1 / new Number(1) === 1. Actual: ' + (1 / new Number(1))); -} - -//CHECK#4 -if (new Number(1) / new Number(1) !== 1) { - $ERROR('#4: new Number(1) / new Number(1) === 1. Actual: ' + (new Number(1) / new Number(1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.3.js deleted file mode 100644 index 92701e6d53..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T1.3; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T1.3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.3.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" / "1" !== 1) { - $ERROR('#1: "1" / "1" === 1. Actual: ' + ("1" / "1")); -} - -//CHECK#2 -if (new String("1") / "1" !== 1) { - $ERROR('#2: new String("1") / "1" === 1. Actual: ' + (new String("1") / "1")); -} - -//CHECK#3 -if ("1" / new String("1") !== 1) { - $ERROR('#3: "1" / new String("1") === 1. Actual: ' + ("1" / new String("1"))); -} - -//CHECK#4 -if (new String("1") / new String("1") !== 1) { - $ERROR('#4: new String("1") / new String("1") === 1. Actual: ' + (new String("1") / new String("1"))); -} - -//CHECK#5 -if (isNaN("x" / "1") !== true) { - $ERROR('#5: "x" / "1" === Not-a-Number. Actual: ' + ("x" / "1")); -} - -//CHECK#6 -if (isNaN("1" / "x") !== true) { - $ERROR('#6: "1" / "x" === Not-a-Number. Actual: ' + ("1" / "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.4.js deleted file mode 100644 index a7fe2db909..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T1.4; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T1.4", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.4.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(null / undefined) !== true) { - $ERROR('#1: null / undefined === Not-a-Number. Actual: ' + (null / undefined)); -} - -//CHECK#2 -if (isNaN(undefined / null) !== true) { - $ERROR('#2: undefined / null === Not-a-Number. Actual: ' + (undefined / null)); -} - -//CHECK#3 -if (isNaN(undefined / undefined) !== true) { - $ERROR('#3: undefined / undefined === Not-a-Number. Actual: ' + (undefined / undefined)); -} - -//CHECK#4 -if (isNaN(null / null) !== true) { - $ERROR('#4: null / null === Not-a-Number. Actual: ' + (null / null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.5.js deleted file mode 100644 index 029452fc67..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T1.5; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) and Type(y) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T1.5", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T1.5.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) and Type(y) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (isNaN({} / function(){return 1}) !== true) { - $ERROR('#1: {} / function(){return 1} === Not-a-Number. Actual: ' + ({} / function(){return 1})); -} - -//CHECK#2 -if (isNaN(function(){return 1} / {}) !== true) { - $ERROR('#2: function(){return 1} / {} === Not-a-Number. Actual: ' + (function(){return 1} / {})); -} - -//CHECK#3 -if (isNaN(function(){return 1} / function(){return 1}) !== true) { - $ERROR('#3: function(){return 1} / function(){return 1} === Not-a-Number. Actual: ' + (function(){return 1} / function(){return 1})); -} - -//CHECK#4 -if (isNaN({} / {}) !== true) { - $ERROR('#4: {} / {} === Not-a-Number. Actual: ' + ({} / {})); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.1.js deleted file mode 100644 index 99d93dcc25..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T2.1; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T2.1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.1.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true / 1 !== 1) { - $ERROR('#1: true / 1 === 1. Actual: ' + (true / 1)); -} - -//CHECK#2 -if (1 / true !== 1) { - $ERROR('#2: 1 / true === 1. Actual: ' + (1 / true)); -} - -//CHECK#3 -if (new Boolean(true) / 1 !== 1) { - $ERROR('#3: new Boolean(true) / 1 === 1. Actual: ' + (new Boolean(true) / 1)); -} - -//CHECK#4 -if (1 / new Boolean(true) !== 1) { - $ERROR('#4: 1 / new Boolean(true) === 1. Actual: ' + (1 / new Boolean(true))); -} - -//CHECK#5 -if (true / new Number(1) !== 1) { - $ERROR('#5: true / new Number(1) === 1. Actual: ' + (true / new Number(1))); -} - -//CHECK#6 -if (new Number(1) / true !== 1) { - $ERROR('#6: new Number(1) / true === 1. Actual: ' + (new Number(1) / true)); -} - -//CHECK#7 -if (new Boolean(true) / new Number(1) !== 1) { - $ERROR('#7: new Boolean(true) / new Number(1) === 1. Actual: ' + (new Boolean(true) / new Number(1))); -} - -//CHECK#8 -if (new Number(1) / new Boolean(true) !== 1) { - $ERROR('#8: new Number(1) / new Boolean(true) === 1. Actual: ' + (new Number(1) / new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.2.js deleted file mode 100644 index 28f91de6cb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T2.2; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T2.2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.2.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" / 1 !== 1) { - $ERROR('#1: "1" / 1 === 1. Actual: ' + ("1" / 1)); -} - -//CHECK#2 -if (1 / "1" !== 1) { - $ERROR('#2: 1 / "1" === 1. Actual: ' + (1 / "1")); -} - -//CHECK#3 -if (new String("1") / 1 !== 1) { - $ERROR('#3: new String("1") / 1 === 1. Actual: ' + (new String("1") / 1)); -} - -//CHECK#4 -if (1 / new String("1") !== 1) { - $ERROR('#4: 1 / new String("1") === 1. Actual: ' + (1 / new String("1"))); -} - -//CHECK#5 -if ("1" / new Number(1) !== 1) { - $ERROR('#5: "1" / new Number(1) === 1. Actual: ' + ("1" / new Number(1))); -} - -//CHECK#6 -if (new Number(1) / "1" !== 1) { - $ERROR('#6: new Number(1) / "1" === 1. Actual: ' + (new Number(1) / "1")); -} - -//CHECK#7 -if (new String("1") / new Number(1) !== 1) { - $ERROR('#7: new String("1") / new Number(1) === 1. Actual: ' + (new String("1") / new Number(1))); -} - -//CHECK#8 -if (new Number(1) / new String("1") !== 1) { - $ERROR('#8: new Number(1) / new String("1") === 1. Actual: ' + (new Number(1) / new String("1"))); -} - -//CHECK#9 -if (isNaN("x" / 1) !== true) { - $ERROR('#9: "x" / 1 === Not-a-Number. Actual: ' + ("x" / 1)); -} - -//CHECK#10 -if (isNaN(1 / "x") !== true) { - $ERROR('#10: 1 / "x" === Not-a-Number. Actual: ' + (1 / "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.3.js deleted file mode 100644 index 6d02b799a0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T2.3; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T2.3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.3.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 / null !== Number.POSITIVE_INFINITY) { - $ERROR('#1: 1 / null === +Infinity. Actual: ' + (1 / null)); -} - -//CHECK#2 -if (null / 1 !== 0) { - $ERROR('#2: null / 1 === 0. Actual: ' + (null / 1)); -} - -//CHECK#3 -if (new Number(1) / null !== Number.POSITIVE_INFINITY) { - $ERROR('#3: new Number(1) / null === +Infinity. Actual: ' + (new Number(1) / null)); -} - -//CHECK#4 -if (null / new Number(1) !== 0) { - $ERROR('#4: null / new Number(1) === 0. Actual: ' + (null / new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.4.js deleted file mode 100644 index 8f99da6875..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T2.4; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T2.4", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.4.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(1 / undefined) !== true) { - $ERROR('#1: 1 / undefined === Not-a-Number. Actual: ' + (1 / undefined)); -} - -//CHECK#2 -if (isNaN(undefined / 1) !== true) { - $ERROR('#2: undefined / 1 === Not-a-Number. Actual: ' + (undefined / 1)); -} - -//CHECK#3 -if (isNaN(new Number(1) / undefined) !== true) { - $ERROR('#3: new Number(1) / undefined === Not-a-Number. Actual: ' + (new Number(1) / undefined)); -} - -//CHECK#4 -if (isNaN(undefined / new Number(1)) !== true) { - $ERROR('#4: undefined / new Number(1) === Not-a-Number. Actual: ' + (undefined / new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.5.js deleted file mode 100644 index 8eaf1482f8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T2.5; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T2.5", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.5.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true / "1" !== 1) { - $ERROR('#1: true / "1" === 1. Actual: ' + (true / "1")); -} - -//CHECK#2 -if ("1" / true !== 1) { - $ERROR('#2: "1" / true === 1. Actual: ' + ("1" / true)); -} - -//CHECK#3 -if (new Boolean(true) / "1" !== 1) { - $ERROR('#3: new Boolean(true) / "1" === 1. Actual: ' + (new Boolean(true) / "1")); -} - -//CHECK#4 -if ("1" / new Boolean(true) !== 1) { - $ERROR('#4: "1" / new Boolean(true) === 1. Actual: ' + ("1" / new Boolean(true))); -} - -//CHECK#5 -if (true / new String("1") !== 1) { - $ERROR('#5: true / new String("1") === 1. Actual: ' + (true / new String("1"))); -} - -//CHECK#6 -if (new String("1") / true !== 1) { - $ERROR('#6: new String("1") / true === 1. Actual: ' + (new String("1") / true)); -} - -//CHECK#7 -if (new Boolean(true) / new String("1") !== 1) { - $ERROR('#7: new Boolean(true) / new String("1") === 1. Actual: ' + (new Boolean(true) / new String("1"))); -} - -//CHECK#8 -if (new String("1") / new Boolean(true) !== 1) { - $ERROR('#8: new String("1") / new Boolean(true) === 1. Actual: ' + (new String("1") / new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.6.js deleted file mode 100644 index bfbbbc8512..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T2.6; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T2.6", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.6.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN("1" / undefined) !== true) { - $ERROR('#1: "1" / undefined === Not-a-Number. Actual: ' + ("1" / undefined)); -} - -//CHECK#2 -if (isNaN(undefined / "1") !== true) { - $ERROR('#2: undefined / "1" === Not-a-Number. Actual: ' + (undefined / "1")); -} - -//CHECK#3 -if (isNaN(new String("1") / undefined) !== true) { - $ERROR('#3: new String("1") / undefined === Not-a-Number. Actual: ' + (new String("1") / undefined)); -} - -//CHECK#4 -if (isNaN(undefined / new String("1")) !== true) { - $ERROR('#4: undefined / new String("1") === Not-a-Number. Actual: ' + (undefined / new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.7.js deleted file mode 100644 index 2959ae0e28..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T2.7; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T2.7", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.7.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" / null !== Number.POSITIVE_INFINITY) { - $ERROR('#1: "1" / null === +Infinity. Actual: ' + ("1" / null)); -} - -//CHECK#2 -if (null / "1" !== 0) { - $ERROR('#2: null / "1" === 0. Actual: ' + (null / "1")); -} - -//CHECK#3 -if (new String("1") / null !== Number.POSITIVE_INFINITY) { - $ERROR('#3: new String("1") / null === +Infinity. Actual: ' + (new String("1") / null)); -} - -//CHECK#4 -if (null / new String("1") !== 0) { - $ERROR('#4: null / new String("1") === 0. Actual: ' + (null / new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.8.js deleted file mode 100644 index 77adc2c790..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T2.8; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T2.8", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.8.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(true / undefined) !== true) { - $ERROR('#1: true / undefined === Not-a-Number. Actual: ' + (true / undefined)); -} - -//CHECK#2 -if (isNaN(undefined / true) !== true) { - $ERROR('#2: undefined / true === Not-a-Number. Actual: ' + (undefined / true)); -} - -//CHECK#3 -if (isNaN(new Boolean(true) / undefined) !== true) { - $ERROR('#3: new Boolean(true) / undefined === Not-a-Number. Actual: ' + (new Boolean(true) / undefined)); -} - -//CHECK#4 -if (isNaN(undefined / new Boolean(true)) !== true) { - $ERROR('#4: undefined / new Boolean(true) === Not-a-Number. Actual: ' + (undefined / new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.9.js deleted file mode 100644 index 8ff733f064..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A3_T2.9; - * @section: 11.5.2; - * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A3_T2.9", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A3_T2.9.js", - -assertion: "Operator x / y returns ToNumber(x) / ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true / null !== Number.POSITIVE_INFINITY) { - $ERROR('#1: true / null === +Infinity. Actual: ' + (true / null)); -} - -//CHECK#2 -if (null / true !== 0) { - $ERROR('#2: null / true === 0. Actual: ' + (null / true)); -} - -//CHECK#3 -if (new Boolean(true) / null !== Number.POSITIVE_INFINITY) { - $ERROR('#3: new Boolean(true) / null === +Infinity. Actual: ' + (new Boolean(true) / null)); -} - -//CHECK#4 -if (null / new Boolean(true) !== 0) { - $ERROR('#4: null / new Boolean(true) === 0. Actual: ' + (null / new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.1.js deleted file mode 100644 index a779f59bca..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T1.1; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: If left operand is NaN, the result is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T1.1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.1.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "If left operand is NaN, the result is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NaN / Number.NaN) !== true) { - $ERROR('#1: NaN / NaN === Not-a-Number. Actual: ' + (NaN / NaN)); -} - -//CHECK#2 -if (isNaN(Number.NaN / +0) !== true) { - $ERROR('#2: NaN / +0 === Not-a-Number. Actual: ' + (NaN / +0)); -} - -//CHECK#3 -if (isNaN(Number.NaN / -0) !== true) { - $ERROR('#3: NaN / -0 === Not-a-Number. Actual: ' + (NaN / -0)); -} - -//CHECK#4 -if (isNaN(Number.NaN / Number.POSITIVE_INFINITY) !== true) { - $ERROR('#4: NaN / Infinity === Not-a-Number. Actual: ' + (NaN / Infinity)); -} - -//CHECK#5 -if (isNaN(Number.NaN / Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#5: NaN / -Infinity === Not-a-Number. Actual: ' + (NaN / -Infinity)); -} - -//CHECK#6 -if (isNaN(Number.NaN / Number.MAX_VALUE) !== true) { - $ERROR('#6: NaN / Number.MAX_VALUE === Not-a-Number. Actual: ' + (NaN / Number.MAX_VALUE)); -} - -//CHECK#7 -if (isNaN(Number.NaN / Number.MIN_VALUE) !== true) { - $ERROR('#7: NaN / Number.MIN_VALUE === Not-a-Number. Actual: ' + (NaN / Number.MIN_VALUE)); -} - -//CHECK#8 -if (isNaN(Number.NaN / 1) !== true) { - $ERROR('#8: NaN / 1 === Not-a-Number. Actual: ' + (NaN / 1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.2.js deleted file mode 100644 index 05c4622ca3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T1.2; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: If right operand is NaN, the result is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T1.2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T1.2.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "If right operand is NaN, the result is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NaN / Number.NaN) !== true) { - $ERROR('#1: NaN / NaN === Not-a-Number. Actual: ' + (NaN / NaN)); -} - -//CHECK#2 -if (isNaN(+0 / Number.NaN) !== true) { - $ERROR('#2: +0 / NaN === Not-a-Number. Actual: ' + (+0 / NaN)); -} - -//CHECK#3 -if (isNaN(-0 / Number.NaN) !== true) { - $ERROR('#3: -0 / NaN === Not-a-Number. Actual: ' + (-0 / NaN)); -} - -//CHECK#4 -if (isNaN(Number.POSITIVE_INFINITY / Number.NaN) !== true) { - $ERROR('#4: Infinity / NaN === Not-a-Number. Actual: ' + (Infinity / NaN)); -} - -//CHECK#5 -if (isNaN(Number.NEGATIVE_INFINITY / Number.NaN) !== true) { - $ERROR('#5: -Infinity / NaN === Not-a-Number. Actual: ' + ( -Infinity / NaN)); -} - -//CHECK#6 -if (isNaN(Number.MAX_VALUE / Number.NaN) !== true) { - $ERROR('#6: Number.MAX_VALUE / NaN === Not-a-Number. Actual: ' + (Number.MAX_VALUE / NaN)); -} - -//CHECK#7 -if (isNaN(Number.MIN_VALUE / Number.NaN) !== true) { - $ERROR('#7: Number.MIN_VALUE / NaN === Not-a-Number. Actual: ' + (Number.MIN_VALUE / NaN)); -} - -//CHECK#8 -if (isNaN(1 / Number.NaN) !== true) { - $ERROR('#8: 1 / NaN === Not-a-Number. Actual: ' + (1 / NaN)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T10.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T10.js deleted file mode 100644 index e7e88a0536..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T10.js +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T10; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: If both operands are finite and nonzero, the quotient is computed and rounded using IEEE 754 round-to-nearest mode. - * If the magnitude is too small to represent, the result is then a zero of appropriate sign; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T10", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T10.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "If both operands are finite and nonzero, the quotient is computed and rounded using IEEE 754 round-to-nearest mode.", - -test: function testcase() { - //CHECK#1 -if (Number.MIN_VALUE / 2.1 !== 0) { - $ERROR('#1: Number.MIN_VALUE / 2.1 === 0. Actual: ' + (Number.MIN_VALUE / 2.1)); -} - -//CHECK#2 -if (Number.MIN_VALUE / -2.1 !== -0) { - $ERROR('#2.1: Number.MIN_VALUE / -2.1 === 0. Actual: ' + (Number.MIN_VALUE / -2.1)); -} else { - if (1 / (Number.MIN_VALUE / -2.1) !== Number.NEGATIVE_INFINITY) { - $ERROR('#2.2: Number.MIN_VALUE / -2.1 === -0. Actual: +0'); - } -} - -//CHECK#3 -if (Number.MIN_VALUE / 2.0 !== 0) { - $ERROR('#3: Number.MIN_VALUE / 2.0 === 0. Actual: ' + (Number.MIN_VALUE / 2.0)); -} - -//CHECK#4 -if (Number.MIN_VALUE / -2.0 !== -0) { - $ERROR('#4.1: Number.MIN_VALUE / -2.0 === -0. Actual: ' + (Number.MIN_VALUE / -2.0)); -} else { - if (1 / (Number.MIN_VALUE / -2.0) !== Number.NEGATIVE_INFINITY) { - $ERROR('#4.2: Number.MIN_VALUE / -2.0 === -0. Actual: +0'); - } -} - -//CHECK#5 -if (Number.MIN_VALUE / 1.9 !== Number.MIN_VALUE) { - $ERROR('#5: Number.MIN_VALUE / 1.9 === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE / 1.9)); -} - -//CHECK#6 -if (Number.MIN_VALUE / -1.9 !== -Number.MIN_VALUE) { - $ERROR('#6: Number.MIN_VALUE / -1.9 === -Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE / -1.9)); -} - -//CHECK#7 -if (Number.MIN_VALUE / 1.1 !== Number.MIN_VALUE) { - $ERROR('#7: Number.MIN_VALUE / 1.1 === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE / 1.1)); -} - -//CHECK#8 -if (Number.MIN_VALUE / -1.1 !== -Number.MIN_VALUE) { - $ERROR('#8: Number.MIN_VALUE / -1.1 === -Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE / -1.1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T2.js deleted file mode 100644 index f2ca78f2be..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T2; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: The sign of the result is positive if both operands have the same sign, negative if the operands have different signs; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T2.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "The sign of the result is positive if both operands have the same sign, negative if the operands have different signs", - -test: function testcase() { - //CHECK#1 -if (1 / 1 !== 1) { - $ERROR('#1: 1 / 1 === 1. Actual: ' + (1 / 1)); -} - -//CHECK#2 -if (1 / -1 !== -1) { - $ERROR('#2: 1 / -1 === -1. Actual: ' + (1 / -1)); -} - -//CHECK#3 -if (-1 / 1 !== -1) { - $ERROR('#3: -1 / 1 === -1. Actual: ' + (-1 / 1)); -} - -//CHECK#4 -if (-1 / -1 !== 1) { - $ERROR('#4: -1 / -1 === 1. Actual: ' + (-1 / -1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T3.js deleted file mode 100644 index 37e4dfcf81..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T3; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: Division of an infinity by a zero results in an infinity of appropriate sign; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T3.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "Division of an infinity by a zero results in an infinity of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (Number.NEGATIVE_INFINITY / 0 !== Number.NEGATIVE_INFINITY) { - $ERROR('#1: Infinity / 0 === Infinity. Actual: ' + (Infinity / 0)); -} - -//CHECK#2 -if (Number.NEGATIVE_INFINITY / -0 !== Number.POSITIVE_INFINITY) { - $ERROR('#2: -Infinity / -0 === Infinity. Actual: ' + (-Infinity / -0)); -} - -//CHECK#3 -if (Number.POSITIVE_INFINITY / 0 !== Number.POSITIVE_INFINITY) { - $ERROR('#3: Infinity / 0 === Infinity. Actual: ' + (Infinity / 0)); -} - -//CHECK#4 -if (Number.POSITIVE_INFINITY / -0 !== Number.NEGATIVE_INFINITY) { - $ERROR('#4: Infinity / -0 === -Infinity. Actual: ' + (Infinity / -0)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T4.js deleted file mode 100644 index 9e0c3c4d97..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T4; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: Division of an infinity by an infinity results in NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T4", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T4.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "Division of an infinity by an infinity results in NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NEGATIVE_INFINITY / Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#1: -Infinity / -Infinity === Not-a-Number. Actual: ' + (-Infinity / -Infinity)); -} - -//CHECK#2 -if (isNaN(Number.POSITIVE_INFINITY / Number.POSITIVE_INFINITY) !== true) { - $ERROR('#2: Infinity / Infinity === Not-a-Number. Actual: ' + (Infinity / Infinity)); -} - -//CHECK#3 -if (isNaN(Number.NEGATIVE_INFINITY / Number.POSITIVE_INFINITY) !== true) { - $ERROR('#3: -Infinity / Infinity === Not-a-Number. Actual: ' + (-Infinity / Infinity)); -} - -//CHECK#4 -if (isNaN(Number.POSITIVE_INFINITY / Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#4: Infinity / -Infinity === Not-a-Number. Actual: ' + (Infinity / -Infinity)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T5.js deleted file mode 100644 index 17bc12a427..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T5.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T5; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: Division of an infinity by a finite non-zero value results in a signed infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T5", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T5.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "Division of an infinity by a finite non-zero value results in a signed infinity", - -test: function testcase() { - //CHECK#1 -if (Number.NEGATIVE_INFINITY / 1 !== Number.NEGATIVE_INFINITY) { - $ERROR('#1: -Infinity / 1 === -Infinity. Actual: ' + (-Infinity / 1)); -} - -//CHECK#2 -if (Number.NEGATIVE_INFINITY / -1 !== Number.POSITIVE_INFINITY) { - $ERROR('#2: -Infinity / -1 === Infinity. Actual: ' + (-Infinity / -1)); -} - -//CHECK#3 -if (Number.POSITIVE_INFINITY / 1 !== Number.POSITIVE_INFINITY) { - $ERROR('#3: Infinity / 1 === Infinity. Actual: ' + (Infinity / 1)); -} - -//CHECK#4 -if (Number.POSITIVE_INFINITY / -1 !== Number.NEGATIVE_INFINITY) { - $ERROR('#4: Infinity / -1 === -Infinity. Actual: ' + (Infinity / -1)); -} - -//CHECK#5 -if (Number.POSITIVE_INFINITY / -Number.MAX_VALUE !== Number.NEGATIVE_INFINITY) { - $ERROR('#5: Infinity / -Number.MAX_VALUE === -Infinity. Actual: ' + (Infinity / -Number.MAX_VALUE)); -} - -//CHECK#6 -if (Number.NEGATIVE_INFINITY / Number.MIN_VALUE !== Number.NEGATIVE_INFINITY) { - $ERROR('#6: -Infinity / Number.MIN_VALUE === -Infinity. Actual: ' + (-Infinity / Number.MIN_VALUE)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T6.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T6.js deleted file mode 100644 index 93eb854313..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T6.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T6; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: Division of a finite value by an infinity results in zero of appropriate sign; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T6", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T6.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "Division of a finite value by an infinity results in zero of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (1 / Number.NEGATIVE_INFINITY !== -0) { - $ERROR('#1.1: 1 / -Infinity === 0. Actual: ' + (1 / -Infinity)); -} else { - if (1 / (1 / Number.NEGATIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { - $ERROR('#1.2: 1 / -Infinity === - 0. Actual: +0'); - } -} - -//CHECK#2 -if (-1 / Number.NEGATIVE_INFINITY !== +0) { - $ERROR('#2.1: -1 / -Infinity === 0. Actual: ' + (-1 / -Infinity)); -} else { - if (1 / (-1 / Number.NEGATIVE_INFINITY) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: -1 / -Infinity === + 0. Actual: -0'); - } -} - -//CHECK#3 -if (1 / Number.POSITIVE_INFINITY !== +0) { - $ERROR('#3.1: 1 / Infinity === 0. Actual: ' + (1 / Infinity)); -} else { - if (1 / (1 / Number.POSITIVE_INFINITY) !== Number.POSITIVE_INFINITY) { - $ERROR('#3.2: 1 / Infinity === + 0. Actual: -0'); - } -} - -//CHECK#4 -if (-1 / Number.POSITIVE_INFINITY !== -0) { - $ERROR('#4.1: -1 / Infinity === 0. Actual: ' + (-1 / Infinity)); -} else { - if (1 / (-1 / Number.POSITIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { - $ERROR('#4.2: -1 / Infinity === - 0. Actual: +0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T7.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T7.js deleted file mode 100644 index 6c884f48a0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T7; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: Division of a zero by a zero results in NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T7", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T7.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "Division of a zero by a zero results in NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(+0 / +0) !== true) { - $ERROR('#1: +0 / +0 === Not-a-Number. Actual: ' + (+0 / +0)); -} - -//CHECK#2 -if (isNaN(-0 / +0) !== true) { - $ERROR('#2: -0 / +0 === Not-a-Number. Actual: ' + (-0 / +0)); -} - -//CHECK#3 -if (isNaN(+0 / -0) !== true) { - $ERROR('#3: +0 / -0 === Not-a-Number. Actual: ' + (+0 / -0)); -} - -//CHECK#4 -if (isNaN(-0 / -0) !== true) { - $ERROR('#4: -0 / -0 === Not-a-Number. Actual: ' + (-0 / -0)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T8.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T8.js deleted file mode 100644 index dd4819f205..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T8.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T8; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: Division of a zero by any non-zero finite value -0 results in zero of appropriate sign; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T8", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T8.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "Division of a zero by any non-zero finite value -0 results in zero of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (-0 / 1 !== -0) { - $ERROR('#1.1: -0 / 1 === 0. Actual: ' + (-0 / 1)); -} else { - if (1 / (-0 / 1) !== Number.NEGATIVE_INFINITY) { - $ERROR('#1.2: -0 / 1 === - 0. Actual: +0'); - } -} - -//CHECK#2 -if (-0 / -1 !== +0) { - $ERROR('#2.1: -0 / -1 === 0. Actual: ' + (-0 / -1)); -} else { - if (1 / (-0 / -1) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: -0 / -1 === + 0. Actual: -0'); - } -} - -//CHECK#3 -if (+0 / 1 !== +0) { - $ERROR('#3.1: +0 / 1 === 0. Actual: ' + (+0 / 1)); -} else { - if (1 / (+0 / -1) !== Number.NEGATIVE_INFINITY) { - $ERROR('#3.2: +0 / -1 === + 0. Actual: -0'); - } -} - -//CHECK#4 -if (+0 / -1 !== -0) { - $ERROR('#4.1: +0 / -1 === 0. Actual: ' + (+0 / -1)); -} else { - if (1 / (+0 / -1) !== Number.NEGATIVE_INFINITY) { - $ERROR('#4.2: +0 / -1 === - 0. Actual: +0'); - } -} - -//CHECK#5 -if (+0 / -Number.MAX_VALUE !== -0) { - $ERROR('#5.1: 0 / -Number.MAX_VALUE === 0. Actual: ' + (0 / -Number.MAX_VALUE)); -} else { - if (1 / (+0 / -Number.MAX_VALUE) !== Number.NEGATIVE_INFINITY) { - $ERROR('#5.2: +0 / -Number.MAX_VALUE === - 0. Actual: +0'); - } -} - -//CHECK#6 -if (-0 / Number.MIN_VALUE !== -0) { - $ERROR('#6.1: -0 / Number.MIN_VALUE === 0. Actual: ' + (-0 / Number.MIN_VALUE)); -} else { - if (1 / (-0 / Number.MIN_VALUE) !== Number.NEGATIVE_INFINITY) { - $ERROR('#6.2: -0 / Number.MIN_VALUE === - 0. Actual: +0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T9.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T9.js deleted file mode 100644 index d5bd7f7c6a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T9.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.2_A4_T9; - * @section: 11.5.2; - * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; - * @description: If the magnitude is too large to represent, the result is then an infinity of appropriate sign; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.2_A4_T9", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Applying_the_slash_Operator/S11.5.2_A4_T9.js", - -assertion: "The result of division is determined by the specification of IEEE 754 arithmetics", - -description: "If the magnitude is too large to represent, the result is then an infinity of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (Number.MAX_VALUE / 0.9 !== Number.POSITIVE_INFINITY) { - $ERROR('#1: Number.MAX_VALUE / 0.9 === Number.POSITIVE_INFINITY. Actual: ' + (Number.MAX_VALUE / 0.9)); -} - -//CHECK#2 -if (Number.MAX_VALUE / -0.9 !== Number.NEGATIVE_INFINITY) { - $ERROR('#2: Number.MAX_VALUE / -0.9 === Number.NEGATIVE_INFINITY. Actual: ' + (Number.MAX_VALUE / -0.9)); -} - -//CHECK#3 -if (Number.MAX_VALUE / 1 !== Number.MAX_VALUE) { - $ERROR('#3: Number.MAX_VALUE / 1 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE / 1)); -} - -//CHECK#4 -if (Number.MAX_VALUE / -1 !== -Number.MAX_VALUE) { - $ERROR('#4: Number.MAX_VALUE / -1 === -Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE / -1)); -} - -//CHECK#5 -if (Number.MAX_VALUE / (Number.MAX_VALUE / 0.9) === (Number.MAX_VALUE / Number.MAX_VALUE) / 0.9) { - $ERROR('#5: Number.MAX_VALUE / (Number.MAX_VALUE / 0.9) !== (Number.MAX_VALUE / Number.MAX_VALUE) / 0.9'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A1.js deleted file mode 100644 index eba5ed4960..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.5.3_A1; -* @section: 11.5.3, 7.2, 7.3; -* @assertion: White Space and Line Terminator between MultiplicativeExpression and "%" or between "%" and UnaryExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A1.js", - -assertion: "White Space and Line Terminator between MultiplicativeExpression and \"%\" or between \"%\" and UnaryExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("1\u0009%\u00091") !== 0) { - $ERROR('#1: 1\\u0009%\\u00091 === 0'); -} - -//CHECK#2 -if (eval("1\u000B%\u000B1") !== 0) { - $ERROR('#2: 1\\u000B%\\u000B1 === 0'); -} - -//CHECK#3 -if (eval("1\u000C%\u000C1") !== 0) { - $ERROR('#3: 1\\u000C%\\u000C1 === 0'); -} - -//CHECK#4 -if (eval("1\u0020%\u00201") !== 0) { - $ERROR('#4: 1\\u0020%\\u00201 === 0'); -} - -//CHECK#5 -if (eval("1\u00A0%\u00A01") !== 0) { - $ERROR('#5: 1\\u00A0%\\u00A01 === 0'); -} - -//CHECK#6 -if (eval("1\u000A%\u000A1") !== 0) { - $ERROR('#6: 1\\u000A%\\u000A1 === 0'); -} - -//CHECK#7 -if (eval("1\u000D%\u000D1") !== 0) { - $ERROR('#7: 1\\u000D%\\u000D1 === 0'); -} - -//CHECK#8 -if (eval("1\u2028%\u20281") !== 0) { - $ERROR('#8: 1\\u2028%\\u20281 === 0'); -} - -//CHECK#9 -if (eval("1\u2029%\u20291") !== 0) { - $ERROR('#9: 1\\u2029%\\u20291 === 0'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029%\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 0) { - $ERROR('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029%\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T1.js deleted file mode 100644 index 54fbc1e207..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A2.1_T1; - * @section: 11.5.3; - * @assertion: Operator x % y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A2.1_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T1.js", - -assertion: "Operator x % y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (1 % 2 !== 1) { - $ERROR('#1: 1 % 2 === 1. Actual: ' + (1 % 2)); -} - -//CHECK#2 -var x = 1; -if (x % 2 !== 1) { - $ERROR('#2: var x = 1; x % 2 === 1. Actual: ' + (x % 2)); -} - -//CHECK#3 -var y = 2; -if (1 % y !== 1) { - $ERROR('#3: var y = 2; 1 % y === 1. Actual: ' + (1 % y)); -} - -//CHECK#4 -var x = 1; -var y = 2; -if (x % y !== 1) { - $ERROR('#4: var x = 1; var y = 2; x % y === 1. Actual: ' + (x % y)); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 2; -if (objectx.prop % objecty.prop !== 1) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 2; objectx.prop % objecty.prop === 1. Actual: ' + (objectx.prop % objecty.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T2.js deleted file mode 100644 index f8cb2b892f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A2.1_T2; - * @section: 11.5.3; - * @assertion: Operator x % y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A2.1_T2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T2.js", - -assertion: "Operator x % y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x % 1; - $ERROR('#1.1: x % 1 throw ReferenceError. Actual: ' + (x % 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x % 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T3.js deleted file mode 100644 index 8fcf120625..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A2.1_T3; - * @section: 11.5.3; - * @assertion: Operator x % y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A2.1_T3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.1_T3.js", - -assertion: "Operator x % y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 % y; - $ERROR('#1.1: 1 % y throw ReferenceError. Actual: ' + (1 % y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 % y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.2_T1.js deleted file mode 100644 index 0eccf0683b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A2.2_T1; - * @section: 11.5.3, 8.6.2.6; - * @assertion: Operator x % y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A2.2_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.2_T1.js", - -assertion: "Operator x % y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 1}} % 2 !== 1) { - $ERROR('#1: {valueOf: function() {return 1}} % 2 === 1. Actual: ' + ({valueOf: function() {return 1}} % 2)); -} - -//CHECK#2 -if ({valueOf: function() {return 1}, toString: function() {return 0}} % 2 !== 1) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 0}} % 2 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} % 2)); -} - -//CHECK#3 -if ({valueOf: function() {return 1}, toString: function() {return {}}} % 2 !== 1) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} % 2 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} % 2)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 1}, toString: function() {throw "error"}} % 2 !== 1) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} % 2 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} % 2)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} % 2 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} % 2 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 % {toString: function() {return 2}} !== 1) { - $ERROR('#5: 1 % {toString: function() {return 2}} === 1. Actual: ' + (1 % {toString: function() {return 2}})); -} - -//CHECK#6 -if (1 % {valueOf: function() {return {}}, toString: function() {return 2}} !== 1) { - $ERROR('#6: 1 % {valueOf: function() {return {}}, toString: function() {return 2}} === 1. Actual: ' + (1 % {valueOf: function() {return {}}, toString: function() {return 2}})); -} - -//CHECK#7 -try { - 1 % {valueOf: function() {throw "error"}, toString: function() {return 2}}; - $ERROR('#7.1: 1 % {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (1 % {valueOf: function() {throw "error"}, toString: function() {return 2}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 % {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 % {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 % {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 % {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 % {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.3_T1.js deleted file mode 100644 index d1ed2d251a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A2.3_T1; - * @section: 11.5.3; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A2.3_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x % y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x % y throw "x". Actual: ' + (x % y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x % y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T1.js deleted file mode 100644 index 3873268854..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A2.4_T1; - * @section: 11.5.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A2.4_T1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) % x !== 0) { - $ERROR('#1: var x = 0; (x = 1) % x === 0. Actual: ' + ((x = 1) % x)); -} - -//CHECK#2 -var x = 1; -if (x % (x = 2) !== 1) { - $ERROR('#2: var x = 1; x % (x = 2) === 1. Actual: ' + (x % (x = 2))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T2.js deleted file mode 100644 index 84a01d223d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A2.4_T2; - * @section: 11.5.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A2.4_T2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() % y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() % y() throw "x". Actual: ' + (x() % y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() % y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T3.js deleted file mode 100644 index 500361a739..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A2.4_T3; - * @section: 11.5.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A2.4_T3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x % (x = 1); - $ERROR('#1.1: x % (x = 1) throw ReferenceError. Actual: ' + (x % (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x % (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) % y !== 0) { - $ERROR('#2: (y = 1) % y === 0. Actual: ' + ((y = 1) % y)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js deleted file mode 100644 index 79eb231193..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T1.1; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T1.1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true % true !== 0) { - $ERROR('#1: true % true === 0. Actual: ' + (true % true)); -} - -//CHECK#2 -if (new Boolean(true) % true !== 0) { - $ERROR('#2: new Boolean(true) % true === 0. Actual: ' + (new Boolean(true) % true)); -} - -//CHECK#3 -if (true % new Boolean(true) !== 0) { - $ERROR('#3: true % new Boolean(true) === 0. Actual: ' + (true % new Boolean(true))); -} - -//CHECK#4 -if (new Boolean(true) % new Boolean(true) !== 0) { - $ERROR('#4: new Boolean(true) % new Boolean(true) === 0. Actual: ' + (new Boolean(true) % new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.2.js deleted file mode 100644 index fdd9f75bf1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T1.2; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T1.2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.2.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 % 1 !== 0) { - $ERROR('#1: 1 % 1 === 0. Actual: ' + (1 % 1)); -} - -//CHECK#2 -if (new Number(1) % 1 !== 0) { - $ERROR('#2: new Number(1) % 1 === 0. Actual: ' + (new Number(1) % 1)); -} - -//CHECK#3 -if (1 % new Number(1) !== 0) { - $ERROR('#3: 1 % new Number(1) === 0. Actual: ' + (1 % new Number(1))); -} - -//CHECK#4 -if (new Number(1) % new Number(1) !== 0) { - $ERROR('#4: new Number(1) % new Number(1) === 0. Actual: ' + (new Number(1) % new Number(1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.3.js deleted file mode 100644 index b28380d7d2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T1.3; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T1.3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.3.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" % "1" !== 0) { - $ERROR('#1: "1" % "1" === 0. Actual: ' + ("1" % "1")); -} - -//CHECK#2 -if (new String("1") % "1" !== 0) { - $ERROR('#2: new String("1") % "1" === 0. Actual: ' + (new String("1") % "1")); -} - -//CHECK#3 -if ("1" % new String("1") !== 0) { - $ERROR('#3: "1" % new String("1") === 0. Actual: ' + ("1" % new String("1"))); -} - -//CHECK#4 -if (new String("1") % new String("1") !== 0) { - $ERROR('#4: new String("1") % new String("1") === 0. Actual: ' + (new String("1") % new String("1"))); -} - -//CHECK#5 -if (isNaN("x" % "1") !== true) { - $ERROR('#5: "x" % "1" === Not-a-Number. Actual: ' + ("x" % "1")); -} - -//CHECK#6 -if (isNaN("1" % "x") !== true) { - $ERROR('#6: "1" % "x" === Not-a-Number. Actual: ' + ("1" % "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.4.js deleted file mode 100644 index 3f45018945..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T1.4; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T1.4", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.4.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(null % undefined) !== true) { - $ERROR('#1: null % undefined === Not-a-Number. Actual: ' + (null % undefined)); -} - -//CHECK#2 -if (isNaN(undefined % null) !== true) { - $ERROR('#2: undefined % null === Not-a-Number. Actual: ' + (undefined % null)); -} - -//CHECK#3 -if (isNaN(undefined % undefined) !== true) { - $ERROR('#3: undefined % undefined === Not-a-Number. Actual: ' + (undefined % undefined)); -} - -//CHECK#4 -if (isNaN(null % null) !== true) { - $ERROR('#4: null % null === Not-a-Number. Actual: ' + (null % null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.5.js deleted file mode 100644 index 4c7396a599..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T1.5; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) and Type(y) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T1.5", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.5.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) and Type(y) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (isNaN({} % function(){return 1}) !== true) { - $ERROR('#1: {} % function(){return 1} === Not-a-Number. Actual: ' + ({} % function(){return 1})); -} - -//CHECK#2 -if (isNaN(function(){return 1} % {}) !== true) { - $ERROR('#2: function(){return 1} % {} === Not-a-Number. Actual: ' + (function(){return 1} % {})); -} - -//CHECK#3 -if (isNaN(function(){return 1} % function(){return 1}) !== true) { - $ERROR('#3: function(){return 1} % function(){return 1} === Not-a-Number. Actual: ' + (function(){return 1} % function(){return 1})); -} - -//CHECK#4 -if (isNaN({} % {}) !== true) { - $ERROR('#4: {} % {} === Not-a-Number. Actual: ' + ({} % {})); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.1.js deleted file mode 100644 index 45e739bb5c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T2.1; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T2.1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.1.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true % 1 !== 0) { - $ERROR('#1: true % 1 === 0. Actual: ' + (true % 1)); -} - -//CHECK#2 -if (1 % true !== 0) { - $ERROR('#2: 1 % true === 0. Actual: ' + (1 % true)); -} - -//CHECK#3 -if (new Boolean(true) % 1 !== 0) { - $ERROR('#3: new Boolean(true) % 1 === 0. Actual: ' + (new Boolean(true) % 1)); -} - -//CHECK#4 -if (1 % new Boolean(true) !== 0) { - $ERROR('#4: 1 % new Boolean(true) === 0. Actual: ' + (1 % new Boolean(true))); -} - -//CHECK#5 -if (true % new Number(1) !== 0) { - $ERROR('#5: true % new Number(1) === 0. Actual: ' + (true % new Number(1))); -} - -//CHECK#6 -if (new Number(1) % true !== 0) { - $ERROR('#6: new Number(1) % true === 0. Actual: ' + (new Number(1) % true)); -} - -//CHECK#7 -if (new Boolean(true) % new Number(1) !== 0) { - $ERROR('#7: new Boolean(true) % new Number(1) === 0. Actual: ' + (new Boolean(true) % new Number(1))); -} - -//CHECK#8 -if (new Number(1) % new Boolean(true) !== 0) { - $ERROR('#8: new Number(1) % new Boolean(true) === 0. Actual: ' + (new Number(1) % new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.2.js deleted file mode 100644 index 1c69671cd2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T2.2; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T2.2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.2.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" % 1 !== 0) { - $ERROR('#1: "1" % 1 === 0. Actual: ' + ("1" % 1)); -} - -//CHECK#2 -if (1 % "1" !== 0) { - $ERROR('#2: 1 % "1" === 0. Actual: ' + (1 % "1")); -} - -//CHECK#3 -if (new String("1") % 1 !== 0) { - $ERROR('#3: new String("1") % 1 === 0. Actual: ' + (new String("1") % 1)); -} - -//CHECK#4 -if (1 % new String("1") !== 0) { - $ERROR('#4: 1 % new String("1") === 0. Actual: ' + (1 % new String("1"))); -} - -//CHECK#5 -if ("1" % new Number(1) !== 0) { - $ERROR('#5: "1" % new Number(1) === 0. Actual: ' + ("1" % new Number(1))); -} - -//CHECK#6 -if (new Number(1) % "1" !== 0) { - $ERROR('#6: new Number(1) % "1" === 0. Actual: ' + (new Number(1) % "1")); -} - -//CHECK#7 -if (new String("1") % new Number(1) !== 0) { - $ERROR('#7: new String("1") % new Number(1) === 0. Actual: ' + (new String("1") % new Number(1))); -} - -//CHECK#8 -if (new Number(1) % new String("1") !== 0) { - $ERROR('#8: new Number(1) % new String("1") === 0. Actual: ' + (new Number(1) % new String("1"))); -} - -//CHECK#9 -if (isNaN("x" % 1) !== true) { - $ERROR('#9: "x" % 1 === Not-a-Number. Actual: ' + ("x" % 1)); -} - -//CHECK#10 -if (isNaN(1 % "x") !== true) { - $ERROR('#10: 1 % "x" === Not-a-Number. Actual: ' + (1 % "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.3.js deleted file mode 100644 index 233fcc2cc3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T2.3; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T2.3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.3.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (isNaN(1 % null) !== true) { - $ERROR('#1: 1 % null === Not-a-Number. Actual: ' + (1 % null)); -} - -//CHECK#2 -if (null % 1 !== 0) { - $ERROR('#2: null % 1 === 0. Actual: ' + (null % 1)); -} - -//CHECK#3 -if (isNaN(new Number(1) % null) !== true) { - $ERROR('#3: new Number(1) % null === Not-a-Number. Actual: ' + (new Number(1) % null)); -} - -//CHECK#4 -if (null % new Number(1) !== 0) { - $ERROR('#4: null % new Number(1) === 0. Actual: ' + (null % new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.4.js deleted file mode 100644 index 830762c8cf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T2.4; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T2.4", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.4.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(1 % undefined) !== true) { - $ERROR('#1: 1 % undefined === Not-a-Number. Actual: ' + (1 % undefined)); -} - -//CHECK#2 -if (isNaN(undefined % 1) !== true) { - $ERROR('#2: undefined % 1 === Not-a-Number. Actual: ' + (undefined % 1)); -} - -//CHECK#3 -if (isNaN(new Number(1) % undefined) !== true) { - $ERROR('#3: new Number(1) % undefined === Not-a-Number. Actual: ' + (new Number(1) % undefined)); -} - -//CHECK#4 -if (isNaN(undefined % new Number(1)) !== true) { - $ERROR('#4: undefined % new Number(1) === Not-a-Number. Actual: ' + (undefined % new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.5.js deleted file mode 100644 index 29aae8f7a2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T2.5; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T2.5", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.5.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true % "1" !== 0) { - $ERROR('#1: true % "1" === 0. Actual: ' + (true % "1")); -} - -//CHECK#2 -if ("1" % true !== 0) { - $ERROR('#2: "1" % true === 0. Actual: ' + ("1" % true)); -} - -//CHECK#3 -if (new Boolean(true) % "1" !== 0) { - $ERROR('#3: new Boolean(true) % "1" === 0. Actual: ' + (new Boolean(true) % "1")); -} - -//CHECK#4 -if ("1" % new Boolean(true) !== 0) { - $ERROR('#4: "1" % new Boolean(true) === 0. Actual: ' + ("1" % new Boolean(true))); -} - -//CHECK#5 -if (true % new String("1") !== 0) { - $ERROR('#5: true % new String("1") === 0. Actual: ' + (true % new String("1"))); -} - -//CHECK#6 -if (new String("1") % true !== 0) { - $ERROR('#6: new String("1") % true === 0. Actual: ' + (new String("1") % true)); -} - -//CHECK#7 -if (new Boolean(true) % new String("1") !== 0) { - $ERROR('#7: new Boolean(true) % new String("1") === 0. Actual: ' + (new Boolean(true) % new String("1"))); -} - -//CHECK#8 -if (new String("1") % new Boolean(true) !== 0) { - $ERROR('#8: new String("1") % new Boolean(true) === 0. Actual: ' + (new String("1") % new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.6.js deleted file mode 100644 index d28e649f84..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T2.6; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T2.6", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.6.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN("1" % undefined) !== true) { - $ERROR('#1: "1" % undefined === Not-a-Number. Actual: ' + ("1" % undefined)); -} - -//CHECK#2 -if (isNaN(undefined % "1") !== true) { - $ERROR('#2: undefined % "1" === Not-a-Number. Actual: ' + (undefined % "1")); -} - -//CHECK#3 -if (isNaN(new String("1") % undefined) !== true) { - $ERROR('#3: new String("1") % undefined === Not-a-Number. Actual: ' + (new String("1") % undefined)); -} - -//CHECK#4 -if (isNaN(undefined % new String("1")) !== true) { - $ERROR('#4: undefined % new String("1") === Not-a-Number. Actual: ' + (undefined % new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.7.js deleted file mode 100644 index 827ed8062e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T2.7; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T2.7", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.7.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (isNaN("1" % null) !== true) { - $ERROR('#1: "1" % null === Not-a-Number. Actual: ' + ("1" % null)); -} - -//CHECK#2 -if (null % "1" !== 0) { - $ERROR('#2: null % "1" === 0. Actual: ' + (null % "1")); -} - -//CHECK#3 -if (isNaN(new String("1") % null) !== true) { - $ERROR('#3: new String("1") % null === Not-a-Number. Actual: ' + (new String("1") % null)); -} - -//CHECK#4 -if (null % new String("1") !== 0) { - $ERROR('#4: null % new String("1") === 0. Actual: ' + (null % new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.8.js deleted file mode 100644 index 021017b057..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T2.8; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T2.8", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.8.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(true % undefined) !== true) { - $ERROR('#1: true % undefined === Not-a-Number. Actual: ' + (true % undefined)); -} - -//CHECK#2 -if (isNaN(undefined % true) !== true) { - $ERROR('#2: undefined % true === Not-a-Number. Actual: ' + (undefined % true)); -} - -//CHECK#3 -if (isNaN(new Boolean(true) % undefined) !== true) { - $ERROR('#3: new Boolean(true) % undefined === Not-a-Number. Actual: ' + (new Boolean(true) % undefined)); -} - -//CHECK#4 -if (isNaN(undefined % new Boolean(true)) !== true) { - $ERROR('#4: undefined % new Boolean(true) === Not-a-Number. Actual: ' + (undefined % new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.9.js deleted file mode 100644 index ae016b048f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A3_T2.9; - * @section: 11.5.3; - * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A3_T2.9", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T2.9.js", - -assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (isNaN(true % null) !== true) { - $ERROR('#1: true % null === Not-a-Number. Actual: ' + (true % null)); -} - -//CHECK#2 -if (null % true !== 0) { - $ERROR('#2: null % true === 0. Actual: ' + (null % true)); -} - -//CHECK#3 -if (isNaN(new Boolean(true) % null) !== true) { - $ERROR('#3: new Boolean(true) % null === Not-a-Number. Actual: ' + (new Boolean(true) % null)); -} - -//CHECK#4 -if (null % new Boolean(true) !== 0) { - $ERROR('#4: null % new Boolean(true) === 0. Actual: ' + (null % new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.1.js deleted file mode 100644 index ee8f83f4ef..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A4_T1.1; - * @section: 11.5.3; - * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; - * @description: If either operand is NaN, the result is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A4_T1.1", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.1.js", - -assertion: "The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics", - -description: "If either operand is NaN, the result is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NaN % Number.NaN) !== true) { - $ERROR('#1: NaN % NaN === Not-a-Number. Actual: ' + (NaN % NaN)); -} - -//CHECK#2 -if (isNaN(Number.NaN % +0) !== true) { - $ERROR('#2: NaN % +0 === Not-a-Number. Actual: ' + (NaN % +0)); -} - -//CHECK#3 -if (isNaN(Number.NaN % -0) !== true) { - $ERROR('#3: NaN % -0 === Not-a-Number. Actual: ' + (NaN % -0)); -} - -//CHECK#4 -if (isNaN(Number.NaN % Number.POSITIVE_INFINITY) !== true) { - $ERROR('#4: NaN % Infinity === Not-a-Number. Actual: ' + (NaN % Infinity)); -} - -//CHECK#5 -if (isNaN(Number.NaN % Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#5: NaN % -Infinity === Not-a-Number. Actual: ' + (NaN % -Infinity)); -} - -//CHECK#6 -if (isNaN(Number.NaN % Number.MAX_VALUE) !== true) { - $ERROR('#6: NaN % Number.MAX_VALUE === Not-a-Number. Actual: ' + (NaN % Number.MAX_VALUE)); -} - -//CHECK#7 -if (isNaN(Number.NaN % Number.MIN_VALUE) !== true) { - $ERROR('#7: NaN % Number.MIN_VALUE === Not-a-Number. Actual: ' + (NaN % Number.MIN_VALUE)); -} - -//CHECK#8 -if (isNaN(Number.NaN % 1) !== true) { - $ERROR('#8: NaN % 1 === Not-a-Number. Actual: ' + (NaN % 1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.2.js deleted file mode 100644 index ba7c7ec791..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A4_T1.2; - * @section: 11.5.3; - * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; - * @description: If either operand is NaN, the result is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A4_T1.2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T1.2.js", - -assertion: "The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics", - -description: "If either operand is NaN, the result is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NaN % Number.NaN) !== true) { - $ERROR('#1: NaN % NaN === Not-a-Number. Actual: ' + (NaN % NaN)); -} - -//CHECK#2 -if (isNaN(+0 % Number.NaN) !== true) { - $ERROR('#2: +0 % NaN === Not-a-Number. Actual: ' + (+0 % NaN)); -} - -//CHECK#3 -if (isNaN(-0 % Number.NaN) !== true) { - $ERROR('#3: -0 % NaN === Not-a-Number. Actual: ' + (-0 % NaN)); -} - -//CHECK#4 -if (isNaN(Number.POSITIVE_INFINITY % Number.NaN) !== true) { - $ERROR('#4: Infinity % NaN === Not-a-Number. Actual: ' + (Infinity % NaN)); -} - -//CHECK#5 -if (isNaN(Number.NEGATIVE_INFINITY % Number.NaN) !== true) { - $ERROR('#5: -Infinity % NaN === Not-a-Number. Actual: ' + ( -Infinity % NaN)); -} - -//CHECK#6 -if (isNaN(Number.MAX_VALUE % Number.NaN) !== true) { - $ERROR('#6: Number.MAX_VALUE % NaN === Not-a-Number. Actual: ' + (Number.MAX_VALUE % NaN)); -} - -//CHECK#7 -if (isNaN(Number.MIN_VALUE % Number.NaN) !== true) { - $ERROR('#7: Number.MIN_VALUE % NaN === Not-a-Number. Actual: ' + (Number.MIN_VALUE % NaN)); -} - -//CHECK#8 -if (isNaN(1 % Number.NaN) !== true) { - $ERROR('#8: 1 % NaN === Not-a-Number. Actual: ' + (1 % NaN)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T2.js deleted file mode 100644 index fa1b6d6c3c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T2.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A4_T2; - * @section: 11.5.3; - * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; - * @description: The sign of the finite non-zero value result equals the sign of the divided; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A4_T2", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T2.js", - -assertion: "The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics", - -description: "The sign of the finite non-zero value result equals the sign of the divided", - -test: function testcase() { - //CHECK#1 -if (1 % 1 !== 0) { - $ERROR('#1.1: 1 % 1 === 0. Actual: ' + (1 % 1)); -} else { - if (1 / (1 % 1) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: 1 % 1 === + 0. Actual: -0'); - } -} - -//CHECK#2 -if (-1 % -1 !== -0) { - $ERROR('#2.1: -1 % -1 === 0. Actual: ' + (-1 % -1)); -} else { - if (1 / (-1 % -1) !== Number.NEGATIVE_INFINITY) { - $ERROR('#2.2: -1 % -1 === - 0. Actual: +0'); - } -} - -//CHECK#3 -if (-1 % 1 !== -0) { - $ERROR('#3.1: -1 % 1 === 0. Actual: ' + (-1 % 1)); -} else { - if (1 / (-1 % 1) !== Number.NEGATIVE_INFINITY) { - $ERROR('#3.2: -1 % 1 === - 0. Actual: +0'); - } -} - -//CHECK#4 -if (1 % -1 !== 0) { - $ERROR('#4.1: 1 % -1 === 0. Actual: ' + (1 % -1)); -} else { - if (1 / (1 % -1) !== Number.POSITIVE_INFINITY) { - $ERROR('#4.2: 1 % -1 === + 0. Actual: -0'); - } -} - -//CHECK#5 -if (101 % 51 !== 50) { - $ERROR('#5: 101 % 51 === 50. Actual: ' + (101 % 51)); -} - -//CHECK#6 -if (101 % -51 !== 50) { - $ERROR('#6: 101 % -51 === 50. Actual: ' + (101 % -51)); -} - -//CHECK#7 -if (-101 % 51 !== -50) { - $ERROR('#7: -101 % 51 === -50. Actual: ' + (-101 % 51)); -} - -//CHECK#8 -if (-101 % -51 !== -50) { - $ERROR('#8: -101 % -51 === -50. Actual: ' + (-101 % -51)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T3.js deleted file mode 100644 index f84948d3b0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T3.js +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A4_T3; - * @section: 11.5.3; - * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; - * @description: If the dividend is an infinity results is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A4_T3", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T3.js", - -assertion: "The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics", - -description: "If the dividend is an infinity results is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NEGATIVE_INFINITY % Number.POSITIVE_INFINITY) !== true) { - $ERROR('#1: -Infinity % Infinity === Not-a-Number. Actual: ' + (-Infinity % Infinity)); -} - -//CHECK#2 -if (isNaN(Number.NEGATIVE_INFINITY % Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#2: -Infinity % -Infinity === Not-a-Number. Actual: ' + (-Infinity % -Infinity)); -} - -//CHECK#3 -if (isNaN(Number.POSITIVE_INFINITY % Number.POSITIVE_INFINITY) !== true) { - $ERROR('#3: Infinity % Infinity === Not-a-Number. Actual: ' + (Infinity % Infinity)); -} - -//CHECK#4 -if (isNaN(Number.POSITIVE_INFINITY % Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#4: Infinity % -Infinity === Not-a-Number. Actual: ' + (Infinity % -Infinity)); -} - -//CHECK#5 -if (isNaN(Number.NEGATIVE_INFINITY % 1) !== true) { - $ERROR('#5: Infinity % 1 === Not-a-Number. Actual: ' + (Infinity % 1)); -} - -//CHECK#6 -if (isNaN(Number.NEGATIVE_INFINITY % -1) !== true) { - $ERROR('#6: -Infinity % -1 === Not-a-Number. Actual: ' + (-Infinity % -1)); -} - -//CHECK#7 -if (isNaN(Number.POSITIVE_INFINITY % 1) !== true) { - $ERROR('#7: Infinity % 1 === Not-a-Number. Actual: ' + (Infinity % 1)); -} - -//CHECK#8 -if (isNaN(Number.POSITIVE_INFINITY % -1) !== true) { - $ERROR('#8: Infinity % -1 === Not-a-Number. Actual: ' + (Infinity % -1)); -} - -//CHECK#9 -if (isNaN(Number.NEGATIVE_INFINITY % Number.MAX_VALUE) !== true) { - $ERROR('#9: Infinity % Number.MAX_VALUE === Not-a-Number. Actual: ' + (Infinity % Number.MAX_VALUE)); -} - -//CHECK#10 -if (isNaN(Number.NEGATIVE_INFINITY % -Number.MAX_VALUE) !== true) { - $ERROR('#10: -Infinity % -Number.MAX_VALUE === Not-a-Number. Actual: ' + (-Infinity % -Number.MAX_VALUE)); -} - -//CHECK#11 -if (isNaN(Number.POSITIVE_INFINITY % Number.MAX_VALUE) !== true) { - $ERROR('#11: Infinity % Number.MAX_VALUE === Not-a-Number. Actual: ' + (Infinity % Number.MAX_VALUE)); -} - -//CHECK#12 -if (isNaN(Number.POSITIVE_INFINITY % -Number.MAX_VALUE) !== true) { - $ERROR('#12: Infinity % -Number.MAX_VALUE === Not-a-Number. Actual: ' + (Infinity % -Number.MAX_VALUE)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T4.js deleted file mode 100644 index ee2bd3d85d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T4.js +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A4_T4; - * @section: 11.5.3; - * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; - * @description: If the divisor is zero results is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A4_T4", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T4.js", - -assertion: "The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics", - -description: "If the divisor is zero results is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(-0 % 0) !== true) { - $ERROR('#1: -0 % 0 === Not-a-Number. Actual: ' + (-0 % 0)); -} - -//CHECK#2 -if (isNaN(-0 % -0) !== true) { - $ERROR('#2: -0 % -0 === Not-a-Number. Actual: ' + (-0 % -0)); -} - -//CHECK#3 -if (isNaN(0 % 0) !== true) { - $ERROR('#3: 0 % 0 === Not-a-Number. Actual: ' + (0 % 0)); -} - -//CHECK#4 -if (isNaN(0 % -0) !== true) { - $ERROR('#4: 0 % -0 === Not-a-Number. Actual: ' + (0 % -0)); -} - -//CHECK#5 -if (isNaN(-1 % 0) !== true) { - $ERROR('#5: 1 % 0 === Not-a-Number. Actual: ' + (1 % 0)); -} - -//CHECK#6 -if (isNaN(-1 % -0) !== true) { - $ERROR('#6: -1 % -0 === Not-a-Number. Actual: ' + (-1 % -0)); -} - -//CHECK#7 -if (isNaN(1 % 0) !== true) { - $ERROR('#7: 1 % 0 === Not-a-Number. Actual: ' + (1 % 0)); -} - -//CHECK#8 -if (isNaN(1 % -0) !== true) { - $ERROR('#8: 1 % -0 === Not-a-Number. Actual: ' + (1 % -0)); -} - -//CHECK#9 -if (isNaN(Number.NEGATIVE_INFINITY % 0) !== true) { - $ERROR('#9: Infinity % 0 === Not-a-Number. Actual: ' + (Infinity % 0)); -} - -//CHECK#10 -if (isNaN(Number.NEGATIVE_INFINITY % -0) !== true) { - $ERROR('#10: -Infinity % -0 === Not-a-Number. Actual: ' + (-Infinity % -0)); -} - -//CHECK#11 -if (isNaN(Number.POSITIVE_INFINITY % 0) !== true) { - $ERROR('#11: Infinity % 0 === Not-a-Number. Actual: ' + (Infinity % 0)); -} - -//CHECK#12 -if (isNaN(Number.POSITIVE_INFINITY % -0) !== true) { - $ERROR('#12: Infinity % -0 === Not-a-Number. Actual: ' + (Infinity % -0)); -} - -//CHECK#13 -if (isNaN(Number.MIN_VALUE % 0) !== true) { - $ERROR('#13: Number.MIN_VALUE % 0 === Not-a-Number. Actual: ' + (Number.MIN_VALUE % 0)); -} - -//CHECK#14 -if (isNaN(Number.MIN_VALUE % -0) !== true) { - $ERROR('#14: -Number.MIN_VALUE % -0 === Not-a-Number. Actual: ' + (-Number.MIN_VALUE % -0)); -} - -//CHECK#15 -if (isNaN(Number.MAX_VALUE % 0) !== true) { - $ERROR('#15: Number.MAX_VALUE % 0 === Not-a-Number. Actual: ' + (Number.MAX_VALUE % 0)); -} - -//CHECK#16 -if (isNaN(Number.MAX_VALUE % -0) !== true) { - $ERROR('#16: Number.MAX_VALUE % -0 === Not-a-Number. Actual: ' + (Number.MAX_VALUE % -0)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T5.js deleted file mode 100644 index 743380ae80..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T5.js +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A4_T5; - * @section: 11.5.3; - * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; - * @description: If dividend is finite and the divisor is an infinity, the result equals the dividend; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A4_T5", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T5.js", - -assertion: "The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics", - -description: "If dividend is finite and the divisor is an infinity, the result equals the dividend", - -test: function testcase() { - //CHECK#1 -if (1 % Number.NEGATIVE_INFINITY !== 1) { - $ERROR('#1: 1 % -Infinity === 1. Actual: ' + (1 % -Infinity)); -} -//CHECK#2 -if (1 % Number.POSITIVE_INFINITY !==1) { - $ERROR('#2: 1 % Infinity === 1. Actual: ' + (1 % Infinity)); -} - -//CHECK#3 -if (-1 % Number.POSITIVE_INFINITY !== -1) { - $ERROR('#3: -1 % Infinity === -1. Actual: ' + (-1 % Infinity)); -} - -//CHECK#4 -if (-1 % Number.NEGATIVE_INFINITY !== -1) { - $ERROR('#4: -1 % -Infinity === -1. Actual: ' + (-1 % -Infinity)); -} - -//CHECK#5 -if (0 % Number.POSITIVE_INFINITY !== 0) { - $ERROR('#5.1: 0 % Infinity === 0. Actual: ' + (0 % Infinity)); -} else { - if (1 / (0 % Number.POSITIVE_INFINITY) !== Number.POSITIVE_INFINITY) { - $ERROR('#5.2: 0 % Infinity === + 0. Actual: -0'); - } -} - -//CHECK#6 -if (0 % Number.NEGATIVE_INFINITY !== 0) { - $ERROR('#6.1: 0 % -Infinity === 0. Actual: ' + (0 % -Infinity)); -} else { - if (1 / (0 % Number.NEGATIVE_INFINITY) !== Number.POSITIVE_INFINITY) { - $ERROR('#6.2: 0 % -Infinity === + 0. Actual: -0'); - } -} - -//CHECK#7 -if (-0 % Number.POSITIVE_INFINITY !== -0) { - $ERROR('#7.1: -0 % Infinity === 0. Actual: ' + (-0 % Infinity)); -} else { - if (1 / (-0 % Number.POSITIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { - $ERROR('#7.2: -0 % Infinity === - 0. Actual: +0'); - } -} - -//CHECK#8 -if (-0 % Number.NEGATIVE_INFINITY !== -0) { - $ERROR('#8.1: -0 % -Infinity === 0. Actual: ' + (-0 % -Infinity)); -} else { - if (1 / (-0 % Number.NEGATIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { - $ERROR('#8.2: -0 % -Infinity === - 0. Actual: +0'); - } -} - -//CHECK#9 -if (Number.MAX_VALUE % Number.NEGATIVE_INFINITY !== Number.MAX_VALUE) { - $ERROR('#9: Number.MAX_VALUE % -Infinity === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE % -Infinity)); -} - -//CHECK#10 -if (Number.MAX_VALUE % Number.POSITIVE_INFINITY !== Number.MAX_VALUE) { - $ERROR('#10: Number.MAX_VALUE % Infinity === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE % Infinity)); -} - -//CHECK#11 -if (-Number.MAX_VALUE % Number.POSITIVE_INFINITY !== -Number.MAX_VALUE) { - $ERROR('#11: -Number.MAX_VALUE % Infinity === -Number.MAX_VALUE. Actual: ' + (-Number.MAX_VALUE % Infinity)); -} - -//CHECK#12 -if (-Number.MAX_VALUE % Number.NEGATIVE_INFINITY !== -Number.MAX_VALUE) { - $ERROR('#12: -Number.MAX_VALUE % -Infinity === -Number.MAX_VALUE. Actual: ' + (-Number.MAX_VALUE % -Infinity)); -} - -//CHECK#13 -if (Number.MIN_VALUE % Number.NEGATIVE_INFINITY !== Number.MIN_VALUE) { - $ERROR('#13: Number.MIN_VALUE % -Infinity === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE % -Infinity)); -} -//CHECK#14 -if (Number.MIN_VALUE % Number.POSITIVE_INFINITY !== Number.MIN_VALUE) { - $ERROR('#14: Number.MIN_VALUE % Infinity === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE % Infinity)); -} - -//CHECK#15 -if (-Number.MIN_VALUE % Number.POSITIVE_INFINITY !== -Number.MIN_VALUE) { - $ERROR('#15: -Number.MIN_VALUE % Infinity === -Number.MIN_VALUE. Actual: ' + (-Number.MIN_VALUE % Infinity)); -} - -//CHECK#16 -if (-Number.MIN_VALUE % Number.NEGATIVE_INFINITY !== -Number.MIN_VALUE) { - $ERROR('#16: -Number.MIN_VALUE % -Infinity === -Number.MIN_VALUE. Actual: ' + (-Number.MIN_VALUE % -Infinity)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T6.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T6.js deleted file mode 100644 index 0e13756951..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T6.js +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A4_T6; - * @section: 11.5.3; - * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; - * @description: If dividend is a zero and the divisor is nonzero finite, the result equals the dividend; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A4_T6", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T6.js", - -assertion: "The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics", - -description: "If dividend is a zero and the divisor is nonzero finite, the result equals the dividend", - -test: function testcase() { - //CHECK#1 -if (0 % 1 !== 0) { - $ERROR('#1.1: 0 % 1 === 0. Actual: ' + (0 % 1)); -} else { - if (1 / (0 % 1) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: 0 % 1 === + 0. Actual: -0'); - } -} - -//CHECK#2 -if (0 % -1 !== 0) { - $ERROR('#2.1: 0 % -1 === 0. Actual: ' + (0 % -1)); -} else { - if (1 / (0 % -1) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: 0 % -1 === + 0. Actual: -0'); - } -} - -//CHECK#3 -if (-0 % 1 !== -0) { - $ERROR('#3.1: -0 % 1 === 0. Actual: ' + (-0 % 1)); -} else { - if (1 / (-0 % 1) !== Number.NEGATIVE_INFINITY) { - $ERROR('#3.2: -0 % 1 === - 0. Actual: +0'); - } -} - -//CHECK#4 -if (-0 % -1 !== -0) { - $ERROR('#4.1: -0 % -1 === 0. Actual: ' + (-0 % -1)); -} else { - if (1 / (-0 % -1) !== Number.NEGATIVE_INFINITY) { - $ERROR('#4.2: 0 % -1 === - 0. Actual: +0'); - } -} - -//CHECK#5 -if (0 % Number.MAX_VALUE !== 0) { - $ERROR('#5.1: 0 % Number.MAX_VALUE === 0. Actual: ' + (0 % Number.MAX_VALUE)); -} else { - if (1 / (0 % Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { - $ERROR('#5.2: 0 % Number.MAX_VALUE === + 0. Actual: -0'); - } -} - -//CHECK#6 -if (0 % Number.MIN_VALUE !== 0) { - $ERROR('#6.1: 0 % Number.MIN_VALUE === 0. Actual: ' + (0 % Number.MIN_VALUE)); -} else { - if (1 / (0 % Number.MIN_VALUE) !== Number.POSITIVE_INFINITY) { - $ERROR('#6.2: 0 % Number.MIN_VALUE === + 0. Actual: -0'); - } -} - -//CHECK#7 -if (-0 % Number.MAX_VALUE !== -0) { - $ERROR('#7.1: -0 % Number.MAX_VALUE === 0. Actual: ' + (-0 % Number.MAX_VALUE)); -} else { - if (1 / (-0 % Number.MAX_VALUE) !== Number.NEGATIVE_INFINITY) { - $ERROR('#7.2: -0 % Number.MAX_VALUE === - 0. Actual: +0'); - } -} - -//CHECK#8 -if (-0 % Number.MIN_VALUE !== -0) { - $ERROR('#8.1: -0 % Number.MIN_VALUE === 0. Actual: ' + (-0 % Number.MIN_VALUE)); -} else { - if (1 / (-0 % Number.MIN_VALUE) !== Number.NEGATIVE_INFINITY) { - $ERROR('#8.2: 0 % Number.MIN_VALUE === - 0. Actual: +0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T7.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T7.js deleted file mode 100644 index ef945d1395..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T7.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.5.3_A4_T7; - * @section: 11.5.3, 15.8.2.9; - * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; - * @description: If operands neither an infinity, nor a zero, nor NaN, return x - truncate(x / y) * y; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.5.3_A4_T7", - -path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T7.js", - -assertion: "The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics", - -description: "If operands neither an infinity, nor a zero, nor NaN, return x - truncate(x / y) * y", - -test: function testcase() { - function truncate(x) { - if (x > 0) { - return Math.floor(x); - } else { - return Math.ceil(x); - } -} - -//CHECK#1 -x = 1.3; -y = 1.1; -if (x % y !== 0.19999999999999996) { - $ERROR('#1: x = 1.3; y = 1.1; x % y === 0.19999999999999996. Actual: ' + (x % y)); -} - -//CHECK#2 -x = -1.3; -y = 1.1; -if (x % y !== -0.19999999999999996) { - $ERROR('#2: x = -1.3; y = 1.1; x % y === -0.19999999999999996. Actual: ' + (x % y)); -} - -//CHECK#3 -x = 1.3; -y = -1.1; -if (x % y !== 0.19999999999999996) { - $ERROR('#3: x = 1.3; y = -1.1; x % y === 0.19999999999999996. Actual: ' + (x % y)); -} - -//CHECK#4 -x = -1.3; -y = -1.1; -if (x % y !== -0.19999999999999996) { - $ERROR('#4: x = -1.3; y = -1.1; x % y === -0.19999999999999996. Actual: ' + (x % y)); -} - -//CHECK#5 -x = 1.3; -y = 1.1; -if (x % y !== x - truncate(x / y) * y) { - $ERROR('#5: x = 1.3; y = 1.1; x % y === x - truncate(x / y) * y. Actual: ' + (x % y)); -} - -//CHECK#6 -x = -1.3; -y = 1.1; -if (x % y !== x - truncate(x / y) * y) { - $ERROR('#6: x = -1.3; y = 1.1; x % y === x - truncate(x / y) * y. Actual: ' + (x % y)); -} - -//CHECK#7 -x = 1.3; -y = -1.1; -if (x % y !== x - truncate(x / y) * y) { - $ERROR('#7: x = 1.3; y = -1.1; x % y === x - truncate(x / y) * y. Actual: ' + (x % y)); -} - -//CHECK#8 -x = -1.3; -y = -1.1; -if (x % y !== x - truncate(x / y) * y) { - $ERROR('#8: x = -1.3; y = -1.1; x % y === x - truncate(x / y) * y. Actual: ' + (x % y)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.js deleted file mode 100644 index 03b7581b5e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A1; -* @section: 11.6.1, 7.2, 7.3; -* @assertion: White Space and Line Terminator between AdditiveExpression and "+" or between "+" and MultiplicativeExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.js", - -assertion: "White Space and Line Terminator between AdditiveExpression and \"+\" or between \"+\" and MultiplicativeExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("1\u0009+\u00091") !== 2) { - $ERROR('#1: 1\\u0009+\\u00091 === 2'); -} - -//CHECK#2 -if (eval("1\u000B+\u000B1") !== 2) { - $ERROR('#2: 1\\u000B+\\u000B1 === 2'); -} - -//CHECK#3 -if (eval("1\u000C+\u000C1") !== 2) { - $ERROR('#3: 1\\u000C+\\u000C1 === 2'); -} - -//CHECK#4 -if (eval("1\u0020+\u00201") !== 2) { - $ERROR('#4: 1\\u0020+\\u00201 === 2'); -} - -//CHECK#5 -if (eval("1\u00A0+\u00A01") !== 2) { - $ERROR('#5: 1\\u00A0+\\u00A01 === 2'); -} - -//CHECK#6 -if (eval("1\u000A+\u000A1") !== 2) { - $ERROR('#6: 1\\u000A+\\u000A1 === 2'); -} - -//CHECK#7 -if (eval("1\u000D+\u000D1") !== 2) { - $ERROR('#7: 1\\u000D+\\u000D1 === 2'); -} - -//CHECK#8 -if (eval("1\u2028+\u20281") !== 2) { - $ERROR('#8: 1\\u2028+\\u20281 === 2'); -} - -//CHECK#9 -if (eval("1\u2029+\u20291") !== 2) { - $ERROR('#9: 1\\u2029+\\u20291 === 2'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029+\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 2) { - $ERROR('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029+\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.js deleted file mode 100644 index 0fcfc187f9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A2.1_T1; -* @section: 11.6.1; -* @assertion: Operator x + y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.1_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.js", - -assertion: "Operator x + y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (1 + 1 !== 2) { - $ERROR('#1: 1 + 1 === 2. Actual: ' + (1 + 1)); -} - -//CHECK#2 -var x = 1; -if (x + 1 !== 2) { - $ERROR('#2: var x = 1; x + 1 === 2. Actual: ' + (x + 1)); -} - -//CHECK#3 -var y = 1; -if (1 + y !== 2) { - $ERROR('#3: var y = 1; 1 + y === 2. Actual: ' + (1 + y)); -} - -//CHECK#4 -var x = 1; -var y = 1; -if (x + y !== 2) { - $ERROR('#4: var x = 1; var y = 1; x + y === 2. Actual: ' + (x + y)); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if (objectx.prop + objecty.prop !== 2) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop + objecty.prop === 2. Actual: ' + (objectx.prop + objecty.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.js deleted file mode 100644 index 799f3bd890..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A2.1_T2; - * @section: 11.6.1; - * @assertion: Operator x + y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.1_T2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.js", - -assertion: "Operator x + y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x + 1; - $ERROR('#1.1: x + 1 throw ReferenceError. Actual: ' + (x + 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x + 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.js deleted file mode 100644 index 9e2ba03ae4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A2.1_T3; - * @section: 11.6.1; - * @assertion: Operator x + y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.1_T3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.js", - -assertion: "Operator x + y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 + y; - $ERROR('#1.1: 1 + y throw ReferenceError. Actual: ' + (1 + y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 + y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.js deleted file mode 100644 index 644e0ccbcb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A2.2_T1; - * @section: 11.6.1, 8.6.2.6; - * @assertion: Operator x + y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.2_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.js", - -assertion: "Operator x + y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 1}} + 1 !== 2) { - $ERROR('#1: {valueOf: function() {return 1}} + 1 === 2. Actual: ' + ({valueOf: function() {return 1}} + 1)); -} - -//CHECK#2 -if ({valueOf: function() {return 1}, toString: function() {return 0}} + 1 !== 2) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 0}} + 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} + 1)); -} - -//CHECK#3 -if ({valueOf: function() {return 1}, toString: function() {return {}}} + 1 !== 2) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} + 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} + 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 1}, toString: function() {throw "error"}} + 1 !== 2) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} + 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} + 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} + 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} + 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 + {toString: function() {return 1}} !== 2) { - $ERROR('#5: 1 + {toString: function() {return 1}} === 2. Actual: ' + (1 + {toString: function() {return 1}})); -} - -//CHECK#6 -if (1 + {valueOf: function() {return {}}, toString: function() {return 1}} !== 2) { - $ERROR('#6: 1 + {valueOf: function() {return {}}, toString: function() {return 1}} === 2. Actual: ' + (1 + {valueOf: function() {return {}}, toString: function() {return 1}})); -} - -//CHECK#7 -try { - 1 + {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: 1 + {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 + {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 + {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 + {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 + {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 + {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 + {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.js deleted file mode 100644 index cd2d0a5d2f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A2.2_T2; -* @section: 11.6.1, 8.6.2.6; - * @assertion: Operator x + y uses [[Default Value]]; - * @description: If Type(value) is Date object, evaluate ToPrimitive(value, String); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.2_T2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.js", - -assertion: "Operator x + y uses [[Default Value]]", - -description: "If Type(value) is Date object, evaluate ToPrimitive(value, String)", - -test: function testcase() { - //CHECK#1 -var date = new Date(); -if (date + date !== date.toString() + date.toString()) { - $ERROR('#1: var date = new Date(); date + date === date.toString() + date.toString(). Actual: ' + (date + date)); -} - -//CHECK#2 -var date = new Date(); -if (date + 0 !== date.toString() + "0") { - $ERROR('#2: var date = new Date(); date + 0 === date.toString() + "0". Actual: ' + (date + 0)); -} - -//CHECK#3 -var date = new Date(); -if (date + true !== date.toString() + "true") { - $ERROR('#3: var date = new Date(); date + true === date.toString() + "true". Actual: ' + (date + true)); -} - -//CHECK#4 -var date = new Date(); -if (date + new Object() !== date.toString() + "[object Object]") { - $ERROR('#4: var date = new Date(); date + new Object() === date.toString() + "[object Object]". Actual: ' + (date + new Object())); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.js deleted file mode 100644 index 7a92aaa133..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A2.2_T3; - * @section: 11.6.1, 8.6.2.6; - * @assertion: Operator x + y uses [[Default Value]]; - * @description: If Type(value) is Function, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.2_T3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.js", - -assertion: "Operator x + y uses [[Default Value]]", - -description: "If Type(value) is Function, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -function f1(){ - return 0; -} -if (f1 + 1 !== f1.toString() + 1) { - $ERROR('#1: function f1() {return 0;}; f1 + 1 === f1.toString() + 1'); -} - -//CHECK#2 -function f2(){ - return 0; -} -f2.valueOf = function() {return 1;}; -if (1 + f2 !== 1 + 1) { - $ERROR('#2: f1unction f2() {return 0;} f2.valueOf = function() {return 1;}; 1 + f2 === 1 + 1. Actual: ' + (1 + f2)); -} - -//CHECK#3 -function f3(){ - return 0; -} -f3.toString = function() {return 1;}; -if (1 + f3 !== 1 + 1) { - $ERROR('#3: f1unction f3() {return 0;} f3.toString() = function() {return 1;}; 1 + f3 === 1 + 1. Actual: ' + (1 + f3)); -} - -//CHECK#4 -function f4(){ - return 0; -} -f4.valueOf = function() {return -1;}; -f4.toString = function() {return 1;}; -if (f4 + 1 !== 1 - 1) { - $ERROR('#4: f1unction f4() {return 0;}; f2.valueOf = function() {return -1;}; f4.toString() = function() {return 1;}; f4 + 1 === 1 - 1. Actual: ' + (f4 + 1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.js deleted file mode 100644 index f390135f55..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A2.3_T1; - * @section: 11.6.1; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.3_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x + y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x + y throw "x". Actual: ' + (x + y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x + y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.js deleted file mode 100644 index e401736b4a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A2.4_T1; - * @section: 11.6.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.4_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) + x !== 2) { - $ERROR('#1: var x = 0; (x = 1) + x === 2. Actual: ' + ((x = 1) + x)); -} - -//CHECK#2 -var x = 0; -if (x + (x = 1) !== 1) { - $ERROR('#2: var x = 0; x + (x = 1) === 1. Actual: ' + (x + (x = 1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.js deleted file mode 100644 index b859895e38..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A2.4_T2; - * @section: 11.6.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.4_T2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() + y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() + y() throw "x". Actual: ' + (x() + y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() + y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.js deleted file mode 100644 index 08261b4a6c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A2.4_T3; - * @section: 11.6.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A2.4_T3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x + (x = 1); - $ERROR('#1.1: x + (x = 1) throw ReferenceError. Actual: ' + (x + (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x + (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) + y !== 2) { - $ERROR('#2: (y = 1) + y === 2. Actual: ' + ((y = 1) + y)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.js deleted file mode 100644 index 6209764f87..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.1_T1.1; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.1_T1.1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.js", - -assertion: "If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true + true !== 2) { - $ERROR('#1: true + true === 2. Actual: ' + (true + true)); -} - -//CHECK#2 -if (new Boolean(true) + true !== 2) { - $ERROR('#2: new Boolean(true) + true === 2. Actual: ' + (new Boolean(true) + true)); -} - -//CHECK#3 -if (true + new Boolean(true) !== 2) { - $ERROR('#3: true + new Boolean(true) === 2. Actual: ' + (true + new Boolean(true))); -} - -//CHECK#4 -if (new Boolean(true) + new Boolean(true) !== 2) { - $ERROR('#4: new Boolean(true) + new Boolean(true) === 2. Actual: ' + (new Boolean(true) + new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.js deleted file mode 100644 index 1b69df1fdd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.1_T1.2; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.1_T1.2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.js", - -assertion: "If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 + 1 !== 2) { - $ERROR('#1: 1 + 1 === 2. Actual: ' + (1 + 1)); -} - -//CHECK#2 -if (new Number(1) + 1 !== 2) { - $ERROR('#2: new Number(1) + 1 === 2. Actual: ' + (new Number(1) + 1)); -} - -//CHECK#3 -if (1 + new Number(1) !== 2) { - $ERROR('#3: 1 + new Number(1) === 2. Actual: ' + (1 + new Number(1))); -} - -//CHECK#4 -if (new Number(1) + new Number(1) !== 2) { - $ERROR('#4: new Number(1) + new Number(1) === 2. Actual: ' + (new Number(1) + new Number(1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.js deleted file mode 100644 index d5a515a0aa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.1_T1.3; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.1_T1.3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.js", - -assertion: "If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(null + undefined) !== true) { - $ERROR('#1: null + undefined === Not-a-Number. Actual: ' + (null + undefined)); -} - -//CHECK#2 -if (isNaN(undefined + null) !== true) { - $ERROR('#2: undefined + null === Not-a-Number. Actual: ' + (undefined + null)); -} - -//CHECK#3 -if (isNaN(undefined + undefined) !== true) { - $ERROR('#3: undefined + undefined === Not-a-Number. Actual: ' + (undefined + undefined)); -} - -//CHECK#4 -if (null + null !== 0) { - $ERROR('#4: null + null === 0. Actual: ' + (null + null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.js deleted file mode 100644 index 6438918169..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.1_T2.1; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) or Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.1_T2.1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.js", - -assertion: "If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) or Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true + 1 !== 2) { - $ERROR('#1: true + 1 === 2. Actual: ' + (true + 1)); -} - -//CHECK#2 -if (1 + true !== 2) { - $ERROR('#2: 1 + true === 2. Actual: ' + (1 + true)); -} - -//CHECK#3 -if (new Boolean(true) + 1 !== 2) { - $ERROR('#3: new Boolean(true) + 1 === 2. Actual: ' + (new Boolean(true) + 1)); -} - -//CHECK#4 -if (1 + new Boolean(true) !== 2) { - $ERROR('#4: 1 + new Boolean(true) === 2. Actual: ' + (1 + new Boolean(true))); -} - -//CHECK#5 -if (true + new Number(1) !== 2) { - $ERROR('#5: true + new Number(1) === 2. Actual: ' + (true + new Number(1))); -} - -//CHECK#6 -if (new Number(1) + true !== 2) { - $ERROR('#6: new Number(1) + true === 2. Actual: ' + (new Number(1) + true)); -} - -//CHECK#7 -if (new Boolean(true) + new Number(1) !== 2) { - $ERROR('#7: new Boolean(true) + new Number(1) === 2. Actual: ' + (new Boolean(true) + new Number(1))); -} - -//CHECK#8 -if (new Number(1) + new Boolean(true) !== 2) { - $ERROR('#8: new Number(1) + new Boolean(true) === 2. Actual: ' + (new Number(1) + new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.js deleted file mode 100644 index a8e180c124..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.1_T2.2; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.1_T2.2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.js", - -assertion: "If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 + null !== 1) { - $ERROR('#1: 1 + null === 1. Actual: ' + (1 + null)); -} - -//CHECK#2 -if (null + 1 !== 1) { - $ERROR('#2: null + 1 === 1. Actual: ' + (null + 1)); -} - -//CHECK#3 -if (new Number(1) + null !== 1) { - $ERROR('#3: new Number(1) + null === 1. Actual: ' + (new Number(1) + null)); -} - -//CHECK#4 -if (null + new Number(1) !== 1) { - $ERROR('#4: null + new Number(1) === 1. Actual: ' + (null + new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.js deleted file mode 100644 index f4170319c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.1_T2.3; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.1_T2.3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.js", - -assertion: "If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(1 + undefined) !== true) { - $ERROR('#1: 1 + undefined === Not-a-Number. Actual: ' + (1 + undefined)); -} - -//CHECK#2 -if (isNaN(undefined + 1) !== true) { - $ERROR('#2: undefined + 1 === Not-a-Number. Actual: ' + (undefined + 1)); -} - -//CHECK#3 -if (isNaN(new Number(1) + undefined) !== true) { - $ERROR('#3: new Number(1) + undefined === Not-a-Number. Actual: ' + (new Number(1) + undefined)); -} - -//CHECK#4 -if (isNaN(undefined + new Number(1)) !== true) { - $ERROR('#4: undefined + new Number(1) === Not-a-Number. Actual: ' + (undefined + new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.js deleted file mode 100644 index 81055d4b01..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.1_T2.4; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.1_T2.4", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.js", - -assertion: "If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(true + undefined) !== true) { - $ERROR('#1: true + undefined === Not-a-Number. Actual: ' + (true + undefined)); -} - -//CHECK#2 -if (isNaN(undefined + true) !== true) { - $ERROR('#2: undefined + true === Not-a-Number. Actual: ' + (undefined + true)); -} - -//CHECK#3 -if (isNaN(new Boolean(true) + undefined) !== true) { - $ERROR('#3: new Boolean(true) + undefined === Not-a-Number. Actual: ' + (new Boolean(true) + undefined)); -} - -//CHECK#4 -if (isNaN(undefined + new Boolean(true)) !== true) { - $ERROR('#4: undefined + new Boolean(true) === Not-a-Number. Actual: ' + (undefined + new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.js deleted file mode 100644 index fdc31b8c76..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.1_T2.5; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.1_T2.5", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.js", - -assertion: "If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true + null !== 1) { - $ERROR('#1: true + null === 1. Actual: ' + (true + null)); -} - -//CHECK#2 -if (null + true !== 1) { - $ERROR('#2: null + true === 1. Actual: ' + (null + true)); -} - -//CHECK#3 -if (new Boolean(true) + null !== 1) { - $ERROR('#3: new Boolean(true) + null === 1. Actual: ' + (new Boolean(true) + null)); -} - -//CHECK#4 -if (null + new Boolean(true) !== 1) { - $ERROR('#4: null + new Boolean(true) === 1. Actual: ' + (null + new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.js deleted file mode 100644 index 38fd162a74..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.2_T1.1; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.2_T1.1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.js", - -assertion: "If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" + "1" !== "11") { - $ERROR('#1: "1" + "1" === "11". Actual: ' + ("1" + "1")); -} - -//CHECK#2 -if (new String("1") + "1" !== "11") { - $ERROR('#2: new String("1") + "1" === "11". Actual: ' + (new String("1") + "1")); -} - -//CHECK#3 -if ("1" + new String("1") !== "11") { - $ERROR('#3: "1" + new String("1") === "11". Actual: ' + ("1" + new String("1"))); -} - -//CHECK#4 -if (new String("1") + new String("1") !== "11") { - $ERROR('#4: new String("1") + new String("1") === "11". Actual: ' + (new String("1") + new String("1"))); -} - -//CHECK#5 -if ("x" + "1" !=="x1") { - $ERROR('#5: "x" + "1" === "x1". Actual: ' + ("x" + "1")); -} - -//CHECK#6 -if ("1" + "x" !== "1x") { - $ERROR('#6: "1" + "x" === "1x". Actual: ' + ("1" + "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.js deleted file mode 100644 index 87072d8848..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.2_T1.2; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.2_T1.2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.js", - -assertion: "If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} + function(){return 1}) !== ({}.toString() + function(){return 1}.toString())) { - $ERROR('#1: ({} + function(){return 1}) === ({}.toString() + function(){return 1}.toString()). Actual: ' + (({} + function(){return 1}))); -} - -//CHECK#2 -if ((function(){return 1} + {}) !== (function(){return 1}.toString() + {}.toString())) { - $ERROR('#2: (function(){return 1} + {}) === (function(){return 1}.toString() + {}.toString()). Actual: ' + ((function(){return 1} + {}))); -} - -//CHECK#3 -if ((function(){return 1} + function(){return 1}) !== (function(){return 1}.toString() + function(){return 1}.toString())) { - $ERROR('#3: (function(){return 1} + function(){return 1}) === (function(){return 1}.toString() + function(){return 1}.toString()). Actual: ' + ((function(){return 1} + function(){return 1}))); -} - -//CHECK#4 -if (({} + {}) !== ({}.toString() + {}.toString())) { - $ERROR('#4: ({} + {}) === ({}.toString() + {}.toString()). Actual: ' + (({} + {}))); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.js deleted file mode 100644 index f09bef459a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.2_T2.1; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.2_T2.1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.js", - -assertion: "If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" + 1 !== "11") { - $ERROR('#1: "1" + 1 === "11". Actual: ' + ("1" + 1)); -} - -//CHECK#2 -if (1 + "1" !== "11") { - $ERROR('#2: 1 + "1" === "11". Actual: ' + (1 + "1")); -} - -//CHECK#3 -if (new String("1") + 1 !== "11") { - $ERROR('#3: new String("1") + 1 === "11". Actual: ' + (new String("1") + 1)); -} - -//CHECK#4 -if (1 + new String("1") !== "11") { - $ERROR('#4: 1 + new String("1") === "11". Actual: ' + (1 + new String("1"))); -} - -//CHECK#5 -if ("1" + new Number(1) !== "11") { - $ERROR('#5: "1" + new Number(1) === "11". Actual: ' + ("1" + new Number(1))); -} - -//CHECK#6 -if (new Number(1) + "1" !== "11") { - $ERROR('#6: new Number(1) + "1" === "11". Actual: ' + (new Number(1) + "1")); -} - -//CHECK#7 -if (new String("1") + new Number(1) !== "11") { - $ERROR('#7: new String("1") + new Number(1) === "11". Actual: ' + (new String("1") + new Number(1))); -} - -//CHECK#8 -if (new Number(1) + new String("1") !== "11") { - $ERROR('#8: new Number(1) + new String("1") === "11". Actual: ' + (new Number(1) + new String("1"))); -} - -//CHECK#9 -if ("x" + 1 !=="x1") { - $ERROR('#9: "x" + 1 === "x1". Actual: ' + ("x" + 1)); -} - -//CHECK#10 -if (1 + "x" !== "1x") { - $ERROR('#10: 1 + "x" === "1x". Actual: ' + (1 + "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.js deleted file mode 100644 index 1fa291d8b2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.2_T2.2; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.2_T2.2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.js", - -assertion: "If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true + "1" !== "true1") { - $ERROR('#1: true + "1" === "true1". Actual: ' + (true + "1")); -} - -//CHECK#2 -if ("1" + true !== "1true") { - $ERROR('#2: "1" + true === "1true". Actual: ' + ("1" + true)); -} - -//CHECK#3 -if (new Boolean(true) + "1" !== "true1") { - $ERROR('#3: new Boolean(true) + "1" === "true1". Actual: ' + (new Boolean(true) + "1")); -} - -//CHECK#4 -if ("1" + new Boolean(true) !== "1true") { - $ERROR('#4: "1" + new Boolean(true) === "1true". Actual: ' + ("1" + new Boolean(true))); -} - -//CHECK#5 -if (true + new String("1") !== "true1") { - $ERROR('#5: true + new String("1") === "true1". Actual: ' + (true + new String("1"))); -} - -//CHECK#6 -if (new String("1") + true !== "1true") { - $ERROR('#6: new String("1") + true === "1true". Actual: ' + (new String("1") + true)); -} - -//CHECK#7 -if (new Boolean(true) + new String("1") !== "true1") { - $ERROR('#7: new Boolean(true) + new String("1") === "true1". Actual: ' + (new Boolean(true) + new String("1"))); -} - -//CHECK#8 -if (new String("1") + new Boolean(true) !== "1true") { - $ERROR('#8: new String("1") + new Boolean(true) === "1true". Actual: ' + (new String("1") + new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.js deleted file mode 100644 index 3c405439f5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.2_T2.3; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.2_T2.3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.js", - -assertion: "If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ("1" + undefined !== "1undefined") { - $ERROR('#1: "1" + undefined === "1undefined". Actual: ' + ("1" + undefined)); -} - -//CHECK#2 -if (undefined + "1" !== "undefined1") { - $ERROR('#2: undefined + "1" === "undefined1". Actual: ' + (undefined + "1")); -} - -//CHECK#3 -if (new String("1") + undefined !== "1undefined") { - $ERROR('#3: new String("1") + undefined === "1undefined". Actual: ' + (new String("1") + undefined)); -} - -//CHECK#4 -if (undefined + new String("1") !== "undefined1") { - $ERROR('#4: undefined + new String("1") === "undefined1". Actual: ' + (undefined + new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.js deleted file mode 100644 index e05e3db81f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A3.2_T2.4; - * @section: 11.6.1; - * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A3.2_T2.4", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.js", - -assertion: "If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" + null !== "1null") { - $ERROR('#1: "1" + null === "1null". Actual: ' + ("1" + null)); -} - -//CHECK#2 -if (null + "1" !== "null1") { - $ERROR('#2: null + "1" === "null1". Actual: ' + (null + "1")); -} - -//CHECK#3 -if (new String("1") + null !== "1null") { - $ERROR('#3: new String("1") + null === "1null". Actual: ' + (new String("1") + null)); -} - -//CHECK#4 -if (null + new String("1") !== "null1") { - $ERROR('#4: null + new String("1") === "null1". Actual: ' + (null + new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.js deleted file mode 100644 index 5022abe0fb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A4_T1; -* @section: 11.6.1, 11.6.3; -* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; -* @description: If either operand is NaN, the result is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A4_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.js", - -assertion: "The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics", - -description: "If either operand is NaN, the result is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NaN + 1) !== true ) { - $ERROR('#1: NaN + 1 === Not-a-Number. Actual: ' + (NaN + 1)); -} - -//CHECK#2 -if (isNaN(1 + Number.NaN) !== true ) { - $ERROR('#2: 1 + NaN === Not-a-Number. Actual: ' + (1 + NaN)); -} - -//CHECK#3 -if (isNaN(Number.NaN + Number.POSITIVE_INFINITY) !== true ) { - $ERROR('#3: NaN + Infinity === Not-a-Number. Actual: ' + (NaN + Infinity)); -} - -//CHECK#4 -if (isNaN(Number.POSITIVE_INFINITY + Number.NaN) !== true ) { - $ERROR('#4: Infinity + NaN === Not-a-Number. Actual: ' + (Infinity + NaN)); -} - -//CHECK#5 -if (isNaN(Number.NaN + Number.NEGATIVE_INFINITY) !== true ) { - $ERROR('#5: NaN + Infinity === Not-a-Number. Actual: ' + (NaN + Infinity)); -} - -//CHECK#6 -if (isNaN(Number.NEGATIVE_INFINITY + Number.NaN) !== true ) { - $ERROR('#6: Infinity + NaN === Not-a-Number. Actual: ' + (Infinity + NaN)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.js deleted file mode 100644 index 55c7751f48..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A4_T2; -* @section: 11.6.1, 11.6.3; -* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; -* @description: The sum of two infinities of opposite sign is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A4_T2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.js", - -assertion: "The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics", - -description: "The sum of two infinities of opposite sign is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.POSITIVE_INFINITY + Number.NEGATIVE_INFINITY) !== true ) { - $ERROR('#1: Infinity + -Infinity === Not-a-Number. Actual: ' + (Infinity + -Infinity)); -} - -//CHECK#2 -if (isNaN(Number.NEGATIVE_INFINITY + Number.POSITIVE_INFINITY) !== true ) { - $ERROR('#2: -Infinity + Infinity === Not-a-Number. Actual: ' + (-Infinity + Infinity)); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.js deleted file mode 100644 index cb8c2285b7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A4_T3; -* @section: 11.6.1, 11.6.3; -* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; -* @description: The sum of two infinities of the same sign is the infinity of that sign; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A4_T3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.js", - -assertion: "The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics", - -description: "The sum of two infinities of the same sign is the infinity of that sign", - -test: function testcase() { - //CHECK#1 -if (Number.POSITIVE_INFINITY + Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY ) { - $ERROR('#1: Infinity + Infinity === Infinity. Actual: ' + (Infinity + Infinity)); -} - -//CHECK#2 -if (Number.NEGATIVE_INFINITY + Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { - $ERROR('#2: -Infinity + -Infinity === -Infinity. Actual: ' + (-Infinity + -Infinity)); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.js deleted file mode 100644 index 56af921e92..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A4_T4; -* @section: 11.6.1, 11.6.3; -* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; -* @description: The sum of an infinity and a finite value is equal to the infinite operand; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A4_T4", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.js", - -assertion: "The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics", - -description: "The sum of an infinity and a finite value is equal to the infinite operand", - -test: function testcase() { - //CHECK#1 -if (Number.POSITIVE_INFINITY + 1 !== Number.POSITIVE_INFINITY ) { - $ERROR('#1: Infinity + 1 === Infinity. Actual: ' + (Infinity + 1)); -} - -//CHECK#2 -if (-1 + Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY ) { - $ERROR('#2: -1 + Infinity === Infinity. Actual: ' + (-1 + Infinity)); -} - -//CHECK#3 -if (Number.NEGATIVE_INFINITY + 1 !== Number.NEGATIVE_INFINITY ) { - $ERROR('#3: -Infinity + 1 === -Infinity. Actual: ' + (-Infinity + 1)); -} - -//CHECK#4 -if (-1 + Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { - $ERROR('#4: -1 + -Infinity === -Infinity. Actual: ' + (-1 + -Infinity)); -} - -//CHECK#5 -if (Number.POSITIVE_INFINITY + Number.MAX_VALUE !== Number.POSITIVE_INFINITY ) { - $ERROR('#5: Infinity + Number.MAX_VALUE === Infinity. Actual: ' + (Infinity + Number.MAX_VALUE)); -} - -//CHECK#6 -if (-Number.MAX_VALUE + Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY ) { - $ERROR('#6: -Number.MAX_VALUE + Infinity === Infinity. Actual: ' + (-Number.MAX_VALUE + Infinity)); -} - -//CHECK#7 -if (Number.NEGATIVE_INFINITY + Number.MAX_VALUE !== Number.NEGATIVE_INFINITY ) { - $ERROR('#7: -Infinity + Number.MAX_VALUE === -Infinity. Actual: ' + (-Infinity + Number.MAX_VALUE)); -} - -//CHECK#8 -if (-Number.MAX_VALUE + Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { - $ERROR('#8: -Number.MAX_VALUE + -Infinity === -Infinity. Actual: ' + (-Number.MAX_VALUE + -Infinity)); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.js deleted file mode 100644 index 3c4e3fd412..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A4_T5; -* @section: 11.6.1, 11.6.3; -* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; -* @description: The sum of two negative zeros is -0. The sum of two positive zeros, or of two zeros of opposite sign is +0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A4_T5", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.js", - -assertion: "The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics", - -description: "The sum of two negative zeros is -0. The sum of two positive zeros, or of two zeros of opposite sign is +0", - -test: function testcase() { - //CHECK#1 -if (-0 + -0 !== -0 ) { - $ERROR('#1.1: -0 + -0 === 0. Actual: ' + (-0 + -0)); -} else { - if (1 / (-0 + -0) !== Number.NEGATIVE_INFINITY) { - $ERROR('#1.1: -0 + -0 === - 0. Actual: +0'); - } -} - -//CHECK#2 -if (0 + -0 !== 0 ) { - $ERROR('#2.1: 0 + -0 === 0. Actual: ' + (0 + -0)); -} else { - if (1 / (0 + -0) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: 0 + -0 === + 0. Actual: -0'); - } -} - -//CHECK#3 -if (-0 + 0 !== 0 ) { - $ERROR('#3.1: -0 + 0 === 0. Actual: ' + (-0 + 0)); -} else { - if (1 / (-0 + 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#3.2: -0 + 0 === + 0. Actual: -0'); - } -} - -//CHECK#4 -if (0 + 0 !== 0 ) { - $ERROR('#4.1: 0 + 0 === 0. Actual: ' + (0 + 0)); -} else { - if (1 / (0 + 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#4.2: 0 + 0 === + 0. Actual: -0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.js deleted file mode 100644 index c07e609f03..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A4_T6; -* @section: 11.6.1, 11.6.3; -* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; -* @description: The sum of a zero and a nonzero finite value is equal to the nonzero operand; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A4_T6", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.js", - -assertion: "The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics", - -description: "The sum of a zero and a nonzero finite value is equal to the nonzero operand", - -test: function testcase() { - //CHECK#1 -if (1 + -0 !== 1 ) { - $ERROR('#1: 1 + -0 === 1. Actual: ' + (1 + -0)); -} - -//CHECK#2 -if (1 + 0 !== 1 ) { - $ERROR('#2: 1 + 0 === 1. Actual: ' + (1 + 0)); -} - -//CHECK#3 -if (-0 + 1 !== 1 ) { - $ERROR('#3: -0 + 1 === 1. Actual: ' + (-0 + 1)); -} - -//CHECK#4 -if (0 + 1 !== 1 ) { - $ERROR('#4: 0 + 1 === 1. Actual: ' + (0 + 1)); -} - -//CHECK#5 -if (Number.MAX_VALUE + -0 !== Number.MAX_VALUE ) { - $ERROR('#5: Number.MAX_VALUE + -0 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE + -0)); -} - -//CHECK#6 -if (Number.MAX_VALUE + 0 !== Number.MAX_VALUE ) { - $ERROR('#6: Number.MAX_VALUE + 0 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE + 0)); -} - -//CHECK#7 -if (-0 + Number.MIN_VALUE !== Number.MIN_VALUE ) { - $ERROR('#7: -0 + Number.MIN_VALUE === Number.MIN_VALUE. Actual: ' + (-0 + Number.MIN_VALUE)); -} - -//CHECK#8 -if (0 + Number.MIN_VALUE !== Number.MIN_VALUE ) { - $ERROR('#8: 0 + Number.MIN_VALUE === Number.MIN_VALUE. Actual: ' + (0 + Number.MIN_VALUE)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.js deleted file mode 100644 index 5bd140f19c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A4_T7; -* @section: 11.6.1, 11.6.3; -* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; -* @description: The sum of two nonzero finite values of the same magnitude and opposite sign is +0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A4_T7", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.js", - -assertion: "The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics", - -description: "The sum of two nonzero finite values of the same magnitude and opposite sign is +0", - -test: function testcase() { - //CHECK#1 -if (-Number.MIN_VALUE + Number.MIN_VALUE !== +0) { - $ERROR('#1.1: -Number.MIN_VALUE + Number.MIN_VALUE === 0. Actual: ' + (-Number.MIN_VALUE + Number.MIN_VALUE)); -} else { - if (1 / (-Number.MIN_VALUE + Number.MIN_VALUE) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: -Number.MIN_VALUE + Number.MIN_VALUE === + 0. Actual: -0'); - } -} - -//CHECK#2 -if (-Number.MAX_VALUE + Number.MAX_VALUE !== +0) { - $ERROR('#2.1: -Number.MAX_VALUE + Number.MAX_VALUE === 0. Actual: ' + (-Number.MAX_VALUE + Number.MAX_VALUE)); -} else { - if (1 / (-Number.MAX_VALUE + Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: -Number.MAX_VALUE + Number.MAX_VALUE === + 0. Actual: -0'); - } -} - -//CHECK#3 -if (-1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE !== +0) { - $ERROR('#3.1: -1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE === 0. Actual: ' + (-1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE)); -} else { - if (1 / (-1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { - $ERROR('#3.2: -1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE === + 0. Actual: -0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.js deleted file mode 100644 index f4d793a52d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.1_A4_T8; -* @section: 11.6.1, 11.6.3; -* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; -* @description: If the magnitude is too large to represent, the operation overflows and the result is then an infinity of appropriate sign; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A4_T8", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.js", - -assertion: "The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics", - -description: "If the magnitude is too large to represent, the operation overflows and the result is then an infinity of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (Number.MAX_VALUE + Number.MAX_VALUE !== Number.POSITIVE_INFINITY) { - $ERROR('#1: Number.MAX_VALUE + Number.MAX_VALUE === Number.POSITIVE_INFINITY. Actual: ' + (Number.MAX_VALUE + Number.MAX_VALUE)); -} - -//CHECK#2 -if (-Number.MAX_VALUE - Number.MAX_VALUE !== Number.NEGATIVE_INFINITY) { - $ERROR('#2: -Number.MAX_VALUE - Number.MAX_VALUE === Number.NEGATIVE_INFINITY. Actual: ' + (-Number.MAX_VALUE - Number.MAX_VALUE)); -} - -//CHECK#3 -if (1e+308 + 1e+308 !== Number.POSITIVE_INFINITY) { - $ERROR('#3: 1e+308 + 1e+308 === Number.POSITIVE_INFINITY. Actual: ' + (1e+308 + 1e+308)); -} - -//CHECK#4 -if (-8.99e+307 - 8.99e+307 !== Number.NEGATIVE_INFINITY) { - $ERROR('#4: -8.99e+307 - 8.99e+307 === Number.NEGATIVE_INFINITY. Actual: ' + (-8.99e+307 - 8.99e+307)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.js deleted file mode 100644 index 5d893402c1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.1_A4_T9; - * @section: 11.6.1, 11.6.3; - * @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; - * @description: The addition operator is not always associative ( x + y + z is the same (x + y) + z, not x + (y + z)); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.1_A4_T9", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.js", - -assertion: "The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics", - -description: "The addition operator is not always associative ( x + y + z is the same (x + y) + z, not x + (y + z))", - -test: function testcase() { - //CHECK#1 -if (-Number.MAX_VALUE + Number.MAX_VALUE + Number.MAX_VALUE !== (-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE) { - $ERROR('#1: -Number.MAX_VALUE + Number.MAX_VALUE + Number.MAX_VALUE === (-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE. Actual: ' + (-Number.MAX_VALUE + Number.MAX_VALUE + Number.MAX_VALUE)); -} - -//CHECK#2 -if ((-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE === -Number.MAX_VALUE + (Number.MAX_VALUE + Number.MAX_VALUE)) { - $ERROR('#2: (-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE === -Number.MAX_VALUE + (Number.MAX_VALUE + Number.MAX_VALUE). Actual: ' + ((-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE)); -} - -//CHECK#3 -if ("1" + 1 + 1 !== ("1" + 1) + 1) { - $ERROR('#3: "1" + 1 + 1 === ("1" + 1) + 1. Actual: ' + ("1" + 1 + 1)); -} - -//CHECK#4 -if (("1" + 1) + 1 === "1" + (1 + 1)) { - $ERROR('#4: ("1" + 1) + 1 !== "1" + (1 + 1)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.js deleted file mode 100644 index f53d4b398a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A1; -* @section: 11.6.2, 7.2, 7.3; -* @assertion: White Space and Line Terminator between AdditiveExpression and "-" or between "-" and MultiplicativeExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.js", - -assertion: "White Space and Line Terminator between AdditiveExpression and \"-\" or between \"-\" and MultiplicativeExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("1\u0009-\u00091") !== 0) { - $ERROR('#1: 1\\u0009-\\u00091 === 0'); -} - -//CHECK#2 -if (eval("1\u000B-\u000B1") !== 0) { - $ERROR('#2: 1\\u000B-\\u000B1 === 0'); -} - -//CHECK#3 -if (eval("1\u000C-\u000C1") !== 0) { - $ERROR('#3: 1\\u000C-\\u000C1 === 0'); -} - -//CHECK#4 -if (eval("1\u0020-\u00201") !== 0) { - $ERROR('#4: 1\\u0020-\\u00201 === 0'); -} - -//CHECK#5 -if (eval("1\u00A0-\u00A01") !== 0) { - $ERROR('#5: 1\\u00A0-\\u00A01 === 0'); -} - -//CHECK#6 -if (eval("1\u000A-\u000A1") !== 0) { - $ERROR('#6: 1\\u000A-\\u000A1 === 0'); -} - -//CHECK#7 -if (eval("1\u000D-\u000D1") !== 0) { - $ERROR('#7: 1\\u000D-\\u000D1 === 0'); -} - -//CHECK#8 -if (eval("1\u2028-\u20281") !== 0) { - $ERROR('#8: 1\\u2028-\\u20281 === 0'); -} - -//CHECK#9 -if (eval("1\u2029-\u20291") !== 0) { - $ERROR('#9: 1\\u2029-\\u20291 === 0'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 0) { - $ERROR('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.js deleted file mode 100644 index e7766dfe08..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A2.1_T1; -* @section: 11.6.2; -* @assertion: Operator x - y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A2.1_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.js", - -assertion: "Operator x - y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (1 - 1 !== 0) { - $ERROR('#1: 1 - 1 === 0. Actual: ' + (1 - 1)); -} - -//CHECK#2 -var x = 1; -if (x - 1 !== 0) { - $ERROR('#2: var x = 1; x - 1 === 0. Actual: ' + (x - 1)); -} - -//CHECK#3 -var y = 1; -if (1 - y !== 0) { - $ERROR('#3: var y = 1; 1 - y === 0. Actual: ' + (1 - y)); -} - -//CHECK#4 -var x = 1; -var y = 1; -if (x - y !== 0) { - $ERROR('#4: var x = 1; var y = 1; x - y === 0. Actual: ' + (x - y)); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if (objectx.prop - objecty.prop !== 0) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop - objecty.prop === 0. Actual: ' + (objectx.prop - objecty.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.js deleted file mode 100644 index 7dfdfb21a9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A2.1_T2; - * @section: 11.6.2; - * @assertion: Operator x - y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A2.1_T2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.js", - -assertion: "Operator x - y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x - 1; - $ERROR('#1.1: x - 1 throw ReferenceError. Actual: ' + (x - 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x - 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.js deleted file mode 100644 index 3dd52a1e89..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A2.1_T3; - * @section: 11.6.2; - * @assertion: Operator x - y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A2.1_T3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.js", - -assertion: "Operator x - y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 - y; - $ERROR('#1.1: 1 - y throw ReferenceError. Actual: ' + (1 - y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 - y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.js deleted file mode 100644 index ae45087d8a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A2.2_T1; - * @section: 11.6.2, 8.6.2.6; - * @assertion: Operator x - y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A2.2_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.js", - -assertion: "Operator x - y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 1}} - 1 !== 0) { - $ERROR('#1: {valueOf: function() {return 1}} - 1 === 0. Actual: ' + ({valueOf: function() {return 1}} - 1)); -} - -//CHECK#2 -if ({valueOf: function() {return 1}, toString: function() {return 0}} - 1 !== 0) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 0}} - 1 === 0. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} - 1)); -} - -//CHECK#3 -if ({valueOf: function() {return 1}, toString: function() {return {}}} - 1 !== 0) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} - 1 === 0. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} - 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 1}, toString: function() {throw "error"}} - 1 !== 0) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} - 1 === 0. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} - 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} - 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} - 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 - {toString: function() {return 1}} !== 0) { - $ERROR('#5: 1 - {toString: function() {return 1}} === 0. Actual: ' + (1 - {toString: function() {return 1}})); -} - -//CHECK#6 -if (1 - {valueOf: function() {return {}}, toString: function() {return 1}} !== 0) { - $ERROR('#6: 1 - {valueOf: function() {return {}}, toString: function() {return 1}} === 0. Actual: ' + (1 - {valueOf: function() {return {}}, toString: function() {return 1}})); -} - -//CHECK#7 -try { - 1 - {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: 1 - {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 - {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 - {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 - {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 - {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 - {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 - {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.js deleted file mode 100644 index 9283e8a4a9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A2.3_T1; - * @section: 11.6.2; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A2.3_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x - y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x - y throw "x". Actual: ' + (x - y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x - y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.js deleted file mode 100644 index a20c71ff3b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A2.4_T1; - * @section: 11.6.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A2.4_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) - x !== 0) { - $ERROR('#1: var x = 0; (x = 1) - x === 0. Actual: ' + ((x = 1) - x)); -} - -//CHECK#2 -var x = 0; -if (x - (x = 1) !== -1) { - $ERROR('#2: var x = 0; x - (x = 1) === -1. Actual: ' + (x - (x = 1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.js deleted file mode 100644 index 75d4e58f10..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A2.4_T2; - * @section: 11.6.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A2.4_T2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() - y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() - y() throw "x". Actual: ' + (x() - y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() - y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.js deleted file mode 100644 index fd9b26de68..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A2.4_T3; - * @section: 11.6.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A2.4_T3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x - (x = 1); - $ERROR('#1.1: x - (x = 1) throw ReferenceError. Actual: ' + (x - (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x - (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) - y !== 0) { - $ERROR('#2: (y = 1) - y === 0. Actual: ' + ((y = 1) - y)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.js deleted file mode 100644 index 87f81de899..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T1.1; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T1.1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true - true !== 0) { - $ERROR('#1: true - true === 0. Actual: ' + (true - true)); -} - -//CHECK#2 -if (new Boolean(true) - true !== 0) { - $ERROR('#2: new Boolean(true) - true === 0. Actual: ' + (new Boolean(true) - true)); -} - -//CHECK#3 -if (true - new Boolean(true) !== 0) { - $ERROR('#3: true - new Boolean(true) === 0. Actual: ' + (true - new Boolean(true))); -} - -//CHECK#4 -if (new Boolean(true) - new Boolean(true) !== 0) { - $ERROR('#4: new Boolean(true) - new Boolean(true) === 0. Actual: ' + (new Boolean(true) - new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.js deleted file mode 100644 index a08725f367..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T1.2; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T1.2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 - 1 !== 0) { - $ERROR('#1: 1 - 1 === 0. Actual: ' + (1 - 1)); -} - -//CHECK#2 -if (new Number(1) - 1 !== 0) { - $ERROR('#2: new Number(1) - 1 === 0. Actual: ' + (new Number(1) - 1)); -} - -//CHECK#3 -if (1 - new Number(1) !== 0) { - $ERROR('#3: 1 - new Number(1) === 0. Actual: ' + (1 - new Number(1))); -} - -//CHECK#4 -if (new Number(1) - new Number(1) !== 0) { - $ERROR('#4: new Number(1) - new Number(1) === 0. Actual: ' + (new Number(1) - new Number(1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.js deleted file mode 100644 index c2e1d990c1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T1.3; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T1.3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" - "1" !== 0) { - $ERROR('#1: "1" - "1" === 0. Actual: ' + ("1" - "1")); -} - -//CHECK#2 -if (new String("1") - "1" !== 0) { - $ERROR('#2: new String("1") - "1" === 0. Actual: ' + (new String("1") - "1")); -} - -//CHECK#3 -if ("1" - new String("1") !== 0) { - $ERROR('#3: "1" - new String("1") === 0. Actual: ' + ("1" - new String("1"))); -} - -//CHECK#4 -if (new String("1") - new String("1") !== 0) { - $ERROR('#4: new String("1") - new String("1") === 0. Actual: ' + (new String("1") - new String("1"))); -} - -//CHECK#5 -if (isNaN("x" - "1") !== true) { - $ERROR('#5: "x" - "1" === Not-a-Number. Actual: ' + ("x" - "1")); -} - -//CHECK#6 -if (isNaN("1" - "x") !== true) { - $ERROR('#6: "1" - "x" === Not-a-Number. Actual: ' + ("1" - "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.js deleted file mode 100644 index e13c2be426..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T1.4; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T1.4", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(null - undefined) !== true) { - $ERROR('#1: null - undefined === Not-a-Number. Actual: ' + (null - undefined)); -} - -//CHECK#2 -if (isNaN(undefined - null) !== true) { - $ERROR('#2: undefined - null === Not-a-Number. Actual: ' + (undefined - null)); -} - -//CHECK#3 -if (isNaN(undefined - undefined) !== true) { - $ERROR('#3: undefined - undefined === Not-a-Number. Actual: ' + (undefined - undefined)); -} - -//CHECK#4 -if (null - null !== 0) { - $ERROR('#4: null - null === 0. Actual: ' + (null - null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.js deleted file mode 100644 index d04ec95ff2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T1.5; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) and Type(y) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T1.5", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) and Type(y) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (isNaN({} - function(){return 1}) !== true) { - $ERROR('#1: {} - function(){return 1} === Not-a-Number. Actual: ' + ({} - function(){return 1})); -} - -//CHECK#2 -if (isNaN(function(){return 1} - {}) !== true) { - $ERROR('#2: function(){return 1} - {} === Not-a-Number. Actual: ' + (function(){return 1} - {})); -} - -//CHECK#3 -if (isNaN(function(){return 1} - function(){return 1}) !== true) { - $ERROR('#3: function(){return 1} - function(){return 1} === Not-a-Number. Actual: ' + (function(){return 1} - function(){return 1})); -} - -//CHECK#4 -if (isNaN({} - {}) !== true) { - $ERROR('#4: {} - {} === Not-a-Number. Actual: ' + ({} - {})); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.js deleted file mode 100644 index bfb6120e7e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T2.1; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T2.1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true - 1 !== 0) { - $ERROR('#1: true - 1 === 0. Actual: ' + (true - 1)); -} - -//CHECK#2 -if (1 - true !== 0) { - $ERROR('#2: 1 - true === 0. Actual: ' + (1 - true)); -} - -//CHECK#3 -if (new Boolean(true) - 1 !== 0) { - $ERROR('#3: new Boolean(true) - 1 === 0. Actual: ' + (new Boolean(true) - 1)); -} - -//CHECK#4 -if (1 - new Boolean(true) !== 0) { - $ERROR('#4: 1 - new Boolean(true) === 0. Actual: ' + (1 - new Boolean(true))); -} - -//CHECK#5 -if (true - new Number(1) !== 0) { - $ERROR('#5: true - new Number(1) === 0. Actual: ' + (true - new Number(1))); -} - -//CHECK#6 -if (new Number(1) - true !== 0) { - $ERROR('#6: new Number(1) - true === 0. Actual: ' + (new Number(1) - true)); -} - -//CHECK#7 -if (new Boolean(true) - new Number(1) !== 0) { - $ERROR('#7: new Boolean(true) - new Number(1) === 0. Actual: ' + (new Boolean(true) - new Number(1))); -} - -//CHECK#8 -if (new Number(1) - new Boolean(true) !== 0) { - $ERROR('#8: new Number(1) - new Boolean(true) === 0. Actual: ' + (new Number(1) - new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.js deleted file mode 100644 index 14f4c7a994..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T2.2; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T2.2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" - 1 !== 0) { - $ERROR('#1: "1" - 1 === 0. Actual: ' + ("1" - 1)); -} - -//CHECK#2 -if (1 - "1" !== 0) { - $ERROR('#2: 1 - "1" === 0. Actual: ' + (1 - "1")); -} - -//CHECK#3 -if (new String("1") - 1 !== 0) { - $ERROR('#3: new String("1") - 1 === 0. Actual: ' + (new String("1") - 1)); -} - -//CHECK#4 -if (1 - new String("1") !== 0) { - $ERROR('#4: 1 - new String("1") === 0. Actual: ' + (1 - new String("1"))); -} - -//CHECK#5 -if ("1" - new Number(1) !== 0) { - $ERROR('#5: "1" - new Number(1) === 0. Actual: ' + ("1" - new Number(1))); -} - -//CHECK#6 -if (new Number(1) - "1" !== 0) { - $ERROR('#6: new Number(1) - "1" === 0. Actual: ' + (new Number(1) - "1")); -} - -//CHECK#7 -if (new String("1") - new Number(1) !== 0) { - $ERROR('#7: new String("1") - new Number(1) === 0. Actual: ' + (new String("1") - new Number(1))); -} - -//CHECK#8 -if (new Number(1) - new String("1") !== 0) { - $ERROR('#8: new Number(1) - new String("1") === 0. Actual: ' + (new Number(1) - new String("1"))); -} - -//CHECK#9 -if (isNaN("x" - 1) !== true) { - $ERROR('#9: "x" - 1 === Not-a-Number. Actual: ' + ("x" - 1)); -} - -//CHECK#10 -if (isNaN(1 - "x") !== true) { - $ERROR('#10: 1 - "x" === Not-a-Number. Actual: ' + (1 - "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.js deleted file mode 100644 index f0a306bcef..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T2.3; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T2.3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 - null !== 1) { - $ERROR('#1: 1 - null === 1. Actual: ' + (1 - null)); -} - -//CHECK#2 -if (null - 1 !== -1) { - $ERROR('#2: null - 1 === -1. Actual: ' + (null - 1)); -} - -//CHECK#3 -if (new Number(1) - null !== 1) { - $ERROR('#3: new Number(1) - null === 1. Actual: ' + (new Number(1) - null)); -} - -//CHECK#4 -if (null - new Number(1) !== -1) { - $ERROR('#4: null - new Number(1) === -1. Actual: ' + (null - new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.js deleted file mode 100644 index 52d8628a7e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T2.4; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T2.4", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(1 - undefined) !== true) { - $ERROR('#1: 1 - undefined === Not-a-Number. Actual: ' + (1 - undefined)); -} - -//CHECK#2 -if (isNaN(undefined - 1) !== true) { - $ERROR('#2: undefined - 1 === Not-a-Number. Actual: ' + (undefined - 1)); -} - -//CHECK#3 -if (isNaN(new Number(1) - undefined) !== true) { - $ERROR('#3: new Number(1) - undefined === Not-a-Number. Actual: ' + (new Number(1) - undefined)); -} - -//CHECK#4 -if (isNaN(undefined - new Number(1)) !== true) { - $ERROR('#4: undefined - new Number(1) === Not-a-Number. Actual: ' + (undefined - new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.js deleted file mode 100644 index 1eb60e4840..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T2.5; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T2.5", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true - "1" !== 0) { - $ERROR('#1: true - "1" === 0. Actual: ' + (true - "1")); -} - -//CHECK#2 -if ("1" - true !== 0) { - $ERROR('#2: "1" - true === 0. Actual: ' + ("1" - true)); -} - -//CHECK#3 -if (new Boolean(true) - "1" !== 0) { - $ERROR('#3: new Boolean(true) - "1" === 0. Actual: ' + (new Boolean(true) - "1")); -} - -//CHECK#4 -if ("1" - new Boolean(true) !== 0) { - $ERROR('#4: "1" - new Boolean(true) === 0. Actual: ' + ("1" - new Boolean(true))); -} - -//CHECK#5 -if (true - new String("1") !== 0) { - $ERROR('#5: true - new String("1") === 0. Actual: ' + (true - new String("1"))); -} - -//CHECK#6 -if (new String("1") - true !== 0) { - $ERROR('#6: new String("1") - true === 0. Actual: ' + (new String("1") - true)); -} - -//CHECK#7 -if (new Boolean(true) - new String("1") !== 0) { - $ERROR('#7: new Boolean(true) - new String("1") === 0. Actual: ' + (new Boolean(true) - new String("1"))); -} - -//CHECK#8 -if (new String("1") - new Boolean(true) !== 0) { - $ERROR('#8: new String("1") - new Boolean(true) === 0. Actual: ' + (new String("1") - new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.js deleted file mode 100644 index df3b72e71b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T2.6; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T2.6", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN("1" - undefined) !== true) { - $ERROR('#1: "1" - undefined === Not-a-Number. Actual: ' + ("1" - undefined)); -} - -//CHECK#2 -if (isNaN(undefined - "1") !== true) { - $ERROR('#2: undefined - "1" === Not-a-Number. Actual: ' + (undefined - "1")); -} - -//CHECK#3 -if (isNaN(new String("1") - undefined) !== true) { - $ERROR('#3: new String("1") - undefined === Not-a-Number. Actual: ' + (new String("1") - undefined)); -} - -//CHECK#4 -if (isNaN(undefined - new String("1")) !== true) { - $ERROR('#4: undefined - new String("1") === Not-a-Number. Actual: ' + (undefined - new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.js deleted file mode 100644 index c249807485..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T2.7; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T2.7", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" - null !== 1) { - $ERROR('#1: "1" - null === 1. Actual: ' + ("1" - null)); -} - -//CHECK#2 -if (null - "1" !== -1) { - $ERROR('#2: null - "1" === -1. Actual: ' + (null - "1")); -} - -//CHECK#3 -if (new String("1") - null !== 1) { - $ERROR('#3: new String("1") - null === 1. Actual: ' + (new String("1") - null)); -} - -//CHECK#4 -if (null - new String("1") !== -1) { - $ERROR('#4: null - new String("1") === -1. Actual: ' + (null - new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.js deleted file mode 100644 index d06b4ae7d1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T2.8; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T2.8", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (isNaN(true - undefined) !== true) { - $ERROR('#1: true - undefined === Not-a-Number. Actual: ' + (true - undefined)); -} - -//CHECK#2 -if (isNaN(undefined - true) !== true) { - $ERROR('#2: undefined - true === Not-a-Number. Actual: ' + (undefined - true)); -} - -//CHECK#3 -if (isNaN(new Boolean(true) - undefined) !== true) { - $ERROR('#3: new Boolean(true) - undefined === Not-a-Number. Actual: ' + (new Boolean(true) - undefined)); -} - -//CHECK#4 -if (isNaN(undefined - new Boolean(true)) !== true) { - $ERROR('#4: undefined - new Boolean(true) === Not-a-Number. Actual: ' + (undefined - new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.js deleted file mode 100644 index a1cf82dc51..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.6.2_A3_T2.9; - * @section: 11.6.2; - * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A3_T2.9", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.js", - -assertion: "Operator x - y returns ToNumber(x) - ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true - null !== 1) { - $ERROR('#1: true - null === 1. Actual: ' + (true - null)); -} - -//CHECK#2 -if (null - true !== -1) { - $ERROR('#2: null - true === -1. Actual: ' + (null - true)); -} - -//CHECK#3 -if (new Boolean(true) - null !== 1) { - $ERROR('#3: new Boolean(true) - null === 1. Actual: ' + (new Boolean(true) - null)); -} - -//CHECK#4 -if (null - new Boolean(true) !== -1) { - $ERROR('#4: null - new Boolean(true) === -1. Actual: ' + (null - new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.js deleted file mode 100644 index 3199e9939b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A4_T1; -* @section: 11.6.2, 11.6.3; -* @assertion: Operator x - y produces the same result as x + (-y); -* @description: If either operand is NaN, the result is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A4_T1", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.js", - -assertion: "Operator x - y produces the same result as x + (-y)", - -description: "If either operand is NaN, the result is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.NaN - 1) !== true ) { - $ERROR('#1: NaN - 1 === Not-a-Number. Actual: ' + (NaN - 1)); -} - -//CHECK#2 -if (isNaN(1 - Number.NaN) !== true ) { - $ERROR('#2: 1 - NaN === Not-a-Number. Actual: ' + (1 - NaN)); -} - -//CHECK#3 -if (isNaN(Number.NaN - Number.POSITIVE_INFINITY) !== true ) { - $ERROR('#3: NaN - Infinity === Not-a-Number. Actual: ' + (NaN - Infinity)); -} - -//CHECK#4 -if (isNaN(Number.POSITIVE_INFINITY - Number.NaN) !== true ) { - $ERROR('#4: Infinity - NaN === Not-a-Number. Actual: ' + (Infinity - NaN)); -} - -//CHECK#5 -if (isNaN(Number.NaN - Number.NEGATIVE_INFINITY) !== true ) { - $ERROR('#5: NaN - Infinity === Not-a-Number. Actual: ' + (NaN - Infinity)); -} - -//CHECK#6 -if (isNaN(Number.NEGATIVE_INFINITY - Number.NaN) !== true ) { - $ERROR('#6: Infinity - NaN === Not-a-Number. Actual: ' + (Infinity - NaN)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.js deleted file mode 100644 index 50ab825e96..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A4_T2; -* @section: 11.6.2, 11.6.3; -* @assertion: Operator x - y produces the same result as x + (-y); -* @description: The difference of two infinities of opposite sign is the infinity of minuend sign; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A4_T2", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.js", - -assertion: "Operator x - y produces the same result as x + (-y)", - -description: "The difference of two infinities of opposite sign is the infinity of minuend sign", - -test: function testcase() { - //CHECK#1 -if (Number.POSITIVE_INFINITY - Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY ) { - $ERROR('#1: Infinity - -Infinity === Infinity. Actual: ' + (Infinity - -Infinity)); -} - -//CHECK#2 -if (Number.NEGATIVE_INFINITY - Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { - $ERROR('#2: -Infinity - Infinity === -Infinity. Actual: ' + (-Infinity - Infinity)); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.js deleted file mode 100644 index 38c02000cb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A4_T3; -* @section: 11.6.2, 11.6.3; -* @assertion: Operator x - y produces the same result as x + (-y); -* @description: The difference of two infinities of the same sign is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A4_T3", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.js", - -assertion: "Operator x - y produces the same result as x + (-y)", - -description: "The difference of two infinities of the same sign is NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(Number.POSITIVE_INFINITY - Number.POSITIVE_INFINITY) !== true ) { - $ERROR('#1: Infinity - Infinity === Not-a-Number. Actual: ' + (Infinity - Infinity)); -} - -//CHECK#2 -if (isNaN(Number.NEGATIVE_INFINITY - Number.NEGATIVE_INFINITY) !== true ) { - $ERROR('#2: -Infinity - -Infinity === Not-a-Number. Actual: ' + (-Infinity - -Infinity)); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.js deleted file mode 100644 index 3613649f41..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A4_T4; -* @section: 11.6.2, 11.6.3; -* @assertion: Operator x - y produces the same result as x + (-y); -* @description: The difference of an infinity and a finite value is equal to infinity of appropriate sign; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A4_T4", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.js", - -assertion: "Operator x - y produces the same result as x + (-y)", - -description: "The difference of an infinity and a finite value is equal to infinity of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (Number.POSITIVE_INFINITY - 1 !== Number.POSITIVE_INFINITY ) { - $ERROR('#1: Infinity - 1 === Infinity. Actual: ' + (Infinity - 1)); -} - -//CHECK#2 -if (-1 - Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { - $ERROR('#2: -1 - Infinity === -Infinity. Actual: ' + (-1 - Infinity)); -} - -//CHECK#3 -if (Number.NEGATIVE_INFINITY - 1 !== Number.NEGATIVE_INFINITY ) { - $ERROR('#3: -Infinity - 1 === -Infinity. Actual: ' + (-Infinity - 1)); -} - -//CHECK#4 -if (-1 - Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY ) { - $ERROR('#4: -1 - -Infinity === Infinity. Actual: ' + (-1 - -Infinity)); -} - -//CHECK#5 -if (Number.POSITIVE_INFINITY - Number.MAX_VALUE !== Number.POSITIVE_INFINITY ) { - $ERROR('#5: Infinity - Number.MAX_VALUE === Infinity. Actual: ' + (Infinity - Number.MAX_VALUE)); -} - -//CHECK#6 -if (-Number.MAX_VALUE - Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { - $ERROR('#6: -Number.MAX_VALUE - Infinity === I-nfinity. Actual: ' + (-Number.MAX_VALUE - Infinity)); -} - -//CHECK#7 -if (Number.NEGATIVE_INFINITY - Number.MAX_VALUE !== Number.NEGATIVE_INFINITY ) { - $ERROR('#7: -Infinity - Number.MAX_VALUE === -Infinity. Actual: ' + (-Infinity - Number.MAX_VALUE)); -} - -//CHECK#8 -if (-Number.MAX_VALUE - Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY ) { - $ERROR('#8: -Number.MAX_VALUE - -Infinity === Infinity. Actual: ' + (-Number.MAX_VALUE - -Infinity)); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.js deleted file mode 100644 index da96c109dd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A4_T5; -* @section: 11.6.2, 11.6.3; -* @assertion: Operator x - y produces the same result as x + (-y); -* @description: Using the rule of sum of two zeroes and the fact that a - b = a + (-b); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A4_T5", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.js", - -assertion: "Operator x - y produces the same result as x + (-y)", - -description: "Using the rule of sum of two zeroes and the fact that a - b = a + (-b)", - -test: function testcase() { - //CHECK#1 -if (-0 - -0 !== 0 ) { - $ERROR('#1.1: -0 - -0 === 0. Actual: ' + (-0 - -0)); -} else { - if (1 / (-0 - -0) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: -0 - -0 === + 0. Actual: -0'); - } -} - -//CHECK#2 -if (0 - -0 !== 0 ) { - $ERROR('#2.1: 0 - -0 === 0. Actual: ' + (0 - -0)); -} else { - if (1 / (0 - -0) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.2: 0 - -0 === + 0. Actual: -0'); - } -} - -//CHECK#3 -if (-0 - 0 !== -0 ) { - $ERROR('#3.1: -0 - 0 === 0. Actual: ' + (-0 - 0)); -} else { - if (1 / (-0 - 0) !== Number.NEGATIVE_INFINITY) { - $ERROR('#3.2: -0 - 0 === - 0. Actual: +0'); - } -} - -//CHECK#4 -if (0 - 0 !== 0 ) { - $ERROR('#4.1: 0 - 0 === 0. Actual: ' + (0 - 0)); -} else { - if (1 / (0 - 0) !== Number.POSITIVE_INFINITY) { - $ERROR('#4.2: 0 - 0 === + 0. Actual: -0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.js deleted file mode 100644 index 43744a14e6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A4_T6; -* @section: 11.6.2, 11.6.3; -* @assertion: Operator x - y produces the same result as x + (-y); -* @description: Using the rule of sum of a zero and a nonzero finite value and the fact that a - b = a + (-b); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A4_T6", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.js", - -assertion: "Operator x - y produces the same result as x + (-y)", - -description: "Using the rule of sum of a zero and a nonzero finite value and the fact that a - b = a + (-b)", - -test: function testcase() { - //CHECK#1 -if (1 - -0 !== 1 ) { - $ERROR('#1: 1 - -0 === 1. Actual: ' + (1 - -0)); -} - -//CHECK#2 -if (1 - 0 !== 1 ) { - $ERROR('#2: 1 - 0 === 1. Actual: ' + (1 - 0)); -} - -//CHECK#3 -if (-0 - 1 !== -1 ) { - $ERROR('#3: -0 - 1 === -1. Actual: ' + (-0 - 1)); -} - -//CHECK#4 -if (0 - 1 !== -1 ) { - $ERROR('#4: 0 - 1 === -1. Actual: ' + (0 - 1)); -} - -//CHECK#5 -if (Number.MAX_VALUE - -0 !== Number.MAX_VALUE ) { - $ERROR('#5: Number.MAX_VALUE - -0 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE - -0)); -} - -//CHECK#6 -if (Number.MAX_VALUE - 0 !== Number.MAX_VALUE ) { - $ERROR('#6: Number.MAX_VALUE - 0 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE - 0)); -} - -//CHECK#7 -if (-0 - Number.MIN_VALUE !== -Number.MIN_VALUE ) { - $ERROR('#7: -0 - Number.MIN_VALUE === -Number.MIN_VALUE. Actual: ' + (-0 - Number.MIN_VALUE)); -} - -//CHECK#8 -if (0 - Number.MIN_VALUE !== -Number.MIN_VALUE ) { - $ERROR('#8: 0 - Number.MIN_VALUE === -Number.MIN_VALUE. Actual: ' + (0 - Number.MIN_VALUE)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.js deleted file mode 100644 index 91ccccbacc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A4_T7; -* @section: 11.6.2, 11.6.3; -* @assertion: Operator x - y produces the same result as x + (-y); -* @description: The mathematical difference of two nonzero finite values of the same magnitude and same sign is +0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A4_T7", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.js", - -assertion: "Operator x - y produces the same result as x + (-y)", - -description: "The mathematical difference of two nonzero finite values of the same magnitude and same sign is +0", - -test: function testcase() { - //CHECK#1 -if (Number.MIN_VALUE - Number.MIN_VALUE !== +0) { - $ERROR('#1.1: Number.MIN_VALUE - Number.MIN_VALUE === 0. Actual: ' + (Number.MIN_VALUE - Number.MIN_VALUE)); -} else { - if (1 / (Number.MIN_VALUE - Number.MIN_VALUE) !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: Number.MIN_VALUE - Number.MIN_VALUE === + 0. Actual: -0'); - } -} - -//CHECK#2 -if (-Number.MAX_VALUE - -Number.MAX_VALUE !== +0) { - $ERROR('#2.2: -Number.MAX_VALUE - -Number.MAX_VALUE === 0. Actual: ' + (-Number.MAX_VALUE - -Number.MAX_VALUE)); -} else { - if (1 / (-Number.MAX_VALUE - -Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { - $ERROR('#2.1: -Number.MAX_VALUE - -Number.MAX_VALUE === + 0. Actual: -0'); - } -} - -//CHECK#3 -if (1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE !== +0) { - $ERROR('#3.1: 1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE === 0. Actual: ' + (1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE)); -} else { - if (1 / (1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { - $ERROR('#3.2: 1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE === + 0. Actual: -0'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.js b/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.js deleted file mode 100644 index 6ebc460a27..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.6.2_A4_T8; -* @section: 11.6.2, 11.6.3; -* @assertion: Operator x - y produces the same result as x + (-y); -* @description: If the magnitude is too large to represent, the operation overflows and the result is then an infinity of appropriate sign; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.6.2_A4_T8", - -path: "TestCases/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.js", - -assertion: "Operator x - y produces the same result as x + (-y)", - -description: "If the magnitude is too large to represent, the operation overflows and the result is then an infinity of appropriate sign", - -test: function testcase() { - //CHECK#1 -if (Number.MAX_VALUE - -Number.MAX_VALUE !== Number.POSITIVE_INFINITY) { - $ERROR('#1: Number.MAX_VALUE - -Number.MAX_VALUE === Number.POSITIVE_INFINITY. Actual: ' + (Number.MAX_VALUE - -Number.MAX_VALUE)); -} - -//CHECK#2 -if (-Number.MAX_VALUE - Number.MAX_VALUE !== Number.NEGATIVE_INFINITY) { - $ERROR('#2: -Number.MAX_VALUE - umber.MAX_VALUE === Number.NEGATIVE_INFINITY. Actual: ' + (-Number.MAX_VALUE - umber.MAX_VALUE)); -} - -//CHECK#3 -if (1e+308 - -1e+308 !== Number.POSITIVE_INFINITY) { - $ERROR('#3: 1e+308 - -1e+308 === Number.POSITIVE_INFINITY. Actual: ' + (1e+308 - -1e+308)); -} - -//CHECK#4 -if (-8.99e+307 - 8.99e+307 !== Number.NEGATIVE_INFINITY) { - $ERROR('#4: -8.99e+307 - 8.99e+307 === Number.NEGATIVE_INFINITY. Actual: ' + (-8.99e+307 - 8.99e+307)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.js deleted file mode 100644 index 91d72df623..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.7.1_A1; -* @section: 11.7.1, 7.2, 7.3; -* @assertion: White Space and Line Terminator between ShiftExpression and "<<" or between "<<" and AdditiveExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.js", - -assertion: "White Space and Line Terminator between ShiftExpression and \"<<\" or between \"<<\" and AdditiveExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("1\u0009<<\u00091") !== 2) { - $ERROR('#1: 1\\u0009<<\\u00091 === 2'); -} - -//CHECK#2 -if (eval("1\u000B<<\u000B1") !== 2) { - $ERROR('#2: 1\\u000B<<\\u000B1 === 2'); -} - -//CHECK#3 -if (eval("1\u000C<<\u000C1") !== 2) { - $ERROR('#3: 1\\u000C<<\\u000C1 === 2'); -} - -//CHECK#4 -if (eval("1\u0020<<\u00201") !== 2) { - $ERROR('#4: 1\\u0020<<\\u00201 === 2'); -} - -//CHECK#5 -if (eval("1\u00A0<<\u00A01") !== 2) { - $ERROR('#5: 1\\u00A0<<\\u00A01 === 2'); -} - -//CHECK#6 -if (eval("1\u000A<<\u000A1") !== 2) { - $ERROR('#6: 1\\u000A<<\\u000A1 === 2'); -} - -//CHECK#7 -if (eval("1\u000D<<\u000D1") !== 2) { - $ERROR('#7: 1\\u000D<<\\u000D1 === 2'); -} - -//CHECK#8 -if (eval("1\u2028<<\u20281") !== 2) { - $ERROR('#8: 1\\u2028<<\\u20281 === 2'); -} - -//CHECK#9 -if (eval("1\u2029<<\u20291") !== 2) { - $ERROR('#9: 1\\u2029<<\\u20291 === 2'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029<<\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 2) { - $ERROR('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029<<\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.js deleted file mode 100644 index 64db289b13..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.7.1_A2.1_T1; -* @section: 11.7.1; -* @assertion: Operator x << y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A2.1_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.js", - -assertion: "Operator x << y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (2 << 1 !== 4) { - $ERROR('#1: 2 << 1 === 4. Actual: ' + (2 << 1)); -} - -//CHECK#2 -var x = 2; -if (x << 1 !== 4) { - $ERROR('#2: var x = 2; x << 1 === 4. Actual: ' + (x << 1)); -} - -//CHECK#3 -var y = 1; -if (2 << y !== 4) { - $ERROR('#3: var y = 2; 2 << y === 4. Actual: ' + (2 << y)); -} - -//CHECK#4 -var x = 2; -var y = 1; -if (x << y !== 4) { - $ERROR('#4: var x = 2; var y = 1; x << y === 4. Actual: ' + (x << y)); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 2; -objecty.prop = 1; -if (objectx.prop << objecty.prop !== 4) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 2; objecty.prop = 1; objectx.prop << objecty.prop === 4. Actual: ' + (objectx.prop << objecty.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.js deleted file mode 100644 index 47fff80b37..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A2.1_T2; - * @section: 11.7.1; - * @assertion: Operator x << y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A2.1_T2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.js", - -assertion: "Operator x << y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x << 1; - $ERROR('#1.1: x << 1 throw ReferenceError. Actual: ' + (x << 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x << 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.js deleted file mode 100644 index d0621a2083..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A2.1_T3; - * @section: 11.7.1; - * @assertion: Operator x << y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A2.1_T3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.js", - -assertion: "Operator x << y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 << y; - $ERROR('#1.1: 1 << y throw ReferenceError. Actual: ' + (1 << y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 << y throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.js deleted file mode 100644 index 479ce15855..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A2.2_T1; - * @section: 11.7.1, 8.6.2.6; - * @assertion: Operator x << y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A2.2_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.js", - -assertion: "Operator x << y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 1}} << 1 !== 2) { - $ERROR('#1: {valueOf: function() {return 1}} << 1 === 2. Actual: ' + ({valueOf: function() {return 1}} << 1)); -} - -//CHECK#2 -if ({valueOf: function() {return 1}, toString: function() {return 0}} << 1 !== 2) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 0}} << 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} << 1)); -} - -//CHECK#3 -if ({valueOf: function() {return 1}, toString: function() {return {}}} << 1 !== 2) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} << 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} << 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 1}, toString: function() {throw "error"}} << 1 !== 2) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} << 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} << 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} << 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} << 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 << {toString: function() {return 1}} !== 2) { - $ERROR('#5: 1 << {toString: function() {return 1}} === 2. Actual: ' + (1 << {toString: function() {return 1}})); -} - -//CHECK#6 -if (1 << {valueOf: function() {return {}}, toString: function() {return 1}} !== 2) { - $ERROR('#6: 1 << {valueOf: function() {return {}}, toString: function() {return 1}} === 2. Actual: ' + (1 << {valueOf: function() {return {}}, toString: function() {return 1}})); -} - -//CHECK#7 -try { - 1 << {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: 1 << {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 << {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 << {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 << {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 << {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 << {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 << {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.js deleted file mode 100644 index 499a934c1c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A2.3_T1; - * @section: 11.7.1; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A2.3_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x << y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x << y throw "x". Actual: ' + (x << y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x << y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.js deleted file mode 100644 index fc943d6f16..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A2.4_T1; - * @section: 11.7.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A2.4_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) << x !== 2) { - $ERROR('#1: var x = 0; (x = 1) << x === 2. Actual: ' + ((x = 1) << x)); -} - -//CHECK#2 -var x = 0; -if (x << (x = 1) !== 0) { - $ERROR('#2: var x = 0; x << (x = 1) === 0. Actual: ' + (x << (x = 1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.js deleted file mode 100644 index 437f30d547..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A2.4_T2; - * @section: 11.7.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A2.4_T2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() << y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() << y() throw "x". Actual: ' + (x() << y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() << y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.js deleted file mode 100644 index 07ae8d8dfb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A2.4_T3; - * @section: 11.7.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A2.4_T3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x << (x = 1); - $ERROR('#1.1: x << (x = 1) throw ReferenceError. Actual: ' + (x << (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x << (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) << y !== 2) { - $ERROR('#2: (y = 1) << y === 2. Actual: ' + ((y = 1) << y)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.js deleted file mode 100644 index 3149a065c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T1.1; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T1.1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true << true !== 2) { - $ERROR('#1: true << true === 2. Actual: ' + (true << true)); -} - -//CHECK#2 -if (new Boolean(true) << true !== 2) { - $ERROR('#2: new Boolean(true) << true === 2. Actual: ' + (new Boolean(true) << true)); -} - -//CHECK#3 -if (true << new Boolean(true) !== 2) { - $ERROR('#3: true << new Boolean(true) === 2. Actual: ' + (true << new Boolean(true))); -} - -//CHECK#4 -if (new Boolean(true) << new Boolean(true) !== 2) { - $ERROR('#4: new Boolean(true) << new Boolean(true) === 2. Actual: ' + (new Boolean(true) << new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.js deleted file mode 100644 index 8afc2b21e0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T1.2; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T1.2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 << 1 !== 2) { - $ERROR('#1: 1 << 1 === 2. Actual: ' + (1 << 1)); -} - -//CHECK#2 -if (new Number(1) << 1 !== 2) { - $ERROR('#2: new Number(1) << 1 === 2. Actual: ' + (new Number(1) << 1)); -} - -//CHECK#3 -if (1 << new Number(1) !== 2) { - $ERROR('#3: 1 << new Number(1) === 2. Actual: ' + (1 << new Number(1))); -} - -//CHECK#4 -if (new Number(1) << new Number(1) !== 2) { - $ERROR('#4: new Number(1) << new Number(1) === 2. Actual: ' + (new Number(1) << new Number(1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.js deleted file mode 100644 index 0d88273af1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T1.3; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T1.3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" << "1" !== 2) { - $ERROR('#1: "1" << "1" === 2. Actual: ' + ("1" << "1")); -} - -//CHECK#2 -if (new String("1") << "1" !== 2) { - $ERROR('#2: new String("1") << "1" === 2. Actual: ' + (new String("1") << "1")); -} - -//CHECK#3 -if ("1" << new String("1") !== 2) { - $ERROR('#3: "1" << new String("1") === 2. Actual: ' + ("1" << new String("1"))); -} - -//CHECK#4 -if (new String("1") << new String("1") !== 2) { - $ERROR('#4: new String("1") << new String("1") === 2. Actual: ' + (new String("1") << new String("1"))); -} - -//CHECK#5 -if ("x" << "1" !== 0) { - $ERROR('#5: "x" << "1" === 0. Actual: ' + ("x" << "1")); -} - -//CHECK#6 -if ("1" << "x" !== 1) { - $ERROR('#6: "1" << "x" === 1. Actual: ' + ("1" << "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js deleted file mode 100644 index 88ace40a5f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T1.4; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T1.4", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (null << undefined !== 0) { - $ERROR('#1: null << undefined === 0. Actual: ' + (null << undefined)); -} - -//CHECK#2 -if (undefined << null !== 0) { - $ERROR('#2: undefined << null === 0. Actual: ' + (undefined << null)); -} - -//CHECK#3 -if (undefined << undefined !== 0) { - $ERROR('#3: undefined << undefined === 0. Actual: ' + (undefined << undefined)); -} - -//CHECK#4 -if (null << null !== 0) { - $ERROR('#4: null << null === 0. Actual: ' + (null << null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.js deleted file mode 100644 index 96709bba28..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T1.5; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) and Type(y) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T1.5", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) and Type(y) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} << function(){return 1}) !== 0) { - $ERROR('#1: ({} << function(){return 1}) === 0. Actual: ' + (({} << function(){return 1}))); -} - -//CHECK#2 -if ((function(){return 1} << {}) !== 0) { - $ERROR('#2: (function(){return 1} << {}) === 0. Actual: ' + ((function(){return 1} << {}))); -} - -//CHECK#3 -if ((function(){return 1} << function(){return 1}) !== 0) { - $ERROR('#3: (function(){return 1} << function(){return 1}) === 0. Actual: ' + ((function(){return 1} << function(){return 1}))); -} - -//CHECK#4 -if (({} << {}) !== 0) { - $ERROR('#4: ({} << {}) === 0. Actual: ' + (({} << {}))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.js deleted file mode 100644 index 6dd11b10a3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T2.1; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T2.1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true << 1 !== 2) { - $ERROR('#1: true << 1 === 2. Actual: ' + (true << 1)); -} - -//CHECK#2 -if (1 << true !== 2) { - $ERROR('#2: 1 << true === 2. Actual: ' + (1 << true)); -} - -//CHECK#3 -if (new Boolean(true) << 1 !== 2) { - $ERROR('#3: new Boolean(true) << 1 === 2. Actual: ' + (new Boolean(true) << 1)); -} - -//CHECK#4 -if (1 << new Boolean(true) !== 2) { - $ERROR('#4: 1 << new Boolean(true) === 2. Actual: ' + (1 << new Boolean(true))); -} - -//CHECK#5 -if (true << new Number(1) !== 2) { - $ERROR('#5: true << new Number(1) === 2. Actual: ' + (true << new Number(1))); -} - -//CHECK#6 -if (new Number(1) << true !== 2) { - $ERROR('#6: new Number(1) << true === 2. Actual: ' + (new Number(1) << true)); -} - -//CHECK#7 -if (new Boolean(true) << new Number(1) !== 2) { - $ERROR('#7: new Boolean(true) << new Number(1) === 2. Actual: ' + (new Boolean(true) << new Number(1))); -} - -//CHECK#8 -if (new Number(1) << new Boolean(true) !== 2) { - $ERROR('#8: new Number(1) << new Boolean(true) === 2. Actual: ' + (new Number(1) << new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.js deleted file mode 100644 index fb585490a1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T2.2; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T2.2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" << 1 !== 2) { - $ERROR('#1: "1" << 1 === 2. Actual: ' + ("1" << 1)); -} - -//CHECK#2 -if (1 << "1" !== 2) { - $ERROR('#2: 1 << "1" === 2. Actual: ' + (1 << "1")); -} - -//CHECK#3 -if (new String("1") << 1 !== 2) { - $ERROR('#3: new String("1") << 1 === 2. Actual: ' + (new String("1") << 1)); -} - -//CHECK#4 -if (1 << new String("1") !== 2) { - $ERROR('#4: 1 << new String("1") === 2. Actual: ' + (1 << new String("1"))); -} - -//CHECK#5 -if ("1" << new Number(1) !== 2) { - $ERROR('#5: "1" << new Number(1) === 2. Actual: ' + ("1" << new Number(1))); -} - -//CHECK#6 -if (new Number(1) << "1" !== 2) { - $ERROR('#6: new Number(1) << "1" === 2. Actual: ' + (new Number(1) << "1")); -} - -//CHECK#7 -if (new String("1") << new Number(1) !== 2) { - $ERROR('#7: new String("1") << new Number(1) === 2. Actual: ' + (new String("1") << new Number(1))); -} - -//CHECK#8 -if (new Number(1) << new String("1") !== 2) { - $ERROR('#8: new Number(1) << new String("1") === 2. Actual: ' + (new Number(1) << new String("1"))); -} - -//CHECK#9 -if ("x" << 1 !== 0) { - $ERROR('#9: "x" << 1 === 0. Actual: ' + ("x" << 1)); -} - -//CHECK#10 -if (1 << "x" !== 1) { - $ERROR('#10: 1 << "x" === 1. Actual: ' + (1 << "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.js deleted file mode 100644 index e593c74a05..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T2.3; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T2.3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 << null !== 1) { - $ERROR('#1: 1 << null === 1. Actual: ' + (1 << null)); -} - -//CHECK#2 -if (null << 1 !== 0) { - $ERROR('#2: null << 1 === 0. Actual: ' + (null << 1)); -} - -//CHECK#3 -if (new Number(1) << null !== 1) { - $ERROR('#3: new Number(1) << null === 1. Actual: ' + (new Number(1) << null)); -} - -//CHECK#4 -if (null << new Number(1) !== 0) { - $ERROR('#4: null << new Number(1) === 0. Actual: ' + (null << new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.js deleted file mode 100644 index dac3f8f344..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T2.4; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T2.4", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (1 << undefined !== 1) { - $ERROR('#1: 1 << undefined === 1. Actual: ' + (1 << undefined)); -} - -//CHECK#2 -if (undefined << 1 !== 0) { - $ERROR('#2: undefined << 1 === 0. Actual: ' + (undefined << 1)); -} - -//CHECK#3 -if (new Number(1) << undefined !== 1) { - $ERROR('#3: new Number(1) << undefined === 1. Actual: ' + (new Number(1) << undefined)); -} - -//CHECK#4 -if (undefined << new Number(1) !== 0) { - $ERROR('#4: undefined << new Number(1) === 0. Actual: ' + (undefined << new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.js deleted file mode 100644 index a315190a16..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T2.5; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) or Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T2.5", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) or Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true << "1" !== 2) { - $ERROR('#1: true << "1" === 2. Actual: ' + (true << "1")); -} - -//CHECK#2 -if ("1" << true !== 2) { - $ERROR('#2: "1" << true === 2. Actual: ' + ("1" << true)); -} - -//CHECK#3 -if (new Boolean(true) << "1" !== 2) { - $ERROR('#3: new Boolean(true) << "1" === 2. Actual: ' + (new Boolean(true) << "1")); -} - -//CHECK#4 -if ("1" << new Boolean(true) !== 2) { - $ERROR('#4: "1" << new Boolean(true) === 2. Actual: ' + ("1" << new Boolean(true))); -} - -//CHECK#5 -if (true << new String("1") !== 2) { - $ERROR('#5: true << new String("1") === 2. Actual: ' + (true << new String("1"))); -} - -//CHECK#6 -if (new String("1") << true !== 2) { - $ERROR('#6: new String("1") << true === 2. Actual: ' + (new String("1") << true)); -} - -//CHECK#7 -if (new Boolean(true) << new String("1") !== 2) { - $ERROR('#7: new Boolean(true) << new String("1") === 2. Actual: ' + (new Boolean(true) << new String("1"))); -} - -//CHECK#8 -if (new String("1") << new Boolean(true) !== 2) { - $ERROR('#8: new String("1") << new Boolean(true) === 2. Actual: ' + (new String("1") << new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.js deleted file mode 100644 index d6c381f78a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T2.6; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T2.6", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ("1" << undefined !== 1) { - $ERROR('#1: "1" << undefined === 1. Actual: ' + ("1" << undefined)); -} - -//CHECK#2 -if (undefined << "1" !== 0) { - $ERROR('#2: undefined << "1" === 0. Actual: ' + (undefined << "1")); -} - -//CHECK#3 -if (new String("1") << undefined !== 1) { - $ERROR('#3: new String("1") << undefined === 1. Actual: ' + (new String("1") << undefined)); -} - -//CHECK#4 -if (undefined << new String("1") !== 0) { - $ERROR('#4: undefined << new String("1") === 0. Actual: ' + (undefined << new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.js deleted file mode 100644 index 20c52323ff..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T2.7; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T2.7", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" << null !== 1) { - $ERROR('#1: "1" << null === 1. Actual: ' + ("1" << null)); -} - -//CHECK#2 -if (null << "1" !== 0) { - $ERROR('#2: null << "1" === 0. Actual: ' + (null << "1")); -} - -//CHECK#3 -if (new String("1") << null !== 1) { - $ERROR('#3: new String("1") << null === 1. Actual: ' + (new String("1") << null)); -} - -//CHECK#4 -if (null << new String("1") !== 0) { - $ERROR('#4: null << new String("1") === 0. Actual: ' + (null << new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.js deleted file mode 100644 index f4c91f43dd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T2.8; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T2.8", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (true << undefined !== 1) { - $ERROR('#1: true << undefined === 1. Actual: ' + (true << undefined)); -} - -//CHECK#2 -if (undefined << true !== 0) { - $ERROR('#2: undefined << true === 0. Actual: ' + (undefined << true)); -} - -//CHECK#3 -if (new Boolean(true) << undefined !== 1) { - $ERROR('#3: new Boolean(true) << undefined === 1. Actual: ' + (new Boolean(true) << undefined)); -} - -//CHECK#4 -if (undefined << new Boolean(true) !== 0) { - $ERROR('#4: undefined << new Boolean(true) === 0. Actual: ' + (undefined << new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.js deleted file mode 100644 index 2f8d93cb4c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A3_T2.9; - * @section: 11.7.1; - * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A3_T2.9", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.js", - -assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true << null !== 1) { - $ERROR('#1: true << null === 1. Actual: ' + (true << null)); -} - -//CHECK#2 -if (null << true !== 0) { - $ERROR('#2: null << true === 0. Actual: ' + (null << true)); -} - -//CHECK#3 -if (new Boolean(true) << null !== 1) { - $ERROR('#3: new Boolean(true) << null === 1. Actual: ' + (new Boolean(true) << null)); -} - -//CHECK#4 -if (null << new Boolean(true) !== 0) { - $ERROR('#4: null << new Boolean(true) === 0. Actual: ' + (null << new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.js deleted file mode 100644 index 4f29b65466..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.js +++ /dev/null @@ -1,2587 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A4_T1; - * @section: 11.7.1; - * @assertion: Check operator x << y in distinct points; - * @description: ShiftExpression = -2^n, n = 0...15; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A4_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.js", - -assertion: "Check operator x << y in distinct points", - -description: "ShiftExpression = -2^n, n = 0...15", - -test: function testcase() { - //CHECK - -if (-1 << 0 !== -1) { - $ERROR('#1: -1 << 0 === -1. Actual: ' + (-1 << 0)); -} - - -if (-2 << 0 !== -2) { - $ERROR('#2: -2 << 0 === -2. Actual: ' + (-2 << 0)); -} - - -if (-4 << 0 !== -4) { - $ERROR('#3: -4 << 0 === -4. Actual: ' + (-4 << 0)); -} - - -if (-8 << 0 !== -8) { - $ERROR('#4: -8 << 0 === -8. Actual: ' + (-8 << 0)); -} - - -if (-16 << 0 !== -16) { - $ERROR('#5: -16 << 0 === -16. Actual: ' + (-16 << 0)); -} - - -if (-32 << 0 !== -32) { - $ERROR('#6: -32 << 0 === -32. Actual: ' + (-32 << 0)); -} - - -if (-64 << 0 !== -64) { - $ERROR('#7: -64 << 0 === -64. Actual: ' + (-64 << 0)); -} - - -if (-128 << 0 !== -128) { - $ERROR('#8: -128 << 0 === -128. Actual: ' + (-128 << 0)); -} - - -if (-256 << 0 !== -256) { - $ERROR('#9: -256 << 0 === -256. Actual: ' + (-256 << 0)); -} - - -if (-512 << 0 !== -512) { - $ERROR('#10: -512 << 0 === -512. Actual: ' + (-512 << 0)); -} - - -if (-1024 << 0 !== -1024) { - $ERROR('#11: -1024 << 0 === -1024. Actual: ' + (-1024 << 0)); -} - - -if (-2048 << 0 !== -2048) { - $ERROR('#12: -2048 << 0 === -2048. Actual: ' + (-2048 << 0)); -} - - -if (-4096 << 0 !== -4096) { - $ERROR('#13: -4096 << 0 === -4096. Actual: ' + (-4096 << 0)); -} - - -if (-8192 << 0 !== -8192) { - $ERROR('#14: -8192 << 0 === -8192. Actual: ' + (-8192 << 0)); -} - - -if (-16384 << 0 !== -16384) { - $ERROR('#15: -16384 << 0 === -16384. Actual: ' + (-16384 << 0)); -} - - -if (-32768 << 0 !== -32768) { - $ERROR('#16: -32768 << 0 === -32768. Actual: ' + (-32768 << 0)); -} - - -if (-65536 << 0 !== -65536) { - $ERROR('#17: -65536 << 0 === -65536. Actual: ' + (-65536 << 0)); -} - - -if (-131072 << 0 !== -131072) { - $ERROR('#18: -131072 << 0 === -131072. Actual: ' + (-131072 << 0)); -} - - -if (-262144 << 0 !== -262144) { - $ERROR('#19: -262144 << 0 === -262144. Actual: ' + (-262144 << 0)); -} - - -if (-524288 << 0 !== -524288) { - $ERROR('#20: -524288 << 0 === -524288. Actual: ' + (-524288 << 0)); -} - - -if (-1048576 << 0 !== -1048576) { - $ERROR('#21: -1048576 << 0 === -1048576. Actual: ' + (-1048576 << 0)); -} - - -if (-2097152 << 0 !== -2097152) { - $ERROR('#22: -2097152 << 0 === -2097152. Actual: ' + (-2097152 << 0)); -} - - -if (-4194304 << 0 !== -4194304) { - $ERROR('#23: -4194304 << 0 === -4194304. Actual: ' + (-4194304 << 0)); -} - - -if (-8388608 << 0 !== -8388608) { - $ERROR('#24: -8388608 << 0 === -8388608. Actual: ' + (-8388608 << 0)); -} - - -if (-16777216 << 0 !== -16777216) { - $ERROR('#25: -16777216 << 0 === -16777216. Actual: ' + (-16777216 << 0)); -} - - -if (-33554432 << 0 !== -33554432) { - $ERROR('#26: -33554432 << 0 === -33554432. Actual: ' + (-33554432 << 0)); -} - - -if (-67108864 << 0 !== -67108864) { - $ERROR('#27: -67108864 << 0 === -67108864. Actual: ' + (-67108864 << 0)); -} - - -if (-134217728 << 0 !== -134217728) { - $ERROR('#28: -134217728 << 0 === -134217728. Actual: ' + (-134217728 << 0)); -} - - -if (-268435456 << 0 !== -268435456) { - $ERROR('#29: -268435456 << 0 === -268435456. Actual: ' + (-268435456 << 0)); -} - - -if (-536870912 << 0 !== -536870912) { - $ERROR('#30: -536870912 << 0 === -536870912. Actual: ' + (-536870912 << 0)); -} - - -if (-1073741824 << 0 !== -1073741824) { - $ERROR('#31: -1073741824 << 0 === -1073741824. Actual: ' + (-1073741824 << 0)); -} - - -if (-2147483648 << 0 !== -2147483648) { - $ERROR('#32: -2147483648 << 0 === -2147483648. Actual: ' + (-2147483648 << 0)); -} - - -if (-1 << 1 !== -2) { - $ERROR('#33: -1 << 1 === -2. Actual: ' + (-1 << 1)); -} - - -if (-2 << 1 !== -4) { - $ERROR('#34: -2 << 1 === -4. Actual: ' + (-2 << 1)); -} - - -if (-4 << 1 !== -8) { - $ERROR('#35: -4 << 1 === -8. Actual: ' + (-4 << 1)); -} - - -if (-8 << 1 !== -16) { - $ERROR('#36: -8 << 1 === -16. Actual: ' + (-8 << 1)); -} - - -if (-16 << 1 !== -32) { - $ERROR('#37: -16 << 1 === -32. Actual: ' + (-16 << 1)); -} - - -if (-32 << 1 !== -64) { - $ERROR('#38: -32 << 1 === -64. Actual: ' + (-32 << 1)); -} - - -if (-64 << 1 !== -128) { - $ERROR('#39: -64 << 1 === -128. Actual: ' + (-64 << 1)); -} - - -if (-128 << 1 !== -256) { - $ERROR('#40: -128 << 1 === -256. Actual: ' + (-128 << 1)); -} - - -if (-256 << 1 !== -512) { - $ERROR('#41: -256 << 1 === -512. Actual: ' + (-256 << 1)); -} - - -if (-512 << 1 !== -1024) { - $ERROR('#42: -512 << 1 === -1024. Actual: ' + (-512 << 1)); -} - - -if (-1024 << 1 !== -2048) { - $ERROR('#43: -1024 << 1 === -2048. Actual: ' + (-1024 << 1)); -} - - -if (-2048 << 1 !== -4096) { - $ERROR('#44: -2048 << 1 === -4096. Actual: ' + (-2048 << 1)); -} - - -if (-4096 << 1 !== -8192) { - $ERROR('#45: -4096 << 1 === -8192. Actual: ' + (-4096 << 1)); -} - - -if (-8192 << 1 !== -16384) { - $ERROR('#46: -8192 << 1 === -16384. Actual: ' + (-8192 << 1)); -} - - -if (-16384 << 1 !== -32768) { - $ERROR('#47: -16384 << 1 === -32768. Actual: ' + (-16384 << 1)); -} - - -if (-32768 << 1 !== -65536) { - $ERROR('#48: -32768 << 1 === -65536. Actual: ' + (-32768 << 1)); -} - - -if (-65536 << 1 !== -131072) { - $ERROR('#49: -65536 << 1 === -131072. Actual: ' + (-65536 << 1)); -} - - -if (-131072 << 1 !== -262144) { - $ERROR('#50: -131072 << 1 === -262144. Actual: ' + (-131072 << 1)); -} - - -if (-262144 << 1 !== -524288) { - $ERROR('#51: -262144 << 1 === -524288. Actual: ' + (-262144 << 1)); -} - - -if (-524288 << 1 !== -1048576) { - $ERROR('#52: -524288 << 1 === -1048576. Actual: ' + (-524288 << 1)); -} - - -if (-1048576 << 1 !== -2097152) { - $ERROR('#53: -1048576 << 1 === -2097152. Actual: ' + (-1048576 << 1)); -} - - -if (-2097152 << 1 !== -4194304) { - $ERROR('#54: -2097152 << 1 === -4194304. Actual: ' + (-2097152 << 1)); -} - - -if (-4194304 << 1 !== -8388608) { - $ERROR('#55: -4194304 << 1 === -8388608. Actual: ' + (-4194304 << 1)); -} - - -if (-8388608 << 1 !== -16777216) { - $ERROR('#56: -8388608 << 1 === -16777216. Actual: ' + (-8388608 << 1)); -} - - -if (-16777216 << 1 !== -33554432) { - $ERROR('#57: -16777216 << 1 === -33554432. Actual: ' + (-16777216 << 1)); -} - - -if (-33554432 << 1 !== -67108864) { - $ERROR('#58: -33554432 << 1 === -67108864. Actual: ' + (-33554432 << 1)); -} - - -if (-67108864 << 1 !== -134217728) { - $ERROR('#59: -67108864 << 1 === -134217728. Actual: ' + (-67108864 << 1)); -} - - -if (-134217728 << 1 !== -268435456) { - $ERROR('#60: -134217728 << 1 === -268435456. Actual: ' + (-134217728 << 1)); -} - - -if (-268435456 << 1 !== -536870912) { - $ERROR('#61: -268435456 << 1 === -536870912. Actual: ' + (-268435456 << 1)); -} - - -if (-536870912 << 1 !== -1073741824) { - $ERROR('#62: -536870912 << 1 === -1073741824. Actual: ' + (-536870912 << 1)); -} - - -if (-1073741824 << 1 !== -2147483648) { - $ERROR('#63: -1073741824 << 1 === -2147483648. Actual: ' + (-1073741824 << 1)); -} - - -if (-2147483648 << 1 !== 0) { - $ERROR('#64: -2147483648 << 1 === 0. Actual: ' + (-2147483648 << 1)); -} - - -if (-1 << 2 !== -4) { - $ERROR('#65: -1 << 2 === -4. Actual: ' + (-1 << 2)); -} - - -if (-2 << 2 !== -8) { - $ERROR('#66: -2 << 2 === -8. Actual: ' + (-2 << 2)); -} - - -if (-4 << 2 !== -16) { - $ERROR('#67: -4 << 2 === -16. Actual: ' + (-4 << 2)); -} - - -if (-8 << 2 !== -32) { - $ERROR('#68: -8 << 2 === -32. Actual: ' + (-8 << 2)); -} - - -if (-16 << 2 !== -64) { - $ERROR('#69: -16 << 2 === -64. Actual: ' + (-16 << 2)); -} - - -if (-32 << 2 !== -128) { - $ERROR('#70: -32 << 2 === -128. Actual: ' + (-32 << 2)); -} - - -if (-64 << 2 !== -256) { - $ERROR('#71: -64 << 2 === -256. Actual: ' + (-64 << 2)); -} - - -if (-128 << 2 !== -512) { - $ERROR('#72: -128 << 2 === -512. Actual: ' + (-128 << 2)); -} - - -if (-256 << 2 !== -1024) { - $ERROR('#73: -256 << 2 === -1024. Actual: ' + (-256 << 2)); -} - - -if (-512 << 2 !== -2048) { - $ERROR('#74: -512 << 2 === -2048. Actual: ' + (-512 << 2)); -} - - -if (-1024 << 2 !== -4096) { - $ERROR('#75: -1024 << 2 === -4096. Actual: ' + (-1024 << 2)); -} - - -if (-2048 << 2 !== -8192) { - $ERROR('#76: -2048 << 2 === -8192. Actual: ' + (-2048 << 2)); -} - - -if (-4096 << 2 !== -16384) { - $ERROR('#77: -4096 << 2 === -16384. Actual: ' + (-4096 << 2)); -} - - -if (-8192 << 2 !== -32768) { - $ERROR('#78: -8192 << 2 === -32768. Actual: ' + (-8192 << 2)); -} - - -if (-16384 << 2 !== -65536) { - $ERROR('#79: -16384 << 2 === -65536. Actual: ' + (-16384 << 2)); -} - - -if (-32768 << 2 !== -131072) { - $ERROR('#80: -32768 << 2 === -131072. Actual: ' + (-32768 << 2)); -} - - -if (-65536 << 2 !== -262144) { - $ERROR('#81: -65536 << 2 === -262144. Actual: ' + (-65536 << 2)); -} - - -if (-131072 << 2 !== -524288) { - $ERROR('#82: -131072 << 2 === -524288. Actual: ' + (-131072 << 2)); -} - - -if (-262144 << 2 !== -1048576) { - $ERROR('#83: -262144 << 2 === -1048576. Actual: ' + (-262144 << 2)); -} - - -if (-524288 << 2 !== -2097152) { - $ERROR('#84: -524288 << 2 === -2097152. Actual: ' + (-524288 << 2)); -} - - -if (-1048576 << 2 !== -4194304) { - $ERROR('#85: -1048576 << 2 === -4194304. Actual: ' + (-1048576 << 2)); -} - - -if (-2097152 << 2 !== -8388608) { - $ERROR('#86: -2097152 << 2 === -8388608. Actual: ' + (-2097152 << 2)); -} - - -if (-4194304 << 2 !== -16777216) { - $ERROR('#87: -4194304 << 2 === -16777216. Actual: ' + (-4194304 << 2)); -} - - -if (-8388608 << 2 !== -33554432) { - $ERROR('#88: -8388608 << 2 === -33554432. Actual: ' + (-8388608 << 2)); -} - - -if (-16777216 << 2 !== -67108864) { - $ERROR('#89: -16777216 << 2 === -67108864. Actual: ' + (-16777216 << 2)); -} - - -if (-33554432 << 2 !== -134217728) { - $ERROR('#90: -33554432 << 2 === -134217728. Actual: ' + (-33554432 << 2)); -} - - -if (-67108864 << 2 !== -268435456) { - $ERROR('#91: -67108864 << 2 === -268435456. Actual: ' + (-67108864 << 2)); -} - - -if (-134217728 << 2 !== -536870912) { - $ERROR('#92: -134217728 << 2 === -536870912. Actual: ' + (-134217728 << 2)); -} - - -if (-268435456 << 2 !== -1073741824) { - $ERROR('#93: -268435456 << 2 === -1073741824. Actual: ' + (-268435456 << 2)); -} - - -if (-536870912 << 2 !== -2147483648) { - $ERROR('#94: -536870912 << 2 === -2147483648. Actual: ' + (-536870912 << 2)); -} - - -if (-1073741824 << 2 !== 0) { - $ERROR('#95: -1073741824 << 2 === 0. Actual: ' + (-1073741824 << 2)); -} - - -if (-2147483648 << 2 !== 0) { - $ERROR('#96: -2147483648 << 2 === 0. Actual: ' + (-2147483648 << 2)); -} - - -if (-1 << 3 !== -8) { - $ERROR('#97: -1 << 3 === -8. Actual: ' + (-1 << 3)); -} - - -if (-2 << 3 !== -16) { - $ERROR('#98: -2 << 3 === -16. Actual: ' + (-2 << 3)); -} - - -if (-4 << 3 !== -32) { - $ERROR('#99: -4 << 3 === -32. Actual: ' + (-4 << 3)); -} - - -if (-8 << 3 !== -64) { - $ERROR('#100: -8 << 3 === -64. Actual: ' + (-8 << 3)); -} - - -if (-16 << 3 !== -128) { - $ERROR('#101: -16 << 3 === -128. Actual: ' + (-16 << 3)); -} - - -if (-32 << 3 !== -256) { - $ERROR('#102: -32 << 3 === -256. Actual: ' + (-32 << 3)); -} - - -if (-64 << 3 !== -512) { - $ERROR('#103: -64 << 3 === -512. Actual: ' + (-64 << 3)); -} - - -if (-128 << 3 !== -1024) { - $ERROR('#104: -128 << 3 === -1024. Actual: ' + (-128 << 3)); -} - - -if (-256 << 3 !== -2048) { - $ERROR('#105: -256 << 3 === -2048. Actual: ' + (-256 << 3)); -} - - -if (-512 << 3 !== -4096) { - $ERROR('#106: -512 << 3 === -4096. Actual: ' + (-512 << 3)); -} - - -if (-1024 << 3 !== -8192) { - $ERROR('#107: -1024 << 3 === -8192. Actual: ' + (-1024 << 3)); -} - - -if (-2048 << 3 !== -16384) { - $ERROR('#108: -2048 << 3 === -16384. Actual: ' + (-2048 << 3)); -} - - -if (-4096 << 3 !== -32768) { - $ERROR('#109: -4096 << 3 === -32768. Actual: ' + (-4096 << 3)); -} - - -if (-8192 << 3 !== -65536) { - $ERROR('#110: -8192 << 3 === -65536. Actual: ' + (-8192 << 3)); -} - - -if (-16384 << 3 !== -131072) { - $ERROR('#111: -16384 << 3 === -131072. Actual: ' + (-16384 << 3)); -} - - -if (-32768 << 3 !== -262144) { - $ERROR('#112: -32768 << 3 === -262144. Actual: ' + (-32768 << 3)); -} - - -if (-65536 << 3 !== -524288) { - $ERROR('#113: -65536 << 3 === -524288. Actual: ' + (-65536 << 3)); -} - - -if (-131072 << 3 !== -1048576) { - $ERROR('#114: -131072 << 3 === -1048576. Actual: ' + (-131072 << 3)); -} - - -if (-262144 << 3 !== -2097152) { - $ERROR('#115: -262144 << 3 === -2097152. Actual: ' + (-262144 << 3)); -} - - -if (-524288 << 3 !== -4194304) { - $ERROR('#116: -524288 << 3 === -4194304. Actual: ' + (-524288 << 3)); -} - - -if (-1048576 << 3 !== -8388608) { - $ERROR('#117: -1048576 << 3 === -8388608. Actual: ' + (-1048576 << 3)); -} - - -if (-2097152 << 3 !== -16777216) { - $ERROR('#118: -2097152 << 3 === -16777216. Actual: ' + (-2097152 << 3)); -} - - -if (-4194304 << 3 !== -33554432) { - $ERROR('#119: -4194304 << 3 === -33554432. Actual: ' + (-4194304 << 3)); -} - - -if (-8388608 << 3 !== -67108864) { - $ERROR('#120: -8388608 << 3 === -67108864. Actual: ' + (-8388608 << 3)); -} - - -if (-16777216 << 3 !== -134217728) { - $ERROR('#121: -16777216 << 3 === -134217728. Actual: ' + (-16777216 << 3)); -} - - -if (-33554432 << 3 !== -268435456) { - $ERROR('#122: -33554432 << 3 === -268435456. Actual: ' + (-33554432 << 3)); -} - - -if (-67108864 << 3 !== -536870912) { - $ERROR('#123: -67108864 << 3 === -536870912. Actual: ' + (-67108864 << 3)); -} - - -if (-134217728 << 3 !== -1073741824) { - $ERROR('#124: -134217728 << 3 === -1073741824. Actual: ' + (-134217728 << 3)); -} - - -if (-268435456 << 3 !== -2147483648) { - $ERROR('#125: -268435456 << 3 === -2147483648. Actual: ' + (-268435456 << 3)); -} - - -if (-536870912 << 3 !== 0) { - $ERROR('#126: -536870912 << 3 === 0. Actual: ' + (-536870912 << 3)); -} - - -if (-1073741824 << 3 !== 0) { - $ERROR('#127: -1073741824 << 3 === 0. Actual: ' + (-1073741824 << 3)); -} - - -if (-2147483648 << 3 !== 0) { - $ERROR('#128: -2147483648 << 3 === 0. Actual: ' + (-2147483648 << 3)); -} - - -if (-1 << 4 !== -16) { - $ERROR('#129: -1 << 4 === -16. Actual: ' + (-1 << 4)); -} - - -if (-2 << 4 !== -32) { - $ERROR('#130: -2 << 4 === -32. Actual: ' + (-2 << 4)); -} - - -if (-4 << 4 !== -64) { - $ERROR('#131: -4 << 4 === -64. Actual: ' + (-4 << 4)); -} - - -if (-8 << 4 !== -128) { - $ERROR('#132: -8 << 4 === -128. Actual: ' + (-8 << 4)); -} - - -if (-16 << 4 !== -256) { - $ERROR('#133: -16 << 4 === -256. Actual: ' + (-16 << 4)); -} - - -if (-32 << 4 !== -512) { - $ERROR('#134: -32 << 4 === -512. Actual: ' + (-32 << 4)); -} - - -if (-64 << 4 !== -1024) { - $ERROR('#135: -64 << 4 === -1024. Actual: ' + (-64 << 4)); -} - - -if (-128 << 4 !== -2048) { - $ERROR('#136: -128 << 4 === -2048. Actual: ' + (-128 << 4)); -} - - -if (-256 << 4 !== -4096) { - $ERROR('#137: -256 << 4 === -4096. Actual: ' + (-256 << 4)); -} - - -if (-512 << 4 !== -8192) { - $ERROR('#138: -512 << 4 === -8192. Actual: ' + (-512 << 4)); -} - - -if (-1024 << 4 !== -16384) { - $ERROR('#139: -1024 << 4 === -16384. Actual: ' + (-1024 << 4)); -} - - -if (-2048 << 4 !== -32768) { - $ERROR('#140: -2048 << 4 === -32768. Actual: ' + (-2048 << 4)); -} - - -if (-4096 << 4 !== -65536) { - $ERROR('#141: -4096 << 4 === -65536. Actual: ' + (-4096 << 4)); -} - - -if (-8192 << 4 !== -131072) { - $ERROR('#142: -8192 << 4 === -131072. Actual: ' + (-8192 << 4)); -} - - -if (-16384 << 4 !== -262144) { - $ERROR('#143: -16384 << 4 === -262144. Actual: ' + (-16384 << 4)); -} - - -if (-32768 << 4 !== -524288) { - $ERROR('#144: -32768 << 4 === -524288. Actual: ' + (-32768 << 4)); -} - - -if (-65536 << 4 !== -1048576) { - $ERROR('#145: -65536 << 4 === -1048576. Actual: ' + (-65536 << 4)); -} - - -if (-131072 << 4 !== -2097152) { - $ERROR('#146: -131072 << 4 === -2097152. Actual: ' + (-131072 << 4)); -} - - -if (-262144 << 4 !== -4194304) { - $ERROR('#147: -262144 << 4 === -4194304. Actual: ' + (-262144 << 4)); -} - - -if (-524288 << 4 !== -8388608) { - $ERROR('#148: -524288 << 4 === -8388608. Actual: ' + (-524288 << 4)); -} - - -if (-1048576 << 4 !== -16777216) { - $ERROR('#149: -1048576 << 4 === -16777216. Actual: ' + (-1048576 << 4)); -} - - -if (-2097152 << 4 !== -33554432) { - $ERROR('#150: -2097152 << 4 === -33554432. Actual: ' + (-2097152 << 4)); -} - - -if (-4194304 << 4 !== -67108864) { - $ERROR('#151: -4194304 << 4 === -67108864. Actual: ' + (-4194304 << 4)); -} - - -if (-8388608 << 4 !== -134217728) { - $ERROR('#152: -8388608 << 4 === -134217728. Actual: ' + (-8388608 << 4)); -} - - -if (-16777216 << 4 !== -268435456) { - $ERROR('#153: -16777216 << 4 === -268435456. Actual: ' + (-16777216 << 4)); -} - - -if (-33554432 << 4 !== -536870912) { - $ERROR('#154: -33554432 << 4 === -536870912. Actual: ' + (-33554432 << 4)); -} - - -if (-67108864 << 4 !== -1073741824) { - $ERROR('#155: -67108864 << 4 === -1073741824. Actual: ' + (-67108864 << 4)); -} - - -if (-134217728 << 4 !== -2147483648) { - $ERROR('#156: -134217728 << 4 === -2147483648. Actual: ' + (-134217728 << 4)); -} - - -if (-268435456 << 4 !== 0) { - $ERROR('#157: -268435456 << 4 === 0. Actual: ' + (-268435456 << 4)); -} - - -if (-536870912 << 4 !== 0) { - $ERROR('#158: -536870912 << 4 === 0. Actual: ' + (-536870912 << 4)); -} - - -if (-1073741824 << 4 !== 0) { - $ERROR('#159: -1073741824 << 4 === 0. Actual: ' + (-1073741824 << 4)); -} - - -if (-2147483648 << 4 !== 0) { - $ERROR('#160: -2147483648 << 4 === 0. Actual: ' + (-2147483648 << 4)); -} - - -if (-1 << 5 !== -32) { - $ERROR('#161: -1 << 5 === -32. Actual: ' + (-1 << 5)); -} - - -if (-2 << 5 !== -64) { - $ERROR('#162: -2 << 5 === -64. Actual: ' + (-2 << 5)); -} - - -if (-4 << 5 !== -128) { - $ERROR('#163: -4 << 5 === -128. Actual: ' + (-4 << 5)); -} - - -if (-8 << 5 !== -256) { - $ERROR('#164: -8 << 5 === -256. Actual: ' + (-8 << 5)); -} - - -if (-16 << 5 !== -512) { - $ERROR('#165: -16 << 5 === -512. Actual: ' + (-16 << 5)); -} - - -if (-32 << 5 !== -1024) { - $ERROR('#166: -32 << 5 === -1024. Actual: ' + (-32 << 5)); -} - - -if (-64 << 5 !== -2048) { - $ERROR('#167: -64 << 5 === -2048. Actual: ' + (-64 << 5)); -} - - -if (-128 << 5 !== -4096) { - $ERROR('#168: -128 << 5 === -4096. Actual: ' + (-128 << 5)); -} - - -if (-256 << 5 !== -8192) { - $ERROR('#169: -256 << 5 === -8192. Actual: ' + (-256 << 5)); -} - - -if (-512 << 5 !== -16384) { - $ERROR('#170: -512 << 5 === -16384. Actual: ' + (-512 << 5)); -} - - -if (-1024 << 5 !== -32768) { - $ERROR('#171: -1024 << 5 === -32768. Actual: ' + (-1024 << 5)); -} - - -if (-2048 << 5 !== -65536) { - $ERROR('#172: -2048 << 5 === -65536. Actual: ' + (-2048 << 5)); -} - - -if (-4096 << 5 !== -131072) { - $ERROR('#173: -4096 << 5 === -131072. Actual: ' + (-4096 << 5)); -} - - -if (-8192 << 5 !== -262144) { - $ERROR('#174: -8192 << 5 === -262144. Actual: ' + (-8192 << 5)); -} - - -if (-16384 << 5 !== -524288) { - $ERROR('#175: -16384 << 5 === -524288. Actual: ' + (-16384 << 5)); -} - - -if (-32768 << 5 !== -1048576) { - $ERROR('#176: -32768 << 5 === -1048576. Actual: ' + (-32768 << 5)); -} - - -if (-65536 << 5 !== -2097152) { - $ERROR('#177: -65536 << 5 === -2097152. Actual: ' + (-65536 << 5)); -} - - -if (-131072 << 5 !== -4194304) { - $ERROR('#178: -131072 << 5 === -4194304. Actual: ' + (-131072 << 5)); -} - - -if (-262144 << 5 !== -8388608) { - $ERROR('#179: -262144 << 5 === -8388608. Actual: ' + (-262144 << 5)); -} - - -if (-524288 << 5 !== -16777216) { - $ERROR('#180: -524288 << 5 === -16777216. Actual: ' + (-524288 << 5)); -} - - -if (-1048576 << 5 !== -33554432) { - $ERROR('#181: -1048576 << 5 === -33554432. Actual: ' + (-1048576 << 5)); -} - - -if (-2097152 << 5 !== -67108864) { - $ERROR('#182: -2097152 << 5 === -67108864. Actual: ' + (-2097152 << 5)); -} - - -if (-4194304 << 5 !== -134217728) { - $ERROR('#183: -4194304 << 5 === -134217728. Actual: ' + (-4194304 << 5)); -} - - -if (-8388608 << 5 !== -268435456) { - $ERROR('#184: -8388608 << 5 === -268435456. Actual: ' + (-8388608 << 5)); -} - - -if (-16777216 << 5 !== -536870912) { - $ERROR('#185: -16777216 << 5 === -536870912. Actual: ' + (-16777216 << 5)); -} - - -if (-33554432 << 5 !== -1073741824) { - $ERROR('#186: -33554432 << 5 === -1073741824. Actual: ' + (-33554432 << 5)); -} - - -if (-67108864 << 5 !== -2147483648) { - $ERROR('#187: -67108864 << 5 === -2147483648. Actual: ' + (-67108864 << 5)); -} - - -if (-134217728 << 5 !== 0) { - $ERROR('#188: -134217728 << 5 === 0. Actual: ' + (-134217728 << 5)); -} - - -if (-268435456 << 5 !== 0) { - $ERROR('#189: -268435456 << 5 === 0. Actual: ' + (-268435456 << 5)); -} - - -if (-536870912 << 5 !== 0) { - $ERROR('#190: -536870912 << 5 === 0. Actual: ' + (-536870912 << 5)); -} - - -if (-1073741824 << 5 !== 0) { - $ERROR('#191: -1073741824 << 5 === 0. Actual: ' + (-1073741824 << 5)); -} - - -if (-2147483648 << 5 !== 0) { - $ERROR('#192: -2147483648 << 5 === 0. Actual: ' + (-2147483648 << 5)); -} - - -if (-1 << 6 !== -64) { - $ERROR('#193: -1 << 6 === -64. Actual: ' + (-1 << 6)); -} - - -if (-2 << 6 !== -128) { - $ERROR('#194: -2 << 6 === -128. Actual: ' + (-2 << 6)); -} - - -if (-4 << 6 !== -256) { - $ERROR('#195: -4 << 6 === -256. Actual: ' + (-4 << 6)); -} - - -if (-8 << 6 !== -512) { - $ERROR('#196: -8 << 6 === -512. Actual: ' + (-8 << 6)); -} - - -if (-16 << 6 !== -1024) { - $ERROR('#197: -16 << 6 === -1024. Actual: ' + (-16 << 6)); -} - - -if (-32 << 6 !== -2048) { - $ERROR('#198: -32 << 6 === -2048. Actual: ' + (-32 << 6)); -} - - -if (-64 << 6 !== -4096) { - $ERROR('#199: -64 << 6 === -4096. Actual: ' + (-64 << 6)); -} - - -if (-128 << 6 !== -8192) { - $ERROR('#200: -128 << 6 === -8192. Actual: ' + (-128 << 6)); -} - - -if (-256 << 6 !== -16384) { - $ERROR('#201: -256 << 6 === -16384. Actual: ' + (-256 << 6)); -} - - -if (-512 << 6 !== -32768) { - $ERROR('#202: -512 << 6 === -32768. Actual: ' + (-512 << 6)); -} - - -if (-1024 << 6 !== -65536) { - $ERROR('#203: -1024 << 6 === -65536. Actual: ' + (-1024 << 6)); -} - - -if (-2048 << 6 !== -131072) { - $ERROR('#204: -2048 << 6 === -131072. Actual: ' + (-2048 << 6)); -} - - -if (-4096 << 6 !== -262144) { - $ERROR('#205: -4096 << 6 === -262144. Actual: ' + (-4096 << 6)); -} - - -if (-8192 << 6 !== -524288) { - $ERROR('#206: -8192 << 6 === -524288. Actual: ' + (-8192 << 6)); -} - - -if (-16384 << 6 !== -1048576) { - $ERROR('#207: -16384 << 6 === -1048576. Actual: ' + (-16384 << 6)); -} - - -if (-32768 << 6 !== -2097152) { - $ERROR('#208: -32768 << 6 === -2097152. Actual: ' + (-32768 << 6)); -} - - -if (-65536 << 6 !== -4194304) { - $ERROR('#209: -65536 << 6 === -4194304. Actual: ' + (-65536 << 6)); -} - - -if (-131072 << 6 !== -8388608) { - $ERROR('#210: -131072 << 6 === -8388608. Actual: ' + (-131072 << 6)); -} - - -if (-262144 << 6 !== -16777216) { - $ERROR('#211: -262144 << 6 === -16777216. Actual: ' + (-262144 << 6)); -} - - -if (-524288 << 6 !== -33554432) { - $ERROR('#212: -524288 << 6 === -33554432. Actual: ' + (-524288 << 6)); -} - - -if (-1048576 << 6 !== -67108864) { - $ERROR('#213: -1048576 << 6 === -67108864. Actual: ' + (-1048576 << 6)); -} - - -if (-2097152 << 6 !== -134217728) { - $ERROR('#214: -2097152 << 6 === -134217728. Actual: ' + (-2097152 << 6)); -} - - -if (-4194304 << 6 !== -268435456) { - $ERROR('#215: -4194304 << 6 === -268435456. Actual: ' + (-4194304 << 6)); -} - - -if (-8388608 << 6 !== -536870912) { - $ERROR('#216: -8388608 << 6 === -536870912. Actual: ' + (-8388608 << 6)); -} - - -if (-16777216 << 6 !== -1073741824) { - $ERROR('#217: -16777216 << 6 === -1073741824. Actual: ' + (-16777216 << 6)); -} - - -if (-33554432 << 6 !== -2147483648) { - $ERROR('#218: -33554432 << 6 === -2147483648. Actual: ' + (-33554432 << 6)); -} - - -if (-67108864 << 6 !== 0) { - $ERROR('#219: -67108864 << 6 === 0. Actual: ' + (-67108864 << 6)); -} - - -if (-134217728 << 6 !== 0) { - $ERROR('#220: -134217728 << 6 === 0. Actual: ' + (-134217728 << 6)); -} - - -if (-268435456 << 6 !== 0) { - $ERROR('#221: -268435456 << 6 === 0. Actual: ' + (-268435456 << 6)); -} - - -if (-536870912 << 6 !== 0) { - $ERROR('#222: -536870912 << 6 === 0. Actual: ' + (-536870912 << 6)); -} - - -if (-1073741824 << 6 !== 0) { - $ERROR('#223: -1073741824 << 6 === 0. Actual: ' + (-1073741824 << 6)); -} - - -if (-2147483648 << 6 !== 0) { - $ERROR('#224: -2147483648 << 6 === 0. Actual: ' + (-2147483648 << 6)); -} - - -if (-1 << 7 !== -128) { - $ERROR('#225: -1 << 7 === -128. Actual: ' + (-1 << 7)); -} - - -if (-2 << 7 !== -256) { - $ERROR('#226: -2 << 7 === -256. Actual: ' + (-2 << 7)); -} - - -if (-4 << 7 !== -512) { - $ERROR('#227: -4 << 7 === -512. Actual: ' + (-4 << 7)); -} - - -if (-8 << 7 !== -1024) { - $ERROR('#228: -8 << 7 === -1024. Actual: ' + (-8 << 7)); -} - - -if (-16 << 7 !== -2048) { - $ERROR('#229: -16 << 7 === -2048. Actual: ' + (-16 << 7)); -} - - -if (-32 << 7 !== -4096) { - $ERROR('#230: -32 << 7 === -4096. Actual: ' + (-32 << 7)); -} - - -if (-64 << 7 !== -8192) { - $ERROR('#231: -64 << 7 === -8192. Actual: ' + (-64 << 7)); -} - - -if (-128 << 7 !== -16384) { - $ERROR('#232: -128 << 7 === -16384. Actual: ' + (-128 << 7)); -} - - -if (-256 << 7 !== -32768) { - $ERROR('#233: -256 << 7 === -32768. Actual: ' + (-256 << 7)); -} - - -if (-512 << 7 !== -65536) { - $ERROR('#234: -512 << 7 === -65536. Actual: ' + (-512 << 7)); -} - - -if (-1024 << 7 !== -131072) { - $ERROR('#235: -1024 << 7 === -131072. Actual: ' + (-1024 << 7)); -} - - -if (-2048 << 7 !== -262144) { - $ERROR('#236: -2048 << 7 === -262144. Actual: ' + (-2048 << 7)); -} - - -if (-4096 << 7 !== -524288) { - $ERROR('#237: -4096 << 7 === -524288. Actual: ' + (-4096 << 7)); -} - - -if (-8192 << 7 !== -1048576) { - $ERROR('#238: -8192 << 7 === -1048576. Actual: ' + (-8192 << 7)); -} - - -if (-16384 << 7 !== -2097152) { - $ERROR('#239: -16384 << 7 === -2097152. Actual: ' + (-16384 << 7)); -} - - -if (-32768 << 7 !== -4194304) { - $ERROR('#240: -32768 << 7 === -4194304. Actual: ' + (-32768 << 7)); -} - - -if (-65536 << 7 !== -8388608) { - $ERROR('#241: -65536 << 7 === -8388608. Actual: ' + (-65536 << 7)); -} - - -if (-131072 << 7 !== -16777216) { - $ERROR('#242: -131072 << 7 === -16777216. Actual: ' + (-131072 << 7)); -} - - -if (-262144 << 7 !== -33554432) { - $ERROR('#243: -262144 << 7 === -33554432. Actual: ' + (-262144 << 7)); -} - - -if (-524288 << 7 !== -67108864) { - $ERROR('#244: -524288 << 7 === -67108864. Actual: ' + (-524288 << 7)); -} - - -if (-1048576 << 7 !== -134217728) { - $ERROR('#245: -1048576 << 7 === -134217728. Actual: ' + (-1048576 << 7)); -} - - -if (-2097152 << 7 !== -268435456) { - $ERROR('#246: -2097152 << 7 === -268435456. Actual: ' + (-2097152 << 7)); -} - - -if (-4194304 << 7 !== -536870912) { - $ERROR('#247: -4194304 << 7 === -536870912. Actual: ' + (-4194304 << 7)); -} - - -if (-8388608 << 7 !== -1073741824) { - $ERROR('#248: -8388608 << 7 === -1073741824. Actual: ' + (-8388608 << 7)); -} - - -if (-16777216 << 7 !== -2147483648) { - $ERROR('#249: -16777216 << 7 === -2147483648. Actual: ' + (-16777216 << 7)); -} - - -if (-33554432 << 7 !== 0) { - $ERROR('#250: -33554432 << 7 === 0. Actual: ' + (-33554432 << 7)); -} - - -if (-67108864 << 7 !== 0) { - $ERROR('#251: -67108864 << 7 === 0. Actual: ' + (-67108864 << 7)); -} - - -if (-134217728 << 7 !== 0) { - $ERROR('#252: -134217728 << 7 === 0. Actual: ' + (-134217728 << 7)); -} - - -if (-268435456 << 7 !== 0) { - $ERROR('#253: -268435456 << 7 === 0. Actual: ' + (-268435456 << 7)); -} - - -if (-536870912 << 7 !== 0) { - $ERROR('#254: -536870912 << 7 === 0. Actual: ' + (-536870912 << 7)); -} - - -if (-1073741824 << 7 !== 0) { - $ERROR('#255: -1073741824 << 7 === 0. Actual: ' + (-1073741824 << 7)); -} - - -if (-2147483648 << 7 !== 0) { - $ERROR('#256: -2147483648 << 7 === 0. Actual: ' + (-2147483648 << 7)); -} - - -if (-1 << 8 !== -256) { - $ERROR('#257: -1 << 8 === -256. Actual: ' + (-1 << 8)); -} - - -if (-2 << 8 !== -512) { - $ERROR('#258: -2 << 8 === -512. Actual: ' + (-2 << 8)); -} - - -if (-4 << 8 !== -1024) { - $ERROR('#259: -4 << 8 === -1024. Actual: ' + (-4 << 8)); -} - - -if (-8 << 8 !== -2048) { - $ERROR('#260: -8 << 8 === -2048. Actual: ' + (-8 << 8)); -} - - -if (-16 << 8 !== -4096) { - $ERROR('#261: -16 << 8 === -4096. Actual: ' + (-16 << 8)); -} - - -if (-32 << 8 !== -8192) { - $ERROR('#262: -32 << 8 === -8192. Actual: ' + (-32 << 8)); -} - - -if (-64 << 8 !== -16384) { - $ERROR('#263: -64 << 8 === -16384. Actual: ' + (-64 << 8)); -} - - -if (-128 << 8 !== -32768) { - $ERROR('#264: -128 << 8 === -32768. Actual: ' + (-128 << 8)); -} - - -if (-256 << 8 !== -65536) { - $ERROR('#265: -256 << 8 === -65536. Actual: ' + (-256 << 8)); -} - - -if (-512 << 8 !== -131072) { - $ERROR('#266: -512 << 8 === -131072. Actual: ' + (-512 << 8)); -} - - -if (-1024 << 8 !== -262144) { - $ERROR('#267: -1024 << 8 === -262144. Actual: ' + (-1024 << 8)); -} - - -if (-2048 << 8 !== -524288) { - $ERROR('#268: -2048 << 8 === -524288. Actual: ' + (-2048 << 8)); -} - - -if (-4096 << 8 !== -1048576) { - $ERROR('#269: -4096 << 8 === -1048576. Actual: ' + (-4096 << 8)); -} - - -if (-8192 << 8 !== -2097152) { - $ERROR('#270: -8192 << 8 === -2097152. Actual: ' + (-8192 << 8)); -} - - -if (-16384 << 8 !== -4194304) { - $ERROR('#271: -16384 << 8 === -4194304. Actual: ' + (-16384 << 8)); -} - - -if (-32768 << 8 !== -8388608) { - $ERROR('#272: -32768 << 8 === -8388608. Actual: ' + (-32768 << 8)); -} - - -if (-65536 << 8 !== -16777216) { - $ERROR('#273: -65536 << 8 === -16777216. Actual: ' + (-65536 << 8)); -} - - -if (-131072 << 8 !== -33554432) { - $ERROR('#274: -131072 << 8 === -33554432. Actual: ' + (-131072 << 8)); -} - - -if (-262144 << 8 !== -67108864) { - $ERROR('#275: -262144 << 8 === -67108864. Actual: ' + (-262144 << 8)); -} - - -if (-524288 << 8 !== -134217728) { - $ERROR('#276: -524288 << 8 === -134217728. Actual: ' + (-524288 << 8)); -} - - -if (-1048576 << 8 !== -268435456) { - $ERROR('#277: -1048576 << 8 === -268435456. Actual: ' + (-1048576 << 8)); -} - - -if (-2097152 << 8 !== -536870912) { - $ERROR('#278: -2097152 << 8 === -536870912. Actual: ' + (-2097152 << 8)); -} - - -if (-4194304 << 8 !== -1073741824) { - $ERROR('#279: -4194304 << 8 === -1073741824. Actual: ' + (-4194304 << 8)); -} - - -if (-8388608 << 8 !== -2147483648) { - $ERROR('#280: -8388608 << 8 === -2147483648. Actual: ' + (-8388608 << 8)); -} - - -if (-16777216 << 8 !== 0) { - $ERROR('#281: -16777216 << 8 === 0. Actual: ' + (-16777216 << 8)); -} - - -if (-33554432 << 8 !== 0) { - $ERROR('#282: -33554432 << 8 === 0. Actual: ' + (-33554432 << 8)); -} - - -if (-67108864 << 8 !== 0) { - $ERROR('#283: -67108864 << 8 === 0. Actual: ' + (-67108864 << 8)); -} - - -if (-134217728 << 8 !== 0) { - $ERROR('#284: -134217728 << 8 === 0. Actual: ' + (-134217728 << 8)); -} - - -if (-268435456 << 8 !== 0) { - $ERROR('#285: -268435456 << 8 === 0. Actual: ' + (-268435456 << 8)); -} - - -if (-536870912 << 8 !== 0) { - $ERROR('#286: -536870912 << 8 === 0. Actual: ' + (-536870912 << 8)); -} - - -if (-1073741824 << 8 !== 0) { - $ERROR('#287: -1073741824 << 8 === 0. Actual: ' + (-1073741824 << 8)); -} - - -if (-2147483648 << 8 !== 0) { - $ERROR('#288: -2147483648 << 8 === 0. Actual: ' + (-2147483648 << 8)); -} - - -if (-1 << 9 !== -512) { - $ERROR('#289: -1 << 9 === -512. Actual: ' + (-1 << 9)); -} - - -if (-2 << 9 !== -1024) { - $ERROR('#290: -2 << 9 === -1024. Actual: ' + (-2 << 9)); -} - - -if (-4 << 9 !== -2048) { - $ERROR('#291: -4 << 9 === -2048. Actual: ' + (-4 << 9)); -} - - -if (-8 << 9 !== -4096) { - $ERROR('#292: -8 << 9 === -4096. Actual: ' + (-8 << 9)); -} - - -if (-16 << 9 !== -8192) { - $ERROR('#293: -16 << 9 === -8192. Actual: ' + (-16 << 9)); -} - - -if (-32 << 9 !== -16384) { - $ERROR('#294: -32 << 9 === -16384. Actual: ' + (-32 << 9)); -} - - -if (-64 << 9 !== -32768) { - $ERROR('#295: -64 << 9 === -32768. Actual: ' + (-64 << 9)); -} - - -if (-128 << 9 !== -65536) { - $ERROR('#296: -128 << 9 === -65536. Actual: ' + (-128 << 9)); -} - - -if (-256 << 9 !== -131072) { - $ERROR('#297: -256 << 9 === -131072. Actual: ' + (-256 << 9)); -} - - -if (-512 << 9 !== -262144) { - $ERROR('#298: -512 << 9 === -262144. Actual: ' + (-512 << 9)); -} - - -if (-1024 << 9 !== -524288) { - $ERROR('#299: -1024 << 9 === -524288. Actual: ' + (-1024 << 9)); -} - - -if (-2048 << 9 !== -1048576) { - $ERROR('#300: -2048 << 9 === -1048576. Actual: ' + (-2048 << 9)); -} - - -if (-4096 << 9 !== -2097152) { - $ERROR('#301: -4096 << 9 === -2097152. Actual: ' + (-4096 << 9)); -} - - -if (-8192 << 9 !== -4194304) { - $ERROR('#302: -8192 << 9 === -4194304. Actual: ' + (-8192 << 9)); -} - - -if (-16384 << 9 !== -8388608) { - $ERROR('#303: -16384 << 9 === -8388608. Actual: ' + (-16384 << 9)); -} - - -if (-32768 << 9 !== -16777216) { - $ERROR('#304: -32768 << 9 === -16777216. Actual: ' + (-32768 << 9)); -} - - -if (-65536 << 9 !== -33554432) { - $ERROR('#305: -65536 << 9 === -33554432. Actual: ' + (-65536 << 9)); -} - - -if (-131072 << 9 !== -67108864) { - $ERROR('#306: -131072 << 9 === -67108864. Actual: ' + (-131072 << 9)); -} - - -if (-262144 << 9 !== -134217728) { - $ERROR('#307: -262144 << 9 === -134217728. Actual: ' + (-262144 << 9)); -} - - -if (-524288 << 9 !== -268435456) { - $ERROR('#308: -524288 << 9 === -268435456. Actual: ' + (-524288 << 9)); -} - - -if (-1048576 << 9 !== -536870912) { - $ERROR('#309: -1048576 << 9 === -536870912. Actual: ' + (-1048576 << 9)); -} - - -if (-2097152 << 9 !== -1073741824) { - $ERROR('#310: -2097152 << 9 === -1073741824. Actual: ' + (-2097152 << 9)); -} - - -if (-4194304 << 9 !== -2147483648) { - $ERROR('#311: -4194304 << 9 === -2147483648. Actual: ' + (-4194304 << 9)); -} - - -if (-8388608 << 9 !== 0) { - $ERROR('#312: -8388608 << 9 === 0. Actual: ' + (-8388608 << 9)); -} - - -if (-16777216 << 9 !== 0) { - $ERROR('#313: -16777216 << 9 === 0. Actual: ' + (-16777216 << 9)); -} - - -if (-33554432 << 9 !== 0) { - $ERROR('#314: -33554432 << 9 === 0. Actual: ' + (-33554432 << 9)); -} - - -if (-67108864 << 9 !== 0) { - $ERROR('#315: -67108864 << 9 === 0. Actual: ' + (-67108864 << 9)); -} - - -if (-134217728 << 9 !== 0) { - $ERROR('#316: -134217728 << 9 === 0. Actual: ' + (-134217728 << 9)); -} - - -if (-268435456 << 9 !== 0) { - $ERROR('#317: -268435456 << 9 === 0. Actual: ' + (-268435456 << 9)); -} - - -if (-536870912 << 9 !== 0) { - $ERROR('#318: -536870912 << 9 === 0. Actual: ' + (-536870912 << 9)); -} - - -if (-1073741824 << 9 !== 0) { - $ERROR('#319: -1073741824 << 9 === 0. Actual: ' + (-1073741824 << 9)); -} - - -if (-2147483648 << 9 !== 0) { - $ERROR('#320: -2147483648 << 9 === 0. Actual: ' + (-2147483648 << 9)); -} - - -if (-1 << 10 !== -1024) { - $ERROR('#321: -1 << 10 === -1024. Actual: ' + (-1 << 10)); -} - - -if (-2 << 10 !== -2048) { - $ERROR('#322: -2 << 10 === -2048. Actual: ' + (-2 << 10)); -} - - -if (-4 << 10 !== -4096) { - $ERROR('#323: -4 << 10 === -4096. Actual: ' + (-4 << 10)); -} - - -if (-8 << 10 !== -8192) { - $ERROR('#324: -8 << 10 === -8192. Actual: ' + (-8 << 10)); -} - - -if (-16 << 10 !== -16384) { - $ERROR('#325: -16 << 10 === -16384. Actual: ' + (-16 << 10)); -} - - -if (-32 << 10 !== -32768) { - $ERROR('#326: -32 << 10 === -32768. Actual: ' + (-32 << 10)); -} - - -if (-64 << 10 !== -65536) { - $ERROR('#327: -64 << 10 === -65536. Actual: ' + (-64 << 10)); -} - - -if (-128 << 10 !== -131072) { - $ERROR('#328: -128 << 10 === -131072. Actual: ' + (-128 << 10)); -} - - -if (-256 << 10 !== -262144) { - $ERROR('#329: -256 << 10 === -262144. Actual: ' + (-256 << 10)); -} - - -if (-512 << 10 !== -524288) { - $ERROR('#330: -512 << 10 === -524288. Actual: ' + (-512 << 10)); -} - - -if (-1024 << 10 !== -1048576) { - $ERROR('#331: -1024 << 10 === -1048576. Actual: ' + (-1024 << 10)); -} - - -if (-2048 << 10 !== -2097152) { - $ERROR('#332: -2048 << 10 === -2097152. Actual: ' + (-2048 << 10)); -} - - -if (-4096 << 10 !== -4194304) { - $ERROR('#333: -4096 << 10 === -4194304. Actual: ' + (-4096 << 10)); -} - - -if (-8192 << 10 !== -8388608) { - $ERROR('#334: -8192 << 10 === -8388608. Actual: ' + (-8192 << 10)); -} - - -if (-16384 << 10 !== -16777216) { - $ERROR('#335: -16384 << 10 === -16777216. Actual: ' + (-16384 << 10)); -} - - -if (-32768 << 10 !== -33554432) { - $ERROR('#336: -32768 << 10 === -33554432. Actual: ' + (-32768 << 10)); -} - - -if (-65536 << 10 !== -67108864) { - $ERROR('#337: -65536 << 10 === -67108864. Actual: ' + (-65536 << 10)); -} - - -if (-131072 << 10 !== -134217728) { - $ERROR('#338: -131072 << 10 === -134217728. Actual: ' + (-131072 << 10)); -} - - -if (-262144 << 10 !== -268435456) { - $ERROR('#339: -262144 << 10 === -268435456. Actual: ' + (-262144 << 10)); -} - - -if (-524288 << 10 !== -536870912) { - $ERROR('#340: -524288 << 10 === -536870912. Actual: ' + (-524288 << 10)); -} - - -if (-1048576 << 10 !== -1073741824) { - $ERROR('#341: -1048576 << 10 === -1073741824. Actual: ' + (-1048576 << 10)); -} - - -if (-2097152 << 10 !== -2147483648) { - $ERROR('#342: -2097152 << 10 === -2147483648. Actual: ' + (-2097152 << 10)); -} - - -if (-4194304 << 10 !== 0) { - $ERROR('#343: -4194304 << 10 === 0. Actual: ' + (-4194304 << 10)); -} - - -if (-8388608 << 10 !== 0) { - $ERROR('#344: -8388608 << 10 === 0. Actual: ' + (-8388608 << 10)); -} - - -if (-16777216 << 10 !== 0) { - $ERROR('#345: -16777216 << 10 === 0. Actual: ' + (-16777216 << 10)); -} - - -if (-33554432 << 10 !== 0) { - $ERROR('#346: -33554432 << 10 === 0. Actual: ' + (-33554432 << 10)); -} - - -if (-67108864 << 10 !== 0) { - $ERROR('#347: -67108864 << 10 === 0. Actual: ' + (-67108864 << 10)); -} - - -if (-134217728 << 10 !== 0) { - $ERROR('#348: -134217728 << 10 === 0. Actual: ' + (-134217728 << 10)); -} - - -if (-268435456 << 10 !== 0) { - $ERROR('#349: -268435456 << 10 === 0. Actual: ' + (-268435456 << 10)); -} - - -if (-536870912 << 10 !== 0) { - $ERROR('#350: -536870912 << 10 === 0. Actual: ' + (-536870912 << 10)); -} - - -if (-1073741824 << 10 !== 0) { - $ERROR('#351: -1073741824 << 10 === 0. Actual: ' + (-1073741824 << 10)); -} - - -if (-2147483648 << 10 !== 0) { - $ERROR('#352: -2147483648 << 10 === 0. Actual: ' + (-2147483648 << 10)); -} - - -if (-1 << 11 !== -2048) { - $ERROR('#353: -1 << 11 === -2048. Actual: ' + (-1 << 11)); -} - - -if (-2 << 11 !== -4096) { - $ERROR('#354: -2 << 11 === -4096. Actual: ' + (-2 << 11)); -} - - -if (-4 << 11 !== -8192) { - $ERROR('#355: -4 << 11 === -8192. Actual: ' + (-4 << 11)); -} - - -if (-8 << 11 !== -16384) { - $ERROR('#356: -8 << 11 === -16384. Actual: ' + (-8 << 11)); -} - - -if (-16 << 11 !== -32768) { - $ERROR('#357: -16 << 11 === -32768. Actual: ' + (-16 << 11)); -} - - -if (-32 << 11 !== -65536) { - $ERROR('#358: -32 << 11 === -65536. Actual: ' + (-32 << 11)); -} - - -if (-64 << 11 !== -131072) { - $ERROR('#359: -64 << 11 === -131072. Actual: ' + (-64 << 11)); -} - - -if (-128 << 11 !== -262144) { - $ERROR('#360: -128 << 11 === -262144. Actual: ' + (-128 << 11)); -} - - -if (-256 << 11 !== -524288) { - $ERROR('#361: -256 << 11 === -524288. Actual: ' + (-256 << 11)); -} - - -if (-512 << 11 !== -1048576) { - $ERROR('#362: -512 << 11 === -1048576. Actual: ' + (-512 << 11)); -} - - -if (-1024 << 11 !== -2097152) { - $ERROR('#363: -1024 << 11 === -2097152. Actual: ' + (-1024 << 11)); -} - - -if (-2048 << 11 !== -4194304) { - $ERROR('#364: -2048 << 11 === -4194304. Actual: ' + (-2048 << 11)); -} - - -if (-4096 << 11 !== -8388608) { - $ERROR('#365: -4096 << 11 === -8388608. Actual: ' + (-4096 << 11)); -} - - -if (-8192 << 11 !== -16777216) { - $ERROR('#366: -8192 << 11 === -16777216. Actual: ' + (-8192 << 11)); -} - - -if (-16384 << 11 !== -33554432) { - $ERROR('#367: -16384 << 11 === -33554432. Actual: ' + (-16384 << 11)); -} - - -if (-32768 << 11 !== -67108864) { - $ERROR('#368: -32768 << 11 === -67108864. Actual: ' + (-32768 << 11)); -} - - -if (-65536 << 11 !== -134217728) { - $ERROR('#369: -65536 << 11 === -134217728. Actual: ' + (-65536 << 11)); -} - - -if (-131072 << 11 !== -268435456) { - $ERROR('#370: -131072 << 11 === -268435456. Actual: ' + (-131072 << 11)); -} - - -if (-262144 << 11 !== -536870912) { - $ERROR('#371: -262144 << 11 === -536870912. Actual: ' + (-262144 << 11)); -} - - -if (-524288 << 11 !== -1073741824) { - $ERROR('#372: -524288 << 11 === -1073741824. Actual: ' + (-524288 << 11)); -} - - -if (-1048576 << 11 !== -2147483648) { - $ERROR('#373: -1048576 << 11 === -2147483648. Actual: ' + (-1048576 << 11)); -} - - -if (-2097152 << 11 !== 0) { - $ERROR('#374: -2097152 << 11 === 0. Actual: ' + (-2097152 << 11)); -} - - -if (-4194304 << 11 !== 0) { - $ERROR('#375: -4194304 << 11 === 0. Actual: ' + (-4194304 << 11)); -} - - -if (-8388608 << 11 !== 0) { - $ERROR('#376: -8388608 << 11 === 0. Actual: ' + (-8388608 << 11)); -} - - -if (-16777216 << 11 !== 0) { - $ERROR('#377: -16777216 << 11 === 0. Actual: ' + (-16777216 << 11)); -} - - -if (-33554432 << 11 !== 0) { - $ERROR('#378: -33554432 << 11 === 0. Actual: ' + (-33554432 << 11)); -} - - -if (-67108864 << 11 !== 0) { - $ERROR('#379: -67108864 << 11 === 0. Actual: ' + (-67108864 << 11)); -} - - -if (-134217728 << 11 !== 0) { - $ERROR('#380: -134217728 << 11 === 0. Actual: ' + (-134217728 << 11)); -} - - -if (-268435456 << 11 !== 0) { - $ERROR('#381: -268435456 << 11 === 0. Actual: ' + (-268435456 << 11)); -} - - -if (-536870912 << 11 !== 0) { - $ERROR('#382: -536870912 << 11 === 0. Actual: ' + (-536870912 << 11)); -} - - -if (-1073741824 << 11 !== 0) { - $ERROR('#383: -1073741824 << 11 === 0. Actual: ' + (-1073741824 << 11)); -} - - -if (-2147483648 << 11 !== 0) { - $ERROR('#384: -2147483648 << 11 === 0. Actual: ' + (-2147483648 << 11)); -} - - -if (-1 << 12 !== -4096) { - $ERROR('#385: -1 << 12 === -4096. Actual: ' + (-1 << 12)); -} - - -if (-2 << 12 !== -8192) { - $ERROR('#386: -2 << 12 === -8192. Actual: ' + (-2 << 12)); -} - - -if (-4 << 12 !== -16384) { - $ERROR('#387: -4 << 12 === -16384. Actual: ' + (-4 << 12)); -} - - -if (-8 << 12 !== -32768) { - $ERROR('#388: -8 << 12 === -32768. Actual: ' + (-8 << 12)); -} - - -if (-16 << 12 !== -65536) { - $ERROR('#389: -16 << 12 === -65536. Actual: ' + (-16 << 12)); -} - - -if (-32 << 12 !== -131072) { - $ERROR('#390: -32 << 12 === -131072. Actual: ' + (-32 << 12)); -} - - -if (-64 << 12 !== -262144) { - $ERROR('#391: -64 << 12 === -262144. Actual: ' + (-64 << 12)); -} - - -if (-128 << 12 !== -524288) { - $ERROR('#392: -128 << 12 === -524288. Actual: ' + (-128 << 12)); -} - - -if (-256 << 12 !== -1048576) { - $ERROR('#393: -256 << 12 === -1048576. Actual: ' + (-256 << 12)); -} - - -if (-512 << 12 !== -2097152) { - $ERROR('#394: -512 << 12 === -2097152. Actual: ' + (-512 << 12)); -} - - -if (-1024 << 12 !== -4194304) { - $ERROR('#395: -1024 << 12 === -4194304. Actual: ' + (-1024 << 12)); -} - - -if (-2048 << 12 !== -8388608) { - $ERROR('#396: -2048 << 12 === -8388608. Actual: ' + (-2048 << 12)); -} - - -if (-4096 << 12 !== -16777216) { - $ERROR('#397: -4096 << 12 === -16777216. Actual: ' + (-4096 << 12)); -} - - -if (-8192 << 12 !== -33554432) { - $ERROR('#398: -8192 << 12 === -33554432. Actual: ' + (-8192 << 12)); -} - - -if (-16384 << 12 !== -67108864) { - $ERROR('#399: -16384 << 12 === -67108864. Actual: ' + (-16384 << 12)); -} - - -if (-32768 << 12 !== -134217728) { - $ERROR('#400: -32768 << 12 === -134217728. Actual: ' + (-32768 << 12)); -} - - -if (-65536 << 12 !== -268435456) { - $ERROR('#401: -65536 << 12 === -268435456. Actual: ' + (-65536 << 12)); -} - - -if (-131072 << 12 !== -536870912) { - $ERROR('#402: -131072 << 12 === -536870912. Actual: ' + (-131072 << 12)); -} - - -if (-262144 << 12 !== -1073741824) { - $ERROR('#403: -262144 << 12 === -1073741824. Actual: ' + (-262144 << 12)); -} - - -if (-524288 << 12 !== -2147483648) { - $ERROR('#404: -524288 << 12 === -2147483648. Actual: ' + (-524288 << 12)); -} - - -if (-1048576 << 12 !== 0) { - $ERROR('#405: -1048576 << 12 === 0. Actual: ' + (-1048576 << 12)); -} - - -if (-2097152 << 12 !== 0) { - $ERROR('#406: -2097152 << 12 === 0. Actual: ' + (-2097152 << 12)); -} - - -if (-4194304 << 12 !== 0) { - $ERROR('#407: -4194304 << 12 === 0. Actual: ' + (-4194304 << 12)); -} - - -if (-8388608 << 12 !== 0) { - $ERROR('#408: -8388608 << 12 === 0. Actual: ' + (-8388608 << 12)); -} - - -if (-16777216 << 12 !== 0) { - $ERROR('#409: -16777216 << 12 === 0. Actual: ' + (-16777216 << 12)); -} - - -if (-33554432 << 12 !== 0) { - $ERROR('#410: -33554432 << 12 === 0. Actual: ' + (-33554432 << 12)); -} - - -if (-67108864 << 12 !== 0) { - $ERROR('#411: -67108864 << 12 === 0. Actual: ' + (-67108864 << 12)); -} - - -if (-134217728 << 12 !== 0) { - $ERROR('#412: -134217728 << 12 === 0. Actual: ' + (-134217728 << 12)); -} - - -if (-268435456 << 12 !== 0) { - $ERROR('#413: -268435456 << 12 === 0. Actual: ' + (-268435456 << 12)); -} - - -if (-536870912 << 12 !== 0) { - $ERROR('#414: -536870912 << 12 === 0. Actual: ' + (-536870912 << 12)); -} - - -if (-1073741824 << 12 !== 0) { - $ERROR('#415: -1073741824 << 12 === 0. Actual: ' + (-1073741824 << 12)); -} - - -if (-2147483648 << 12 !== 0) { - $ERROR('#416: -2147483648 << 12 === 0. Actual: ' + (-2147483648 << 12)); -} - - -if (-1 << 13 !== -8192) { - $ERROR('#417: -1 << 13 === -8192. Actual: ' + (-1 << 13)); -} - - -if (-2 << 13 !== -16384) { - $ERROR('#418: -2 << 13 === -16384. Actual: ' + (-2 << 13)); -} - - -if (-4 << 13 !== -32768) { - $ERROR('#419: -4 << 13 === -32768. Actual: ' + (-4 << 13)); -} - - -if (-8 << 13 !== -65536) { - $ERROR('#420: -8 << 13 === -65536. Actual: ' + (-8 << 13)); -} - - -if (-16 << 13 !== -131072) { - $ERROR('#421: -16 << 13 === -131072. Actual: ' + (-16 << 13)); -} - - -if (-32 << 13 !== -262144) { - $ERROR('#422: -32 << 13 === -262144. Actual: ' + (-32 << 13)); -} - - -if (-64 << 13 !== -524288) { - $ERROR('#423: -64 << 13 === -524288. Actual: ' + (-64 << 13)); -} - - -if (-128 << 13 !== -1048576) { - $ERROR('#424: -128 << 13 === -1048576. Actual: ' + (-128 << 13)); -} - - -if (-256 << 13 !== -2097152) { - $ERROR('#425: -256 << 13 === -2097152. Actual: ' + (-256 << 13)); -} - - -if (-512 << 13 !== -4194304) { - $ERROR('#426: -512 << 13 === -4194304. Actual: ' + (-512 << 13)); -} - - -if (-1024 << 13 !== -8388608) { - $ERROR('#427: -1024 << 13 === -8388608. Actual: ' + (-1024 << 13)); -} - - -if (-2048 << 13 !== -16777216) { - $ERROR('#428: -2048 << 13 === -16777216. Actual: ' + (-2048 << 13)); -} - - -if (-4096 << 13 !== -33554432) { - $ERROR('#429: -4096 << 13 === -33554432. Actual: ' + (-4096 << 13)); -} - - -if (-8192 << 13 !== -67108864) { - $ERROR('#430: -8192 << 13 === -67108864. Actual: ' + (-8192 << 13)); -} - - -if (-16384 << 13 !== -134217728) { - $ERROR('#431: -16384 << 13 === -134217728. Actual: ' + (-16384 << 13)); -} - - -if (-32768 << 13 !== -268435456) { - $ERROR('#432: -32768 << 13 === -268435456. Actual: ' + (-32768 << 13)); -} - - -if (-65536 << 13 !== -536870912) { - $ERROR('#433: -65536 << 13 === -536870912. Actual: ' + (-65536 << 13)); -} - - -if (-131072 << 13 !== -1073741824) { - $ERROR('#434: -131072 << 13 === -1073741824. Actual: ' + (-131072 << 13)); -} - - -if (-262144 << 13 !== -2147483648) { - $ERROR('#435: -262144 << 13 === -2147483648. Actual: ' + (-262144 << 13)); -} - - -if (-524288 << 13 !== 0) { - $ERROR('#436: -524288 << 13 === 0. Actual: ' + (-524288 << 13)); -} - - -if (-1048576 << 13 !== 0) { - $ERROR('#437: -1048576 << 13 === 0. Actual: ' + (-1048576 << 13)); -} - - -if (-2097152 << 13 !== 0) { - $ERROR('#438: -2097152 << 13 === 0. Actual: ' + (-2097152 << 13)); -} - - -if (-4194304 << 13 !== 0) { - $ERROR('#439: -4194304 << 13 === 0. Actual: ' + (-4194304 << 13)); -} - - -if (-8388608 << 13 !== 0) { - $ERROR('#440: -8388608 << 13 === 0. Actual: ' + (-8388608 << 13)); -} - - -if (-16777216 << 13 !== 0) { - $ERROR('#441: -16777216 << 13 === 0. Actual: ' + (-16777216 << 13)); -} - - -if (-33554432 << 13 !== 0) { - $ERROR('#442: -33554432 << 13 === 0. Actual: ' + (-33554432 << 13)); -} - - -if (-67108864 << 13 !== 0) { - $ERROR('#443: -67108864 << 13 === 0. Actual: ' + (-67108864 << 13)); -} - - -if (-134217728 << 13 !== 0) { - $ERROR('#444: -134217728 << 13 === 0. Actual: ' + (-134217728 << 13)); -} - - -if (-268435456 << 13 !== 0) { - $ERROR('#445: -268435456 << 13 === 0. Actual: ' + (-268435456 << 13)); -} - - -if (-536870912 << 13 !== 0) { - $ERROR('#446: -536870912 << 13 === 0. Actual: ' + (-536870912 << 13)); -} - - -if (-1073741824 << 13 !== 0) { - $ERROR('#447: -1073741824 << 13 === 0. Actual: ' + (-1073741824 << 13)); -} - - -if (-2147483648 << 13 !== 0) { - $ERROR('#448: -2147483648 << 13 === 0. Actual: ' + (-2147483648 << 13)); -} - - -if (-1 << 14 !== -16384) { - $ERROR('#449: -1 << 14 === -16384. Actual: ' + (-1 << 14)); -} - - -if (-2 << 14 !== -32768) { - $ERROR('#450: -2 << 14 === -32768. Actual: ' + (-2 << 14)); -} - - -if (-4 << 14 !== -65536) { - $ERROR('#451: -4 << 14 === -65536. Actual: ' + (-4 << 14)); -} - - -if (-8 << 14 !== -131072) { - $ERROR('#452: -8 << 14 === -131072. Actual: ' + (-8 << 14)); -} - - -if (-16 << 14 !== -262144) { - $ERROR('#453: -16 << 14 === -262144. Actual: ' + (-16 << 14)); -} - - -if (-32 << 14 !== -524288) { - $ERROR('#454: -32 << 14 === -524288. Actual: ' + (-32 << 14)); -} - - -if (-64 << 14 !== -1048576) { - $ERROR('#455: -64 << 14 === -1048576. Actual: ' + (-64 << 14)); -} - - -if (-128 << 14 !== -2097152) { - $ERROR('#456: -128 << 14 === -2097152. Actual: ' + (-128 << 14)); -} - - -if (-256 << 14 !== -4194304) { - $ERROR('#457: -256 << 14 === -4194304. Actual: ' + (-256 << 14)); -} - - -if (-512 << 14 !== -8388608) { - $ERROR('#458: -512 << 14 === -8388608. Actual: ' + (-512 << 14)); -} - - -if (-1024 << 14 !== -16777216) { - $ERROR('#459: -1024 << 14 === -16777216. Actual: ' + (-1024 << 14)); -} - - -if (-2048 << 14 !== -33554432) { - $ERROR('#460: -2048 << 14 === -33554432. Actual: ' + (-2048 << 14)); -} - - -if (-4096 << 14 !== -67108864) { - $ERROR('#461: -4096 << 14 === -67108864. Actual: ' + (-4096 << 14)); -} - - -if (-8192 << 14 !== -134217728) { - $ERROR('#462: -8192 << 14 === -134217728. Actual: ' + (-8192 << 14)); -} - - -if (-16384 << 14 !== -268435456) { - $ERROR('#463: -16384 << 14 === -268435456. Actual: ' + (-16384 << 14)); -} - - -if (-32768 << 14 !== -536870912) { - $ERROR('#464: -32768 << 14 === -536870912. Actual: ' + (-32768 << 14)); -} - - -if (-65536 << 14 !== -1073741824) { - $ERROR('#465: -65536 << 14 === -1073741824. Actual: ' + (-65536 << 14)); -} - - -if (-131072 << 14 !== -2147483648) { - $ERROR('#466: -131072 << 14 === -2147483648. Actual: ' + (-131072 << 14)); -} - - -if (-262144 << 14 !== 0) { - $ERROR('#467: -262144 << 14 === 0. Actual: ' + (-262144 << 14)); -} - - -if (-524288 << 14 !== 0) { - $ERROR('#468: -524288 << 14 === 0. Actual: ' + (-524288 << 14)); -} - - -if (-1048576 << 14 !== 0) { - $ERROR('#469: -1048576 << 14 === 0. Actual: ' + (-1048576 << 14)); -} - - -if (-2097152 << 14 !== 0) { - $ERROR('#470: -2097152 << 14 === 0. Actual: ' + (-2097152 << 14)); -} - - -if (-4194304 << 14 !== 0) { - $ERROR('#471: -4194304 << 14 === 0. Actual: ' + (-4194304 << 14)); -} - - -if (-8388608 << 14 !== 0) { - $ERROR('#472: -8388608 << 14 === 0. Actual: ' + (-8388608 << 14)); -} - - -if (-16777216 << 14 !== 0) { - $ERROR('#473: -16777216 << 14 === 0. Actual: ' + (-16777216 << 14)); -} - - -if (-33554432 << 14 !== 0) { - $ERROR('#474: -33554432 << 14 === 0. Actual: ' + (-33554432 << 14)); -} - - -if (-67108864 << 14 !== 0) { - $ERROR('#475: -67108864 << 14 === 0. Actual: ' + (-67108864 << 14)); -} - - -if (-134217728 << 14 !== 0) { - $ERROR('#476: -134217728 << 14 === 0. Actual: ' + (-134217728 << 14)); -} - - -if (-268435456 << 14 !== 0) { - $ERROR('#477: -268435456 << 14 === 0. Actual: ' + (-268435456 << 14)); -} - - -if (-536870912 << 14 !== 0) { - $ERROR('#478: -536870912 << 14 === 0. Actual: ' + (-536870912 << 14)); -} - - -if (-1073741824 << 14 !== 0) { - $ERROR('#479: -1073741824 << 14 === 0. Actual: ' + (-1073741824 << 14)); -} - - -if (-2147483648 << 14 !== 0) { - $ERROR('#480: -2147483648 << 14 === 0. Actual: ' + (-2147483648 << 14)); -} - - -if (-1 << 15 !== -32768) { - $ERROR('#481: -1 << 15 === -32768. Actual: ' + (-1 << 15)); -} - - -if (-2 << 15 !== -65536) { - $ERROR('#482: -2 << 15 === -65536. Actual: ' + (-2 << 15)); -} - - -if (-4 << 15 !== -131072) { - $ERROR('#483: -4 << 15 === -131072. Actual: ' + (-4 << 15)); -} - - -if (-8 << 15 !== -262144) { - $ERROR('#484: -8 << 15 === -262144. Actual: ' + (-8 << 15)); -} - - -if (-16 << 15 !== -524288) { - $ERROR('#485: -16 << 15 === -524288. Actual: ' + (-16 << 15)); -} - - -if (-32 << 15 !== -1048576) { - $ERROR('#486: -32 << 15 === -1048576. Actual: ' + (-32 << 15)); -} - - -if (-64 << 15 !== -2097152) { - $ERROR('#487: -64 << 15 === -2097152. Actual: ' + (-64 << 15)); -} - - -if (-128 << 15 !== -4194304) { - $ERROR('#488: -128 << 15 === -4194304. Actual: ' + (-128 << 15)); -} - - -if (-256 << 15 !== -8388608) { - $ERROR('#489: -256 << 15 === -8388608. Actual: ' + (-256 << 15)); -} - - -if (-512 << 15 !== -16777216) { - $ERROR('#490: -512 << 15 === -16777216. Actual: ' + (-512 << 15)); -} - - -if (-1024 << 15 !== -33554432) { - $ERROR('#491: -1024 << 15 === -33554432. Actual: ' + (-1024 << 15)); -} - - -if (-2048 << 15 !== -67108864) { - $ERROR('#492: -2048 << 15 === -67108864. Actual: ' + (-2048 << 15)); -} - - -if (-4096 << 15 !== -134217728) { - $ERROR('#493: -4096 << 15 === -134217728. Actual: ' + (-4096 << 15)); -} - - -if (-8192 << 15 !== -268435456) { - $ERROR('#494: -8192 << 15 === -268435456. Actual: ' + (-8192 << 15)); -} - - -if (-16384 << 15 !== -536870912) { - $ERROR('#495: -16384 << 15 === -536870912. Actual: ' + (-16384 << 15)); -} - - -if (-32768 << 15 !== -1073741824) { - $ERROR('#496: -32768 << 15 === -1073741824. Actual: ' + (-32768 << 15)); -} - - -if (-65536 << 15 !== -2147483648) { - $ERROR('#497: -65536 << 15 === -2147483648. Actual: ' + (-65536 << 15)); -} - - -if (-131072 << 15 !== 0) { - $ERROR('#498: -131072 << 15 === 0. Actual: ' + (-131072 << 15)); -} - - -if (-262144 << 15 !== 0) { - $ERROR('#499: -262144 << 15 === 0. Actual: ' + (-262144 << 15)); -} - - -if (-524288 << 15 !== 0) { - $ERROR('#500: -524288 << 15 === 0. Actual: ' + (-524288 << 15)); -} - - -if (-1048576 << 15 !== 0) { - $ERROR('#501: -1048576 << 15 === 0. Actual: ' + (-1048576 << 15)); -} - - -if (-2097152 << 15 !== 0) { - $ERROR('#502: -2097152 << 15 === 0. Actual: ' + (-2097152 << 15)); -} - - -if (-4194304 << 15 !== 0) { - $ERROR('#503: -4194304 << 15 === 0. Actual: ' + (-4194304 << 15)); -} - - -if (-8388608 << 15 !== 0) { - $ERROR('#504: -8388608 << 15 === 0. Actual: ' + (-8388608 << 15)); -} - - -if (-16777216 << 15 !== 0) { - $ERROR('#505: -16777216 << 15 === 0. Actual: ' + (-16777216 << 15)); -} - - -if (-33554432 << 15 !== 0) { - $ERROR('#506: -33554432 << 15 === 0. Actual: ' + (-33554432 << 15)); -} - - -if (-67108864 << 15 !== 0) { - $ERROR('#507: -67108864 << 15 === 0. Actual: ' + (-67108864 << 15)); -} - - -if (-134217728 << 15 !== 0) { - $ERROR('#508: -134217728 << 15 === 0. Actual: ' + (-134217728 << 15)); -} - - -if (-268435456 << 15 !== 0) { - $ERROR('#509: -268435456 << 15 === 0. Actual: ' + (-268435456 << 15)); -} - - -if (-536870912 << 15 !== 0) { - $ERROR('#510: -536870912 << 15 === 0. Actual: ' + (-536870912 << 15)); -} - - -if (-1073741824 << 15 !== 0) { - $ERROR('#511: -1073741824 << 15 === 0. Actual: ' + (-1073741824 << 15)); -} - - -if (-2147483648 << 15 !== 0) { - $ERROR('#512: -2147483648 << 15 === 0. Actual: ' + (-2147483648 << 15)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.js deleted file mode 100644 index 0b2cabfb10..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.js +++ /dev/null @@ -1,2588 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A4_T2; - * @section: 11.7.1; - * @assertion: Check operator x << y in distinct points; - * @description: ShiftExpression = 2^n - 1, n = 16...31; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A4_T2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.js", - -assertion: "Check operator x << y in distinct points", - -description: "ShiftExpression = 2^n - 1, n = 16...31", - -test: function testcase() { - //CHECK - -if (-1 << 16 !== -65536) { - $ERROR('#513: -1 << 16 === -65536. Actual: ' + (-1 << 16)); -} - - -if (-2 << 16 !== -131072) { - $ERROR('#514: -2 << 16 === -131072. Actual: ' + (-2 << 16)); -} - - -if (-4 << 16 !== -262144) { - $ERROR('#515: -4 << 16 === -262144. Actual: ' + (-4 << 16)); -} - - -if (-8 << 16 !== -524288) { - $ERROR('#516: -8 << 16 === -524288. Actual: ' + (-8 << 16)); -} - - -if (-16 << 16 !== -1048576) { - $ERROR('#517: -16 << 16 === -1048576. Actual: ' + (-16 << 16)); -} - - -if (-32 << 16 !== -2097152) { - $ERROR('#518: -32 << 16 === -2097152. Actual: ' + (-32 << 16)); -} - - -if (-64 << 16 !== -4194304) { - $ERROR('#519: -64 << 16 === -4194304. Actual: ' + (-64 << 16)); -} - - -if (-128 << 16 !== -8388608) { - $ERROR('#520: -128 << 16 === -8388608. Actual: ' + (-128 << 16)); -} - - -if (-256 << 16 !== -16777216) { - $ERROR('#521: -256 << 16 === -16777216. Actual: ' + (-256 << 16)); -} - - -if (-512 << 16 !== -33554432) { - $ERROR('#522: -512 << 16 === -33554432. Actual: ' + (-512 << 16)); -} - - -if (-1024 << 16 !== -67108864) { - $ERROR('#523: -1024 << 16 === -67108864. Actual: ' + (-1024 << 16)); -} - - -if (-2048 << 16 !== -134217728) { - $ERROR('#524: -2048 << 16 === -134217728. Actual: ' + (-2048 << 16)); -} - - -if (-4096 << 16 !== -268435456) { - $ERROR('#525: -4096 << 16 === -268435456. Actual: ' + (-4096 << 16)); -} - - -if (-8192 << 16 !== -536870912) { - $ERROR('#526: -8192 << 16 === -536870912. Actual: ' + (-8192 << 16)); -} - - -if (-16384 << 16 !== -1073741824) { - $ERROR('#527: -16384 << 16 === -1073741824. Actual: ' + (-16384 << 16)); -} - - -if (-32768 << 16 !== -2147483648) { - $ERROR('#528: -32768 << 16 === -2147483648. Actual: ' + (-32768 << 16)); -} - - -if (-65536 << 16 !== 0) { - $ERROR('#529: -65536 << 16 === 0. Actual: ' + (-65536 << 16)); -} - - -if (-131072 << 16 !== 0) { - $ERROR('#530: -131072 << 16 === 0. Actual: ' + (-131072 << 16)); -} - - -if (-262144 << 16 !== 0) { - $ERROR('#531: -262144 << 16 === 0. Actual: ' + (-262144 << 16)); -} - - -if (-524288 << 16 !== 0) { - $ERROR('#532: -524288 << 16 === 0. Actual: ' + (-524288 << 16)); -} - - -if (-1048576 << 16 !== 0) { - $ERROR('#533: -1048576 << 16 === 0. Actual: ' + (-1048576 << 16)); -} - - -if (-2097152 << 16 !== 0) { - $ERROR('#534: -2097152 << 16 === 0. Actual: ' + (-2097152 << 16)); -} - - -if (-4194304 << 16 !== 0) { - $ERROR('#535: -4194304 << 16 === 0. Actual: ' + (-4194304 << 16)); -} - - -if (-8388608 << 16 !== 0) { - $ERROR('#536: -8388608 << 16 === 0. Actual: ' + (-8388608 << 16)); -} - - -if (-16777216 << 16 !== 0) { - $ERROR('#537: -16777216 << 16 === 0. Actual: ' + (-16777216 << 16)); -} - - -if (-33554432 << 16 !== 0) { - $ERROR('#538: -33554432 << 16 === 0. Actual: ' + (-33554432 << 16)); -} - - -if (-67108864 << 16 !== 0) { - $ERROR('#539: -67108864 << 16 === 0. Actual: ' + (-67108864 << 16)); -} - - -if (-134217728 << 16 !== 0) { - $ERROR('#540: -134217728 << 16 === 0. Actual: ' + (-134217728 << 16)); -} - - -if (-268435456 << 16 !== 0) { - $ERROR('#541: -268435456 << 16 === 0. Actual: ' + (-268435456 << 16)); -} - - -if (-536870912 << 16 !== 0) { - $ERROR('#542: -536870912 << 16 === 0. Actual: ' + (-536870912 << 16)); -} - - -if (-1073741824 << 16 !== 0) { - $ERROR('#543: -1073741824 << 16 === 0. Actual: ' + (-1073741824 << 16)); -} - - -if (-2147483648 << 16 !== 0) { - $ERROR('#544: -2147483648 << 16 === 0. Actual: ' + (-2147483648 << 16)); -} - - -if (-1 << 17 !== -131072) { - $ERROR('#545: -1 << 17 === -131072. Actual: ' + (-1 << 17)); -} - - -if (-2 << 17 !== -262144) { - $ERROR('#546: -2 << 17 === -262144. Actual: ' + (-2 << 17)); -} - - -if (-4 << 17 !== -524288) { - $ERROR('#547: -4 << 17 === -524288. Actual: ' + (-4 << 17)); -} - - -if (-8 << 17 !== -1048576) { - $ERROR('#548: -8 << 17 === -1048576. Actual: ' + (-8 << 17)); -} - - -if (-16 << 17 !== -2097152) { - $ERROR('#549: -16 << 17 === -2097152. Actual: ' + (-16 << 17)); -} - - -if (-32 << 17 !== -4194304) { - $ERROR('#550: -32 << 17 === -4194304. Actual: ' + (-32 << 17)); -} - - -if (-64 << 17 !== -8388608) { - $ERROR('#551: -64 << 17 === -8388608. Actual: ' + (-64 << 17)); -} - - -if (-128 << 17 !== -16777216) { - $ERROR('#552: -128 << 17 === -16777216. Actual: ' + (-128 << 17)); -} - - -if (-256 << 17 !== -33554432) { - $ERROR('#553: -256 << 17 === -33554432. Actual: ' + (-256 << 17)); -} - - -if (-512 << 17 !== -67108864) { - $ERROR('#554: -512 << 17 === -67108864. Actual: ' + (-512 << 17)); -} - - -if (-1024 << 17 !== -134217728) { - $ERROR('#555: -1024 << 17 === -134217728. Actual: ' + (-1024 << 17)); -} - - -if (-2048 << 17 !== -268435456) { - $ERROR('#556: -2048 << 17 === -268435456. Actual: ' + (-2048 << 17)); -} - - -if (-4096 << 17 !== -536870912) { - $ERROR('#557: -4096 << 17 === -536870912. Actual: ' + (-4096 << 17)); -} - - -if (-8192 << 17 !== -1073741824) { - $ERROR('#558: -8192 << 17 === -1073741824. Actual: ' + (-8192 << 17)); -} - - -if (-16384 << 17 !== -2147483648) { - $ERROR('#559: -16384 << 17 === -2147483648. Actual: ' + (-16384 << 17)); -} - - -if (-32768 << 17 !== 0) { - $ERROR('#560: -32768 << 17 === 0. Actual: ' + (-32768 << 17)); -} - - -if (-65536 << 17 !== 0) { - $ERROR('#561: -65536 << 17 === 0. Actual: ' + (-65536 << 17)); -} - - -if (-131072 << 17 !== 0) { - $ERROR('#562: -131072 << 17 === 0. Actual: ' + (-131072 << 17)); -} - - -if (-262144 << 17 !== 0) { - $ERROR('#563: -262144 << 17 === 0. Actual: ' + (-262144 << 17)); -} - - -if (-524288 << 17 !== 0) { - $ERROR('#564: -524288 << 17 === 0. Actual: ' + (-524288 << 17)); -} - - -if (-1048576 << 17 !== 0) { - $ERROR('#565: -1048576 << 17 === 0. Actual: ' + (-1048576 << 17)); -} - - -if (-2097152 << 17 !== 0) { - $ERROR('#566: -2097152 << 17 === 0. Actual: ' + (-2097152 << 17)); -} - - -if (-4194304 << 17 !== 0) { - $ERROR('#567: -4194304 << 17 === 0. Actual: ' + (-4194304 << 17)); -} - - -if (-8388608 << 17 !== 0) { - $ERROR('#568: -8388608 << 17 === 0. Actual: ' + (-8388608 << 17)); -} - - -if (-16777216 << 17 !== 0) { - $ERROR('#569: -16777216 << 17 === 0. Actual: ' + (-16777216 << 17)); -} - - -if (-33554432 << 17 !== 0) { - $ERROR('#570: -33554432 << 17 === 0. Actual: ' + (-33554432 << 17)); -} - - -if (-67108864 << 17 !== 0) { - $ERROR('#571: -67108864 << 17 === 0. Actual: ' + (-67108864 << 17)); -} - - -if (-134217728 << 17 !== 0) { - $ERROR('#572: -134217728 << 17 === 0. Actual: ' + (-134217728 << 17)); -} - - -if (-268435456 << 17 !== 0) { - $ERROR('#573: -268435456 << 17 === 0. Actual: ' + (-268435456 << 17)); -} - - -if (-536870912 << 17 !== 0) { - $ERROR('#574: -536870912 << 17 === 0. Actual: ' + (-536870912 << 17)); -} - - -if (-1073741824 << 17 !== 0) { - $ERROR('#575: -1073741824 << 17 === 0. Actual: ' + (-1073741824 << 17)); -} - - -if (-2147483648 << 17 !== 0) { - $ERROR('#576: -2147483648 << 17 === 0. Actual: ' + (-2147483648 << 17)); -} - - -if (-1 << 18 !== -262144) { - $ERROR('#577: -1 << 18 === -262144. Actual: ' + (-1 << 18)); -} - - -if (-2 << 18 !== -524288) { - $ERROR('#578: -2 << 18 === -524288. Actual: ' + (-2 << 18)); -} - - -if (-4 << 18 !== -1048576) { - $ERROR('#579: -4 << 18 === -1048576. Actual: ' + (-4 << 18)); -} - - -if (-8 << 18 !== -2097152) { - $ERROR('#580: -8 << 18 === -2097152. Actual: ' + (-8 << 18)); -} - - -if (-16 << 18 !== -4194304) { - $ERROR('#581: -16 << 18 === -4194304. Actual: ' + (-16 << 18)); -} - - -if (-32 << 18 !== -8388608) { - $ERROR('#582: -32 << 18 === -8388608. Actual: ' + (-32 << 18)); -} - - -if (-64 << 18 !== -16777216) { - $ERROR('#583: -64 << 18 === -16777216. Actual: ' + (-64 << 18)); -} - - -if (-128 << 18 !== -33554432) { - $ERROR('#584: -128 << 18 === -33554432. Actual: ' + (-128 << 18)); -} - - -if (-256 << 18 !== -67108864) { - $ERROR('#585: -256 << 18 === -67108864. Actual: ' + (-256 << 18)); -} - - -if (-512 << 18 !== -134217728) { - $ERROR('#586: -512 << 18 === -134217728. Actual: ' + (-512 << 18)); -} - - -if (-1024 << 18 !== -268435456) { - $ERROR('#587: -1024 << 18 === -268435456. Actual: ' + (-1024 << 18)); -} - - -if (-2048 << 18 !== -536870912) { - $ERROR('#588: -2048 << 18 === -536870912. Actual: ' + (-2048 << 18)); -} - - -if (-4096 << 18 !== -1073741824) { - $ERROR('#589: -4096 << 18 === -1073741824. Actual: ' + (-4096 << 18)); -} - - -if (-8192 << 18 !== -2147483648) { - $ERROR('#590: -8192 << 18 === -2147483648. Actual: ' + (-8192 << 18)); -} - - -if (-16384 << 18 !== 0) { - $ERROR('#591: -16384 << 18 === 0. Actual: ' + (-16384 << 18)); -} - - -if (-32768 << 18 !== 0) { - $ERROR('#592: -32768 << 18 === 0. Actual: ' + (-32768 << 18)); -} - - -if (-65536 << 18 !== 0) { - $ERROR('#593: -65536 << 18 === 0. Actual: ' + (-65536 << 18)); -} - - -if (-131072 << 18 !== 0) { - $ERROR('#594: -131072 << 18 === 0. Actual: ' + (-131072 << 18)); -} - - -if (-262144 << 18 !== 0) { - $ERROR('#595: -262144 << 18 === 0. Actual: ' + (-262144 << 18)); -} - - -if (-524288 << 18 !== 0) { - $ERROR('#596: -524288 << 18 === 0. Actual: ' + (-524288 << 18)); -} - - -if (-1048576 << 18 !== 0) { - $ERROR('#597: -1048576 << 18 === 0. Actual: ' + (-1048576 << 18)); -} - - -if (-2097152 << 18 !== 0) { - $ERROR('#598: -2097152 << 18 === 0. Actual: ' + (-2097152 << 18)); -} - - -if (-4194304 << 18 !== 0) { - $ERROR('#599: -4194304 << 18 === 0. Actual: ' + (-4194304 << 18)); -} - - -if (-8388608 << 18 !== 0) { - $ERROR('#600: -8388608 << 18 === 0. Actual: ' + (-8388608 << 18)); -} - - -if (-16777216 << 18 !== 0) { - $ERROR('#601: -16777216 << 18 === 0. Actual: ' + (-16777216 << 18)); -} - - -if (-33554432 << 18 !== 0) { - $ERROR('#602: -33554432 << 18 === 0. Actual: ' + (-33554432 << 18)); -} - - -if (-67108864 << 18 !== 0) { - $ERROR('#603: -67108864 << 18 === 0. Actual: ' + (-67108864 << 18)); -} - - -if (-134217728 << 18 !== 0) { - $ERROR('#604: -134217728 << 18 === 0. Actual: ' + (-134217728 << 18)); -} - - -if (-268435456 << 18 !== 0) { - $ERROR('#605: -268435456 << 18 === 0. Actual: ' + (-268435456 << 18)); -} - - -if (-536870912 << 18 !== 0) { - $ERROR('#606: -536870912 << 18 === 0. Actual: ' + (-536870912 << 18)); -} - - -if (-1073741824 << 18 !== 0) { - $ERROR('#607: -1073741824 << 18 === 0. Actual: ' + (-1073741824 << 18)); -} - - -if (-2147483648 << 18 !== 0) { - $ERROR('#608: -2147483648 << 18 === 0. Actual: ' + (-2147483648 << 18)); -} - - -if (-1 << 19 !== -524288) { - $ERROR('#609: -1 << 19 === -524288. Actual: ' + (-1 << 19)); -} - - -if (-2 << 19 !== -1048576) { - $ERROR('#610: -2 << 19 === -1048576. Actual: ' + (-2 << 19)); -} - - -if (-4 << 19 !== -2097152) { - $ERROR('#611: -4 << 19 === -2097152. Actual: ' + (-4 << 19)); -} - - -if (-8 << 19 !== -4194304) { - $ERROR('#612: -8 << 19 === -4194304. Actual: ' + (-8 << 19)); -} - - -if (-16 << 19 !== -8388608) { - $ERROR('#613: -16 << 19 === -8388608. Actual: ' + (-16 << 19)); -} - - -if (-32 << 19 !== -16777216) { - $ERROR('#614: -32 << 19 === -16777216. Actual: ' + (-32 << 19)); -} - - -if (-64 << 19 !== -33554432) { - $ERROR('#615: -64 << 19 === -33554432. Actual: ' + (-64 << 19)); -} - - -if (-128 << 19 !== -67108864) { - $ERROR('#616: -128 << 19 === -67108864. Actual: ' + (-128 << 19)); -} - - -if (-256 << 19 !== -134217728) { - $ERROR('#617: -256 << 19 === -134217728. Actual: ' + (-256 << 19)); -} - - -if (-512 << 19 !== -268435456) { - $ERROR('#618: -512 << 19 === -268435456. Actual: ' + (-512 << 19)); -} - - -if (-1024 << 19 !== -536870912) { - $ERROR('#619: -1024 << 19 === -536870912. Actual: ' + (-1024 << 19)); -} - - -if (-2048 << 19 !== -1073741824) { - $ERROR('#620: -2048 << 19 === -1073741824. Actual: ' + (-2048 << 19)); -} - - -if (-4096 << 19 !== -2147483648) { - $ERROR('#621: -4096 << 19 === -2147483648. Actual: ' + (-4096 << 19)); -} - - -if (-8192 << 19 !== 0) { - $ERROR('#622: -8192 << 19 === 0. Actual: ' + (-8192 << 19)); -} - - -if (-16384 << 19 !== 0) { - $ERROR('#623: -16384 << 19 === 0. Actual: ' + (-16384 << 19)); -} - - -if (-32768 << 19 !== 0) { - $ERROR('#624: -32768 << 19 === 0. Actual: ' + (-32768 << 19)); -} - - -if (-65536 << 19 !== 0) { - $ERROR('#625: -65536 << 19 === 0. Actual: ' + (-65536 << 19)); -} - - -if (-131072 << 19 !== 0) { - $ERROR('#626: -131072 << 19 === 0. Actual: ' + (-131072 << 19)); -} - - -if (-262144 << 19 !== 0) { - $ERROR('#627: -262144 << 19 === 0. Actual: ' + (-262144 << 19)); -} - - -if (-524288 << 19 !== 0) { - $ERROR('#628: -524288 << 19 === 0. Actual: ' + (-524288 << 19)); -} - - -if (-1048576 << 19 !== 0) { - $ERROR('#629: -1048576 << 19 === 0. Actual: ' + (-1048576 << 19)); -} - - -if (-2097152 << 19 !== 0) { - $ERROR('#630: -2097152 << 19 === 0. Actual: ' + (-2097152 << 19)); -} - - -if (-4194304 << 19 !== 0) { - $ERROR('#631: -4194304 << 19 === 0. Actual: ' + (-4194304 << 19)); -} - - -if (-8388608 << 19 !== 0) { - $ERROR('#632: -8388608 << 19 === 0. Actual: ' + (-8388608 << 19)); -} - - -if (-16777216 << 19 !== 0) { - $ERROR('#633: -16777216 << 19 === 0. Actual: ' + (-16777216 << 19)); -} - - -if (-33554432 << 19 !== 0) { - $ERROR('#634: -33554432 << 19 === 0. Actual: ' + (-33554432 << 19)); -} - - -if (-67108864 << 19 !== 0) { - $ERROR('#635: -67108864 << 19 === 0. Actual: ' + (-67108864 << 19)); -} - - -if (-134217728 << 19 !== 0) { - $ERROR('#636: -134217728 << 19 === 0. Actual: ' + (-134217728 << 19)); -} - - -if (-268435456 << 19 !== 0) { - $ERROR('#637: -268435456 << 19 === 0. Actual: ' + (-268435456 << 19)); -} - - -if (-536870912 << 19 !== 0) { - $ERROR('#638: -536870912 << 19 === 0. Actual: ' + (-536870912 << 19)); -} - - -if (-1073741824 << 19 !== 0) { - $ERROR('#639: -1073741824 << 19 === 0. Actual: ' + (-1073741824 << 19)); -} - - -if (-2147483648 << 19 !== 0) { - $ERROR('#640: -2147483648 << 19 === 0. Actual: ' + (-2147483648 << 19)); -} - - -if (-1 << 20 !== -1048576) { - $ERROR('#641: -1 << 20 === -1048576. Actual: ' + (-1 << 20)); -} - - -if (-2 << 20 !== -2097152) { - $ERROR('#642: -2 << 20 === -2097152. Actual: ' + (-2 << 20)); -} - - -if (-4 << 20 !== -4194304) { - $ERROR('#643: -4 << 20 === -4194304. Actual: ' + (-4 << 20)); -} - - -if (-8 << 20 !== -8388608) { - $ERROR('#644: -8 << 20 === -8388608. Actual: ' + (-8 << 20)); -} - - -if (-16 << 20 !== -16777216) { - $ERROR('#645: -16 << 20 === -16777216. Actual: ' + (-16 << 20)); -} - - -if (-32 << 20 !== -33554432) { - $ERROR('#646: -32 << 20 === -33554432. Actual: ' + (-32 << 20)); -} - - -if (-64 << 20 !== -67108864) { - $ERROR('#647: -64 << 20 === -67108864. Actual: ' + (-64 << 20)); -} - - -if (-128 << 20 !== -134217728) { - $ERROR('#648: -128 << 20 === -134217728. Actual: ' + (-128 << 20)); -} - - -if (-256 << 20 !== -268435456) { - $ERROR('#649: -256 << 20 === -268435456. Actual: ' + (-256 << 20)); -} - - -if (-512 << 20 !== -536870912) { - $ERROR('#650: -512 << 20 === -536870912. Actual: ' + (-512 << 20)); -} - - -if (-1024 << 20 !== -1073741824) { - $ERROR('#651: -1024 << 20 === -1073741824. Actual: ' + (-1024 << 20)); -} - - -if (-2048 << 20 !== -2147483648) { - $ERROR('#652: -2048 << 20 === -2147483648. Actual: ' + (-2048 << 20)); -} - - -if (-4096 << 20 !== 0) { - $ERROR('#653: -4096 << 20 === 0. Actual: ' + (-4096 << 20)); -} - - -if (-8192 << 20 !== 0) { - $ERROR('#654: -8192 << 20 === 0. Actual: ' + (-8192 << 20)); -} - - -if (-16384 << 20 !== 0) { - $ERROR('#655: -16384 << 20 === 0. Actual: ' + (-16384 << 20)); -} - - -if (-32768 << 20 !== 0) { - $ERROR('#656: -32768 << 20 === 0. Actual: ' + (-32768 << 20)); -} - - -if (-65536 << 20 !== 0) { - $ERROR('#657: -65536 << 20 === 0. Actual: ' + (-65536 << 20)); -} - - -if (-131072 << 20 !== 0) { - $ERROR('#658: -131072 << 20 === 0. Actual: ' + (-131072 << 20)); -} - - -if (-262144 << 20 !== 0) { - $ERROR('#659: -262144 << 20 === 0. Actual: ' + (-262144 << 20)); -} - - -if (-524288 << 20 !== 0) { - $ERROR('#660: -524288 << 20 === 0. Actual: ' + (-524288 << 20)); -} - - -if (-1048576 << 20 !== 0) { - $ERROR('#661: -1048576 << 20 === 0. Actual: ' + (-1048576 << 20)); -} - - -if (-2097152 << 20 !== 0) { - $ERROR('#662: -2097152 << 20 === 0. Actual: ' + (-2097152 << 20)); -} - - -if (-4194304 << 20 !== 0) { - $ERROR('#663: -4194304 << 20 === 0. Actual: ' + (-4194304 << 20)); -} - - -if (-8388608 << 20 !== 0) { - $ERROR('#664: -8388608 << 20 === 0. Actual: ' + (-8388608 << 20)); -} - - -if (-16777216 << 20 !== 0) { - $ERROR('#665: -16777216 << 20 === 0. Actual: ' + (-16777216 << 20)); -} - - -if (-33554432 << 20 !== 0) { - $ERROR('#666: -33554432 << 20 === 0. Actual: ' + (-33554432 << 20)); -} - - -if (-67108864 << 20 !== 0) { - $ERROR('#667: -67108864 << 20 === 0. Actual: ' + (-67108864 << 20)); -} - - -if (-134217728 << 20 !== 0) { - $ERROR('#668: -134217728 << 20 === 0. Actual: ' + (-134217728 << 20)); -} - - -if (-268435456 << 20 !== 0) { - $ERROR('#669: -268435456 << 20 === 0. Actual: ' + (-268435456 << 20)); -} - - -if (-536870912 << 20 !== 0) { - $ERROR('#670: -536870912 << 20 === 0. Actual: ' + (-536870912 << 20)); -} - - -if (-1073741824 << 20 !== 0) { - $ERROR('#671: -1073741824 << 20 === 0. Actual: ' + (-1073741824 << 20)); -} - - -if (-2147483648 << 20 !== 0) { - $ERROR('#672: -2147483648 << 20 === 0. Actual: ' + (-2147483648 << 20)); -} - - -if (-1 << 21 !== -2097152) { - $ERROR('#673: -1 << 21 === -2097152. Actual: ' + (-1 << 21)); -} - - -if (-2 << 21 !== -4194304) { - $ERROR('#674: -2 << 21 === -4194304. Actual: ' + (-2 << 21)); -} - - -if (-4 << 21 !== -8388608) { - $ERROR('#675: -4 << 21 === -8388608. Actual: ' + (-4 << 21)); -} - - -if (-8 << 21 !== -16777216) { - $ERROR('#676: -8 << 21 === -16777216. Actual: ' + (-8 << 21)); -} - - -if (-16 << 21 !== -33554432) { - $ERROR('#677: -16 << 21 === -33554432. Actual: ' + (-16 << 21)); -} - - -if (-32 << 21 !== -67108864) { - $ERROR('#678: -32 << 21 === -67108864. Actual: ' + (-32 << 21)); -} - - -if (-64 << 21 !== -134217728) { - $ERROR('#679: -64 << 21 === -134217728. Actual: ' + (-64 << 21)); -} - - -if (-128 << 21 !== -268435456) { - $ERROR('#680: -128 << 21 === -268435456. Actual: ' + (-128 << 21)); -} - - -if (-256 << 21 !== -536870912) { - $ERROR('#681: -256 << 21 === -536870912. Actual: ' + (-256 << 21)); -} - - -if (-512 << 21 !== -1073741824) { - $ERROR('#682: -512 << 21 === -1073741824. Actual: ' + (-512 << 21)); -} - - -if (-1024 << 21 !== -2147483648) { - $ERROR('#683: -1024 << 21 === -2147483648. Actual: ' + (-1024 << 21)); -} - - -if (-2048 << 21 !== 0) { - $ERROR('#684: -2048 << 21 === 0. Actual: ' + (-2048 << 21)); -} - - -if (-4096 << 21 !== 0) { - $ERROR('#685: -4096 << 21 === 0. Actual: ' + (-4096 << 21)); -} - - -if (-8192 << 21 !== 0) { - $ERROR('#686: -8192 << 21 === 0. Actual: ' + (-8192 << 21)); -} - - -if (-16384 << 21 !== 0) { - $ERROR('#687: -16384 << 21 === 0. Actual: ' + (-16384 << 21)); -} - - -if (-32768 << 21 !== 0) { - $ERROR('#688: -32768 << 21 === 0. Actual: ' + (-32768 << 21)); -} - - -if (-65536 << 21 !== 0) { - $ERROR('#689: -65536 << 21 === 0. Actual: ' + (-65536 << 21)); -} - - -if (-131072 << 21 !== 0) { - $ERROR('#690: -131072 << 21 === 0. Actual: ' + (-131072 << 21)); -} - - -if (-262144 << 21 !== 0) { - $ERROR('#691: -262144 << 21 === 0. Actual: ' + (-262144 << 21)); -} - - -if (-524288 << 21 !== 0) { - $ERROR('#692: -524288 << 21 === 0. Actual: ' + (-524288 << 21)); -} - - -if (-1048576 << 21 !== 0) { - $ERROR('#693: -1048576 << 21 === 0. Actual: ' + (-1048576 << 21)); -} - - -if (-2097152 << 21 !== 0) { - $ERROR('#694: -2097152 << 21 === 0. Actual: ' + (-2097152 << 21)); -} - - -if (-4194304 << 21 !== 0) { - $ERROR('#695: -4194304 << 21 === 0. Actual: ' + (-4194304 << 21)); -} - - -if (-8388608 << 21 !== 0) { - $ERROR('#696: -8388608 << 21 === 0. Actual: ' + (-8388608 << 21)); -} - - -if (-16777216 << 21 !== 0) { - $ERROR('#697: -16777216 << 21 === 0. Actual: ' + (-16777216 << 21)); -} - - -if (-33554432 << 21 !== 0) { - $ERROR('#698: -33554432 << 21 === 0. Actual: ' + (-33554432 << 21)); -} - - -if (-67108864 << 21 !== 0) { - $ERROR('#699: -67108864 << 21 === 0. Actual: ' + (-67108864 << 21)); -} - - -if (-134217728 << 21 !== 0) { - $ERROR('#700: -134217728 << 21 === 0. Actual: ' + (-134217728 << 21)); -} - - -if (-268435456 << 21 !== 0) { - $ERROR('#701: -268435456 << 21 === 0. Actual: ' + (-268435456 << 21)); -} - - -if (-536870912 << 21 !== 0) { - $ERROR('#702: -536870912 << 21 === 0. Actual: ' + (-536870912 << 21)); -} - - -if (-1073741824 << 21 !== 0) { - $ERROR('#703: -1073741824 << 21 === 0. Actual: ' + (-1073741824 << 21)); -} - - -if (-2147483648 << 21 !== 0) { - $ERROR('#704: -2147483648 << 21 === 0. Actual: ' + (-2147483648 << 21)); -} - - -if (-1 << 22 !== -4194304) { - $ERROR('#705: -1 << 22 === -4194304. Actual: ' + (-1 << 22)); -} - - -if (-2 << 22 !== -8388608) { - $ERROR('#706: -2 << 22 === -8388608. Actual: ' + (-2 << 22)); -} - - -if (-4 << 22 !== -16777216) { - $ERROR('#707: -4 << 22 === -16777216. Actual: ' + (-4 << 22)); -} - - -if (-8 << 22 !== -33554432) { - $ERROR('#708: -8 << 22 === -33554432. Actual: ' + (-8 << 22)); -} - - -if (-16 << 22 !== -67108864) { - $ERROR('#709: -16 << 22 === -67108864. Actual: ' + (-16 << 22)); -} - - -if (-32 << 22 !== -134217728) { - $ERROR('#710: -32 << 22 === -134217728. Actual: ' + (-32 << 22)); -} - - -if (-64 << 22 !== -268435456) { - $ERROR('#711: -64 << 22 === -268435456. Actual: ' + (-64 << 22)); -} - - -if (-128 << 22 !== -536870912) { - $ERROR('#712: -128 << 22 === -536870912. Actual: ' + (-128 << 22)); -} - - -if (-256 << 22 !== -1073741824) { - $ERROR('#713: -256 << 22 === -1073741824. Actual: ' + (-256 << 22)); -} - - -if (-512 << 22 !== -2147483648) { - $ERROR('#714: -512 << 22 === -2147483648. Actual: ' + (-512 << 22)); -} - - -if (-1024 << 22 !== 0) { - $ERROR('#715: -1024 << 22 === 0. Actual: ' + (-1024 << 22)); -} - - -if (-2048 << 22 !== 0) { - $ERROR('#716: -2048 << 22 === 0. Actual: ' + (-2048 << 22)); -} - - -if (-4096 << 22 !== 0) { - $ERROR('#717: -4096 << 22 === 0. Actual: ' + (-4096 << 22)); -} - - -if (-8192 << 22 !== 0) { - $ERROR('#718: -8192 << 22 === 0. Actual: ' + (-8192 << 22)); -} - - -if (-16384 << 22 !== 0) { - $ERROR('#719: -16384 << 22 === 0. Actual: ' + (-16384 << 22)); -} - - -if (-32768 << 22 !== 0) { - $ERROR('#720: -32768 << 22 === 0. Actual: ' + (-32768 << 22)); -} - - -if (-65536 << 22 !== 0) { - $ERROR('#721: -65536 << 22 === 0. Actual: ' + (-65536 << 22)); -} - - -if (-131072 << 22 !== 0) { - $ERROR('#722: -131072 << 22 === 0. Actual: ' + (-131072 << 22)); -} - - -if (-262144 << 22 !== 0) { - $ERROR('#723: -262144 << 22 === 0. Actual: ' + (-262144 << 22)); -} - - -if (-524288 << 22 !== 0) { - $ERROR('#724: -524288 << 22 === 0. Actual: ' + (-524288 << 22)); -} - - -if (-1048576 << 22 !== 0) { - $ERROR('#725: -1048576 << 22 === 0. Actual: ' + (-1048576 << 22)); -} - - -if (-2097152 << 22 !== 0) { - $ERROR('#726: -2097152 << 22 === 0. Actual: ' + (-2097152 << 22)); -} - - -if (-4194304 << 22 !== 0) { - $ERROR('#727: -4194304 << 22 === 0. Actual: ' + (-4194304 << 22)); -} - - -if (-8388608 << 22 !== 0) { - $ERROR('#728: -8388608 << 22 === 0. Actual: ' + (-8388608 << 22)); -} - - -if (-16777216 << 22 !== 0) { - $ERROR('#729: -16777216 << 22 === 0. Actual: ' + (-16777216 << 22)); -} - - -if (-33554432 << 22 !== 0) { - $ERROR('#730: -33554432 << 22 === 0. Actual: ' + (-33554432 << 22)); -} - - -if (-67108864 << 22 !== 0) { - $ERROR('#731: -67108864 << 22 === 0. Actual: ' + (-67108864 << 22)); -} - - -if (-134217728 << 22 !== 0) { - $ERROR('#732: -134217728 << 22 === 0. Actual: ' + (-134217728 << 22)); -} - - -if (-268435456 << 22 !== 0) { - $ERROR('#733: -268435456 << 22 === 0. Actual: ' + (-268435456 << 22)); -} - - -if (-536870912 << 22 !== 0) { - $ERROR('#734: -536870912 << 22 === 0. Actual: ' + (-536870912 << 22)); -} - - -if (-1073741824 << 22 !== 0) { - $ERROR('#735: -1073741824 << 22 === 0. Actual: ' + (-1073741824 << 22)); -} - - -if (-2147483648 << 22 !== 0) { - $ERROR('#736: -2147483648 << 22 === 0. Actual: ' + (-2147483648 << 22)); -} - - -if (-1 << 23 !== -8388608) { - $ERROR('#737: -1 << 23 === -8388608. Actual: ' + (-1 << 23)); -} - - -if (-2 << 23 !== -16777216) { - $ERROR('#738: -2 << 23 === -16777216. Actual: ' + (-2 << 23)); -} - - -if (-4 << 23 !== -33554432) { - $ERROR('#739: -4 << 23 === -33554432. Actual: ' + (-4 << 23)); -} - - -if (-8 << 23 !== -67108864) { - $ERROR('#740: -8 << 23 === -67108864. Actual: ' + (-8 << 23)); -} - - -if (-16 << 23 !== -134217728) { - $ERROR('#741: -16 << 23 === -134217728. Actual: ' + (-16 << 23)); -} - - -if (-32 << 23 !== -268435456) { - $ERROR('#742: -32 << 23 === -268435456. Actual: ' + (-32 << 23)); -} - - -if (-64 << 23 !== -536870912) { - $ERROR('#743: -64 << 23 === -536870912. Actual: ' + (-64 << 23)); -} - - -if (-128 << 23 !== -1073741824) { - $ERROR('#744: -128 << 23 === -1073741824. Actual: ' + (-128 << 23)); -} - - -if (-256 << 23 !== -2147483648) { - $ERROR('#745: -256 << 23 === -2147483648. Actual: ' + (-256 << 23)); -} - - -if (-512 << 23 !== 0) { - $ERROR('#746: -512 << 23 === 0. Actual: ' + (-512 << 23)); -} - - -if (-1024 << 23 !== 0) { - $ERROR('#747: -1024 << 23 === 0. Actual: ' + (-1024 << 23)); -} - - -if (-2048 << 23 !== 0) { - $ERROR('#748: -2048 << 23 === 0. Actual: ' + (-2048 << 23)); -} - - -if (-4096 << 23 !== 0) { - $ERROR('#749: -4096 << 23 === 0. Actual: ' + (-4096 << 23)); -} - - -if (-8192 << 23 !== 0) { - $ERROR('#750: -8192 << 23 === 0. Actual: ' + (-8192 << 23)); -} - - -if (-16384 << 23 !== 0) { - $ERROR('#751: -16384 << 23 === 0. Actual: ' + (-16384 << 23)); -} - - -if (-32768 << 23 !== 0) { - $ERROR('#752: -32768 << 23 === 0. Actual: ' + (-32768 << 23)); -} - - -if (-65536 << 23 !== 0) { - $ERROR('#753: -65536 << 23 === 0. Actual: ' + (-65536 << 23)); -} - - -if (-131072 << 23 !== 0) { - $ERROR('#754: -131072 << 23 === 0. Actual: ' + (-131072 << 23)); -} - - -if (-262144 << 23 !== 0) { - $ERROR('#755: -262144 << 23 === 0. Actual: ' + (-262144 << 23)); -} - - -if (-524288 << 23 !== 0) { - $ERROR('#756: -524288 << 23 === 0. Actual: ' + (-524288 << 23)); -} - - -if (-1048576 << 23 !== 0) { - $ERROR('#757: -1048576 << 23 === 0. Actual: ' + (-1048576 << 23)); -} - - -if (-2097152 << 23 !== 0) { - $ERROR('#758: -2097152 << 23 === 0. Actual: ' + (-2097152 << 23)); -} - - -if (-4194304 << 23 !== 0) { - $ERROR('#759: -4194304 << 23 === 0. Actual: ' + (-4194304 << 23)); -} - - -if (-8388608 << 23 !== 0) { - $ERROR('#760: -8388608 << 23 === 0. Actual: ' + (-8388608 << 23)); -} - - -if (-16777216 << 23 !== 0) { - $ERROR('#761: -16777216 << 23 === 0. Actual: ' + (-16777216 << 23)); -} - - -if (-33554432 << 23 !== 0) { - $ERROR('#762: -33554432 << 23 === 0. Actual: ' + (-33554432 << 23)); -} - - -if (-67108864 << 23 !== 0) { - $ERROR('#763: -67108864 << 23 === 0. Actual: ' + (-67108864 << 23)); -} - - -if (-134217728 << 23 !== 0) { - $ERROR('#764: -134217728 << 23 === 0. Actual: ' + (-134217728 << 23)); -} - - -if (-268435456 << 23 !== 0) { - $ERROR('#765: -268435456 << 23 === 0. Actual: ' + (-268435456 << 23)); -} - - -if (-536870912 << 23 !== 0) { - $ERROR('#766: -536870912 << 23 === 0. Actual: ' + (-536870912 << 23)); -} - - -if (-1073741824 << 23 !== 0) { - $ERROR('#767: -1073741824 << 23 === 0. Actual: ' + (-1073741824 << 23)); -} - - -if (-2147483648 << 23 !== 0) { - $ERROR('#768: -2147483648 << 23 === 0. Actual: ' + (-2147483648 << 23)); -} - - -if (-1 << 24 !== -16777216) { - $ERROR('#769: -1 << 24 === -16777216. Actual: ' + (-1 << 24)); -} - - -if (-2 << 24 !== -33554432) { - $ERROR('#770: -2 << 24 === -33554432. Actual: ' + (-2 << 24)); -} - - -if (-4 << 24 !== -67108864) { - $ERROR('#771: -4 << 24 === -67108864. Actual: ' + (-4 << 24)); -} - - -if (-8 << 24 !== -134217728) { - $ERROR('#772: -8 << 24 === -134217728. Actual: ' + (-8 << 24)); -} - - -if (-16 << 24 !== -268435456) { - $ERROR('#773: -16 << 24 === -268435456. Actual: ' + (-16 << 24)); -} - - -if (-32 << 24 !== -536870912) { - $ERROR('#774: -32 << 24 === -536870912. Actual: ' + (-32 << 24)); -} - - -if (-64 << 24 !== -1073741824) { - $ERROR('#775: -64 << 24 === -1073741824. Actual: ' + (-64 << 24)); -} - - -if (-128 << 24 !== -2147483648) { - $ERROR('#776: -128 << 24 === -2147483648. Actual: ' + (-128 << 24)); -} - - -if (-256 << 24 !== 0) { - $ERROR('#777: -256 << 24 === 0. Actual: ' + (-256 << 24)); -} - - -if (-512 << 24 !== 0) { - $ERROR('#778: -512 << 24 === 0. Actual: ' + (-512 << 24)); -} - - -if (-1024 << 24 !== 0) { - $ERROR('#779: -1024 << 24 === 0. Actual: ' + (-1024 << 24)); -} - - -if (-2048 << 24 !== 0) { - $ERROR('#780: -2048 << 24 === 0. Actual: ' + (-2048 << 24)); -} - - -if (-4096 << 24 !== 0) { - $ERROR('#781: -4096 << 24 === 0. Actual: ' + (-4096 << 24)); -} - - -if (-8192 << 24 !== 0) { - $ERROR('#782: -8192 << 24 === 0. Actual: ' + (-8192 << 24)); -} - - -if (-16384 << 24 !== 0) { - $ERROR('#783: -16384 << 24 === 0. Actual: ' + (-16384 << 24)); -} - - -if (-32768 << 24 !== 0) { - $ERROR('#784: -32768 << 24 === 0. Actual: ' + (-32768 << 24)); -} - - -if (-65536 << 24 !== 0) { - $ERROR('#785: -65536 << 24 === 0. Actual: ' + (-65536 << 24)); -} - - -if (-131072 << 24 !== 0) { - $ERROR('#786: -131072 << 24 === 0. Actual: ' + (-131072 << 24)); -} - - -if (-262144 << 24 !== 0) { - $ERROR('#787: -262144 << 24 === 0. Actual: ' + (-262144 << 24)); -} - - -if (-524288 << 24 !== 0) { - $ERROR('#788: -524288 << 24 === 0. Actual: ' + (-524288 << 24)); -} - - -if (-1048576 << 24 !== 0) { - $ERROR('#789: -1048576 << 24 === 0. Actual: ' + (-1048576 << 24)); -} - - -if (-2097152 << 24 !== 0) { - $ERROR('#790: -2097152 << 24 === 0. Actual: ' + (-2097152 << 24)); -} - - -if (-4194304 << 24 !== 0) { - $ERROR('#791: -4194304 << 24 === 0. Actual: ' + (-4194304 << 24)); -} - - -if (-8388608 << 24 !== 0) { - $ERROR('#792: -8388608 << 24 === 0. Actual: ' + (-8388608 << 24)); -} - - -if (-16777216 << 24 !== 0) { - $ERROR('#793: -16777216 << 24 === 0. Actual: ' + (-16777216 << 24)); -} - - -if (-33554432 << 24 !== 0) { - $ERROR('#794: -33554432 << 24 === 0. Actual: ' + (-33554432 << 24)); -} - - -if (-67108864 << 24 !== 0) { - $ERROR('#795: -67108864 << 24 === 0. Actual: ' + (-67108864 << 24)); -} - - -if (-134217728 << 24 !== 0) { - $ERROR('#796: -134217728 << 24 === 0. Actual: ' + (-134217728 << 24)); -} - - -if (-268435456 << 24 !== 0) { - $ERROR('#797: -268435456 << 24 === 0. Actual: ' + (-268435456 << 24)); -} - - -if (-536870912 << 24 !== 0) { - $ERROR('#798: -536870912 << 24 === 0. Actual: ' + (-536870912 << 24)); -} - - -if (-1073741824 << 24 !== 0) { - $ERROR('#799: -1073741824 << 24 === 0. Actual: ' + (-1073741824 << 24)); -} - - -if (-2147483648 << 24 !== 0) { - $ERROR('#800: -2147483648 << 24 === 0. Actual: ' + (-2147483648 << 24)); -} - - -if (-1 << 25 !== -33554432) { - $ERROR('#801: -1 << 25 === -33554432. Actual: ' + (-1 << 25)); -} - - -if (-2 << 25 !== -67108864) { - $ERROR('#802: -2 << 25 === -67108864. Actual: ' + (-2 << 25)); -} - - -if (-4 << 25 !== -134217728) { - $ERROR('#803: -4 << 25 === -134217728. Actual: ' + (-4 << 25)); -} - - -if (-8 << 25 !== -268435456) { - $ERROR('#804: -8 << 25 === -268435456. Actual: ' + (-8 << 25)); -} - - -if (-16 << 25 !== -536870912) { - $ERROR('#805: -16 << 25 === -536870912. Actual: ' + (-16 << 25)); -} - - -if (-32 << 25 !== -1073741824) { - $ERROR('#806: -32 << 25 === -1073741824. Actual: ' + (-32 << 25)); -} - - -if (-64 << 25 !== -2147483648) { - $ERROR('#807: -64 << 25 === -2147483648. Actual: ' + (-64 << 25)); -} - - -if (-128 << 25 !== 0) { - $ERROR('#808: -128 << 25 === 0. Actual: ' + (-128 << 25)); -} - - -if (-256 << 25 !== 0) { - $ERROR('#809: -256 << 25 === 0. Actual: ' + (-256 << 25)); -} - - -if (-512 << 25 !== 0) { - $ERROR('#810: -512 << 25 === 0. Actual: ' + (-512 << 25)); -} - - -if (-1024 << 25 !== 0) { - $ERROR('#811: -1024 << 25 === 0. Actual: ' + (-1024 << 25)); -} - - -if (-2048 << 25 !== 0) { - $ERROR('#812: -2048 << 25 === 0. Actual: ' + (-2048 << 25)); -} - - -if (-4096 << 25 !== 0) { - $ERROR('#813: -4096 << 25 === 0. Actual: ' + (-4096 << 25)); -} - - -if (-8192 << 25 !== 0) { - $ERROR('#814: -8192 << 25 === 0. Actual: ' + (-8192 << 25)); -} - - -if (-16384 << 25 !== 0) { - $ERROR('#815: -16384 << 25 === 0. Actual: ' + (-16384 << 25)); -} - - -if (-32768 << 25 !== 0) { - $ERROR('#816: -32768 << 25 === 0. Actual: ' + (-32768 << 25)); -} - - -if (-65536 << 25 !== 0) { - $ERROR('#817: -65536 << 25 === 0. Actual: ' + (-65536 << 25)); -} - - -if (-131072 << 25 !== 0) { - $ERROR('#818: -131072 << 25 === 0. Actual: ' + (-131072 << 25)); -} - - -if (-262144 << 25 !== 0) { - $ERROR('#819: -262144 << 25 === 0. Actual: ' + (-262144 << 25)); -} - - -if (-524288 << 25 !== 0) { - $ERROR('#820: -524288 << 25 === 0. Actual: ' + (-524288 << 25)); -} - - -if (-1048576 << 25 !== 0) { - $ERROR('#821: -1048576 << 25 === 0. Actual: ' + (-1048576 << 25)); -} - - -if (-2097152 << 25 !== 0) { - $ERROR('#822: -2097152 << 25 === 0. Actual: ' + (-2097152 << 25)); -} - - -if (-4194304 << 25 !== 0) { - $ERROR('#823: -4194304 << 25 === 0. Actual: ' + (-4194304 << 25)); -} - - -if (-8388608 << 25 !== 0) { - $ERROR('#824: -8388608 << 25 === 0. Actual: ' + (-8388608 << 25)); -} - - -if (-16777216 << 25 !== 0) { - $ERROR('#825: -16777216 << 25 === 0. Actual: ' + (-16777216 << 25)); -} - - -if (-33554432 << 25 !== 0) { - $ERROR('#826: -33554432 << 25 === 0. Actual: ' + (-33554432 << 25)); -} - - -if (-67108864 << 25 !== 0) { - $ERROR('#827: -67108864 << 25 === 0. Actual: ' + (-67108864 << 25)); -} - - -if (-134217728 << 25 !== 0) { - $ERROR('#828: -134217728 << 25 === 0. Actual: ' + (-134217728 << 25)); -} - - -if (-268435456 << 25 !== 0) { - $ERROR('#829: -268435456 << 25 === 0. Actual: ' + (-268435456 << 25)); -} - - -if (-536870912 << 25 !== 0) { - $ERROR('#830: -536870912 << 25 === 0. Actual: ' + (-536870912 << 25)); -} - - -if (-1073741824 << 25 !== 0) { - $ERROR('#831: -1073741824 << 25 === 0. Actual: ' + (-1073741824 << 25)); -} - - -if (-2147483648 << 25 !== 0) { - $ERROR('#832: -2147483648 << 25 === 0. Actual: ' + (-2147483648 << 25)); -} - - -if (-1 << 26 !== -67108864) { - $ERROR('#833: -1 << 26 === -67108864. Actual: ' + (-1 << 26)); -} - - -if (-2 << 26 !== -134217728) { - $ERROR('#834: -2 << 26 === -134217728. Actual: ' + (-2 << 26)); -} - - -if (-4 << 26 !== -268435456) { - $ERROR('#835: -4 << 26 === -268435456. Actual: ' + (-4 << 26)); -} - - -if (-8 << 26 !== -536870912) { - $ERROR('#836: -8 << 26 === -536870912. Actual: ' + (-8 << 26)); -} - - -if (-16 << 26 !== -1073741824) { - $ERROR('#837: -16 << 26 === -1073741824. Actual: ' + (-16 << 26)); -} - - -if (-32 << 26 !== -2147483648) { - $ERROR('#838: -32 << 26 === -2147483648. Actual: ' + (-32 << 26)); -} - - -if (-64 << 26 !== 0) { - $ERROR('#839: -64 << 26 === 0. Actual: ' + (-64 << 26)); -} - - -if (-128 << 26 !== 0) { - $ERROR('#840: -128 << 26 === 0. Actual: ' + (-128 << 26)); -} - - -if (-256 << 26 !== 0) { - $ERROR('#841: -256 << 26 === 0. Actual: ' + (-256 << 26)); -} - - -if (-512 << 26 !== 0) { - $ERROR('#842: -512 << 26 === 0. Actual: ' + (-512 << 26)); -} - - -if (-1024 << 26 !== 0) { - $ERROR('#843: -1024 << 26 === 0. Actual: ' + (-1024 << 26)); -} - - -if (-2048 << 26 !== 0) { - $ERROR('#844: -2048 << 26 === 0. Actual: ' + (-2048 << 26)); -} - - -if (-4096 << 26 !== 0) { - $ERROR('#845: -4096 << 26 === 0. Actual: ' + (-4096 << 26)); -} - - -if (-8192 << 26 !== 0) { - $ERROR('#846: -8192 << 26 === 0. Actual: ' + (-8192 << 26)); -} - - -if (-16384 << 26 !== 0) { - $ERROR('#847: -16384 << 26 === 0. Actual: ' + (-16384 << 26)); -} - - -if (-32768 << 26 !== 0) { - $ERROR('#848: -32768 << 26 === 0. Actual: ' + (-32768 << 26)); -} - - -if (-65536 << 26 !== 0) { - $ERROR('#849: -65536 << 26 === 0. Actual: ' + (-65536 << 26)); -} - - -if (-131072 << 26 !== 0) { - $ERROR('#850: -131072 << 26 === 0. Actual: ' + (-131072 << 26)); -} - - -if (-262144 << 26 !== 0) { - $ERROR('#851: -262144 << 26 === 0. Actual: ' + (-262144 << 26)); -} - - -if (-524288 << 26 !== 0) { - $ERROR('#852: -524288 << 26 === 0. Actual: ' + (-524288 << 26)); -} - - -if (-1048576 << 26 !== 0) { - $ERROR('#853: -1048576 << 26 === 0. Actual: ' + (-1048576 << 26)); -} - - -if (-2097152 << 26 !== 0) { - $ERROR('#854: -2097152 << 26 === 0. Actual: ' + (-2097152 << 26)); -} - - -if (-4194304 << 26 !== 0) { - $ERROR('#855: -4194304 << 26 === 0. Actual: ' + (-4194304 << 26)); -} - - -if (-8388608 << 26 !== 0) { - $ERROR('#856: -8388608 << 26 === 0. Actual: ' + (-8388608 << 26)); -} - - -if (-16777216 << 26 !== 0) { - $ERROR('#857: -16777216 << 26 === 0. Actual: ' + (-16777216 << 26)); -} - - -if (-33554432 << 26 !== 0) { - $ERROR('#858: -33554432 << 26 === 0. Actual: ' + (-33554432 << 26)); -} - - -if (-67108864 << 26 !== 0) { - $ERROR('#859: -67108864 << 26 === 0. Actual: ' + (-67108864 << 26)); -} - - -if (-134217728 << 26 !== 0) { - $ERROR('#860: -134217728 << 26 === 0. Actual: ' + (-134217728 << 26)); -} - - -if (-268435456 << 26 !== 0) { - $ERROR('#861: -268435456 << 26 === 0. Actual: ' + (-268435456 << 26)); -} - - -if (-536870912 << 26 !== 0) { - $ERROR('#862: -536870912 << 26 === 0. Actual: ' + (-536870912 << 26)); -} - - -if (-1073741824 << 26 !== 0) { - $ERROR('#863: -1073741824 << 26 === 0. Actual: ' + (-1073741824 << 26)); -} - - -if (-2147483648 << 26 !== 0) { - $ERROR('#864: -2147483648 << 26 === 0. Actual: ' + (-2147483648 << 26)); -} - - -if (-1 << 27 !== -134217728) { - $ERROR('#865: -1 << 27 === -134217728. Actual: ' + (-1 << 27)); -} - - -if (-2 << 27 !== -268435456) { - $ERROR('#866: -2 << 27 === -268435456. Actual: ' + (-2 << 27)); -} - - -if (-4 << 27 !== -536870912) { - $ERROR('#867: -4 << 27 === -536870912. Actual: ' + (-4 << 27)); -} - - -if (-8 << 27 !== -1073741824) { - $ERROR('#868: -8 << 27 === -1073741824. Actual: ' + (-8 << 27)); -} - - -if (-16 << 27 !== -2147483648) { - $ERROR('#869: -16 << 27 === -2147483648. Actual: ' + (-16 << 27)); -} - - -if (-32 << 27 !== 0) { - $ERROR('#870: -32 << 27 === 0. Actual: ' + (-32 << 27)); -} - - -if (-64 << 27 !== 0) { - $ERROR('#871: -64 << 27 === 0. Actual: ' + (-64 << 27)); -} - - -if (-128 << 27 !== 0) { - $ERROR('#872: -128 << 27 === 0. Actual: ' + (-128 << 27)); -} - - -if (-256 << 27 !== 0) { - $ERROR('#873: -256 << 27 === 0. Actual: ' + (-256 << 27)); -} - - -if (-512 << 27 !== 0) { - $ERROR('#874: -512 << 27 === 0. Actual: ' + (-512 << 27)); -} - - -if (-1024 << 27 !== 0) { - $ERROR('#875: -1024 << 27 === 0. Actual: ' + (-1024 << 27)); -} - - -if (-2048 << 27 !== 0) { - $ERROR('#876: -2048 << 27 === 0. Actual: ' + (-2048 << 27)); -} - - -if (-4096 << 27 !== 0) { - $ERROR('#877: -4096 << 27 === 0. Actual: ' + (-4096 << 27)); -} - - -if (-8192 << 27 !== 0) { - $ERROR('#878: -8192 << 27 === 0. Actual: ' + (-8192 << 27)); -} - - -if (-16384 << 27 !== 0) { - $ERROR('#879: -16384 << 27 === 0. Actual: ' + (-16384 << 27)); -} - - -if (-32768 << 27 !== 0) { - $ERROR('#880: -32768 << 27 === 0. Actual: ' + (-32768 << 27)); -} - - -if (-65536 << 27 !== 0) { - $ERROR('#881: -65536 << 27 === 0. Actual: ' + (-65536 << 27)); -} - - -if (-131072 << 27 !== 0) { - $ERROR('#882: -131072 << 27 === 0. Actual: ' + (-131072 << 27)); -} - - -if (-262144 << 27 !== 0) { - $ERROR('#883: -262144 << 27 === 0. Actual: ' + (-262144 << 27)); -} - - -if (-524288 << 27 !== 0) { - $ERROR('#884: -524288 << 27 === 0. Actual: ' + (-524288 << 27)); -} - - -if (-1048576 << 27 !== 0) { - $ERROR('#885: -1048576 << 27 === 0. Actual: ' + (-1048576 << 27)); -} - - -if (-2097152 << 27 !== 0) { - $ERROR('#886: -2097152 << 27 === 0. Actual: ' + (-2097152 << 27)); -} - - -if (-4194304 << 27 !== 0) { - $ERROR('#887: -4194304 << 27 === 0. Actual: ' + (-4194304 << 27)); -} - - -if (-8388608 << 27 !== 0) { - $ERROR('#888: -8388608 << 27 === 0. Actual: ' + (-8388608 << 27)); -} - - -if (-16777216 << 27 !== 0) { - $ERROR('#889: -16777216 << 27 === 0. Actual: ' + (-16777216 << 27)); -} - - -if (-33554432 << 27 !== 0) { - $ERROR('#890: -33554432 << 27 === 0. Actual: ' + (-33554432 << 27)); -} - - -if (-67108864 << 27 !== 0) { - $ERROR('#891: -67108864 << 27 === 0. Actual: ' + (-67108864 << 27)); -} - - -if (-134217728 << 27 !== 0) { - $ERROR('#892: -134217728 << 27 === 0. Actual: ' + (-134217728 << 27)); -} - - -if (-268435456 << 27 !== 0) { - $ERROR('#893: -268435456 << 27 === 0. Actual: ' + (-268435456 << 27)); -} - - -if (-536870912 << 27 !== 0) { - $ERROR('#894: -536870912 << 27 === 0. Actual: ' + (-536870912 << 27)); -} - - -if (-1073741824 << 27 !== 0) { - $ERROR('#895: -1073741824 << 27 === 0. Actual: ' + (-1073741824 << 27)); -} - - -if (-2147483648 << 27 !== 0) { - $ERROR('#896: -2147483648 << 27 === 0. Actual: ' + (-2147483648 << 27)); -} - - -if (-1 << 28 !== -268435456) { - $ERROR('#897: -1 << 28 === -268435456. Actual: ' + (-1 << 28)); -} - - -if (-2 << 28 !== -536870912) { - $ERROR('#898: -2 << 28 === -536870912. Actual: ' + (-2 << 28)); -} - - -if (-4 << 28 !== -1073741824) { - $ERROR('#899: -4 << 28 === -1073741824. Actual: ' + (-4 << 28)); -} - - -if (-8 << 28 !== -2147483648) { - $ERROR('#900: -8 << 28 === -2147483648. Actual: ' + (-8 << 28)); -} - - -if (-16 << 28 !== 0) { - $ERROR('#901: -16 << 28 === 0. Actual: ' + (-16 << 28)); -} - - -if (-32 << 28 !== 0) { - $ERROR('#902: -32 << 28 === 0. Actual: ' + (-32 << 28)); -} - - -if (-64 << 28 !== 0) { - $ERROR('#903: -64 << 28 === 0. Actual: ' + (-64 << 28)); -} - - -if (-128 << 28 !== 0) { - $ERROR('#904: -128 << 28 === 0. Actual: ' + (-128 << 28)); -} - - -if (-256 << 28 !== 0) { - $ERROR('#905: -256 << 28 === 0. Actual: ' + (-256 << 28)); -} - - -if (-512 << 28 !== 0) { - $ERROR('#906: -512 << 28 === 0. Actual: ' + (-512 << 28)); -} - - -if (-1024 << 28 !== 0) { - $ERROR('#907: -1024 << 28 === 0. Actual: ' + (-1024 << 28)); -} - - -if (-2048 << 28 !== 0) { - $ERROR('#908: -2048 << 28 === 0. Actual: ' + (-2048 << 28)); -} - - -if (-4096 << 28 !== 0) { - $ERROR('#909: -4096 << 28 === 0. Actual: ' + (-4096 << 28)); -} - - -if (-8192 << 28 !== 0) { - $ERROR('#910: -8192 << 28 === 0. Actual: ' + (-8192 << 28)); -} - - -if (-16384 << 28 !== 0) { - $ERROR('#911: -16384 << 28 === 0. Actual: ' + (-16384 << 28)); -} - - -if (-32768 << 28 !== 0) { - $ERROR('#912: -32768 << 28 === 0. Actual: ' + (-32768 << 28)); -} - - -if (-65536 << 28 !== 0) { - $ERROR('#913: -65536 << 28 === 0. Actual: ' + (-65536 << 28)); -} - - -if (-131072 << 28 !== 0) { - $ERROR('#914: -131072 << 28 === 0. Actual: ' + (-131072 << 28)); -} - - -if (-262144 << 28 !== 0) { - $ERROR('#915: -262144 << 28 === 0. Actual: ' + (-262144 << 28)); -} - - -if (-524288 << 28 !== 0) { - $ERROR('#916: -524288 << 28 === 0. Actual: ' + (-524288 << 28)); -} - - -if (-1048576 << 28 !== 0) { - $ERROR('#917: -1048576 << 28 === 0. Actual: ' + (-1048576 << 28)); -} - - -if (-2097152 << 28 !== 0) { - $ERROR('#918: -2097152 << 28 === 0. Actual: ' + (-2097152 << 28)); -} - - -if (-4194304 << 28 !== 0) { - $ERROR('#919: -4194304 << 28 === 0. Actual: ' + (-4194304 << 28)); -} - - -if (-8388608 << 28 !== 0) { - $ERROR('#920: -8388608 << 28 === 0. Actual: ' + (-8388608 << 28)); -} - - -if (-16777216 << 28 !== 0) { - $ERROR('#921: -16777216 << 28 === 0. Actual: ' + (-16777216 << 28)); -} - - -if (-33554432 << 28 !== 0) { - $ERROR('#922: -33554432 << 28 === 0. Actual: ' + (-33554432 << 28)); -} - - -if (-67108864 << 28 !== 0) { - $ERROR('#923: -67108864 << 28 === 0. Actual: ' + (-67108864 << 28)); -} - - -if (-134217728 << 28 !== 0) { - $ERROR('#924: -134217728 << 28 === 0. Actual: ' + (-134217728 << 28)); -} - - -if (-268435456 << 28 !== 0) { - $ERROR('#925: -268435456 << 28 === 0. Actual: ' + (-268435456 << 28)); -} - - -if (-536870912 << 28 !== 0) { - $ERROR('#926: -536870912 << 28 === 0. Actual: ' + (-536870912 << 28)); -} - - -if (-1073741824 << 28 !== 0) { - $ERROR('#927: -1073741824 << 28 === 0. Actual: ' + (-1073741824 << 28)); -} - - -if (-2147483648 << 28 !== 0) { - $ERROR('#928: -2147483648 << 28 === 0. Actual: ' + (-2147483648 << 28)); -} - - -if (-1 << 29 !== -536870912) { - $ERROR('#929: -1 << 29 === -536870912. Actual: ' + (-1 << 29)); -} - - -if (-2 << 29 !== -1073741824) { - $ERROR('#930: -2 << 29 === -1073741824. Actual: ' + (-2 << 29)); -} - - -if (-4 << 29 !== -2147483648) { - $ERROR('#931: -4 << 29 === -2147483648. Actual: ' + (-4 << 29)); -} - - -if (-8 << 29 !== 0) { - $ERROR('#932: -8 << 29 === 0. Actual: ' + (-8 << 29)); -} - - -if (-16 << 29 !== 0) { - $ERROR('#933: -16 << 29 === 0. Actual: ' + (-16 << 29)); -} - - -if (-32 << 29 !== 0) { - $ERROR('#934: -32 << 29 === 0. Actual: ' + (-32 << 29)); -} - - -if (-64 << 29 !== 0) { - $ERROR('#935: -64 << 29 === 0. Actual: ' + (-64 << 29)); -} - - -if (-128 << 29 !== 0) { - $ERROR('#936: -128 << 29 === 0. Actual: ' + (-128 << 29)); -} - - -if (-256 << 29 !== 0) { - $ERROR('#937: -256 << 29 === 0. Actual: ' + (-256 << 29)); -} - - -if (-512 << 29 !== 0) { - $ERROR('#938: -512 << 29 === 0. Actual: ' + (-512 << 29)); -} - - -if (-1024 << 29 !== 0) { - $ERROR('#939: -1024 << 29 === 0. Actual: ' + (-1024 << 29)); -} - - -if (-2048 << 29 !== 0) { - $ERROR('#940: -2048 << 29 === 0. Actual: ' + (-2048 << 29)); -} - - -if (-4096 << 29 !== 0) { - $ERROR('#941: -4096 << 29 === 0. Actual: ' + (-4096 << 29)); -} - - -if (-8192 << 29 !== 0) { - $ERROR('#942: -8192 << 29 === 0. Actual: ' + (-8192 << 29)); -} - - -if (-16384 << 29 !== 0) { - $ERROR('#943: -16384 << 29 === 0. Actual: ' + (-16384 << 29)); -} - - -if (-32768 << 29 !== 0) { - $ERROR('#944: -32768 << 29 === 0. Actual: ' + (-32768 << 29)); -} - - -if (-65536 << 29 !== 0) { - $ERROR('#945: -65536 << 29 === 0. Actual: ' + (-65536 << 29)); -} - - -if (-131072 << 29 !== 0) { - $ERROR('#946: -131072 << 29 === 0. Actual: ' + (-131072 << 29)); -} - - -if (-262144 << 29 !== 0) { - $ERROR('#947: -262144 << 29 === 0. Actual: ' + (-262144 << 29)); -} - - -if (-524288 << 29 !== 0) { - $ERROR('#948: -524288 << 29 === 0. Actual: ' + (-524288 << 29)); -} - - -if (-1048576 << 29 !== 0) { - $ERROR('#949: -1048576 << 29 === 0. Actual: ' + (-1048576 << 29)); -} - - -if (-2097152 << 29 !== 0) { - $ERROR('#950: -2097152 << 29 === 0. Actual: ' + (-2097152 << 29)); -} - - -if (-4194304 << 29 !== 0) { - $ERROR('#951: -4194304 << 29 === 0. Actual: ' + (-4194304 << 29)); -} - - -if (-8388608 << 29 !== 0) { - $ERROR('#952: -8388608 << 29 === 0. Actual: ' + (-8388608 << 29)); -} - - -if (-16777216 << 29 !== 0) { - $ERROR('#953: -16777216 << 29 === 0. Actual: ' + (-16777216 << 29)); -} - - -if (-33554432 << 29 !== 0) { - $ERROR('#954: -33554432 << 29 === 0. Actual: ' + (-33554432 << 29)); -} - - -if (-67108864 << 29 !== 0) { - $ERROR('#955: -67108864 << 29 === 0. Actual: ' + (-67108864 << 29)); -} - - -if (-134217728 << 29 !== 0) { - $ERROR('#956: -134217728 << 29 === 0. Actual: ' + (-134217728 << 29)); -} - - -if (-268435456 << 29 !== 0) { - $ERROR('#957: -268435456 << 29 === 0. Actual: ' + (-268435456 << 29)); -} - - -if (-536870912 << 29 !== 0) { - $ERROR('#958: -536870912 << 29 === 0. Actual: ' + (-536870912 << 29)); -} - - -if (-1073741824 << 29 !== 0) { - $ERROR('#959: -1073741824 << 29 === 0. Actual: ' + (-1073741824 << 29)); -} - - -if (-2147483648 << 29 !== 0) { - $ERROR('#960: -2147483648 << 29 === 0. Actual: ' + (-2147483648 << 29)); -} - - -if (-1 << 30 !== -1073741824) { - $ERROR('#961: -1 << 30 === -1073741824. Actual: ' + (-1 << 30)); -} - - -if (-2 << 30 !== -2147483648) { - $ERROR('#962: -2 << 30 === -2147483648. Actual: ' + (-2 << 30)); -} - - -if (-4 << 30 !== 0) { - $ERROR('#963: -4 << 30 === 0. Actual: ' + (-4 << 30)); -} - - -if (-8 << 30 !== 0) { - $ERROR('#964: -8 << 30 === 0. Actual: ' + (-8 << 30)); -} - - -if (-16 << 30 !== 0) { - $ERROR('#965: -16 << 30 === 0. Actual: ' + (-16 << 30)); -} - - -if (-32 << 30 !== 0) { - $ERROR('#966: -32 << 30 === 0. Actual: ' + (-32 << 30)); -} - - -if (-64 << 30 !== 0) { - $ERROR('#967: -64 << 30 === 0. Actual: ' + (-64 << 30)); -} - - -if (-128 << 30 !== 0) { - $ERROR('#968: -128 << 30 === 0. Actual: ' + (-128 << 30)); -} - - -if (-256 << 30 !== 0) { - $ERROR('#969: -256 << 30 === 0. Actual: ' + (-256 << 30)); -} - - -if (-512 << 30 !== 0) { - $ERROR('#970: -512 << 30 === 0. Actual: ' + (-512 << 30)); -} - - -if (-1024 << 30 !== 0) { - $ERROR('#971: -1024 << 30 === 0. Actual: ' + (-1024 << 30)); -} - - -if (-2048 << 30 !== 0) { - $ERROR('#972: -2048 << 30 === 0. Actual: ' + (-2048 << 30)); -} - - -if (-4096 << 30 !== 0) { - $ERROR('#973: -4096 << 30 === 0. Actual: ' + (-4096 << 30)); -} - - -if (-8192 << 30 !== 0) { - $ERROR('#974: -8192 << 30 === 0. Actual: ' + (-8192 << 30)); -} - - -if (-16384 << 30 !== 0) { - $ERROR('#975: -16384 << 30 === 0. Actual: ' + (-16384 << 30)); -} - - -if (-32768 << 30 !== 0) { - $ERROR('#976: -32768 << 30 === 0. Actual: ' + (-32768 << 30)); -} - - -if (-65536 << 30 !== 0) { - $ERROR('#977: -65536 << 30 === 0. Actual: ' + (-65536 << 30)); -} - - -if (-131072 << 30 !== 0) { - $ERROR('#978: -131072 << 30 === 0. Actual: ' + (-131072 << 30)); -} - - -if (-262144 << 30 !== 0) { - $ERROR('#979: -262144 << 30 === 0. Actual: ' + (-262144 << 30)); -} - - -if (-524288 << 30 !== 0) { - $ERROR('#980: -524288 << 30 === 0. Actual: ' + (-524288 << 30)); -} - - -if (-1048576 << 30 !== 0) { - $ERROR('#981: -1048576 << 30 === 0. Actual: ' + (-1048576 << 30)); -} - - -if (-2097152 << 30 !== 0) { - $ERROR('#982: -2097152 << 30 === 0. Actual: ' + (-2097152 << 30)); -} - - -if (-4194304 << 30 !== 0) { - $ERROR('#983: -4194304 << 30 === 0. Actual: ' + (-4194304 << 30)); -} - - -if (-8388608 << 30 !== 0) { - $ERROR('#984: -8388608 << 30 === 0. Actual: ' + (-8388608 << 30)); -} - - -if (-16777216 << 30 !== 0) { - $ERROR('#985: -16777216 << 30 === 0. Actual: ' + (-16777216 << 30)); -} - - -if (-33554432 << 30 !== 0) { - $ERROR('#986: -33554432 << 30 === 0. Actual: ' + (-33554432 << 30)); -} - - -if (-67108864 << 30 !== 0) { - $ERROR('#987: -67108864 << 30 === 0. Actual: ' + (-67108864 << 30)); -} - - -if (-134217728 << 30 !== 0) { - $ERROR('#988: -134217728 << 30 === 0. Actual: ' + (-134217728 << 30)); -} - - -if (-268435456 << 30 !== 0) { - $ERROR('#989: -268435456 << 30 === 0. Actual: ' + (-268435456 << 30)); -} - - -if (-536870912 << 30 !== 0) { - $ERROR('#990: -536870912 << 30 === 0. Actual: ' + (-536870912 << 30)); -} - - -if (-1073741824 << 30 !== 0) { - $ERROR('#991: -1073741824 << 30 === 0. Actual: ' + (-1073741824 << 30)); -} - - -if (-2147483648 << 30 !== 0) { - $ERROR('#992: -2147483648 << 30 === 0. Actual: ' + (-2147483648 << 30)); -} - - -if (-1 << 31 !== -2147483648) { - $ERROR('#993: -1 << 31 === -2147483648. Actual: ' + (-1 << 31)); -} - - -if (-2 << 31 !== 0) { - $ERROR('#994: -2 << 31 === 0. Actual: ' + (-2 << 31)); -} - - -if (-4 << 31 !== 0) { - $ERROR('#995: -4 << 31 === 0. Actual: ' + (-4 << 31)); -} - - -if (-8 << 31 !== 0) { - $ERROR('#996: -8 << 31 === 0. Actual: ' + (-8 << 31)); -} - - -if (-16 << 31 !== 0) { - $ERROR('#997: -16 << 31 === 0. Actual: ' + (-16 << 31)); -} - - -if (-32 << 31 !== 0) { - $ERROR('#998: -32 << 31 === 0. Actual: ' + (-32 << 31)); -} - - -if (-64 << 31 !== 0) { - $ERROR('#999: -64 << 31 === 0. Actual: ' + (-64 << 31)); -} - - -if (-128 << 31 !== 0) { - $ERROR('#1000: -128 << 31 === 0. Actual: ' + (-128 << 31)); -} - - -if (-256 << 31 !== 0) { - $ERROR('#1001: -256 << 31 === 0. Actual: ' + (-256 << 31)); -} - - -if (-512 << 31 !== 0) { - $ERROR('#1002: -512 << 31 === 0. Actual: ' + (-512 << 31)); -} - - -if (-1024 << 31 !== 0) { - $ERROR('#1003: -1024 << 31 === 0. Actual: ' + (-1024 << 31)); -} - - -if (-2048 << 31 !== 0) { - $ERROR('#1004: -2048 << 31 === 0. Actual: ' + (-2048 << 31)); -} - - -if (-4096 << 31 !== 0) { - $ERROR('#1005: -4096 << 31 === 0. Actual: ' + (-4096 << 31)); -} - - -if (-8192 << 31 !== 0) { - $ERROR('#1006: -8192 << 31 === 0. Actual: ' + (-8192 << 31)); -} - - -if (-16384 << 31 !== 0) { - $ERROR('#1007: -16384 << 31 === 0. Actual: ' + (-16384 << 31)); -} - - -if (-32768 << 31 !== 0) { - $ERROR('#1008: -32768 << 31 === 0. Actual: ' + (-32768 << 31)); -} - - -if (-65536 << 31 !== 0) { - $ERROR('#1009: -65536 << 31 === 0. Actual: ' + (-65536 << 31)); -} - - -if (-131072 << 31 !== 0) { - $ERROR('#1010: -131072 << 31 === 0. Actual: ' + (-131072 << 31)); -} - - -if (-262144 << 31 !== 0) { - $ERROR('#1011: -262144 << 31 === 0. Actual: ' + (-262144 << 31)); -} - - -if (-524288 << 31 !== 0) { - $ERROR('#1012: -524288 << 31 === 0. Actual: ' + (-524288 << 31)); -} - - -if (-1048576 << 31 !== 0) { - $ERROR('#1013: -1048576 << 31 === 0. Actual: ' + (-1048576 << 31)); -} - - -if (-2097152 << 31 !== 0) { - $ERROR('#1014: -2097152 << 31 === 0. Actual: ' + (-2097152 << 31)); -} - - -if (-4194304 << 31 !== 0) { - $ERROR('#1015: -4194304 << 31 === 0. Actual: ' + (-4194304 << 31)); -} - - -if (-8388608 << 31 !== 0) { - $ERROR('#1016: -8388608 << 31 === 0. Actual: ' + (-8388608 << 31)); -} - - -if (-16777216 << 31 !== 0) { - $ERROR('#1017: -16777216 << 31 === 0. Actual: ' + (-16777216 << 31)); -} - - -if (-33554432 << 31 !== 0) { - $ERROR('#1018: -33554432 << 31 === 0. Actual: ' + (-33554432 << 31)); -} - - -if (-67108864 << 31 !== 0) { - $ERROR('#1019: -67108864 << 31 === 0. Actual: ' + (-67108864 << 31)); -} - - -if (-134217728 << 31 !== 0) { - $ERROR('#1020: -134217728 << 31 === 0. Actual: ' + (-134217728 << 31)); -} - - -if (-268435456 << 31 !== 0) { - $ERROR('#1021: -268435456 << 31 === 0. Actual: ' + (-268435456 << 31)); -} - - -if (-536870912 << 31 !== 0) { - $ERROR('#1022: -536870912 << 31 === 0. Actual: ' + (-536870912 << 31)); -} - - -if (-1073741824 << 31 !== 0) { - $ERROR('#1023: -1073741824 << 31 === 0. Actual: ' + (-1073741824 << 31)); -} - - -if (-2147483648 << 31 !== 0) { - $ERROR('#1024: -2147483648 << 31 === 0. Actual: ' + (-2147483648 << 31)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.js deleted file mode 100644 index 4b4227de2b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.js +++ /dev/null @@ -1,2587 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A4_T3; - * @section: 11.7.1; - * @assertion: Check operator x << y in distinct points; - * @description: ShiftExpression = 2^n - 1, n = 0...15; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A4_T3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.js", - -assertion: "Check operator x << y in distinct points", - -description: "ShiftExpression = 2^n - 1, n = 0...15", - -test: function testcase() { - //CHECK - -if (0 << 0 !== 0) { - $ERROR('#1: 0 << 0 === 0. Actual: ' + (0 << 0)); -} - - -if (1 << 0 !== 1) { - $ERROR('#2: 1 << 0 === 1. Actual: ' + (1 << 0)); -} - - -if (3 << 0 !== 3) { - $ERROR('#3: 3 << 0 === 3. Actual: ' + (3 << 0)); -} - - -if (7 << 0 !== 7) { - $ERROR('#4: 7 << 0 === 7. Actual: ' + (7 << 0)); -} - - -if (15 << 0 !== 15) { - $ERROR('#5: 15 << 0 === 15. Actual: ' + (15 << 0)); -} - - -if (31 << 0 !== 31) { - $ERROR('#6: 31 << 0 === 31. Actual: ' + (31 << 0)); -} - - -if (63 << 0 !== 63) { - $ERROR('#7: 63 << 0 === 63. Actual: ' + (63 << 0)); -} - - -if (127 << 0 !== 127) { - $ERROR('#8: 127 << 0 === 127. Actual: ' + (127 << 0)); -} - - -if (255 << 0 !== 255) { - $ERROR('#9: 255 << 0 === 255. Actual: ' + (255 << 0)); -} - - -if (511 << 0 !== 511) { - $ERROR('#10: 511 << 0 === 511. Actual: ' + (511 << 0)); -} - - -if (1023 << 0 !== 1023) { - $ERROR('#11: 1023 << 0 === 1023. Actual: ' + (1023 << 0)); -} - - -if (2047 << 0 !== 2047) { - $ERROR('#12: 2047 << 0 === 2047. Actual: ' + (2047 << 0)); -} - - -if (4095 << 0 !== 4095) { - $ERROR('#13: 4095 << 0 === 4095. Actual: ' + (4095 << 0)); -} - - -if (8191 << 0 !== 8191) { - $ERROR('#14: 8191 << 0 === 8191. Actual: ' + (8191 << 0)); -} - - -if (16383 << 0 !== 16383) { - $ERROR('#15: 16383 << 0 === 16383. Actual: ' + (16383 << 0)); -} - - -if (32767 << 0 !== 32767) { - $ERROR('#16: 32767 << 0 === 32767. Actual: ' + (32767 << 0)); -} - - -if (65535 << 0 !== 65535) { - $ERROR('#17: 65535 << 0 === 65535. Actual: ' + (65535 << 0)); -} - - -if (131071 << 0 !== 131071) { - $ERROR('#18: 131071 << 0 === 131071. Actual: ' + (131071 << 0)); -} - - -if (262143 << 0 !== 262143) { - $ERROR('#19: 262143 << 0 === 262143. Actual: ' + (262143 << 0)); -} - - -if (524287 << 0 !== 524287) { - $ERROR('#20: 524287 << 0 === 524287. Actual: ' + (524287 << 0)); -} - - -if (1048575 << 0 !== 1048575) { - $ERROR('#21: 1048575 << 0 === 1048575. Actual: ' + (1048575 << 0)); -} - - -if (2097151 << 0 !== 2097151) { - $ERROR('#22: 2097151 << 0 === 2097151. Actual: ' + (2097151 << 0)); -} - - -if (4194303 << 0 !== 4194303) { - $ERROR('#23: 4194303 << 0 === 4194303. Actual: ' + (4194303 << 0)); -} - - -if (8388607 << 0 !== 8388607) { - $ERROR('#24: 8388607 << 0 === 8388607. Actual: ' + (8388607 << 0)); -} - - -if (16777215 << 0 !== 16777215) { - $ERROR('#25: 16777215 << 0 === 16777215. Actual: ' + (16777215 << 0)); -} - - -if (33554431 << 0 !== 33554431) { - $ERROR('#26: 33554431 << 0 === 33554431. Actual: ' + (33554431 << 0)); -} - - -if (67108863 << 0 !== 67108863) { - $ERROR('#27: 67108863 << 0 === 67108863. Actual: ' + (67108863 << 0)); -} - - -if (134217727 << 0 !== 134217727) { - $ERROR('#28: 134217727 << 0 === 134217727. Actual: ' + (134217727 << 0)); -} - - -if (268435455 << 0 !== 268435455) { - $ERROR('#29: 268435455 << 0 === 268435455. Actual: ' + (268435455 << 0)); -} - - -if (536870911 << 0 !== 536870911) { - $ERROR('#30: 536870911 << 0 === 536870911. Actual: ' + (536870911 << 0)); -} - - -if (1073741823 << 0 !== 1073741823) { - $ERROR('#31: 1073741823 << 0 === 1073741823. Actual: ' + (1073741823 << 0)); -} - - -if (2147483647 << 0 !== 2147483647) { - $ERROR('#32: 2147483647 << 0 === 2147483647. Actual: ' + (2147483647 << 0)); -} - - -if (0 << 1 !== 0) { - $ERROR('#33: 0 << 1 === 0. Actual: ' + (0 << 1)); -} - - -if (1 << 1 !== 2) { - $ERROR('#34: 1 << 1 === 2. Actual: ' + (1 << 1)); -} - - -if (3 << 1 !== 6) { - $ERROR('#35: 3 << 1 === 6. Actual: ' + (3 << 1)); -} - - -if (7 << 1 !== 14) { - $ERROR('#36: 7 << 1 === 14. Actual: ' + (7 << 1)); -} - - -if (15 << 1 !== 30) { - $ERROR('#37: 15 << 1 === 30. Actual: ' + (15 << 1)); -} - - -if (31 << 1 !== 62) { - $ERROR('#38: 31 << 1 === 62. Actual: ' + (31 << 1)); -} - - -if (63 << 1 !== 126) { - $ERROR('#39: 63 << 1 === 126. Actual: ' + (63 << 1)); -} - - -if (127 << 1 !== 254) { - $ERROR('#40: 127 << 1 === 254. Actual: ' + (127 << 1)); -} - - -if (255 << 1 !== 510) { - $ERROR('#41: 255 << 1 === 510. Actual: ' + (255 << 1)); -} - - -if (511 << 1 !== 1022) { - $ERROR('#42: 511 << 1 === 1022. Actual: ' + (511 << 1)); -} - - -if (1023 << 1 !== 2046) { - $ERROR('#43: 1023 << 1 === 2046. Actual: ' + (1023 << 1)); -} - - -if (2047 << 1 !== 4094) { - $ERROR('#44: 2047 << 1 === 4094. Actual: ' + (2047 << 1)); -} - - -if (4095 << 1 !== 8190) { - $ERROR('#45: 4095 << 1 === 8190. Actual: ' + (4095 << 1)); -} - - -if (8191 << 1 !== 16382) { - $ERROR('#46: 8191 << 1 === 16382. Actual: ' + (8191 << 1)); -} - - -if (16383 << 1 !== 32766) { - $ERROR('#47: 16383 << 1 === 32766. Actual: ' + (16383 << 1)); -} - - -if (32767 << 1 !== 65534) { - $ERROR('#48: 32767 << 1 === 65534. Actual: ' + (32767 << 1)); -} - - -if (65535 << 1 !== 131070) { - $ERROR('#49: 65535 << 1 === 131070. Actual: ' + (65535 << 1)); -} - - -if (131071 << 1 !== 262142) { - $ERROR('#50: 131071 << 1 === 262142. Actual: ' + (131071 << 1)); -} - - -if (262143 << 1 !== 524286) { - $ERROR('#51: 262143 << 1 === 524286. Actual: ' + (262143 << 1)); -} - - -if (524287 << 1 !== 1048574) { - $ERROR('#52: 524287 << 1 === 1048574. Actual: ' + (524287 << 1)); -} - - -if (1048575 << 1 !== 2097150) { - $ERROR('#53: 1048575 << 1 === 2097150. Actual: ' + (1048575 << 1)); -} - - -if (2097151 << 1 !== 4194302) { - $ERROR('#54: 2097151 << 1 === 4194302. Actual: ' + (2097151 << 1)); -} - - -if (4194303 << 1 !== 8388606) { - $ERROR('#55: 4194303 << 1 === 8388606. Actual: ' + (4194303 << 1)); -} - - -if (8388607 << 1 !== 16777214) { - $ERROR('#56: 8388607 << 1 === 16777214. Actual: ' + (8388607 << 1)); -} - - -if (16777215 << 1 !== 33554430) { - $ERROR('#57: 16777215 << 1 === 33554430. Actual: ' + (16777215 << 1)); -} - - -if (33554431 << 1 !== 67108862) { - $ERROR('#58: 33554431 << 1 === 67108862. Actual: ' + (33554431 << 1)); -} - - -if (67108863 << 1 !== 134217726) { - $ERROR('#59: 67108863 << 1 === 134217726. Actual: ' + (67108863 << 1)); -} - - -if (134217727 << 1 !== 268435454) { - $ERROR('#60: 134217727 << 1 === 268435454. Actual: ' + (134217727 << 1)); -} - - -if (268435455 << 1 !== 536870910) { - $ERROR('#61: 268435455 << 1 === 536870910. Actual: ' + (268435455 << 1)); -} - - -if (536870911 << 1 !== 1073741822) { - $ERROR('#62: 536870911 << 1 === 1073741822. Actual: ' + (536870911 << 1)); -} - - -if (1073741823 << 1 !== 2147483646) { - $ERROR('#63: 1073741823 << 1 === 2147483646. Actual: ' + (1073741823 << 1)); -} - - -if (2147483647 << 1 !== -2) { - $ERROR('#64: 2147483647 << 1 === -2. Actual: ' + (2147483647 << 1)); -} - - -if (0 << 2 !== 0) { - $ERROR('#65: 0 << 2 === 0. Actual: ' + (0 << 2)); -} - - -if (1 << 2 !== 4) { - $ERROR('#66: 1 << 2 === 4. Actual: ' + (1 << 2)); -} - - -if (3 << 2 !== 12) { - $ERROR('#67: 3 << 2 === 12. Actual: ' + (3 << 2)); -} - - -if (7 << 2 !== 28) { - $ERROR('#68: 7 << 2 === 28. Actual: ' + (7 << 2)); -} - - -if (15 << 2 !== 60) { - $ERROR('#69: 15 << 2 === 60. Actual: ' + (15 << 2)); -} - - -if (31 << 2 !== 124) { - $ERROR('#70: 31 << 2 === 124. Actual: ' + (31 << 2)); -} - - -if (63 << 2 !== 252) { - $ERROR('#71: 63 << 2 === 252. Actual: ' + (63 << 2)); -} - - -if (127 << 2 !== 508) { - $ERROR('#72: 127 << 2 === 508. Actual: ' + (127 << 2)); -} - - -if (255 << 2 !== 1020) { - $ERROR('#73: 255 << 2 === 1020. Actual: ' + (255 << 2)); -} - - -if (511 << 2 !== 2044) { - $ERROR('#74: 511 << 2 === 2044. Actual: ' + (511 << 2)); -} - - -if (1023 << 2 !== 4092) { - $ERROR('#75: 1023 << 2 === 4092. Actual: ' + (1023 << 2)); -} - - -if (2047 << 2 !== 8188) { - $ERROR('#76: 2047 << 2 === 8188. Actual: ' + (2047 << 2)); -} - - -if (4095 << 2 !== 16380) { - $ERROR('#77: 4095 << 2 === 16380. Actual: ' + (4095 << 2)); -} - - -if (8191 << 2 !== 32764) { - $ERROR('#78: 8191 << 2 === 32764. Actual: ' + (8191 << 2)); -} - - -if (16383 << 2 !== 65532) { - $ERROR('#79: 16383 << 2 === 65532. Actual: ' + (16383 << 2)); -} - - -if (32767 << 2 !== 131068) { - $ERROR('#80: 32767 << 2 === 131068. Actual: ' + (32767 << 2)); -} - - -if (65535 << 2 !== 262140) { - $ERROR('#81: 65535 << 2 === 262140. Actual: ' + (65535 << 2)); -} - - -if (131071 << 2 !== 524284) { - $ERROR('#82: 131071 << 2 === 524284. Actual: ' + (131071 << 2)); -} - - -if (262143 << 2 !== 1048572) { - $ERROR('#83: 262143 << 2 === 1048572. Actual: ' + (262143 << 2)); -} - - -if (524287 << 2 !== 2097148) { - $ERROR('#84: 524287 << 2 === 2097148. Actual: ' + (524287 << 2)); -} - - -if (1048575 << 2 !== 4194300) { - $ERROR('#85: 1048575 << 2 === 4194300. Actual: ' + (1048575 << 2)); -} - - -if (2097151 << 2 !== 8388604) { - $ERROR('#86: 2097151 << 2 === 8388604. Actual: ' + (2097151 << 2)); -} - - -if (4194303 << 2 !== 16777212) { - $ERROR('#87: 4194303 << 2 === 16777212. Actual: ' + (4194303 << 2)); -} - - -if (8388607 << 2 !== 33554428) { - $ERROR('#88: 8388607 << 2 === 33554428. Actual: ' + (8388607 << 2)); -} - - -if (16777215 << 2 !== 67108860) { - $ERROR('#89: 16777215 << 2 === 67108860. Actual: ' + (16777215 << 2)); -} - - -if (33554431 << 2 !== 134217724) { - $ERROR('#90: 33554431 << 2 === 134217724. Actual: ' + (33554431 << 2)); -} - - -if (67108863 << 2 !== 268435452) { - $ERROR('#91: 67108863 << 2 === 268435452. Actual: ' + (67108863 << 2)); -} - - -if (134217727 << 2 !== 536870908) { - $ERROR('#92: 134217727 << 2 === 536870908. Actual: ' + (134217727 << 2)); -} - - -if (268435455 << 2 !== 1073741820) { - $ERROR('#93: 268435455 << 2 === 1073741820. Actual: ' + (268435455 << 2)); -} - - -if (536870911 << 2 !== 2147483644) { - $ERROR('#94: 536870911 << 2 === 2147483644. Actual: ' + (536870911 << 2)); -} - - -if (1073741823 << 2 !== -4) { - $ERROR('#95: 1073741823 << 2 === -4. Actual: ' + (1073741823 << 2)); -} - - -if (2147483647 << 2 !== -4) { - $ERROR('#96: 2147483647 << 2 === -4. Actual: ' + (2147483647 << 2)); -} - - -if (0 << 3 !== 0) { - $ERROR('#97: 0 << 3 === 0. Actual: ' + (0 << 3)); -} - - -if (1 << 3 !== 8) { - $ERROR('#98: 1 << 3 === 8. Actual: ' + (1 << 3)); -} - - -if (3 << 3 !== 24) { - $ERROR('#99: 3 << 3 === 24. Actual: ' + (3 << 3)); -} - - -if (7 << 3 !== 56) { - $ERROR('#100: 7 << 3 === 56. Actual: ' + (7 << 3)); -} - - -if (15 << 3 !== 120) { - $ERROR('#101: 15 << 3 === 120. Actual: ' + (15 << 3)); -} - - -if (31 << 3 !== 248) { - $ERROR('#102: 31 << 3 === 248. Actual: ' + (31 << 3)); -} - - -if (63 << 3 !== 504) { - $ERROR('#103: 63 << 3 === 504. Actual: ' + (63 << 3)); -} - - -if (127 << 3 !== 1016) { - $ERROR('#104: 127 << 3 === 1016. Actual: ' + (127 << 3)); -} - - -if (255 << 3 !== 2040) { - $ERROR('#105: 255 << 3 === 2040. Actual: ' + (255 << 3)); -} - - -if (511 << 3 !== 4088) { - $ERROR('#106: 511 << 3 === 4088. Actual: ' + (511 << 3)); -} - - -if (1023 << 3 !== 8184) { - $ERROR('#107: 1023 << 3 === 8184. Actual: ' + (1023 << 3)); -} - - -if (2047 << 3 !== 16376) { - $ERROR('#108: 2047 << 3 === 16376. Actual: ' + (2047 << 3)); -} - - -if (4095 << 3 !== 32760) { - $ERROR('#109: 4095 << 3 === 32760. Actual: ' + (4095 << 3)); -} - - -if (8191 << 3 !== 65528) { - $ERROR('#110: 8191 << 3 === 65528. Actual: ' + (8191 << 3)); -} - - -if (16383 << 3 !== 131064) { - $ERROR('#111: 16383 << 3 === 131064. Actual: ' + (16383 << 3)); -} - - -if (32767 << 3 !== 262136) { - $ERROR('#112: 32767 << 3 === 262136. Actual: ' + (32767 << 3)); -} - - -if (65535 << 3 !== 524280) { - $ERROR('#113: 65535 << 3 === 524280. Actual: ' + (65535 << 3)); -} - - -if (131071 << 3 !== 1048568) { - $ERROR('#114: 131071 << 3 === 1048568. Actual: ' + (131071 << 3)); -} - - -if (262143 << 3 !== 2097144) { - $ERROR('#115: 262143 << 3 === 2097144. Actual: ' + (262143 << 3)); -} - - -if (524287 << 3 !== 4194296) { - $ERROR('#116: 524287 << 3 === 4194296. Actual: ' + (524287 << 3)); -} - - -if (1048575 << 3 !== 8388600) { - $ERROR('#117: 1048575 << 3 === 8388600. Actual: ' + (1048575 << 3)); -} - - -if (2097151 << 3 !== 16777208) { - $ERROR('#118: 2097151 << 3 === 16777208. Actual: ' + (2097151 << 3)); -} - - -if (4194303 << 3 !== 33554424) { - $ERROR('#119: 4194303 << 3 === 33554424. Actual: ' + (4194303 << 3)); -} - - -if (8388607 << 3 !== 67108856) { - $ERROR('#120: 8388607 << 3 === 67108856. Actual: ' + (8388607 << 3)); -} - - -if (16777215 << 3 !== 134217720) { - $ERROR('#121: 16777215 << 3 === 134217720. Actual: ' + (16777215 << 3)); -} - - -if (33554431 << 3 !== 268435448) { - $ERROR('#122: 33554431 << 3 === 268435448. Actual: ' + (33554431 << 3)); -} - - -if (67108863 << 3 !== 536870904) { - $ERROR('#123: 67108863 << 3 === 536870904. Actual: ' + (67108863 << 3)); -} - - -if (134217727 << 3 !== 1073741816) { - $ERROR('#124: 134217727 << 3 === 1073741816. Actual: ' + (134217727 << 3)); -} - - -if (268435455 << 3 !== 2147483640) { - $ERROR('#125: 268435455 << 3 === 2147483640. Actual: ' + (268435455 << 3)); -} - - -if (536870911 << 3 !== -8) { - $ERROR('#126: 536870911 << 3 === -8. Actual: ' + (536870911 << 3)); -} - - -if (1073741823 << 3 !== -8) { - $ERROR('#127: 1073741823 << 3 === -8. Actual: ' + (1073741823 << 3)); -} - - -if (2147483647 << 3 !== -8) { - $ERROR('#128: 2147483647 << 3 === -8. Actual: ' + (2147483647 << 3)); -} - - -if (0 << 4 !== 0) { - $ERROR('#129: 0 << 4 === 0. Actual: ' + (0 << 4)); -} - - -if (1 << 4 !== 16) { - $ERROR('#130: 1 << 4 === 16. Actual: ' + (1 << 4)); -} - - -if (3 << 4 !== 48) { - $ERROR('#131: 3 << 4 === 48. Actual: ' + (3 << 4)); -} - - -if (7 << 4 !== 112) { - $ERROR('#132: 7 << 4 === 112. Actual: ' + (7 << 4)); -} - - -if (15 << 4 !== 240) { - $ERROR('#133: 15 << 4 === 240. Actual: ' + (15 << 4)); -} - - -if (31 << 4 !== 496) { - $ERROR('#134: 31 << 4 === 496. Actual: ' + (31 << 4)); -} - - -if (63 << 4 !== 1008) { - $ERROR('#135: 63 << 4 === 1008. Actual: ' + (63 << 4)); -} - - -if (127 << 4 !== 2032) { - $ERROR('#136: 127 << 4 === 2032. Actual: ' + (127 << 4)); -} - - -if (255 << 4 !== 4080) { - $ERROR('#137: 255 << 4 === 4080. Actual: ' + (255 << 4)); -} - - -if (511 << 4 !== 8176) { - $ERROR('#138: 511 << 4 === 8176. Actual: ' + (511 << 4)); -} - - -if (1023 << 4 !== 16368) { - $ERROR('#139: 1023 << 4 === 16368. Actual: ' + (1023 << 4)); -} - - -if (2047 << 4 !== 32752) { - $ERROR('#140: 2047 << 4 === 32752. Actual: ' + (2047 << 4)); -} - - -if (4095 << 4 !== 65520) { - $ERROR('#141: 4095 << 4 === 65520. Actual: ' + (4095 << 4)); -} - - -if (8191 << 4 !== 131056) { - $ERROR('#142: 8191 << 4 === 131056. Actual: ' + (8191 << 4)); -} - - -if (16383 << 4 !== 262128) { - $ERROR('#143: 16383 << 4 === 262128. Actual: ' + (16383 << 4)); -} - - -if (32767 << 4 !== 524272) { - $ERROR('#144: 32767 << 4 === 524272. Actual: ' + (32767 << 4)); -} - - -if (65535 << 4 !== 1048560) { - $ERROR('#145: 65535 << 4 === 1048560. Actual: ' + (65535 << 4)); -} - - -if (131071 << 4 !== 2097136) { - $ERROR('#146: 131071 << 4 === 2097136. Actual: ' + (131071 << 4)); -} - - -if (262143 << 4 !== 4194288) { - $ERROR('#147: 262143 << 4 === 4194288. Actual: ' + (262143 << 4)); -} - - -if (524287 << 4 !== 8388592) { - $ERROR('#148: 524287 << 4 === 8388592. Actual: ' + (524287 << 4)); -} - - -if (1048575 << 4 !== 16777200) { - $ERROR('#149: 1048575 << 4 === 16777200. Actual: ' + (1048575 << 4)); -} - - -if (2097151 << 4 !== 33554416) { - $ERROR('#150: 2097151 << 4 === 33554416. Actual: ' + (2097151 << 4)); -} - - -if (4194303 << 4 !== 67108848) { - $ERROR('#151: 4194303 << 4 === 67108848. Actual: ' + (4194303 << 4)); -} - - -if (8388607 << 4 !== 134217712) { - $ERROR('#152: 8388607 << 4 === 134217712. Actual: ' + (8388607 << 4)); -} - - -if (16777215 << 4 !== 268435440) { - $ERROR('#153: 16777215 << 4 === 268435440. Actual: ' + (16777215 << 4)); -} - - -if (33554431 << 4 !== 536870896) { - $ERROR('#154: 33554431 << 4 === 536870896. Actual: ' + (33554431 << 4)); -} - - -if (67108863 << 4 !== 1073741808) { - $ERROR('#155: 67108863 << 4 === 1073741808. Actual: ' + (67108863 << 4)); -} - - -if (134217727 << 4 !== 2147483632) { - $ERROR('#156: 134217727 << 4 === 2147483632. Actual: ' + (134217727 << 4)); -} - - -if (268435455 << 4 !== -16) { - $ERROR('#157: 268435455 << 4 === -16. Actual: ' + (268435455 << 4)); -} - - -if (536870911 << 4 !== -16) { - $ERROR('#158: 536870911 << 4 === -16. Actual: ' + (536870911 << 4)); -} - - -if (1073741823 << 4 !== -16) { - $ERROR('#159: 1073741823 << 4 === -16. Actual: ' + (1073741823 << 4)); -} - - -if (2147483647 << 4 !== -16) { - $ERROR('#160: 2147483647 << 4 === -16. Actual: ' + (2147483647 << 4)); -} - - -if (0 << 5 !== 0) { - $ERROR('#161: 0 << 5 === 0. Actual: ' + (0 << 5)); -} - - -if (1 << 5 !== 32) { - $ERROR('#162: 1 << 5 === 32. Actual: ' + (1 << 5)); -} - - -if (3 << 5 !== 96) { - $ERROR('#163: 3 << 5 === 96. Actual: ' + (3 << 5)); -} - - -if (7 << 5 !== 224) { - $ERROR('#164: 7 << 5 === 224. Actual: ' + (7 << 5)); -} - - -if (15 << 5 !== 480) { - $ERROR('#165: 15 << 5 === 480. Actual: ' + (15 << 5)); -} - - -if (31 << 5 !== 992) { - $ERROR('#166: 31 << 5 === 992. Actual: ' + (31 << 5)); -} - - -if (63 << 5 !== 2016) { - $ERROR('#167: 63 << 5 === 2016. Actual: ' + (63 << 5)); -} - - -if (127 << 5 !== 4064) { - $ERROR('#168: 127 << 5 === 4064. Actual: ' + (127 << 5)); -} - - -if (255 << 5 !== 8160) { - $ERROR('#169: 255 << 5 === 8160. Actual: ' + (255 << 5)); -} - - -if (511 << 5 !== 16352) { - $ERROR('#170: 511 << 5 === 16352. Actual: ' + (511 << 5)); -} - - -if (1023 << 5 !== 32736) { - $ERROR('#171: 1023 << 5 === 32736. Actual: ' + (1023 << 5)); -} - - -if (2047 << 5 !== 65504) { - $ERROR('#172: 2047 << 5 === 65504. Actual: ' + (2047 << 5)); -} - - -if (4095 << 5 !== 131040) { - $ERROR('#173: 4095 << 5 === 131040. Actual: ' + (4095 << 5)); -} - - -if (8191 << 5 !== 262112) { - $ERROR('#174: 8191 << 5 === 262112. Actual: ' + (8191 << 5)); -} - - -if (16383 << 5 !== 524256) { - $ERROR('#175: 16383 << 5 === 524256. Actual: ' + (16383 << 5)); -} - - -if (32767 << 5 !== 1048544) { - $ERROR('#176: 32767 << 5 === 1048544. Actual: ' + (32767 << 5)); -} - - -if (65535 << 5 !== 2097120) { - $ERROR('#177: 65535 << 5 === 2097120. Actual: ' + (65535 << 5)); -} - - -if (131071 << 5 !== 4194272) { - $ERROR('#178: 131071 << 5 === 4194272. Actual: ' + (131071 << 5)); -} - - -if (262143 << 5 !== 8388576) { - $ERROR('#179: 262143 << 5 === 8388576. Actual: ' + (262143 << 5)); -} - - -if (524287 << 5 !== 16777184) { - $ERROR('#180: 524287 << 5 === 16777184. Actual: ' + (524287 << 5)); -} - - -if (1048575 << 5 !== 33554400) { - $ERROR('#181: 1048575 << 5 === 33554400. Actual: ' + (1048575 << 5)); -} - - -if (2097151 << 5 !== 67108832) { - $ERROR('#182: 2097151 << 5 === 67108832. Actual: ' + (2097151 << 5)); -} - - -if (4194303 << 5 !== 134217696) { - $ERROR('#183: 4194303 << 5 === 134217696. Actual: ' + (4194303 << 5)); -} - - -if (8388607 << 5 !== 268435424) { - $ERROR('#184: 8388607 << 5 === 268435424. Actual: ' + (8388607 << 5)); -} - - -if (16777215 << 5 !== 536870880) { - $ERROR('#185: 16777215 << 5 === 536870880. Actual: ' + (16777215 << 5)); -} - - -if (33554431 << 5 !== 1073741792) { - $ERROR('#186: 33554431 << 5 === 1073741792. Actual: ' + (33554431 << 5)); -} - - -if (67108863 << 5 !== 2147483616) { - $ERROR('#187: 67108863 << 5 === 2147483616. Actual: ' + (67108863 << 5)); -} - - -if (134217727 << 5 !== -32) { - $ERROR('#188: 134217727 << 5 === -32. Actual: ' + (134217727 << 5)); -} - - -if (268435455 << 5 !== -32) { - $ERROR('#189: 268435455 << 5 === -32. Actual: ' + (268435455 << 5)); -} - - -if (536870911 << 5 !== -32) { - $ERROR('#190: 536870911 << 5 === -32. Actual: ' + (536870911 << 5)); -} - - -if (1073741823 << 5 !== -32) { - $ERROR('#191: 1073741823 << 5 === -32. Actual: ' + (1073741823 << 5)); -} - - -if (2147483647 << 5 !== -32) { - $ERROR('#192: 2147483647 << 5 === -32. Actual: ' + (2147483647 << 5)); -} - - -if (0 << 6 !== 0) { - $ERROR('#193: 0 << 6 === 0. Actual: ' + (0 << 6)); -} - - -if (1 << 6 !== 64) { - $ERROR('#194: 1 << 6 === 64. Actual: ' + (1 << 6)); -} - - -if (3 << 6 !== 192) { - $ERROR('#195: 3 << 6 === 192. Actual: ' + (3 << 6)); -} - - -if (7 << 6 !== 448) { - $ERROR('#196: 7 << 6 === 448. Actual: ' + (7 << 6)); -} - - -if (15 << 6 !== 960) { - $ERROR('#197: 15 << 6 === 960. Actual: ' + (15 << 6)); -} - - -if (31 << 6 !== 1984) { - $ERROR('#198: 31 << 6 === 1984. Actual: ' + (31 << 6)); -} - - -if (63 << 6 !== 4032) { - $ERROR('#199: 63 << 6 === 4032. Actual: ' + (63 << 6)); -} - - -if (127 << 6 !== 8128) { - $ERROR('#200: 127 << 6 === 8128. Actual: ' + (127 << 6)); -} - - -if (255 << 6 !== 16320) { - $ERROR('#201: 255 << 6 === 16320. Actual: ' + (255 << 6)); -} - - -if (511 << 6 !== 32704) { - $ERROR('#202: 511 << 6 === 32704. Actual: ' + (511 << 6)); -} - - -if (1023 << 6 !== 65472) { - $ERROR('#203: 1023 << 6 === 65472. Actual: ' + (1023 << 6)); -} - - -if (2047 << 6 !== 131008) { - $ERROR('#204: 2047 << 6 === 131008. Actual: ' + (2047 << 6)); -} - - -if (4095 << 6 !== 262080) { - $ERROR('#205: 4095 << 6 === 262080. Actual: ' + (4095 << 6)); -} - - -if (8191 << 6 !== 524224) { - $ERROR('#206: 8191 << 6 === 524224. Actual: ' + (8191 << 6)); -} - - -if (16383 << 6 !== 1048512) { - $ERROR('#207: 16383 << 6 === 1048512. Actual: ' + (16383 << 6)); -} - - -if (32767 << 6 !== 2097088) { - $ERROR('#208: 32767 << 6 === 2097088. Actual: ' + (32767 << 6)); -} - - -if (65535 << 6 !== 4194240) { - $ERROR('#209: 65535 << 6 === 4194240. Actual: ' + (65535 << 6)); -} - - -if (131071 << 6 !== 8388544) { - $ERROR('#210: 131071 << 6 === 8388544. Actual: ' + (131071 << 6)); -} - - -if (262143 << 6 !== 16777152) { - $ERROR('#211: 262143 << 6 === 16777152. Actual: ' + (262143 << 6)); -} - - -if (524287 << 6 !== 33554368) { - $ERROR('#212: 524287 << 6 === 33554368. Actual: ' + (524287 << 6)); -} - - -if (1048575 << 6 !== 67108800) { - $ERROR('#213: 1048575 << 6 === 67108800. Actual: ' + (1048575 << 6)); -} - - -if (2097151 << 6 !== 134217664) { - $ERROR('#214: 2097151 << 6 === 134217664. Actual: ' + (2097151 << 6)); -} - - -if (4194303 << 6 !== 268435392) { - $ERROR('#215: 4194303 << 6 === 268435392. Actual: ' + (4194303 << 6)); -} - - -if (8388607 << 6 !== 536870848) { - $ERROR('#216: 8388607 << 6 === 536870848. Actual: ' + (8388607 << 6)); -} - - -if (16777215 << 6 !== 1073741760) { - $ERROR('#217: 16777215 << 6 === 1073741760. Actual: ' + (16777215 << 6)); -} - - -if (33554431 << 6 !== 2147483584) { - $ERROR('#218: 33554431 << 6 === 2147483584. Actual: ' + (33554431 << 6)); -} - - -if (67108863 << 6 !== -64) { - $ERROR('#219: 67108863 << 6 === -64. Actual: ' + (67108863 << 6)); -} - - -if (134217727 << 6 !== -64) { - $ERROR('#220: 134217727 << 6 === -64. Actual: ' + (134217727 << 6)); -} - - -if (268435455 << 6 !== -64) { - $ERROR('#221: 268435455 << 6 === -64. Actual: ' + (268435455 << 6)); -} - - -if (536870911 << 6 !== -64) { - $ERROR('#222: 536870911 << 6 === -64. Actual: ' + (536870911 << 6)); -} - - -if (1073741823 << 6 !== -64) { - $ERROR('#223: 1073741823 << 6 === -64. Actual: ' + (1073741823 << 6)); -} - - -if (2147483647 << 6 !== -64) { - $ERROR('#224: 2147483647 << 6 === -64. Actual: ' + (2147483647 << 6)); -} - - -if (0 << 7 !== 0) { - $ERROR('#225: 0 << 7 === 0. Actual: ' + (0 << 7)); -} - - -if (1 << 7 !== 128) { - $ERROR('#226: 1 << 7 === 128. Actual: ' + (1 << 7)); -} - - -if (3 << 7 !== 384) { - $ERROR('#227: 3 << 7 === 384. Actual: ' + (3 << 7)); -} - - -if (7 << 7 !== 896) { - $ERROR('#228: 7 << 7 === 896. Actual: ' + (7 << 7)); -} - - -if (15 << 7 !== 1920) { - $ERROR('#229: 15 << 7 === 1920. Actual: ' + (15 << 7)); -} - - -if (31 << 7 !== 3968) { - $ERROR('#230: 31 << 7 === 3968. Actual: ' + (31 << 7)); -} - - -if (63 << 7 !== 8064) { - $ERROR('#231: 63 << 7 === 8064. Actual: ' + (63 << 7)); -} - - -if (127 << 7 !== 16256) { - $ERROR('#232: 127 << 7 === 16256. Actual: ' + (127 << 7)); -} - - -if (255 << 7 !== 32640) { - $ERROR('#233: 255 << 7 === 32640. Actual: ' + (255 << 7)); -} - - -if (511 << 7 !== 65408) { - $ERROR('#234: 511 << 7 === 65408. Actual: ' + (511 << 7)); -} - - -if (1023 << 7 !== 130944) { - $ERROR('#235: 1023 << 7 === 130944. Actual: ' + (1023 << 7)); -} - - -if (2047 << 7 !== 262016) { - $ERROR('#236: 2047 << 7 === 262016. Actual: ' + (2047 << 7)); -} - - -if (4095 << 7 !== 524160) { - $ERROR('#237: 4095 << 7 === 524160. Actual: ' + (4095 << 7)); -} - - -if (8191 << 7 !== 1048448) { - $ERROR('#238: 8191 << 7 === 1048448. Actual: ' + (8191 << 7)); -} - - -if (16383 << 7 !== 2097024) { - $ERROR('#239: 16383 << 7 === 2097024. Actual: ' + (16383 << 7)); -} - - -if (32767 << 7 !== 4194176) { - $ERROR('#240: 32767 << 7 === 4194176. Actual: ' + (32767 << 7)); -} - - -if (65535 << 7 !== 8388480) { - $ERROR('#241: 65535 << 7 === 8388480. Actual: ' + (65535 << 7)); -} - - -if (131071 << 7 !== 16777088) { - $ERROR('#242: 131071 << 7 === 16777088. Actual: ' + (131071 << 7)); -} - - -if (262143 << 7 !== 33554304) { - $ERROR('#243: 262143 << 7 === 33554304. Actual: ' + (262143 << 7)); -} - - -if (524287 << 7 !== 67108736) { - $ERROR('#244: 524287 << 7 === 67108736. Actual: ' + (524287 << 7)); -} - - -if (1048575 << 7 !== 134217600) { - $ERROR('#245: 1048575 << 7 === 134217600. Actual: ' + (1048575 << 7)); -} - - -if (2097151 << 7 !== 268435328) { - $ERROR('#246: 2097151 << 7 === 268435328. Actual: ' + (2097151 << 7)); -} - - -if (4194303 << 7 !== 536870784) { - $ERROR('#247: 4194303 << 7 === 536870784. Actual: ' + (4194303 << 7)); -} - - -if (8388607 << 7 !== 1073741696) { - $ERROR('#248: 8388607 << 7 === 1073741696. Actual: ' + (8388607 << 7)); -} - - -if (16777215 << 7 !== 2147483520) { - $ERROR('#249: 16777215 << 7 === 2147483520. Actual: ' + (16777215 << 7)); -} - - -if (33554431 << 7 !== -128) { - $ERROR('#250: 33554431 << 7 === -128. Actual: ' + (33554431 << 7)); -} - - -if (67108863 << 7 !== -128) { - $ERROR('#251: 67108863 << 7 === -128. Actual: ' + (67108863 << 7)); -} - - -if (134217727 << 7 !== -128) { - $ERROR('#252: 134217727 << 7 === -128. Actual: ' + (134217727 << 7)); -} - - -if (268435455 << 7 !== -128) { - $ERROR('#253: 268435455 << 7 === -128. Actual: ' + (268435455 << 7)); -} - - -if (536870911 << 7 !== -128) { - $ERROR('#254: 536870911 << 7 === -128. Actual: ' + (536870911 << 7)); -} - - -if (1073741823 << 7 !== -128) { - $ERROR('#255: 1073741823 << 7 === -128. Actual: ' + (1073741823 << 7)); -} - - -if (2147483647 << 7 !== -128) { - $ERROR('#256: 2147483647 << 7 === -128. Actual: ' + (2147483647 << 7)); -} - - -if (0 << 8 !== 0) { - $ERROR('#257: 0 << 8 === 0. Actual: ' + (0 << 8)); -} - - -if (1 << 8 !== 256) { - $ERROR('#258: 1 << 8 === 256. Actual: ' + (1 << 8)); -} - - -if (3 << 8 !== 768) { - $ERROR('#259: 3 << 8 === 768. Actual: ' + (3 << 8)); -} - - -if (7 << 8 !== 1792) { - $ERROR('#260: 7 << 8 === 1792. Actual: ' + (7 << 8)); -} - - -if (15 << 8 !== 3840) { - $ERROR('#261: 15 << 8 === 3840. Actual: ' + (15 << 8)); -} - - -if (31 << 8 !== 7936) { - $ERROR('#262: 31 << 8 === 7936. Actual: ' + (31 << 8)); -} - - -if (63 << 8 !== 16128) { - $ERROR('#263: 63 << 8 === 16128. Actual: ' + (63 << 8)); -} - - -if (127 << 8 !== 32512) { - $ERROR('#264: 127 << 8 === 32512. Actual: ' + (127 << 8)); -} - - -if (255 << 8 !== 65280) { - $ERROR('#265: 255 << 8 === 65280. Actual: ' + (255 << 8)); -} - - -if (511 << 8 !== 130816) { - $ERROR('#266: 511 << 8 === 130816. Actual: ' + (511 << 8)); -} - - -if (1023 << 8 !== 261888) { - $ERROR('#267: 1023 << 8 === 261888. Actual: ' + (1023 << 8)); -} - - -if (2047 << 8 !== 524032) { - $ERROR('#268: 2047 << 8 === 524032. Actual: ' + (2047 << 8)); -} - - -if (4095 << 8 !== 1048320) { - $ERROR('#269: 4095 << 8 === 1048320. Actual: ' + (4095 << 8)); -} - - -if (8191 << 8 !== 2096896) { - $ERROR('#270: 8191 << 8 === 2096896. Actual: ' + (8191 << 8)); -} - - -if (16383 << 8 !== 4194048) { - $ERROR('#271: 16383 << 8 === 4194048. Actual: ' + (16383 << 8)); -} - - -if (32767 << 8 !== 8388352) { - $ERROR('#272: 32767 << 8 === 8388352. Actual: ' + (32767 << 8)); -} - - -if (65535 << 8 !== 16776960) { - $ERROR('#273: 65535 << 8 === 16776960. Actual: ' + (65535 << 8)); -} - - -if (131071 << 8 !== 33554176) { - $ERROR('#274: 131071 << 8 === 33554176. Actual: ' + (131071 << 8)); -} - - -if (262143 << 8 !== 67108608) { - $ERROR('#275: 262143 << 8 === 67108608. Actual: ' + (262143 << 8)); -} - - -if (524287 << 8 !== 134217472) { - $ERROR('#276: 524287 << 8 === 134217472. Actual: ' + (524287 << 8)); -} - - -if (1048575 << 8 !== 268435200) { - $ERROR('#277: 1048575 << 8 === 268435200. Actual: ' + (1048575 << 8)); -} - - -if (2097151 << 8 !== 536870656) { - $ERROR('#278: 2097151 << 8 === 536870656. Actual: ' + (2097151 << 8)); -} - - -if (4194303 << 8 !== 1073741568) { - $ERROR('#279: 4194303 << 8 === 1073741568. Actual: ' + (4194303 << 8)); -} - - -if (8388607 << 8 !== 2147483392) { - $ERROR('#280: 8388607 << 8 === 2147483392. Actual: ' + (8388607 << 8)); -} - - -if (16777215 << 8 !== -256) { - $ERROR('#281: 16777215 << 8 === -256. Actual: ' + (16777215 << 8)); -} - - -if (33554431 << 8 !== -256) { - $ERROR('#282: 33554431 << 8 === -256. Actual: ' + (33554431 << 8)); -} - - -if (67108863 << 8 !== -256) { - $ERROR('#283: 67108863 << 8 === -256. Actual: ' + (67108863 << 8)); -} - - -if (134217727 << 8 !== -256) { - $ERROR('#284: 134217727 << 8 === -256. Actual: ' + (134217727 << 8)); -} - - -if (268435455 << 8 !== -256) { - $ERROR('#285: 268435455 << 8 === -256. Actual: ' + (268435455 << 8)); -} - - -if (536870911 << 8 !== -256) { - $ERROR('#286: 536870911 << 8 === -256. Actual: ' + (536870911 << 8)); -} - - -if (1073741823 << 8 !== -256) { - $ERROR('#287: 1073741823 << 8 === -256. Actual: ' + (1073741823 << 8)); -} - - -if (2147483647 << 8 !== -256) { - $ERROR('#288: 2147483647 << 8 === -256. Actual: ' + (2147483647 << 8)); -} - - -if (0 << 9 !== 0) { - $ERROR('#289: 0 << 9 === 0. Actual: ' + (0 << 9)); -} - - -if (1 << 9 !== 512) { - $ERROR('#290: 1 << 9 === 512. Actual: ' + (1 << 9)); -} - - -if (3 << 9 !== 1536) { - $ERROR('#291: 3 << 9 === 1536. Actual: ' + (3 << 9)); -} - - -if (7 << 9 !== 3584) { - $ERROR('#292: 7 << 9 === 3584. Actual: ' + (7 << 9)); -} - - -if (15 << 9 !== 7680) { - $ERROR('#293: 15 << 9 === 7680. Actual: ' + (15 << 9)); -} - - -if (31 << 9 !== 15872) { - $ERROR('#294: 31 << 9 === 15872. Actual: ' + (31 << 9)); -} - - -if (63 << 9 !== 32256) { - $ERROR('#295: 63 << 9 === 32256. Actual: ' + (63 << 9)); -} - - -if (127 << 9 !== 65024) { - $ERROR('#296: 127 << 9 === 65024. Actual: ' + (127 << 9)); -} - - -if (255 << 9 !== 130560) { - $ERROR('#297: 255 << 9 === 130560. Actual: ' + (255 << 9)); -} - - -if (511 << 9 !== 261632) { - $ERROR('#298: 511 << 9 === 261632. Actual: ' + (511 << 9)); -} - - -if (1023 << 9 !== 523776) { - $ERROR('#299: 1023 << 9 === 523776. Actual: ' + (1023 << 9)); -} - - -if (2047 << 9 !== 1048064) { - $ERROR('#300: 2047 << 9 === 1048064. Actual: ' + (2047 << 9)); -} - - -if (4095 << 9 !== 2096640) { - $ERROR('#301: 4095 << 9 === 2096640. Actual: ' + (4095 << 9)); -} - - -if (8191 << 9 !== 4193792) { - $ERROR('#302: 8191 << 9 === 4193792. Actual: ' + (8191 << 9)); -} - - -if (16383 << 9 !== 8388096) { - $ERROR('#303: 16383 << 9 === 8388096. Actual: ' + (16383 << 9)); -} - - -if (32767 << 9 !== 16776704) { - $ERROR('#304: 32767 << 9 === 16776704. Actual: ' + (32767 << 9)); -} - - -if (65535 << 9 !== 33553920) { - $ERROR('#305: 65535 << 9 === 33553920. Actual: ' + (65535 << 9)); -} - - -if (131071 << 9 !== 67108352) { - $ERROR('#306: 131071 << 9 === 67108352. Actual: ' + (131071 << 9)); -} - - -if (262143 << 9 !== 134217216) { - $ERROR('#307: 262143 << 9 === 134217216. Actual: ' + (262143 << 9)); -} - - -if (524287 << 9 !== 268434944) { - $ERROR('#308: 524287 << 9 === 268434944. Actual: ' + (524287 << 9)); -} - - -if (1048575 << 9 !== 536870400) { - $ERROR('#309: 1048575 << 9 === 536870400. Actual: ' + (1048575 << 9)); -} - - -if (2097151 << 9 !== 1073741312) { - $ERROR('#310: 2097151 << 9 === 1073741312. Actual: ' + (2097151 << 9)); -} - - -if (4194303 << 9 !== 2147483136) { - $ERROR('#311: 4194303 << 9 === 2147483136. Actual: ' + (4194303 << 9)); -} - - -if (8388607 << 9 !== -512) { - $ERROR('#312: 8388607 << 9 === -512. Actual: ' + (8388607 << 9)); -} - - -if (16777215 << 9 !== -512) { - $ERROR('#313: 16777215 << 9 === -512. Actual: ' + (16777215 << 9)); -} - - -if (33554431 << 9 !== -512) { - $ERROR('#314: 33554431 << 9 === -512. Actual: ' + (33554431 << 9)); -} - - -if (67108863 << 9 !== -512) { - $ERROR('#315: 67108863 << 9 === -512. Actual: ' + (67108863 << 9)); -} - - -if (134217727 << 9 !== -512) { - $ERROR('#316: 134217727 << 9 === -512. Actual: ' + (134217727 << 9)); -} - - -if (268435455 << 9 !== -512) { - $ERROR('#317: 268435455 << 9 === -512. Actual: ' + (268435455 << 9)); -} - - -if (536870911 << 9 !== -512) { - $ERROR('#318: 536870911 << 9 === -512. Actual: ' + (536870911 << 9)); -} - - -if (1073741823 << 9 !== -512) { - $ERROR('#319: 1073741823 << 9 === -512. Actual: ' + (1073741823 << 9)); -} - - -if (2147483647 << 9 !== -512) { - $ERROR('#320: 2147483647 << 9 === -512. Actual: ' + (2147483647 << 9)); -} - - -if (0 << 10 !== 0) { - $ERROR('#321: 0 << 10 === 0. Actual: ' + (0 << 10)); -} - - -if (1 << 10 !== 1024) { - $ERROR('#322: 1 << 10 === 1024. Actual: ' + (1 << 10)); -} - - -if (3 << 10 !== 3072) { - $ERROR('#323: 3 << 10 === 3072. Actual: ' + (3 << 10)); -} - - -if (7 << 10 !== 7168) { - $ERROR('#324: 7 << 10 === 7168. Actual: ' + (7 << 10)); -} - - -if (15 << 10 !== 15360) { - $ERROR('#325: 15 << 10 === 15360. Actual: ' + (15 << 10)); -} - - -if (31 << 10 !== 31744) { - $ERROR('#326: 31 << 10 === 31744. Actual: ' + (31 << 10)); -} - - -if (63 << 10 !== 64512) { - $ERROR('#327: 63 << 10 === 64512. Actual: ' + (63 << 10)); -} - - -if (127 << 10 !== 130048) { - $ERROR('#328: 127 << 10 === 130048. Actual: ' + (127 << 10)); -} - - -if (255 << 10 !== 261120) { - $ERROR('#329: 255 << 10 === 261120. Actual: ' + (255 << 10)); -} - - -if (511 << 10 !== 523264) { - $ERROR('#330: 511 << 10 === 523264. Actual: ' + (511 << 10)); -} - - -if (1023 << 10 !== 1047552) { - $ERROR('#331: 1023 << 10 === 1047552. Actual: ' + (1023 << 10)); -} - - -if (2047 << 10 !== 2096128) { - $ERROR('#332: 2047 << 10 === 2096128. Actual: ' + (2047 << 10)); -} - - -if (4095 << 10 !== 4193280) { - $ERROR('#333: 4095 << 10 === 4193280. Actual: ' + (4095 << 10)); -} - - -if (8191 << 10 !== 8387584) { - $ERROR('#334: 8191 << 10 === 8387584. Actual: ' + (8191 << 10)); -} - - -if (16383 << 10 !== 16776192) { - $ERROR('#335: 16383 << 10 === 16776192. Actual: ' + (16383 << 10)); -} - - -if (32767 << 10 !== 33553408) { - $ERROR('#336: 32767 << 10 === 33553408. Actual: ' + (32767 << 10)); -} - - -if (65535 << 10 !== 67107840) { - $ERROR('#337: 65535 << 10 === 67107840. Actual: ' + (65535 << 10)); -} - - -if (131071 << 10 !== 134216704) { - $ERROR('#338: 131071 << 10 === 134216704. Actual: ' + (131071 << 10)); -} - - -if (262143 << 10 !== 268434432) { - $ERROR('#339: 262143 << 10 === 268434432. Actual: ' + (262143 << 10)); -} - - -if (524287 << 10 !== 536869888) { - $ERROR('#340: 524287 << 10 === 536869888. Actual: ' + (524287 << 10)); -} - - -if (1048575 << 10 !== 1073740800) { - $ERROR('#341: 1048575 << 10 === 1073740800. Actual: ' + (1048575 << 10)); -} - - -if (2097151 << 10 !== 2147482624) { - $ERROR('#342: 2097151 << 10 === 2147482624. Actual: ' + (2097151 << 10)); -} - - -if (4194303 << 10 !== -1024) { - $ERROR('#343: 4194303 << 10 === -1024. Actual: ' + (4194303 << 10)); -} - - -if (8388607 << 10 !== -1024) { - $ERROR('#344: 8388607 << 10 === -1024. Actual: ' + (8388607 << 10)); -} - - -if (16777215 << 10 !== -1024) { - $ERROR('#345: 16777215 << 10 === -1024. Actual: ' + (16777215 << 10)); -} - - -if (33554431 << 10 !== -1024) { - $ERROR('#346: 33554431 << 10 === -1024. Actual: ' + (33554431 << 10)); -} - - -if (67108863 << 10 !== -1024) { - $ERROR('#347: 67108863 << 10 === -1024. Actual: ' + (67108863 << 10)); -} - - -if (134217727 << 10 !== -1024) { - $ERROR('#348: 134217727 << 10 === -1024. Actual: ' + (134217727 << 10)); -} - - -if (268435455 << 10 !== -1024) { - $ERROR('#349: 268435455 << 10 === -1024. Actual: ' + (268435455 << 10)); -} - - -if (536870911 << 10 !== -1024) { - $ERROR('#350: 536870911 << 10 === -1024. Actual: ' + (536870911 << 10)); -} - - -if (1073741823 << 10 !== -1024) { - $ERROR('#351: 1073741823 << 10 === -1024. Actual: ' + (1073741823 << 10)); -} - - -if (2147483647 << 10 !== -1024) { - $ERROR('#352: 2147483647 << 10 === -1024. Actual: ' + (2147483647 << 10)); -} - - -if (0 << 11 !== 0) { - $ERROR('#353: 0 << 11 === 0. Actual: ' + (0 << 11)); -} - - -if (1 << 11 !== 2048) { - $ERROR('#354: 1 << 11 === 2048. Actual: ' + (1 << 11)); -} - - -if (3 << 11 !== 6144) { - $ERROR('#355: 3 << 11 === 6144. Actual: ' + (3 << 11)); -} - - -if (7 << 11 !== 14336) { - $ERROR('#356: 7 << 11 === 14336. Actual: ' + (7 << 11)); -} - - -if (15 << 11 !== 30720) { - $ERROR('#357: 15 << 11 === 30720. Actual: ' + (15 << 11)); -} - - -if (31 << 11 !== 63488) { - $ERROR('#358: 31 << 11 === 63488. Actual: ' + (31 << 11)); -} - - -if (63 << 11 !== 129024) { - $ERROR('#359: 63 << 11 === 129024. Actual: ' + (63 << 11)); -} - - -if (127 << 11 !== 260096) { - $ERROR('#360: 127 << 11 === 260096. Actual: ' + (127 << 11)); -} - - -if (255 << 11 !== 522240) { - $ERROR('#361: 255 << 11 === 522240. Actual: ' + (255 << 11)); -} - - -if (511 << 11 !== 1046528) { - $ERROR('#362: 511 << 11 === 1046528. Actual: ' + (511 << 11)); -} - - -if (1023 << 11 !== 2095104) { - $ERROR('#363: 1023 << 11 === 2095104. Actual: ' + (1023 << 11)); -} - - -if (2047 << 11 !== 4192256) { - $ERROR('#364: 2047 << 11 === 4192256. Actual: ' + (2047 << 11)); -} - - -if (4095 << 11 !== 8386560) { - $ERROR('#365: 4095 << 11 === 8386560. Actual: ' + (4095 << 11)); -} - - -if (8191 << 11 !== 16775168) { - $ERROR('#366: 8191 << 11 === 16775168. Actual: ' + (8191 << 11)); -} - - -if (16383 << 11 !== 33552384) { - $ERROR('#367: 16383 << 11 === 33552384. Actual: ' + (16383 << 11)); -} - - -if (32767 << 11 !== 67106816) { - $ERROR('#368: 32767 << 11 === 67106816. Actual: ' + (32767 << 11)); -} - - -if (65535 << 11 !== 134215680) { - $ERROR('#369: 65535 << 11 === 134215680. Actual: ' + (65535 << 11)); -} - - -if (131071 << 11 !== 268433408) { - $ERROR('#370: 131071 << 11 === 268433408. Actual: ' + (131071 << 11)); -} - - -if (262143 << 11 !== 536868864) { - $ERROR('#371: 262143 << 11 === 536868864. Actual: ' + (262143 << 11)); -} - - -if (524287 << 11 !== 1073739776) { - $ERROR('#372: 524287 << 11 === 1073739776. Actual: ' + (524287 << 11)); -} - - -if (1048575 << 11 !== 2147481600) { - $ERROR('#373: 1048575 << 11 === 2147481600. Actual: ' + (1048575 << 11)); -} - - -if (2097151 << 11 !== -2048) { - $ERROR('#374: 2097151 << 11 === -2048. Actual: ' + (2097151 << 11)); -} - - -if (4194303 << 11 !== -2048) { - $ERROR('#375: 4194303 << 11 === -2048. Actual: ' + (4194303 << 11)); -} - - -if (8388607 << 11 !== -2048) { - $ERROR('#376: 8388607 << 11 === -2048. Actual: ' + (8388607 << 11)); -} - - -if (16777215 << 11 !== -2048) { - $ERROR('#377: 16777215 << 11 === -2048. Actual: ' + (16777215 << 11)); -} - - -if (33554431 << 11 !== -2048) { - $ERROR('#378: 33554431 << 11 === -2048. Actual: ' + (33554431 << 11)); -} - - -if (67108863 << 11 !== -2048) { - $ERROR('#379: 67108863 << 11 === -2048. Actual: ' + (67108863 << 11)); -} - - -if (134217727 << 11 !== -2048) { - $ERROR('#380: 134217727 << 11 === -2048. Actual: ' + (134217727 << 11)); -} - - -if (268435455 << 11 !== -2048) { - $ERROR('#381: 268435455 << 11 === -2048. Actual: ' + (268435455 << 11)); -} - - -if (536870911 << 11 !== -2048) { - $ERROR('#382: 536870911 << 11 === -2048. Actual: ' + (536870911 << 11)); -} - - -if (1073741823 << 11 !== -2048) { - $ERROR('#383: 1073741823 << 11 === -2048. Actual: ' + (1073741823 << 11)); -} - - -if (2147483647 << 11 !== -2048) { - $ERROR('#384: 2147483647 << 11 === -2048. Actual: ' + (2147483647 << 11)); -} - - -if (0 << 12 !== 0) { - $ERROR('#385: 0 << 12 === 0. Actual: ' + (0 << 12)); -} - - -if (1 << 12 !== 4096) { - $ERROR('#386: 1 << 12 === 4096. Actual: ' + (1 << 12)); -} - - -if (3 << 12 !== 12288) { - $ERROR('#387: 3 << 12 === 12288. Actual: ' + (3 << 12)); -} - - -if (7 << 12 !== 28672) { - $ERROR('#388: 7 << 12 === 28672. Actual: ' + (7 << 12)); -} - - -if (15 << 12 !== 61440) { - $ERROR('#389: 15 << 12 === 61440. Actual: ' + (15 << 12)); -} - - -if (31 << 12 !== 126976) { - $ERROR('#390: 31 << 12 === 126976. Actual: ' + (31 << 12)); -} - - -if (63 << 12 !== 258048) { - $ERROR('#391: 63 << 12 === 258048. Actual: ' + (63 << 12)); -} - - -if (127 << 12 !== 520192) { - $ERROR('#392: 127 << 12 === 520192. Actual: ' + (127 << 12)); -} - - -if (255 << 12 !== 1044480) { - $ERROR('#393: 255 << 12 === 1044480. Actual: ' + (255 << 12)); -} - - -if (511 << 12 !== 2093056) { - $ERROR('#394: 511 << 12 === 2093056. Actual: ' + (511 << 12)); -} - - -if (1023 << 12 !== 4190208) { - $ERROR('#395: 1023 << 12 === 4190208. Actual: ' + (1023 << 12)); -} - - -if (2047 << 12 !== 8384512) { - $ERROR('#396: 2047 << 12 === 8384512. Actual: ' + (2047 << 12)); -} - - -if (4095 << 12 !== 16773120) { - $ERROR('#397: 4095 << 12 === 16773120. Actual: ' + (4095 << 12)); -} - - -if (8191 << 12 !== 33550336) { - $ERROR('#398: 8191 << 12 === 33550336. Actual: ' + (8191 << 12)); -} - - -if (16383 << 12 !== 67104768) { - $ERROR('#399: 16383 << 12 === 67104768. Actual: ' + (16383 << 12)); -} - - -if (32767 << 12 !== 134213632) { - $ERROR('#400: 32767 << 12 === 134213632. Actual: ' + (32767 << 12)); -} - - -if (65535 << 12 !== 268431360) { - $ERROR('#401: 65535 << 12 === 268431360. Actual: ' + (65535 << 12)); -} - - -if (131071 << 12 !== 536866816) { - $ERROR('#402: 131071 << 12 === 536866816. Actual: ' + (131071 << 12)); -} - - -if (262143 << 12 !== 1073737728) { - $ERROR('#403: 262143 << 12 === 1073737728. Actual: ' + (262143 << 12)); -} - - -if (524287 << 12 !== 2147479552) { - $ERROR('#404: 524287 << 12 === 2147479552. Actual: ' + (524287 << 12)); -} - - -if (1048575 << 12 !== -4096) { - $ERROR('#405: 1048575 << 12 === -4096. Actual: ' + (1048575 << 12)); -} - - -if (2097151 << 12 !== -4096) { - $ERROR('#406: 2097151 << 12 === -4096. Actual: ' + (2097151 << 12)); -} - - -if (4194303 << 12 !== -4096) { - $ERROR('#407: 4194303 << 12 === -4096. Actual: ' + (4194303 << 12)); -} - - -if (8388607 << 12 !== -4096) { - $ERROR('#408: 8388607 << 12 === -4096. Actual: ' + (8388607 << 12)); -} - - -if (16777215 << 12 !== -4096) { - $ERROR('#409: 16777215 << 12 === -4096. Actual: ' + (16777215 << 12)); -} - - -if (33554431 << 12 !== -4096) { - $ERROR('#410: 33554431 << 12 === -4096. Actual: ' + (33554431 << 12)); -} - - -if (67108863 << 12 !== -4096) { - $ERROR('#411: 67108863 << 12 === -4096. Actual: ' + (67108863 << 12)); -} - - -if (134217727 << 12 !== -4096) { - $ERROR('#412: 134217727 << 12 === -4096. Actual: ' + (134217727 << 12)); -} - - -if (268435455 << 12 !== -4096) { - $ERROR('#413: 268435455 << 12 === -4096. Actual: ' + (268435455 << 12)); -} - - -if (536870911 << 12 !== -4096) { - $ERROR('#414: 536870911 << 12 === -4096. Actual: ' + (536870911 << 12)); -} - - -if (1073741823 << 12 !== -4096) { - $ERROR('#415: 1073741823 << 12 === -4096. Actual: ' + (1073741823 << 12)); -} - - -if (2147483647 << 12 !== -4096) { - $ERROR('#416: 2147483647 << 12 === -4096. Actual: ' + (2147483647 << 12)); -} - - -if (0 << 13 !== 0) { - $ERROR('#417: 0 << 13 === 0. Actual: ' + (0 << 13)); -} - - -if (1 << 13 !== 8192) { - $ERROR('#418: 1 << 13 === 8192. Actual: ' + (1 << 13)); -} - - -if (3 << 13 !== 24576) { - $ERROR('#419: 3 << 13 === 24576. Actual: ' + (3 << 13)); -} - - -if (7 << 13 !== 57344) { - $ERROR('#420: 7 << 13 === 57344. Actual: ' + (7 << 13)); -} - - -if (15 << 13 !== 122880) { - $ERROR('#421: 15 << 13 === 122880. Actual: ' + (15 << 13)); -} - - -if (31 << 13 !== 253952) { - $ERROR('#422: 31 << 13 === 253952. Actual: ' + (31 << 13)); -} - - -if (63 << 13 !== 516096) { - $ERROR('#423: 63 << 13 === 516096. Actual: ' + (63 << 13)); -} - - -if (127 << 13 !== 1040384) { - $ERROR('#424: 127 << 13 === 1040384. Actual: ' + (127 << 13)); -} - - -if (255 << 13 !== 2088960) { - $ERROR('#425: 255 << 13 === 2088960. Actual: ' + (255 << 13)); -} - - -if (511 << 13 !== 4186112) { - $ERROR('#426: 511 << 13 === 4186112. Actual: ' + (511 << 13)); -} - - -if (1023 << 13 !== 8380416) { - $ERROR('#427: 1023 << 13 === 8380416. Actual: ' + (1023 << 13)); -} - - -if (2047 << 13 !== 16769024) { - $ERROR('#428: 2047 << 13 === 16769024. Actual: ' + (2047 << 13)); -} - - -if (4095 << 13 !== 33546240) { - $ERROR('#429: 4095 << 13 === 33546240. Actual: ' + (4095 << 13)); -} - - -if (8191 << 13 !== 67100672) { - $ERROR('#430: 8191 << 13 === 67100672. Actual: ' + (8191 << 13)); -} - - -if (16383 << 13 !== 134209536) { - $ERROR('#431: 16383 << 13 === 134209536. Actual: ' + (16383 << 13)); -} - - -if (32767 << 13 !== 268427264) { - $ERROR('#432: 32767 << 13 === 268427264. Actual: ' + (32767 << 13)); -} - - -if (65535 << 13 !== 536862720) { - $ERROR('#433: 65535 << 13 === 536862720. Actual: ' + (65535 << 13)); -} - - -if (131071 << 13 !== 1073733632) { - $ERROR('#434: 131071 << 13 === 1073733632. Actual: ' + (131071 << 13)); -} - - -if (262143 << 13 !== 2147475456) { - $ERROR('#435: 262143 << 13 === 2147475456. Actual: ' + (262143 << 13)); -} - - -if (524287 << 13 !== -8192) { - $ERROR('#436: 524287 << 13 === -8192. Actual: ' + (524287 << 13)); -} - - -if (1048575 << 13 !== -8192) { - $ERROR('#437: 1048575 << 13 === -8192. Actual: ' + (1048575 << 13)); -} - - -if (2097151 << 13 !== -8192) { - $ERROR('#438: 2097151 << 13 === -8192. Actual: ' + (2097151 << 13)); -} - - -if (4194303 << 13 !== -8192) { - $ERROR('#439: 4194303 << 13 === -8192. Actual: ' + (4194303 << 13)); -} - - -if (8388607 << 13 !== -8192) { - $ERROR('#440: 8388607 << 13 === -8192. Actual: ' + (8388607 << 13)); -} - - -if (16777215 << 13 !== -8192) { - $ERROR('#441: 16777215 << 13 === -8192. Actual: ' + (16777215 << 13)); -} - - -if (33554431 << 13 !== -8192) { - $ERROR('#442: 33554431 << 13 === -8192. Actual: ' + (33554431 << 13)); -} - - -if (67108863 << 13 !== -8192) { - $ERROR('#443: 67108863 << 13 === -8192. Actual: ' + (67108863 << 13)); -} - - -if (134217727 << 13 !== -8192) { - $ERROR('#444: 134217727 << 13 === -8192. Actual: ' + (134217727 << 13)); -} - - -if (268435455 << 13 !== -8192) { - $ERROR('#445: 268435455 << 13 === -8192. Actual: ' + (268435455 << 13)); -} - - -if (536870911 << 13 !== -8192) { - $ERROR('#446: 536870911 << 13 === -8192. Actual: ' + (536870911 << 13)); -} - - -if (1073741823 << 13 !== -8192) { - $ERROR('#447: 1073741823 << 13 === -8192. Actual: ' + (1073741823 << 13)); -} - - -if (2147483647 << 13 !== -8192) { - $ERROR('#448: 2147483647 << 13 === -8192. Actual: ' + (2147483647 << 13)); -} - - -if (0 << 14 !== 0) { - $ERROR('#449: 0 << 14 === 0. Actual: ' + (0 << 14)); -} - - -if (1 << 14 !== 16384) { - $ERROR('#450: 1 << 14 === 16384. Actual: ' + (1 << 14)); -} - - -if (3 << 14 !== 49152) { - $ERROR('#451: 3 << 14 === 49152. Actual: ' + (3 << 14)); -} - - -if (7 << 14 !== 114688) { - $ERROR('#452: 7 << 14 === 114688. Actual: ' + (7 << 14)); -} - - -if (15 << 14 !== 245760) { - $ERROR('#453: 15 << 14 === 245760. Actual: ' + (15 << 14)); -} - - -if (31 << 14 !== 507904) { - $ERROR('#454: 31 << 14 === 507904. Actual: ' + (31 << 14)); -} - - -if (63 << 14 !== 1032192) { - $ERROR('#455: 63 << 14 === 1032192. Actual: ' + (63 << 14)); -} - - -if (127 << 14 !== 2080768) { - $ERROR('#456: 127 << 14 === 2080768. Actual: ' + (127 << 14)); -} - - -if (255 << 14 !== 4177920) { - $ERROR('#457: 255 << 14 === 4177920. Actual: ' + (255 << 14)); -} - - -if (511 << 14 !== 8372224) { - $ERROR('#458: 511 << 14 === 8372224. Actual: ' + (511 << 14)); -} - - -if (1023 << 14 !== 16760832) { - $ERROR('#459: 1023 << 14 === 16760832. Actual: ' + (1023 << 14)); -} - - -if (2047 << 14 !== 33538048) { - $ERROR('#460: 2047 << 14 === 33538048. Actual: ' + (2047 << 14)); -} - - -if (4095 << 14 !== 67092480) { - $ERROR('#461: 4095 << 14 === 67092480. Actual: ' + (4095 << 14)); -} - - -if (8191 << 14 !== 134201344) { - $ERROR('#462: 8191 << 14 === 134201344. Actual: ' + (8191 << 14)); -} - - -if (16383 << 14 !== 268419072) { - $ERROR('#463: 16383 << 14 === 268419072. Actual: ' + (16383 << 14)); -} - - -if (32767 << 14 !== 536854528) { - $ERROR('#464: 32767 << 14 === 536854528. Actual: ' + (32767 << 14)); -} - - -if (65535 << 14 !== 1073725440) { - $ERROR('#465: 65535 << 14 === 1073725440. Actual: ' + (65535 << 14)); -} - - -if (131071 << 14 !== 2147467264) { - $ERROR('#466: 131071 << 14 === 2147467264. Actual: ' + (131071 << 14)); -} - - -if (262143 << 14 !== -16384) { - $ERROR('#467: 262143 << 14 === -16384. Actual: ' + (262143 << 14)); -} - - -if (524287 << 14 !== -16384) { - $ERROR('#468: 524287 << 14 === -16384. Actual: ' + (524287 << 14)); -} - - -if (1048575 << 14 !== -16384) { - $ERROR('#469: 1048575 << 14 === -16384. Actual: ' + (1048575 << 14)); -} - - -if (2097151 << 14 !== -16384) { - $ERROR('#470: 2097151 << 14 === -16384. Actual: ' + (2097151 << 14)); -} - - -if (4194303 << 14 !== -16384) { - $ERROR('#471: 4194303 << 14 === -16384. Actual: ' + (4194303 << 14)); -} - - -if (8388607 << 14 !== -16384) { - $ERROR('#472: 8388607 << 14 === -16384. Actual: ' + (8388607 << 14)); -} - - -if (16777215 << 14 !== -16384) { - $ERROR('#473: 16777215 << 14 === -16384. Actual: ' + (16777215 << 14)); -} - - -if (33554431 << 14 !== -16384) { - $ERROR('#474: 33554431 << 14 === -16384. Actual: ' + (33554431 << 14)); -} - - -if (67108863 << 14 !== -16384) { - $ERROR('#475: 67108863 << 14 === -16384. Actual: ' + (67108863 << 14)); -} - - -if (134217727 << 14 !== -16384) { - $ERROR('#476: 134217727 << 14 === -16384. Actual: ' + (134217727 << 14)); -} - - -if (268435455 << 14 !== -16384) { - $ERROR('#477: 268435455 << 14 === -16384. Actual: ' + (268435455 << 14)); -} - - -if (536870911 << 14 !== -16384) { - $ERROR('#478: 536870911 << 14 === -16384. Actual: ' + (536870911 << 14)); -} - - -if (1073741823 << 14 !== -16384) { - $ERROR('#479: 1073741823 << 14 === -16384. Actual: ' + (1073741823 << 14)); -} - - -if (2147483647 << 14 !== -16384) { - $ERROR('#480: 2147483647 << 14 === -16384. Actual: ' + (2147483647 << 14)); -} - - -if (0 << 15 !== 0) { - $ERROR('#481: 0 << 15 === 0. Actual: ' + (0 << 15)); -} - - -if (1 << 15 !== 32768) { - $ERROR('#482: 1 << 15 === 32768. Actual: ' + (1 << 15)); -} - - -if (3 << 15 !== 98304) { - $ERROR('#483: 3 << 15 === 98304. Actual: ' + (3 << 15)); -} - - -if (7 << 15 !== 229376) { - $ERROR('#484: 7 << 15 === 229376. Actual: ' + (7 << 15)); -} - - -if (15 << 15 !== 491520) { - $ERROR('#485: 15 << 15 === 491520. Actual: ' + (15 << 15)); -} - - -if (31 << 15 !== 1015808) { - $ERROR('#486: 31 << 15 === 1015808. Actual: ' + (31 << 15)); -} - - -if (63 << 15 !== 2064384) { - $ERROR('#487: 63 << 15 === 2064384. Actual: ' + (63 << 15)); -} - - -if (127 << 15 !== 4161536) { - $ERROR('#488: 127 << 15 === 4161536. Actual: ' + (127 << 15)); -} - - -if (255 << 15 !== 8355840) { - $ERROR('#489: 255 << 15 === 8355840. Actual: ' + (255 << 15)); -} - - -if (511 << 15 !== 16744448) { - $ERROR('#490: 511 << 15 === 16744448. Actual: ' + (511 << 15)); -} - - -if (1023 << 15 !== 33521664) { - $ERROR('#491: 1023 << 15 === 33521664. Actual: ' + (1023 << 15)); -} - - -if (2047 << 15 !== 67076096) { - $ERROR('#492: 2047 << 15 === 67076096. Actual: ' + (2047 << 15)); -} - - -if (4095 << 15 !== 134184960) { - $ERROR('#493: 4095 << 15 === 134184960. Actual: ' + (4095 << 15)); -} - - -if (8191 << 15 !== 268402688) { - $ERROR('#494: 8191 << 15 === 268402688. Actual: ' + (8191 << 15)); -} - - -if (16383 << 15 !== 536838144) { - $ERROR('#495: 16383 << 15 === 536838144. Actual: ' + (16383 << 15)); -} - - -if (32767 << 15 !== 1073709056) { - $ERROR('#496: 32767 << 15 === 1073709056. Actual: ' + (32767 << 15)); -} - - -if (65535 << 15 !== 2147450880) { - $ERROR('#497: 65535 << 15 === 2147450880. Actual: ' + (65535 << 15)); -} - - -if (131071 << 15 !== -32768) { - $ERROR('#498: 131071 << 15 === -32768. Actual: ' + (131071 << 15)); -} - - -if (262143 << 15 !== -32768) { - $ERROR('#499: 262143 << 15 === -32768. Actual: ' + (262143 << 15)); -} - - -if (524287 << 15 !== -32768) { - $ERROR('#500: 524287 << 15 === -32768. Actual: ' + (524287 << 15)); -} - - -if (1048575 << 15 !== -32768) { - $ERROR('#501: 1048575 << 15 === -32768. Actual: ' + (1048575 << 15)); -} - - -if (2097151 << 15 !== -32768) { - $ERROR('#502: 2097151 << 15 === -32768. Actual: ' + (2097151 << 15)); -} - - -if (4194303 << 15 !== -32768) { - $ERROR('#503: 4194303 << 15 === -32768. Actual: ' + (4194303 << 15)); -} - - -if (8388607 << 15 !== -32768) { - $ERROR('#504: 8388607 << 15 === -32768. Actual: ' + (8388607 << 15)); -} - - -if (16777215 << 15 !== -32768) { - $ERROR('#505: 16777215 << 15 === -32768. Actual: ' + (16777215 << 15)); -} - - -if (33554431 << 15 !== -32768) { - $ERROR('#506: 33554431 << 15 === -32768. Actual: ' + (33554431 << 15)); -} - - -if (67108863 << 15 !== -32768) { - $ERROR('#507: 67108863 << 15 === -32768. Actual: ' + (67108863 << 15)); -} - - -if (134217727 << 15 !== -32768) { - $ERROR('#508: 134217727 << 15 === -32768. Actual: ' + (134217727 << 15)); -} - - -if (268435455 << 15 !== -32768) { - $ERROR('#509: 268435455 << 15 === -32768. Actual: ' + (268435455 << 15)); -} - - -if (536870911 << 15 !== -32768) { - $ERROR('#510: 536870911 << 15 === -32768. Actual: ' + (536870911 << 15)); -} - - -if (1073741823 << 15 !== -32768) { - $ERROR('#511: 1073741823 << 15 === -32768. Actual: ' + (1073741823 << 15)); -} - - -if (2147483647 << 15 !== -32768) { - $ERROR('#512: 2147483647 << 15 === -32768. Actual: ' + (2147483647 << 15)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.js deleted file mode 100644 index fde6c2dc85..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.js +++ /dev/null @@ -1,2587 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A4_T4; - * @section: 11.7.1; - * @assertion: Check operator x << y in distinct points; - * @description: ShiftExpression = 2^n - 1, n = 16...31; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A4_T4", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.js", - -assertion: "Check operator x << y in distinct points", - -description: "ShiftExpression = 2^n - 1, n = 16...31", - -test: function testcase() { - //CHECK - -if (0 << 16 !== 0) { - $ERROR('#513: 0 << 16 === 0. Actual: ' + (0 << 16)); -} - - -if (1 << 16 !== 65536) { - $ERROR('#514: 1 << 16 === 65536. Actual: ' + (1 << 16)); -} - - -if (3 << 16 !== 196608) { - $ERROR('#515: 3 << 16 === 196608. Actual: ' + (3 << 16)); -} - - -if (7 << 16 !== 458752) { - $ERROR('#516: 7 << 16 === 458752. Actual: ' + (7 << 16)); -} - - -if (15 << 16 !== 983040) { - $ERROR('#517: 15 << 16 === 983040. Actual: ' + (15 << 16)); -} - - -if (31 << 16 !== 2031616) { - $ERROR('#518: 31 << 16 === 2031616. Actual: ' + (31 << 16)); -} - - -if (63 << 16 !== 4128768) { - $ERROR('#519: 63 << 16 === 4128768. Actual: ' + (63 << 16)); -} - - -if (127 << 16 !== 8323072) { - $ERROR('#520: 127 << 16 === 8323072. Actual: ' + (127 << 16)); -} - - -if (255 << 16 !== 16711680) { - $ERROR('#521: 255 << 16 === 16711680. Actual: ' + (255 << 16)); -} - - -if (511 << 16 !== 33488896) { - $ERROR('#522: 511 << 16 === 33488896. Actual: ' + (511 << 16)); -} - - -if (1023 << 16 !== 67043328) { - $ERROR('#523: 1023 << 16 === 67043328. Actual: ' + (1023 << 16)); -} - - -if (2047 << 16 !== 134152192) { - $ERROR('#524: 2047 << 16 === 134152192. Actual: ' + (2047 << 16)); -} - - -if (4095 << 16 !== 268369920) { - $ERROR('#525: 4095 << 16 === 268369920. Actual: ' + (4095 << 16)); -} - - -if (8191 << 16 !== 536805376) { - $ERROR('#526: 8191 << 16 === 536805376. Actual: ' + (8191 << 16)); -} - - -if (16383 << 16 !== 1073676288) { - $ERROR('#527: 16383 << 16 === 1073676288. Actual: ' + (16383 << 16)); -} - - -if (32767 << 16 !== 2147418112) { - $ERROR('#528: 32767 << 16 === 2147418112. Actual: ' + (32767 << 16)); -} - - -if (65535 << 16 !== -65536) { - $ERROR('#529: 65535 << 16 === -65536. Actual: ' + (65535 << 16)); -} - - -if (131071 << 16 !== -65536) { - $ERROR('#530: 131071 << 16 === -65536. Actual: ' + (131071 << 16)); -} - - -if (262143 << 16 !== -65536) { - $ERROR('#531: 262143 << 16 === -65536. Actual: ' + (262143 << 16)); -} - - -if (524287 << 16 !== -65536) { - $ERROR('#532: 524287 << 16 === -65536. Actual: ' + (524287 << 16)); -} - - -if (1048575 << 16 !== -65536) { - $ERROR('#533: 1048575 << 16 === -65536. Actual: ' + (1048575 << 16)); -} - - -if (2097151 << 16 !== -65536) { - $ERROR('#534: 2097151 << 16 === -65536. Actual: ' + (2097151 << 16)); -} - - -if (4194303 << 16 !== -65536) { - $ERROR('#535: 4194303 << 16 === -65536. Actual: ' + (4194303 << 16)); -} - - -if (8388607 << 16 !== -65536) { - $ERROR('#536: 8388607 << 16 === -65536. Actual: ' + (8388607 << 16)); -} - - -if (16777215 << 16 !== -65536) { - $ERROR('#537: 16777215 << 16 === -65536. Actual: ' + (16777215 << 16)); -} - - -if (33554431 << 16 !== -65536) { - $ERROR('#538: 33554431 << 16 === -65536. Actual: ' + (33554431 << 16)); -} - - -if (67108863 << 16 !== -65536) { - $ERROR('#539: 67108863 << 16 === -65536. Actual: ' + (67108863 << 16)); -} - - -if (134217727 << 16 !== -65536) { - $ERROR('#540: 134217727 << 16 === -65536. Actual: ' + (134217727 << 16)); -} - - -if (268435455 << 16 !== -65536) { - $ERROR('#541: 268435455 << 16 === -65536. Actual: ' + (268435455 << 16)); -} - - -if (536870911 << 16 !== -65536) { - $ERROR('#542: 536870911 << 16 === -65536. Actual: ' + (536870911 << 16)); -} - - -if (1073741823 << 16 !== -65536) { - $ERROR('#543: 1073741823 << 16 === -65536. Actual: ' + (1073741823 << 16)); -} - - -if (2147483647 << 16 !== -65536) { - $ERROR('#544: 2147483647 << 16 === -65536. Actual: ' + (2147483647 << 16)); -} - - -if (0 << 17 !== 0) { - $ERROR('#545: 0 << 17 === 0. Actual: ' + (0 << 17)); -} - - -if (1 << 17 !== 131072) { - $ERROR('#546: 1 << 17 === 131072. Actual: ' + (1 << 17)); -} - - -if (3 << 17 !== 393216) { - $ERROR('#547: 3 << 17 === 393216. Actual: ' + (3 << 17)); -} - - -if (7 << 17 !== 917504) { - $ERROR('#548: 7 << 17 === 917504. Actual: ' + (7 << 17)); -} - - -if (15 << 17 !== 1966080) { - $ERROR('#549: 15 << 17 === 1966080. Actual: ' + (15 << 17)); -} - - -if (31 << 17 !== 4063232) { - $ERROR('#550: 31 << 17 === 4063232. Actual: ' + (31 << 17)); -} - - -if (63 << 17 !== 8257536) { - $ERROR('#551: 63 << 17 === 8257536. Actual: ' + (63 << 17)); -} - - -if (127 << 17 !== 16646144) { - $ERROR('#552: 127 << 17 === 16646144. Actual: ' + (127 << 17)); -} - - -if (255 << 17 !== 33423360) { - $ERROR('#553: 255 << 17 === 33423360. Actual: ' + (255 << 17)); -} - - -if (511 << 17 !== 66977792) { - $ERROR('#554: 511 << 17 === 66977792. Actual: ' + (511 << 17)); -} - - -if (1023 << 17 !== 134086656) { - $ERROR('#555: 1023 << 17 === 134086656. Actual: ' + (1023 << 17)); -} - - -if (2047 << 17 !== 268304384) { - $ERROR('#556: 2047 << 17 === 268304384. Actual: ' + (2047 << 17)); -} - - -if (4095 << 17 !== 536739840) { - $ERROR('#557: 4095 << 17 === 536739840. Actual: ' + (4095 << 17)); -} - - -if (8191 << 17 !== 1073610752) { - $ERROR('#558: 8191 << 17 === 1073610752. Actual: ' + (8191 << 17)); -} - - -if (16383 << 17 !== 2147352576) { - $ERROR('#559: 16383 << 17 === 2147352576. Actual: ' + (16383 << 17)); -} - - -if (32767 << 17 !== -131072) { - $ERROR('#560: 32767 << 17 === -131072. Actual: ' + (32767 << 17)); -} - - -if (65535 << 17 !== -131072) { - $ERROR('#561: 65535 << 17 === -131072. Actual: ' + (65535 << 17)); -} - - -if (131071 << 17 !== -131072) { - $ERROR('#562: 131071 << 17 === -131072. Actual: ' + (131071 << 17)); -} - - -if (262143 << 17 !== -131072) { - $ERROR('#563: 262143 << 17 === -131072. Actual: ' + (262143 << 17)); -} - - -if (524287 << 17 !== -131072) { - $ERROR('#564: 524287 << 17 === -131072. Actual: ' + (524287 << 17)); -} - - -if (1048575 << 17 !== -131072) { - $ERROR('#565: 1048575 << 17 === -131072. Actual: ' + (1048575 << 17)); -} - - -if (2097151 << 17 !== -131072) { - $ERROR('#566: 2097151 << 17 === -131072. Actual: ' + (2097151 << 17)); -} - - -if (4194303 << 17 !== -131072) { - $ERROR('#567: 4194303 << 17 === -131072. Actual: ' + (4194303 << 17)); -} - - -if (8388607 << 17 !== -131072) { - $ERROR('#568: 8388607 << 17 === -131072. Actual: ' + (8388607 << 17)); -} - - -if (16777215 << 17 !== -131072) { - $ERROR('#569: 16777215 << 17 === -131072. Actual: ' + (16777215 << 17)); -} - - -if (33554431 << 17 !== -131072) { - $ERROR('#570: 33554431 << 17 === -131072. Actual: ' + (33554431 << 17)); -} - - -if (67108863 << 17 !== -131072) { - $ERROR('#571: 67108863 << 17 === -131072. Actual: ' + (67108863 << 17)); -} - - -if (134217727 << 17 !== -131072) { - $ERROR('#572: 134217727 << 17 === -131072. Actual: ' + (134217727 << 17)); -} - - -if (268435455 << 17 !== -131072) { - $ERROR('#573: 268435455 << 17 === -131072. Actual: ' + (268435455 << 17)); -} - - -if (536870911 << 17 !== -131072) { - $ERROR('#574: 536870911 << 17 === -131072. Actual: ' + (536870911 << 17)); -} - - -if (1073741823 << 17 !== -131072) { - $ERROR('#575: 1073741823 << 17 === -131072. Actual: ' + (1073741823 << 17)); -} - - -if (2147483647 << 17 !== -131072) { - $ERROR('#576: 2147483647 << 17 === -131072. Actual: ' + (2147483647 << 17)); -} - - -if (0 << 18 !== 0) { - $ERROR('#577: 0 << 18 === 0. Actual: ' + (0 << 18)); -} - - -if (1 << 18 !== 262144) { - $ERROR('#578: 1 << 18 === 262144. Actual: ' + (1 << 18)); -} - - -if (3 << 18 !== 786432) { - $ERROR('#579: 3 << 18 === 786432. Actual: ' + (3 << 18)); -} - - -if (7 << 18 !== 1835008) { - $ERROR('#580: 7 << 18 === 1835008. Actual: ' + (7 << 18)); -} - - -if (15 << 18 !== 3932160) { - $ERROR('#581: 15 << 18 === 3932160. Actual: ' + (15 << 18)); -} - - -if (31 << 18 !== 8126464) { - $ERROR('#582: 31 << 18 === 8126464. Actual: ' + (31 << 18)); -} - - -if (63 << 18 !== 16515072) { - $ERROR('#583: 63 << 18 === 16515072. Actual: ' + (63 << 18)); -} - - -if (127 << 18 !== 33292288) { - $ERROR('#584: 127 << 18 === 33292288. Actual: ' + (127 << 18)); -} - - -if (255 << 18 !== 66846720) { - $ERROR('#585: 255 << 18 === 66846720. Actual: ' + (255 << 18)); -} - - -if (511 << 18 !== 133955584) { - $ERROR('#586: 511 << 18 === 133955584. Actual: ' + (511 << 18)); -} - - -if (1023 << 18 !== 268173312) { - $ERROR('#587: 1023 << 18 === 268173312. Actual: ' + (1023 << 18)); -} - - -if (2047 << 18 !== 536608768) { - $ERROR('#588: 2047 << 18 === 536608768. Actual: ' + (2047 << 18)); -} - - -if (4095 << 18 !== 1073479680) { - $ERROR('#589: 4095 << 18 === 1073479680. Actual: ' + (4095 << 18)); -} - - -if (8191 << 18 !== 2147221504) { - $ERROR('#590: 8191 << 18 === 2147221504. Actual: ' + (8191 << 18)); -} - - -if (16383 << 18 !== -262144) { - $ERROR('#591: 16383 << 18 === -262144. Actual: ' + (16383 << 18)); -} - - -if (32767 << 18 !== -262144) { - $ERROR('#592: 32767 << 18 === -262144. Actual: ' + (32767 << 18)); -} - - -if (65535 << 18 !== -262144) { - $ERROR('#593: 65535 << 18 === -262144. Actual: ' + (65535 << 18)); -} - - -if (131071 << 18 !== -262144) { - $ERROR('#594: 131071 << 18 === -262144. Actual: ' + (131071 << 18)); -} - - -if (262143 << 18 !== -262144) { - $ERROR('#595: 262143 << 18 === -262144. Actual: ' + (262143 << 18)); -} - - -if (524287 << 18 !== -262144) { - $ERROR('#596: 524287 << 18 === -262144. Actual: ' + (524287 << 18)); -} - - -if (1048575 << 18 !== -262144) { - $ERROR('#597: 1048575 << 18 === -262144. Actual: ' + (1048575 << 18)); -} - - -if (2097151 << 18 !== -262144) { - $ERROR('#598: 2097151 << 18 === -262144. Actual: ' + (2097151 << 18)); -} - - -if (4194303 << 18 !== -262144) { - $ERROR('#599: 4194303 << 18 === -262144. Actual: ' + (4194303 << 18)); -} - - -if (8388607 << 18 !== -262144) { - $ERROR('#600: 8388607 << 18 === -262144. Actual: ' + (8388607 << 18)); -} - - -if (16777215 << 18 !== -262144) { - $ERROR('#601: 16777215 << 18 === -262144. Actual: ' + (16777215 << 18)); -} - - -if (33554431 << 18 !== -262144) { - $ERROR('#602: 33554431 << 18 === -262144. Actual: ' + (33554431 << 18)); -} - - -if (67108863 << 18 !== -262144) { - $ERROR('#603: 67108863 << 18 === -262144. Actual: ' + (67108863 << 18)); -} - - -if (134217727 << 18 !== -262144) { - $ERROR('#604: 134217727 << 18 === -262144. Actual: ' + (134217727 << 18)); -} - - -if (268435455 << 18 !== -262144) { - $ERROR('#605: 268435455 << 18 === -262144. Actual: ' + (268435455 << 18)); -} - - -if (536870911 << 18 !== -262144) { - $ERROR('#606: 536870911 << 18 === -262144. Actual: ' + (536870911 << 18)); -} - - -if (1073741823 << 18 !== -262144) { - $ERROR('#607: 1073741823 << 18 === -262144. Actual: ' + (1073741823 << 18)); -} - - -if (2147483647 << 18 !== -262144) { - $ERROR('#608: 2147483647 << 18 === -262144. Actual: ' + (2147483647 << 18)); -} - - -if (0 << 19 !== 0) { - $ERROR('#609: 0 << 19 === 0. Actual: ' + (0 << 19)); -} - - -if (1 << 19 !== 524288) { - $ERROR('#610: 1 << 19 === 524288. Actual: ' + (1 << 19)); -} - - -if (3 << 19 !== 1572864) { - $ERROR('#611: 3 << 19 === 1572864. Actual: ' + (3 << 19)); -} - - -if (7 << 19 !== 3670016) { - $ERROR('#612: 7 << 19 === 3670016. Actual: ' + (7 << 19)); -} - - -if (15 << 19 !== 7864320) { - $ERROR('#613: 15 << 19 === 7864320. Actual: ' + (15 << 19)); -} - - -if (31 << 19 !== 16252928) { - $ERROR('#614: 31 << 19 === 16252928. Actual: ' + (31 << 19)); -} - - -if (63 << 19 !== 33030144) { - $ERROR('#615: 63 << 19 === 33030144. Actual: ' + (63 << 19)); -} - - -if (127 << 19 !== 66584576) { - $ERROR('#616: 127 << 19 === 66584576. Actual: ' + (127 << 19)); -} - - -if (255 << 19 !== 133693440) { - $ERROR('#617: 255 << 19 === 133693440. Actual: ' + (255 << 19)); -} - - -if (511 << 19 !== 267911168) { - $ERROR('#618: 511 << 19 === 267911168. Actual: ' + (511 << 19)); -} - - -if (1023 << 19 !== 536346624) { - $ERROR('#619: 1023 << 19 === 536346624. Actual: ' + (1023 << 19)); -} - - -if (2047 << 19 !== 1073217536) { - $ERROR('#620: 2047 << 19 === 1073217536. Actual: ' + (2047 << 19)); -} - - -if (4095 << 19 !== 2146959360) { - $ERROR('#621: 4095 << 19 === 2146959360. Actual: ' + (4095 << 19)); -} - - -if (8191 << 19 !== -524288) { - $ERROR('#622: 8191 << 19 === -524288. Actual: ' + (8191 << 19)); -} - - -if (16383 << 19 !== -524288) { - $ERROR('#623: 16383 << 19 === -524288. Actual: ' + (16383 << 19)); -} - - -if (32767 << 19 !== -524288) { - $ERROR('#624: 32767 << 19 === -524288. Actual: ' + (32767 << 19)); -} - - -if (65535 << 19 !== -524288) { - $ERROR('#625: 65535 << 19 === -524288. Actual: ' + (65535 << 19)); -} - - -if (131071 << 19 !== -524288) { - $ERROR('#626: 131071 << 19 === -524288. Actual: ' + (131071 << 19)); -} - - -if (262143 << 19 !== -524288) { - $ERROR('#627: 262143 << 19 === -524288. Actual: ' + (262143 << 19)); -} - - -if (524287 << 19 !== -524288) { - $ERROR('#628: 524287 << 19 === -524288. Actual: ' + (524287 << 19)); -} - - -if (1048575 << 19 !== -524288) { - $ERROR('#629: 1048575 << 19 === -524288. Actual: ' + (1048575 << 19)); -} - - -if (2097151 << 19 !== -524288) { - $ERROR('#630: 2097151 << 19 === -524288. Actual: ' + (2097151 << 19)); -} - - -if (4194303 << 19 !== -524288) { - $ERROR('#631: 4194303 << 19 === -524288. Actual: ' + (4194303 << 19)); -} - - -if (8388607 << 19 !== -524288) { - $ERROR('#632: 8388607 << 19 === -524288. Actual: ' + (8388607 << 19)); -} - - -if (16777215 << 19 !== -524288) { - $ERROR('#633: 16777215 << 19 === -524288. Actual: ' + (16777215 << 19)); -} - - -if (33554431 << 19 !== -524288) { - $ERROR('#634: 33554431 << 19 === -524288. Actual: ' + (33554431 << 19)); -} - - -if (67108863 << 19 !== -524288) { - $ERROR('#635: 67108863 << 19 === -524288. Actual: ' + (67108863 << 19)); -} - - -if (134217727 << 19 !== -524288) { - $ERROR('#636: 134217727 << 19 === -524288. Actual: ' + (134217727 << 19)); -} - - -if (268435455 << 19 !== -524288) { - $ERROR('#637: 268435455 << 19 === -524288. Actual: ' + (268435455 << 19)); -} - - -if (536870911 << 19 !== -524288) { - $ERROR('#638: 536870911 << 19 === -524288. Actual: ' + (536870911 << 19)); -} - - -if (1073741823 << 19 !== -524288) { - $ERROR('#639: 1073741823 << 19 === -524288. Actual: ' + (1073741823 << 19)); -} - - -if (2147483647 << 19 !== -524288) { - $ERROR('#640: 2147483647 << 19 === -524288. Actual: ' + (2147483647 << 19)); -} - - -if (0 << 20 !== 0) { - $ERROR('#641: 0 << 20 === 0. Actual: ' + (0 << 20)); -} - - -if (1 << 20 !== 1048576) { - $ERROR('#642: 1 << 20 === 1048576. Actual: ' + (1 << 20)); -} - - -if (3 << 20 !== 3145728) { - $ERROR('#643: 3 << 20 === 3145728. Actual: ' + (3 << 20)); -} - - -if (7 << 20 !== 7340032) { - $ERROR('#644: 7 << 20 === 7340032. Actual: ' + (7 << 20)); -} - - -if (15 << 20 !== 15728640) { - $ERROR('#645: 15 << 20 === 15728640. Actual: ' + (15 << 20)); -} - - -if (31 << 20 !== 32505856) { - $ERROR('#646: 31 << 20 === 32505856. Actual: ' + (31 << 20)); -} - - -if (63 << 20 !== 66060288) { - $ERROR('#647: 63 << 20 === 66060288. Actual: ' + (63 << 20)); -} - - -if (127 << 20 !== 133169152) { - $ERROR('#648: 127 << 20 === 133169152. Actual: ' + (127 << 20)); -} - - -if (255 << 20 !== 267386880) { - $ERROR('#649: 255 << 20 === 267386880. Actual: ' + (255 << 20)); -} - - -if (511 << 20 !== 535822336) { - $ERROR('#650: 511 << 20 === 535822336. Actual: ' + (511 << 20)); -} - - -if (1023 << 20 !== 1072693248) { - $ERROR('#651: 1023 << 20 === 1072693248. Actual: ' + (1023 << 20)); -} - - -if (2047 << 20 !== 2146435072) { - $ERROR('#652: 2047 << 20 === 2146435072. Actual: ' + (2047 << 20)); -} - - -if (4095 << 20 !== -1048576) { - $ERROR('#653: 4095 << 20 === -1048576. Actual: ' + (4095 << 20)); -} - - -if (8191 << 20 !== -1048576) { - $ERROR('#654: 8191 << 20 === -1048576. Actual: ' + (8191 << 20)); -} - - -if (16383 << 20 !== -1048576) { - $ERROR('#655: 16383 << 20 === -1048576. Actual: ' + (16383 << 20)); -} - - -if (32767 << 20 !== -1048576) { - $ERROR('#656: 32767 << 20 === -1048576. Actual: ' + (32767 << 20)); -} - - -if (65535 << 20 !== -1048576) { - $ERROR('#657: 65535 << 20 === -1048576. Actual: ' + (65535 << 20)); -} - - -if (131071 << 20 !== -1048576) { - $ERROR('#658: 131071 << 20 === -1048576. Actual: ' + (131071 << 20)); -} - - -if (262143 << 20 !== -1048576) { - $ERROR('#659: 262143 << 20 === -1048576. Actual: ' + (262143 << 20)); -} - - -if (524287 << 20 !== -1048576) { - $ERROR('#660: 524287 << 20 === -1048576. Actual: ' + (524287 << 20)); -} - - -if (1048575 << 20 !== -1048576) { - $ERROR('#661: 1048575 << 20 === -1048576. Actual: ' + (1048575 << 20)); -} - - -if (2097151 << 20 !== -1048576) { - $ERROR('#662: 2097151 << 20 === -1048576. Actual: ' + (2097151 << 20)); -} - - -if (4194303 << 20 !== -1048576) { - $ERROR('#663: 4194303 << 20 === -1048576. Actual: ' + (4194303 << 20)); -} - - -if (8388607 << 20 !== -1048576) { - $ERROR('#664: 8388607 << 20 === -1048576. Actual: ' + (8388607 << 20)); -} - - -if (16777215 << 20 !== -1048576) { - $ERROR('#665: 16777215 << 20 === -1048576. Actual: ' + (16777215 << 20)); -} - - -if (33554431 << 20 !== -1048576) { - $ERROR('#666: 33554431 << 20 === -1048576. Actual: ' + (33554431 << 20)); -} - - -if (67108863 << 20 !== -1048576) { - $ERROR('#667: 67108863 << 20 === -1048576. Actual: ' + (67108863 << 20)); -} - - -if (134217727 << 20 !== -1048576) { - $ERROR('#668: 134217727 << 20 === -1048576. Actual: ' + (134217727 << 20)); -} - - -if (268435455 << 20 !== -1048576) { - $ERROR('#669: 268435455 << 20 === -1048576. Actual: ' + (268435455 << 20)); -} - - -if (536870911 << 20 !== -1048576) { - $ERROR('#670: 536870911 << 20 === -1048576. Actual: ' + (536870911 << 20)); -} - - -if (1073741823 << 20 !== -1048576) { - $ERROR('#671: 1073741823 << 20 === -1048576. Actual: ' + (1073741823 << 20)); -} - - -if (2147483647 << 20 !== -1048576) { - $ERROR('#672: 2147483647 << 20 === -1048576. Actual: ' + (2147483647 << 20)); -} - - -if (0 << 21 !== 0) { - $ERROR('#673: 0 << 21 === 0. Actual: ' + (0 << 21)); -} - - -if (1 << 21 !== 2097152) { - $ERROR('#674: 1 << 21 === 2097152. Actual: ' + (1 << 21)); -} - - -if (3 << 21 !== 6291456) { - $ERROR('#675: 3 << 21 === 6291456. Actual: ' + (3 << 21)); -} - - -if (7 << 21 !== 14680064) { - $ERROR('#676: 7 << 21 === 14680064. Actual: ' + (7 << 21)); -} - - -if (15 << 21 !== 31457280) { - $ERROR('#677: 15 << 21 === 31457280. Actual: ' + (15 << 21)); -} - - -if (31 << 21 !== 65011712) { - $ERROR('#678: 31 << 21 === 65011712. Actual: ' + (31 << 21)); -} - - -if (63 << 21 !== 132120576) { - $ERROR('#679: 63 << 21 === 132120576. Actual: ' + (63 << 21)); -} - - -if (127 << 21 !== 266338304) { - $ERROR('#680: 127 << 21 === 266338304. Actual: ' + (127 << 21)); -} - - -if (255 << 21 !== 534773760) { - $ERROR('#681: 255 << 21 === 534773760. Actual: ' + (255 << 21)); -} - - -if (511 << 21 !== 1071644672) { - $ERROR('#682: 511 << 21 === 1071644672. Actual: ' + (511 << 21)); -} - - -if (1023 << 21 !== 2145386496) { - $ERROR('#683: 1023 << 21 === 2145386496. Actual: ' + (1023 << 21)); -} - - -if (2047 << 21 !== -2097152) { - $ERROR('#684: 2047 << 21 === -2097152. Actual: ' + (2047 << 21)); -} - - -if (4095 << 21 !== -2097152) { - $ERROR('#685: 4095 << 21 === -2097152. Actual: ' + (4095 << 21)); -} - - -if (8191 << 21 !== -2097152) { - $ERROR('#686: 8191 << 21 === -2097152. Actual: ' + (8191 << 21)); -} - - -if (16383 << 21 !== -2097152) { - $ERROR('#687: 16383 << 21 === -2097152. Actual: ' + (16383 << 21)); -} - - -if (32767 << 21 !== -2097152) { - $ERROR('#688: 32767 << 21 === -2097152. Actual: ' + (32767 << 21)); -} - - -if (65535 << 21 !== -2097152) { - $ERROR('#689: 65535 << 21 === -2097152. Actual: ' + (65535 << 21)); -} - - -if (131071 << 21 !== -2097152) { - $ERROR('#690: 131071 << 21 === -2097152. Actual: ' + (131071 << 21)); -} - - -if (262143 << 21 !== -2097152) { - $ERROR('#691: 262143 << 21 === -2097152. Actual: ' + (262143 << 21)); -} - - -if (524287 << 21 !== -2097152) { - $ERROR('#692: 524287 << 21 === -2097152. Actual: ' + (524287 << 21)); -} - - -if (1048575 << 21 !== -2097152) { - $ERROR('#693: 1048575 << 21 === -2097152. Actual: ' + (1048575 << 21)); -} - - -if (2097151 << 21 !== -2097152) { - $ERROR('#694: 2097151 << 21 === -2097152. Actual: ' + (2097151 << 21)); -} - - -if (4194303 << 21 !== -2097152) { - $ERROR('#695: 4194303 << 21 === -2097152. Actual: ' + (4194303 << 21)); -} - - -if (8388607 << 21 !== -2097152) { - $ERROR('#696: 8388607 << 21 === -2097152. Actual: ' + (8388607 << 21)); -} - - -if (16777215 << 21 !== -2097152) { - $ERROR('#697: 16777215 << 21 === -2097152. Actual: ' + (16777215 << 21)); -} - - -if (33554431 << 21 !== -2097152) { - $ERROR('#698: 33554431 << 21 === -2097152. Actual: ' + (33554431 << 21)); -} - - -if (67108863 << 21 !== -2097152) { - $ERROR('#699: 67108863 << 21 === -2097152. Actual: ' + (67108863 << 21)); -} - - -if (134217727 << 21 !== -2097152) { - $ERROR('#700: 134217727 << 21 === -2097152. Actual: ' + (134217727 << 21)); -} - - -if (268435455 << 21 !== -2097152) { - $ERROR('#701: 268435455 << 21 === -2097152. Actual: ' + (268435455 << 21)); -} - - -if (536870911 << 21 !== -2097152) { - $ERROR('#702: 536870911 << 21 === -2097152. Actual: ' + (536870911 << 21)); -} - - -if (1073741823 << 21 !== -2097152) { - $ERROR('#703: 1073741823 << 21 === -2097152. Actual: ' + (1073741823 << 21)); -} - - -if (2147483647 << 21 !== -2097152) { - $ERROR('#704: 2147483647 << 21 === -2097152. Actual: ' + (2147483647 << 21)); -} - - -if (0 << 22 !== 0) { - $ERROR('#705: 0 << 22 === 0. Actual: ' + (0 << 22)); -} - - -if (1 << 22 !== 4194304) { - $ERROR('#706: 1 << 22 === 4194304. Actual: ' + (1 << 22)); -} - - -if (3 << 22 !== 12582912) { - $ERROR('#707: 3 << 22 === 12582912. Actual: ' + (3 << 22)); -} - - -if (7 << 22 !== 29360128) { - $ERROR('#708: 7 << 22 === 29360128. Actual: ' + (7 << 22)); -} - - -if (15 << 22 !== 62914560) { - $ERROR('#709: 15 << 22 === 62914560. Actual: ' + (15 << 22)); -} - - -if (31 << 22 !== 130023424) { - $ERROR('#710: 31 << 22 === 130023424. Actual: ' + (31 << 22)); -} - - -if (63 << 22 !== 264241152) { - $ERROR('#711: 63 << 22 === 264241152. Actual: ' + (63 << 22)); -} - - -if (127 << 22 !== 532676608) { - $ERROR('#712: 127 << 22 === 532676608. Actual: ' + (127 << 22)); -} - - -if (255 << 22 !== 1069547520) { - $ERROR('#713: 255 << 22 === 1069547520. Actual: ' + (255 << 22)); -} - - -if (511 << 22 !== 2143289344) { - $ERROR('#714: 511 << 22 === 2143289344. Actual: ' + (511 << 22)); -} - - -if (1023 << 22 !== -4194304) { - $ERROR('#715: 1023 << 22 === -4194304. Actual: ' + (1023 << 22)); -} - - -if (2047 << 22 !== -4194304) { - $ERROR('#716: 2047 << 22 === -4194304. Actual: ' + (2047 << 22)); -} - - -if (4095 << 22 !== -4194304) { - $ERROR('#717: 4095 << 22 === -4194304. Actual: ' + (4095 << 22)); -} - - -if (8191 << 22 !== -4194304) { - $ERROR('#718: 8191 << 22 === -4194304. Actual: ' + (8191 << 22)); -} - - -if (16383 << 22 !== -4194304) { - $ERROR('#719: 16383 << 22 === -4194304. Actual: ' + (16383 << 22)); -} - - -if (32767 << 22 !== -4194304) { - $ERROR('#720: 32767 << 22 === -4194304. Actual: ' + (32767 << 22)); -} - - -if (65535 << 22 !== -4194304) { - $ERROR('#721: 65535 << 22 === -4194304. Actual: ' + (65535 << 22)); -} - - -if (131071 << 22 !== -4194304) { - $ERROR('#722: 131071 << 22 === -4194304. Actual: ' + (131071 << 22)); -} - - -if (262143 << 22 !== -4194304) { - $ERROR('#723: 262143 << 22 === -4194304. Actual: ' + (262143 << 22)); -} - - -if (524287 << 22 !== -4194304) { - $ERROR('#724: 524287 << 22 === -4194304. Actual: ' + (524287 << 22)); -} - - -if (1048575 << 22 !== -4194304) { - $ERROR('#725: 1048575 << 22 === -4194304. Actual: ' + (1048575 << 22)); -} - - -if (2097151 << 22 !== -4194304) { - $ERROR('#726: 2097151 << 22 === -4194304. Actual: ' + (2097151 << 22)); -} - - -if (4194303 << 22 !== -4194304) { - $ERROR('#727: 4194303 << 22 === -4194304. Actual: ' + (4194303 << 22)); -} - - -if (8388607 << 22 !== -4194304) { - $ERROR('#728: 8388607 << 22 === -4194304. Actual: ' + (8388607 << 22)); -} - - -if (16777215 << 22 !== -4194304) { - $ERROR('#729: 16777215 << 22 === -4194304. Actual: ' + (16777215 << 22)); -} - - -if (33554431 << 22 !== -4194304) { - $ERROR('#730: 33554431 << 22 === -4194304. Actual: ' + (33554431 << 22)); -} - - -if (67108863 << 22 !== -4194304) { - $ERROR('#731: 67108863 << 22 === -4194304. Actual: ' + (67108863 << 22)); -} - - -if (134217727 << 22 !== -4194304) { - $ERROR('#732: 134217727 << 22 === -4194304. Actual: ' + (134217727 << 22)); -} - - -if (268435455 << 22 !== -4194304) { - $ERROR('#733: 268435455 << 22 === -4194304. Actual: ' + (268435455 << 22)); -} - - -if (536870911 << 22 !== -4194304) { - $ERROR('#734: 536870911 << 22 === -4194304. Actual: ' + (536870911 << 22)); -} - - -if (1073741823 << 22 !== -4194304) { - $ERROR('#735: 1073741823 << 22 === -4194304. Actual: ' + (1073741823 << 22)); -} - - -if (2147483647 << 22 !== -4194304) { - $ERROR('#736: 2147483647 << 22 === -4194304. Actual: ' + (2147483647 << 22)); -} - - -if (0 << 23 !== 0) { - $ERROR('#737: 0 << 23 === 0. Actual: ' + (0 << 23)); -} - - -if (1 << 23 !== 8388608) { - $ERROR('#738: 1 << 23 === 8388608. Actual: ' + (1 << 23)); -} - - -if (3 << 23 !== 25165824) { - $ERROR('#739: 3 << 23 === 25165824. Actual: ' + (3 << 23)); -} - - -if (7 << 23 !== 58720256) { - $ERROR('#740: 7 << 23 === 58720256. Actual: ' + (7 << 23)); -} - - -if (15 << 23 !== 125829120) { - $ERROR('#741: 15 << 23 === 125829120. Actual: ' + (15 << 23)); -} - - -if (31 << 23 !== 260046848) { - $ERROR('#742: 31 << 23 === 260046848. Actual: ' + (31 << 23)); -} - - -if (63 << 23 !== 528482304) { - $ERROR('#743: 63 << 23 === 528482304. Actual: ' + (63 << 23)); -} - - -if (127 << 23 !== 1065353216) { - $ERROR('#744: 127 << 23 === 1065353216. Actual: ' + (127 << 23)); -} - - -if (255 << 23 !== 2139095040) { - $ERROR('#745: 255 << 23 === 2139095040. Actual: ' + (255 << 23)); -} - - -if (511 << 23 !== -8388608) { - $ERROR('#746: 511 << 23 === -8388608. Actual: ' + (511 << 23)); -} - - -if (1023 << 23 !== -8388608) { - $ERROR('#747: 1023 << 23 === -8388608. Actual: ' + (1023 << 23)); -} - - -if (2047 << 23 !== -8388608) { - $ERROR('#748: 2047 << 23 === -8388608. Actual: ' + (2047 << 23)); -} - - -if (4095 << 23 !== -8388608) { - $ERROR('#749: 4095 << 23 === -8388608. Actual: ' + (4095 << 23)); -} - - -if (8191 << 23 !== -8388608) { - $ERROR('#750: 8191 << 23 === -8388608. Actual: ' + (8191 << 23)); -} - - -if (16383 << 23 !== -8388608) { - $ERROR('#751: 16383 << 23 === -8388608. Actual: ' + (16383 << 23)); -} - - -if (32767 << 23 !== -8388608) { - $ERROR('#752: 32767 << 23 === -8388608. Actual: ' + (32767 << 23)); -} - - -if (65535 << 23 !== -8388608) { - $ERROR('#753: 65535 << 23 === -8388608. Actual: ' + (65535 << 23)); -} - - -if (131071 << 23 !== -8388608) { - $ERROR('#754: 131071 << 23 === -8388608. Actual: ' + (131071 << 23)); -} - - -if (262143 << 23 !== -8388608) { - $ERROR('#755: 262143 << 23 === -8388608. Actual: ' + (262143 << 23)); -} - - -if (524287 << 23 !== -8388608) { - $ERROR('#756: 524287 << 23 === -8388608. Actual: ' + (524287 << 23)); -} - - -if (1048575 << 23 !== -8388608) { - $ERROR('#757: 1048575 << 23 === -8388608. Actual: ' + (1048575 << 23)); -} - - -if (2097151 << 23 !== -8388608) { - $ERROR('#758: 2097151 << 23 === -8388608. Actual: ' + (2097151 << 23)); -} - - -if (4194303 << 23 !== -8388608) { - $ERROR('#759: 4194303 << 23 === -8388608. Actual: ' + (4194303 << 23)); -} - - -if (8388607 << 23 !== -8388608) { - $ERROR('#760: 8388607 << 23 === -8388608. Actual: ' + (8388607 << 23)); -} - - -if (16777215 << 23 !== -8388608) { - $ERROR('#761: 16777215 << 23 === -8388608. Actual: ' + (16777215 << 23)); -} - - -if (33554431 << 23 !== -8388608) { - $ERROR('#762: 33554431 << 23 === -8388608. Actual: ' + (33554431 << 23)); -} - - -if (67108863 << 23 !== -8388608) { - $ERROR('#763: 67108863 << 23 === -8388608. Actual: ' + (67108863 << 23)); -} - - -if (134217727 << 23 !== -8388608) { - $ERROR('#764: 134217727 << 23 === -8388608. Actual: ' + (134217727 << 23)); -} - - -if (268435455 << 23 !== -8388608) { - $ERROR('#765: 268435455 << 23 === -8388608. Actual: ' + (268435455 << 23)); -} - - -if (536870911 << 23 !== -8388608) { - $ERROR('#766: 536870911 << 23 === -8388608. Actual: ' + (536870911 << 23)); -} - - -if (1073741823 << 23 !== -8388608) { - $ERROR('#767: 1073741823 << 23 === -8388608. Actual: ' + (1073741823 << 23)); -} - - -if (2147483647 << 23 !== -8388608) { - $ERROR('#768: 2147483647 << 23 === -8388608. Actual: ' + (2147483647 << 23)); -} - - -if (0 << 24 !== 0) { - $ERROR('#769: 0 << 24 === 0. Actual: ' + (0 << 24)); -} - - -if (1 << 24 !== 16777216) { - $ERROR('#770: 1 << 24 === 16777216. Actual: ' + (1 << 24)); -} - - -if (3 << 24 !== 50331648) { - $ERROR('#771: 3 << 24 === 50331648. Actual: ' + (3 << 24)); -} - - -if (7 << 24 !== 117440512) { - $ERROR('#772: 7 << 24 === 117440512. Actual: ' + (7 << 24)); -} - - -if (15 << 24 !== 251658240) { - $ERROR('#773: 15 << 24 === 251658240. Actual: ' + (15 << 24)); -} - - -if (31 << 24 !== 520093696) { - $ERROR('#774: 31 << 24 === 520093696. Actual: ' + (31 << 24)); -} - - -if (63 << 24 !== 1056964608) { - $ERROR('#775: 63 << 24 === 1056964608. Actual: ' + (63 << 24)); -} - - -if (127 << 24 !== 2130706432) { - $ERROR('#776: 127 << 24 === 2130706432. Actual: ' + (127 << 24)); -} - - -if (255 << 24 !== -16777216) { - $ERROR('#777: 255 << 24 === -16777216. Actual: ' + (255 << 24)); -} - - -if (511 << 24 !== -16777216) { - $ERROR('#778: 511 << 24 === -16777216. Actual: ' + (511 << 24)); -} - - -if (1023 << 24 !== -16777216) { - $ERROR('#779: 1023 << 24 === -16777216. Actual: ' + (1023 << 24)); -} - - -if (2047 << 24 !== -16777216) { - $ERROR('#780: 2047 << 24 === -16777216. Actual: ' + (2047 << 24)); -} - - -if (4095 << 24 !== -16777216) { - $ERROR('#781: 4095 << 24 === -16777216. Actual: ' + (4095 << 24)); -} - - -if (8191 << 24 !== -16777216) { - $ERROR('#782: 8191 << 24 === -16777216. Actual: ' + (8191 << 24)); -} - - -if (16383 << 24 !== -16777216) { - $ERROR('#783: 16383 << 24 === -16777216. Actual: ' + (16383 << 24)); -} - - -if (32767 << 24 !== -16777216) { - $ERROR('#784: 32767 << 24 === -16777216. Actual: ' + (32767 << 24)); -} - - -if (65535 << 24 !== -16777216) { - $ERROR('#785: 65535 << 24 === -16777216. Actual: ' + (65535 << 24)); -} - - -if (131071 << 24 !== -16777216) { - $ERROR('#786: 131071 << 24 === -16777216. Actual: ' + (131071 << 24)); -} - - -if (262143 << 24 !== -16777216) { - $ERROR('#787: 262143 << 24 === -16777216. Actual: ' + (262143 << 24)); -} - - -if (524287 << 24 !== -16777216) { - $ERROR('#788: 524287 << 24 === -16777216. Actual: ' + (524287 << 24)); -} - - -if (1048575 << 24 !== -16777216) { - $ERROR('#789: 1048575 << 24 === -16777216. Actual: ' + (1048575 << 24)); -} - - -if (2097151 << 24 !== -16777216) { - $ERROR('#790: 2097151 << 24 === -16777216. Actual: ' + (2097151 << 24)); -} - - -if (4194303 << 24 !== -16777216) { - $ERROR('#791: 4194303 << 24 === -16777216. Actual: ' + (4194303 << 24)); -} - - -if (8388607 << 24 !== -16777216) { - $ERROR('#792: 8388607 << 24 === -16777216. Actual: ' + (8388607 << 24)); -} - - -if (16777215 << 24 !== -16777216) { - $ERROR('#793: 16777215 << 24 === -16777216. Actual: ' + (16777215 << 24)); -} - - -if (33554431 << 24 !== -16777216) { - $ERROR('#794: 33554431 << 24 === -16777216. Actual: ' + (33554431 << 24)); -} - - -if (67108863 << 24 !== -16777216) { - $ERROR('#795: 67108863 << 24 === -16777216. Actual: ' + (67108863 << 24)); -} - - -if (134217727 << 24 !== -16777216) { - $ERROR('#796: 134217727 << 24 === -16777216. Actual: ' + (134217727 << 24)); -} - - -if (268435455 << 24 !== -16777216) { - $ERROR('#797: 268435455 << 24 === -16777216. Actual: ' + (268435455 << 24)); -} - - -if (536870911 << 24 !== -16777216) { - $ERROR('#798: 536870911 << 24 === -16777216. Actual: ' + (536870911 << 24)); -} - - -if (1073741823 << 24 !== -16777216) { - $ERROR('#799: 1073741823 << 24 === -16777216. Actual: ' + (1073741823 << 24)); -} - - -if (2147483647 << 24 !== -16777216) { - $ERROR('#800: 2147483647 << 24 === -16777216. Actual: ' + (2147483647 << 24)); -} - - -if (0 << 25 !== 0) { - $ERROR('#801: 0 << 25 === 0. Actual: ' + (0 << 25)); -} - - -if (1 << 25 !== 33554432) { - $ERROR('#802: 1 << 25 === 33554432. Actual: ' + (1 << 25)); -} - - -if (3 << 25 !== 100663296) { - $ERROR('#803: 3 << 25 === 100663296. Actual: ' + (3 << 25)); -} - - -if (7 << 25 !== 234881024) { - $ERROR('#804: 7 << 25 === 234881024. Actual: ' + (7 << 25)); -} - - -if (15 << 25 !== 503316480) { - $ERROR('#805: 15 << 25 === 503316480. Actual: ' + (15 << 25)); -} - - -if (31 << 25 !== 1040187392) { - $ERROR('#806: 31 << 25 === 1040187392. Actual: ' + (31 << 25)); -} - - -if (63 << 25 !== 2113929216) { - $ERROR('#807: 63 << 25 === 2113929216. Actual: ' + (63 << 25)); -} - - -if (127 << 25 !== -33554432) { - $ERROR('#808: 127 << 25 === -33554432. Actual: ' + (127 << 25)); -} - - -if (255 << 25 !== -33554432) { - $ERROR('#809: 255 << 25 === -33554432. Actual: ' + (255 << 25)); -} - - -if (511 << 25 !== -33554432) { - $ERROR('#810: 511 << 25 === -33554432. Actual: ' + (511 << 25)); -} - - -if (1023 << 25 !== -33554432) { - $ERROR('#811: 1023 << 25 === -33554432. Actual: ' + (1023 << 25)); -} - - -if (2047 << 25 !== -33554432) { - $ERROR('#812: 2047 << 25 === -33554432. Actual: ' + (2047 << 25)); -} - - -if (4095 << 25 !== -33554432) { - $ERROR('#813: 4095 << 25 === -33554432. Actual: ' + (4095 << 25)); -} - - -if (8191 << 25 !== -33554432) { - $ERROR('#814: 8191 << 25 === -33554432. Actual: ' + (8191 << 25)); -} - - -if (16383 << 25 !== -33554432) { - $ERROR('#815: 16383 << 25 === -33554432. Actual: ' + (16383 << 25)); -} - - -if (32767 << 25 !== -33554432) { - $ERROR('#816: 32767 << 25 === -33554432. Actual: ' + (32767 << 25)); -} - - -if (65535 << 25 !== -33554432) { - $ERROR('#817: 65535 << 25 === -33554432. Actual: ' + (65535 << 25)); -} - - -if (131071 << 25 !== -33554432) { - $ERROR('#818: 131071 << 25 === -33554432. Actual: ' + (131071 << 25)); -} - - -if (262143 << 25 !== -33554432) { - $ERROR('#819: 262143 << 25 === -33554432. Actual: ' + (262143 << 25)); -} - - -if (524287 << 25 !== -33554432) { - $ERROR('#820: 524287 << 25 === -33554432. Actual: ' + (524287 << 25)); -} - - -if (1048575 << 25 !== -33554432) { - $ERROR('#821: 1048575 << 25 === -33554432. Actual: ' + (1048575 << 25)); -} - - -if (2097151 << 25 !== -33554432) { - $ERROR('#822: 2097151 << 25 === -33554432. Actual: ' + (2097151 << 25)); -} - - -if (4194303 << 25 !== -33554432) { - $ERROR('#823: 4194303 << 25 === -33554432. Actual: ' + (4194303 << 25)); -} - - -if (8388607 << 25 !== -33554432) { - $ERROR('#824: 8388607 << 25 === -33554432. Actual: ' + (8388607 << 25)); -} - - -if (16777215 << 25 !== -33554432) { - $ERROR('#825: 16777215 << 25 === -33554432. Actual: ' + (16777215 << 25)); -} - - -if (33554431 << 25 !== -33554432) { - $ERROR('#826: 33554431 << 25 === -33554432. Actual: ' + (33554431 << 25)); -} - - -if (67108863 << 25 !== -33554432) { - $ERROR('#827: 67108863 << 25 === -33554432. Actual: ' + (67108863 << 25)); -} - - -if (134217727 << 25 !== -33554432) { - $ERROR('#828: 134217727 << 25 === -33554432. Actual: ' + (134217727 << 25)); -} - - -if (268435455 << 25 !== -33554432) { - $ERROR('#829: 268435455 << 25 === -33554432. Actual: ' + (268435455 << 25)); -} - - -if (536870911 << 25 !== -33554432) { - $ERROR('#830: 536870911 << 25 === -33554432. Actual: ' + (536870911 << 25)); -} - - -if (1073741823 << 25 !== -33554432) { - $ERROR('#831: 1073741823 << 25 === -33554432. Actual: ' + (1073741823 << 25)); -} - - -if (2147483647 << 25 !== -33554432) { - $ERROR('#832: 2147483647 << 25 === -33554432. Actual: ' + (2147483647 << 25)); -} - - -if (0 << 26 !== 0) { - $ERROR('#833: 0 << 26 === 0. Actual: ' + (0 << 26)); -} - - -if (1 << 26 !== 67108864) { - $ERROR('#834: 1 << 26 === 67108864. Actual: ' + (1 << 26)); -} - - -if (3 << 26 !== 201326592) { - $ERROR('#835: 3 << 26 === 201326592. Actual: ' + (3 << 26)); -} - - -if (7 << 26 !== 469762048) { - $ERROR('#836: 7 << 26 === 469762048. Actual: ' + (7 << 26)); -} - - -if (15 << 26 !== 1006632960) { - $ERROR('#837: 15 << 26 === 1006632960. Actual: ' + (15 << 26)); -} - - -if (31 << 26 !== 2080374784) { - $ERROR('#838: 31 << 26 === 2080374784. Actual: ' + (31 << 26)); -} - - -if (63 << 26 !== -67108864) { - $ERROR('#839: 63 << 26 === -67108864. Actual: ' + (63 << 26)); -} - - -if (127 << 26 !== -67108864) { - $ERROR('#840: 127 << 26 === -67108864. Actual: ' + (127 << 26)); -} - - -if (255 << 26 !== -67108864) { - $ERROR('#841: 255 << 26 === -67108864. Actual: ' + (255 << 26)); -} - - -if (511 << 26 !== -67108864) { - $ERROR('#842: 511 << 26 === -67108864. Actual: ' + (511 << 26)); -} - - -if (1023 << 26 !== -67108864) { - $ERROR('#843: 1023 << 26 === -67108864. Actual: ' + (1023 << 26)); -} - - -if (2047 << 26 !== -67108864) { - $ERROR('#844: 2047 << 26 === -67108864. Actual: ' + (2047 << 26)); -} - - -if (4095 << 26 !== -67108864) { - $ERROR('#845: 4095 << 26 === -67108864. Actual: ' + (4095 << 26)); -} - - -if (8191 << 26 !== -67108864) { - $ERROR('#846: 8191 << 26 === -67108864. Actual: ' + (8191 << 26)); -} - - -if (16383 << 26 !== -67108864) { - $ERROR('#847: 16383 << 26 === -67108864. Actual: ' + (16383 << 26)); -} - - -if (32767 << 26 !== -67108864) { - $ERROR('#848: 32767 << 26 === -67108864. Actual: ' + (32767 << 26)); -} - - -if (65535 << 26 !== -67108864) { - $ERROR('#849: 65535 << 26 === -67108864. Actual: ' + (65535 << 26)); -} - - -if (131071 << 26 !== -67108864) { - $ERROR('#850: 131071 << 26 === -67108864. Actual: ' + (131071 << 26)); -} - - -if (262143 << 26 !== -67108864) { - $ERROR('#851: 262143 << 26 === -67108864. Actual: ' + (262143 << 26)); -} - - -if (524287 << 26 !== -67108864) { - $ERROR('#852: 524287 << 26 === -67108864. Actual: ' + (524287 << 26)); -} - - -if (1048575 << 26 !== -67108864) { - $ERROR('#853: 1048575 << 26 === -67108864. Actual: ' + (1048575 << 26)); -} - - -if (2097151 << 26 !== -67108864) { - $ERROR('#854: 2097151 << 26 === -67108864. Actual: ' + (2097151 << 26)); -} - - -if (4194303 << 26 !== -67108864) { - $ERROR('#855: 4194303 << 26 === -67108864. Actual: ' + (4194303 << 26)); -} - - -if (8388607 << 26 !== -67108864) { - $ERROR('#856: 8388607 << 26 === -67108864. Actual: ' + (8388607 << 26)); -} - - -if (16777215 << 26 !== -67108864) { - $ERROR('#857: 16777215 << 26 === -67108864. Actual: ' + (16777215 << 26)); -} - - -if (33554431 << 26 !== -67108864) { - $ERROR('#858: 33554431 << 26 === -67108864. Actual: ' + (33554431 << 26)); -} - - -if (67108863 << 26 !== -67108864) { - $ERROR('#859: 67108863 << 26 === -67108864. Actual: ' + (67108863 << 26)); -} - - -if (134217727 << 26 !== -67108864) { - $ERROR('#860: 134217727 << 26 === -67108864. Actual: ' + (134217727 << 26)); -} - - -if (268435455 << 26 !== -67108864) { - $ERROR('#861: 268435455 << 26 === -67108864. Actual: ' + (268435455 << 26)); -} - - -if (536870911 << 26 !== -67108864) { - $ERROR('#862: 536870911 << 26 === -67108864. Actual: ' + (536870911 << 26)); -} - - -if (1073741823 << 26 !== -67108864) { - $ERROR('#863: 1073741823 << 26 === -67108864. Actual: ' + (1073741823 << 26)); -} - - -if (2147483647 << 26 !== -67108864) { - $ERROR('#864: 2147483647 << 26 === -67108864. Actual: ' + (2147483647 << 26)); -} - - -if (0 << 27 !== 0) { - $ERROR('#865: 0 << 27 === 0. Actual: ' + (0 << 27)); -} - - -if (1 << 27 !== 134217728) { - $ERROR('#866: 1 << 27 === 134217728. Actual: ' + (1 << 27)); -} - - -if (3 << 27 !== 402653184) { - $ERROR('#867: 3 << 27 === 402653184. Actual: ' + (3 << 27)); -} - - -if (7 << 27 !== 939524096) { - $ERROR('#868: 7 << 27 === 939524096. Actual: ' + (7 << 27)); -} - - -if (15 << 27 !== 2013265920) { - $ERROR('#869: 15 << 27 === 2013265920. Actual: ' + (15 << 27)); -} - - -if (31 << 27 !== -134217728) { - $ERROR('#870: 31 << 27 === -134217728. Actual: ' + (31 << 27)); -} - - -if (63 << 27 !== -134217728) { - $ERROR('#871: 63 << 27 === -134217728. Actual: ' + (63 << 27)); -} - - -if (127 << 27 !== -134217728) { - $ERROR('#872: 127 << 27 === -134217728. Actual: ' + (127 << 27)); -} - - -if (255 << 27 !== -134217728) { - $ERROR('#873: 255 << 27 === -134217728. Actual: ' + (255 << 27)); -} - - -if (511 << 27 !== -134217728) { - $ERROR('#874: 511 << 27 === -134217728. Actual: ' + (511 << 27)); -} - - -if (1023 << 27 !== -134217728) { - $ERROR('#875: 1023 << 27 === -134217728. Actual: ' + (1023 << 27)); -} - - -if (2047 << 27 !== -134217728) { - $ERROR('#876: 2047 << 27 === -134217728. Actual: ' + (2047 << 27)); -} - - -if (4095 << 27 !== -134217728) { - $ERROR('#877: 4095 << 27 === -134217728. Actual: ' + (4095 << 27)); -} - - -if (8191 << 27 !== -134217728) { - $ERROR('#878: 8191 << 27 === -134217728. Actual: ' + (8191 << 27)); -} - - -if (16383 << 27 !== -134217728) { - $ERROR('#879: 16383 << 27 === -134217728. Actual: ' + (16383 << 27)); -} - - -if (32767 << 27 !== -134217728) { - $ERROR('#880: 32767 << 27 === -134217728. Actual: ' + (32767 << 27)); -} - - -if (65535 << 27 !== -134217728) { - $ERROR('#881: 65535 << 27 === -134217728. Actual: ' + (65535 << 27)); -} - - -if (131071 << 27 !== -134217728) { - $ERROR('#882: 131071 << 27 === -134217728. Actual: ' + (131071 << 27)); -} - - -if (262143 << 27 !== -134217728) { - $ERROR('#883: 262143 << 27 === -134217728. Actual: ' + (262143 << 27)); -} - - -if (524287 << 27 !== -134217728) { - $ERROR('#884: 524287 << 27 === -134217728. Actual: ' + (524287 << 27)); -} - - -if (1048575 << 27 !== -134217728) { - $ERROR('#885: 1048575 << 27 === -134217728. Actual: ' + (1048575 << 27)); -} - - -if (2097151 << 27 !== -134217728) { - $ERROR('#886: 2097151 << 27 === -134217728. Actual: ' + (2097151 << 27)); -} - - -if (4194303 << 27 !== -134217728) { - $ERROR('#887: 4194303 << 27 === -134217728. Actual: ' + (4194303 << 27)); -} - - -if (8388607 << 27 !== -134217728) { - $ERROR('#888: 8388607 << 27 === -134217728. Actual: ' + (8388607 << 27)); -} - - -if (16777215 << 27 !== -134217728) { - $ERROR('#889: 16777215 << 27 === -134217728. Actual: ' + (16777215 << 27)); -} - - -if (33554431 << 27 !== -134217728) { - $ERROR('#890: 33554431 << 27 === -134217728. Actual: ' + (33554431 << 27)); -} - - -if (67108863 << 27 !== -134217728) { - $ERROR('#891: 67108863 << 27 === -134217728. Actual: ' + (67108863 << 27)); -} - - -if (134217727 << 27 !== -134217728) { - $ERROR('#892: 134217727 << 27 === -134217728. Actual: ' + (134217727 << 27)); -} - - -if (268435455 << 27 !== -134217728) { - $ERROR('#893: 268435455 << 27 === -134217728. Actual: ' + (268435455 << 27)); -} - - -if (536870911 << 27 !== -134217728) { - $ERROR('#894: 536870911 << 27 === -134217728. Actual: ' + (536870911 << 27)); -} - - -if (1073741823 << 27 !== -134217728) { - $ERROR('#895: 1073741823 << 27 === -134217728. Actual: ' + (1073741823 << 27)); -} - - -if (2147483647 << 27 !== -134217728) { - $ERROR('#896: 2147483647 << 27 === -134217728. Actual: ' + (2147483647 << 27)); -} - - -if (0 << 28 !== 0) { - $ERROR('#897: 0 << 28 === 0. Actual: ' + (0 << 28)); -} - - -if (1 << 28 !== 268435456) { - $ERROR('#898: 1 << 28 === 268435456. Actual: ' + (1 << 28)); -} - - -if (3 << 28 !== 805306368) { - $ERROR('#899: 3 << 28 === 805306368. Actual: ' + (3 << 28)); -} - - -if (7 << 28 !== 1879048192) { - $ERROR('#900: 7 << 28 === 1879048192. Actual: ' + (7 << 28)); -} - - -if (15 << 28 !== -268435456) { - $ERROR('#901: 15 << 28 === -268435456. Actual: ' + (15 << 28)); -} - - -if (31 << 28 !== -268435456) { - $ERROR('#902: 31 << 28 === -268435456. Actual: ' + (31 << 28)); -} - - -if (63 << 28 !== -268435456) { - $ERROR('#903: 63 << 28 === -268435456. Actual: ' + (63 << 28)); -} - - -if (127 << 28 !== -268435456) { - $ERROR('#904: 127 << 28 === -268435456. Actual: ' + (127 << 28)); -} - - -if (255 << 28 !== -268435456) { - $ERROR('#905: 255 << 28 === -268435456. Actual: ' + (255 << 28)); -} - - -if (511 << 28 !== -268435456) { - $ERROR('#906: 511 << 28 === -268435456. Actual: ' + (511 << 28)); -} - - -if (1023 << 28 !== -268435456) { - $ERROR('#907: 1023 << 28 === -268435456. Actual: ' + (1023 << 28)); -} - - -if (2047 << 28 !== -268435456) { - $ERROR('#908: 2047 << 28 === -268435456. Actual: ' + (2047 << 28)); -} - - -if (4095 << 28 !== -268435456) { - $ERROR('#909: 4095 << 28 === -268435456. Actual: ' + (4095 << 28)); -} - - -if (8191 << 28 !== -268435456) { - $ERROR('#910: 8191 << 28 === -268435456. Actual: ' + (8191 << 28)); -} - - -if (16383 << 28 !== -268435456) { - $ERROR('#911: 16383 << 28 === -268435456. Actual: ' + (16383 << 28)); -} - - -if (32767 << 28 !== -268435456) { - $ERROR('#912: 32767 << 28 === -268435456. Actual: ' + (32767 << 28)); -} - - -if (65535 << 28 !== -268435456) { - $ERROR('#913: 65535 << 28 === -268435456. Actual: ' + (65535 << 28)); -} - - -if (131071 << 28 !== -268435456) { - $ERROR('#914: 131071 << 28 === -268435456. Actual: ' + (131071 << 28)); -} - - -if (262143 << 28 !== -268435456) { - $ERROR('#915: 262143 << 28 === -268435456. Actual: ' + (262143 << 28)); -} - - -if (524287 << 28 !== -268435456) { - $ERROR('#916: 524287 << 28 === -268435456. Actual: ' + (524287 << 28)); -} - - -if (1048575 << 28 !== -268435456) { - $ERROR('#917: 1048575 << 28 === -268435456. Actual: ' + (1048575 << 28)); -} - - -if (2097151 << 28 !== -268435456) { - $ERROR('#918: 2097151 << 28 === -268435456. Actual: ' + (2097151 << 28)); -} - - -if (4194303 << 28 !== -268435456) { - $ERROR('#919: 4194303 << 28 === -268435456. Actual: ' + (4194303 << 28)); -} - - -if (8388607 << 28 !== -268435456) { - $ERROR('#920: 8388607 << 28 === -268435456. Actual: ' + (8388607 << 28)); -} - - -if (16777215 << 28 !== -268435456) { - $ERROR('#921: 16777215 << 28 === -268435456. Actual: ' + (16777215 << 28)); -} - - -if (33554431 << 28 !== -268435456) { - $ERROR('#922: 33554431 << 28 === -268435456. Actual: ' + (33554431 << 28)); -} - - -if (67108863 << 28 !== -268435456) { - $ERROR('#923: 67108863 << 28 === -268435456. Actual: ' + (67108863 << 28)); -} - - -if (134217727 << 28 !== -268435456) { - $ERROR('#924: 134217727 << 28 === -268435456. Actual: ' + (134217727 << 28)); -} - - -if (268435455 << 28 !== -268435456) { - $ERROR('#925: 268435455 << 28 === -268435456. Actual: ' + (268435455 << 28)); -} - - -if (536870911 << 28 !== -268435456) { - $ERROR('#926: 536870911 << 28 === -268435456. Actual: ' + (536870911 << 28)); -} - - -if (1073741823 << 28 !== -268435456) { - $ERROR('#927: 1073741823 << 28 === -268435456. Actual: ' + (1073741823 << 28)); -} - - -if (2147483647 << 28 !== -268435456) { - $ERROR('#928: 2147483647 << 28 === -268435456. Actual: ' + (2147483647 << 28)); -} - - -if (0 << 29 !== 0) { - $ERROR('#929: 0 << 29 === 0. Actual: ' + (0 << 29)); -} - - -if (1 << 29 !== 536870912) { - $ERROR('#930: 1 << 29 === 536870912. Actual: ' + (1 << 29)); -} - - -if (3 << 29 !== 1610612736) { - $ERROR('#931: 3 << 29 === 1610612736. Actual: ' + (3 << 29)); -} - - -if (7 << 29 !== -536870912) { - $ERROR('#932: 7 << 29 === -536870912. Actual: ' + (7 << 29)); -} - - -if (15 << 29 !== -536870912) { - $ERROR('#933: 15 << 29 === -536870912. Actual: ' + (15 << 29)); -} - - -if (31 << 29 !== -536870912) { - $ERROR('#934: 31 << 29 === -536870912. Actual: ' + (31 << 29)); -} - - -if (63 << 29 !== -536870912) { - $ERROR('#935: 63 << 29 === -536870912. Actual: ' + (63 << 29)); -} - - -if (127 << 29 !== -536870912) { - $ERROR('#936: 127 << 29 === -536870912. Actual: ' + (127 << 29)); -} - - -if (255 << 29 !== -536870912) { - $ERROR('#937: 255 << 29 === -536870912. Actual: ' + (255 << 29)); -} - - -if (511 << 29 !== -536870912) { - $ERROR('#938: 511 << 29 === -536870912. Actual: ' + (511 << 29)); -} - - -if (1023 << 29 !== -536870912) { - $ERROR('#939: 1023 << 29 === -536870912. Actual: ' + (1023 << 29)); -} - - -if (2047 << 29 !== -536870912) { - $ERROR('#940: 2047 << 29 === -536870912. Actual: ' + (2047 << 29)); -} - - -if (4095 << 29 !== -536870912) { - $ERROR('#941: 4095 << 29 === -536870912. Actual: ' + (4095 << 29)); -} - - -if (8191 << 29 !== -536870912) { - $ERROR('#942: 8191 << 29 === -536870912. Actual: ' + (8191 << 29)); -} - - -if (16383 << 29 !== -536870912) { - $ERROR('#943: 16383 << 29 === -536870912. Actual: ' + (16383 << 29)); -} - - -if (32767 << 29 !== -536870912) { - $ERROR('#944: 32767 << 29 === -536870912. Actual: ' + (32767 << 29)); -} - - -if (65535 << 29 !== -536870912) { - $ERROR('#945: 65535 << 29 === -536870912. Actual: ' + (65535 << 29)); -} - - -if (131071 << 29 !== -536870912) { - $ERROR('#946: 131071 << 29 === -536870912. Actual: ' + (131071 << 29)); -} - - -if (262143 << 29 !== -536870912) { - $ERROR('#947: 262143 << 29 === -536870912. Actual: ' + (262143 << 29)); -} - - -if (524287 << 29 !== -536870912) { - $ERROR('#948: 524287 << 29 === -536870912. Actual: ' + (524287 << 29)); -} - - -if (1048575 << 29 !== -536870912) { - $ERROR('#949: 1048575 << 29 === -536870912. Actual: ' + (1048575 << 29)); -} - - -if (2097151 << 29 !== -536870912) { - $ERROR('#950: 2097151 << 29 === -536870912. Actual: ' + (2097151 << 29)); -} - - -if (4194303 << 29 !== -536870912) { - $ERROR('#951: 4194303 << 29 === -536870912. Actual: ' + (4194303 << 29)); -} - - -if (8388607 << 29 !== -536870912) { - $ERROR('#952: 8388607 << 29 === -536870912. Actual: ' + (8388607 << 29)); -} - - -if (16777215 << 29 !== -536870912) { - $ERROR('#953: 16777215 << 29 === -536870912. Actual: ' + (16777215 << 29)); -} - - -if (33554431 << 29 !== -536870912) { - $ERROR('#954: 33554431 << 29 === -536870912. Actual: ' + (33554431 << 29)); -} - - -if (67108863 << 29 !== -536870912) { - $ERROR('#955: 67108863 << 29 === -536870912. Actual: ' + (67108863 << 29)); -} - - -if (134217727 << 29 !== -536870912) { - $ERROR('#956: 134217727 << 29 === -536870912. Actual: ' + (134217727 << 29)); -} - - -if (268435455 << 29 !== -536870912) { - $ERROR('#957: 268435455 << 29 === -536870912. Actual: ' + (268435455 << 29)); -} - - -if (536870911 << 29 !== -536870912) { - $ERROR('#958: 536870911 << 29 === -536870912. Actual: ' + (536870911 << 29)); -} - - -if (1073741823 << 29 !== -536870912) { - $ERROR('#959: 1073741823 << 29 === -536870912. Actual: ' + (1073741823 << 29)); -} - - -if (2147483647 << 29 !== -536870912) { - $ERROR('#960: 2147483647 << 29 === -536870912. Actual: ' + (2147483647 << 29)); -} - - -if (0 << 30 !== 0) { - $ERROR('#961: 0 << 30 === 0. Actual: ' + (0 << 30)); -} - - -if (1 << 30 !== 1073741824) { - $ERROR('#962: 1 << 30 === 1073741824. Actual: ' + (1 << 30)); -} - - -if (3 << 30 !== -1073741824) { - $ERROR('#963: 3 << 30 === -1073741824. Actual: ' + (3 << 30)); -} - - -if (7 << 30 !== -1073741824) { - $ERROR('#964: 7 << 30 === -1073741824. Actual: ' + (7 << 30)); -} - - -if (15 << 30 !== -1073741824) { - $ERROR('#965: 15 << 30 === -1073741824. Actual: ' + (15 << 30)); -} - - -if (31 << 30 !== -1073741824) { - $ERROR('#966: 31 << 30 === -1073741824. Actual: ' + (31 << 30)); -} - - -if (63 << 30 !== -1073741824) { - $ERROR('#967: 63 << 30 === -1073741824. Actual: ' + (63 << 30)); -} - - -if (127 << 30 !== -1073741824) { - $ERROR('#968: 127 << 30 === -1073741824. Actual: ' + (127 << 30)); -} - - -if (255 << 30 !== -1073741824) { - $ERROR('#969: 255 << 30 === -1073741824. Actual: ' + (255 << 30)); -} - - -if (511 << 30 !== -1073741824) { - $ERROR('#970: 511 << 30 === -1073741824. Actual: ' + (511 << 30)); -} - - -if (1023 << 30 !== -1073741824) { - $ERROR('#971: 1023 << 30 === -1073741824. Actual: ' + (1023 << 30)); -} - - -if (2047 << 30 !== -1073741824) { - $ERROR('#972: 2047 << 30 === -1073741824. Actual: ' + (2047 << 30)); -} - - -if (4095 << 30 !== -1073741824) { - $ERROR('#973: 4095 << 30 === -1073741824. Actual: ' + (4095 << 30)); -} - - -if (8191 << 30 !== -1073741824) { - $ERROR('#974: 8191 << 30 === -1073741824. Actual: ' + (8191 << 30)); -} - - -if (16383 << 30 !== -1073741824) { - $ERROR('#975: 16383 << 30 === -1073741824. Actual: ' + (16383 << 30)); -} - - -if (32767 << 30 !== -1073741824) { - $ERROR('#976: 32767 << 30 === -1073741824. Actual: ' + (32767 << 30)); -} - - -if (65535 << 30 !== -1073741824) { - $ERROR('#977: 65535 << 30 === -1073741824. Actual: ' + (65535 << 30)); -} - - -if (131071 << 30 !== -1073741824) { - $ERROR('#978: 131071 << 30 === -1073741824. Actual: ' + (131071 << 30)); -} - - -if (262143 << 30 !== -1073741824) { - $ERROR('#979: 262143 << 30 === -1073741824. Actual: ' + (262143 << 30)); -} - - -if (524287 << 30 !== -1073741824) { - $ERROR('#980: 524287 << 30 === -1073741824. Actual: ' + (524287 << 30)); -} - - -if (1048575 << 30 !== -1073741824) { - $ERROR('#981: 1048575 << 30 === -1073741824. Actual: ' + (1048575 << 30)); -} - - -if (2097151 << 30 !== -1073741824) { - $ERROR('#982: 2097151 << 30 === -1073741824. Actual: ' + (2097151 << 30)); -} - - -if (4194303 << 30 !== -1073741824) { - $ERROR('#983: 4194303 << 30 === -1073741824. Actual: ' + (4194303 << 30)); -} - - -if (8388607 << 30 !== -1073741824) { - $ERROR('#984: 8388607 << 30 === -1073741824. Actual: ' + (8388607 << 30)); -} - - -if (16777215 << 30 !== -1073741824) { - $ERROR('#985: 16777215 << 30 === -1073741824. Actual: ' + (16777215 << 30)); -} - - -if (33554431 << 30 !== -1073741824) { - $ERROR('#986: 33554431 << 30 === -1073741824. Actual: ' + (33554431 << 30)); -} - - -if (67108863 << 30 !== -1073741824) { - $ERROR('#987: 67108863 << 30 === -1073741824. Actual: ' + (67108863 << 30)); -} - - -if (134217727 << 30 !== -1073741824) { - $ERROR('#988: 134217727 << 30 === -1073741824. Actual: ' + (134217727 << 30)); -} - - -if (268435455 << 30 !== -1073741824) { - $ERROR('#989: 268435455 << 30 === -1073741824. Actual: ' + (268435455 << 30)); -} - - -if (536870911 << 30 !== -1073741824) { - $ERROR('#990: 536870911 << 30 === -1073741824. Actual: ' + (536870911 << 30)); -} - - -if (1073741823 << 30 !== -1073741824) { - $ERROR('#991: 1073741823 << 30 === -1073741824. Actual: ' + (1073741823 << 30)); -} - - -if (2147483647 << 30 !== -1073741824) { - $ERROR('#992: 2147483647 << 30 === -1073741824. Actual: ' + (2147483647 << 30)); -} - - -if (0 << 31 !== 0) { - $ERROR('#993: 0 << 31 === 0. Actual: ' + (0 << 31)); -} - - -if (1 << 31 !== -2147483648) { - $ERROR('#994: 1 << 31 === -2147483648. Actual: ' + (1 << 31)); -} - - -if (3 << 31 !== -2147483648) { - $ERROR('#995: 3 << 31 === -2147483648. Actual: ' + (3 << 31)); -} - - -if (7 << 31 !== -2147483648) { - $ERROR('#996: 7 << 31 === -2147483648. Actual: ' + (7 << 31)); -} - - -if (15 << 31 !== -2147483648) { - $ERROR('#997: 15 << 31 === -2147483648. Actual: ' + (15 << 31)); -} - - -if (31 << 31 !== -2147483648) { - $ERROR('#998: 31 << 31 === -2147483648. Actual: ' + (31 << 31)); -} - - -if (63 << 31 !== -2147483648) { - $ERROR('#999: 63 << 31 === -2147483648. Actual: ' + (63 << 31)); -} - - -if (127 << 31 !== -2147483648) { - $ERROR('#1000: 127 << 31 === -2147483648. Actual: ' + (127 << 31)); -} - - -if (255 << 31 !== -2147483648) { - $ERROR('#1001: 255 << 31 === -2147483648. Actual: ' + (255 << 31)); -} - - -if (511 << 31 !== -2147483648) { - $ERROR('#1002: 511 << 31 === -2147483648. Actual: ' + (511 << 31)); -} - - -if (1023 << 31 !== -2147483648) { - $ERROR('#1003: 1023 << 31 === -2147483648. Actual: ' + (1023 << 31)); -} - - -if (2047 << 31 !== -2147483648) { - $ERROR('#1004: 2047 << 31 === -2147483648. Actual: ' + (2047 << 31)); -} - - -if (4095 << 31 !== -2147483648) { - $ERROR('#1005: 4095 << 31 === -2147483648. Actual: ' + (4095 << 31)); -} - - -if (8191 << 31 !== -2147483648) { - $ERROR('#1006: 8191 << 31 === -2147483648. Actual: ' + (8191 << 31)); -} - - -if (16383 << 31 !== -2147483648) { - $ERROR('#1007: 16383 << 31 === -2147483648. Actual: ' + (16383 << 31)); -} - - -if (32767 << 31 !== -2147483648) { - $ERROR('#1008: 32767 << 31 === -2147483648. Actual: ' + (32767 << 31)); -} - - -if (65535 << 31 !== -2147483648) { - $ERROR('#1009: 65535 << 31 === -2147483648. Actual: ' + (65535 << 31)); -} - - -if (131071 << 31 !== -2147483648) { - $ERROR('#1010: 131071 << 31 === -2147483648. Actual: ' + (131071 << 31)); -} - - -if (262143 << 31 !== -2147483648) { - $ERROR('#1011: 262143 << 31 === -2147483648. Actual: ' + (262143 << 31)); -} - - -if (524287 << 31 !== -2147483648) { - $ERROR('#1012: 524287 << 31 === -2147483648. Actual: ' + (524287 << 31)); -} - - -if (1048575 << 31 !== -2147483648) { - $ERROR('#1013: 1048575 << 31 === -2147483648. Actual: ' + (1048575 << 31)); -} - - -if (2097151 << 31 !== -2147483648) { - $ERROR('#1014: 2097151 << 31 === -2147483648. Actual: ' + (2097151 << 31)); -} - - -if (4194303 << 31 !== -2147483648) { - $ERROR('#1015: 4194303 << 31 === -2147483648. Actual: ' + (4194303 << 31)); -} - - -if (8388607 << 31 !== -2147483648) { - $ERROR('#1016: 8388607 << 31 === -2147483648. Actual: ' + (8388607 << 31)); -} - - -if (16777215 << 31 !== -2147483648) { - $ERROR('#1017: 16777215 << 31 === -2147483648. Actual: ' + (16777215 << 31)); -} - - -if (33554431 << 31 !== -2147483648) { - $ERROR('#1018: 33554431 << 31 === -2147483648. Actual: ' + (33554431 << 31)); -} - - -if (67108863 << 31 !== -2147483648) { - $ERROR('#1019: 67108863 << 31 === -2147483648. Actual: ' + (67108863 << 31)); -} - - -if (134217727 << 31 !== -2147483648) { - $ERROR('#1020: 134217727 << 31 === -2147483648. Actual: ' + (134217727 << 31)); -} - - -if (268435455 << 31 !== -2147483648) { - $ERROR('#1021: 268435455 << 31 === -2147483648. Actual: ' + (268435455 << 31)); -} - - -if (536870911 << 31 !== -2147483648) { - $ERROR('#1022: 536870911 << 31 === -2147483648. Actual: ' + (536870911 << 31)); -} - - -if (1073741823 << 31 !== -2147483648) { - $ERROR('#1023: 1073741823 << 31 === -2147483648. Actual: ' + (1073741823 << 31)); -} - - -if (2147483647 << 31 !== -2147483648) { - $ERROR('#1024: 2147483647 << 31 === -2147483648. Actual: ' + (2147483647 << 31)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.js deleted file mode 100644 index 614f7f213f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A5.1_T1; - * @section: 11.7.1, 9.5; - * @assertion: Operator x << y uses ToInt32(ShiftExpression); - * @description: Checking boundary points; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A5.1_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.js", - -assertion: "Operator x << y uses ToInt32(ShiftExpression)", - -description: "Checking boundary points", - -test: function testcase() { - //CHECK#1 -if (2147483648.1 << 0 !== -2147483648) { - $ERROR('#1: 2147483648.1 << 0 === -2147483648. Actual: ' + (2147483648.1 << 0)); -} - -//CHECK#2 -if (4294967296.1 << 0 !== 0) { - $ERROR('#2: 4294967296.1 << 0 === 0. Actual: ' + (4294967296.1 << 0)); -} - -//CHECK#3 -if (6442450944.1 << 0 !== -2147483648) { - $ERROR('#3: 6442450944.1 << 0 === -2147483648. Actual: ' + (6442450944.1 << 0)); -} - -//CHECK#4 -if (4294967295.1 << 0 !== -1) { - $ERROR('#4: 4294967295.1 << 0 === -1. Actual: ' + (4294967295.1 << 0)); -} - -//CHECK#5 -if (6442450943.1 << 0 !== 2147483647) { - $ERROR('#5: 6442450943.1 << 0 === 2147483647. Actual: ' + (6442450943.1 << 0)); -} - -//CHECK#6 -if (-2147483649.1 << 0 !== 2147483647) { - $ERROR('#6: -2147483649.1 << 0 === 2147483647. Actual: ' + (-2147483649.1 << 0)); -} - -//CHECK#7 -if (-4294967297.1 << 0 !== -1) { - $ERROR('#7: -4294967297.1 << 0 === -1. Actual: ' + (-4294967297.1 << 0)); -} - -//CHECK#8 -if (-6442450945.1 << 0 !== 2147483647) { - $ERROR('#8: -6442450945.1 << 0 === 2147483647. Actual: ' + (-6442450945.1 << 0)); -} - -//CHECK#9 -if (-4294967296.1 << 0 !== 0) { - $ERROR('#9: -4294967296.1 << 0 === 0 . Actual: ' + (-4294967296.1 << 0)); -} - -//CHECK#10 -if (-6442450944.1 << 0 !== -2147483648) { - $ERROR('#10: -6442450944.1 << 0 === -2147483648. Actual: ' + (-6442450944.1 << 0)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.js deleted file mode 100644 index 2d730e28c6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.js +++ /dev/null @@ -1,346 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.1_A5.2_T1; - * @section: 11.7.1, 9.5; - * @assertion: Operator x << y uses ToUint32(AdditiveExpression) & 31; - * @description: Checking distinct points; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.1_A5.2_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.js", - -assertion: "Operator x << y uses ToUint32(AdditiveExpression) & 31", - -description: "Checking distinct points", - -test: function testcase() { - //CHECK#1 -if (1 << -32.1 !== 1) { - $ERROR('#1: 1 << -32.1 === 1. Actual: ' + (1 << -32.1)); -} - -//CHECK#2 -if (1 << -31.1 !== 2) { - $ERROR('#2: 1 << -31.1 === 2. Actual: ' + (1 << -31.1)); -} - -//CHECK#3 -if (1 << -30.1 !== 4) { - $ERROR('#3: 1 << -30.1 === 4. Actual: ' + (1 << -30.1)); -} - -//CHECK#4 -if (1 << -29.1 !== 8) { - $ERROR('#4: 1 << -29.1 === 8. Actual: ' + (1 << -29.1)); -} - -//CHECK#5 -if (1 << -28.1 !== 16) { - $ERROR('#5: 1 << -28.1 === 16. Actual: ' + (1 << -28.1)); -} - -//CHECK#6 -if (1 << -27.1 !== 32) { - $ERROR('#6: 1 << -27.1 === 32. Actual: ' + (1 << -27.1)); -} - -//CHECK#7 -if (1 << -26.1 !== 64) { - $ERROR('#7: 1 << -26.1 === 64. Actual: ' + (1 << -26.1)); -} - -//CHECK#8 -if (1 << -25.1 !== 128) { - $ERROR('#8: 1 << -25.1 === 128. Actual: ' + (1 << -25.1)); -} - -//CHECK#9 -if (1 << -24.1 !== 256) { - $ERROR('#9: 1 << -24.1 === 256. Actual: ' + (1 << -24.1)); -} - -//CHECK#10 -if (1 << -23.1 !== 512) { - $ERROR('#10: 1 << -23.1 === 512. Actual: ' + (1 << -23.1)); -} - -//CHECK#11 -if (1 << -22.1 !== 1024) { - $ERROR('#11: 1 << -22.1 === 1024. Actual: ' + (1 << -22.1)); -} - -//CHECK#12 -if (1 << -21.1 !== 2048) { - $ERROR('#12: 1 << -21.1 === 2048. Actual: ' + (1 << -21.1)); -} - -//CHECK#13 -if (1 << -20.1 !== 4096) { - $ERROR('#13: 1 << -20.1 === 4096. Actual: ' + (1 << -20.1)); -} - -//CHECK#14 -if (1 << -19.1 !== 8192) { - $ERROR('#14: 1 << -19.1 === 8192. Actual: ' + (1 << -19.1)); -} - -//CHECK#15 -if (1 << -18.1 !== 16384) { - $ERROR('#15: 1 << -18.1 === 16384. Actual: ' + (1 << -18.1)); -} - -//CHECK#16 -if (1 << -17.1 !== 32768) { - $ERROR('#16: 1 << -17.1 === 32768. Actual: ' + (1 << -17.1)); -} - -//CHECK#17 -if (1 << -16.1 !== 65536) { - $ERROR('#17: 1 << -16.1 === 65536. Actual: ' + (1 << -16.1)); -} - -//CHECK#18 -if (1 << -15.1 !== 131072) { - $ERROR('#18: 1 << -15.1 === 131072. Actual: ' + (1 << -15.1)); -} - -//CHECK#19 -if (1 << -14.1 !== 262144) { - $ERROR('#19: 1 << -14.1 === 262144. Actual: ' + (1 << -14.1)); -} - -//CHECK#20 -if (1 << -13.1 !== 524288) { - $ERROR('#20: 1 << -13.1 === 524288. Actual: ' + (1 << -13.1)); -} - -//CHECK#21 -if (1 << -12.1 !== 1048576) { - $ERROR('#21: 1 << -12.1 === 1048576. Actual: ' + (1 << -12.1)); -} - -//CHECK#22 -if (1 << -11.1 !== 2097152) { - $ERROR('#22: 1 << -11.1 === 2097152. Actual: ' + (1 << -11.1)); -} - -//CHECK#23 -if (1 << -10.1 !== 4194304) { - $ERROR('#23: 1 << -10.1 === 4194304. Actual: ' + (1 << -10.1)); -} - -//CHECK#24 -if (1 << -9.1 !== 8388608) { - $ERROR('#24: 1 << -9.1 === 8388608. Actual: ' + (1 << -9.1)); -} - -//CHECK#25 -if (1 << -8.1 !== 16777216) { - $ERROR('#25: 1 << -8.1 === 16777216. Actual: ' + (1 << -8.1)); -} - -//CHECK#26 -if (1 << -7.1 !== 33554432) { - $ERROR('#26: 1 << -7.1 === 33554432. Actual: ' + (1 << -7.1)); -} - -//CHECK#27 -if (1 << -6.1 !== 67108864) { - $ERROR('#27: 1 << -6.1 === 67108864. Actual: ' + (1 << -6.1)); -} - -//CHECK#28 -if (1 << -5.1 !== 134217728) { - $ERROR('#28: 1 << -5.1 === 134217728. Actual: ' + (1 << -5.1)); -} - -//CHECK#29 -if (1 << -4.1 !== 268435456) { - $ERROR('#29: 1 << -4.1 === 268435456. Actual: ' + (1 << -4.1)); -} - -//CHECK#30 -if (1 << -3.1 !== 536870912) { - $ERROR('#30: 1 << -3.1 === 536870912. Actual: ' + (1 << -3.1)); -} - -//CHECK#31 -if (1 << -2.1 !== 1073741824) { - $ERROR('#31: 1 << -2.1 === 1073741824. Actual: ' + (1 << -2.1)); -} - -//CHECK#32 -if (1 << -1.1 !== -2147483648) { - $ERROR('#32: 1 << -1.1 === -2147483648. Actual: ' + (1 << -1.1)); -} - -//CHECK#33 -if (1 << 32.1 !== 1) { - $ERROR('#33: 1 << 32.1 === 1. Actual: ' + (1 << 32.1)); -} - -//CHECK#34 -if (1 << 33.1 !== 2) { - $ERROR('#34: 1 << 33.1 === 2. Actual: ' + (1 << 33.1)); -} - -//CHECK#35 -if (1 << 34.1 !== 4) { - $ERROR('#35: 1 << 34.1 === 4. Actual: ' + (1 << 34.1)); -} - -//CHECK#36 -if (1 << 35.1 !== 8) { - $ERROR('#36: 1 << 35.1 === 8. Actual: ' + (1 << 35.1)); -} - -//CHECK#37 -if (1 << 36.1 !== 16) { - $ERROR('#37: 1 << 36.1 === 16. Actual: ' + (1 << 36.1)); -} - -//CHECK#38 -if (1 << 37.1 !== 32) { - $ERROR('#38: 1 << 37.1 === 32. Actual: ' + (1 << 37.1)); -} - -//CHECK#39 -if (1 << 38.1 !== 64) { - $ERROR('#39: 1 << 38.1 === 64. Actual: ' + (1 << 38.1)); -} - -//CHECK#40 -if (1 << 39.1 !== 128) { - $ERROR('#40: 1 << 39.1 === 128. Actual: ' + (1 << 39.1)); -} - -//CHECK#41 -if (1 << 40.1 !== 256) { - $ERROR('#41: 1 << 40.1 === 256. Actual: ' + (1 << 40.1)); -} - -//CHECK#42 -if (1 << 41.1 !== 512) { - $ERROR('#42: 1 << 41.1 === 512. Actual: ' + (1 << 41.1)); -} - -//CHECK#43 -if (1 << 42.1 !== 1024) { - $ERROR('#43: 1 << 42.1 === 1024. Actual: ' + (1 << 42.1)); -} - -//CHECK#44 -if (1 << 43.1 !== 2048) { - $ERROR('#44: 1 << 43.1 === 2048. Actual: ' + (1 << 43.1)); -} - -//CHECK#45 -if (1 << 44.1 !== 4096) { - $ERROR('#45: 1 << 44.1 === 4096. Actual: ' + (1 << 44.1)); -} - -//CHECK#46 -if (1 << 45.1 !== 8192) { - $ERROR('#46: 1 << 45.1 === 8192. Actual: ' + (1 << 45.1)); -} - -//CHECK#47 -if (1 << 46.1 !== 16384) { - $ERROR('#47: 1 << 46.1 === 16384. Actual: ' + (1 << 46.1)); -} - -//CHECK#48 -if (1 << 47.1 !== 32768) { - $ERROR('#48: 1 << 47.1 === 32768. Actual: ' + (1 << 47.1)); -} - -//CHECK#49 -if (1 << 48.1 !== 65536) { - $ERROR('#49: 1 << 48.1 === 65536. Actual: ' + (1 << 48.1)); -} - -//CHECK#50 -if (1 << 49.1 !== 131072) { - $ERROR('#50: 1 << 49.1 === 131072. Actual: ' + (1 << 49.1)); -} - -//CHECK#51 -if (1 << 50.1 !== 262144) { - $ERROR('#51: 1 << 50.1 === 262144. Actual: ' + (1 << 50.1)); -} - -//CHECK#52 -if (1 << 51.1 !== 524288) { - $ERROR('#52: 1 << 51.1 === 524288. Actual: ' + (1 << 51.1)); -} - -//CHECK#53 -if (1 << 52.1 !== 1048576) { - $ERROR('#53: 1 << 52.1 === 1048576. Actual: ' + (1 << 52.1)); -} - -//CHECK#54 -if (1 << 53.1 !== 2097152) { - $ERROR('#54: 1 << 53.1 === 2097152. Actual: ' + (1 << 53.1)); -} - -//CHECK#55 -if (1 << 54.1 !== 4194304) { - $ERROR('#55: 1 << 54.1 === 4194304. Actual: ' + (1 << 54.1)); -} - -//CHECK#56 -if (1 << 55.1 !== 8388608) { - $ERROR('#56: 1 << 55.1 === 8388608. Actual: ' + (1 << 55.1)); -} - -//CHECK#57 -if (1 << 56.1 !== 16777216) { - $ERROR('#57: 1 << 56.1 === 16777216. Actual: ' + (1 << 56.1)); -} - -//CHECK#58 -if (1 << 57.1 !== 33554432) { - $ERROR('#58: 1 << 57.1 === 33554432. Actual: ' + (1 << 57.1)); -} - -//CHECK#59 -if (1 << 58.1 !== 67108864) { - $ERROR('#59: 1 << 58.1 === 67108864. Actual: ' + (1 << 58.1)); -} - -//CHECK#60 -if (1 << 59.1 !== 134217728) { - $ERROR('#60: 1 << 59.1 === 134217728. Actual: ' + (1 << 59.1)); -} - -//CHECK#61 -if (1 << 60.1 !== 268435456) { - $ERROR('#61: 1 << 60.1 === 268435456. Actual: ' + (1 << 60.1)); -} - -//CHECK#62 -if (1 << 61.1 !== 536870912) { - $ERROR('#62: 1 << 61.1 === 536870912. Actual: ' + (1 << 61.1)); -} - -//CHECK#63 -if (1 << 62.1 !== 1073741824) { - $ERROR('#63: 1 << 62.1 === 1073741824. Actual: ' + (1 << 62.1)); -} - -//CHECK#64 -if (1 << 63.1 !== -2147483648) { - $ERROR('#64: 1 << 63.1 === -2147483648. Actual: ' + (1 << 63.1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.js deleted file mode 100644 index d4fb0ec7f4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.7.2_A1; -* @section: 11.7.2, 7.2, 7.3; -* @assertion: White Space and Line Terminator between ShiftExpression and ">>" or between ">>" and AdditiveExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.js", - -assertion: "White Space and Line Terminator between ShiftExpression and \">>\" or between \">>\" and AdditiveExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("-4\u0009>>\u00091") !== -2) { - $ERROR('#1: -4\\u0009>>\\u00091 === -2'); -} - -//CHECK#2 -if (eval("-4\u000B>>\u000B1") !== -2) { - $ERROR('#2: -4\\u000B>>\\u000B1 === -2'); -} - -//CHECK#3 -if (eval("-4\u000C>>\u000C1") !== -2) { - $ERROR('#3: -4\\u000C>>\\u000C1 === -2'); -} - -//CHECK#4 -if (eval("-4\u0020>>\u00201") !== -2) { - $ERROR('#4: -4\\u0020>>\\u00201 === -2'); -} - -//CHECK#5 -if (eval("-4\u00A0>>\u00A01") !== -2) { - $ERROR('#5: -4\\u00A0>>\\u00A01 === -2'); -} - -//CHECK#6 -if (eval("-4\u000A>>\u000A1") !== -2) { - $ERROR('#6: -4\\u000A>>\\u000A1 === -2'); -} - -//CHECK#7 -if (eval("-4\u000D>>\u000D1") !== -2) { - $ERROR('#7: -4\\u000D>>\\u000D1 === -2'); -} - -//CHECK#8 -if (eval("-4\u2028>>\u20281") !== -2) { - $ERROR('#8: -4\\u2028>>\\u20281 === -2'); -} - -//CHECK#9 -if (eval("-4\u2029>>\u20291") !== -2) { - $ERROR('#9: -4\\u2029>>\\u20291 === -2'); -} - -//CHECK#10 -if (eval("-4\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>>\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== -2) { - $ERROR('#10: -4\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>>\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === -2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1.js deleted file mode 100644 index 8716ea471e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.7.2_A2.1_T1; -* @section: 11.7.2; -* @assertion: Operator x >> y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A2.1_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1.js", - -assertion: "Operator x >> y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (-4 >> 1 !== -2) { - $ERROR('#1: -4 >> 1 === -2. Actual: ' + (-4 >> 1)); -} - -//CHECK#2 -var x = -4; -if (x >> 1 !== -2) { - $ERROR('#2: var x = -4; x >> 1 === -2. Actual: ' + (x >> 1)); -} - -//CHECK#3 -var y = 1; -if (-4 >> y !== -2) { - $ERROR('#3: var y = 1; -4 >> y === -2. Actual: ' + (-4 >> y)); -} - -//CHECK#4 -var x = -4; -var y = 1; -if (x >> y !== -2) { - $ERROR('#4: var x = -4; var y = 1; x >> y === -2. Actual: ' + (x >> y)); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = -4; -objecty.prop = 1; -if (objectx.prop >> objecty.prop !== -2) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = -4; objecty.prop = 1; objectx.prop >> objecty.prop === -2. Actual: ' + (objectx.prop >> objecty.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2.js deleted file mode 100644 index 780be29f6d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A2.1_T2; - * @section: 11.7.2; - * @assertion: Operator x >> y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A2.1_T2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2.js", - -assertion: "Operator x >> y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x >> 1; - $ERROR('#1.1: x >> 1 throw ReferenceError. Actual: ' + (x >> 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x >> 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3.js deleted file mode 100644 index 8a0dd40e6c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A2.1_T3; - * @section: 11.7.2; - * @assertion: Operator x >> y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A2.1_T3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3.js", - -assertion: "Operator x >> y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 >> y; - $ERROR('#1.1: 1 >> y throw ReferenceError. Actual: ' + (1 >> y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 >> y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1.js deleted file mode 100644 index 2a6128036b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A2.2_T1; - * @section: 11.7.2, 8.6.2.6; - * @assertion: Operator x >> y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A2.2_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1.js", - -assertion: "Operator x >> y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return -4}} >> 1 !== -2) { - $ERROR('#1: {valueOf: function() {return -4}} >> 1 === -2. Actual: ' + ({valueOf: function() {return -4}} >> 1)); -} - -//CHECK#2 -if ({valueOf: function() {return -4}, toString: function() {return 0}} >> 1 !== -2) { - $ERROR('#2: {valueOf: function() {return -4}, toString: function() {return 0}} >> 1 === -2. Actual: ' + ({valueOf: function() {return -4}, toString: function() {return 0}} >> 1)); -} - -//CHECK#3 -if ({valueOf: function() {return -4}, toString: function() {return {}}} >> 1 !== -2) { - $ERROR('#3: {valueOf: function() {return -4}, toString: function() {return {}}} >> 1 === -2. Actual: ' + ({valueOf: function() {return -4}, toString: function() {return {}}} >> 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1 !== -2) { - $ERROR('#4.1: {valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1 === -2. Actual: ' + ({valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (-4 >> {toString: function() {return 1}} !== -2) { - $ERROR('#5: -4 >> {toString: function() {return 1}} === -2. Actual: ' + (-4 >> {toString: function() {return 1}})); -} - -//CHECK#6 -if (-4 >> {valueOf: function() {return {}}, toString: function() {return 1}} !== -2) { - $ERROR('#6: -4 >> {valueOf: function() {return {}}, toString: function() {return 1}} === -2. Actual: ' + (-4 >> {valueOf: function() {return {}}, toString: function() {return 1}})); -} - -//CHECK#7 -try { - -4 >> {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: -4 >> {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (-4 >> {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: -4 >> {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - -4 >> {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: -4 >> {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (-4 >> {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: -4 >> {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1.js deleted file mode 100644 index 5117f47ffc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A2.3_T1; - * @section: 11.7.2; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A2.3_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x >> y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >> y throw "x". Actual: ' + (x >> y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >> y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1.js deleted file mode 100644 index 6cb9f38a7d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A2.4_T1; - * @section: 11.7.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A2.4_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) >> x !== 0) { - $ERROR('#1: var x = 0; (x = 1) >> x === 0. Actual: ' + ((x = 1) >> x)); -} - -//CHECK#2 -var x = -4; -if (x >> (x = 1) !== -2) { - $ERROR('#2: var x = -4; x >> (x = 1) === -2. Actual: ' + (x >> (x = 1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2.js deleted file mode 100644 index 1ab54de891..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A2.4_T2; - * @section: 11.7.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A2.4_T2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() >> y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >> y() throw "x". Actual: ' + (x() >> y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >> y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3.js deleted file mode 100644 index 668ab6f22d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A2.4_T3; - * @section: 11.7.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A2.4_T3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x >> (x = 1); - $ERROR('#1.1: x >> (x = 1) throw ReferenceError. Actual: ' + (x >> (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x >> (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) >> y !== 0) { - $ERROR('#2: (y = 1) >> y === 0. Actual: ' + ((y = 1) >> y)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1.js deleted file mode 100644 index 774c97fc35..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T1.1; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T1.1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true >> true !== 0) { - $ERROR('#1: true >> true === 0. Actual: ' + (true >> true)); -} - -//CHECK#2 -if (new Boolean(true) >> true !== 0) { - $ERROR('#2: new Boolean(true) >> true === 0. Actual: ' + (new Boolean(true) >> true)); -} - -//CHECK#3 -if (true >> new Boolean(true) !== 0) { - $ERROR('#3: true >> new Boolean(true) === 0. Actual: ' + (true >> new Boolean(true))); -} - -//CHECK#4 -if (new Boolean(true) >> new Boolean(true) !== 0) { - $ERROR('#4: new Boolean(true) >> new Boolean(true) === 0. Actual: ' + (new Boolean(true) >> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2.js deleted file mode 100644 index d50a8eee83..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T1.2; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T1.2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 >> 1 !== 0) { - $ERROR('#1: 1 >> 1 === 0. Actual: ' + (1 >> 1)); -} - -//CHECK#2 -if (new Number(1) >> 1 !== 0) { - $ERROR('#2: new Number(1) >> 1 === 0. Actual: ' + (new Number(1) >> 1)); -} - -//CHECK#3 -if (1 >> new Number(1) !== 0) { - $ERROR('#3: 1 >> new Number(1) === 0. Actual: ' + (1 >> new Number(1))); -} - -//CHECK#4 -if (new Number(1) >> new Number(1) !== 0) { - $ERROR('#4: new Number(1) >> new Number(1) === 0. Actual: ' + (new Number(1) >> new Number(1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3.js deleted file mode 100644 index 922d8063bc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T1.3; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T1.3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" >> "1" !== 0) { - $ERROR('#1: "1" >> "1" === 0. Actual: ' + ("1" >> "1")); -} - -//CHECK#2 -if (new String("1") >> "1" !== 0) { - $ERROR('#2: new String("1") >> "1" === 0. Actual: ' + (new String("1") >> "1")); -} - -//CHECK#3 -if ("1" >> new String("1") !== 0) { - $ERROR('#3: "1" >> new String("1") === 0. Actual: ' + ("1" >> new String("1"))); -} - -//CHECK#4 -if (new String("1") >> new String("1") !== 0) { - $ERROR('#4: new String("1") >> new String("1") === 0. Actual: ' + (new String("1") >> new String("1"))); -} - -//CHECK#5 -if ("x" >> "1" !== 0) { - $ERROR('#5: "x" >> "1" === 0. Actual: ' + ("x" >> "1")); -} - -//CHECK#6 -if ("1" >> "x" !== 1) { - $ERROR('#6: "1" >> "x" === 1. Actual: ' + ("1" >> "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4.js deleted file mode 100644 index fffbd03e89..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T1.4; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T1.4", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (null >> undefined !== 0) { - $ERROR('#1: null >> undefined === 0. Actual: ' + (null >> undefined)); -} - -//CHECK#2 -if (undefined >> null !== 0) { - $ERROR('#2: undefined >> null === 0. Actual: ' + (undefined >> null)); -} - -//CHECK#3 -if (undefined >> undefined !== 0) { - $ERROR('#3: undefined >> undefined === 0. Actual: ' + (undefined >> undefined)); -} - -//CHECK#4 -if (null >> null !== 0) { - $ERROR('#4: null >> null === 0. Actual: ' + (null >> null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5.js deleted file mode 100644 index 661cd8ade7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T1.5; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) and Type(y) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T1.5", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) and Type(y) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} >> function(){return 1}) !== 0) { - $ERROR('#1: ({} >> function(){return 1}) === 0. Actual: ' + (({} >> function(){return 1}))); -} - -//CHECK#2 -if ((function(){return 1} >> {}) !== 0) { - $ERROR('#2: (function(){return 1} >> {}) === 0. Actual: ' + ((function(){return 1} >> {}))); -} - -//CHECK#3 -if ((function(){return 1} >> function(){return 1}) !== 0) { - $ERROR('#3: (function(){return 1} >> function(){return 1}) === 0. Actual: ' + ((function(){return 1} >> function(){return 1}))); -} - -//CHECK#4 -if (({} >> {}) !== 0) { - $ERROR('#4: ({} >> {}) === 0. Actual: ' + (({} >> {}))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1.js deleted file mode 100644 index cc3ef2a2c4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T2.1; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T2.1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true >> 1 !== 0) { - $ERROR('#1: true >> 1 === 0. Actual: ' + (true >> 1)); -} - -//CHECK#2 -if (1 >> true !== 0) { - $ERROR('#2: 1 >> true === 0. Actual: ' + (1 >> true)); -} - -//CHECK#3 -if (new Boolean(true) >> 1 !== 0) { - $ERROR('#3: new Boolean(true) >> 1 === 0. Actual: ' + (new Boolean(true) >> 1)); -} - -//CHECK#4 -if (1 >> new Boolean(true) !== 0) { - $ERROR('#4: 1 >> new Boolean(true) === 0. Actual: ' + (1 >> new Boolean(true))); -} - -//CHECK#5 -if (true >> new Number(1) !== 0) { - $ERROR('#5: true >> new Number(1) === 0. Actual: ' + (true >> new Number(1))); -} - -//CHECK#6 -if (new Number(1) >> true !== 0) { - $ERROR('#6: new Number(1) >> true === 0. Actual: ' + (new Number(1) >> true)); -} - -//CHECK#7 -if (new Boolean(true) >> new Number(1) !== 0) { - $ERROR('#7: new Boolean(true) >> new Number(1) === 0. Actual: ' + (new Boolean(true) >> new Number(1))); -} - -//CHECK#8 -if (new Number(1) >> new Boolean(true) !== 0) { - $ERROR('#8: new Number(1) >> new Boolean(true) === 0. Actual: ' + (new Number(1) >> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2.js deleted file mode 100644 index 1031954412..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T2.2; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T2.2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" >> 1 !== 0) { - $ERROR('#1: "1" >> 1 === 0. Actual: ' + ("1" >> 1)); -} - -//CHECK#2 -if (1 >> "1" !== 0) { - $ERROR('#2: 1 >> "1" === 0. Actual: ' + (1 >> "1")); -} - -//CHECK#3 -if (new String("1") >> 1 !== 0) { - $ERROR('#3: new String("1") >> 1 === 0. Actual: ' + (new String("1") >> 1)); -} - -//CHECK#4 -if (1 >> new String("1") !== 0) { - $ERROR('#4: 1 >> new String("1") === 0. Actual: ' + (1 >> new String("1"))); -} - -//CHECK#5 -if ("1" >> new Number(1) !== 0) { - $ERROR('#5: "1" >> new Number(1) === 0. Actual: ' + ("1" >> new Number(1))); -} - -//CHECK#6 -if (new Number(1) >> "1" !== 0) { - $ERROR('#6: new Number(1) >> "1" === 0. Actual: ' + (new Number(1) >> "1")); -} - -//CHECK#7 -if (new String("1") >> new Number(1) !== 0) { - $ERROR('#7: new String("1") >> new Number(1) === 0. Actual: ' + (new String("1") >> new Number(1))); -} - -//CHECK#8 -if (new Number(1) >> new String("1") !== 0) { - $ERROR('#8: new Number(1) >> new String("1") === 0. Actual: ' + (new Number(1) >> new String("1"))); -} - -//CHECK#9 -if ("x" >> 1 !== 0) { - $ERROR('#9: "x" >> 1 === 0. Actual: ' + ("x" >> 1)); -} - -//CHECK#10 -if (1 >> "x" !== 1) { - $ERROR('#10: 1 >> "x" === 1. Actual: ' + (1 >> "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3.js deleted file mode 100644 index b6594e4057..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T2.3; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T2.3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 >> null !== 1) { - $ERROR('#1: 1 >> null === 1. Actual: ' + (1 >> null)); -} - -//CHECK#2 -if (null >> 1 !== 0) { - $ERROR('#2: null >> 1 === 0. Actual: ' + (null >> 1)); -} - -//CHECK#3 -if (new Number(1) >> null !== 1) { - $ERROR('#3: new Number(1) >> null === 1. Actual: ' + (new Number(1) >> null)); -} - -//CHECK#4 -if (null >> new Number(1) !== 0) { - $ERROR('#4: null >> new Number(1) === 0. Actual: ' + (null >> new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4.js deleted file mode 100644 index d4897af8e3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T2.4; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T2.4", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (1 >> undefined !== 1) { - $ERROR('#1: 1 >> undefined === 1. Actual: ' + (1 >> undefined)); -} - -//CHECK#2 -if (undefined >> 1 !== 0) { - $ERROR('#2: undefined >> 1 === 0. Actual: ' + (undefined >> 1)); -} - -//CHECK#3 -if (new Number(1) >> undefined !== 1) { - $ERROR('#3: new Number(1) >> undefined === 1. Actual: ' + (new Number(1) >> undefined)); -} - -//CHECK#4 -if (undefined >> new Number(1) !== 0) { - $ERROR('#4: undefined >> new Number(1) === 0. Actual: ' + (undefined >> new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5.js deleted file mode 100644 index 2b220f13d9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T2.5; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T2.5", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true >> "1" !== 0) { - $ERROR('#1: true >> "1" === 0. Actual: ' + (true >> "1")); -} - -//CHECK#2 -if ("1" >> true !== 0) { - $ERROR('#2: "1" >> true === 0. Actual: ' + ("1" >> true)); -} - -//CHECK#3 -if (new Boolean(true) >> "1" !== 0) { - $ERROR('#3: new Boolean(true) >> "1" === 0. Actual: ' + (new Boolean(true) >> "1")); -} - -//CHECK#4 -if ("1" >> new Boolean(true) !== 0) { - $ERROR('#4: "1" >> new Boolean(true) === 0. Actual: ' + ("1" >> new Boolean(true))); -} - -//CHECK#5 -if (true >> new String("1") !== 0) { - $ERROR('#5: true >> new String("1") === 0. Actual: ' + (true >> new String("1"))); -} - -//CHECK#6 -if (new String("1") >> true !== 0) { - $ERROR('#6: new String("1") >> true === 0. Actual: ' + (new String("1") >> true)); -} - -//CHECK#7 -if (new Boolean(true) >> new String("1") !== 0) { - $ERROR('#7: new Boolean(true) >> new String("1") === 0. Actual: ' + (new Boolean(true) >> new String("1"))); -} - -//CHECK#8 -if (new String("1") >> new Boolean(true) !== 0) { - $ERROR('#8: new String("1") >> new Boolean(true) === 0. Actual: ' + (new String("1") >> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6.js deleted file mode 100644 index cc56d52361..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T2.6; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T2.6", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ("1" >> undefined !== 1) { - $ERROR('#1: "1" >> undefined === 1. Actual: ' + ("1" >> undefined)); -} - -//CHECK#2 -if (undefined >> "1" !== 0) { - $ERROR('#2: undefined >> "1" === 0. Actual: ' + (undefined >> "1")); -} - -//CHECK#3 -if (new String("1") >> undefined !== 1) { - $ERROR('#3: new String("1") >> undefined === 1. Actual: ' + (new String("1") >> undefined)); -} - -//CHECK#4 -if (undefined >> new String("1") !== 0) { - $ERROR('#4: undefined >> new String("1") === 0. Actual: ' + (undefined >> new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7.js deleted file mode 100644 index aa58b70d1c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T2.7; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T2.7", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" >> null !== 1) { - $ERROR('#1: "1" >> null === 1. Actual: ' + ("1" >> null)); -} - -//CHECK#2 -if (null >> "1" !== 0) { - $ERROR('#2: null >> "1" === 0. Actual: ' + (null >> "1")); -} - -//CHECK#3 -if (new String("1") >> null !== 1) { - $ERROR('#3: new String("1") >> null === 1. Actual: ' + (new String("1") >> null)); -} - -//CHECK#4 -if (null >> new String("1") !== 0) { - $ERROR('#4: null >> new String("1") === 0. Actual: ' + (null >> new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8.js deleted file mode 100644 index 190f15e8e5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T2.8; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T2.8", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (true >> undefined !== 1) { - $ERROR('#1: true >> undefined === 1. Actual: ' + (true >> undefined)); -} - -//CHECK#2 -if (undefined >> true !== 0) { - $ERROR('#2: undefined >> true === 0. Actual: ' + (undefined >> true)); -} - -//CHECK#3 -if (new Boolean(true) >> undefined !== 1) { - $ERROR('#3: new Boolean(true) >> undefined === 1. Actual: ' + (new Boolean(true) >> undefined)); -} - -//CHECK#4 -if (undefined >> new Boolean(true) !== 0) { - $ERROR('#4: undefined >> new Boolean(true) === 0. Actual: ' + (undefined >> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9.js deleted file mode 100644 index 61a5c2b679..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A3_T2.9; - * @section: 11.7.2; - * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A3_T2.9", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9.js", - -assertion: "Operator x >> y returns ToNumber(x) >> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true >> null !== 1) { - $ERROR('#1: true >> null === 1. Actual: ' + (true >> null)); -} - -//CHECK#2 -if (null >> true !== 0) { - $ERROR('#2: null >> true === 0. Actual: ' + (null >> true)); -} - -//CHECK#3 -if (new Boolean(true) >> null !== 1) { - $ERROR('#3: new Boolean(true) >> null === 1. Actual: ' + (new Boolean(true) >> null)); -} - -//CHECK#4 -if (null >> new Boolean(true) !== 0) { - $ERROR('#4: null >> new Boolean(true) === 0. Actual: ' + (null >> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.js deleted file mode 100644 index 6af4f59191..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.js +++ /dev/null @@ -1,2587 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A4_T1; - * @section: 11.7.2; - * @assertion: Check x >> y operator in distinct points; - * @description: ShiftExpression = -2^n, n = 0...15; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A4_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.js", - -assertion: "Check x >> y operator in distinct points", - -description: "ShiftExpression = -2^n, n = 0...15", - -test: function testcase() { - //CHECK - -if (-1 >> 0 !== -1) { - $ERROR('#1: -1 >> 0 === -1. Actual: ' + (-1 >> 0)); -} - - -if (-2 >> 0 !== -2) { - $ERROR('#2: -2 >> 0 === -2. Actual: ' + (-2 >> 0)); -} - - -if (-4 >> 0 !== -4) { - $ERROR('#3: -4 >> 0 === -4. Actual: ' + (-4 >> 0)); -} - - -if (-8 >> 0 !== -8) { - $ERROR('#4: -8 >> 0 === -8. Actual: ' + (-8 >> 0)); -} - - -if (-16 >> 0 !== -16) { - $ERROR('#5: -16 >> 0 === -16. Actual: ' + (-16 >> 0)); -} - - -if (-32 >> 0 !== -32) { - $ERROR('#6: -32 >> 0 === -32. Actual: ' + (-32 >> 0)); -} - - -if (-64 >> 0 !== -64) { - $ERROR('#7: -64 >> 0 === -64. Actual: ' + (-64 >> 0)); -} - - -if (-128 >> 0 !== -128) { - $ERROR('#8: -128 >> 0 === -128. Actual: ' + (-128 >> 0)); -} - - -if (-256 >> 0 !== -256) { - $ERROR('#9: -256 >> 0 === -256. Actual: ' + (-256 >> 0)); -} - - -if (-512 >> 0 !== -512) { - $ERROR('#10: -512 >> 0 === -512. Actual: ' + (-512 >> 0)); -} - - -if (-1024 >> 0 !== -1024) { - $ERROR('#11: -1024 >> 0 === -1024. Actual: ' + (-1024 >> 0)); -} - - -if (-2048 >> 0 !== -2048) { - $ERROR('#12: -2048 >> 0 === -2048. Actual: ' + (-2048 >> 0)); -} - - -if (-4096 >> 0 !== -4096) { - $ERROR('#13: -4096 >> 0 === -4096. Actual: ' + (-4096 >> 0)); -} - - -if (-8192 >> 0 !== -8192) { - $ERROR('#14: -8192 >> 0 === -8192. Actual: ' + (-8192 >> 0)); -} - - -if (-16384 >> 0 !== -16384) { - $ERROR('#15: -16384 >> 0 === -16384. Actual: ' + (-16384 >> 0)); -} - - -if (-32768 >> 0 !== -32768) { - $ERROR('#16: -32768 >> 0 === -32768. Actual: ' + (-32768 >> 0)); -} - - -if (-65536 >> 0 !== -65536) { - $ERROR('#17: -65536 >> 0 === -65536. Actual: ' + (-65536 >> 0)); -} - - -if (-131072 >> 0 !== -131072) { - $ERROR('#18: -131072 >> 0 === -131072. Actual: ' + (-131072 >> 0)); -} - - -if (-262144 >> 0 !== -262144) { - $ERROR('#19: -262144 >> 0 === -262144. Actual: ' + (-262144 >> 0)); -} - - -if (-524288 >> 0 !== -524288) { - $ERROR('#20: -524288 >> 0 === -524288. Actual: ' + (-524288 >> 0)); -} - - -if (-1048576 >> 0 !== -1048576) { - $ERROR('#21: -1048576 >> 0 === -1048576. Actual: ' + (-1048576 >> 0)); -} - - -if (-2097152 >> 0 !== -2097152) { - $ERROR('#22: -2097152 >> 0 === -2097152. Actual: ' + (-2097152 >> 0)); -} - - -if (-4194304 >> 0 !== -4194304) { - $ERROR('#23: -4194304 >> 0 === -4194304. Actual: ' + (-4194304 >> 0)); -} - - -if (-8388608 >> 0 !== -8388608) { - $ERROR('#24: -8388608 >> 0 === -8388608. Actual: ' + (-8388608 >> 0)); -} - - -if (-16777216 >> 0 !== -16777216) { - $ERROR('#25: -16777216 >> 0 === -16777216. Actual: ' + (-16777216 >> 0)); -} - - -if (-33554432 >> 0 !== -33554432) { - $ERROR('#26: -33554432 >> 0 === -33554432. Actual: ' + (-33554432 >> 0)); -} - - -if (-67108864 >> 0 !== -67108864) { - $ERROR('#27: -67108864 >> 0 === -67108864. Actual: ' + (-67108864 >> 0)); -} - - -if (-134217728 >> 0 !== -134217728) { - $ERROR('#28: -134217728 >> 0 === -134217728. Actual: ' + (-134217728 >> 0)); -} - - -if (-268435456 >> 0 !== -268435456) { - $ERROR('#29: -268435456 >> 0 === -268435456. Actual: ' + (-268435456 >> 0)); -} - - -if (-536870912 >> 0 !== -536870912) { - $ERROR('#30: -536870912 >> 0 === -536870912. Actual: ' + (-536870912 >> 0)); -} - - -if (-1073741824 >> 0 !== -1073741824) { - $ERROR('#31: -1073741824 >> 0 === -1073741824. Actual: ' + (-1073741824 >> 0)); -} - - -if (-2147483648 >> 0 !== -2147483648) { - $ERROR('#32: -2147483648 >> 0 === -2147483648. Actual: ' + (-2147483648 >> 0)); -} - - -if (-1 >> 1 !== -1) { - $ERROR('#33: -1 >> 1 === -1. Actual: ' + (-1 >> 1)); -} - - -if (-2 >> 1 !== -1) { - $ERROR('#34: -2 >> 1 === -1. Actual: ' + (-2 >> 1)); -} - - -if (-4 >> 1 !== -2) { - $ERROR('#35: -4 >> 1 === -2. Actual: ' + (-4 >> 1)); -} - - -if (-8 >> 1 !== -4) { - $ERROR('#36: -8 >> 1 === -4. Actual: ' + (-8 >> 1)); -} - - -if (-16 >> 1 !== -8) { - $ERROR('#37: -16 >> 1 === -8. Actual: ' + (-16 >> 1)); -} - - -if (-32 >> 1 !== -16) { - $ERROR('#38: -32 >> 1 === -16. Actual: ' + (-32 >> 1)); -} - - -if (-64 >> 1 !== -32) { - $ERROR('#39: -64 >> 1 === -32. Actual: ' + (-64 >> 1)); -} - - -if (-128 >> 1 !== -64) { - $ERROR('#40: -128 >> 1 === -64. Actual: ' + (-128 >> 1)); -} - - -if (-256 >> 1 !== -128) { - $ERROR('#41: -256 >> 1 === -128. Actual: ' + (-256 >> 1)); -} - - -if (-512 >> 1 !== -256) { - $ERROR('#42: -512 >> 1 === -256. Actual: ' + (-512 >> 1)); -} - - -if (-1024 >> 1 !== -512) { - $ERROR('#43: -1024 >> 1 === -512. Actual: ' + (-1024 >> 1)); -} - - -if (-2048 >> 1 !== -1024) { - $ERROR('#44: -2048 >> 1 === -1024. Actual: ' + (-2048 >> 1)); -} - - -if (-4096 >> 1 !== -2048) { - $ERROR('#45: -4096 >> 1 === -2048. Actual: ' + (-4096 >> 1)); -} - - -if (-8192 >> 1 !== -4096) { - $ERROR('#46: -8192 >> 1 === -4096. Actual: ' + (-8192 >> 1)); -} - - -if (-16384 >> 1 !== -8192) { - $ERROR('#47: -16384 >> 1 === -8192. Actual: ' + (-16384 >> 1)); -} - - -if (-32768 >> 1 !== -16384) { - $ERROR('#48: -32768 >> 1 === -16384. Actual: ' + (-32768 >> 1)); -} - - -if (-65536 >> 1 !== -32768) { - $ERROR('#49: -65536 >> 1 === -32768. Actual: ' + (-65536 >> 1)); -} - - -if (-131072 >> 1 !== -65536) { - $ERROR('#50: -131072 >> 1 === -65536. Actual: ' + (-131072 >> 1)); -} - - -if (-262144 >> 1 !== -131072) { - $ERROR('#51: -262144 >> 1 === -131072. Actual: ' + (-262144 >> 1)); -} - - -if (-524288 >> 1 !== -262144) { - $ERROR('#52: -524288 >> 1 === -262144. Actual: ' + (-524288 >> 1)); -} - - -if (-1048576 >> 1 !== -524288) { - $ERROR('#53: -1048576 >> 1 === -524288. Actual: ' + (-1048576 >> 1)); -} - - -if (-2097152 >> 1 !== -1048576) { - $ERROR('#54: -2097152 >> 1 === -1048576. Actual: ' + (-2097152 >> 1)); -} - - -if (-4194304 >> 1 !== -2097152) { - $ERROR('#55: -4194304 >> 1 === -2097152. Actual: ' + (-4194304 >> 1)); -} - - -if (-8388608 >> 1 !== -4194304) { - $ERROR('#56: -8388608 >> 1 === -4194304. Actual: ' + (-8388608 >> 1)); -} - - -if (-16777216 >> 1 !== -8388608) { - $ERROR('#57: -16777216 >> 1 === -8388608. Actual: ' + (-16777216 >> 1)); -} - - -if (-33554432 >> 1 !== -16777216) { - $ERROR('#58: -33554432 >> 1 === -16777216. Actual: ' + (-33554432 >> 1)); -} - - -if (-67108864 >> 1 !== -33554432) { - $ERROR('#59: -67108864 >> 1 === -33554432. Actual: ' + (-67108864 >> 1)); -} - - -if (-134217728 >> 1 !== -67108864) { - $ERROR('#60: -134217728 >> 1 === -67108864. Actual: ' + (-134217728 >> 1)); -} - - -if (-268435456 >> 1 !== -134217728) { - $ERROR('#61: -268435456 >> 1 === -134217728. Actual: ' + (-268435456 >> 1)); -} - - -if (-536870912 >> 1 !== -268435456) { - $ERROR('#62: -536870912 >> 1 === -268435456. Actual: ' + (-536870912 >> 1)); -} - - -if (-1073741824 >> 1 !== -536870912) { - $ERROR('#63: -1073741824 >> 1 === -536870912. Actual: ' + (-1073741824 >> 1)); -} - - -if (-2147483648 >> 1 !== -1073741824) { - $ERROR('#64: -2147483648 >> 1 === -1073741824. Actual: ' + (-2147483648 >> 1)); -} - - -if (-1 >> 2 !== -1) { - $ERROR('#65: -1 >> 2 === -1. Actual: ' + (-1 >> 2)); -} - - -if (-2 >> 2 !== -1) { - $ERROR('#66: -2 >> 2 === -1. Actual: ' + (-2 >> 2)); -} - - -if (-4 >> 2 !== -1) { - $ERROR('#67: -4 >> 2 === -1. Actual: ' + (-4 >> 2)); -} - - -if (-8 >> 2 !== -2) { - $ERROR('#68: -8 >> 2 === -2. Actual: ' + (-8 >> 2)); -} - - -if (-16 >> 2 !== -4) { - $ERROR('#69: -16 >> 2 === -4. Actual: ' + (-16 >> 2)); -} - - -if (-32 >> 2 !== -8) { - $ERROR('#70: -32 >> 2 === -8. Actual: ' + (-32 >> 2)); -} - - -if (-64 >> 2 !== -16) { - $ERROR('#71: -64 >> 2 === -16. Actual: ' + (-64 >> 2)); -} - - -if (-128 >> 2 !== -32) { - $ERROR('#72: -128 >> 2 === -32. Actual: ' + (-128 >> 2)); -} - - -if (-256 >> 2 !== -64) { - $ERROR('#73: -256 >> 2 === -64. Actual: ' + (-256 >> 2)); -} - - -if (-512 >> 2 !== -128) { - $ERROR('#74: -512 >> 2 === -128. Actual: ' + (-512 >> 2)); -} - - -if (-1024 >> 2 !== -256) { - $ERROR('#75: -1024 >> 2 === -256. Actual: ' + (-1024 >> 2)); -} - - -if (-2048 >> 2 !== -512) { - $ERROR('#76: -2048 >> 2 === -512. Actual: ' + (-2048 >> 2)); -} - - -if (-4096 >> 2 !== -1024) { - $ERROR('#77: -4096 >> 2 === -1024. Actual: ' + (-4096 >> 2)); -} - - -if (-8192 >> 2 !== -2048) { - $ERROR('#78: -8192 >> 2 === -2048. Actual: ' + (-8192 >> 2)); -} - - -if (-16384 >> 2 !== -4096) { - $ERROR('#79: -16384 >> 2 === -4096. Actual: ' + (-16384 >> 2)); -} - - -if (-32768 >> 2 !== -8192) { - $ERROR('#80: -32768 >> 2 === -8192. Actual: ' + (-32768 >> 2)); -} - - -if (-65536 >> 2 !== -16384) { - $ERROR('#81: -65536 >> 2 === -16384. Actual: ' + (-65536 >> 2)); -} - - -if (-131072 >> 2 !== -32768) { - $ERROR('#82: -131072 >> 2 === -32768. Actual: ' + (-131072 >> 2)); -} - - -if (-262144 >> 2 !== -65536) { - $ERROR('#83: -262144 >> 2 === -65536. Actual: ' + (-262144 >> 2)); -} - - -if (-524288 >> 2 !== -131072) { - $ERROR('#84: -524288 >> 2 === -131072. Actual: ' + (-524288 >> 2)); -} - - -if (-1048576 >> 2 !== -262144) { - $ERROR('#85: -1048576 >> 2 === -262144. Actual: ' + (-1048576 >> 2)); -} - - -if (-2097152 >> 2 !== -524288) { - $ERROR('#86: -2097152 >> 2 === -524288. Actual: ' + (-2097152 >> 2)); -} - - -if (-4194304 >> 2 !== -1048576) { - $ERROR('#87: -4194304 >> 2 === -1048576. Actual: ' + (-4194304 >> 2)); -} - - -if (-8388608 >> 2 !== -2097152) { - $ERROR('#88: -8388608 >> 2 === -2097152. Actual: ' + (-8388608 >> 2)); -} - - -if (-16777216 >> 2 !== -4194304) { - $ERROR('#89: -16777216 >> 2 === -4194304. Actual: ' + (-16777216 >> 2)); -} - - -if (-33554432 >> 2 !== -8388608) { - $ERROR('#90: -33554432 >> 2 === -8388608. Actual: ' + (-33554432 >> 2)); -} - - -if (-67108864 >> 2 !== -16777216) { - $ERROR('#91: -67108864 >> 2 === -16777216. Actual: ' + (-67108864 >> 2)); -} - - -if (-134217728 >> 2 !== -33554432) { - $ERROR('#92: -134217728 >> 2 === -33554432. Actual: ' + (-134217728 >> 2)); -} - - -if (-268435456 >> 2 !== -67108864) { - $ERROR('#93: -268435456 >> 2 === -67108864. Actual: ' + (-268435456 >> 2)); -} - - -if (-536870912 >> 2 !== -134217728) { - $ERROR('#94: -536870912 >> 2 === -134217728. Actual: ' + (-536870912 >> 2)); -} - - -if (-1073741824 >> 2 !== -268435456) { - $ERROR('#95: -1073741824 >> 2 === -268435456. Actual: ' + (-1073741824 >> 2)); -} - - -if (-2147483648 >> 2 !== -536870912) { - $ERROR('#96: -2147483648 >> 2 === -536870912. Actual: ' + (-2147483648 >> 2)); -} - - -if (-1 >> 3 !== -1) { - $ERROR('#97: -1 >> 3 === -1. Actual: ' + (-1 >> 3)); -} - - -if (-2 >> 3 !== -1) { - $ERROR('#98: -2 >> 3 === -1. Actual: ' + (-2 >> 3)); -} - - -if (-4 >> 3 !== -1) { - $ERROR('#99: -4 >> 3 === -1. Actual: ' + (-4 >> 3)); -} - - -if (-8 >> 3 !== -1) { - $ERROR('#100: -8 >> 3 === -1. Actual: ' + (-8 >> 3)); -} - - -if (-16 >> 3 !== -2) { - $ERROR('#101: -16 >> 3 === -2. Actual: ' + (-16 >> 3)); -} - - -if (-32 >> 3 !== -4) { - $ERROR('#102: -32 >> 3 === -4. Actual: ' + (-32 >> 3)); -} - - -if (-64 >> 3 !== -8) { - $ERROR('#103: -64 >> 3 === -8. Actual: ' + (-64 >> 3)); -} - - -if (-128 >> 3 !== -16) { - $ERROR('#104: -128 >> 3 === -16. Actual: ' + (-128 >> 3)); -} - - -if (-256 >> 3 !== -32) { - $ERROR('#105: -256 >> 3 === -32. Actual: ' + (-256 >> 3)); -} - - -if (-512 >> 3 !== -64) { - $ERROR('#106: -512 >> 3 === -64. Actual: ' + (-512 >> 3)); -} - - -if (-1024 >> 3 !== -128) { - $ERROR('#107: -1024 >> 3 === -128. Actual: ' + (-1024 >> 3)); -} - - -if (-2048 >> 3 !== -256) { - $ERROR('#108: -2048 >> 3 === -256. Actual: ' + (-2048 >> 3)); -} - - -if (-4096 >> 3 !== -512) { - $ERROR('#109: -4096 >> 3 === -512. Actual: ' + (-4096 >> 3)); -} - - -if (-8192 >> 3 !== -1024) { - $ERROR('#110: -8192 >> 3 === -1024. Actual: ' + (-8192 >> 3)); -} - - -if (-16384 >> 3 !== -2048) { - $ERROR('#111: -16384 >> 3 === -2048. Actual: ' + (-16384 >> 3)); -} - - -if (-32768 >> 3 !== -4096) { - $ERROR('#112: -32768 >> 3 === -4096. Actual: ' + (-32768 >> 3)); -} - - -if (-65536 >> 3 !== -8192) { - $ERROR('#113: -65536 >> 3 === -8192. Actual: ' + (-65536 >> 3)); -} - - -if (-131072 >> 3 !== -16384) { - $ERROR('#114: -131072 >> 3 === -16384. Actual: ' + (-131072 >> 3)); -} - - -if (-262144 >> 3 !== -32768) { - $ERROR('#115: -262144 >> 3 === -32768. Actual: ' + (-262144 >> 3)); -} - - -if (-524288 >> 3 !== -65536) { - $ERROR('#116: -524288 >> 3 === -65536. Actual: ' + (-524288 >> 3)); -} - - -if (-1048576 >> 3 !== -131072) { - $ERROR('#117: -1048576 >> 3 === -131072. Actual: ' + (-1048576 >> 3)); -} - - -if (-2097152 >> 3 !== -262144) { - $ERROR('#118: -2097152 >> 3 === -262144. Actual: ' + (-2097152 >> 3)); -} - - -if (-4194304 >> 3 !== -524288) { - $ERROR('#119: -4194304 >> 3 === -524288. Actual: ' + (-4194304 >> 3)); -} - - -if (-8388608 >> 3 !== -1048576) { - $ERROR('#120: -8388608 >> 3 === -1048576. Actual: ' + (-8388608 >> 3)); -} - - -if (-16777216 >> 3 !== -2097152) { - $ERROR('#121: -16777216 >> 3 === -2097152. Actual: ' + (-16777216 >> 3)); -} - - -if (-33554432 >> 3 !== -4194304) { - $ERROR('#122: -33554432 >> 3 === -4194304. Actual: ' + (-33554432 >> 3)); -} - - -if (-67108864 >> 3 !== -8388608) { - $ERROR('#123: -67108864 >> 3 === -8388608. Actual: ' + (-67108864 >> 3)); -} - - -if (-134217728 >> 3 !== -16777216) { - $ERROR('#124: -134217728 >> 3 === -16777216. Actual: ' + (-134217728 >> 3)); -} - - -if (-268435456 >> 3 !== -33554432) { - $ERROR('#125: -268435456 >> 3 === -33554432. Actual: ' + (-268435456 >> 3)); -} - - -if (-536870912 >> 3 !== -67108864) { - $ERROR('#126: -536870912 >> 3 === -67108864. Actual: ' + (-536870912 >> 3)); -} - - -if (-1073741824 >> 3 !== -134217728) { - $ERROR('#127: -1073741824 >> 3 === -134217728. Actual: ' + (-1073741824 >> 3)); -} - - -if (-2147483648 >> 3 !== -268435456) { - $ERROR('#128: -2147483648 >> 3 === -268435456. Actual: ' + (-2147483648 >> 3)); -} - - -if (-1 >> 4 !== -1) { - $ERROR('#129: -1 >> 4 === -1. Actual: ' + (-1 >> 4)); -} - - -if (-2 >> 4 !== -1) { - $ERROR('#130: -2 >> 4 === -1. Actual: ' + (-2 >> 4)); -} - - -if (-4 >> 4 !== -1) { - $ERROR('#131: -4 >> 4 === -1. Actual: ' + (-4 >> 4)); -} - - -if (-8 >> 4 !== -1) { - $ERROR('#132: -8 >> 4 === -1. Actual: ' + (-8 >> 4)); -} - - -if (-16 >> 4 !== -1) { - $ERROR('#133: -16 >> 4 === -1. Actual: ' + (-16 >> 4)); -} - - -if (-32 >> 4 !== -2) { - $ERROR('#134: -32 >> 4 === -2. Actual: ' + (-32 >> 4)); -} - - -if (-64 >> 4 !== -4) { - $ERROR('#135: -64 >> 4 === -4. Actual: ' + (-64 >> 4)); -} - - -if (-128 >> 4 !== -8) { - $ERROR('#136: -128 >> 4 === -8. Actual: ' + (-128 >> 4)); -} - - -if (-256 >> 4 !== -16) { - $ERROR('#137: -256 >> 4 === -16. Actual: ' + (-256 >> 4)); -} - - -if (-512 >> 4 !== -32) { - $ERROR('#138: -512 >> 4 === -32. Actual: ' + (-512 >> 4)); -} - - -if (-1024 >> 4 !== -64) { - $ERROR('#139: -1024 >> 4 === -64. Actual: ' + (-1024 >> 4)); -} - - -if (-2048 >> 4 !== -128) { - $ERROR('#140: -2048 >> 4 === -128. Actual: ' + (-2048 >> 4)); -} - - -if (-4096 >> 4 !== -256) { - $ERROR('#141: -4096 >> 4 === -256. Actual: ' + (-4096 >> 4)); -} - - -if (-8192 >> 4 !== -512) { - $ERROR('#142: -8192 >> 4 === -512. Actual: ' + (-8192 >> 4)); -} - - -if (-16384 >> 4 !== -1024) { - $ERROR('#143: -16384 >> 4 === -1024. Actual: ' + (-16384 >> 4)); -} - - -if (-32768 >> 4 !== -2048) { - $ERROR('#144: -32768 >> 4 === -2048. Actual: ' + (-32768 >> 4)); -} - - -if (-65536 >> 4 !== -4096) { - $ERROR('#145: -65536 >> 4 === -4096. Actual: ' + (-65536 >> 4)); -} - - -if (-131072 >> 4 !== -8192) { - $ERROR('#146: -131072 >> 4 === -8192. Actual: ' + (-131072 >> 4)); -} - - -if (-262144 >> 4 !== -16384) { - $ERROR('#147: -262144 >> 4 === -16384. Actual: ' + (-262144 >> 4)); -} - - -if (-524288 >> 4 !== -32768) { - $ERROR('#148: -524288 >> 4 === -32768. Actual: ' + (-524288 >> 4)); -} - - -if (-1048576 >> 4 !== -65536) { - $ERROR('#149: -1048576 >> 4 === -65536. Actual: ' + (-1048576 >> 4)); -} - - -if (-2097152 >> 4 !== -131072) { - $ERROR('#150: -2097152 >> 4 === -131072. Actual: ' + (-2097152 >> 4)); -} - - -if (-4194304 >> 4 !== -262144) { - $ERROR('#151: -4194304 >> 4 === -262144. Actual: ' + (-4194304 >> 4)); -} - - -if (-8388608 >> 4 !== -524288) { - $ERROR('#152: -8388608 >> 4 === -524288. Actual: ' + (-8388608 >> 4)); -} - - -if (-16777216 >> 4 !== -1048576) { - $ERROR('#153: -16777216 >> 4 === -1048576. Actual: ' + (-16777216 >> 4)); -} - - -if (-33554432 >> 4 !== -2097152) { - $ERROR('#154: -33554432 >> 4 === -2097152. Actual: ' + (-33554432 >> 4)); -} - - -if (-67108864 >> 4 !== -4194304) { - $ERROR('#155: -67108864 >> 4 === -4194304. Actual: ' + (-67108864 >> 4)); -} - - -if (-134217728 >> 4 !== -8388608) { - $ERROR('#156: -134217728 >> 4 === -8388608. Actual: ' + (-134217728 >> 4)); -} - - -if (-268435456 >> 4 !== -16777216) { - $ERROR('#157: -268435456 >> 4 === -16777216. Actual: ' + (-268435456 >> 4)); -} - - -if (-536870912 >> 4 !== -33554432) { - $ERROR('#158: -536870912 >> 4 === -33554432. Actual: ' + (-536870912 >> 4)); -} - - -if (-1073741824 >> 4 !== -67108864) { - $ERROR('#159: -1073741824 >> 4 === -67108864. Actual: ' + (-1073741824 >> 4)); -} - - -if (-2147483648 >> 4 !== -134217728) { - $ERROR('#160: -2147483648 >> 4 === -134217728. Actual: ' + (-2147483648 >> 4)); -} - - -if (-1 >> 5 !== -1) { - $ERROR('#161: -1 >> 5 === -1. Actual: ' + (-1 >> 5)); -} - - -if (-2 >> 5 !== -1) { - $ERROR('#162: -2 >> 5 === -1. Actual: ' + (-2 >> 5)); -} - - -if (-4 >> 5 !== -1) { - $ERROR('#163: -4 >> 5 === -1. Actual: ' + (-4 >> 5)); -} - - -if (-8 >> 5 !== -1) { - $ERROR('#164: -8 >> 5 === -1. Actual: ' + (-8 >> 5)); -} - - -if (-16 >> 5 !== -1) { - $ERROR('#165: -16 >> 5 === -1. Actual: ' + (-16 >> 5)); -} - - -if (-32 >> 5 !== -1) { - $ERROR('#166: -32 >> 5 === -1. Actual: ' + (-32 >> 5)); -} - - -if (-64 >> 5 !== -2) { - $ERROR('#167: -64 >> 5 === -2. Actual: ' + (-64 >> 5)); -} - - -if (-128 >> 5 !== -4) { - $ERROR('#168: -128 >> 5 === -4. Actual: ' + (-128 >> 5)); -} - - -if (-256 >> 5 !== -8) { - $ERROR('#169: -256 >> 5 === -8. Actual: ' + (-256 >> 5)); -} - - -if (-512 >> 5 !== -16) { - $ERROR('#170: -512 >> 5 === -16. Actual: ' + (-512 >> 5)); -} - - -if (-1024 >> 5 !== -32) { - $ERROR('#171: -1024 >> 5 === -32. Actual: ' + (-1024 >> 5)); -} - - -if (-2048 >> 5 !== -64) { - $ERROR('#172: -2048 >> 5 === -64. Actual: ' + (-2048 >> 5)); -} - - -if (-4096 >> 5 !== -128) { - $ERROR('#173: -4096 >> 5 === -128. Actual: ' + (-4096 >> 5)); -} - - -if (-8192 >> 5 !== -256) { - $ERROR('#174: -8192 >> 5 === -256. Actual: ' + (-8192 >> 5)); -} - - -if (-16384 >> 5 !== -512) { - $ERROR('#175: -16384 >> 5 === -512. Actual: ' + (-16384 >> 5)); -} - - -if (-32768 >> 5 !== -1024) { - $ERROR('#176: -32768 >> 5 === -1024. Actual: ' + (-32768 >> 5)); -} - - -if (-65536 >> 5 !== -2048) { - $ERROR('#177: -65536 >> 5 === -2048. Actual: ' + (-65536 >> 5)); -} - - -if (-131072 >> 5 !== -4096) { - $ERROR('#178: -131072 >> 5 === -4096. Actual: ' + (-131072 >> 5)); -} - - -if (-262144 >> 5 !== -8192) { - $ERROR('#179: -262144 >> 5 === -8192. Actual: ' + (-262144 >> 5)); -} - - -if (-524288 >> 5 !== -16384) { - $ERROR('#180: -524288 >> 5 === -16384. Actual: ' + (-524288 >> 5)); -} - - -if (-1048576 >> 5 !== -32768) { - $ERROR('#181: -1048576 >> 5 === -32768. Actual: ' + (-1048576 >> 5)); -} - - -if (-2097152 >> 5 !== -65536) { - $ERROR('#182: -2097152 >> 5 === -65536. Actual: ' + (-2097152 >> 5)); -} - - -if (-4194304 >> 5 !== -131072) { - $ERROR('#183: -4194304 >> 5 === -131072. Actual: ' + (-4194304 >> 5)); -} - - -if (-8388608 >> 5 !== -262144) { - $ERROR('#184: -8388608 >> 5 === -262144. Actual: ' + (-8388608 >> 5)); -} - - -if (-16777216 >> 5 !== -524288) { - $ERROR('#185: -16777216 >> 5 === -524288. Actual: ' + (-16777216 >> 5)); -} - - -if (-33554432 >> 5 !== -1048576) { - $ERROR('#186: -33554432 >> 5 === -1048576. Actual: ' + (-33554432 >> 5)); -} - - -if (-67108864 >> 5 !== -2097152) { - $ERROR('#187: -67108864 >> 5 === -2097152. Actual: ' + (-67108864 >> 5)); -} - - -if (-134217728 >> 5 !== -4194304) { - $ERROR('#188: -134217728 >> 5 === -4194304. Actual: ' + (-134217728 >> 5)); -} - - -if (-268435456 >> 5 !== -8388608) { - $ERROR('#189: -268435456 >> 5 === -8388608. Actual: ' + (-268435456 >> 5)); -} - - -if (-536870912 >> 5 !== -16777216) { - $ERROR('#190: -536870912 >> 5 === -16777216. Actual: ' + (-536870912 >> 5)); -} - - -if (-1073741824 >> 5 !== -33554432) { - $ERROR('#191: -1073741824 >> 5 === -33554432. Actual: ' + (-1073741824 >> 5)); -} - - -if (-2147483648 >> 5 !== -67108864) { - $ERROR('#192: -2147483648 >> 5 === -67108864. Actual: ' + (-2147483648 >> 5)); -} - - -if (-1 >> 6 !== -1) { - $ERROR('#193: -1 >> 6 === -1. Actual: ' + (-1 >> 6)); -} - - -if (-2 >> 6 !== -1) { - $ERROR('#194: -2 >> 6 === -1. Actual: ' + (-2 >> 6)); -} - - -if (-4 >> 6 !== -1) { - $ERROR('#195: -4 >> 6 === -1. Actual: ' + (-4 >> 6)); -} - - -if (-8 >> 6 !== -1) { - $ERROR('#196: -8 >> 6 === -1. Actual: ' + (-8 >> 6)); -} - - -if (-16 >> 6 !== -1) { - $ERROR('#197: -16 >> 6 === -1. Actual: ' + (-16 >> 6)); -} - - -if (-32 >> 6 !== -1) { - $ERROR('#198: -32 >> 6 === -1. Actual: ' + (-32 >> 6)); -} - - -if (-64 >> 6 !== -1) { - $ERROR('#199: -64 >> 6 === -1. Actual: ' + (-64 >> 6)); -} - - -if (-128 >> 6 !== -2) { - $ERROR('#200: -128 >> 6 === -2. Actual: ' + (-128 >> 6)); -} - - -if (-256 >> 6 !== -4) { - $ERROR('#201: -256 >> 6 === -4. Actual: ' + (-256 >> 6)); -} - - -if (-512 >> 6 !== -8) { - $ERROR('#202: -512 >> 6 === -8. Actual: ' + (-512 >> 6)); -} - - -if (-1024 >> 6 !== -16) { - $ERROR('#203: -1024 >> 6 === -16. Actual: ' + (-1024 >> 6)); -} - - -if (-2048 >> 6 !== -32) { - $ERROR('#204: -2048 >> 6 === -32. Actual: ' + (-2048 >> 6)); -} - - -if (-4096 >> 6 !== -64) { - $ERROR('#205: -4096 >> 6 === -64. Actual: ' + (-4096 >> 6)); -} - - -if (-8192 >> 6 !== -128) { - $ERROR('#206: -8192 >> 6 === -128. Actual: ' + (-8192 >> 6)); -} - - -if (-16384 >> 6 !== -256) { - $ERROR('#207: -16384 >> 6 === -256. Actual: ' + (-16384 >> 6)); -} - - -if (-32768 >> 6 !== -512) { - $ERROR('#208: -32768 >> 6 === -512. Actual: ' + (-32768 >> 6)); -} - - -if (-65536 >> 6 !== -1024) { - $ERROR('#209: -65536 >> 6 === -1024. Actual: ' + (-65536 >> 6)); -} - - -if (-131072 >> 6 !== -2048) { - $ERROR('#210: -131072 >> 6 === -2048. Actual: ' + (-131072 >> 6)); -} - - -if (-262144 >> 6 !== -4096) { - $ERROR('#211: -262144 >> 6 === -4096. Actual: ' + (-262144 >> 6)); -} - - -if (-524288 >> 6 !== -8192) { - $ERROR('#212: -524288 >> 6 === -8192. Actual: ' + (-524288 >> 6)); -} - - -if (-1048576 >> 6 !== -16384) { - $ERROR('#213: -1048576 >> 6 === -16384. Actual: ' + (-1048576 >> 6)); -} - - -if (-2097152 >> 6 !== -32768) { - $ERROR('#214: -2097152 >> 6 === -32768. Actual: ' + (-2097152 >> 6)); -} - - -if (-4194304 >> 6 !== -65536) { - $ERROR('#215: -4194304 >> 6 === -65536. Actual: ' + (-4194304 >> 6)); -} - - -if (-8388608 >> 6 !== -131072) { - $ERROR('#216: -8388608 >> 6 === -131072. Actual: ' + (-8388608 >> 6)); -} - - -if (-16777216 >> 6 !== -262144) { - $ERROR('#217: -16777216 >> 6 === -262144. Actual: ' + (-16777216 >> 6)); -} - - -if (-33554432 >> 6 !== -524288) { - $ERROR('#218: -33554432 >> 6 === -524288. Actual: ' + (-33554432 >> 6)); -} - - -if (-67108864 >> 6 !== -1048576) { - $ERROR('#219: -67108864 >> 6 === -1048576. Actual: ' + (-67108864 >> 6)); -} - - -if (-134217728 >> 6 !== -2097152) { - $ERROR('#220: -134217728 >> 6 === -2097152. Actual: ' + (-134217728 >> 6)); -} - - -if (-268435456 >> 6 !== -4194304) { - $ERROR('#221: -268435456 >> 6 === -4194304. Actual: ' + (-268435456 >> 6)); -} - - -if (-536870912 >> 6 !== -8388608) { - $ERROR('#222: -536870912 >> 6 === -8388608. Actual: ' + (-536870912 >> 6)); -} - - -if (-1073741824 >> 6 !== -16777216) { - $ERROR('#223: -1073741824 >> 6 === -16777216. Actual: ' + (-1073741824 >> 6)); -} - - -if (-2147483648 >> 6 !== -33554432) { - $ERROR('#224: -2147483648 >> 6 === -33554432. Actual: ' + (-2147483648 >> 6)); -} - - -if (-1 >> 7 !== -1) { - $ERROR('#225: -1 >> 7 === -1. Actual: ' + (-1 >> 7)); -} - - -if (-2 >> 7 !== -1) { - $ERROR('#226: -2 >> 7 === -1. Actual: ' + (-2 >> 7)); -} - - -if (-4 >> 7 !== -1) { - $ERROR('#227: -4 >> 7 === -1. Actual: ' + (-4 >> 7)); -} - - -if (-8 >> 7 !== -1) { - $ERROR('#228: -8 >> 7 === -1. Actual: ' + (-8 >> 7)); -} - - -if (-16 >> 7 !== -1) { - $ERROR('#229: -16 >> 7 === -1. Actual: ' + (-16 >> 7)); -} - - -if (-32 >> 7 !== -1) { - $ERROR('#230: -32 >> 7 === -1. Actual: ' + (-32 >> 7)); -} - - -if (-64 >> 7 !== -1) { - $ERROR('#231: -64 >> 7 === -1. Actual: ' + (-64 >> 7)); -} - - -if (-128 >> 7 !== -1) { - $ERROR('#232: -128 >> 7 === -1. Actual: ' + (-128 >> 7)); -} - - -if (-256 >> 7 !== -2) { - $ERROR('#233: -256 >> 7 === -2. Actual: ' + (-256 >> 7)); -} - - -if (-512 >> 7 !== -4) { - $ERROR('#234: -512 >> 7 === -4. Actual: ' + (-512 >> 7)); -} - - -if (-1024 >> 7 !== -8) { - $ERROR('#235: -1024 >> 7 === -8. Actual: ' + (-1024 >> 7)); -} - - -if (-2048 >> 7 !== -16) { - $ERROR('#236: -2048 >> 7 === -16. Actual: ' + (-2048 >> 7)); -} - - -if (-4096 >> 7 !== -32) { - $ERROR('#237: -4096 >> 7 === -32. Actual: ' + (-4096 >> 7)); -} - - -if (-8192 >> 7 !== -64) { - $ERROR('#238: -8192 >> 7 === -64. Actual: ' + (-8192 >> 7)); -} - - -if (-16384 >> 7 !== -128) { - $ERROR('#239: -16384 >> 7 === -128. Actual: ' + (-16384 >> 7)); -} - - -if (-32768 >> 7 !== -256) { - $ERROR('#240: -32768 >> 7 === -256. Actual: ' + (-32768 >> 7)); -} - - -if (-65536 >> 7 !== -512) { - $ERROR('#241: -65536 >> 7 === -512. Actual: ' + (-65536 >> 7)); -} - - -if (-131072 >> 7 !== -1024) { - $ERROR('#242: -131072 >> 7 === -1024. Actual: ' + (-131072 >> 7)); -} - - -if (-262144 >> 7 !== -2048) { - $ERROR('#243: -262144 >> 7 === -2048. Actual: ' + (-262144 >> 7)); -} - - -if (-524288 >> 7 !== -4096) { - $ERROR('#244: -524288 >> 7 === -4096. Actual: ' + (-524288 >> 7)); -} - - -if (-1048576 >> 7 !== -8192) { - $ERROR('#245: -1048576 >> 7 === -8192. Actual: ' + (-1048576 >> 7)); -} - - -if (-2097152 >> 7 !== -16384) { - $ERROR('#246: -2097152 >> 7 === -16384. Actual: ' + (-2097152 >> 7)); -} - - -if (-4194304 >> 7 !== -32768) { - $ERROR('#247: -4194304 >> 7 === -32768. Actual: ' + (-4194304 >> 7)); -} - - -if (-8388608 >> 7 !== -65536) { - $ERROR('#248: -8388608 >> 7 === -65536. Actual: ' + (-8388608 >> 7)); -} - - -if (-16777216 >> 7 !== -131072) { - $ERROR('#249: -16777216 >> 7 === -131072. Actual: ' + (-16777216 >> 7)); -} - - -if (-33554432 >> 7 !== -262144) { - $ERROR('#250: -33554432 >> 7 === -262144. Actual: ' + (-33554432 >> 7)); -} - - -if (-67108864 >> 7 !== -524288) { - $ERROR('#251: -67108864 >> 7 === -524288. Actual: ' + (-67108864 >> 7)); -} - - -if (-134217728 >> 7 !== -1048576) { - $ERROR('#252: -134217728 >> 7 === -1048576. Actual: ' + (-134217728 >> 7)); -} - - -if (-268435456 >> 7 !== -2097152) { - $ERROR('#253: -268435456 >> 7 === -2097152. Actual: ' + (-268435456 >> 7)); -} - - -if (-536870912 >> 7 !== -4194304) { - $ERROR('#254: -536870912 >> 7 === -4194304. Actual: ' + (-536870912 >> 7)); -} - - -if (-1073741824 >> 7 !== -8388608) { - $ERROR('#255: -1073741824 >> 7 === -8388608. Actual: ' + (-1073741824 >> 7)); -} - - -if (-2147483648 >> 7 !== -16777216) { - $ERROR('#256: -2147483648 >> 7 === -16777216. Actual: ' + (-2147483648 >> 7)); -} - - -if (-1 >> 8 !== -1) { - $ERROR('#257: -1 >> 8 === -1. Actual: ' + (-1 >> 8)); -} - - -if (-2 >> 8 !== -1) { - $ERROR('#258: -2 >> 8 === -1. Actual: ' + (-2 >> 8)); -} - - -if (-4 >> 8 !== -1) { - $ERROR('#259: -4 >> 8 === -1. Actual: ' + (-4 >> 8)); -} - - -if (-8 >> 8 !== -1) { - $ERROR('#260: -8 >> 8 === -1. Actual: ' + (-8 >> 8)); -} - - -if (-16 >> 8 !== -1) { - $ERROR('#261: -16 >> 8 === -1. Actual: ' + (-16 >> 8)); -} - - -if (-32 >> 8 !== -1) { - $ERROR('#262: -32 >> 8 === -1. Actual: ' + (-32 >> 8)); -} - - -if (-64 >> 8 !== -1) { - $ERROR('#263: -64 >> 8 === -1. Actual: ' + (-64 >> 8)); -} - - -if (-128 >> 8 !== -1) { - $ERROR('#264: -128 >> 8 === -1. Actual: ' + (-128 >> 8)); -} - - -if (-256 >> 8 !== -1) { - $ERROR('#265: -256 >> 8 === -1. Actual: ' + (-256 >> 8)); -} - - -if (-512 >> 8 !== -2) { - $ERROR('#266: -512 >> 8 === -2. Actual: ' + (-512 >> 8)); -} - - -if (-1024 >> 8 !== -4) { - $ERROR('#267: -1024 >> 8 === -4. Actual: ' + (-1024 >> 8)); -} - - -if (-2048 >> 8 !== -8) { - $ERROR('#268: -2048 >> 8 === -8. Actual: ' + (-2048 >> 8)); -} - - -if (-4096 >> 8 !== -16) { - $ERROR('#269: -4096 >> 8 === -16. Actual: ' + (-4096 >> 8)); -} - - -if (-8192 >> 8 !== -32) { - $ERROR('#270: -8192 >> 8 === -32. Actual: ' + (-8192 >> 8)); -} - - -if (-16384 >> 8 !== -64) { - $ERROR('#271: -16384 >> 8 === -64. Actual: ' + (-16384 >> 8)); -} - - -if (-32768 >> 8 !== -128) { - $ERROR('#272: -32768 >> 8 === -128. Actual: ' + (-32768 >> 8)); -} - - -if (-65536 >> 8 !== -256) { - $ERROR('#273: -65536 >> 8 === -256. Actual: ' + (-65536 >> 8)); -} - - -if (-131072 >> 8 !== -512) { - $ERROR('#274: -131072 >> 8 === -512. Actual: ' + (-131072 >> 8)); -} - - -if (-262144 >> 8 !== -1024) { - $ERROR('#275: -262144 >> 8 === -1024. Actual: ' + (-262144 >> 8)); -} - - -if (-524288 >> 8 !== -2048) { - $ERROR('#276: -524288 >> 8 === -2048. Actual: ' + (-524288 >> 8)); -} - - -if (-1048576 >> 8 !== -4096) { - $ERROR('#277: -1048576 >> 8 === -4096. Actual: ' + (-1048576 >> 8)); -} - - -if (-2097152 >> 8 !== -8192) { - $ERROR('#278: -2097152 >> 8 === -8192. Actual: ' + (-2097152 >> 8)); -} - - -if (-4194304 >> 8 !== -16384) { - $ERROR('#279: -4194304 >> 8 === -16384. Actual: ' + (-4194304 >> 8)); -} - - -if (-8388608 >> 8 !== -32768) { - $ERROR('#280: -8388608 >> 8 === -32768. Actual: ' + (-8388608 >> 8)); -} - - -if (-16777216 >> 8 !== -65536) { - $ERROR('#281: -16777216 >> 8 === -65536. Actual: ' + (-16777216 >> 8)); -} - - -if (-33554432 >> 8 !== -131072) { - $ERROR('#282: -33554432 >> 8 === -131072. Actual: ' + (-33554432 >> 8)); -} - - -if (-67108864 >> 8 !== -262144) { - $ERROR('#283: -67108864 >> 8 === -262144. Actual: ' + (-67108864 >> 8)); -} - - -if (-134217728 >> 8 !== -524288) { - $ERROR('#284: -134217728 >> 8 === -524288. Actual: ' + (-134217728 >> 8)); -} - - -if (-268435456 >> 8 !== -1048576) { - $ERROR('#285: -268435456 >> 8 === -1048576. Actual: ' + (-268435456 >> 8)); -} - - -if (-536870912 >> 8 !== -2097152) { - $ERROR('#286: -536870912 >> 8 === -2097152. Actual: ' + (-536870912 >> 8)); -} - - -if (-1073741824 >> 8 !== -4194304) { - $ERROR('#287: -1073741824 >> 8 === -4194304. Actual: ' + (-1073741824 >> 8)); -} - - -if (-2147483648 >> 8 !== -8388608) { - $ERROR('#288: -2147483648 >> 8 === -8388608. Actual: ' + (-2147483648 >> 8)); -} - - -if (-1 >> 9 !== -1) { - $ERROR('#289: -1 >> 9 === -1. Actual: ' + (-1 >> 9)); -} - - -if (-2 >> 9 !== -1) { - $ERROR('#290: -2 >> 9 === -1. Actual: ' + (-2 >> 9)); -} - - -if (-4 >> 9 !== -1) { - $ERROR('#291: -4 >> 9 === -1. Actual: ' + (-4 >> 9)); -} - - -if (-8 >> 9 !== -1) { - $ERROR('#292: -8 >> 9 === -1. Actual: ' + (-8 >> 9)); -} - - -if (-16 >> 9 !== -1) { - $ERROR('#293: -16 >> 9 === -1. Actual: ' + (-16 >> 9)); -} - - -if (-32 >> 9 !== -1) { - $ERROR('#294: -32 >> 9 === -1. Actual: ' + (-32 >> 9)); -} - - -if (-64 >> 9 !== -1) { - $ERROR('#295: -64 >> 9 === -1. Actual: ' + (-64 >> 9)); -} - - -if (-128 >> 9 !== -1) { - $ERROR('#296: -128 >> 9 === -1. Actual: ' + (-128 >> 9)); -} - - -if (-256 >> 9 !== -1) { - $ERROR('#297: -256 >> 9 === -1. Actual: ' + (-256 >> 9)); -} - - -if (-512 >> 9 !== -1) { - $ERROR('#298: -512 >> 9 === -1. Actual: ' + (-512 >> 9)); -} - - -if (-1024 >> 9 !== -2) { - $ERROR('#299: -1024 >> 9 === -2. Actual: ' + (-1024 >> 9)); -} - - -if (-2048 >> 9 !== -4) { - $ERROR('#300: -2048 >> 9 === -4. Actual: ' + (-2048 >> 9)); -} - - -if (-4096 >> 9 !== -8) { - $ERROR('#301: -4096 >> 9 === -8. Actual: ' + (-4096 >> 9)); -} - - -if (-8192 >> 9 !== -16) { - $ERROR('#302: -8192 >> 9 === -16. Actual: ' + (-8192 >> 9)); -} - - -if (-16384 >> 9 !== -32) { - $ERROR('#303: -16384 >> 9 === -32. Actual: ' + (-16384 >> 9)); -} - - -if (-32768 >> 9 !== -64) { - $ERROR('#304: -32768 >> 9 === -64. Actual: ' + (-32768 >> 9)); -} - - -if (-65536 >> 9 !== -128) { - $ERROR('#305: -65536 >> 9 === -128. Actual: ' + (-65536 >> 9)); -} - - -if (-131072 >> 9 !== -256) { - $ERROR('#306: -131072 >> 9 === -256. Actual: ' + (-131072 >> 9)); -} - - -if (-262144 >> 9 !== -512) { - $ERROR('#307: -262144 >> 9 === -512. Actual: ' + (-262144 >> 9)); -} - - -if (-524288 >> 9 !== -1024) { - $ERROR('#308: -524288 >> 9 === -1024. Actual: ' + (-524288 >> 9)); -} - - -if (-1048576 >> 9 !== -2048) { - $ERROR('#309: -1048576 >> 9 === -2048. Actual: ' + (-1048576 >> 9)); -} - - -if (-2097152 >> 9 !== -4096) { - $ERROR('#310: -2097152 >> 9 === -4096. Actual: ' + (-2097152 >> 9)); -} - - -if (-4194304 >> 9 !== -8192) { - $ERROR('#311: -4194304 >> 9 === -8192. Actual: ' + (-4194304 >> 9)); -} - - -if (-8388608 >> 9 !== -16384) { - $ERROR('#312: -8388608 >> 9 === -16384. Actual: ' + (-8388608 >> 9)); -} - - -if (-16777216 >> 9 !== -32768) { - $ERROR('#313: -16777216 >> 9 === -32768. Actual: ' + (-16777216 >> 9)); -} - - -if (-33554432 >> 9 !== -65536) { - $ERROR('#314: -33554432 >> 9 === -65536. Actual: ' + (-33554432 >> 9)); -} - - -if (-67108864 >> 9 !== -131072) { - $ERROR('#315: -67108864 >> 9 === -131072. Actual: ' + (-67108864 >> 9)); -} - - -if (-134217728 >> 9 !== -262144) { - $ERROR('#316: -134217728 >> 9 === -262144. Actual: ' + (-134217728 >> 9)); -} - - -if (-268435456 >> 9 !== -524288) { - $ERROR('#317: -268435456 >> 9 === -524288. Actual: ' + (-268435456 >> 9)); -} - - -if (-536870912 >> 9 !== -1048576) { - $ERROR('#318: -536870912 >> 9 === -1048576. Actual: ' + (-536870912 >> 9)); -} - - -if (-1073741824 >> 9 !== -2097152) { - $ERROR('#319: -1073741824 >> 9 === -2097152. Actual: ' + (-1073741824 >> 9)); -} - - -if (-2147483648 >> 9 !== -4194304) { - $ERROR('#320: -2147483648 >> 9 === -4194304. Actual: ' + (-2147483648 >> 9)); -} - - -if (-1 >> 10 !== -1) { - $ERROR('#321: -1 >> 10 === -1. Actual: ' + (-1 >> 10)); -} - - -if (-2 >> 10 !== -1) { - $ERROR('#322: -2 >> 10 === -1. Actual: ' + (-2 >> 10)); -} - - -if (-4 >> 10 !== -1) { - $ERROR('#323: -4 >> 10 === -1. Actual: ' + (-4 >> 10)); -} - - -if (-8 >> 10 !== -1) { - $ERROR('#324: -8 >> 10 === -1. Actual: ' + (-8 >> 10)); -} - - -if (-16 >> 10 !== -1) { - $ERROR('#325: -16 >> 10 === -1. Actual: ' + (-16 >> 10)); -} - - -if (-32 >> 10 !== -1) { - $ERROR('#326: -32 >> 10 === -1. Actual: ' + (-32 >> 10)); -} - - -if (-64 >> 10 !== -1) { - $ERROR('#327: -64 >> 10 === -1. Actual: ' + (-64 >> 10)); -} - - -if (-128 >> 10 !== -1) { - $ERROR('#328: -128 >> 10 === -1. Actual: ' + (-128 >> 10)); -} - - -if (-256 >> 10 !== -1) { - $ERROR('#329: -256 >> 10 === -1. Actual: ' + (-256 >> 10)); -} - - -if (-512 >> 10 !== -1) { - $ERROR('#330: -512 >> 10 === -1. Actual: ' + (-512 >> 10)); -} - - -if (-1024 >> 10 !== -1) { - $ERROR('#331: -1024 >> 10 === -1. Actual: ' + (-1024 >> 10)); -} - - -if (-2048 >> 10 !== -2) { - $ERROR('#332: -2048 >> 10 === -2. Actual: ' + (-2048 >> 10)); -} - - -if (-4096 >> 10 !== -4) { - $ERROR('#333: -4096 >> 10 === -4. Actual: ' + (-4096 >> 10)); -} - - -if (-8192 >> 10 !== -8) { - $ERROR('#334: -8192 >> 10 === -8. Actual: ' + (-8192 >> 10)); -} - - -if (-16384 >> 10 !== -16) { - $ERROR('#335: -16384 >> 10 === -16. Actual: ' + (-16384 >> 10)); -} - - -if (-32768 >> 10 !== -32) { - $ERROR('#336: -32768 >> 10 === -32. Actual: ' + (-32768 >> 10)); -} - - -if (-65536 >> 10 !== -64) { - $ERROR('#337: -65536 >> 10 === -64. Actual: ' + (-65536 >> 10)); -} - - -if (-131072 >> 10 !== -128) { - $ERROR('#338: -131072 >> 10 === -128. Actual: ' + (-131072 >> 10)); -} - - -if (-262144 >> 10 !== -256) { - $ERROR('#339: -262144 >> 10 === -256. Actual: ' + (-262144 >> 10)); -} - - -if (-524288 >> 10 !== -512) { - $ERROR('#340: -524288 >> 10 === -512. Actual: ' + (-524288 >> 10)); -} - - -if (-1048576 >> 10 !== -1024) { - $ERROR('#341: -1048576 >> 10 === -1024. Actual: ' + (-1048576 >> 10)); -} - - -if (-2097152 >> 10 !== -2048) { - $ERROR('#342: -2097152 >> 10 === -2048. Actual: ' + (-2097152 >> 10)); -} - - -if (-4194304 >> 10 !== -4096) { - $ERROR('#343: -4194304 >> 10 === -4096. Actual: ' + (-4194304 >> 10)); -} - - -if (-8388608 >> 10 !== -8192) { - $ERROR('#344: -8388608 >> 10 === -8192. Actual: ' + (-8388608 >> 10)); -} - - -if (-16777216 >> 10 !== -16384) { - $ERROR('#345: -16777216 >> 10 === -16384. Actual: ' + (-16777216 >> 10)); -} - - -if (-33554432 >> 10 !== -32768) { - $ERROR('#346: -33554432 >> 10 === -32768. Actual: ' + (-33554432 >> 10)); -} - - -if (-67108864 >> 10 !== -65536) { - $ERROR('#347: -67108864 >> 10 === -65536. Actual: ' + (-67108864 >> 10)); -} - - -if (-134217728 >> 10 !== -131072) { - $ERROR('#348: -134217728 >> 10 === -131072. Actual: ' + (-134217728 >> 10)); -} - - -if (-268435456 >> 10 !== -262144) { - $ERROR('#349: -268435456 >> 10 === -262144. Actual: ' + (-268435456 >> 10)); -} - - -if (-536870912 >> 10 !== -524288) { - $ERROR('#350: -536870912 >> 10 === -524288. Actual: ' + (-536870912 >> 10)); -} - - -if (-1073741824 >> 10 !== -1048576) { - $ERROR('#351: -1073741824 >> 10 === -1048576. Actual: ' + (-1073741824 >> 10)); -} - - -if (-2147483648 >> 10 !== -2097152) { - $ERROR('#352: -2147483648 >> 10 === -2097152. Actual: ' + (-2147483648 >> 10)); -} - - -if (-1 >> 11 !== -1) { - $ERROR('#353: -1 >> 11 === -1. Actual: ' + (-1 >> 11)); -} - - -if (-2 >> 11 !== -1) { - $ERROR('#354: -2 >> 11 === -1. Actual: ' + (-2 >> 11)); -} - - -if (-4 >> 11 !== -1) { - $ERROR('#355: -4 >> 11 === -1. Actual: ' + (-4 >> 11)); -} - - -if (-8 >> 11 !== -1) { - $ERROR('#356: -8 >> 11 === -1. Actual: ' + (-8 >> 11)); -} - - -if (-16 >> 11 !== -1) { - $ERROR('#357: -16 >> 11 === -1. Actual: ' + (-16 >> 11)); -} - - -if (-32 >> 11 !== -1) { - $ERROR('#358: -32 >> 11 === -1. Actual: ' + (-32 >> 11)); -} - - -if (-64 >> 11 !== -1) { - $ERROR('#359: -64 >> 11 === -1. Actual: ' + (-64 >> 11)); -} - - -if (-128 >> 11 !== -1) { - $ERROR('#360: -128 >> 11 === -1. Actual: ' + (-128 >> 11)); -} - - -if (-256 >> 11 !== -1) { - $ERROR('#361: -256 >> 11 === -1. Actual: ' + (-256 >> 11)); -} - - -if (-512 >> 11 !== -1) { - $ERROR('#362: -512 >> 11 === -1. Actual: ' + (-512 >> 11)); -} - - -if (-1024 >> 11 !== -1) { - $ERROR('#363: -1024 >> 11 === -1. Actual: ' + (-1024 >> 11)); -} - - -if (-2048 >> 11 !== -1) { - $ERROR('#364: -2048 >> 11 === -1. Actual: ' + (-2048 >> 11)); -} - - -if (-4096 >> 11 !== -2) { - $ERROR('#365: -4096 >> 11 === -2. Actual: ' + (-4096 >> 11)); -} - - -if (-8192 >> 11 !== -4) { - $ERROR('#366: -8192 >> 11 === -4. Actual: ' + (-8192 >> 11)); -} - - -if (-16384 >> 11 !== -8) { - $ERROR('#367: -16384 >> 11 === -8. Actual: ' + (-16384 >> 11)); -} - - -if (-32768 >> 11 !== -16) { - $ERROR('#368: -32768 >> 11 === -16. Actual: ' + (-32768 >> 11)); -} - - -if (-65536 >> 11 !== -32) { - $ERROR('#369: -65536 >> 11 === -32. Actual: ' + (-65536 >> 11)); -} - - -if (-131072 >> 11 !== -64) { - $ERROR('#370: -131072 >> 11 === -64. Actual: ' + (-131072 >> 11)); -} - - -if (-262144 >> 11 !== -128) { - $ERROR('#371: -262144 >> 11 === -128. Actual: ' + (-262144 >> 11)); -} - - -if (-524288 >> 11 !== -256) { - $ERROR('#372: -524288 >> 11 === -256. Actual: ' + (-524288 >> 11)); -} - - -if (-1048576 >> 11 !== -512) { - $ERROR('#373: -1048576 >> 11 === -512. Actual: ' + (-1048576 >> 11)); -} - - -if (-2097152 >> 11 !== -1024) { - $ERROR('#374: -2097152 >> 11 === -1024. Actual: ' + (-2097152 >> 11)); -} - - -if (-4194304 >> 11 !== -2048) { - $ERROR('#375: -4194304 >> 11 === -2048. Actual: ' + (-4194304 >> 11)); -} - - -if (-8388608 >> 11 !== -4096) { - $ERROR('#376: -8388608 >> 11 === -4096. Actual: ' + (-8388608 >> 11)); -} - - -if (-16777216 >> 11 !== -8192) { - $ERROR('#377: -16777216 >> 11 === -8192. Actual: ' + (-16777216 >> 11)); -} - - -if (-33554432 >> 11 !== -16384) { - $ERROR('#378: -33554432 >> 11 === -16384. Actual: ' + (-33554432 >> 11)); -} - - -if (-67108864 >> 11 !== -32768) { - $ERROR('#379: -67108864 >> 11 === -32768. Actual: ' + (-67108864 >> 11)); -} - - -if (-134217728 >> 11 !== -65536) { - $ERROR('#380: -134217728 >> 11 === -65536. Actual: ' + (-134217728 >> 11)); -} - - -if (-268435456 >> 11 !== -131072) { - $ERROR('#381: -268435456 >> 11 === -131072. Actual: ' + (-268435456 >> 11)); -} - - -if (-536870912 >> 11 !== -262144) { - $ERROR('#382: -536870912 >> 11 === -262144. Actual: ' + (-536870912 >> 11)); -} - - -if (-1073741824 >> 11 !== -524288) { - $ERROR('#383: -1073741824 >> 11 === -524288. Actual: ' + (-1073741824 >> 11)); -} - - -if (-2147483648 >> 11 !== -1048576) { - $ERROR('#384: -2147483648 >> 11 === -1048576. Actual: ' + (-2147483648 >> 11)); -} - - -if (-1 >> 12 !== -1) { - $ERROR('#385: -1 >> 12 === -1. Actual: ' + (-1 >> 12)); -} - - -if (-2 >> 12 !== -1) { - $ERROR('#386: -2 >> 12 === -1. Actual: ' + (-2 >> 12)); -} - - -if (-4 >> 12 !== -1) { - $ERROR('#387: -4 >> 12 === -1. Actual: ' + (-4 >> 12)); -} - - -if (-8 >> 12 !== -1) { - $ERROR('#388: -8 >> 12 === -1. Actual: ' + (-8 >> 12)); -} - - -if (-16 >> 12 !== -1) { - $ERROR('#389: -16 >> 12 === -1. Actual: ' + (-16 >> 12)); -} - - -if (-32 >> 12 !== -1) { - $ERROR('#390: -32 >> 12 === -1. Actual: ' + (-32 >> 12)); -} - - -if (-64 >> 12 !== -1) { - $ERROR('#391: -64 >> 12 === -1. Actual: ' + (-64 >> 12)); -} - - -if (-128 >> 12 !== -1) { - $ERROR('#392: -128 >> 12 === -1. Actual: ' + (-128 >> 12)); -} - - -if (-256 >> 12 !== -1) { - $ERROR('#393: -256 >> 12 === -1. Actual: ' + (-256 >> 12)); -} - - -if (-512 >> 12 !== -1) { - $ERROR('#394: -512 >> 12 === -1. Actual: ' + (-512 >> 12)); -} - - -if (-1024 >> 12 !== -1) { - $ERROR('#395: -1024 >> 12 === -1. Actual: ' + (-1024 >> 12)); -} - - -if (-2048 >> 12 !== -1) { - $ERROR('#396: -2048 >> 12 === -1. Actual: ' + (-2048 >> 12)); -} - - -if (-4096 >> 12 !== -1) { - $ERROR('#397: -4096 >> 12 === -1. Actual: ' + (-4096 >> 12)); -} - - -if (-8192 >> 12 !== -2) { - $ERROR('#398: -8192 >> 12 === -2. Actual: ' + (-8192 >> 12)); -} - - -if (-16384 >> 12 !== -4) { - $ERROR('#399: -16384 >> 12 === -4. Actual: ' + (-16384 >> 12)); -} - - -if (-32768 >> 12 !== -8) { - $ERROR('#400: -32768 >> 12 === -8. Actual: ' + (-32768 >> 12)); -} - - -if (-65536 >> 12 !== -16) { - $ERROR('#401: -65536 >> 12 === -16. Actual: ' + (-65536 >> 12)); -} - - -if (-131072 >> 12 !== -32) { - $ERROR('#402: -131072 >> 12 === -32. Actual: ' + (-131072 >> 12)); -} - - -if (-262144 >> 12 !== -64) { - $ERROR('#403: -262144 >> 12 === -64. Actual: ' + (-262144 >> 12)); -} - - -if (-524288 >> 12 !== -128) { - $ERROR('#404: -524288 >> 12 === -128. Actual: ' + (-524288 >> 12)); -} - - -if (-1048576 >> 12 !== -256) { - $ERROR('#405: -1048576 >> 12 === -256. Actual: ' + (-1048576 >> 12)); -} - - -if (-2097152 >> 12 !== -512) { - $ERROR('#406: -2097152 >> 12 === -512. Actual: ' + (-2097152 >> 12)); -} - - -if (-4194304 >> 12 !== -1024) { - $ERROR('#407: -4194304 >> 12 === -1024. Actual: ' + (-4194304 >> 12)); -} - - -if (-8388608 >> 12 !== -2048) { - $ERROR('#408: -8388608 >> 12 === -2048. Actual: ' + (-8388608 >> 12)); -} - - -if (-16777216 >> 12 !== -4096) { - $ERROR('#409: -16777216 >> 12 === -4096. Actual: ' + (-16777216 >> 12)); -} - - -if (-33554432 >> 12 !== -8192) { - $ERROR('#410: -33554432 >> 12 === -8192. Actual: ' + (-33554432 >> 12)); -} - - -if (-67108864 >> 12 !== -16384) { - $ERROR('#411: -67108864 >> 12 === -16384. Actual: ' + (-67108864 >> 12)); -} - - -if (-134217728 >> 12 !== -32768) { - $ERROR('#412: -134217728 >> 12 === -32768. Actual: ' + (-134217728 >> 12)); -} - - -if (-268435456 >> 12 !== -65536) { - $ERROR('#413: -268435456 >> 12 === -65536. Actual: ' + (-268435456 >> 12)); -} - - -if (-536870912 >> 12 !== -131072) { - $ERROR('#414: -536870912 >> 12 === -131072. Actual: ' + (-536870912 >> 12)); -} - - -if (-1073741824 >> 12 !== -262144) { - $ERROR('#415: -1073741824 >> 12 === -262144. Actual: ' + (-1073741824 >> 12)); -} - - -if (-2147483648 >> 12 !== -524288) { - $ERROR('#416: -2147483648 >> 12 === -524288. Actual: ' + (-2147483648 >> 12)); -} - - -if (-1 >> 13 !== -1) { - $ERROR('#417: -1 >> 13 === -1. Actual: ' + (-1 >> 13)); -} - - -if (-2 >> 13 !== -1) { - $ERROR('#418: -2 >> 13 === -1. Actual: ' + (-2 >> 13)); -} - - -if (-4 >> 13 !== -1) { - $ERROR('#419: -4 >> 13 === -1. Actual: ' + (-4 >> 13)); -} - - -if (-8 >> 13 !== -1) { - $ERROR('#420: -8 >> 13 === -1. Actual: ' + (-8 >> 13)); -} - - -if (-16 >> 13 !== -1) { - $ERROR('#421: -16 >> 13 === -1. Actual: ' + (-16 >> 13)); -} - - -if (-32 >> 13 !== -1) { - $ERROR('#422: -32 >> 13 === -1. Actual: ' + (-32 >> 13)); -} - - -if (-64 >> 13 !== -1) { - $ERROR('#423: -64 >> 13 === -1. Actual: ' + (-64 >> 13)); -} - - -if (-128 >> 13 !== -1) { - $ERROR('#424: -128 >> 13 === -1. Actual: ' + (-128 >> 13)); -} - - -if (-256 >> 13 !== -1) { - $ERROR('#425: -256 >> 13 === -1. Actual: ' + (-256 >> 13)); -} - - -if (-512 >> 13 !== -1) { - $ERROR('#426: -512 >> 13 === -1. Actual: ' + (-512 >> 13)); -} - - -if (-1024 >> 13 !== -1) { - $ERROR('#427: -1024 >> 13 === -1. Actual: ' + (-1024 >> 13)); -} - - -if (-2048 >> 13 !== -1) { - $ERROR('#428: -2048 >> 13 === -1. Actual: ' + (-2048 >> 13)); -} - - -if (-4096 >> 13 !== -1) { - $ERROR('#429: -4096 >> 13 === -1. Actual: ' + (-4096 >> 13)); -} - - -if (-8192 >> 13 !== -1) { - $ERROR('#430: -8192 >> 13 === -1. Actual: ' + (-8192 >> 13)); -} - - -if (-16384 >> 13 !== -2) { - $ERROR('#431: -16384 >> 13 === -2. Actual: ' + (-16384 >> 13)); -} - - -if (-32768 >> 13 !== -4) { - $ERROR('#432: -32768 >> 13 === -4. Actual: ' + (-32768 >> 13)); -} - - -if (-65536 >> 13 !== -8) { - $ERROR('#433: -65536 >> 13 === -8. Actual: ' + (-65536 >> 13)); -} - - -if (-131072 >> 13 !== -16) { - $ERROR('#434: -131072 >> 13 === -16. Actual: ' + (-131072 >> 13)); -} - - -if (-262144 >> 13 !== -32) { - $ERROR('#435: -262144 >> 13 === -32. Actual: ' + (-262144 >> 13)); -} - - -if (-524288 >> 13 !== -64) { - $ERROR('#436: -524288 >> 13 === -64. Actual: ' + (-524288 >> 13)); -} - - -if (-1048576 >> 13 !== -128) { - $ERROR('#437: -1048576 >> 13 === -128. Actual: ' + (-1048576 >> 13)); -} - - -if (-2097152 >> 13 !== -256) { - $ERROR('#438: -2097152 >> 13 === -256. Actual: ' + (-2097152 >> 13)); -} - - -if (-4194304 >> 13 !== -512) { - $ERROR('#439: -4194304 >> 13 === -512. Actual: ' + (-4194304 >> 13)); -} - - -if (-8388608 >> 13 !== -1024) { - $ERROR('#440: -8388608 >> 13 === -1024. Actual: ' + (-8388608 >> 13)); -} - - -if (-16777216 >> 13 !== -2048) { - $ERROR('#441: -16777216 >> 13 === -2048. Actual: ' + (-16777216 >> 13)); -} - - -if (-33554432 >> 13 !== -4096) { - $ERROR('#442: -33554432 >> 13 === -4096. Actual: ' + (-33554432 >> 13)); -} - - -if (-67108864 >> 13 !== -8192) { - $ERROR('#443: -67108864 >> 13 === -8192. Actual: ' + (-67108864 >> 13)); -} - - -if (-134217728 >> 13 !== -16384) { - $ERROR('#444: -134217728 >> 13 === -16384. Actual: ' + (-134217728 >> 13)); -} - - -if (-268435456 >> 13 !== -32768) { - $ERROR('#445: -268435456 >> 13 === -32768. Actual: ' + (-268435456 >> 13)); -} - - -if (-536870912 >> 13 !== -65536) { - $ERROR('#446: -536870912 >> 13 === -65536. Actual: ' + (-536870912 >> 13)); -} - - -if (-1073741824 >> 13 !== -131072) { - $ERROR('#447: -1073741824 >> 13 === -131072. Actual: ' + (-1073741824 >> 13)); -} - - -if (-2147483648 >> 13 !== -262144) { - $ERROR('#448: -2147483648 >> 13 === -262144. Actual: ' + (-2147483648 >> 13)); -} - - -if (-1 >> 14 !== -1) { - $ERROR('#449: -1 >> 14 === -1. Actual: ' + (-1 >> 14)); -} - - -if (-2 >> 14 !== -1) { - $ERROR('#450: -2 >> 14 === -1. Actual: ' + (-2 >> 14)); -} - - -if (-4 >> 14 !== -1) { - $ERROR('#451: -4 >> 14 === -1. Actual: ' + (-4 >> 14)); -} - - -if (-8 >> 14 !== -1) { - $ERROR('#452: -8 >> 14 === -1. Actual: ' + (-8 >> 14)); -} - - -if (-16 >> 14 !== -1) { - $ERROR('#453: -16 >> 14 === -1. Actual: ' + (-16 >> 14)); -} - - -if (-32 >> 14 !== -1) { - $ERROR('#454: -32 >> 14 === -1. Actual: ' + (-32 >> 14)); -} - - -if (-64 >> 14 !== -1) { - $ERROR('#455: -64 >> 14 === -1. Actual: ' + (-64 >> 14)); -} - - -if (-128 >> 14 !== -1) { - $ERROR('#456: -128 >> 14 === -1. Actual: ' + (-128 >> 14)); -} - - -if (-256 >> 14 !== -1) { - $ERROR('#457: -256 >> 14 === -1. Actual: ' + (-256 >> 14)); -} - - -if (-512 >> 14 !== -1) { - $ERROR('#458: -512 >> 14 === -1. Actual: ' + (-512 >> 14)); -} - - -if (-1024 >> 14 !== -1) { - $ERROR('#459: -1024 >> 14 === -1. Actual: ' + (-1024 >> 14)); -} - - -if (-2048 >> 14 !== -1) { - $ERROR('#460: -2048 >> 14 === -1. Actual: ' + (-2048 >> 14)); -} - - -if (-4096 >> 14 !== -1) { - $ERROR('#461: -4096 >> 14 === -1. Actual: ' + (-4096 >> 14)); -} - - -if (-8192 >> 14 !== -1) { - $ERROR('#462: -8192 >> 14 === -1. Actual: ' + (-8192 >> 14)); -} - - -if (-16384 >> 14 !== -1) { - $ERROR('#463: -16384 >> 14 === -1. Actual: ' + (-16384 >> 14)); -} - - -if (-32768 >> 14 !== -2) { - $ERROR('#464: -32768 >> 14 === -2. Actual: ' + (-32768 >> 14)); -} - - -if (-65536 >> 14 !== -4) { - $ERROR('#465: -65536 >> 14 === -4. Actual: ' + (-65536 >> 14)); -} - - -if (-131072 >> 14 !== -8) { - $ERROR('#466: -131072 >> 14 === -8. Actual: ' + (-131072 >> 14)); -} - - -if (-262144 >> 14 !== -16) { - $ERROR('#467: -262144 >> 14 === -16. Actual: ' + (-262144 >> 14)); -} - - -if (-524288 >> 14 !== -32) { - $ERROR('#468: -524288 >> 14 === -32. Actual: ' + (-524288 >> 14)); -} - - -if (-1048576 >> 14 !== -64) { - $ERROR('#469: -1048576 >> 14 === -64. Actual: ' + (-1048576 >> 14)); -} - - -if (-2097152 >> 14 !== -128) { - $ERROR('#470: -2097152 >> 14 === -128. Actual: ' + (-2097152 >> 14)); -} - - -if (-4194304 >> 14 !== -256) { - $ERROR('#471: -4194304 >> 14 === -256. Actual: ' + (-4194304 >> 14)); -} - - -if (-8388608 >> 14 !== -512) { - $ERROR('#472: -8388608 >> 14 === -512. Actual: ' + (-8388608 >> 14)); -} - - -if (-16777216 >> 14 !== -1024) { - $ERROR('#473: -16777216 >> 14 === -1024. Actual: ' + (-16777216 >> 14)); -} - - -if (-33554432 >> 14 !== -2048) { - $ERROR('#474: -33554432 >> 14 === -2048. Actual: ' + (-33554432 >> 14)); -} - - -if (-67108864 >> 14 !== -4096) { - $ERROR('#475: -67108864 >> 14 === -4096. Actual: ' + (-67108864 >> 14)); -} - - -if (-134217728 >> 14 !== -8192) { - $ERROR('#476: -134217728 >> 14 === -8192. Actual: ' + (-134217728 >> 14)); -} - - -if (-268435456 >> 14 !== -16384) { - $ERROR('#477: -268435456 >> 14 === -16384. Actual: ' + (-268435456 >> 14)); -} - - -if (-536870912 >> 14 !== -32768) { - $ERROR('#478: -536870912 >> 14 === -32768. Actual: ' + (-536870912 >> 14)); -} - - -if (-1073741824 >> 14 !== -65536) { - $ERROR('#479: -1073741824 >> 14 === -65536. Actual: ' + (-1073741824 >> 14)); -} - - -if (-2147483648 >> 14 !== -131072) { - $ERROR('#480: -2147483648 >> 14 === -131072. Actual: ' + (-2147483648 >> 14)); -} - - -if (-1 >> 15 !== -1) { - $ERROR('#481: -1 >> 15 === -1. Actual: ' + (-1 >> 15)); -} - - -if (-2 >> 15 !== -1) { - $ERROR('#482: -2 >> 15 === -1. Actual: ' + (-2 >> 15)); -} - - -if (-4 >> 15 !== -1) { - $ERROR('#483: -4 >> 15 === -1. Actual: ' + (-4 >> 15)); -} - - -if (-8 >> 15 !== -1) { - $ERROR('#484: -8 >> 15 === -1. Actual: ' + (-8 >> 15)); -} - - -if (-16 >> 15 !== -1) { - $ERROR('#485: -16 >> 15 === -1. Actual: ' + (-16 >> 15)); -} - - -if (-32 >> 15 !== -1) { - $ERROR('#486: -32 >> 15 === -1. Actual: ' + (-32 >> 15)); -} - - -if (-64 >> 15 !== -1) { - $ERROR('#487: -64 >> 15 === -1. Actual: ' + (-64 >> 15)); -} - - -if (-128 >> 15 !== -1) { - $ERROR('#488: -128 >> 15 === -1. Actual: ' + (-128 >> 15)); -} - - -if (-256 >> 15 !== -1) { - $ERROR('#489: -256 >> 15 === -1. Actual: ' + (-256 >> 15)); -} - - -if (-512 >> 15 !== -1) { - $ERROR('#490: -512 >> 15 === -1. Actual: ' + (-512 >> 15)); -} - - -if (-1024 >> 15 !== -1) { - $ERROR('#491: -1024 >> 15 === -1. Actual: ' + (-1024 >> 15)); -} - - -if (-2048 >> 15 !== -1) { - $ERROR('#492: -2048 >> 15 === -1. Actual: ' + (-2048 >> 15)); -} - - -if (-4096 >> 15 !== -1) { - $ERROR('#493: -4096 >> 15 === -1. Actual: ' + (-4096 >> 15)); -} - - -if (-8192 >> 15 !== -1) { - $ERROR('#494: -8192 >> 15 === -1. Actual: ' + (-8192 >> 15)); -} - - -if (-16384 >> 15 !== -1) { - $ERROR('#495: -16384 >> 15 === -1. Actual: ' + (-16384 >> 15)); -} - - -if (-32768 >> 15 !== -1) { - $ERROR('#496: -32768 >> 15 === -1. Actual: ' + (-32768 >> 15)); -} - - -if (-65536 >> 15 !== -2) { - $ERROR('#497: -65536 >> 15 === -2. Actual: ' + (-65536 >> 15)); -} - - -if (-131072 >> 15 !== -4) { - $ERROR('#498: -131072 >> 15 === -4. Actual: ' + (-131072 >> 15)); -} - - -if (-262144 >> 15 !== -8) { - $ERROR('#499: -262144 >> 15 === -8. Actual: ' + (-262144 >> 15)); -} - - -if (-524288 >> 15 !== -16) { - $ERROR('#500: -524288 >> 15 === -16. Actual: ' + (-524288 >> 15)); -} - - -if (-1048576 >> 15 !== -32) { - $ERROR('#501: -1048576 >> 15 === -32. Actual: ' + (-1048576 >> 15)); -} - - -if (-2097152 >> 15 !== -64) { - $ERROR('#502: -2097152 >> 15 === -64. Actual: ' + (-2097152 >> 15)); -} - - -if (-4194304 >> 15 !== -128) { - $ERROR('#503: -4194304 >> 15 === -128. Actual: ' + (-4194304 >> 15)); -} - - -if (-8388608 >> 15 !== -256) { - $ERROR('#504: -8388608 >> 15 === -256. Actual: ' + (-8388608 >> 15)); -} - - -if (-16777216 >> 15 !== -512) { - $ERROR('#505: -16777216 >> 15 === -512. Actual: ' + (-16777216 >> 15)); -} - - -if (-33554432 >> 15 !== -1024) { - $ERROR('#506: -33554432 >> 15 === -1024. Actual: ' + (-33554432 >> 15)); -} - - -if (-67108864 >> 15 !== -2048) { - $ERROR('#507: -67108864 >> 15 === -2048. Actual: ' + (-67108864 >> 15)); -} - - -if (-134217728 >> 15 !== -4096) { - $ERROR('#508: -134217728 >> 15 === -4096. Actual: ' + (-134217728 >> 15)); -} - - -if (-268435456 >> 15 !== -8192) { - $ERROR('#509: -268435456 >> 15 === -8192. Actual: ' + (-268435456 >> 15)); -} - - -if (-536870912 >> 15 !== -16384) { - $ERROR('#510: -536870912 >> 15 === -16384. Actual: ' + (-536870912 >> 15)); -} - - -if (-1073741824 >> 15 !== -32768) { - $ERROR('#511: -1073741824 >> 15 === -32768. Actual: ' + (-1073741824 >> 15)); -} - - -if (-2147483648 >> 15 !== -65536) { - $ERROR('#512: -2147483648 >> 15 === -65536. Actual: ' + (-2147483648 >> 15)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.js deleted file mode 100644 index f7dbd47a9e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.js +++ /dev/null @@ -1,2587 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A4_T2; - * @section: 11.7.2; - * @assertion: Check x >> y operator in distinct points; - * @description: ShiftExpression = 2^n - 1, n = 16...31; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A4_T2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.js", - -assertion: "Check x >> y operator in distinct points", - -description: "ShiftExpression = 2^n - 1, n = 16...31", - -test: function testcase() { - //CHECK - -if (-1 >> 16 !== -1) { - $ERROR('#513: -1 >> 16 === -1. Actual: ' + (-1 >> 16)); -} - - -if (-2 >> 16 !== -1) { - $ERROR('#514: -2 >> 16 === -1. Actual: ' + (-2 >> 16)); -} - - -if (-4 >> 16 !== -1) { - $ERROR('#515: -4 >> 16 === -1. Actual: ' + (-4 >> 16)); -} - - -if (-8 >> 16 !== -1) { - $ERROR('#516: -8 >> 16 === -1. Actual: ' + (-8 >> 16)); -} - - -if (-16 >> 16 !== -1) { - $ERROR('#517: -16 >> 16 === -1. Actual: ' + (-16 >> 16)); -} - - -if (-32 >> 16 !== -1) { - $ERROR('#518: -32 >> 16 === -1. Actual: ' + (-32 >> 16)); -} - - -if (-64 >> 16 !== -1) { - $ERROR('#519: -64 >> 16 === -1. Actual: ' + (-64 >> 16)); -} - - -if (-128 >> 16 !== -1) { - $ERROR('#520: -128 >> 16 === -1. Actual: ' + (-128 >> 16)); -} - - -if (-256 >> 16 !== -1) { - $ERROR('#521: -256 >> 16 === -1. Actual: ' + (-256 >> 16)); -} - - -if (-512 >> 16 !== -1) { - $ERROR('#522: -512 >> 16 === -1. Actual: ' + (-512 >> 16)); -} - - -if (-1024 >> 16 !== -1) { - $ERROR('#523: -1024 >> 16 === -1. Actual: ' + (-1024 >> 16)); -} - - -if (-2048 >> 16 !== -1) { - $ERROR('#524: -2048 >> 16 === -1. Actual: ' + (-2048 >> 16)); -} - - -if (-4096 >> 16 !== -1) { - $ERROR('#525: -4096 >> 16 === -1. Actual: ' + (-4096 >> 16)); -} - - -if (-8192 >> 16 !== -1) { - $ERROR('#526: -8192 >> 16 === -1. Actual: ' + (-8192 >> 16)); -} - - -if (-16384 >> 16 !== -1) { - $ERROR('#527: -16384 >> 16 === -1. Actual: ' + (-16384 >> 16)); -} - - -if (-32768 >> 16 !== -1) { - $ERROR('#528: -32768 >> 16 === -1. Actual: ' + (-32768 >> 16)); -} - - -if (-65536 >> 16 !== -1) { - $ERROR('#529: -65536 >> 16 === -1. Actual: ' + (-65536 >> 16)); -} - - -if (-131072 >> 16 !== -2) { - $ERROR('#530: -131072 >> 16 === -2. Actual: ' + (-131072 >> 16)); -} - - -if (-262144 >> 16 !== -4) { - $ERROR('#531: -262144 >> 16 === -4. Actual: ' + (-262144 >> 16)); -} - - -if (-524288 >> 16 !== -8) { - $ERROR('#532: -524288 >> 16 === -8. Actual: ' + (-524288 >> 16)); -} - - -if (-1048576 >> 16 !== -16) { - $ERROR('#533: -1048576 >> 16 === -16. Actual: ' + (-1048576 >> 16)); -} - - -if (-2097152 >> 16 !== -32) { - $ERROR('#534: -2097152 >> 16 === -32. Actual: ' + (-2097152 >> 16)); -} - - -if (-4194304 >> 16 !== -64) { - $ERROR('#535: -4194304 >> 16 === -64. Actual: ' + (-4194304 >> 16)); -} - - -if (-8388608 >> 16 !== -128) { - $ERROR('#536: -8388608 >> 16 === -128. Actual: ' + (-8388608 >> 16)); -} - - -if (-16777216 >> 16 !== -256) { - $ERROR('#537: -16777216 >> 16 === -256. Actual: ' + (-16777216 >> 16)); -} - - -if (-33554432 >> 16 !== -512) { - $ERROR('#538: -33554432 >> 16 === -512. Actual: ' + (-33554432 >> 16)); -} - - -if (-67108864 >> 16 !== -1024) { - $ERROR('#539: -67108864 >> 16 === -1024. Actual: ' + (-67108864 >> 16)); -} - - -if (-134217728 >> 16 !== -2048) { - $ERROR('#540: -134217728 >> 16 === -2048. Actual: ' + (-134217728 >> 16)); -} - - -if (-268435456 >> 16 !== -4096) { - $ERROR('#541: -268435456 >> 16 === -4096. Actual: ' + (-268435456 >> 16)); -} - - -if (-536870912 >> 16 !== -8192) { - $ERROR('#542: -536870912 >> 16 === -8192. Actual: ' + (-536870912 >> 16)); -} - - -if (-1073741824 >> 16 !== -16384) { - $ERROR('#543: -1073741824 >> 16 === -16384. Actual: ' + (-1073741824 >> 16)); -} - - -if (-2147483648 >> 16 !== -32768) { - $ERROR('#544: -2147483648 >> 16 === -32768. Actual: ' + (-2147483648 >> 16)); -} - - -if (-1 >> 17 !== -1) { - $ERROR('#545: -1 >> 17 === -1. Actual: ' + (-1 >> 17)); -} - - -if (-2 >> 17 !== -1) { - $ERROR('#546: -2 >> 17 === -1. Actual: ' + (-2 >> 17)); -} - - -if (-4 >> 17 !== -1) { - $ERROR('#547: -4 >> 17 === -1. Actual: ' + (-4 >> 17)); -} - - -if (-8 >> 17 !== -1) { - $ERROR('#548: -8 >> 17 === -1. Actual: ' + (-8 >> 17)); -} - - -if (-16 >> 17 !== -1) { - $ERROR('#549: -16 >> 17 === -1. Actual: ' + (-16 >> 17)); -} - - -if (-32 >> 17 !== -1) { - $ERROR('#550: -32 >> 17 === -1. Actual: ' + (-32 >> 17)); -} - - -if (-64 >> 17 !== -1) { - $ERROR('#551: -64 >> 17 === -1. Actual: ' + (-64 >> 17)); -} - - -if (-128 >> 17 !== -1) { - $ERROR('#552: -128 >> 17 === -1. Actual: ' + (-128 >> 17)); -} - - -if (-256 >> 17 !== -1) { - $ERROR('#553: -256 >> 17 === -1. Actual: ' + (-256 >> 17)); -} - - -if (-512 >> 17 !== -1) { - $ERROR('#554: -512 >> 17 === -1. Actual: ' + (-512 >> 17)); -} - - -if (-1024 >> 17 !== -1) { - $ERROR('#555: -1024 >> 17 === -1. Actual: ' + (-1024 >> 17)); -} - - -if (-2048 >> 17 !== -1) { - $ERROR('#556: -2048 >> 17 === -1. Actual: ' + (-2048 >> 17)); -} - - -if (-4096 >> 17 !== -1) { - $ERROR('#557: -4096 >> 17 === -1. Actual: ' + (-4096 >> 17)); -} - - -if (-8192 >> 17 !== -1) { - $ERROR('#558: -8192 >> 17 === -1. Actual: ' + (-8192 >> 17)); -} - - -if (-16384 >> 17 !== -1) { - $ERROR('#559: -16384 >> 17 === -1. Actual: ' + (-16384 >> 17)); -} - - -if (-32768 >> 17 !== -1) { - $ERROR('#560: -32768 >> 17 === -1. Actual: ' + (-32768 >> 17)); -} - - -if (-65536 >> 17 !== -1) { - $ERROR('#561: -65536 >> 17 === -1. Actual: ' + (-65536 >> 17)); -} - - -if (-131072 >> 17 !== -1) { - $ERROR('#562: -131072 >> 17 === -1. Actual: ' + (-131072 >> 17)); -} - - -if (-262144 >> 17 !== -2) { - $ERROR('#563: -262144 >> 17 === -2. Actual: ' + (-262144 >> 17)); -} - - -if (-524288 >> 17 !== -4) { - $ERROR('#564: -524288 >> 17 === -4. Actual: ' + (-524288 >> 17)); -} - - -if (-1048576 >> 17 !== -8) { - $ERROR('#565: -1048576 >> 17 === -8. Actual: ' + (-1048576 >> 17)); -} - - -if (-2097152 >> 17 !== -16) { - $ERROR('#566: -2097152 >> 17 === -16. Actual: ' + (-2097152 >> 17)); -} - - -if (-4194304 >> 17 !== -32) { - $ERROR('#567: -4194304 >> 17 === -32. Actual: ' + (-4194304 >> 17)); -} - - -if (-8388608 >> 17 !== -64) { - $ERROR('#568: -8388608 >> 17 === -64. Actual: ' + (-8388608 >> 17)); -} - - -if (-16777216 >> 17 !== -128) { - $ERROR('#569: -16777216 >> 17 === -128. Actual: ' + (-16777216 >> 17)); -} - - -if (-33554432 >> 17 !== -256) { - $ERROR('#570: -33554432 >> 17 === -256. Actual: ' + (-33554432 >> 17)); -} - - -if (-67108864 >> 17 !== -512) { - $ERROR('#571: -67108864 >> 17 === -512. Actual: ' + (-67108864 >> 17)); -} - - -if (-134217728 >> 17 !== -1024) { - $ERROR('#572: -134217728 >> 17 === -1024. Actual: ' + (-134217728 >> 17)); -} - - -if (-268435456 >> 17 !== -2048) { - $ERROR('#573: -268435456 >> 17 === -2048. Actual: ' + (-268435456 >> 17)); -} - - -if (-536870912 >> 17 !== -4096) { - $ERROR('#574: -536870912 >> 17 === -4096. Actual: ' + (-536870912 >> 17)); -} - - -if (-1073741824 >> 17 !== -8192) { - $ERROR('#575: -1073741824 >> 17 === -8192. Actual: ' + (-1073741824 >> 17)); -} - - -if (-2147483648 >> 17 !== -16384) { - $ERROR('#576: -2147483648 >> 17 === -16384. Actual: ' + (-2147483648 >> 17)); -} - - -if (-1 >> 18 !== -1) { - $ERROR('#577: -1 >> 18 === -1. Actual: ' + (-1 >> 18)); -} - - -if (-2 >> 18 !== -1) { - $ERROR('#578: -2 >> 18 === -1. Actual: ' + (-2 >> 18)); -} - - -if (-4 >> 18 !== -1) { - $ERROR('#579: -4 >> 18 === -1. Actual: ' + (-4 >> 18)); -} - - -if (-8 >> 18 !== -1) { - $ERROR('#580: -8 >> 18 === -1. Actual: ' + (-8 >> 18)); -} - - -if (-16 >> 18 !== -1) { - $ERROR('#581: -16 >> 18 === -1. Actual: ' + (-16 >> 18)); -} - - -if (-32 >> 18 !== -1) { - $ERROR('#582: -32 >> 18 === -1. Actual: ' + (-32 >> 18)); -} - - -if (-64 >> 18 !== -1) { - $ERROR('#583: -64 >> 18 === -1. Actual: ' + (-64 >> 18)); -} - - -if (-128 >> 18 !== -1) { - $ERROR('#584: -128 >> 18 === -1. Actual: ' + (-128 >> 18)); -} - - -if (-256 >> 18 !== -1) { - $ERROR('#585: -256 >> 18 === -1. Actual: ' + (-256 >> 18)); -} - - -if (-512 >> 18 !== -1) { - $ERROR('#586: -512 >> 18 === -1. Actual: ' + (-512 >> 18)); -} - - -if (-1024 >> 18 !== -1) { - $ERROR('#587: -1024 >> 18 === -1. Actual: ' + (-1024 >> 18)); -} - - -if (-2048 >> 18 !== -1) { - $ERROR('#588: -2048 >> 18 === -1. Actual: ' + (-2048 >> 18)); -} - - -if (-4096 >> 18 !== -1) { - $ERROR('#589: -4096 >> 18 === -1. Actual: ' + (-4096 >> 18)); -} - - -if (-8192 >> 18 !== -1) { - $ERROR('#590: -8192 >> 18 === -1. Actual: ' + (-8192 >> 18)); -} - - -if (-16384 >> 18 !== -1) { - $ERROR('#591: -16384 >> 18 === -1. Actual: ' + (-16384 >> 18)); -} - - -if (-32768 >> 18 !== -1) { - $ERROR('#592: -32768 >> 18 === -1. Actual: ' + (-32768 >> 18)); -} - - -if (-65536 >> 18 !== -1) { - $ERROR('#593: -65536 >> 18 === -1. Actual: ' + (-65536 >> 18)); -} - - -if (-131072 >> 18 !== -1) { - $ERROR('#594: -131072 >> 18 === -1. Actual: ' + (-131072 >> 18)); -} - - -if (-262144 >> 18 !== -1) { - $ERROR('#595: -262144 >> 18 === -1. Actual: ' + (-262144 >> 18)); -} - - -if (-524288 >> 18 !== -2) { - $ERROR('#596: -524288 >> 18 === -2. Actual: ' + (-524288 >> 18)); -} - - -if (-1048576 >> 18 !== -4) { - $ERROR('#597: -1048576 >> 18 === -4. Actual: ' + (-1048576 >> 18)); -} - - -if (-2097152 >> 18 !== -8) { - $ERROR('#598: -2097152 >> 18 === -8. Actual: ' + (-2097152 >> 18)); -} - - -if (-4194304 >> 18 !== -16) { - $ERROR('#599: -4194304 >> 18 === -16. Actual: ' + (-4194304 >> 18)); -} - - -if (-8388608 >> 18 !== -32) { - $ERROR('#600: -8388608 >> 18 === -32. Actual: ' + (-8388608 >> 18)); -} - - -if (-16777216 >> 18 !== -64) { - $ERROR('#601: -16777216 >> 18 === -64. Actual: ' + (-16777216 >> 18)); -} - - -if (-33554432 >> 18 !== -128) { - $ERROR('#602: -33554432 >> 18 === -128. Actual: ' + (-33554432 >> 18)); -} - - -if (-67108864 >> 18 !== -256) { - $ERROR('#603: -67108864 >> 18 === -256. Actual: ' + (-67108864 >> 18)); -} - - -if (-134217728 >> 18 !== -512) { - $ERROR('#604: -134217728 >> 18 === -512. Actual: ' + (-134217728 >> 18)); -} - - -if (-268435456 >> 18 !== -1024) { - $ERROR('#605: -268435456 >> 18 === -1024. Actual: ' + (-268435456 >> 18)); -} - - -if (-536870912 >> 18 !== -2048) { - $ERROR('#606: -536870912 >> 18 === -2048. Actual: ' + (-536870912 >> 18)); -} - - -if (-1073741824 >> 18 !== -4096) { - $ERROR('#607: -1073741824 >> 18 === -4096. Actual: ' + (-1073741824 >> 18)); -} - - -if (-2147483648 >> 18 !== -8192) { - $ERROR('#608: -2147483648 >> 18 === -8192. Actual: ' + (-2147483648 >> 18)); -} - - -if (-1 >> 19 !== -1) { - $ERROR('#609: -1 >> 19 === -1. Actual: ' + (-1 >> 19)); -} - - -if (-2 >> 19 !== -1) { - $ERROR('#610: -2 >> 19 === -1. Actual: ' + (-2 >> 19)); -} - - -if (-4 >> 19 !== -1) { - $ERROR('#611: -4 >> 19 === -1. Actual: ' + (-4 >> 19)); -} - - -if (-8 >> 19 !== -1) { - $ERROR('#612: -8 >> 19 === -1. Actual: ' + (-8 >> 19)); -} - - -if (-16 >> 19 !== -1) { - $ERROR('#613: -16 >> 19 === -1. Actual: ' + (-16 >> 19)); -} - - -if (-32 >> 19 !== -1) { - $ERROR('#614: -32 >> 19 === -1. Actual: ' + (-32 >> 19)); -} - - -if (-64 >> 19 !== -1) { - $ERROR('#615: -64 >> 19 === -1. Actual: ' + (-64 >> 19)); -} - - -if (-128 >> 19 !== -1) { - $ERROR('#616: -128 >> 19 === -1. Actual: ' + (-128 >> 19)); -} - - -if (-256 >> 19 !== -1) { - $ERROR('#617: -256 >> 19 === -1. Actual: ' + (-256 >> 19)); -} - - -if (-512 >> 19 !== -1) { - $ERROR('#618: -512 >> 19 === -1. Actual: ' + (-512 >> 19)); -} - - -if (-1024 >> 19 !== -1) { - $ERROR('#619: -1024 >> 19 === -1. Actual: ' + (-1024 >> 19)); -} - - -if (-2048 >> 19 !== -1) { - $ERROR('#620: -2048 >> 19 === -1. Actual: ' + (-2048 >> 19)); -} - - -if (-4096 >> 19 !== -1) { - $ERROR('#621: -4096 >> 19 === -1. Actual: ' + (-4096 >> 19)); -} - - -if (-8192 >> 19 !== -1) { - $ERROR('#622: -8192 >> 19 === -1. Actual: ' + (-8192 >> 19)); -} - - -if (-16384 >> 19 !== -1) { - $ERROR('#623: -16384 >> 19 === -1. Actual: ' + (-16384 >> 19)); -} - - -if (-32768 >> 19 !== -1) { - $ERROR('#624: -32768 >> 19 === -1. Actual: ' + (-32768 >> 19)); -} - - -if (-65536 >> 19 !== -1) { - $ERROR('#625: -65536 >> 19 === -1. Actual: ' + (-65536 >> 19)); -} - - -if (-131072 >> 19 !== -1) { - $ERROR('#626: -131072 >> 19 === -1. Actual: ' + (-131072 >> 19)); -} - - -if (-262144 >> 19 !== -1) { - $ERROR('#627: -262144 >> 19 === -1. Actual: ' + (-262144 >> 19)); -} - - -if (-524288 >> 19 !== -1) { - $ERROR('#628: -524288 >> 19 === -1. Actual: ' + (-524288 >> 19)); -} - - -if (-1048576 >> 19 !== -2) { - $ERROR('#629: -1048576 >> 19 === -2. Actual: ' + (-1048576 >> 19)); -} - - -if (-2097152 >> 19 !== -4) { - $ERROR('#630: -2097152 >> 19 === -4. Actual: ' + (-2097152 >> 19)); -} - - -if (-4194304 >> 19 !== -8) { - $ERROR('#631: -4194304 >> 19 === -8. Actual: ' + (-4194304 >> 19)); -} - - -if (-8388608 >> 19 !== -16) { - $ERROR('#632: -8388608 >> 19 === -16. Actual: ' + (-8388608 >> 19)); -} - - -if (-16777216 >> 19 !== -32) { - $ERROR('#633: -16777216 >> 19 === -32. Actual: ' + (-16777216 >> 19)); -} - - -if (-33554432 >> 19 !== -64) { - $ERROR('#634: -33554432 >> 19 === -64. Actual: ' + (-33554432 >> 19)); -} - - -if (-67108864 >> 19 !== -128) { - $ERROR('#635: -67108864 >> 19 === -128. Actual: ' + (-67108864 >> 19)); -} - - -if (-134217728 >> 19 !== -256) { - $ERROR('#636: -134217728 >> 19 === -256. Actual: ' + (-134217728 >> 19)); -} - - -if (-268435456 >> 19 !== -512) { - $ERROR('#637: -268435456 >> 19 === -512. Actual: ' + (-268435456 >> 19)); -} - - -if (-536870912 >> 19 !== -1024) { - $ERROR('#638: -536870912 >> 19 === -1024. Actual: ' + (-536870912 >> 19)); -} - - -if (-1073741824 >> 19 !== -2048) { - $ERROR('#639: -1073741824 >> 19 === -2048. Actual: ' + (-1073741824 >> 19)); -} - - -if (-2147483648 >> 19 !== -4096) { - $ERROR('#640: -2147483648 >> 19 === -4096. Actual: ' + (-2147483648 >> 19)); -} - - -if (-1 >> 20 !== -1) { - $ERROR('#641: -1 >> 20 === -1. Actual: ' + (-1 >> 20)); -} - - -if (-2 >> 20 !== -1) { - $ERROR('#642: -2 >> 20 === -1. Actual: ' + (-2 >> 20)); -} - - -if (-4 >> 20 !== -1) { - $ERROR('#643: -4 >> 20 === -1. Actual: ' + (-4 >> 20)); -} - - -if (-8 >> 20 !== -1) { - $ERROR('#644: -8 >> 20 === -1. Actual: ' + (-8 >> 20)); -} - - -if (-16 >> 20 !== -1) { - $ERROR('#645: -16 >> 20 === -1. Actual: ' + (-16 >> 20)); -} - - -if (-32 >> 20 !== -1) { - $ERROR('#646: -32 >> 20 === -1. Actual: ' + (-32 >> 20)); -} - - -if (-64 >> 20 !== -1) { - $ERROR('#647: -64 >> 20 === -1. Actual: ' + (-64 >> 20)); -} - - -if (-128 >> 20 !== -1) { - $ERROR('#648: -128 >> 20 === -1. Actual: ' + (-128 >> 20)); -} - - -if (-256 >> 20 !== -1) { - $ERROR('#649: -256 >> 20 === -1. Actual: ' + (-256 >> 20)); -} - - -if (-512 >> 20 !== -1) { - $ERROR('#650: -512 >> 20 === -1. Actual: ' + (-512 >> 20)); -} - - -if (-1024 >> 20 !== -1) { - $ERROR('#651: -1024 >> 20 === -1. Actual: ' + (-1024 >> 20)); -} - - -if (-2048 >> 20 !== -1) { - $ERROR('#652: -2048 >> 20 === -1. Actual: ' + (-2048 >> 20)); -} - - -if (-4096 >> 20 !== -1) { - $ERROR('#653: -4096 >> 20 === -1. Actual: ' + (-4096 >> 20)); -} - - -if (-8192 >> 20 !== -1) { - $ERROR('#654: -8192 >> 20 === -1. Actual: ' + (-8192 >> 20)); -} - - -if (-16384 >> 20 !== -1) { - $ERROR('#655: -16384 >> 20 === -1. Actual: ' + (-16384 >> 20)); -} - - -if (-32768 >> 20 !== -1) { - $ERROR('#656: -32768 >> 20 === -1. Actual: ' + (-32768 >> 20)); -} - - -if (-65536 >> 20 !== -1) { - $ERROR('#657: -65536 >> 20 === -1. Actual: ' + (-65536 >> 20)); -} - - -if (-131072 >> 20 !== -1) { - $ERROR('#658: -131072 >> 20 === -1. Actual: ' + (-131072 >> 20)); -} - - -if (-262144 >> 20 !== -1) { - $ERROR('#659: -262144 >> 20 === -1. Actual: ' + (-262144 >> 20)); -} - - -if (-524288 >> 20 !== -1) { - $ERROR('#660: -524288 >> 20 === -1. Actual: ' + (-524288 >> 20)); -} - - -if (-1048576 >> 20 !== -1) { - $ERROR('#661: -1048576 >> 20 === -1. Actual: ' + (-1048576 >> 20)); -} - - -if (-2097152 >> 20 !== -2) { - $ERROR('#662: -2097152 >> 20 === -2. Actual: ' + (-2097152 >> 20)); -} - - -if (-4194304 >> 20 !== -4) { - $ERROR('#663: -4194304 >> 20 === -4. Actual: ' + (-4194304 >> 20)); -} - - -if (-8388608 >> 20 !== -8) { - $ERROR('#664: -8388608 >> 20 === -8. Actual: ' + (-8388608 >> 20)); -} - - -if (-16777216 >> 20 !== -16) { - $ERROR('#665: -16777216 >> 20 === -16. Actual: ' + (-16777216 >> 20)); -} - - -if (-33554432 >> 20 !== -32) { - $ERROR('#666: -33554432 >> 20 === -32. Actual: ' + (-33554432 >> 20)); -} - - -if (-67108864 >> 20 !== -64) { - $ERROR('#667: -67108864 >> 20 === -64. Actual: ' + (-67108864 >> 20)); -} - - -if (-134217728 >> 20 !== -128) { - $ERROR('#668: -134217728 >> 20 === -128. Actual: ' + (-134217728 >> 20)); -} - - -if (-268435456 >> 20 !== -256) { - $ERROR('#669: -268435456 >> 20 === -256. Actual: ' + (-268435456 >> 20)); -} - - -if (-536870912 >> 20 !== -512) { - $ERROR('#670: -536870912 >> 20 === -512. Actual: ' + (-536870912 >> 20)); -} - - -if (-1073741824 >> 20 !== -1024) { - $ERROR('#671: -1073741824 >> 20 === -1024. Actual: ' + (-1073741824 >> 20)); -} - - -if (-2147483648 >> 20 !== -2048) { - $ERROR('#672: -2147483648 >> 20 === -2048. Actual: ' + (-2147483648 >> 20)); -} - - -if (-1 >> 21 !== -1) { - $ERROR('#673: -1 >> 21 === -1. Actual: ' + (-1 >> 21)); -} - - -if (-2 >> 21 !== -1) { - $ERROR('#674: -2 >> 21 === -1. Actual: ' + (-2 >> 21)); -} - - -if (-4 >> 21 !== -1) { - $ERROR('#675: -4 >> 21 === -1. Actual: ' + (-4 >> 21)); -} - - -if (-8 >> 21 !== -1) { - $ERROR('#676: -8 >> 21 === -1. Actual: ' + (-8 >> 21)); -} - - -if (-16 >> 21 !== -1) { - $ERROR('#677: -16 >> 21 === -1. Actual: ' + (-16 >> 21)); -} - - -if (-32 >> 21 !== -1) { - $ERROR('#678: -32 >> 21 === -1. Actual: ' + (-32 >> 21)); -} - - -if (-64 >> 21 !== -1) { - $ERROR('#679: -64 >> 21 === -1. Actual: ' + (-64 >> 21)); -} - - -if (-128 >> 21 !== -1) { - $ERROR('#680: -128 >> 21 === -1. Actual: ' + (-128 >> 21)); -} - - -if (-256 >> 21 !== -1) { - $ERROR('#681: -256 >> 21 === -1. Actual: ' + (-256 >> 21)); -} - - -if (-512 >> 21 !== -1) { - $ERROR('#682: -512 >> 21 === -1. Actual: ' + (-512 >> 21)); -} - - -if (-1024 >> 21 !== -1) { - $ERROR('#683: -1024 >> 21 === -1. Actual: ' + (-1024 >> 21)); -} - - -if (-2048 >> 21 !== -1) { - $ERROR('#684: -2048 >> 21 === -1. Actual: ' + (-2048 >> 21)); -} - - -if (-4096 >> 21 !== -1) { - $ERROR('#685: -4096 >> 21 === -1. Actual: ' + (-4096 >> 21)); -} - - -if (-8192 >> 21 !== -1) { - $ERROR('#686: -8192 >> 21 === -1. Actual: ' + (-8192 >> 21)); -} - - -if (-16384 >> 21 !== -1) { - $ERROR('#687: -16384 >> 21 === -1. Actual: ' + (-16384 >> 21)); -} - - -if (-32768 >> 21 !== -1) { - $ERROR('#688: -32768 >> 21 === -1. Actual: ' + (-32768 >> 21)); -} - - -if (-65536 >> 21 !== -1) { - $ERROR('#689: -65536 >> 21 === -1. Actual: ' + (-65536 >> 21)); -} - - -if (-131072 >> 21 !== -1) { - $ERROR('#690: -131072 >> 21 === -1. Actual: ' + (-131072 >> 21)); -} - - -if (-262144 >> 21 !== -1) { - $ERROR('#691: -262144 >> 21 === -1. Actual: ' + (-262144 >> 21)); -} - - -if (-524288 >> 21 !== -1) { - $ERROR('#692: -524288 >> 21 === -1. Actual: ' + (-524288 >> 21)); -} - - -if (-1048576 >> 21 !== -1) { - $ERROR('#693: -1048576 >> 21 === -1. Actual: ' + (-1048576 >> 21)); -} - - -if (-2097152 >> 21 !== -1) { - $ERROR('#694: -2097152 >> 21 === -1. Actual: ' + (-2097152 >> 21)); -} - - -if (-4194304 >> 21 !== -2) { - $ERROR('#695: -4194304 >> 21 === -2. Actual: ' + (-4194304 >> 21)); -} - - -if (-8388608 >> 21 !== -4) { - $ERROR('#696: -8388608 >> 21 === -4. Actual: ' + (-8388608 >> 21)); -} - - -if (-16777216 >> 21 !== -8) { - $ERROR('#697: -16777216 >> 21 === -8. Actual: ' + (-16777216 >> 21)); -} - - -if (-33554432 >> 21 !== -16) { - $ERROR('#698: -33554432 >> 21 === -16. Actual: ' + (-33554432 >> 21)); -} - - -if (-67108864 >> 21 !== -32) { - $ERROR('#699: -67108864 >> 21 === -32. Actual: ' + (-67108864 >> 21)); -} - - -if (-134217728 >> 21 !== -64) { - $ERROR('#700: -134217728 >> 21 === -64. Actual: ' + (-134217728 >> 21)); -} - - -if (-268435456 >> 21 !== -128) { - $ERROR('#701: -268435456 >> 21 === -128. Actual: ' + (-268435456 >> 21)); -} - - -if (-536870912 >> 21 !== -256) { - $ERROR('#702: -536870912 >> 21 === -256. Actual: ' + (-536870912 >> 21)); -} - - -if (-1073741824 >> 21 !== -512) { - $ERROR('#703: -1073741824 >> 21 === -512. Actual: ' + (-1073741824 >> 21)); -} - - -if (-2147483648 >> 21 !== -1024) { - $ERROR('#704: -2147483648 >> 21 === -1024. Actual: ' + (-2147483648 >> 21)); -} - - -if (-1 >> 22 !== -1) { - $ERROR('#705: -1 >> 22 === -1. Actual: ' + (-1 >> 22)); -} - - -if (-2 >> 22 !== -1) { - $ERROR('#706: -2 >> 22 === -1. Actual: ' + (-2 >> 22)); -} - - -if (-4 >> 22 !== -1) { - $ERROR('#707: -4 >> 22 === -1. Actual: ' + (-4 >> 22)); -} - - -if (-8 >> 22 !== -1) { - $ERROR('#708: -8 >> 22 === -1. Actual: ' + (-8 >> 22)); -} - - -if (-16 >> 22 !== -1) { - $ERROR('#709: -16 >> 22 === -1. Actual: ' + (-16 >> 22)); -} - - -if (-32 >> 22 !== -1) { - $ERROR('#710: -32 >> 22 === -1. Actual: ' + (-32 >> 22)); -} - - -if (-64 >> 22 !== -1) { - $ERROR('#711: -64 >> 22 === -1. Actual: ' + (-64 >> 22)); -} - - -if (-128 >> 22 !== -1) { - $ERROR('#712: -128 >> 22 === -1. Actual: ' + (-128 >> 22)); -} - - -if (-256 >> 22 !== -1) { - $ERROR('#713: -256 >> 22 === -1. Actual: ' + (-256 >> 22)); -} - - -if (-512 >> 22 !== -1) { - $ERROR('#714: -512 >> 22 === -1. Actual: ' + (-512 >> 22)); -} - - -if (-1024 >> 22 !== -1) { - $ERROR('#715: -1024 >> 22 === -1. Actual: ' + (-1024 >> 22)); -} - - -if (-2048 >> 22 !== -1) { - $ERROR('#716: -2048 >> 22 === -1. Actual: ' + (-2048 >> 22)); -} - - -if (-4096 >> 22 !== -1) { - $ERROR('#717: -4096 >> 22 === -1. Actual: ' + (-4096 >> 22)); -} - - -if (-8192 >> 22 !== -1) { - $ERROR('#718: -8192 >> 22 === -1. Actual: ' + (-8192 >> 22)); -} - - -if (-16384 >> 22 !== -1) { - $ERROR('#719: -16384 >> 22 === -1. Actual: ' + (-16384 >> 22)); -} - - -if (-32768 >> 22 !== -1) { - $ERROR('#720: -32768 >> 22 === -1. Actual: ' + (-32768 >> 22)); -} - - -if (-65536 >> 22 !== -1) { - $ERROR('#721: -65536 >> 22 === -1. Actual: ' + (-65536 >> 22)); -} - - -if (-131072 >> 22 !== -1) { - $ERROR('#722: -131072 >> 22 === -1. Actual: ' + (-131072 >> 22)); -} - - -if (-262144 >> 22 !== -1) { - $ERROR('#723: -262144 >> 22 === -1. Actual: ' + (-262144 >> 22)); -} - - -if (-524288 >> 22 !== -1) { - $ERROR('#724: -524288 >> 22 === -1. Actual: ' + (-524288 >> 22)); -} - - -if (-1048576 >> 22 !== -1) { - $ERROR('#725: -1048576 >> 22 === -1. Actual: ' + (-1048576 >> 22)); -} - - -if (-2097152 >> 22 !== -1) { - $ERROR('#726: -2097152 >> 22 === -1. Actual: ' + (-2097152 >> 22)); -} - - -if (-4194304 >> 22 !== -1) { - $ERROR('#727: -4194304 >> 22 === -1. Actual: ' + (-4194304 >> 22)); -} - - -if (-8388608 >> 22 !== -2) { - $ERROR('#728: -8388608 >> 22 === -2. Actual: ' + (-8388608 >> 22)); -} - - -if (-16777216 >> 22 !== -4) { - $ERROR('#729: -16777216 >> 22 === -4. Actual: ' + (-16777216 >> 22)); -} - - -if (-33554432 >> 22 !== -8) { - $ERROR('#730: -33554432 >> 22 === -8. Actual: ' + (-33554432 >> 22)); -} - - -if (-67108864 >> 22 !== -16) { - $ERROR('#731: -67108864 >> 22 === -16. Actual: ' + (-67108864 >> 22)); -} - - -if (-134217728 >> 22 !== -32) { - $ERROR('#732: -134217728 >> 22 === -32. Actual: ' + (-134217728 >> 22)); -} - - -if (-268435456 >> 22 !== -64) { - $ERROR('#733: -268435456 >> 22 === -64. Actual: ' + (-268435456 >> 22)); -} - - -if (-536870912 >> 22 !== -128) { - $ERROR('#734: -536870912 >> 22 === -128. Actual: ' + (-536870912 >> 22)); -} - - -if (-1073741824 >> 22 !== -256) { - $ERROR('#735: -1073741824 >> 22 === -256. Actual: ' + (-1073741824 >> 22)); -} - - -if (-2147483648 >> 22 !== -512) { - $ERROR('#736: -2147483648 >> 22 === -512. Actual: ' + (-2147483648 >> 22)); -} - - -if (-1 >> 23 !== -1) { - $ERROR('#737: -1 >> 23 === -1. Actual: ' + (-1 >> 23)); -} - - -if (-2 >> 23 !== -1) { - $ERROR('#738: -2 >> 23 === -1. Actual: ' + (-2 >> 23)); -} - - -if (-4 >> 23 !== -1) { - $ERROR('#739: -4 >> 23 === -1. Actual: ' + (-4 >> 23)); -} - - -if (-8 >> 23 !== -1) { - $ERROR('#740: -8 >> 23 === -1. Actual: ' + (-8 >> 23)); -} - - -if (-16 >> 23 !== -1) { - $ERROR('#741: -16 >> 23 === -1. Actual: ' + (-16 >> 23)); -} - - -if (-32 >> 23 !== -1) { - $ERROR('#742: -32 >> 23 === -1. Actual: ' + (-32 >> 23)); -} - - -if (-64 >> 23 !== -1) { - $ERROR('#743: -64 >> 23 === -1. Actual: ' + (-64 >> 23)); -} - - -if (-128 >> 23 !== -1) { - $ERROR('#744: -128 >> 23 === -1. Actual: ' + (-128 >> 23)); -} - - -if (-256 >> 23 !== -1) { - $ERROR('#745: -256 >> 23 === -1. Actual: ' + (-256 >> 23)); -} - - -if (-512 >> 23 !== -1) { - $ERROR('#746: -512 >> 23 === -1. Actual: ' + (-512 >> 23)); -} - - -if (-1024 >> 23 !== -1) { - $ERROR('#747: -1024 >> 23 === -1. Actual: ' + (-1024 >> 23)); -} - - -if (-2048 >> 23 !== -1) { - $ERROR('#748: -2048 >> 23 === -1. Actual: ' + (-2048 >> 23)); -} - - -if (-4096 >> 23 !== -1) { - $ERROR('#749: -4096 >> 23 === -1. Actual: ' + (-4096 >> 23)); -} - - -if (-8192 >> 23 !== -1) { - $ERROR('#750: -8192 >> 23 === -1. Actual: ' + (-8192 >> 23)); -} - - -if (-16384 >> 23 !== -1) { - $ERROR('#751: -16384 >> 23 === -1. Actual: ' + (-16384 >> 23)); -} - - -if (-32768 >> 23 !== -1) { - $ERROR('#752: -32768 >> 23 === -1. Actual: ' + (-32768 >> 23)); -} - - -if (-65536 >> 23 !== -1) { - $ERROR('#753: -65536 >> 23 === -1. Actual: ' + (-65536 >> 23)); -} - - -if (-131072 >> 23 !== -1) { - $ERROR('#754: -131072 >> 23 === -1. Actual: ' + (-131072 >> 23)); -} - - -if (-262144 >> 23 !== -1) { - $ERROR('#755: -262144 >> 23 === -1. Actual: ' + (-262144 >> 23)); -} - - -if (-524288 >> 23 !== -1) { - $ERROR('#756: -524288 >> 23 === -1. Actual: ' + (-524288 >> 23)); -} - - -if (-1048576 >> 23 !== -1) { - $ERROR('#757: -1048576 >> 23 === -1. Actual: ' + (-1048576 >> 23)); -} - - -if (-2097152 >> 23 !== -1) { - $ERROR('#758: -2097152 >> 23 === -1. Actual: ' + (-2097152 >> 23)); -} - - -if (-4194304 >> 23 !== -1) { - $ERROR('#759: -4194304 >> 23 === -1. Actual: ' + (-4194304 >> 23)); -} - - -if (-8388608 >> 23 !== -1) { - $ERROR('#760: -8388608 >> 23 === -1. Actual: ' + (-8388608 >> 23)); -} - - -if (-16777216 >> 23 !== -2) { - $ERROR('#761: -16777216 >> 23 === -2. Actual: ' + (-16777216 >> 23)); -} - - -if (-33554432 >> 23 !== -4) { - $ERROR('#762: -33554432 >> 23 === -4. Actual: ' + (-33554432 >> 23)); -} - - -if (-67108864 >> 23 !== -8) { - $ERROR('#763: -67108864 >> 23 === -8. Actual: ' + (-67108864 >> 23)); -} - - -if (-134217728 >> 23 !== -16) { - $ERROR('#764: -134217728 >> 23 === -16. Actual: ' + (-134217728 >> 23)); -} - - -if (-268435456 >> 23 !== -32) { - $ERROR('#765: -268435456 >> 23 === -32. Actual: ' + (-268435456 >> 23)); -} - - -if (-536870912 >> 23 !== -64) { - $ERROR('#766: -536870912 >> 23 === -64. Actual: ' + (-536870912 >> 23)); -} - - -if (-1073741824 >> 23 !== -128) { - $ERROR('#767: -1073741824 >> 23 === -128. Actual: ' + (-1073741824 >> 23)); -} - - -if (-2147483648 >> 23 !== -256) { - $ERROR('#768: -2147483648 >> 23 === -256. Actual: ' + (-2147483648 >> 23)); -} - - -if (-1 >> 24 !== -1) { - $ERROR('#769: -1 >> 24 === -1. Actual: ' + (-1 >> 24)); -} - - -if (-2 >> 24 !== -1) { - $ERROR('#770: -2 >> 24 === -1. Actual: ' + (-2 >> 24)); -} - - -if (-4 >> 24 !== -1) { - $ERROR('#771: -4 >> 24 === -1. Actual: ' + (-4 >> 24)); -} - - -if (-8 >> 24 !== -1) { - $ERROR('#772: -8 >> 24 === -1. Actual: ' + (-8 >> 24)); -} - - -if (-16 >> 24 !== -1) { - $ERROR('#773: -16 >> 24 === -1. Actual: ' + (-16 >> 24)); -} - - -if (-32 >> 24 !== -1) { - $ERROR('#774: -32 >> 24 === -1. Actual: ' + (-32 >> 24)); -} - - -if (-64 >> 24 !== -1) { - $ERROR('#775: -64 >> 24 === -1. Actual: ' + (-64 >> 24)); -} - - -if (-128 >> 24 !== -1) { - $ERROR('#776: -128 >> 24 === -1. Actual: ' + (-128 >> 24)); -} - - -if (-256 >> 24 !== -1) { - $ERROR('#777: -256 >> 24 === -1. Actual: ' + (-256 >> 24)); -} - - -if (-512 >> 24 !== -1) { - $ERROR('#778: -512 >> 24 === -1. Actual: ' + (-512 >> 24)); -} - - -if (-1024 >> 24 !== -1) { - $ERROR('#779: -1024 >> 24 === -1. Actual: ' + (-1024 >> 24)); -} - - -if (-2048 >> 24 !== -1) { - $ERROR('#780: -2048 >> 24 === -1. Actual: ' + (-2048 >> 24)); -} - - -if (-4096 >> 24 !== -1) { - $ERROR('#781: -4096 >> 24 === -1. Actual: ' + (-4096 >> 24)); -} - - -if (-8192 >> 24 !== -1) { - $ERROR('#782: -8192 >> 24 === -1. Actual: ' + (-8192 >> 24)); -} - - -if (-16384 >> 24 !== -1) { - $ERROR('#783: -16384 >> 24 === -1. Actual: ' + (-16384 >> 24)); -} - - -if (-32768 >> 24 !== -1) { - $ERROR('#784: -32768 >> 24 === -1. Actual: ' + (-32768 >> 24)); -} - - -if (-65536 >> 24 !== -1) { - $ERROR('#785: -65536 >> 24 === -1. Actual: ' + (-65536 >> 24)); -} - - -if (-131072 >> 24 !== -1) { - $ERROR('#786: -131072 >> 24 === -1. Actual: ' + (-131072 >> 24)); -} - - -if (-262144 >> 24 !== -1) { - $ERROR('#787: -262144 >> 24 === -1. Actual: ' + (-262144 >> 24)); -} - - -if (-524288 >> 24 !== -1) { - $ERROR('#788: -524288 >> 24 === -1. Actual: ' + (-524288 >> 24)); -} - - -if (-1048576 >> 24 !== -1) { - $ERROR('#789: -1048576 >> 24 === -1. Actual: ' + (-1048576 >> 24)); -} - - -if (-2097152 >> 24 !== -1) { - $ERROR('#790: -2097152 >> 24 === -1. Actual: ' + (-2097152 >> 24)); -} - - -if (-4194304 >> 24 !== -1) { - $ERROR('#791: -4194304 >> 24 === -1. Actual: ' + (-4194304 >> 24)); -} - - -if (-8388608 >> 24 !== -1) { - $ERROR('#792: -8388608 >> 24 === -1. Actual: ' + (-8388608 >> 24)); -} - - -if (-16777216 >> 24 !== -1) { - $ERROR('#793: -16777216 >> 24 === -1. Actual: ' + (-16777216 >> 24)); -} - - -if (-33554432 >> 24 !== -2) { - $ERROR('#794: -33554432 >> 24 === -2. Actual: ' + (-33554432 >> 24)); -} - - -if (-67108864 >> 24 !== -4) { - $ERROR('#795: -67108864 >> 24 === -4. Actual: ' + (-67108864 >> 24)); -} - - -if (-134217728 >> 24 !== -8) { - $ERROR('#796: -134217728 >> 24 === -8. Actual: ' + (-134217728 >> 24)); -} - - -if (-268435456 >> 24 !== -16) { - $ERROR('#797: -268435456 >> 24 === -16. Actual: ' + (-268435456 >> 24)); -} - - -if (-536870912 >> 24 !== -32) { - $ERROR('#798: -536870912 >> 24 === -32. Actual: ' + (-536870912 >> 24)); -} - - -if (-1073741824 >> 24 !== -64) { - $ERROR('#799: -1073741824 >> 24 === -64. Actual: ' + (-1073741824 >> 24)); -} - - -if (-2147483648 >> 24 !== -128) { - $ERROR('#800: -2147483648 >> 24 === -128. Actual: ' + (-2147483648 >> 24)); -} - - -if (-1 >> 25 !== -1) { - $ERROR('#801: -1 >> 25 === -1. Actual: ' + (-1 >> 25)); -} - - -if (-2 >> 25 !== -1) { - $ERROR('#802: -2 >> 25 === -1. Actual: ' + (-2 >> 25)); -} - - -if (-4 >> 25 !== -1) { - $ERROR('#803: -4 >> 25 === -1. Actual: ' + (-4 >> 25)); -} - - -if (-8 >> 25 !== -1) { - $ERROR('#804: -8 >> 25 === -1. Actual: ' + (-8 >> 25)); -} - - -if (-16 >> 25 !== -1) { - $ERROR('#805: -16 >> 25 === -1. Actual: ' + (-16 >> 25)); -} - - -if (-32 >> 25 !== -1) { - $ERROR('#806: -32 >> 25 === -1. Actual: ' + (-32 >> 25)); -} - - -if (-64 >> 25 !== -1) { - $ERROR('#807: -64 >> 25 === -1. Actual: ' + (-64 >> 25)); -} - - -if (-128 >> 25 !== -1) { - $ERROR('#808: -128 >> 25 === -1. Actual: ' + (-128 >> 25)); -} - - -if (-256 >> 25 !== -1) { - $ERROR('#809: -256 >> 25 === -1. Actual: ' + (-256 >> 25)); -} - - -if (-512 >> 25 !== -1) { - $ERROR('#810: -512 >> 25 === -1. Actual: ' + (-512 >> 25)); -} - - -if (-1024 >> 25 !== -1) { - $ERROR('#811: -1024 >> 25 === -1. Actual: ' + (-1024 >> 25)); -} - - -if (-2048 >> 25 !== -1) { - $ERROR('#812: -2048 >> 25 === -1. Actual: ' + (-2048 >> 25)); -} - - -if (-4096 >> 25 !== -1) { - $ERROR('#813: -4096 >> 25 === -1. Actual: ' + (-4096 >> 25)); -} - - -if (-8192 >> 25 !== -1) { - $ERROR('#814: -8192 >> 25 === -1. Actual: ' + (-8192 >> 25)); -} - - -if (-16384 >> 25 !== -1) { - $ERROR('#815: -16384 >> 25 === -1. Actual: ' + (-16384 >> 25)); -} - - -if (-32768 >> 25 !== -1) { - $ERROR('#816: -32768 >> 25 === -1. Actual: ' + (-32768 >> 25)); -} - - -if (-65536 >> 25 !== -1) { - $ERROR('#817: -65536 >> 25 === -1. Actual: ' + (-65536 >> 25)); -} - - -if (-131072 >> 25 !== -1) { - $ERROR('#818: -131072 >> 25 === -1. Actual: ' + (-131072 >> 25)); -} - - -if (-262144 >> 25 !== -1) { - $ERROR('#819: -262144 >> 25 === -1. Actual: ' + (-262144 >> 25)); -} - - -if (-524288 >> 25 !== -1) { - $ERROR('#820: -524288 >> 25 === -1. Actual: ' + (-524288 >> 25)); -} - - -if (-1048576 >> 25 !== -1) { - $ERROR('#821: -1048576 >> 25 === -1. Actual: ' + (-1048576 >> 25)); -} - - -if (-2097152 >> 25 !== -1) { - $ERROR('#822: -2097152 >> 25 === -1. Actual: ' + (-2097152 >> 25)); -} - - -if (-4194304 >> 25 !== -1) { - $ERROR('#823: -4194304 >> 25 === -1. Actual: ' + (-4194304 >> 25)); -} - - -if (-8388608 >> 25 !== -1) { - $ERROR('#824: -8388608 >> 25 === -1. Actual: ' + (-8388608 >> 25)); -} - - -if (-16777216 >> 25 !== -1) { - $ERROR('#825: -16777216 >> 25 === -1. Actual: ' + (-16777216 >> 25)); -} - - -if (-33554432 >> 25 !== -1) { - $ERROR('#826: -33554432 >> 25 === -1. Actual: ' + (-33554432 >> 25)); -} - - -if (-67108864 >> 25 !== -2) { - $ERROR('#827: -67108864 >> 25 === -2. Actual: ' + (-67108864 >> 25)); -} - - -if (-134217728 >> 25 !== -4) { - $ERROR('#828: -134217728 >> 25 === -4. Actual: ' + (-134217728 >> 25)); -} - - -if (-268435456 >> 25 !== -8) { - $ERROR('#829: -268435456 >> 25 === -8. Actual: ' + (-268435456 >> 25)); -} - - -if (-536870912 >> 25 !== -16) { - $ERROR('#830: -536870912 >> 25 === -16. Actual: ' + (-536870912 >> 25)); -} - - -if (-1073741824 >> 25 !== -32) { - $ERROR('#831: -1073741824 >> 25 === -32. Actual: ' + (-1073741824 >> 25)); -} - - -if (-2147483648 >> 25 !== -64) { - $ERROR('#832: -2147483648 >> 25 === -64. Actual: ' + (-2147483648 >> 25)); -} - - -if (-1 >> 26 !== -1) { - $ERROR('#833: -1 >> 26 === -1. Actual: ' + (-1 >> 26)); -} - - -if (-2 >> 26 !== -1) { - $ERROR('#834: -2 >> 26 === -1. Actual: ' + (-2 >> 26)); -} - - -if (-4 >> 26 !== -1) { - $ERROR('#835: -4 >> 26 === -1. Actual: ' + (-4 >> 26)); -} - - -if (-8 >> 26 !== -1) { - $ERROR('#836: -8 >> 26 === -1. Actual: ' + (-8 >> 26)); -} - - -if (-16 >> 26 !== -1) { - $ERROR('#837: -16 >> 26 === -1. Actual: ' + (-16 >> 26)); -} - - -if (-32 >> 26 !== -1) { - $ERROR('#838: -32 >> 26 === -1. Actual: ' + (-32 >> 26)); -} - - -if (-64 >> 26 !== -1) { - $ERROR('#839: -64 >> 26 === -1. Actual: ' + (-64 >> 26)); -} - - -if (-128 >> 26 !== -1) { - $ERROR('#840: -128 >> 26 === -1. Actual: ' + (-128 >> 26)); -} - - -if (-256 >> 26 !== -1) { - $ERROR('#841: -256 >> 26 === -1. Actual: ' + (-256 >> 26)); -} - - -if (-512 >> 26 !== -1) { - $ERROR('#842: -512 >> 26 === -1. Actual: ' + (-512 >> 26)); -} - - -if (-1024 >> 26 !== -1) { - $ERROR('#843: -1024 >> 26 === -1. Actual: ' + (-1024 >> 26)); -} - - -if (-2048 >> 26 !== -1) { - $ERROR('#844: -2048 >> 26 === -1. Actual: ' + (-2048 >> 26)); -} - - -if (-4096 >> 26 !== -1) { - $ERROR('#845: -4096 >> 26 === -1. Actual: ' + (-4096 >> 26)); -} - - -if (-8192 >> 26 !== -1) { - $ERROR('#846: -8192 >> 26 === -1. Actual: ' + (-8192 >> 26)); -} - - -if (-16384 >> 26 !== -1) { - $ERROR('#847: -16384 >> 26 === -1. Actual: ' + (-16384 >> 26)); -} - - -if (-32768 >> 26 !== -1) { - $ERROR('#848: -32768 >> 26 === -1. Actual: ' + (-32768 >> 26)); -} - - -if (-65536 >> 26 !== -1) { - $ERROR('#849: -65536 >> 26 === -1. Actual: ' + (-65536 >> 26)); -} - - -if (-131072 >> 26 !== -1) { - $ERROR('#850: -131072 >> 26 === -1. Actual: ' + (-131072 >> 26)); -} - - -if (-262144 >> 26 !== -1) { - $ERROR('#851: -262144 >> 26 === -1. Actual: ' + (-262144 >> 26)); -} - - -if (-524288 >> 26 !== -1) { - $ERROR('#852: -524288 >> 26 === -1. Actual: ' + (-524288 >> 26)); -} - - -if (-1048576 >> 26 !== -1) { - $ERROR('#853: -1048576 >> 26 === -1. Actual: ' + (-1048576 >> 26)); -} - - -if (-2097152 >> 26 !== -1) { - $ERROR('#854: -2097152 >> 26 === -1. Actual: ' + (-2097152 >> 26)); -} - - -if (-4194304 >> 26 !== -1) { - $ERROR('#855: -4194304 >> 26 === -1. Actual: ' + (-4194304 >> 26)); -} - - -if (-8388608 >> 26 !== -1) { - $ERROR('#856: -8388608 >> 26 === -1. Actual: ' + (-8388608 >> 26)); -} - - -if (-16777216 >> 26 !== -1) { - $ERROR('#857: -16777216 >> 26 === -1. Actual: ' + (-16777216 >> 26)); -} - - -if (-33554432 >> 26 !== -1) { - $ERROR('#858: -33554432 >> 26 === -1. Actual: ' + (-33554432 >> 26)); -} - - -if (-67108864 >> 26 !== -1) { - $ERROR('#859: -67108864 >> 26 === -1. Actual: ' + (-67108864 >> 26)); -} - - -if (-134217728 >> 26 !== -2) { - $ERROR('#860: -134217728 >> 26 === -2. Actual: ' + (-134217728 >> 26)); -} - - -if (-268435456 >> 26 !== -4) { - $ERROR('#861: -268435456 >> 26 === -4. Actual: ' + (-268435456 >> 26)); -} - - -if (-536870912 >> 26 !== -8) { - $ERROR('#862: -536870912 >> 26 === -8. Actual: ' + (-536870912 >> 26)); -} - - -if (-1073741824 >> 26 !== -16) { - $ERROR('#863: -1073741824 >> 26 === -16. Actual: ' + (-1073741824 >> 26)); -} - - -if (-2147483648 >> 26 !== -32) { - $ERROR('#864: -2147483648 >> 26 === -32. Actual: ' + (-2147483648 >> 26)); -} - - -if (-1 >> 27 !== -1) { - $ERROR('#865: -1 >> 27 === -1. Actual: ' + (-1 >> 27)); -} - - -if (-2 >> 27 !== -1) { - $ERROR('#866: -2 >> 27 === -1. Actual: ' + (-2 >> 27)); -} - - -if (-4 >> 27 !== -1) { - $ERROR('#867: -4 >> 27 === -1. Actual: ' + (-4 >> 27)); -} - - -if (-8 >> 27 !== -1) { - $ERROR('#868: -8 >> 27 === -1. Actual: ' + (-8 >> 27)); -} - - -if (-16 >> 27 !== -1) { - $ERROR('#869: -16 >> 27 === -1. Actual: ' + (-16 >> 27)); -} - - -if (-32 >> 27 !== -1) { - $ERROR('#870: -32 >> 27 === -1. Actual: ' + (-32 >> 27)); -} - - -if (-64 >> 27 !== -1) { - $ERROR('#871: -64 >> 27 === -1. Actual: ' + (-64 >> 27)); -} - - -if (-128 >> 27 !== -1) { - $ERROR('#872: -128 >> 27 === -1. Actual: ' + (-128 >> 27)); -} - - -if (-256 >> 27 !== -1) { - $ERROR('#873: -256 >> 27 === -1. Actual: ' + (-256 >> 27)); -} - - -if (-512 >> 27 !== -1) { - $ERROR('#874: -512 >> 27 === -1. Actual: ' + (-512 >> 27)); -} - - -if (-1024 >> 27 !== -1) { - $ERROR('#875: -1024 >> 27 === -1. Actual: ' + (-1024 >> 27)); -} - - -if (-2048 >> 27 !== -1) { - $ERROR('#876: -2048 >> 27 === -1. Actual: ' + (-2048 >> 27)); -} - - -if (-4096 >> 27 !== -1) { - $ERROR('#877: -4096 >> 27 === -1. Actual: ' + (-4096 >> 27)); -} - - -if (-8192 >> 27 !== -1) { - $ERROR('#878: -8192 >> 27 === -1. Actual: ' + (-8192 >> 27)); -} - - -if (-16384 >> 27 !== -1) { - $ERROR('#879: -16384 >> 27 === -1. Actual: ' + (-16384 >> 27)); -} - - -if (-32768 >> 27 !== -1) { - $ERROR('#880: -32768 >> 27 === -1. Actual: ' + (-32768 >> 27)); -} - - -if (-65536 >> 27 !== -1) { - $ERROR('#881: -65536 >> 27 === -1. Actual: ' + (-65536 >> 27)); -} - - -if (-131072 >> 27 !== -1) { - $ERROR('#882: -131072 >> 27 === -1. Actual: ' + (-131072 >> 27)); -} - - -if (-262144 >> 27 !== -1) { - $ERROR('#883: -262144 >> 27 === -1. Actual: ' + (-262144 >> 27)); -} - - -if (-524288 >> 27 !== -1) { - $ERROR('#884: -524288 >> 27 === -1. Actual: ' + (-524288 >> 27)); -} - - -if (-1048576 >> 27 !== -1) { - $ERROR('#885: -1048576 >> 27 === -1. Actual: ' + (-1048576 >> 27)); -} - - -if (-2097152 >> 27 !== -1) { - $ERROR('#886: -2097152 >> 27 === -1. Actual: ' + (-2097152 >> 27)); -} - - -if (-4194304 >> 27 !== -1) { - $ERROR('#887: -4194304 >> 27 === -1. Actual: ' + (-4194304 >> 27)); -} - - -if (-8388608 >> 27 !== -1) { - $ERROR('#888: -8388608 >> 27 === -1. Actual: ' + (-8388608 >> 27)); -} - - -if (-16777216 >> 27 !== -1) { - $ERROR('#889: -16777216 >> 27 === -1. Actual: ' + (-16777216 >> 27)); -} - - -if (-33554432 >> 27 !== -1) { - $ERROR('#890: -33554432 >> 27 === -1. Actual: ' + (-33554432 >> 27)); -} - - -if (-67108864 >> 27 !== -1) { - $ERROR('#891: -67108864 >> 27 === -1. Actual: ' + (-67108864 >> 27)); -} - - -if (-134217728 >> 27 !== -1) { - $ERROR('#892: -134217728 >> 27 === -1. Actual: ' + (-134217728 >> 27)); -} - - -if (-268435456 >> 27 !== -2) { - $ERROR('#893: -268435456 >> 27 === -2. Actual: ' + (-268435456 >> 27)); -} - - -if (-536870912 >> 27 !== -4) { - $ERROR('#894: -536870912 >> 27 === -4. Actual: ' + (-536870912 >> 27)); -} - - -if (-1073741824 >> 27 !== -8) { - $ERROR('#895: -1073741824 >> 27 === -8. Actual: ' + (-1073741824 >> 27)); -} - - -if (-2147483648 >> 27 !== -16) { - $ERROR('#896: -2147483648 >> 27 === -16. Actual: ' + (-2147483648 >> 27)); -} - - -if (-1 >> 28 !== -1) { - $ERROR('#897: -1 >> 28 === -1. Actual: ' + (-1 >> 28)); -} - - -if (-2 >> 28 !== -1) { - $ERROR('#898: -2 >> 28 === -1. Actual: ' + (-2 >> 28)); -} - - -if (-4 >> 28 !== -1) { - $ERROR('#899: -4 >> 28 === -1. Actual: ' + (-4 >> 28)); -} - - -if (-8 >> 28 !== -1) { - $ERROR('#900: -8 >> 28 === -1. Actual: ' + (-8 >> 28)); -} - - -if (-16 >> 28 !== -1) { - $ERROR('#901: -16 >> 28 === -1. Actual: ' + (-16 >> 28)); -} - - -if (-32 >> 28 !== -1) { - $ERROR('#902: -32 >> 28 === -1. Actual: ' + (-32 >> 28)); -} - - -if (-64 >> 28 !== -1) { - $ERROR('#903: -64 >> 28 === -1. Actual: ' + (-64 >> 28)); -} - - -if (-128 >> 28 !== -1) { - $ERROR('#904: -128 >> 28 === -1. Actual: ' + (-128 >> 28)); -} - - -if (-256 >> 28 !== -1) { - $ERROR('#905: -256 >> 28 === -1. Actual: ' + (-256 >> 28)); -} - - -if (-512 >> 28 !== -1) { - $ERROR('#906: -512 >> 28 === -1. Actual: ' + (-512 >> 28)); -} - - -if (-1024 >> 28 !== -1) { - $ERROR('#907: -1024 >> 28 === -1. Actual: ' + (-1024 >> 28)); -} - - -if (-2048 >> 28 !== -1) { - $ERROR('#908: -2048 >> 28 === -1. Actual: ' + (-2048 >> 28)); -} - - -if (-4096 >> 28 !== -1) { - $ERROR('#909: -4096 >> 28 === -1. Actual: ' + (-4096 >> 28)); -} - - -if (-8192 >> 28 !== -1) { - $ERROR('#910: -8192 >> 28 === -1. Actual: ' + (-8192 >> 28)); -} - - -if (-16384 >> 28 !== -1) { - $ERROR('#911: -16384 >> 28 === -1. Actual: ' + (-16384 >> 28)); -} - - -if (-32768 >> 28 !== -1) { - $ERROR('#912: -32768 >> 28 === -1. Actual: ' + (-32768 >> 28)); -} - - -if (-65536 >> 28 !== -1) { - $ERROR('#913: -65536 >> 28 === -1. Actual: ' + (-65536 >> 28)); -} - - -if (-131072 >> 28 !== -1) { - $ERROR('#914: -131072 >> 28 === -1. Actual: ' + (-131072 >> 28)); -} - - -if (-262144 >> 28 !== -1) { - $ERROR('#915: -262144 >> 28 === -1. Actual: ' + (-262144 >> 28)); -} - - -if (-524288 >> 28 !== -1) { - $ERROR('#916: -524288 >> 28 === -1. Actual: ' + (-524288 >> 28)); -} - - -if (-1048576 >> 28 !== -1) { - $ERROR('#917: -1048576 >> 28 === -1. Actual: ' + (-1048576 >> 28)); -} - - -if (-2097152 >> 28 !== -1) { - $ERROR('#918: -2097152 >> 28 === -1. Actual: ' + (-2097152 >> 28)); -} - - -if (-4194304 >> 28 !== -1) { - $ERROR('#919: -4194304 >> 28 === -1. Actual: ' + (-4194304 >> 28)); -} - - -if (-8388608 >> 28 !== -1) { - $ERROR('#920: -8388608 >> 28 === -1. Actual: ' + (-8388608 >> 28)); -} - - -if (-16777216 >> 28 !== -1) { - $ERROR('#921: -16777216 >> 28 === -1. Actual: ' + (-16777216 >> 28)); -} - - -if (-33554432 >> 28 !== -1) { - $ERROR('#922: -33554432 >> 28 === -1. Actual: ' + (-33554432 >> 28)); -} - - -if (-67108864 >> 28 !== -1) { - $ERROR('#923: -67108864 >> 28 === -1. Actual: ' + (-67108864 >> 28)); -} - - -if (-134217728 >> 28 !== -1) { - $ERROR('#924: -134217728 >> 28 === -1. Actual: ' + (-134217728 >> 28)); -} - - -if (-268435456 >> 28 !== -1) { - $ERROR('#925: -268435456 >> 28 === -1. Actual: ' + (-268435456 >> 28)); -} - - -if (-536870912 >> 28 !== -2) { - $ERROR('#926: -536870912 >> 28 === -2. Actual: ' + (-536870912 >> 28)); -} - - -if (-1073741824 >> 28 !== -4) { - $ERROR('#927: -1073741824 >> 28 === -4. Actual: ' + (-1073741824 >> 28)); -} - - -if (-2147483648 >> 28 !== -8) { - $ERROR('#928: -2147483648 >> 28 === -8. Actual: ' + (-2147483648 >> 28)); -} - - -if (-1 >> 29 !== -1) { - $ERROR('#929: -1 >> 29 === -1. Actual: ' + (-1 >> 29)); -} - - -if (-2 >> 29 !== -1) { - $ERROR('#930: -2 >> 29 === -1. Actual: ' + (-2 >> 29)); -} - - -if (-4 >> 29 !== -1) { - $ERROR('#931: -4 >> 29 === -1. Actual: ' + (-4 >> 29)); -} - - -if (-8 >> 29 !== -1) { - $ERROR('#932: -8 >> 29 === -1. Actual: ' + (-8 >> 29)); -} - - -if (-16 >> 29 !== -1) { - $ERROR('#933: -16 >> 29 === -1. Actual: ' + (-16 >> 29)); -} - - -if (-32 >> 29 !== -1) { - $ERROR('#934: -32 >> 29 === -1. Actual: ' + (-32 >> 29)); -} - - -if (-64 >> 29 !== -1) { - $ERROR('#935: -64 >> 29 === -1. Actual: ' + (-64 >> 29)); -} - - -if (-128 >> 29 !== -1) { - $ERROR('#936: -128 >> 29 === -1. Actual: ' + (-128 >> 29)); -} - - -if (-256 >> 29 !== -1) { - $ERROR('#937: -256 >> 29 === -1. Actual: ' + (-256 >> 29)); -} - - -if (-512 >> 29 !== -1) { - $ERROR('#938: -512 >> 29 === -1. Actual: ' + (-512 >> 29)); -} - - -if (-1024 >> 29 !== -1) { - $ERROR('#939: -1024 >> 29 === -1. Actual: ' + (-1024 >> 29)); -} - - -if (-2048 >> 29 !== -1) { - $ERROR('#940: -2048 >> 29 === -1. Actual: ' + (-2048 >> 29)); -} - - -if (-4096 >> 29 !== -1) { - $ERROR('#941: -4096 >> 29 === -1. Actual: ' + (-4096 >> 29)); -} - - -if (-8192 >> 29 !== -1) { - $ERROR('#942: -8192 >> 29 === -1. Actual: ' + (-8192 >> 29)); -} - - -if (-16384 >> 29 !== -1) { - $ERROR('#943: -16384 >> 29 === -1. Actual: ' + (-16384 >> 29)); -} - - -if (-32768 >> 29 !== -1) { - $ERROR('#944: -32768 >> 29 === -1. Actual: ' + (-32768 >> 29)); -} - - -if (-65536 >> 29 !== -1) { - $ERROR('#945: -65536 >> 29 === -1. Actual: ' + (-65536 >> 29)); -} - - -if (-131072 >> 29 !== -1) { - $ERROR('#946: -131072 >> 29 === -1. Actual: ' + (-131072 >> 29)); -} - - -if (-262144 >> 29 !== -1) { - $ERROR('#947: -262144 >> 29 === -1. Actual: ' + (-262144 >> 29)); -} - - -if (-524288 >> 29 !== -1) { - $ERROR('#948: -524288 >> 29 === -1. Actual: ' + (-524288 >> 29)); -} - - -if (-1048576 >> 29 !== -1) { - $ERROR('#949: -1048576 >> 29 === -1. Actual: ' + (-1048576 >> 29)); -} - - -if (-2097152 >> 29 !== -1) { - $ERROR('#950: -2097152 >> 29 === -1. Actual: ' + (-2097152 >> 29)); -} - - -if (-4194304 >> 29 !== -1) { - $ERROR('#951: -4194304 >> 29 === -1. Actual: ' + (-4194304 >> 29)); -} - - -if (-8388608 >> 29 !== -1) { - $ERROR('#952: -8388608 >> 29 === -1. Actual: ' + (-8388608 >> 29)); -} - - -if (-16777216 >> 29 !== -1) { - $ERROR('#953: -16777216 >> 29 === -1. Actual: ' + (-16777216 >> 29)); -} - - -if (-33554432 >> 29 !== -1) { - $ERROR('#954: -33554432 >> 29 === -1. Actual: ' + (-33554432 >> 29)); -} - - -if (-67108864 >> 29 !== -1) { - $ERROR('#955: -67108864 >> 29 === -1. Actual: ' + (-67108864 >> 29)); -} - - -if (-134217728 >> 29 !== -1) { - $ERROR('#956: -134217728 >> 29 === -1. Actual: ' + (-134217728 >> 29)); -} - - -if (-268435456 >> 29 !== -1) { - $ERROR('#957: -268435456 >> 29 === -1. Actual: ' + (-268435456 >> 29)); -} - - -if (-536870912 >> 29 !== -1) { - $ERROR('#958: -536870912 >> 29 === -1. Actual: ' + (-536870912 >> 29)); -} - - -if (-1073741824 >> 29 !== -2) { - $ERROR('#959: -1073741824 >> 29 === -2. Actual: ' + (-1073741824 >> 29)); -} - - -if (-2147483648 >> 29 !== -4) { - $ERROR('#960: -2147483648 >> 29 === -4. Actual: ' + (-2147483648 >> 29)); -} - - -if (-1 >> 30 !== -1) { - $ERROR('#961: -1 >> 30 === -1. Actual: ' + (-1 >> 30)); -} - - -if (-2 >> 30 !== -1) { - $ERROR('#962: -2 >> 30 === -1. Actual: ' + (-2 >> 30)); -} - - -if (-4 >> 30 !== -1) { - $ERROR('#963: -4 >> 30 === -1. Actual: ' + (-4 >> 30)); -} - - -if (-8 >> 30 !== -1) { - $ERROR('#964: -8 >> 30 === -1. Actual: ' + (-8 >> 30)); -} - - -if (-16 >> 30 !== -1) { - $ERROR('#965: -16 >> 30 === -1. Actual: ' + (-16 >> 30)); -} - - -if (-32 >> 30 !== -1) { - $ERROR('#966: -32 >> 30 === -1. Actual: ' + (-32 >> 30)); -} - - -if (-64 >> 30 !== -1) { - $ERROR('#967: -64 >> 30 === -1. Actual: ' + (-64 >> 30)); -} - - -if (-128 >> 30 !== -1) { - $ERROR('#968: -128 >> 30 === -1. Actual: ' + (-128 >> 30)); -} - - -if (-256 >> 30 !== -1) { - $ERROR('#969: -256 >> 30 === -1. Actual: ' + (-256 >> 30)); -} - - -if (-512 >> 30 !== -1) { - $ERROR('#970: -512 >> 30 === -1. Actual: ' + (-512 >> 30)); -} - - -if (-1024 >> 30 !== -1) { - $ERROR('#971: -1024 >> 30 === -1. Actual: ' + (-1024 >> 30)); -} - - -if (-2048 >> 30 !== -1) { - $ERROR('#972: -2048 >> 30 === -1. Actual: ' + (-2048 >> 30)); -} - - -if (-4096 >> 30 !== -1) { - $ERROR('#973: -4096 >> 30 === -1. Actual: ' + (-4096 >> 30)); -} - - -if (-8192 >> 30 !== -1) { - $ERROR('#974: -8192 >> 30 === -1. Actual: ' + (-8192 >> 30)); -} - - -if (-16384 >> 30 !== -1) { - $ERROR('#975: -16384 >> 30 === -1. Actual: ' + (-16384 >> 30)); -} - - -if (-32768 >> 30 !== -1) { - $ERROR('#976: -32768 >> 30 === -1. Actual: ' + (-32768 >> 30)); -} - - -if (-65536 >> 30 !== -1) { - $ERROR('#977: -65536 >> 30 === -1. Actual: ' + (-65536 >> 30)); -} - - -if (-131072 >> 30 !== -1) { - $ERROR('#978: -131072 >> 30 === -1. Actual: ' + (-131072 >> 30)); -} - - -if (-262144 >> 30 !== -1) { - $ERROR('#979: -262144 >> 30 === -1. Actual: ' + (-262144 >> 30)); -} - - -if (-524288 >> 30 !== -1) { - $ERROR('#980: -524288 >> 30 === -1. Actual: ' + (-524288 >> 30)); -} - - -if (-1048576 >> 30 !== -1) { - $ERROR('#981: -1048576 >> 30 === -1. Actual: ' + (-1048576 >> 30)); -} - - -if (-2097152 >> 30 !== -1) { - $ERROR('#982: -2097152 >> 30 === -1. Actual: ' + (-2097152 >> 30)); -} - - -if (-4194304 >> 30 !== -1) { - $ERROR('#983: -4194304 >> 30 === -1. Actual: ' + (-4194304 >> 30)); -} - - -if (-8388608 >> 30 !== -1) { - $ERROR('#984: -8388608 >> 30 === -1. Actual: ' + (-8388608 >> 30)); -} - - -if (-16777216 >> 30 !== -1) { - $ERROR('#985: -16777216 >> 30 === -1. Actual: ' + (-16777216 >> 30)); -} - - -if (-33554432 >> 30 !== -1) { - $ERROR('#986: -33554432 >> 30 === -1. Actual: ' + (-33554432 >> 30)); -} - - -if (-67108864 >> 30 !== -1) { - $ERROR('#987: -67108864 >> 30 === -1. Actual: ' + (-67108864 >> 30)); -} - - -if (-134217728 >> 30 !== -1) { - $ERROR('#988: -134217728 >> 30 === -1. Actual: ' + (-134217728 >> 30)); -} - - -if (-268435456 >> 30 !== -1) { - $ERROR('#989: -268435456 >> 30 === -1. Actual: ' + (-268435456 >> 30)); -} - - -if (-536870912 >> 30 !== -1) { - $ERROR('#990: -536870912 >> 30 === -1. Actual: ' + (-536870912 >> 30)); -} - - -if (-1073741824 >> 30 !== -1) { - $ERROR('#991: -1073741824 >> 30 === -1. Actual: ' + (-1073741824 >> 30)); -} - - -if (-2147483648 >> 30 !== -2) { - $ERROR('#992: -2147483648 >> 30 === -2. Actual: ' + (-2147483648 >> 30)); -} - - -if (-1 >> 31 !== -1) { - $ERROR('#993: -1 >> 31 === -1. Actual: ' + (-1 >> 31)); -} - - -if (-2 >> 31 !== -1) { - $ERROR('#994: -2 >> 31 === -1. Actual: ' + (-2 >> 31)); -} - - -if (-4 >> 31 !== -1) { - $ERROR('#995: -4 >> 31 === -1. Actual: ' + (-4 >> 31)); -} - - -if (-8 >> 31 !== -1) { - $ERROR('#996: -8 >> 31 === -1. Actual: ' + (-8 >> 31)); -} - - -if (-16 >> 31 !== -1) { - $ERROR('#997: -16 >> 31 === -1. Actual: ' + (-16 >> 31)); -} - - -if (-32 >> 31 !== -1) { - $ERROR('#998: -32 >> 31 === -1. Actual: ' + (-32 >> 31)); -} - - -if (-64 >> 31 !== -1) { - $ERROR('#999: -64 >> 31 === -1. Actual: ' + (-64 >> 31)); -} - - -if (-128 >> 31 !== -1) { - $ERROR('#1000: -128 >> 31 === -1. Actual: ' + (-128 >> 31)); -} - - -if (-256 >> 31 !== -1) { - $ERROR('#1001: -256 >> 31 === -1. Actual: ' + (-256 >> 31)); -} - - -if (-512 >> 31 !== -1) { - $ERROR('#1002: -512 >> 31 === -1. Actual: ' + (-512 >> 31)); -} - - -if (-1024 >> 31 !== -1) { - $ERROR('#1003: -1024 >> 31 === -1. Actual: ' + (-1024 >> 31)); -} - - -if (-2048 >> 31 !== -1) { - $ERROR('#1004: -2048 >> 31 === -1. Actual: ' + (-2048 >> 31)); -} - - -if (-4096 >> 31 !== -1) { - $ERROR('#1005: -4096 >> 31 === -1. Actual: ' + (-4096 >> 31)); -} - - -if (-8192 >> 31 !== -1) { - $ERROR('#1006: -8192 >> 31 === -1. Actual: ' + (-8192 >> 31)); -} - - -if (-16384 >> 31 !== -1) { - $ERROR('#1007: -16384 >> 31 === -1. Actual: ' + (-16384 >> 31)); -} - - -if (-32768 >> 31 !== -1) { - $ERROR('#1008: -32768 >> 31 === -1. Actual: ' + (-32768 >> 31)); -} - - -if (-65536 >> 31 !== -1) { - $ERROR('#1009: -65536 >> 31 === -1. Actual: ' + (-65536 >> 31)); -} - - -if (-131072 >> 31 !== -1) { - $ERROR('#1010: -131072 >> 31 === -1. Actual: ' + (-131072 >> 31)); -} - - -if (-262144 >> 31 !== -1) { - $ERROR('#1011: -262144 >> 31 === -1. Actual: ' + (-262144 >> 31)); -} - - -if (-524288 >> 31 !== -1) { - $ERROR('#1012: -524288 >> 31 === -1. Actual: ' + (-524288 >> 31)); -} - - -if (-1048576 >> 31 !== -1) { - $ERROR('#1013: -1048576 >> 31 === -1. Actual: ' + (-1048576 >> 31)); -} - - -if (-2097152 >> 31 !== -1) { - $ERROR('#1014: -2097152 >> 31 === -1. Actual: ' + (-2097152 >> 31)); -} - - -if (-4194304 >> 31 !== -1) { - $ERROR('#1015: -4194304 >> 31 === -1. Actual: ' + (-4194304 >> 31)); -} - - -if (-8388608 >> 31 !== -1) { - $ERROR('#1016: -8388608 >> 31 === -1. Actual: ' + (-8388608 >> 31)); -} - - -if (-16777216 >> 31 !== -1) { - $ERROR('#1017: -16777216 >> 31 === -1. Actual: ' + (-16777216 >> 31)); -} - - -if (-33554432 >> 31 !== -1) { - $ERROR('#1018: -33554432 >> 31 === -1. Actual: ' + (-33554432 >> 31)); -} - - -if (-67108864 >> 31 !== -1) { - $ERROR('#1019: -67108864 >> 31 === -1. Actual: ' + (-67108864 >> 31)); -} - - -if (-134217728 >> 31 !== -1) { - $ERROR('#1020: -134217728 >> 31 === -1. Actual: ' + (-134217728 >> 31)); -} - - -if (-268435456 >> 31 !== -1) { - $ERROR('#1021: -268435456 >> 31 === -1. Actual: ' + (-268435456 >> 31)); -} - - -if (-536870912 >> 31 !== -1) { - $ERROR('#1022: -536870912 >> 31 === -1. Actual: ' + (-536870912 >> 31)); -} - - -if (-1073741824 >> 31 !== -1) { - $ERROR('#1023: -1073741824 >> 31 === -1. Actual: ' + (-1073741824 >> 31)); -} - - -if (-2147483648 >> 31 !== -1) { - $ERROR('#1024: -2147483648 >> 31 === -1. Actual: ' + (-2147483648 >> 31)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.js deleted file mode 100644 index 219be9def3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.js +++ /dev/null @@ -1,2587 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A4_T3; - * @section: 11.7.2; - * @assertion: Check x >> y operator in distinct points; - * @description: ShiftExpression = 2^n - 1, n = 0...15; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A4_T3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.js", - -assertion: "Check x >> y operator in distinct points", - -description: "ShiftExpression = 2^n - 1, n = 0...15", - -test: function testcase() { - //CHECK - -if (0 >> 0 !== 0) { - $ERROR('#1: 0 >> 0 === 0. Actual: ' + (0 >> 0)); -} - - -if (1 >> 0 !== 1) { - $ERROR('#2: 1 >> 0 === 1. Actual: ' + (1 >> 0)); -} - - -if (3 >> 0 !== 3) { - $ERROR('#3: 3 >> 0 === 3. Actual: ' + (3 >> 0)); -} - - -if (7 >> 0 !== 7) { - $ERROR('#4: 7 >> 0 === 7. Actual: ' + (7 >> 0)); -} - - -if (15 >> 0 !== 15) { - $ERROR('#5: 15 >> 0 === 15. Actual: ' + (15 >> 0)); -} - - -if (31 >> 0 !== 31) { - $ERROR('#6: 31 >> 0 === 31. Actual: ' + (31 >> 0)); -} - - -if (63 >> 0 !== 63) { - $ERROR('#7: 63 >> 0 === 63. Actual: ' + (63 >> 0)); -} - - -if (127 >> 0 !== 127) { - $ERROR('#8: 127 >> 0 === 127. Actual: ' + (127 >> 0)); -} - - -if (255 >> 0 !== 255) { - $ERROR('#9: 255 >> 0 === 255. Actual: ' + (255 >> 0)); -} - - -if (511 >> 0 !== 511) { - $ERROR('#10: 511 >> 0 === 511. Actual: ' + (511 >> 0)); -} - - -if (1023 >> 0 !== 1023) { - $ERROR('#11: 1023 >> 0 === 1023. Actual: ' + (1023 >> 0)); -} - - -if (2047 >> 0 !== 2047) { - $ERROR('#12: 2047 >> 0 === 2047. Actual: ' + (2047 >> 0)); -} - - -if (4095 >> 0 !== 4095) { - $ERROR('#13: 4095 >> 0 === 4095. Actual: ' + (4095 >> 0)); -} - - -if (8191 >> 0 !== 8191) { - $ERROR('#14: 8191 >> 0 === 8191. Actual: ' + (8191 >> 0)); -} - - -if (16383 >> 0 !== 16383) { - $ERROR('#15: 16383 >> 0 === 16383. Actual: ' + (16383 >> 0)); -} - - -if (32767 >> 0 !== 32767) { - $ERROR('#16: 32767 >> 0 === 32767. Actual: ' + (32767 >> 0)); -} - - -if (65535 >> 0 !== 65535) { - $ERROR('#17: 65535 >> 0 === 65535. Actual: ' + (65535 >> 0)); -} - - -if (131071 >> 0 !== 131071) { - $ERROR('#18: 131071 >> 0 === 131071. Actual: ' + (131071 >> 0)); -} - - -if (262143 >> 0 !== 262143) { - $ERROR('#19: 262143 >> 0 === 262143. Actual: ' + (262143 >> 0)); -} - - -if (524287 >> 0 !== 524287) { - $ERROR('#20: 524287 >> 0 === 524287. Actual: ' + (524287 >> 0)); -} - - -if (1048575 >> 0 !== 1048575) { - $ERROR('#21: 1048575 >> 0 === 1048575. Actual: ' + (1048575 >> 0)); -} - - -if (2097151 >> 0 !== 2097151) { - $ERROR('#22: 2097151 >> 0 === 2097151. Actual: ' + (2097151 >> 0)); -} - - -if (4194303 >> 0 !== 4194303) { - $ERROR('#23: 4194303 >> 0 === 4194303. Actual: ' + (4194303 >> 0)); -} - - -if (8388607 >> 0 !== 8388607) { - $ERROR('#24: 8388607 >> 0 === 8388607. Actual: ' + (8388607 >> 0)); -} - - -if (16777215 >> 0 !== 16777215) { - $ERROR('#25: 16777215 >> 0 === 16777215. Actual: ' + (16777215 >> 0)); -} - - -if (33554431 >> 0 !== 33554431) { - $ERROR('#26: 33554431 >> 0 === 33554431. Actual: ' + (33554431 >> 0)); -} - - -if (67108863 >> 0 !== 67108863) { - $ERROR('#27: 67108863 >> 0 === 67108863. Actual: ' + (67108863 >> 0)); -} - - -if (134217727 >> 0 !== 134217727) { - $ERROR('#28: 134217727 >> 0 === 134217727. Actual: ' + (134217727 >> 0)); -} - - -if (268435455 >> 0 !== 268435455) { - $ERROR('#29: 268435455 >> 0 === 268435455. Actual: ' + (268435455 >> 0)); -} - - -if (536870911 >> 0 !== 536870911) { - $ERROR('#30: 536870911 >> 0 === 536870911. Actual: ' + (536870911 >> 0)); -} - - -if (1073741823 >> 0 !== 1073741823) { - $ERROR('#31: 1073741823 >> 0 === 1073741823. Actual: ' + (1073741823 >> 0)); -} - - -if (2147483647 >> 0 !== 2147483647) { - $ERROR('#32: 2147483647 >> 0 === 2147483647. Actual: ' + (2147483647 >> 0)); -} - - -if (0 >> 1 !== 0) { - $ERROR('#33: 0 >> 1 === 0. Actual: ' + (0 >> 1)); -} - - -if (1 >> 1 !== 0) { - $ERROR('#34: 1 >> 1 === 0. Actual: ' + (1 >> 1)); -} - - -if (3 >> 1 !== 1) { - $ERROR('#35: 3 >> 1 === 1. Actual: ' + (3 >> 1)); -} - - -if (7 >> 1 !== 3) { - $ERROR('#36: 7 >> 1 === 3. Actual: ' + (7 >> 1)); -} - - -if (15 >> 1 !== 7) { - $ERROR('#37: 15 >> 1 === 7. Actual: ' + (15 >> 1)); -} - - -if (31 >> 1 !== 15) { - $ERROR('#38: 31 >> 1 === 15. Actual: ' + (31 >> 1)); -} - - -if (63 >> 1 !== 31) { - $ERROR('#39: 63 >> 1 === 31. Actual: ' + (63 >> 1)); -} - - -if (127 >> 1 !== 63) { - $ERROR('#40: 127 >> 1 === 63. Actual: ' + (127 >> 1)); -} - - -if (255 >> 1 !== 127) { - $ERROR('#41: 255 >> 1 === 127. Actual: ' + (255 >> 1)); -} - - -if (511 >> 1 !== 255) { - $ERROR('#42: 511 >> 1 === 255. Actual: ' + (511 >> 1)); -} - - -if (1023 >> 1 !== 511) { - $ERROR('#43: 1023 >> 1 === 511. Actual: ' + (1023 >> 1)); -} - - -if (2047 >> 1 !== 1023) { - $ERROR('#44: 2047 >> 1 === 1023. Actual: ' + (2047 >> 1)); -} - - -if (4095 >> 1 !== 2047) { - $ERROR('#45: 4095 >> 1 === 2047. Actual: ' + (4095 >> 1)); -} - - -if (8191 >> 1 !== 4095) { - $ERROR('#46: 8191 >> 1 === 4095. Actual: ' + (8191 >> 1)); -} - - -if (16383 >> 1 !== 8191) { - $ERROR('#47: 16383 >> 1 === 8191. Actual: ' + (16383 >> 1)); -} - - -if (32767 >> 1 !== 16383) { - $ERROR('#48: 32767 >> 1 === 16383. Actual: ' + (32767 >> 1)); -} - - -if (65535 >> 1 !== 32767) { - $ERROR('#49: 65535 >> 1 === 32767. Actual: ' + (65535 >> 1)); -} - - -if (131071 >> 1 !== 65535) { - $ERROR('#50: 131071 >> 1 === 65535. Actual: ' + (131071 >> 1)); -} - - -if (262143 >> 1 !== 131071) { - $ERROR('#51: 262143 >> 1 === 131071. Actual: ' + (262143 >> 1)); -} - - -if (524287 >> 1 !== 262143) { - $ERROR('#52: 524287 >> 1 === 262143. Actual: ' + (524287 >> 1)); -} - - -if (1048575 >> 1 !== 524287) { - $ERROR('#53: 1048575 >> 1 === 524287. Actual: ' + (1048575 >> 1)); -} - - -if (2097151 >> 1 !== 1048575) { - $ERROR('#54: 2097151 >> 1 === 1048575. Actual: ' + (2097151 >> 1)); -} - - -if (4194303 >> 1 !== 2097151) { - $ERROR('#55: 4194303 >> 1 === 2097151. Actual: ' + (4194303 >> 1)); -} - - -if (8388607 >> 1 !== 4194303) { - $ERROR('#56: 8388607 >> 1 === 4194303. Actual: ' + (8388607 >> 1)); -} - - -if (16777215 >> 1 !== 8388607) { - $ERROR('#57: 16777215 >> 1 === 8388607. Actual: ' + (16777215 >> 1)); -} - - -if (33554431 >> 1 !== 16777215) { - $ERROR('#58: 33554431 >> 1 === 16777215. Actual: ' + (33554431 >> 1)); -} - - -if (67108863 >> 1 !== 33554431) { - $ERROR('#59: 67108863 >> 1 === 33554431. Actual: ' + (67108863 >> 1)); -} - - -if (134217727 >> 1 !== 67108863) { - $ERROR('#60: 134217727 >> 1 === 67108863. Actual: ' + (134217727 >> 1)); -} - - -if (268435455 >> 1 !== 134217727) { - $ERROR('#61: 268435455 >> 1 === 134217727. Actual: ' + (268435455 >> 1)); -} - - -if (536870911 >> 1 !== 268435455) { - $ERROR('#62: 536870911 >> 1 === 268435455. Actual: ' + (536870911 >> 1)); -} - - -if (1073741823 >> 1 !== 536870911) { - $ERROR('#63: 1073741823 >> 1 === 536870911. Actual: ' + (1073741823 >> 1)); -} - - -if (2147483647 >> 1 !== 1073741823) { - $ERROR('#64: 2147483647 >> 1 === 1073741823. Actual: ' + (2147483647 >> 1)); -} - - -if (0 >> 2 !== 0) { - $ERROR('#65: 0 >> 2 === 0. Actual: ' + (0 >> 2)); -} - - -if (1 >> 2 !== 0) { - $ERROR('#66: 1 >> 2 === 0. Actual: ' + (1 >> 2)); -} - - -if (3 >> 2 !== 0) { - $ERROR('#67: 3 >> 2 === 0. Actual: ' + (3 >> 2)); -} - - -if (7 >> 2 !== 1) { - $ERROR('#68: 7 >> 2 === 1. Actual: ' + (7 >> 2)); -} - - -if (15 >> 2 !== 3) { - $ERROR('#69: 15 >> 2 === 3. Actual: ' + (15 >> 2)); -} - - -if (31 >> 2 !== 7) { - $ERROR('#70: 31 >> 2 === 7. Actual: ' + (31 >> 2)); -} - - -if (63 >> 2 !== 15) { - $ERROR('#71: 63 >> 2 === 15. Actual: ' + (63 >> 2)); -} - - -if (127 >> 2 !== 31) { - $ERROR('#72: 127 >> 2 === 31. Actual: ' + (127 >> 2)); -} - - -if (255 >> 2 !== 63) { - $ERROR('#73: 255 >> 2 === 63. Actual: ' + (255 >> 2)); -} - - -if (511 >> 2 !== 127) { - $ERROR('#74: 511 >> 2 === 127. Actual: ' + (511 >> 2)); -} - - -if (1023 >> 2 !== 255) { - $ERROR('#75: 1023 >> 2 === 255. Actual: ' + (1023 >> 2)); -} - - -if (2047 >> 2 !== 511) { - $ERROR('#76: 2047 >> 2 === 511. Actual: ' + (2047 >> 2)); -} - - -if (4095 >> 2 !== 1023) { - $ERROR('#77: 4095 >> 2 === 1023. Actual: ' + (4095 >> 2)); -} - - -if (8191 >> 2 !== 2047) { - $ERROR('#78: 8191 >> 2 === 2047. Actual: ' + (8191 >> 2)); -} - - -if (16383 >> 2 !== 4095) { - $ERROR('#79: 16383 >> 2 === 4095. Actual: ' + (16383 >> 2)); -} - - -if (32767 >> 2 !== 8191) { - $ERROR('#80: 32767 >> 2 === 8191. Actual: ' + (32767 >> 2)); -} - - -if (65535 >> 2 !== 16383) { - $ERROR('#81: 65535 >> 2 === 16383. Actual: ' + (65535 >> 2)); -} - - -if (131071 >> 2 !== 32767) { - $ERROR('#82: 131071 >> 2 === 32767. Actual: ' + (131071 >> 2)); -} - - -if (262143 >> 2 !== 65535) { - $ERROR('#83: 262143 >> 2 === 65535. Actual: ' + (262143 >> 2)); -} - - -if (524287 >> 2 !== 131071) { - $ERROR('#84: 524287 >> 2 === 131071. Actual: ' + (524287 >> 2)); -} - - -if (1048575 >> 2 !== 262143) { - $ERROR('#85: 1048575 >> 2 === 262143. Actual: ' + (1048575 >> 2)); -} - - -if (2097151 >> 2 !== 524287) { - $ERROR('#86: 2097151 >> 2 === 524287. Actual: ' + (2097151 >> 2)); -} - - -if (4194303 >> 2 !== 1048575) { - $ERROR('#87: 4194303 >> 2 === 1048575. Actual: ' + (4194303 >> 2)); -} - - -if (8388607 >> 2 !== 2097151) { - $ERROR('#88: 8388607 >> 2 === 2097151. Actual: ' + (8388607 >> 2)); -} - - -if (16777215 >> 2 !== 4194303) { - $ERROR('#89: 16777215 >> 2 === 4194303. Actual: ' + (16777215 >> 2)); -} - - -if (33554431 >> 2 !== 8388607) { - $ERROR('#90: 33554431 >> 2 === 8388607. Actual: ' + (33554431 >> 2)); -} - - -if (67108863 >> 2 !== 16777215) { - $ERROR('#91: 67108863 >> 2 === 16777215. Actual: ' + (67108863 >> 2)); -} - - -if (134217727 >> 2 !== 33554431) { - $ERROR('#92: 134217727 >> 2 === 33554431. Actual: ' + (134217727 >> 2)); -} - - -if (268435455 >> 2 !== 67108863) { - $ERROR('#93: 268435455 >> 2 === 67108863. Actual: ' + (268435455 >> 2)); -} - - -if (536870911 >> 2 !== 134217727) { - $ERROR('#94: 536870911 >> 2 === 134217727. Actual: ' + (536870911 >> 2)); -} - - -if (1073741823 >> 2 !== 268435455) { - $ERROR('#95: 1073741823 >> 2 === 268435455. Actual: ' + (1073741823 >> 2)); -} - - -if (2147483647 >> 2 !== 536870911) { - $ERROR('#96: 2147483647 >> 2 === 536870911. Actual: ' + (2147483647 >> 2)); -} - - -if (0 >> 3 !== 0) { - $ERROR('#97: 0 >> 3 === 0. Actual: ' + (0 >> 3)); -} - - -if (1 >> 3 !== 0) { - $ERROR('#98: 1 >> 3 === 0. Actual: ' + (1 >> 3)); -} - - -if (3 >> 3 !== 0) { - $ERROR('#99: 3 >> 3 === 0. Actual: ' + (3 >> 3)); -} - - -if (7 >> 3 !== 0) { - $ERROR('#100: 7 >> 3 === 0. Actual: ' + (7 >> 3)); -} - - -if (15 >> 3 !== 1) { - $ERROR('#101: 15 >> 3 === 1. Actual: ' + (15 >> 3)); -} - - -if (31 >> 3 !== 3) { - $ERROR('#102: 31 >> 3 === 3. Actual: ' + (31 >> 3)); -} - - -if (63 >> 3 !== 7) { - $ERROR('#103: 63 >> 3 === 7. Actual: ' + (63 >> 3)); -} - - -if (127 >> 3 !== 15) { - $ERROR('#104: 127 >> 3 === 15. Actual: ' + (127 >> 3)); -} - - -if (255 >> 3 !== 31) { - $ERROR('#105: 255 >> 3 === 31. Actual: ' + (255 >> 3)); -} - - -if (511 >> 3 !== 63) { - $ERROR('#106: 511 >> 3 === 63. Actual: ' + (511 >> 3)); -} - - -if (1023 >> 3 !== 127) { - $ERROR('#107: 1023 >> 3 === 127. Actual: ' + (1023 >> 3)); -} - - -if (2047 >> 3 !== 255) { - $ERROR('#108: 2047 >> 3 === 255. Actual: ' + (2047 >> 3)); -} - - -if (4095 >> 3 !== 511) { - $ERROR('#109: 4095 >> 3 === 511. Actual: ' + (4095 >> 3)); -} - - -if (8191 >> 3 !== 1023) { - $ERROR('#110: 8191 >> 3 === 1023. Actual: ' + (8191 >> 3)); -} - - -if (16383 >> 3 !== 2047) { - $ERROR('#111: 16383 >> 3 === 2047. Actual: ' + (16383 >> 3)); -} - - -if (32767 >> 3 !== 4095) { - $ERROR('#112: 32767 >> 3 === 4095. Actual: ' + (32767 >> 3)); -} - - -if (65535 >> 3 !== 8191) { - $ERROR('#113: 65535 >> 3 === 8191. Actual: ' + (65535 >> 3)); -} - - -if (131071 >> 3 !== 16383) { - $ERROR('#114: 131071 >> 3 === 16383. Actual: ' + (131071 >> 3)); -} - - -if (262143 >> 3 !== 32767) { - $ERROR('#115: 262143 >> 3 === 32767. Actual: ' + (262143 >> 3)); -} - - -if (524287 >> 3 !== 65535) { - $ERROR('#116: 524287 >> 3 === 65535. Actual: ' + (524287 >> 3)); -} - - -if (1048575 >> 3 !== 131071) { - $ERROR('#117: 1048575 >> 3 === 131071. Actual: ' + (1048575 >> 3)); -} - - -if (2097151 >> 3 !== 262143) { - $ERROR('#118: 2097151 >> 3 === 262143. Actual: ' + (2097151 >> 3)); -} - - -if (4194303 >> 3 !== 524287) { - $ERROR('#119: 4194303 >> 3 === 524287. Actual: ' + (4194303 >> 3)); -} - - -if (8388607 >> 3 !== 1048575) { - $ERROR('#120: 8388607 >> 3 === 1048575. Actual: ' + (8388607 >> 3)); -} - - -if (16777215 >> 3 !== 2097151) { - $ERROR('#121: 16777215 >> 3 === 2097151. Actual: ' + (16777215 >> 3)); -} - - -if (33554431 >> 3 !== 4194303) { - $ERROR('#122: 33554431 >> 3 === 4194303. Actual: ' + (33554431 >> 3)); -} - - -if (67108863 >> 3 !== 8388607) { - $ERROR('#123: 67108863 >> 3 === 8388607. Actual: ' + (67108863 >> 3)); -} - - -if (134217727 >> 3 !== 16777215) { - $ERROR('#124: 134217727 >> 3 === 16777215. Actual: ' + (134217727 >> 3)); -} - - -if (268435455 >> 3 !== 33554431) { - $ERROR('#125: 268435455 >> 3 === 33554431. Actual: ' + (268435455 >> 3)); -} - - -if (536870911 >> 3 !== 67108863) { - $ERROR('#126: 536870911 >> 3 === 67108863. Actual: ' + (536870911 >> 3)); -} - - -if (1073741823 >> 3 !== 134217727) { - $ERROR('#127: 1073741823 >> 3 === 134217727. Actual: ' + (1073741823 >> 3)); -} - - -if (2147483647 >> 3 !== 268435455) { - $ERROR('#128: 2147483647 >> 3 === 268435455. Actual: ' + (2147483647 >> 3)); -} - - -if (0 >> 4 !== 0) { - $ERROR('#129: 0 >> 4 === 0. Actual: ' + (0 >> 4)); -} - - -if (1 >> 4 !== 0) { - $ERROR('#130: 1 >> 4 === 0. Actual: ' + (1 >> 4)); -} - - -if (3 >> 4 !== 0) { - $ERROR('#131: 3 >> 4 === 0. Actual: ' + (3 >> 4)); -} - - -if (7 >> 4 !== 0) { - $ERROR('#132: 7 >> 4 === 0. Actual: ' + (7 >> 4)); -} - - -if (15 >> 4 !== 0) { - $ERROR('#133: 15 >> 4 === 0. Actual: ' + (15 >> 4)); -} - - -if (31 >> 4 !== 1) { - $ERROR('#134: 31 >> 4 === 1. Actual: ' + (31 >> 4)); -} - - -if (63 >> 4 !== 3) { - $ERROR('#135: 63 >> 4 === 3. Actual: ' + (63 >> 4)); -} - - -if (127 >> 4 !== 7) { - $ERROR('#136: 127 >> 4 === 7. Actual: ' + (127 >> 4)); -} - - -if (255 >> 4 !== 15) { - $ERROR('#137: 255 >> 4 === 15. Actual: ' + (255 >> 4)); -} - - -if (511 >> 4 !== 31) { - $ERROR('#138: 511 >> 4 === 31. Actual: ' + (511 >> 4)); -} - - -if (1023 >> 4 !== 63) { - $ERROR('#139: 1023 >> 4 === 63. Actual: ' + (1023 >> 4)); -} - - -if (2047 >> 4 !== 127) { - $ERROR('#140: 2047 >> 4 === 127. Actual: ' + (2047 >> 4)); -} - - -if (4095 >> 4 !== 255) { - $ERROR('#141: 4095 >> 4 === 255. Actual: ' + (4095 >> 4)); -} - - -if (8191 >> 4 !== 511) { - $ERROR('#142: 8191 >> 4 === 511. Actual: ' + (8191 >> 4)); -} - - -if (16383 >> 4 !== 1023) { - $ERROR('#143: 16383 >> 4 === 1023. Actual: ' + (16383 >> 4)); -} - - -if (32767 >> 4 !== 2047) { - $ERROR('#144: 32767 >> 4 === 2047. Actual: ' + (32767 >> 4)); -} - - -if (65535 >> 4 !== 4095) { - $ERROR('#145: 65535 >> 4 === 4095. Actual: ' + (65535 >> 4)); -} - - -if (131071 >> 4 !== 8191) { - $ERROR('#146: 131071 >> 4 === 8191. Actual: ' + (131071 >> 4)); -} - - -if (262143 >> 4 !== 16383) { - $ERROR('#147: 262143 >> 4 === 16383. Actual: ' + (262143 >> 4)); -} - - -if (524287 >> 4 !== 32767) { - $ERROR('#148: 524287 >> 4 === 32767. Actual: ' + (524287 >> 4)); -} - - -if (1048575 >> 4 !== 65535) { - $ERROR('#149: 1048575 >> 4 === 65535. Actual: ' + (1048575 >> 4)); -} - - -if (2097151 >> 4 !== 131071) { - $ERROR('#150: 2097151 >> 4 === 131071. Actual: ' + (2097151 >> 4)); -} - - -if (4194303 >> 4 !== 262143) { - $ERROR('#151: 4194303 >> 4 === 262143. Actual: ' + (4194303 >> 4)); -} - - -if (8388607 >> 4 !== 524287) { - $ERROR('#152: 8388607 >> 4 === 524287. Actual: ' + (8388607 >> 4)); -} - - -if (16777215 >> 4 !== 1048575) { - $ERROR('#153: 16777215 >> 4 === 1048575. Actual: ' + (16777215 >> 4)); -} - - -if (33554431 >> 4 !== 2097151) { - $ERROR('#154: 33554431 >> 4 === 2097151. Actual: ' + (33554431 >> 4)); -} - - -if (67108863 >> 4 !== 4194303) { - $ERROR('#155: 67108863 >> 4 === 4194303. Actual: ' + (67108863 >> 4)); -} - - -if (134217727 >> 4 !== 8388607) { - $ERROR('#156: 134217727 >> 4 === 8388607. Actual: ' + (134217727 >> 4)); -} - - -if (268435455 >> 4 !== 16777215) { - $ERROR('#157: 268435455 >> 4 === 16777215. Actual: ' + (268435455 >> 4)); -} - - -if (536870911 >> 4 !== 33554431) { - $ERROR('#158: 536870911 >> 4 === 33554431. Actual: ' + (536870911 >> 4)); -} - - -if (1073741823 >> 4 !== 67108863) { - $ERROR('#159: 1073741823 >> 4 === 67108863. Actual: ' + (1073741823 >> 4)); -} - - -if (2147483647 >> 4 !== 134217727) { - $ERROR('#160: 2147483647 >> 4 === 134217727. Actual: ' + (2147483647 >> 4)); -} - - -if (0 >> 5 !== 0) { - $ERROR('#161: 0 >> 5 === 0. Actual: ' + (0 >> 5)); -} - - -if (1 >> 5 !== 0) { - $ERROR('#162: 1 >> 5 === 0. Actual: ' + (1 >> 5)); -} - - -if (3 >> 5 !== 0) { - $ERROR('#163: 3 >> 5 === 0. Actual: ' + (3 >> 5)); -} - - -if (7 >> 5 !== 0) { - $ERROR('#164: 7 >> 5 === 0. Actual: ' + (7 >> 5)); -} - - -if (15 >> 5 !== 0) { - $ERROR('#165: 15 >> 5 === 0. Actual: ' + (15 >> 5)); -} - - -if (31 >> 5 !== 0) { - $ERROR('#166: 31 >> 5 === 0. Actual: ' + (31 >> 5)); -} - - -if (63 >> 5 !== 1) { - $ERROR('#167: 63 >> 5 === 1. Actual: ' + (63 >> 5)); -} - - -if (127 >> 5 !== 3) { - $ERROR('#168: 127 >> 5 === 3. Actual: ' + (127 >> 5)); -} - - -if (255 >> 5 !== 7) { - $ERROR('#169: 255 >> 5 === 7. Actual: ' + (255 >> 5)); -} - - -if (511 >> 5 !== 15) { - $ERROR('#170: 511 >> 5 === 15. Actual: ' + (511 >> 5)); -} - - -if (1023 >> 5 !== 31) { - $ERROR('#171: 1023 >> 5 === 31. Actual: ' + (1023 >> 5)); -} - - -if (2047 >> 5 !== 63) { - $ERROR('#172: 2047 >> 5 === 63. Actual: ' + (2047 >> 5)); -} - - -if (4095 >> 5 !== 127) { - $ERROR('#173: 4095 >> 5 === 127. Actual: ' + (4095 >> 5)); -} - - -if (8191 >> 5 !== 255) { - $ERROR('#174: 8191 >> 5 === 255. Actual: ' + (8191 >> 5)); -} - - -if (16383 >> 5 !== 511) { - $ERROR('#175: 16383 >> 5 === 511. Actual: ' + (16383 >> 5)); -} - - -if (32767 >> 5 !== 1023) { - $ERROR('#176: 32767 >> 5 === 1023. Actual: ' + (32767 >> 5)); -} - - -if (65535 >> 5 !== 2047) { - $ERROR('#177: 65535 >> 5 === 2047. Actual: ' + (65535 >> 5)); -} - - -if (131071 >> 5 !== 4095) { - $ERROR('#178: 131071 >> 5 === 4095. Actual: ' + (131071 >> 5)); -} - - -if (262143 >> 5 !== 8191) { - $ERROR('#179: 262143 >> 5 === 8191. Actual: ' + (262143 >> 5)); -} - - -if (524287 >> 5 !== 16383) { - $ERROR('#180: 524287 >> 5 === 16383. Actual: ' + (524287 >> 5)); -} - - -if (1048575 >> 5 !== 32767) { - $ERROR('#181: 1048575 >> 5 === 32767. Actual: ' + (1048575 >> 5)); -} - - -if (2097151 >> 5 !== 65535) { - $ERROR('#182: 2097151 >> 5 === 65535. Actual: ' + (2097151 >> 5)); -} - - -if (4194303 >> 5 !== 131071) { - $ERROR('#183: 4194303 >> 5 === 131071. Actual: ' + (4194303 >> 5)); -} - - -if (8388607 >> 5 !== 262143) { - $ERROR('#184: 8388607 >> 5 === 262143. Actual: ' + (8388607 >> 5)); -} - - -if (16777215 >> 5 !== 524287) { - $ERROR('#185: 16777215 >> 5 === 524287. Actual: ' + (16777215 >> 5)); -} - - -if (33554431 >> 5 !== 1048575) { - $ERROR('#186: 33554431 >> 5 === 1048575. Actual: ' + (33554431 >> 5)); -} - - -if (67108863 >> 5 !== 2097151) { - $ERROR('#187: 67108863 >> 5 === 2097151. Actual: ' + (67108863 >> 5)); -} - - -if (134217727 >> 5 !== 4194303) { - $ERROR('#188: 134217727 >> 5 === 4194303. Actual: ' + (134217727 >> 5)); -} - - -if (268435455 >> 5 !== 8388607) { - $ERROR('#189: 268435455 >> 5 === 8388607. Actual: ' + (268435455 >> 5)); -} - - -if (536870911 >> 5 !== 16777215) { - $ERROR('#190: 536870911 >> 5 === 16777215. Actual: ' + (536870911 >> 5)); -} - - -if (1073741823 >> 5 !== 33554431) { - $ERROR('#191: 1073741823 >> 5 === 33554431. Actual: ' + (1073741823 >> 5)); -} - - -if (2147483647 >> 5 !== 67108863) { - $ERROR('#192: 2147483647 >> 5 === 67108863. Actual: ' + (2147483647 >> 5)); -} - - -if (0 >> 6 !== 0) { - $ERROR('#193: 0 >> 6 === 0. Actual: ' + (0 >> 6)); -} - - -if (1 >> 6 !== 0) { - $ERROR('#194: 1 >> 6 === 0. Actual: ' + (1 >> 6)); -} - - -if (3 >> 6 !== 0) { - $ERROR('#195: 3 >> 6 === 0. Actual: ' + (3 >> 6)); -} - - -if (7 >> 6 !== 0) { - $ERROR('#196: 7 >> 6 === 0. Actual: ' + (7 >> 6)); -} - - -if (15 >> 6 !== 0) { - $ERROR('#197: 15 >> 6 === 0. Actual: ' + (15 >> 6)); -} - - -if (31 >> 6 !== 0) { - $ERROR('#198: 31 >> 6 === 0. Actual: ' + (31 >> 6)); -} - - -if (63 >> 6 !== 0) { - $ERROR('#199: 63 >> 6 === 0. Actual: ' + (63 >> 6)); -} - - -if (127 >> 6 !== 1) { - $ERROR('#200: 127 >> 6 === 1. Actual: ' + (127 >> 6)); -} - - -if (255 >> 6 !== 3) { - $ERROR('#201: 255 >> 6 === 3. Actual: ' + (255 >> 6)); -} - - -if (511 >> 6 !== 7) { - $ERROR('#202: 511 >> 6 === 7. Actual: ' + (511 >> 6)); -} - - -if (1023 >> 6 !== 15) { - $ERROR('#203: 1023 >> 6 === 15. Actual: ' + (1023 >> 6)); -} - - -if (2047 >> 6 !== 31) { - $ERROR('#204: 2047 >> 6 === 31. Actual: ' + (2047 >> 6)); -} - - -if (4095 >> 6 !== 63) { - $ERROR('#205: 4095 >> 6 === 63. Actual: ' + (4095 >> 6)); -} - - -if (8191 >> 6 !== 127) { - $ERROR('#206: 8191 >> 6 === 127. Actual: ' + (8191 >> 6)); -} - - -if (16383 >> 6 !== 255) { - $ERROR('#207: 16383 >> 6 === 255. Actual: ' + (16383 >> 6)); -} - - -if (32767 >> 6 !== 511) { - $ERROR('#208: 32767 >> 6 === 511. Actual: ' + (32767 >> 6)); -} - - -if (65535 >> 6 !== 1023) { - $ERROR('#209: 65535 >> 6 === 1023. Actual: ' + (65535 >> 6)); -} - - -if (131071 >> 6 !== 2047) { - $ERROR('#210: 131071 >> 6 === 2047. Actual: ' + (131071 >> 6)); -} - - -if (262143 >> 6 !== 4095) { - $ERROR('#211: 262143 >> 6 === 4095. Actual: ' + (262143 >> 6)); -} - - -if (524287 >> 6 !== 8191) { - $ERROR('#212: 524287 >> 6 === 8191. Actual: ' + (524287 >> 6)); -} - - -if (1048575 >> 6 !== 16383) { - $ERROR('#213: 1048575 >> 6 === 16383. Actual: ' + (1048575 >> 6)); -} - - -if (2097151 >> 6 !== 32767) { - $ERROR('#214: 2097151 >> 6 === 32767. Actual: ' + (2097151 >> 6)); -} - - -if (4194303 >> 6 !== 65535) { - $ERROR('#215: 4194303 >> 6 === 65535. Actual: ' + (4194303 >> 6)); -} - - -if (8388607 >> 6 !== 131071) { - $ERROR('#216: 8388607 >> 6 === 131071. Actual: ' + (8388607 >> 6)); -} - - -if (16777215 >> 6 !== 262143) { - $ERROR('#217: 16777215 >> 6 === 262143. Actual: ' + (16777215 >> 6)); -} - - -if (33554431 >> 6 !== 524287) { - $ERROR('#218: 33554431 >> 6 === 524287. Actual: ' + (33554431 >> 6)); -} - - -if (67108863 >> 6 !== 1048575) { - $ERROR('#219: 67108863 >> 6 === 1048575. Actual: ' + (67108863 >> 6)); -} - - -if (134217727 >> 6 !== 2097151) { - $ERROR('#220: 134217727 >> 6 === 2097151. Actual: ' + (134217727 >> 6)); -} - - -if (268435455 >> 6 !== 4194303) { - $ERROR('#221: 268435455 >> 6 === 4194303. Actual: ' + (268435455 >> 6)); -} - - -if (536870911 >> 6 !== 8388607) { - $ERROR('#222: 536870911 >> 6 === 8388607. Actual: ' + (536870911 >> 6)); -} - - -if (1073741823 >> 6 !== 16777215) { - $ERROR('#223: 1073741823 >> 6 === 16777215. Actual: ' + (1073741823 >> 6)); -} - - -if (2147483647 >> 6 !== 33554431) { - $ERROR('#224: 2147483647 >> 6 === 33554431. Actual: ' + (2147483647 >> 6)); -} - - -if (0 >> 7 !== 0) { - $ERROR('#225: 0 >> 7 === 0. Actual: ' + (0 >> 7)); -} - - -if (1 >> 7 !== 0) { - $ERROR('#226: 1 >> 7 === 0. Actual: ' + (1 >> 7)); -} - - -if (3 >> 7 !== 0) { - $ERROR('#227: 3 >> 7 === 0. Actual: ' + (3 >> 7)); -} - - -if (7 >> 7 !== 0) { - $ERROR('#228: 7 >> 7 === 0. Actual: ' + (7 >> 7)); -} - - -if (15 >> 7 !== 0) { - $ERROR('#229: 15 >> 7 === 0. Actual: ' + (15 >> 7)); -} - - -if (31 >> 7 !== 0) { - $ERROR('#230: 31 >> 7 === 0. Actual: ' + (31 >> 7)); -} - - -if (63 >> 7 !== 0) { - $ERROR('#231: 63 >> 7 === 0. Actual: ' + (63 >> 7)); -} - - -if (127 >> 7 !== 0) { - $ERROR('#232: 127 >> 7 === 0. Actual: ' + (127 >> 7)); -} - - -if (255 >> 7 !== 1) { - $ERROR('#233: 255 >> 7 === 1. Actual: ' + (255 >> 7)); -} - - -if (511 >> 7 !== 3) { - $ERROR('#234: 511 >> 7 === 3. Actual: ' + (511 >> 7)); -} - - -if (1023 >> 7 !== 7) { - $ERROR('#235: 1023 >> 7 === 7. Actual: ' + (1023 >> 7)); -} - - -if (2047 >> 7 !== 15) { - $ERROR('#236: 2047 >> 7 === 15. Actual: ' + (2047 >> 7)); -} - - -if (4095 >> 7 !== 31) { - $ERROR('#237: 4095 >> 7 === 31. Actual: ' + (4095 >> 7)); -} - - -if (8191 >> 7 !== 63) { - $ERROR('#238: 8191 >> 7 === 63. Actual: ' + (8191 >> 7)); -} - - -if (16383 >> 7 !== 127) { - $ERROR('#239: 16383 >> 7 === 127. Actual: ' + (16383 >> 7)); -} - - -if (32767 >> 7 !== 255) { - $ERROR('#240: 32767 >> 7 === 255. Actual: ' + (32767 >> 7)); -} - - -if (65535 >> 7 !== 511) { - $ERROR('#241: 65535 >> 7 === 511. Actual: ' + (65535 >> 7)); -} - - -if (131071 >> 7 !== 1023) { - $ERROR('#242: 131071 >> 7 === 1023. Actual: ' + (131071 >> 7)); -} - - -if (262143 >> 7 !== 2047) { - $ERROR('#243: 262143 >> 7 === 2047. Actual: ' + (262143 >> 7)); -} - - -if (524287 >> 7 !== 4095) { - $ERROR('#244: 524287 >> 7 === 4095. Actual: ' + (524287 >> 7)); -} - - -if (1048575 >> 7 !== 8191) { - $ERROR('#245: 1048575 >> 7 === 8191. Actual: ' + (1048575 >> 7)); -} - - -if (2097151 >> 7 !== 16383) { - $ERROR('#246: 2097151 >> 7 === 16383. Actual: ' + (2097151 >> 7)); -} - - -if (4194303 >> 7 !== 32767) { - $ERROR('#247: 4194303 >> 7 === 32767. Actual: ' + (4194303 >> 7)); -} - - -if (8388607 >> 7 !== 65535) { - $ERROR('#248: 8388607 >> 7 === 65535. Actual: ' + (8388607 >> 7)); -} - - -if (16777215 >> 7 !== 131071) { - $ERROR('#249: 16777215 >> 7 === 131071. Actual: ' + (16777215 >> 7)); -} - - -if (33554431 >> 7 !== 262143) { - $ERROR('#250: 33554431 >> 7 === 262143. Actual: ' + (33554431 >> 7)); -} - - -if (67108863 >> 7 !== 524287) { - $ERROR('#251: 67108863 >> 7 === 524287. Actual: ' + (67108863 >> 7)); -} - - -if (134217727 >> 7 !== 1048575) { - $ERROR('#252: 134217727 >> 7 === 1048575. Actual: ' + (134217727 >> 7)); -} - - -if (268435455 >> 7 !== 2097151) { - $ERROR('#253: 268435455 >> 7 === 2097151. Actual: ' + (268435455 >> 7)); -} - - -if (536870911 >> 7 !== 4194303) { - $ERROR('#254: 536870911 >> 7 === 4194303. Actual: ' + (536870911 >> 7)); -} - - -if (1073741823 >> 7 !== 8388607) { - $ERROR('#255: 1073741823 >> 7 === 8388607. Actual: ' + (1073741823 >> 7)); -} - - -if (2147483647 >> 7 !== 16777215) { - $ERROR('#256: 2147483647 >> 7 === 16777215. Actual: ' + (2147483647 >> 7)); -} - - -if (0 >> 8 !== 0) { - $ERROR('#257: 0 >> 8 === 0. Actual: ' + (0 >> 8)); -} - - -if (1 >> 8 !== 0) { - $ERROR('#258: 1 >> 8 === 0. Actual: ' + (1 >> 8)); -} - - -if (3 >> 8 !== 0) { - $ERROR('#259: 3 >> 8 === 0. Actual: ' + (3 >> 8)); -} - - -if (7 >> 8 !== 0) { - $ERROR('#260: 7 >> 8 === 0. Actual: ' + (7 >> 8)); -} - - -if (15 >> 8 !== 0) { - $ERROR('#261: 15 >> 8 === 0. Actual: ' + (15 >> 8)); -} - - -if (31 >> 8 !== 0) { - $ERROR('#262: 31 >> 8 === 0. Actual: ' + (31 >> 8)); -} - - -if (63 >> 8 !== 0) { - $ERROR('#263: 63 >> 8 === 0. Actual: ' + (63 >> 8)); -} - - -if (127 >> 8 !== 0) { - $ERROR('#264: 127 >> 8 === 0. Actual: ' + (127 >> 8)); -} - - -if (255 >> 8 !== 0) { - $ERROR('#265: 255 >> 8 === 0. Actual: ' + (255 >> 8)); -} - - -if (511 >> 8 !== 1) { - $ERROR('#266: 511 >> 8 === 1. Actual: ' + (511 >> 8)); -} - - -if (1023 >> 8 !== 3) { - $ERROR('#267: 1023 >> 8 === 3. Actual: ' + (1023 >> 8)); -} - - -if (2047 >> 8 !== 7) { - $ERROR('#268: 2047 >> 8 === 7. Actual: ' + (2047 >> 8)); -} - - -if (4095 >> 8 !== 15) { - $ERROR('#269: 4095 >> 8 === 15. Actual: ' + (4095 >> 8)); -} - - -if (8191 >> 8 !== 31) { - $ERROR('#270: 8191 >> 8 === 31. Actual: ' + (8191 >> 8)); -} - - -if (16383 >> 8 !== 63) { - $ERROR('#271: 16383 >> 8 === 63. Actual: ' + (16383 >> 8)); -} - - -if (32767 >> 8 !== 127) { - $ERROR('#272: 32767 >> 8 === 127. Actual: ' + (32767 >> 8)); -} - - -if (65535 >> 8 !== 255) { - $ERROR('#273: 65535 >> 8 === 255. Actual: ' + (65535 >> 8)); -} - - -if (131071 >> 8 !== 511) { - $ERROR('#274: 131071 >> 8 === 511. Actual: ' + (131071 >> 8)); -} - - -if (262143 >> 8 !== 1023) { - $ERROR('#275: 262143 >> 8 === 1023. Actual: ' + (262143 >> 8)); -} - - -if (524287 >> 8 !== 2047) { - $ERROR('#276: 524287 >> 8 === 2047. Actual: ' + (524287 >> 8)); -} - - -if (1048575 >> 8 !== 4095) { - $ERROR('#277: 1048575 >> 8 === 4095. Actual: ' + (1048575 >> 8)); -} - - -if (2097151 >> 8 !== 8191) { - $ERROR('#278: 2097151 >> 8 === 8191. Actual: ' + (2097151 >> 8)); -} - - -if (4194303 >> 8 !== 16383) { - $ERROR('#279: 4194303 >> 8 === 16383. Actual: ' + (4194303 >> 8)); -} - - -if (8388607 >> 8 !== 32767) { - $ERROR('#280: 8388607 >> 8 === 32767. Actual: ' + (8388607 >> 8)); -} - - -if (16777215 >> 8 !== 65535) { - $ERROR('#281: 16777215 >> 8 === 65535. Actual: ' + (16777215 >> 8)); -} - - -if (33554431 >> 8 !== 131071) { - $ERROR('#282: 33554431 >> 8 === 131071. Actual: ' + (33554431 >> 8)); -} - - -if (67108863 >> 8 !== 262143) { - $ERROR('#283: 67108863 >> 8 === 262143. Actual: ' + (67108863 >> 8)); -} - - -if (134217727 >> 8 !== 524287) { - $ERROR('#284: 134217727 >> 8 === 524287. Actual: ' + (134217727 >> 8)); -} - - -if (268435455 >> 8 !== 1048575) { - $ERROR('#285: 268435455 >> 8 === 1048575. Actual: ' + (268435455 >> 8)); -} - - -if (536870911 >> 8 !== 2097151) { - $ERROR('#286: 536870911 >> 8 === 2097151. Actual: ' + (536870911 >> 8)); -} - - -if (1073741823 >> 8 !== 4194303) { - $ERROR('#287: 1073741823 >> 8 === 4194303. Actual: ' + (1073741823 >> 8)); -} - - -if (2147483647 >> 8 !== 8388607) { - $ERROR('#288: 2147483647 >> 8 === 8388607. Actual: ' + (2147483647 >> 8)); -} - - -if (0 >> 9 !== 0) { - $ERROR('#289: 0 >> 9 === 0. Actual: ' + (0 >> 9)); -} - - -if (1 >> 9 !== 0) { - $ERROR('#290: 1 >> 9 === 0. Actual: ' + (1 >> 9)); -} - - -if (3 >> 9 !== 0) { - $ERROR('#291: 3 >> 9 === 0. Actual: ' + (3 >> 9)); -} - - -if (7 >> 9 !== 0) { - $ERROR('#292: 7 >> 9 === 0. Actual: ' + (7 >> 9)); -} - - -if (15 >> 9 !== 0) { - $ERROR('#293: 15 >> 9 === 0. Actual: ' + (15 >> 9)); -} - - -if (31 >> 9 !== 0) { - $ERROR('#294: 31 >> 9 === 0. Actual: ' + (31 >> 9)); -} - - -if (63 >> 9 !== 0) { - $ERROR('#295: 63 >> 9 === 0. Actual: ' + (63 >> 9)); -} - - -if (127 >> 9 !== 0) { - $ERROR('#296: 127 >> 9 === 0. Actual: ' + (127 >> 9)); -} - - -if (255 >> 9 !== 0) { - $ERROR('#297: 255 >> 9 === 0. Actual: ' + (255 >> 9)); -} - - -if (511 >> 9 !== 0) { - $ERROR('#298: 511 >> 9 === 0. Actual: ' + (511 >> 9)); -} - - -if (1023 >> 9 !== 1) { - $ERROR('#299: 1023 >> 9 === 1. Actual: ' + (1023 >> 9)); -} - - -if (2047 >> 9 !== 3) { - $ERROR('#300: 2047 >> 9 === 3. Actual: ' + (2047 >> 9)); -} - - -if (4095 >> 9 !== 7) { - $ERROR('#301: 4095 >> 9 === 7. Actual: ' + (4095 >> 9)); -} - - -if (8191 >> 9 !== 15) { - $ERROR('#302: 8191 >> 9 === 15. Actual: ' + (8191 >> 9)); -} - - -if (16383 >> 9 !== 31) { - $ERROR('#303: 16383 >> 9 === 31. Actual: ' + (16383 >> 9)); -} - - -if (32767 >> 9 !== 63) { - $ERROR('#304: 32767 >> 9 === 63. Actual: ' + (32767 >> 9)); -} - - -if (65535 >> 9 !== 127) { - $ERROR('#305: 65535 >> 9 === 127. Actual: ' + (65535 >> 9)); -} - - -if (131071 >> 9 !== 255) { - $ERROR('#306: 131071 >> 9 === 255. Actual: ' + (131071 >> 9)); -} - - -if (262143 >> 9 !== 511) { - $ERROR('#307: 262143 >> 9 === 511. Actual: ' + (262143 >> 9)); -} - - -if (524287 >> 9 !== 1023) { - $ERROR('#308: 524287 >> 9 === 1023. Actual: ' + (524287 >> 9)); -} - - -if (1048575 >> 9 !== 2047) { - $ERROR('#309: 1048575 >> 9 === 2047. Actual: ' + (1048575 >> 9)); -} - - -if (2097151 >> 9 !== 4095) { - $ERROR('#310: 2097151 >> 9 === 4095. Actual: ' + (2097151 >> 9)); -} - - -if (4194303 >> 9 !== 8191) { - $ERROR('#311: 4194303 >> 9 === 8191. Actual: ' + (4194303 >> 9)); -} - - -if (8388607 >> 9 !== 16383) { - $ERROR('#312: 8388607 >> 9 === 16383. Actual: ' + (8388607 >> 9)); -} - - -if (16777215 >> 9 !== 32767) { - $ERROR('#313: 16777215 >> 9 === 32767. Actual: ' + (16777215 >> 9)); -} - - -if (33554431 >> 9 !== 65535) { - $ERROR('#314: 33554431 >> 9 === 65535. Actual: ' + (33554431 >> 9)); -} - - -if (67108863 >> 9 !== 131071) { - $ERROR('#315: 67108863 >> 9 === 131071. Actual: ' + (67108863 >> 9)); -} - - -if (134217727 >> 9 !== 262143) { - $ERROR('#316: 134217727 >> 9 === 262143. Actual: ' + (134217727 >> 9)); -} - - -if (268435455 >> 9 !== 524287) { - $ERROR('#317: 268435455 >> 9 === 524287. Actual: ' + (268435455 >> 9)); -} - - -if (536870911 >> 9 !== 1048575) { - $ERROR('#318: 536870911 >> 9 === 1048575. Actual: ' + (536870911 >> 9)); -} - - -if (1073741823 >> 9 !== 2097151) { - $ERROR('#319: 1073741823 >> 9 === 2097151. Actual: ' + (1073741823 >> 9)); -} - - -if (2147483647 >> 9 !== 4194303) { - $ERROR('#320: 2147483647 >> 9 === 4194303. Actual: ' + (2147483647 >> 9)); -} - - -if (0 >> 10 !== 0) { - $ERROR('#321: 0 >> 10 === 0. Actual: ' + (0 >> 10)); -} - - -if (1 >> 10 !== 0) { - $ERROR('#322: 1 >> 10 === 0. Actual: ' + (1 >> 10)); -} - - -if (3 >> 10 !== 0) { - $ERROR('#323: 3 >> 10 === 0. Actual: ' + (3 >> 10)); -} - - -if (7 >> 10 !== 0) { - $ERROR('#324: 7 >> 10 === 0. Actual: ' + (7 >> 10)); -} - - -if (15 >> 10 !== 0) { - $ERROR('#325: 15 >> 10 === 0. Actual: ' + (15 >> 10)); -} - - -if (31 >> 10 !== 0) { - $ERROR('#326: 31 >> 10 === 0. Actual: ' + (31 >> 10)); -} - - -if (63 >> 10 !== 0) { - $ERROR('#327: 63 >> 10 === 0. Actual: ' + (63 >> 10)); -} - - -if (127 >> 10 !== 0) { - $ERROR('#328: 127 >> 10 === 0. Actual: ' + (127 >> 10)); -} - - -if (255 >> 10 !== 0) { - $ERROR('#329: 255 >> 10 === 0. Actual: ' + (255 >> 10)); -} - - -if (511 >> 10 !== 0) { - $ERROR('#330: 511 >> 10 === 0. Actual: ' + (511 >> 10)); -} - - -if (1023 >> 10 !== 0) { - $ERROR('#331: 1023 >> 10 === 0. Actual: ' + (1023 >> 10)); -} - - -if (2047 >> 10 !== 1) { - $ERROR('#332: 2047 >> 10 === 1. Actual: ' + (2047 >> 10)); -} - - -if (4095 >> 10 !== 3) { - $ERROR('#333: 4095 >> 10 === 3. Actual: ' + (4095 >> 10)); -} - - -if (8191 >> 10 !== 7) { - $ERROR('#334: 8191 >> 10 === 7. Actual: ' + (8191 >> 10)); -} - - -if (16383 >> 10 !== 15) { - $ERROR('#335: 16383 >> 10 === 15. Actual: ' + (16383 >> 10)); -} - - -if (32767 >> 10 !== 31) { - $ERROR('#336: 32767 >> 10 === 31. Actual: ' + (32767 >> 10)); -} - - -if (65535 >> 10 !== 63) { - $ERROR('#337: 65535 >> 10 === 63. Actual: ' + (65535 >> 10)); -} - - -if (131071 >> 10 !== 127) { - $ERROR('#338: 131071 >> 10 === 127. Actual: ' + (131071 >> 10)); -} - - -if (262143 >> 10 !== 255) { - $ERROR('#339: 262143 >> 10 === 255. Actual: ' + (262143 >> 10)); -} - - -if (524287 >> 10 !== 511) { - $ERROR('#340: 524287 >> 10 === 511. Actual: ' + (524287 >> 10)); -} - - -if (1048575 >> 10 !== 1023) { - $ERROR('#341: 1048575 >> 10 === 1023. Actual: ' + (1048575 >> 10)); -} - - -if (2097151 >> 10 !== 2047) { - $ERROR('#342: 2097151 >> 10 === 2047. Actual: ' + (2097151 >> 10)); -} - - -if (4194303 >> 10 !== 4095) { - $ERROR('#343: 4194303 >> 10 === 4095. Actual: ' + (4194303 >> 10)); -} - - -if (8388607 >> 10 !== 8191) { - $ERROR('#344: 8388607 >> 10 === 8191. Actual: ' + (8388607 >> 10)); -} - - -if (16777215 >> 10 !== 16383) { - $ERROR('#345: 16777215 >> 10 === 16383. Actual: ' + (16777215 >> 10)); -} - - -if (33554431 >> 10 !== 32767) { - $ERROR('#346: 33554431 >> 10 === 32767. Actual: ' + (33554431 >> 10)); -} - - -if (67108863 >> 10 !== 65535) { - $ERROR('#347: 67108863 >> 10 === 65535. Actual: ' + (67108863 >> 10)); -} - - -if (134217727 >> 10 !== 131071) { - $ERROR('#348: 134217727 >> 10 === 131071. Actual: ' + (134217727 >> 10)); -} - - -if (268435455 >> 10 !== 262143) { - $ERROR('#349: 268435455 >> 10 === 262143. Actual: ' + (268435455 >> 10)); -} - - -if (536870911 >> 10 !== 524287) { - $ERROR('#350: 536870911 >> 10 === 524287. Actual: ' + (536870911 >> 10)); -} - - -if (1073741823 >> 10 !== 1048575) { - $ERROR('#351: 1073741823 >> 10 === 1048575. Actual: ' + (1073741823 >> 10)); -} - - -if (2147483647 >> 10 !== 2097151) { - $ERROR('#352: 2147483647 >> 10 === 2097151. Actual: ' + (2147483647 >> 10)); -} - - -if (0 >> 11 !== 0) { - $ERROR('#353: 0 >> 11 === 0. Actual: ' + (0 >> 11)); -} - - -if (1 >> 11 !== 0) { - $ERROR('#354: 1 >> 11 === 0. Actual: ' + (1 >> 11)); -} - - -if (3 >> 11 !== 0) { - $ERROR('#355: 3 >> 11 === 0. Actual: ' + (3 >> 11)); -} - - -if (7 >> 11 !== 0) { - $ERROR('#356: 7 >> 11 === 0. Actual: ' + (7 >> 11)); -} - - -if (15 >> 11 !== 0) { - $ERROR('#357: 15 >> 11 === 0. Actual: ' + (15 >> 11)); -} - - -if (31 >> 11 !== 0) { - $ERROR('#358: 31 >> 11 === 0. Actual: ' + (31 >> 11)); -} - - -if (63 >> 11 !== 0) { - $ERROR('#359: 63 >> 11 === 0. Actual: ' + (63 >> 11)); -} - - -if (127 >> 11 !== 0) { - $ERROR('#360: 127 >> 11 === 0. Actual: ' + (127 >> 11)); -} - - -if (255 >> 11 !== 0) { - $ERROR('#361: 255 >> 11 === 0. Actual: ' + (255 >> 11)); -} - - -if (511 >> 11 !== 0) { - $ERROR('#362: 511 >> 11 === 0. Actual: ' + (511 >> 11)); -} - - -if (1023 >> 11 !== 0) { - $ERROR('#363: 1023 >> 11 === 0. Actual: ' + (1023 >> 11)); -} - - -if (2047 >> 11 !== 0) { - $ERROR('#364: 2047 >> 11 === 0. Actual: ' + (2047 >> 11)); -} - - -if (4095 >> 11 !== 1) { - $ERROR('#365: 4095 >> 11 === 1. Actual: ' + (4095 >> 11)); -} - - -if (8191 >> 11 !== 3) { - $ERROR('#366: 8191 >> 11 === 3. Actual: ' + (8191 >> 11)); -} - - -if (16383 >> 11 !== 7) { - $ERROR('#367: 16383 >> 11 === 7. Actual: ' + (16383 >> 11)); -} - - -if (32767 >> 11 !== 15) { - $ERROR('#368: 32767 >> 11 === 15. Actual: ' + (32767 >> 11)); -} - - -if (65535 >> 11 !== 31) { - $ERROR('#369: 65535 >> 11 === 31. Actual: ' + (65535 >> 11)); -} - - -if (131071 >> 11 !== 63) { - $ERROR('#370: 131071 >> 11 === 63. Actual: ' + (131071 >> 11)); -} - - -if (262143 >> 11 !== 127) { - $ERROR('#371: 262143 >> 11 === 127. Actual: ' + (262143 >> 11)); -} - - -if (524287 >> 11 !== 255) { - $ERROR('#372: 524287 >> 11 === 255. Actual: ' + (524287 >> 11)); -} - - -if (1048575 >> 11 !== 511) { - $ERROR('#373: 1048575 >> 11 === 511. Actual: ' + (1048575 >> 11)); -} - - -if (2097151 >> 11 !== 1023) { - $ERROR('#374: 2097151 >> 11 === 1023. Actual: ' + (2097151 >> 11)); -} - - -if (4194303 >> 11 !== 2047) { - $ERROR('#375: 4194303 >> 11 === 2047. Actual: ' + (4194303 >> 11)); -} - - -if (8388607 >> 11 !== 4095) { - $ERROR('#376: 8388607 >> 11 === 4095. Actual: ' + (8388607 >> 11)); -} - - -if (16777215 >> 11 !== 8191) { - $ERROR('#377: 16777215 >> 11 === 8191. Actual: ' + (16777215 >> 11)); -} - - -if (33554431 >> 11 !== 16383) { - $ERROR('#378: 33554431 >> 11 === 16383. Actual: ' + (33554431 >> 11)); -} - - -if (67108863 >> 11 !== 32767) { - $ERROR('#379: 67108863 >> 11 === 32767. Actual: ' + (67108863 >> 11)); -} - - -if (134217727 >> 11 !== 65535) { - $ERROR('#380: 134217727 >> 11 === 65535. Actual: ' + (134217727 >> 11)); -} - - -if (268435455 >> 11 !== 131071) { - $ERROR('#381: 268435455 >> 11 === 131071. Actual: ' + (268435455 >> 11)); -} - - -if (536870911 >> 11 !== 262143) { - $ERROR('#382: 536870911 >> 11 === 262143. Actual: ' + (536870911 >> 11)); -} - - -if (1073741823 >> 11 !== 524287) { - $ERROR('#383: 1073741823 >> 11 === 524287. Actual: ' + (1073741823 >> 11)); -} - - -if (2147483647 >> 11 !== 1048575) { - $ERROR('#384: 2147483647 >> 11 === 1048575. Actual: ' + (2147483647 >> 11)); -} - - -if (0 >> 12 !== 0) { - $ERROR('#385: 0 >> 12 === 0. Actual: ' + (0 >> 12)); -} - - -if (1 >> 12 !== 0) { - $ERROR('#386: 1 >> 12 === 0. Actual: ' + (1 >> 12)); -} - - -if (3 >> 12 !== 0) { - $ERROR('#387: 3 >> 12 === 0. Actual: ' + (3 >> 12)); -} - - -if (7 >> 12 !== 0) { - $ERROR('#388: 7 >> 12 === 0. Actual: ' + (7 >> 12)); -} - - -if (15 >> 12 !== 0) { - $ERROR('#389: 15 >> 12 === 0. Actual: ' + (15 >> 12)); -} - - -if (31 >> 12 !== 0) { - $ERROR('#390: 31 >> 12 === 0. Actual: ' + (31 >> 12)); -} - - -if (63 >> 12 !== 0) { - $ERROR('#391: 63 >> 12 === 0. Actual: ' + (63 >> 12)); -} - - -if (127 >> 12 !== 0) { - $ERROR('#392: 127 >> 12 === 0. Actual: ' + (127 >> 12)); -} - - -if (255 >> 12 !== 0) { - $ERROR('#393: 255 >> 12 === 0. Actual: ' + (255 >> 12)); -} - - -if (511 >> 12 !== 0) { - $ERROR('#394: 511 >> 12 === 0. Actual: ' + (511 >> 12)); -} - - -if (1023 >> 12 !== 0) { - $ERROR('#395: 1023 >> 12 === 0. Actual: ' + (1023 >> 12)); -} - - -if (2047 >> 12 !== 0) { - $ERROR('#396: 2047 >> 12 === 0. Actual: ' + (2047 >> 12)); -} - - -if (4095 >> 12 !== 0) { - $ERROR('#397: 4095 >> 12 === 0. Actual: ' + (4095 >> 12)); -} - - -if (8191 >> 12 !== 1) { - $ERROR('#398: 8191 >> 12 === 1. Actual: ' + (8191 >> 12)); -} - - -if (16383 >> 12 !== 3) { - $ERROR('#399: 16383 >> 12 === 3. Actual: ' + (16383 >> 12)); -} - - -if (32767 >> 12 !== 7) { - $ERROR('#400: 32767 >> 12 === 7. Actual: ' + (32767 >> 12)); -} - - -if (65535 >> 12 !== 15) { - $ERROR('#401: 65535 >> 12 === 15. Actual: ' + (65535 >> 12)); -} - - -if (131071 >> 12 !== 31) { - $ERROR('#402: 131071 >> 12 === 31. Actual: ' + (131071 >> 12)); -} - - -if (262143 >> 12 !== 63) { - $ERROR('#403: 262143 >> 12 === 63. Actual: ' + (262143 >> 12)); -} - - -if (524287 >> 12 !== 127) { - $ERROR('#404: 524287 >> 12 === 127. Actual: ' + (524287 >> 12)); -} - - -if (1048575 >> 12 !== 255) { - $ERROR('#405: 1048575 >> 12 === 255. Actual: ' + (1048575 >> 12)); -} - - -if (2097151 >> 12 !== 511) { - $ERROR('#406: 2097151 >> 12 === 511. Actual: ' + (2097151 >> 12)); -} - - -if (4194303 >> 12 !== 1023) { - $ERROR('#407: 4194303 >> 12 === 1023. Actual: ' + (4194303 >> 12)); -} - - -if (8388607 >> 12 !== 2047) { - $ERROR('#408: 8388607 >> 12 === 2047. Actual: ' + (8388607 >> 12)); -} - - -if (16777215 >> 12 !== 4095) { - $ERROR('#409: 16777215 >> 12 === 4095. Actual: ' + (16777215 >> 12)); -} - - -if (33554431 >> 12 !== 8191) { - $ERROR('#410: 33554431 >> 12 === 8191. Actual: ' + (33554431 >> 12)); -} - - -if (67108863 >> 12 !== 16383) { - $ERROR('#411: 67108863 >> 12 === 16383. Actual: ' + (67108863 >> 12)); -} - - -if (134217727 >> 12 !== 32767) { - $ERROR('#412: 134217727 >> 12 === 32767. Actual: ' + (134217727 >> 12)); -} - - -if (268435455 >> 12 !== 65535) { - $ERROR('#413: 268435455 >> 12 === 65535. Actual: ' + (268435455 >> 12)); -} - - -if (536870911 >> 12 !== 131071) { - $ERROR('#414: 536870911 >> 12 === 131071. Actual: ' + (536870911 >> 12)); -} - - -if (1073741823 >> 12 !== 262143) { - $ERROR('#415: 1073741823 >> 12 === 262143. Actual: ' + (1073741823 >> 12)); -} - - -if (2147483647 >> 12 !== 524287) { - $ERROR('#416: 2147483647 >> 12 === 524287. Actual: ' + (2147483647 >> 12)); -} - - -if (0 >> 13 !== 0) { - $ERROR('#417: 0 >> 13 === 0. Actual: ' + (0 >> 13)); -} - - -if (1 >> 13 !== 0) { - $ERROR('#418: 1 >> 13 === 0. Actual: ' + (1 >> 13)); -} - - -if (3 >> 13 !== 0) { - $ERROR('#419: 3 >> 13 === 0. Actual: ' + (3 >> 13)); -} - - -if (7 >> 13 !== 0) { - $ERROR('#420: 7 >> 13 === 0. Actual: ' + (7 >> 13)); -} - - -if (15 >> 13 !== 0) { - $ERROR('#421: 15 >> 13 === 0. Actual: ' + (15 >> 13)); -} - - -if (31 >> 13 !== 0) { - $ERROR('#422: 31 >> 13 === 0. Actual: ' + (31 >> 13)); -} - - -if (63 >> 13 !== 0) { - $ERROR('#423: 63 >> 13 === 0. Actual: ' + (63 >> 13)); -} - - -if (127 >> 13 !== 0) { - $ERROR('#424: 127 >> 13 === 0. Actual: ' + (127 >> 13)); -} - - -if (255 >> 13 !== 0) { - $ERROR('#425: 255 >> 13 === 0. Actual: ' + (255 >> 13)); -} - - -if (511 >> 13 !== 0) { - $ERROR('#426: 511 >> 13 === 0. Actual: ' + (511 >> 13)); -} - - -if (1023 >> 13 !== 0) { - $ERROR('#427: 1023 >> 13 === 0. Actual: ' + (1023 >> 13)); -} - - -if (2047 >> 13 !== 0) { - $ERROR('#428: 2047 >> 13 === 0. Actual: ' + (2047 >> 13)); -} - - -if (4095 >> 13 !== 0) { - $ERROR('#429: 4095 >> 13 === 0. Actual: ' + (4095 >> 13)); -} - - -if (8191 >> 13 !== 0) { - $ERROR('#430: 8191 >> 13 === 0. Actual: ' + (8191 >> 13)); -} - - -if (16383 >> 13 !== 1) { - $ERROR('#431: 16383 >> 13 === 1. Actual: ' + (16383 >> 13)); -} - - -if (32767 >> 13 !== 3) { - $ERROR('#432: 32767 >> 13 === 3. Actual: ' + (32767 >> 13)); -} - - -if (65535 >> 13 !== 7) { - $ERROR('#433: 65535 >> 13 === 7. Actual: ' + (65535 >> 13)); -} - - -if (131071 >> 13 !== 15) { - $ERROR('#434: 131071 >> 13 === 15. Actual: ' + (131071 >> 13)); -} - - -if (262143 >> 13 !== 31) { - $ERROR('#435: 262143 >> 13 === 31. Actual: ' + (262143 >> 13)); -} - - -if (524287 >> 13 !== 63) { - $ERROR('#436: 524287 >> 13 === 63. Actual: ' + (524287 >> 13)); -} - - -if (1048575 >> 13 !== 127) { - $ERROR('#437: 1048575 >> 13 === 127. Actual: ' + (1048575 >> 13)); -} - - -if (2097151 >> 13 !== 255) { - $ERROR('#438: 2097151 >> 13 === 255. Actual: ' + (2097151 >> 13)); -} - - -if (4194303 >> 13 !== 511) { - $ERROR('#439: 4194303 >> 13 === 511. Actual: ' + (4194303 >> 13)); -} - - -if (8388607 >> 13 !== 1023) { - $ERROR('#440: 8388607 >> 13 === 1023. Actual: ' + (8388607 >> 13)); -} - - -if (16777215 >> 13 !== 2047) { - $ERROR('#441: 16777215 >> 13 === 2047. Actual: ' + (16777215 >> 13)); -} - - -if (33554431 >> 13 !== 4095) { - $ERROR('#442: 33554431 >> 13 === 4095. Actual: ' + (33554431 >> 13)); -} - - -if (67108863 >> 13 !== 8191) { - $ERROR('#443: 67108863 >> 13 === 8191. Actual: ' + (67108863 >> 13)); -} - - -if (134217727 >> 13 !== 16383) { - $ERROR('#444: 134217727 >> 13 === 16383. Actual: ' + (134217727 >> 13)); -} - - -if (268435455 >> 13 !== 32767) { - $ERROR('#445: 268435455 >> 13 === 32767. Actual: ' + (268435455 >> 13)); -} - - -if (536870911 >> 13 !== 65535) { - $ERROR('#446: 536870911 >> 13 === 65535. Actual: ' + (536870911 >> 13)); -} - - -if (1073741823 >> 13 !== 131071) { - $ERROR('#447: 1073741823 >> 13 === 131071. Actual: ' + (1073741823 >> 13)); -} - - -if (2147483647 >> 13 !== 262143) { - $ERROR('#448: 2147483647 >> 13 === 262143. Actual: ' + (2147483647 >> 13)); -} - - -if (0 >> 14 !== 0) { - $ERROR('#449: 0 >> 14 === 0. Actual: ' + (0 >> 14)); -} - - -if (1 >> 14 !== 0) { - $ERROR('#450: 1 >> 14 === 0. Actual: ' + (1 >> 14)); -} - - -if (3 >> 14 !== 0) { - $ERROR('#451: 3 >> 14 === 0. Actual: ' + (3 >> 14)); -} - - -if (7 >> 14 !== 0) { - $ERROR('#452: 7 >> 14 === 0. Actual: ' + (7 >> 14)); -} - - -if (15 >> 14 !== 0) { - $ERROR('#453: 15 >> 14 === 0. Actual: ' + (15 >> 14)); -} - - -if (31 >> 14 !== 0) { - $ERROR('#454: 31 >> 14 === 0. Actual: ' + (31 >> 14)); -} - - -if (63 >> 14 !== 0) { - $ERROR('#455: 63 >> 14 === 0. Actual: ' + (63 >> 14)); -} - - -if (127 >> 14 !== 0) { - $ERROR('#456: 127 >> 14 === 0. Actual: ' + (127 >> 14)); -} - - -if (255 >> 14 !== 0) { - $ERROR('#457: 255 >> 14 === 0. Actual: ' + (255 >> 14)); -} - - -if (511 >> 14 !== 0) { - $ERROR('#458: 511 >> 14 === 0. Actual: ' + (511 >> 14)); -} - - -if (1023 >> 14 !== 0) { - $ERROR('#459: 1023 >> 14 === 0. Actual: ' + (1023 >> 14)); -} - - -if (2047 >> 14 !== 0) { - $ERROR('#460: 2047 >> 14 === 0. Actual: ' + (2047 >> 14)); -} - - -if (4095 >> 14 !== 0) { - $ERROR('#461: 4095 >> 14 === 0. Actual: ' + (4095 >> 14)); -} - - -if (8191 >> 14 !== 0) { - $ERROR('#462: 8191 >> 14 === 0. Actual: ' + (8191 >> 14)); -} - - -if (16383 >> 14 !== 0) { - $ERROR('#463: 16383 >> 14 === 0. Actual: ' + (16383 >> 14)); -} - - -if (32767 >> 14 !== 1) { - $ERROR('#464: 32767 >> 14 === 1. Actual: ' + (32767 >> 14)); -} - - -if (65535 >> 14 !== 3) { - $ERROR('#465: 65535 >> 14 === 3. Actual: ' + (65535 >> 14)); -} - - -if (131071 >> 14 !== 7) { - $ERROR('#466: 131071 >> 14 === 7. Actual: ' + (131071 >> 14)); -} - - -if (262143 >> 14 !== 15) { - $ERROR('#467: 262143 >> 14 === 15. Actual: ' + (262143 >> 14)); -} - - -if (524287 >> 14 !== 31) { - $ERROR('#468: 524287 >> 14 === 31. Actual: ' + (524287 >> 14)); -} - - -if (1048575 >> 14 !== 63) { - $ERROR('#469: 1048575 >> 14 === 63. Actual: ' + (1048575 >> 14)); -} - - -if (2097151 >> 14 !== 127) { - $ERROR('#470: 2097151 >> 14 === 127. Actual: ' + (2097151 >> 14)); -} - - -if (4194303 >> 14 !== 255) { - $ERROR('#471: 4194303 >> 14 === 255. Actual: ' + (4194303 >> 14)); -} - - -if (8388607 >> 14 !== 511) { - $ERROR('#472: 8388607 >> 14 === 511. Actual: ' + (8388607 >> 14)); -} - - -if (16777215 >> 14 !== 1023) { - $ERROR('#473: 16777215 >> 14 === 1023. Actual: ' + (16777215 >> 14)); -} - - -if (33554431 >> 14 !== 2047) { - $ERROR('#474: 33554431 >> 14 === 2047. Actual: ' + (33554431 >> 14)); -} - - -if (67108863 >> 14 !== 4095) { - $ERROR('#475: 67108863 >> 14 === 4095. Actual: ' + (67108863 >> 14)); -} - - -if (134217727 >> 14 !== 8191) { - $ERROR('#476: 134217727 >> 14 === 8191. Actual: ' + (134217727 >> 14)); -} - - -if (268435455 >> 14 !== 16383) { - $ERROR('#477: 268435455 >> 14 === 16383. Actual: ' + (268435455 >> 14)); -} - - -if (536870911 >> 14 !== 32767) { - $ERROR('#478: 536870911 >> 14 === 32767. Actual: ' + (536870911 >> 14)); -} - - -if (1073741823 >> 14 !== 65535) { - $ERROR('#479: 1073741823 >> 14 === 65535. Actual: ' + (1073741823 >> 14)); -} - - -if (2147483647 >> 14 !== 131071) { - $ERROR('#480: 2147483647 >> 14 === 131071. Actual: ' + (2147483647 >> 14)); -} - - -if (0 >> 15 !== 0) { - $ERROR('#481: 0 >> 15 === 0. Actual: ' + (0 >> 15)); -} - - -if (1 >> 15 !== 0) { - $ERROR('#482: 1 >> 15 === 0. Actual: ' + (1 >> 15)); -} - - -if (3 >> 15 !== 0) { - $ERROR('#483: 3 >> 15 === 0. Actual: ' + (3 >> 15)); -} - - -if (7 >> 15 !== 0) { - $ERROR('#484: 7 >> 15 === 0. Actual: ' + (7 >> 15)); -} - - -if (15 >> 15 !== 0) { - $ERROR('#485: 15 >> 15 === 0. Actual: ' + (15 >> 15)); -} - - -if (31 >> 15 !== 0) { - $ERROR('#486: 31 >> 15 === 0. Actual: ' + (31 >> 15)); -} - - -if (63 >> 15 !== 0) { - $ERROR('#487: 63 >> 15 === 0. Actual: ' + (63 >> 15)); -} - - -if (127 >> 15 !== 0) { - $ERROR('#488: 127 >> 15 === 0. Actual: ' + (127 >> 15)); -} - - -if (255 >> 15 !== 0) { - $ERROR('#489: 255 >> 15 === 0. Actual: ' + (255 >> 15)); -} - - -if (511 >> 15 !== 0) { - $ERROR('#490: 511 >> 15 === 0. Actual: ' + (511 >> 15)); -} - - -if (1023 >> 15 !== 0) { - $ERROR('#491: 1023 >> 15 === 0. Actual: ' + (1023 >> 15)); -} - - -if (2047 >> 15 !== 0) { - $ERROR('#492: 2047 >> 15 === 0. Actual: ' + (2047 >> 15)); -} - - -if (4095 >> 15 !== 0) { - $ERROR('#493: 4095 >> 15 === 0. Actual: ' + (4095 >> 15)); -} - - -if (8191 >> 15 !== 0) { - $ERROR('#494: 8191 >> 15 === 0. Actual: ' + (8191 >> 15)); -} - - -if (16383 >> 15 !== 0) { - $ERROR('#495: 16383 >> 15 === 0. Actual: ' + (16383 >> 15)); -} - - -if (32767 >> 15 !== 0) { - $ERROR('#496: 32767 >> 15 === 0. Actual: ' + (32767 >> 15)); -} - - -if (65535 >> 15 !== 1) { - $ERROR('#497: 65535 >> 15 === 1. Actual: ' + (65535 >> 15)); -} - - -if (131071 >> 15 !== 3) { - $ERROR('#498: 131071 >> 15 === 3. Actual: ' + (131071 >> 15)); -} - - -if (262143 >> 15 !== 7) { - $ERROR('#499: 262143 >> 15 === 7. Actual: ' + (262143 >> 15)); -} - - -if (524287 >> 15 !== 15) { - $ERROR('#500: 524287 >> 15 === 15. Actual: ' + (524287 >> 15)); -} - - -if (1048575 >> 15 !== 31) { - $ERROR('#501: 1048575 >> 15 === 31. Actual: ' + (1048575 >> 15)); -} - - -if (2097151 >> 15 !== 63) { - $ERROR('#502: 2097151 >> 15 === 63. Actual: ' + (2097151 >> 15)); -} - - -if (4194303 >> 15 !== 127) { - $ERROR('#503: 4194303 >> 15 === 127. Actual: ' + (4194303 >> 15)); -} - - -if (8388607 >> 15 !== 255) { - $ERROR('#504: 8388607 >> 15 === 255. Actual: ' + (8388607 >> 15)); -} - - -if (16777215 >> 15 !== 511) { - $ERROR('#505: 16777215 >> 15 === 511. Actual: ' + (16777215 >> 15)); -} - - -if (33554431 >> 15 !== 1023) { - $ERROR('#506: 33554431 >> 15 === 1023. Actual: ' + (33554431 >> 15)); -} - - -if (67108863 >> 15 !== 2047) { - $ERROR('#507: 67108863 >> 15 === 2047. Actual: ' + (67108863 >> 15)); -} - - -if (134217727 >> 15 !== 4095) { - $ERROR('#508: 134217727 >> 15 === 4095. Actual: ' + (134217727 >> 15)); -} - - -if (268435455 >> 15 !== 8191) { - $ERROR('#509: 268435455 >> 15 === 8191. Actual: ' + (268435455 >> 15)); -} - - -if (536870911 >> 15 !== 16383) { - $ERROR('#510: 536870911 >> 15 === 16383. Actual: ' + (536870911 >> 15)); -} - - -if (1073741823 >> 15 !== 32767) { - $ERROR('#511: 1073741823 >> 15 === 32767. Actual: ' + (1073741823 >> 15)); -} - - -if (2147483647 >> 15 !== 65535) { - $ERROR('#512: 2147483647 >> 15 === 65535. Actual: ' + (2147483647 >> 15)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.js deleted file mode 100644 index 7ea51363d3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.js +++ /dev/null @@ -1,2582 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A4_T4; - * @section: 11.7.2; - * @assertion: Check x >> y operator in distinct points; - * @description: ShiftExpression = 2^n - 1, n = 16...31; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A4_T4", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.js", - -assertion: "Check x >> y operator in distinct points", - -description: "ShiftExpression = 2^n - 1, n = 16...31", - -test: function testcase() { - //CHECK - -if (0 >> 16 !== 0) { - $ERROR('#513: 0 >> 16 === 0. Actual: ' + (0 >> 16)); -} - - -if (1 >> 16 !== 0) { - $ERROR('#514: 1 >> 16 === 0. Actual: ' + (1 >> 16)); -} - - -if (3 >> 16 !== 0) { - $ERROR('#515: 3 >> 16 === 0. Actual: ' + (3 >> 16)); -} - - -if (7 >> 16 !== 0) { - $ERROR('#516: 7 >> 16 === 0. Actual: ' + (7 >> 16)); -} - - -if (15 >> 16 !== 0) { - $ERROR('#517: 15 >> 16 === 0. Actual: ' + (15 >> 16)); -} - - -if (31 >> 16 !== 0) { - $ERROR('#518: 31 >> 16 === 0. Actual: ' + (31 >> 16)); -} - - -if (63 >> 16 !== 0) { - $ERROR('#519: 63 >> 16 === 0. Actual: ' + (63 >> 16)); -} - - -if (127 >> 16 !== 0) { - $ERROR('#520: 127 >> 16 === 0. Actual: ' + (127 >> 16)); -} - - -if (255 >> 16 !== 0) { - $ERROR('#521: 255 >> 16 === 0. Actual: ' + (255 >> 16)); -} - - -if (511 >> 16 !== 0) { - $ERROR('#522: 511 >> 16 === 0. Actual: ' + (511 >> 16)); -} - - -if (1023 >> 16 !== 0) { - $ERROR('#523: 1023 >> 16 === 0. Actual: ' + (1023 >> 16)); -} - - -if (2047 >> 16 !== 0) { - $ERROR('#524: 2047 >> 16 === 0. Actual: ' + (2047 >> 16)); -} - - -if (4095 >> 16 !== 0) { - $ERROR('#525: 4095 >> 16 === 0. Actual: ' + (4095 >> 16)); -} - - -if (8191 >> 16 !== 0) { - $ERROR('#526: 8191 >> 16 === 0. Actual: ' + (8191 >> 16)); -} - - -if (16383 >> 16 !== 0) { - $ERROR('#527: 16383 >> 16 === 0. Actual: ' + (16383 >> 16)); -} - - -if (32767 >> 16 !== 0) { - $ERROR('#528: 32767 >> 16 === 0. Actual: ' + (32767 >> 16)); -} - - -if (65535 >> 16 !== 0) { - $ERROR('#529: 65535 >> 16 === 0. Actual: ' + (65535 >> 16)); -} - - -if (131071 >> 16 !== 1) { - $ERROR('#530: 131071 >> 16 === 1. Actual: ' + (131071 >> 16)); -} - - -if (262143 >> 16 !== 3) { - $ERROR('#531: 262143 >> 16 === 3. Actual: ' + (262143 >> 16)); -} - - -if (524287 >> 16 !== 7) { - $ERROR('#532: 524287 >> 16 === 7. Actual: ' + (524287 >> 16)); -} - - -if (1048575 >> 16 !== 15) { - $ERROR('#533: 1048575 >> 16 === 15. Actual: ' + (1048575 >> 16)); -} - - -if (2097151 >> 16 !== 31) { - $ERROR('#534: 2097151 >> 16 === 31. Actual: ' + (2097151 >> 16)); -} - - -if (4194303 >> 16 !== 63) { - $ERROR('#535: 4194303 >> 16 === 63. Actual: ' + (4194303 >> 16)); -} - - -if (8388607 >> 16 !== 127) { - $ERROR('#536: 8388607 >> 16 === 127. Actual: ' + (8388607 >> 16)); -} - - -if (16777215 >> 16 !== 255) { - $ERROR('#537: 16777215 >> 16 === 255. Actual: ' + (16777215 >> 16)); -} - - -if (33554431 >> 16 !== 511) { - $ERROR('#538: 33554431 >> 16 === 511. Actual: ' + (33554431 >> 16)); -} - - -if (67108863 >> 16 !== 1023) { - $ERROR('#539: 67108863 >> 16 === 1023. Actual: ' + (67108863 >> 16)); -} - - -if (134217727 >> 16 !== 2047) { - $ERROR('#540: 134217727 >> 16 === 2047. Actual: ' + (134217727 >> 16)); -} - - -if (268435455 >> 16 !== 4095) { - $ERROR('#541: 268435455 >> 16 === 4095. Actual: ' + (268435455 >> 16)); -} - - -if (536870911 >> 16 !== 8191) { - $ERROR('#542: 536870911 >> 16 === 8191. Actual: ' + (536870911 >> 16)); -} - - -if (1073741823 >> 16 !== 16383) { - $ERROR('#543: 1073741823 >> 16 === 16383. Actual: ' + (1073741823 >> 16)); -} - - -if (2147483647 >> 16 !== 32767) { - $ERROR('#544: 2147483647 >> 16 === 32767. Actual: ' + (2147483647 >> 16)); -} - - -if (0 >> 17 !== 0) { - $ERROR('#545: 0 >> 17 === 0. Actual: ' + (0 >> 17)); -} - - -if (1 >> 17 !== 0) { - $ERROR('#546: 1 >> 17 === 0. Actual: ' + (1 >> 17)); -} - - -if (3 >> 17 !== 0) { - $ERROR('#547: 3 >> 17 === 0. Actual: ' + (3 >> 17)); -} - - -if (7 >> 17 !== 0) { - $ERROR('#548: 7 >> 17 === 0. Actual: ' + (7 >> 17)); -} - - -if (15 >> 17 !== 0) { - $ERROR('#549: 15 >> 17 === 0. Actual: ' + (15 >> 17)); -} - - -if (31 >> 17 !== 0) { - $ERROR('#550: 31 >> 17 === 0. Actual: ' + (31 >> 17)); -} - - -if (63 >> 17 !== 0) { - $ERROR('#551: 63 >> 17 === 0. Actual: ' + (63 >> 17)); -} - - -if (127 >> 17 !== 0) { - $ERROR('#552: 127 >> 17 === 0. Actual: ' + (127 >> 17)); -} - - -if (255 >> 17 !== 0) { - $ERROR('#553: 255 >> 17 === 0. Actual: ' + (255 >> 17)); -} - - -if (511 >> 17 !== 0) { - $ERROR('#554: 511 >> 17 === 0. Actual: ' + (511 >> 17)); -} - - -if (1023 >> 17 !== 0) { - $ERROR('#555: 1023 >> 17 === 0. Actual: ' + (1023 >> 17)); -} - - -if (2047 >> 17 !== 0) { - $ERROR('#556: 2047 >> 17 === 0. Actual: ' + (2047 >> 17)); -} - - -if (4095 >> 17 !== 0) { - $ERROR('#557: 4095 >> 17 === 0. Actual: ' + (4095 >> 17)); -} - - -if (8191 >> 17 !== 0) { - $ERROR('#558: 8191 >> 17 === 0. Actual: ' + (8191 >> 17)); -} - - -if (16383 >> 17 !== 0) { - $ERROR('#559: 16383 >> 17 === 0. Actual: ' + (16383 >> 17)); -} - - -if (32767 >> 17 !== 0) { - $ERROR('#560: 32767 >> 17 === 0. Actual: ' + (32767 >> 17)); -} - - -if (65535 >> 17 !== 0) { - $ERROR('#561: 65535 >> 17 === 0. Actual: ' + (65535 >> 17)); -} - - -if (131071 >> 17 !== 0) { - $ERROR('#562: 131071 >> 17 === 0. Actual: ' + (131071 >> 17)); -} - - -if (262143 >> 17 !== 1) { - $ERROR('#563: 262143 >> 17 === 1. Actual: ' + (262143 >> 17)); -} - - -if (524287 >> 17 !== 3) { - $ERROR('#564: 524287 >> 17 === 3. Actual: ' + (524287 >> 17)); -} - - -if (1048575 >> 17 !== 7) { - $ERROR('#565: 1048575 >> 17 === 7. Actual: ' + (1048575 >> 17)); -} - - -if (2097151 >> 17 !== 15) { - $ERROR('#566: 2097151 >> 17 === 15. Actual: ' + (2097151 >> 17)); -} - - -if (4194303 >> 17 !== 31) { - $ERROR('#567: 4194303 >> 17 === 31. Actual: ' + (4194303 >> 17)); -} - - -if (8388607 >> 17 !== 63) { - $ERROR('#568: 8388607 >> 17 === 63. Actual: ' + (8388607 >> 17)); -} - - -if (16777215 >> 17 !== 127) { - $ERROR('#569: 16777215 >> 17 === 127. Actual: ' + (16777215 >> 17)); -} - - -if (33554431 >> 17 !== 255) { - $ERROR('#570: 33554431 >> 17 === 255. Actual: ' + (33554431 >> 17)); -} - - -if (67108863 >> 17 !== 511) { - $ERROR('#571: 67108863 >> 17 === 511. Actual: ' + (67108863 >> 17)); -} - - -if (134217727 >> 17 !== 1023) { - $ERROR('#572: 134217727 >> 17 === 1023. Actual: ' + (134217727 >> 17)); -} - - -if (268435455 >> 17 !== 2047) { - $ERROR('#573: 268435455 >> 17 === 2047. Actual: ' + (268435455 >> 17)); -} - - -if (536870911 >> 17 !== 4095) { - $ERROR('#574: 536870911 >> 17 === 4095. Actual: ' + (536870911 >> 17)); -} - - -if (1073741823 >> 17 !== 8191) { - $ERROR('#575: 1073741823 >> 17 === 8191. Actual: ' + (1073741823 >> 17)); -} - - -if (2147483647 >> 17 !== 16383) { - $ERROR('#576: 2147483647 >> 17 === 16383. Actual: ' + (2147483647 >> 17)); -} - - -if (0 >> 18 !== 0) { - $ERROR('#577: 0 >> 18 === 0. Actual: ' + (0 >> 18)); -} - - -if (1 >> 18 !== 0) { - $ERROR('#578: 1 >> 18 === 0. Actual: ' + (1 >> 18)); -} - - -if (3 >> 18 !== 0) { - $ERROR('#579: 3 >> 18 === 0. Actual: ' + (3 >> 18)); -} - - -if (7 >> 18 !== 0) { - $ERROR('#580: 7 >> 18 === 0. Actual: ' + (7 >> 18)); -} - - -if (15 >> 18 !== 0) { - $ERROR('#581: 15 >> 18 === 0. Actual: ' + (15 >> 18)); -} - - -if (31 >> 18 !== 0) { - $ERROR('#582: 31 >> 18 === 0. Actual: ' + (31 >> 18)); -} - - -if (63 >> 18 !== 0) { - $ERROR('#583: 63 >> 18 === 0. Actual: ' + (63 >> 18)); -} - - -if (127 >> 18 !== 0) { - $ERROR('#584: 127 >> 18 === 0. Actual: ' + (127 >> 18)); -} - - -if (255 >> 18 !== 0) { - $ERROR('#585: 255 >> 18 === 0. Actual: ' + (255 >> 18)); -} - - -if (511 >> 18 !== 0) { - $ERROR('#586: 511 >> 18 === 0. Actual: ' + (511 >> 18)); -} - - -if (1023 >> 18 !== 0) { - $ERROR('#587: 1023 >> 18 === 0. Actual: ' + (1023 >> 18)); -} - - -if (2047 >> 18 !== 0) { - $ERROR('#588: 2047 >> 18 === 0. Actual: ' + (2047 >> 18)); -} - - -if (4095 >> 18 !== 0) { - $ERROR('#589: 4095 >> 18 === 0. Actual: ' + (4095 >> 18)); -} - - -if (8191 >> 18 !== 0) { - $ERROR('#590: 8191 >> 18 === 0. Actual: ' + (8191 >> 18)); -} - - -if (16383 >> 18 !== 0) { - $ERROR('#591: 16383 >> 18 === 0. Actual: ' + (16383 >> 18)); -} - - -if (32767 >> 18 !== 0) { - $ERROR('#592: 32767 >> 18 === 0. Actual: ' + (32767 >> 18)); -} - - -if (65535 >> 18 !== 0) { - $ERROR('#593: 65535 >> 18 === 0. Actual: ' + (65535 >> 18)); -} - - -if (131071 >> 18 !== 0) { - $ERROR('#594: 131071 >> 18 === 0. Actual: ' + (131071 >> 18)); -} - - -if (262143 >> 18 !== 0) { - $ERROR('#595: 262143 >> 18 === 0. Actual: ' + (262143 >> 18)); -} - - -if (524287 >> 18 !== 1) { - $ERROR('#596: 524287 >> 18 === 1. Actual: ' + (524287 >> 18)); -} - - -if (1048575 >> 18 !== 3) { - $ERROR('#597: 1048575 >> 18 === 3. Actual: ' + (1048575 >> 18)); -} - - -if (2097151 >> 18 !== 7) { - $ERROR('#598: 2097151 >> 18 === 7. Actual: ' + (2097151 >> 18)); -} - - -if (4194303 >> 18 !== 15) { - $ERROR('#599: 4194303 >> 18 === 15. Actual: ' + (4194303 >> 18)); -} - - -if (8388607 >> 18 !== 31) { - $ERROR('#600: 8388607 >> 18 === 31. Actual: ' + (8388607 >> 18)); -} - - -if (16777215 >> 18 !== 63) { - $ERROR('#601: 16777215 >> 18 === 63. Actual: ' + (16777215 >> 18)); -} - - -if (33554431 >> 18 !== 127) { - $ERROR('#602: 33554431 >> 18 === 127. Actual: ' + (33554431 >> 18)); -} - - -if (67108863 >> 18 !== 255) { - $ERROR('#603: 67108863 >> 18 === 255. Actual: ' + (67108863 >> 18)); -} - - -if (134217727 >> 18 !== 511) { - $ERROR('#604: 134217727 >> 18 === 511. Actual: ' + (134217727 >> 18)); -} - - -if (268435455 >> 18 !== 1023) { - $ERROR('#605: 268435455 >> 18 === 1023. Actual: ' + (268435455 >> 18)); -} - - -if (536870911 >> 18 !== 2047) { - $ERROR('#606: 536870911 >> 18 === 2047. Actual: ' + (536870911 >> 18)); -} - - -if (1073741823 >> 18 !== 4095) { - $ERROR('#607: 1073741823 >> 18 === 4095. Actual: ' + (1073741823 >> 18)); -} - - -if (2147483647 >> 18 !== 8191) { - $ERROR('#608: 2147483647 >> 18 === 8191. Actual: ' + (2147483647 >> 18)); -} - - -if (0 >> 19 !== 0) { - $ERROR('#609: 0 >> 19 === 0. Actual: ' + (0 >> 19)); -} - - -if (1 >> 19 !== 0) { - $ERROR('#610: 1 >> 19 === 0. Actual: ' + (1 >> 19)); -} - - -if (3 >> 19 !== 0) { - $ERROR('#611: 3 >> 19 === 0. Actual: ' + (3 >> 19)); -} - - -if (7 >> 19 !== 0) { - $ERROR('#612: 7 >> 19 === 0. Actual: ' + (7 >> 19)); -} - - -if (15 >> 19 !== 0) { - $ERROR('#613: 15 >> 19 === 0. Actual: ' + (15 >> 19)); -} - - -if (31 >> 19 !== 0) { - $ERROR('#614: 31 >> 19 === 0. Actual: ' + (31 >> 19)); -} - - -if (63 >> 19 !== 0) { - $ERROR('#615: 63 >> 19 === 0. Actual: ' + (63 >> 19)); -} - - -if (127 >> 19 !== 0) { - $ERROR('#616: 127 >> 19 === 0. Actual: ' + (127 >> 19)); -} - - -if (255 >> 19 !== 0) { - $ERROR('#617: 255 >> 19 === 0. Actual: ' + (255 >> 19)); -} - - -if (511 >> 19 !== 0) { - $ERROR('#618: 511 >> 19 === 0. Actual: ' + (511 >> 19)); -} - - -if (1023 >> 19 !== 0) { - $ERROR('#619: 1023 >> 19 === 0. Actual: ' + (1023 >> 19)); -} - - -if (2047 >> 19 !== 0) { - $ERROR('#620: 2047 >> 19 === 0. Actual: ' + (2047 >> 19)); -} - - -if (4095 >> 19 !== 0) { - $ERROR('#621: 4095 >> 19 === 0. Actual: ' + (4095 >> 19)); -} - - -if (8191 >> 19 !== 0) { - $ERROR('#622: 8191 >> 19 === 0. Actual: ' + (8191 >> 19)); -} - - -if (16383 >> 19 !== 0) { - $ERROR('#623: 16383 >> 19 === 0. Actual: ' + (16383 >> 19)); -} - - -if (32767 >> 19 !== 0) { - $ERROR('#624: 32767 >> 19 === 0. Actual: ' + (32767 >> 19)); -} - - -if (65535 >> 19 !== 0) { - $ERROR('#625: 65535 >> 19 === 0. Actual: ' + (65535 >> 19)); -} - - -if (131071 >> 19 !== 0) { - $ERROR('#626: 131071 >> 19 === 0. Actual: ' + (131071 >> 19)); -} - - -if (262143 >> 19 !== 0) { - $ERROR('#627: 262143 >> 19 === 0. Actual: ' + (262143 >> 19)); -} - - -if (524287 >> 19 !== 0) { - $ERROR('#628: 524287 >> 19 === 0. Actual: ' + (524287 >> 19)); -} - - -if (1048575 >> 19 !== 1) { - $ERROR('#629: 1048575 >> 19 === 1. Actual: ' + (1048575 >> 19)); -} - - -if (2097151 >> 19 !== 3) { - $ERROR('#630: 2097151 >> 19 === 3. Actual: ' + (2097151 >> 19)); -} - - -if (4194303 >> 19 !== 7) { - $ERROR('#631: 4194303 >> 19 === 7. Actual: ' + (4194303 >> 19)); -} - - -if (8388607 >> 19 !== 15) { - $ERROR('#632: 8388607 >> 19 === 15. Actual: ' + (8388607 >> 19)); -} - - -if (16777215 >> 19 !== 31) { - $ERROR('#633: 16777215 >> 19 === 31. Actual: ' + (16777215 >> 19)); -} - - -if (33554431 >> 19 !== 63) { - $ERROR('#634: 33554431 >> 19 === 63. Actual: ' + (33554431 >> 19)); -} - - -if (67108863 >> 19 !== 127) { - $ERROR('#635: 67108863 >> 19 === 127. Actual: ' + (67108863 >> 19)); -} - - -if (134217727 >> 19 !== 255) { - $ERROR('#636: 134217727 >> 19 === 255. Actual: ' + (134217727 >> 19)); -} - - -if (268435455 >> 19 !== 511) { - $ERROR('#637: 268435455 >> 19 === 511. Actual: ' + (268435455 >> 19)); -} - - -if (536870911 >> 19 !== 1023) { - $ERROR('#638: 536870911 >> 19 === 1023. Actual: ' + (536870911 >> 19)); -} - - -if (1073741823 >> 19 !== 2047) { - $ERROR('#639: 1073741823 >> 19 === 2047. Actual: ' + (1073741823 >> 19)); -} - - -if (2147483647 >> 19 !== 4095) { - $ERROR('#640: 2147483647 >> 19 === 4095. Actual: ' + (2147483647 >> 19)); -} - - -if (0 >> 20 !== 0) { - $ERROR('#641: 0 >> 20 === 0. Actual: ' + (0 >> 20)); -} - - -if (1 >> 20 !== 0) { - $ERROR('#642: 1 >> 20 === 0. Actual: ' + (1 >> 20)); -} - - -if (3 >> 20 !== 0) { - $ERROR('#643: 3 >> 20 === 0. Actual: ' + (3 >> 20)); -} - - -if (7 >> 20 !== 0) { - $ERROR('#644: 7 >> 20 === 0. Actual: ' + (7 >> 20)); -} - - -if (15 >> 20 !== 0) { - $ERROR('#645: 15 >> 20 === 0. Actual: ' + (15 >> 20)); -} - - -if (31 >> 20 !== 0) { - $ERROR('#646: 31 >> 20 === 0. Actual: ' + (31 >> 20)); -} - - -if (63 >> 20 !== 0) { - $ERROR('#647: 63 >> 20 === 0. Actual: ' + (63 >> 20)); -} - - -if (127 >> 20 !== 0) { - $ERROR('#648: 127 >> 20 === 0. Actual: ' + (127 >> 20)); -} - - -if (255 >> 20 !== 0) { - $ERROR('#649: 255 >> 20 === 0. Actual: ' + (255 >> 20)); -} - - -if (511 >> 20 !== 0) { - $ERROR('#650: 511 >> 20 === 0. Actual: ' + (511 >> 20)); -} - - -if (1023 >> 20 !== 0) { - $ERROR('#651: 1023 >> 20 === 0. Actual: ' + (1023 >> 20)); -} - - -if (2047 >> 20 !== 0) { - $ERROR('#652: 2047 >> 20 === 0. Actual: ' + (2047 >> 20)); -} - - -if (4095 >> 20 !== 0) { - $ERROR('#653: 4095 >> 20 === 0. Actual: ' + (4095 >> 20)); -} - - -if (8191 >> 20 !== 0) { - $ERROR('#654: 8191 >> 20 === 0. Actual: ' + (8191 >> 20)); -} - - -if (16383 >> 20 !== 0) { - $ERROR('#655: 16383 >> 20 === 0. Actual: ' + (16383 >> 20)); -} - - -if (32767 >> 20 !== 0) { - $ERROR('#656: 32767 >> 20 === 0. Actual: ' + (32767 >> 20)); -} - - -if (65535 >> 20 !== 0) { - $ERROR('#657: 65535 >> 20 === 0. Actual: ' + (65535 >> 20)); -} - - -if (131071 >> 20 !== 0) { - $ERROR('#658: 131071 >> 20 === 0. Actual: ' + (131071 >> 20)); -} - - -if (262143 >> 20 !== 0) { - $ERROR('#659: 262143 >> 20 === 0. Actual: ' + (262143 >> 20)); -} - - -if (524287 >> 20 !== 0) { - $ERROR('#660: 524287 >> 20 === 0. Actual: ' + (524287 >> 20)); -} - - -if (1048575 >> 20 !== 0) { - $ERROR('#661: 1048575 >> 20 === 0. Actual: ' + (1048575 >> 20)); -} - - -if (2097151 >> 20 !== 1) { - $ERROR('#662: 2097151 >> 20 === 1. Actual: ' + (2097151 >> 20)); -} - - -if (4194303 >> 20 !== 3) { - $ERROR('#663: 4194303 >> 20 === 3. Actual: ' + (4194303 >> 20)); -} - - -if (8388607 >> 20 !== 7) { - $ERROR('#664: 8388607 >> 20 === 7. Actual: ' + (8388607 >> 20)); -} - - -if (16777215 >> 20 !== 15) { - $ERROR('#665: 16777215 >> 20 === 15. Actual: ' + (16777215 >> 20)); -} - - -if (33554431 >> 20 !== 31) { - $ERROR('#666: 33554431 >> 20 === 31. Actual: ' + (33554431 >> 20)); -} - - -if (67108863 >> 20 !== 63) { - $ERROR('#667: 67108863 >> 20 === 63. Actual: ' + (67108863 >> 20)); -} - - -if (134217727 >> 20 !== 127) { - $ERROR('#668: 134217727 >> 20 === 127. Actual: ' + (134217727 >> 20)); -} - - -if (268435455 >> 20 !== 255) { - $ERROR('#669: 268435455 >> 20 === 255. Actual: ' + (268435455 >> 20)); -} - - -if (536870911 >> 20 !== 511) { - $ERROR('#670: 536870911 >> 20 === 511. Actual: ' + (536870911 >> 20)); -} - - -if (1073741823 >> 20 !== 1023) { - $ERROR('#671: 1073741823 >> 20 === 1023. Actual: ' + (1073741823 >> 20)); -} - - -if (2147483647 >> 20 !== 2047) { - $ERROR('#672: 2147483647 >> 20 === 2047. Actual: ' + (2147483647 >> 20)); -} - - -if (0 >> 21 !== 0) { - $ERROR('#673: 0 >> 21 === 0. Actual: ' + (0 >> 21)); -} - - -if (1 >> 21 !== 0) { - $ERROR('#674: 1 >> 21 === 0. Actual: ' + (1 >> 21)); -} - - -if (3 >> 21 !== 0) { - $ERROR('#675: 3 >> 21 === 0. Actual: ' + (3 >> 21)); -} - - -if (7 >> 21 !== 0) { - $ERROR('#676: 7 >> 21 === 0. Actual: ' + (7 >> 21)); -} - - -if (15 >> 21 !== 0) { - $ERROR('#677: 15 >> 21 === 0. Actual: ' + (15 >> 21)); -} - - -if (31 >> 21 !== 0) { - $ERROR('#678: 31 >> 21 === 0. Actual: ' + (31 >> 21)); -} - - -if (63 >> 21 !== 0) { - $ERROR('#679: 63 >> 21 === 0. Actual: ' + (63 >> 21)); -} - - -if (127 >> 21 !== 0) { - $ERROR('#680: 127 >> 21 === 0. Actual: ' + (127 >> 21)); -} - - -if (255 >> 21 !== 0) { - $ERROR('#681: 255 >> 21 === 0. Actual: ' + (255 >> 21)); -} - - -if (511 >> 21 !== 0) { - $ERROR('#682: 511 >> 21 === 0. Actual: ' + (511 >> 21)); -} - - -if (1023 >> 21 !== 0) { - $ERROR('#683: 1023 >> 21 === 0. Actual: ' + (1023 >> 21)); -} - - -if (2047 >> 21 !== 0) { - $ERROR('#684: 2047 >> 21 === 0. Actual: ' + (2047 >> 21)); -} - - -if (4095 >> 21 !== 0) { - $ERROR('#685: 4095 >> 21 === 0. Actual: ' + (4095 >> 21)); -} - - -if (8191 >> 21 !== 0) { - $ERROR('#686: 8191 >> 21 === 0. Actual: ' + (8191 >> 21)); -} - - -if (16383 >> 21 !== 0) { - $ERROR('#687: 16383 >> 21 === 0. Actual: ' + (16383 >> 21)); -} - - -if (32767 >> 21 !== 0) { - $ERROR('#688: 32767 >> 21 === 0. Actual: ' + (32767 >> 21)); -} - - -if (65535 >> 21 !== 0) { - $ERROR('#689: 65535 >> 21 === 0. Actual: ' + (65535 >> 21)); -} - - -if (131071 >> 21 !== 0) { - $ERROR('#690: 131071 >> 21 === 0. Actual: ' + (131071 >> 21)); -} - - -if (262143 >> 21 !== 0) { - $ERROR('#691: 262143 >> 21 === 0. Actual: ' + (262143 >> 21)); -} - - -if (524287 >> 21 !== 0) { - $ERROR('#692: 524287 >> 21 === 0. Actual: ' + (524287 >> 21)); -} - - -if (1048575 >> 21 !== 0) { - $ERROR('#693: 1048575 >> 21 === 0. Actual: ' + (1048575 >> 21)); -} - - -if (2097151 >> 21 !== 0) { - $ERROR('#694: 2097151 >> 21 === 0. Actual: ' + (2097151 >> 21)); -} - - -if (4194303 >> 21 !== 1) { - $ERROR('#695: 4194303 >> 21 === 1. Actual: ' + (4194303 >> 21)); -} - - -if (8388607 >> 21 !== 3) { - $ERROR('#696: 8388607 >> 21 === 3. Actual: ' + (8388607 >> 21)); -} - - -if (16777215 >> 21 !== 7) { - $ERROR('#697: 16777215 >> 21 === 7. Actual: ' + (16777215 >> 21)); -} - - -if (33554431 >> 21 !== 15) { - $ERROR('#698: 33554431 >> 21 === 15. Actual: ' + (33554431 >> 21)); -} - - -if (67108863 >> 21 !== 31) { - $ERROR('#699: 67108863 >> 21 === 31. Actual: ' + (67108863 >> 21)); -} - - -if (134217727 >> 21 !== 63) { - $ERROR('#700: 134217727 >> 21 === 63. Actual: ' + (134217727 >> 21)); -} - - -if (268435455 >> 21 !== 127) { - $ERROR('#701: 268435455 >> 21 === 127. Actual: ' + (268435455 >> 21)); -} - - -if (536870911 >> 21 !== 255) { - $ERROR('#702: 536870911 >> 21 === 255. Actual: ' + (536870911 >> 21)); -} - - -if (1073741823 >> 21 !== 511) { - $ERROR('#703: 1073741823 >> 21 === 511. Actual: ' + (1073741823 >> 21)); -} - - -if (2147483647 >> 21 !== 1023) { - $ERROR('#704: 2147483647 >> 21 === 1023. Actual: ' + (2147483647 >> 21)); -} - - -if (0 >> 22 !== 0) { - $ERROR('#705: 0 >> 22 === 0. Actual: ' + (0 >> 22)); -} - - -if (1 >> 22 !== 0) { - $ERROR('#706: 1 >> 22 === 0. Actual: ' + (1 >> 22)); -} - - -if (3 >> 22 !== 0) { - $ERROR('#707: 3 >> 22 === 0. Actual: ' + (3 >> 22)); -} - - -if (7 >> 22 !== 0) { - $ERROR('#708: 7 >> 22 === 0. Actual: ' + (7 >> 22)); -} - - -if (15 >> 22 !== 0) { - $ERROR('#709: 15 >> 22 === 0. Actual: ' + (15 >> 22)); -} - - -if (31 >> 22 !== 0) { - $ERROR('#710: 31 >> 22 === 0. Actual: ' + (31 >> 22)); -} - - -if (63 >> 22 !== 0) { - $ERROR('#711: 63 >> 22 === 0. Actual: ' + (63 >> 22)); -} - - -if (127 >> 22 !== 0) { - $ERROR('#712: 127 >> 22 === 0. Actual: ' + (127 >> 22)); -} - - -if (255 >> 22 !== 0) { - $ERROR('#713: 255 >> 22 === 0. Actual: ' + (255 >> 22)); -} - - -if (511 >> 22 !== 0) { - $ERROR('#714: 511 >> 22 === 0. Actual: ' + (511 >> 22)); -} - - -if (1023 >> 22 !== 0) { - $ERROR('#715: 1023 >> 22 === 0. Actual: ' + (1023 >> 22)); -} - - -if (2047 >> 22 !== 0) { - $ERROR('#716: 2047 >> 22 === 0. Actual: ' + (2047 >> 22)); -} - - -if (4095 >> 22 !== 0) { - $ERROR('#717: 4095 >> 22 === 0. Actual: ' + (4095 >> 22)); -} - - -if (8191 >> 22 !== 0) { - $ERROR('#718: 8191 >> 22 === 0. Actual: ' + (8191 >> 22)); -} - - -if (16383 >> 22 !== 0) { - $ERROR('#719: 16383 >> 22 === 0. Actual: ' + (16383 >> 22)); -} - - -if (32767 >> 22 !== 0) { - $ERROR('#720: 32767 >> 22 === 0. Actual: ' + (32767 >> 22)); -} - - -if (65535 >> 22 !== 0) { - $ERROR('#721: 65535 >> 22 === 0. Actual: ' + (65535 >> 22)); -} - - -if (131071 >> 22 !== 0) { - $ERROR('#722: 131071 >> 22 === 0. Actual: ' + (131071 >> 22)); -} - - -if (262143 >> 22 !== 0) { - $ERROR('#723: 262143 >> 22 === 0. Actual: ' + (262143 >> 22)); -} - - -if (524287 >> 22 !== 0) { - $ERROR('#724: 524287 >> 22 === 0. Actual: ' + (524287 >> 22)); -} - - -if (1048575 >> 22 !== 0) { - $ERROR('#725: 1048575 >> 22 === 0. Actual: ' + (1048575 >> 22)); -} - - -if (2097151 >> 22 !== 0) { - $ERROR('#726: 2097151 >> 22 === 0. Actual: ' + (2097151 >> 22)); -} - - -if (4194303 >> 22 !== 0) { - $ERROR('#727: 4194303 >> 22 === 0. Actual: ' + (4194303 >> 22)); -} - - -if (8388607 >> 22 !== 1) { - $ERROR('#728: 8388607 >> 22 === 1. Actual: ' + (8388607 >> 22)); -} - - -if (16777215 >> 22 !== 3) { - $ERROR('#729: 16777215 >> 22 === 3. Actual: ' + (16777215 >> 22)); -} - - -if (33554431 >> 22 !== 7) { - $ERROR('#730: 33554431 >> 22 === 7. Actual: ' + (33554431 >> 22)); -} - - -if (67108863 >> 22 !== 15) { - $ERROR('#731: 67108863 >> 22 === 15. Actual: ' + (67108863 >> 22)); -} - - -if (134217727 >> 22 !== 31) { - $ERROR('#732: 134217727 >> 22 === 31. Actual: ' + (134217727 >> 22)); -} - - -if (268435455 >> 22 !== 63) { - $ERROR('#733: 268435455 >> 22 === 63. Actual: ' + (268435455 >> 22)); -} - - -if (536870911 >> 22 !== 127) { - $ERROR('#734: 536870911 >> 22 === 127. Actual: ' + (536870911 >> 22)); -} - - -if (1073741823 >> 22 !== 255) { - $ERROR('#735: 1073741823 >> 22 === 255. Actual: ' + (1073741823 >> 22)); -} - - -if (2147483647 >> 22 !== 511) { - $ERROR('#736: 2147483647 >> 22 === 511. Actual: ' + (2147483647 >> 22)); -} - - -if (0 >> 23 !== 0) { - $ERROR('#737: 0 >> 23 === 0. Actual: ' + (0 >> 23)); -} - - -if (1 >> 23 !== 0) { - $ERROR('#738: 1 >> 23 === 0. Actual: ' + (1 >> 23)); -} - - -if (3 >> 23 !== 0) { - $ERROR('#739: 3 >> 23 === 0. Actual: ' + (3 >> 23)); -} - - -if (7 >> 23 !== 0) { - $ERROR('#740: 7 >> 23 === 0. Actual: ' + (7 >> 23)); -} - - -if (15 >> 23 !== 0) { - $ERROR('#741: 15 >> 23 === 0. Actual: ' + (15 >> 23)); -} - - -if (31 >> 23 !== 0) { - $ERROR('#742: 31 >> 23 === 0. Actual: ' + (31 >> 23)); -} - - -if (63 >> 23 !== 0) { - $ERROR('#743: 63 >> 23 === 0. Actual: ' + (63 >> 23)); -} - - -if (127 >> 23 !== 0) { - $ERROR('#744: 127 >> 23 === 0. Actual: ' + (127 >> 23)); -} - - -if (255 >> 23 !== 0) { - $ERROR('#745: 255 >> 23 === 0. Actual: ' + (255 >> 23)); -} - - -if (511 >> 23 !== 0) { - $ERROR('#746: 511 >> 23 === 0. Actual: ' + (511 >> 23)); -} - - -if (1023 >> 23 !== 0) { - $ERROR('#747: 1023 >> 23 === 0. Actual: ' + (1023 >> 23)); -} - - -if (2047 >> 23 !== 0) { - $ERROR('#748: 2047 >> 23 === 0. Actual: ' + (2047 >> 23)); -} - - -if (4095 >> 23 !== 0) { - $ERROR('#749: 4095 >> 23 === 0. Actual: ' + (4095 >> 23)); -} - - -if (8191 >> 23 !== 0) { - $ERROR('#750: 8191 >> 23 === 0. Actual: ' + (8191 >> 23)); -} - - -if (16383 >> 23 !== 0) { - $ERROR('#751: 16383 >> 23 === 0. Actual: ' + (16383 >> 23)); -} - - -if (32767 >> 23 !== 0) { - $ERROR('#752: 32767 >> 23 === 0. Actual: ' + (32767 >> 23)); -} - - -if (65535 >> 23 !== 0) { - $ERROR('#753: 65535 >> 23 === 0. Actual: ' + (65535 >> 23)); -} - - -if (131071 >> 23 !== 0) { - $ERROR('#754: 131071 >> 23 === 0. Actual: ' + (131071 >> 23)); -} - - -if (262143 >> 23 !== 0) { - $ERROR('#755: 262143 >> 23 === 0. Actual: ' + (262143 >> 23)); -} - - -if (524287 >> 23 !== 0) { - $ERROR('#756: 524287 >> 23 === 0. Actual: ' + (524287 >> 23)); -} - - -if (1048575 >> 23 !== 0) { - $ERROR('#757: 1048575 >> 23 === 0. Actual: ' + (1048575 >> 23)); -} - - -if (2097151 >> 23 !== 0) { - $ERROR('#758: 2097151 >> 23 === 0. Actual: ' + (2097151 >> 23)); -} - - -if (4194303 >> 23 !== 0) { - $ERROR('#759: 4194303 >> 23 === 0. Actual: ' + (4194303 >> 23)); -} - - -if (8388607 >> 23 !== 0) { - $ERROR('#760: 8388607 >> 23 === 0. Actual: ' + (8388607 >> 23)); -} - - -if (16777215 >> 23 !== 1) { - $ERROR('#761: 16777215 >> 23 === 1. Actual: ' + (16777215 >> 23)); -} - - -if (33554431 >> 23 !== 3) { - $ERROR('#762: 33554431 >> 23 === 3. Actual: ' + (33554431 >> 23)); -} - - -if (67108863 >> 23 !== 7) { - $ERROR('#763: 67108863 >> 23 === 7. Actual: ' + (67108863 >> 23)); -} - - -if (134217727 >> 23 !== 15) { - $ERROR('#764: 134217727 >> 23 === 15. Actual: ' + (134217727 >> 23)); -} - - -if (268435455 >> 23 !== 31) { - $ERROR('#765: 268435455 >> 23 === 31. Actual: ' + (268435455 >> 23)); -} - - -if (536870911 >> 23 !== 63) { - $ERROR('#766: 536870911 >> 23 === 63. Actual: ' + (536870911 >> 23)); -} - - -if (1073741823 >> 23 !== 127) { - $ERROR('#767: 1073741823 >> 23 === 127. Actual: ' + (1073741823 >> 23)); -} - - -if (2147483647 >> 23 !== 255) { - $ERROR('#768: 2147483647 >> 23 === 255. Actual: ' + (2147483647 >> 23)); -} - - -if (0 >> 24 !== 0) { - $ERROR('#769: 0 >> 24 === 0. Actual: ' + (0 >> 24)); -} - - -if (1 >> 24 !== 0) { - $ERROR('#770: 1 >> 24 === 0. Actual: ' + (1 >> 24)); -} - - -if (3 >> 24 !== 0) { - $ERROR('#771: 3 >> 24 === 0. Actual: ' + (3 >> 24)); -} - - -if (7 >> 24 !== 0) { - $ERROR('#772: 7 >> 24 === 0. Actual: ' + (7 >> 24)); -} - - -if (15 >> 24 !== 0) { - $ERROR('#773: 15 >> 24 === 0. Actual: ' + (15 >> 24)); -} - - -if (31 >> 24 !== 0) { - $ERROR('#774: 31 >> 24 === 0. Actual: ' + (31 >> 24)); -} - - -if (63 >> 24 !== 0) { - $ERROR('#775: 63 >> 24 === 0. Actual: ' + (63 >> 24)); -} - - -if (127 >> 24 !== 0) { - $ERROR('#776: 127 >> 24 === 0. Actual: ' + (127 >> 24)); -} - - -if (255 >> 24 !== 0) { - $ERROR('#777: 255 >> 24 === 0. Actual: ' + (255 >> 24)); -} - - -if (511 >> 24 !== 0) { - $ERROR('#778: 511 >> 24 === 0. Actual: ' + (511 >> 24)); -} - - -if (1023 >> 24 !== 0) { - $ERROR('#779: 1023 >> 24 === 0. Actual: ' + (1023 >> 24)); -} - - -if (2047 >> 24 !== 0) { - $ERROR('#780: 2047 >> 24 === 0. Actual: ' + (2047 >> 24)); -} - - -if (4095 >> 24 !== 0) { - $ERROR('#781: 4095 >> 24 === 0. Actual: ' + (4095 >> 24)); -} - - -if (8191 >> 24 !== 0) { - $ERROR('#782: 8191 >> 24 === 0. Actual: ' + (8191 >> 24)); -} - - -if (16383 >> 24 !== 0) { - $ERROR('#783: 16383 >> 24 === 0. Actual: ' + (16383 >> 24)); -} - - -if (32767 >> 24 !== 0) { - $ERROR('#784: 32767 >> 24 === 0. Actual: ' + (32767 >> 24)); -} - - -if (65535 >> 24 !== 0) { - $ERROR('#785: 65535 >> 24 === 0. Actual: ' + (65535 >> 24)); -} - - -if (131071 >> 24 !== 0) { - $ERROR('#786: 131071 >> 24 === 0. Actual: ' + (131071 >> 24)); -} - - -if (262143 >> 24 !== 0) { - $ERROR('#787: 262143 >> 24 === 0. Actual: ' + (262143 >> 24)); -} - - -if (524287 >> 24 !== 0) { - $ERROR('#788: 524287 >> 24 === 0. Actual: ' + (524287 >> 24)); -} - - -if (1048575 >> 24 !== 0) { - $ERROR('#789: 1048575 >> 24 === 0. Actual: ' + (1048575 >> 24)); -} - - -if (2097151 >> 24 !== 0) { - $ERROR('#790: 2097151 >> 24 === 0. Actual: ' + (2097151 >> 24)); -} - - -if (4194303 >> 24 !== 0) { - $ERROR('#791: 4194303 >> 24 === 0. Actual: ' + (4194303 >> 24)); -} - - -if (8388607 >> 24 !== 0) { - $ERROR('#792: 8388607 >> 24 === 0. Actual: ' + (8388607 >> 24)); -} - - -if (16777215 >> 24 !== 0) { - $ERROR('#793: 16777215 >> 24 === 0. Actual: ' + (16777215 >> 24)); -} - - -if (33554431 >> 24 !== 1) { - $ERROR('#794: 33554431 >> 24 === 1. Actual: ' + (33554431 >> 24)); -} - - -if (67108863 >> 24 !== 3) { - $ERROR('#795: 67108863 >> 24 === 3. Actual: ' + (67108863 >> 24)); -} - - -if (134217727 >> 24 !== 7) { - $ERROR('#796: 134217727 >> 24 === 7. Actual: ' + (134217727 >> 24)); -} - - -if (268435455 >> 24 !== 15) { - $ERROR('#797: 268435455 >> 24 === 15. Actual: ' + (268435455 >> 24)); -} - - -if (536870911 >> 24 !== 31) { - $ERROR('#798: 536870911 >> 24 === 31. Actual: ' + (536870911 >> 24)); -} - - -if (1073741823 >> 24 !== 63) { - $ERROR('#799: 1073741823 >> 24 === 63. Actual: ' + (1073741823 >> 24)); -} - - -if (2147483647 >> 24 !== 127) { - $ERROR('#800: 2147483647 >> 24 === 127. Actual: ' + (2147483647 >> 24)); -} - - -if (0 >> 25 !== 0) { - $ERROR('#801: 0 >> 25 === 0. Actual: ' + (0 >> 25)); -} - - -if (1 >> 25 !== 0) { - $ERROR('#802: 1 >> 25 === 0. Actual: ' + (1 >> 25)); -} - - -if (3 >> 25 !== 0) { - $ERROR('#803: 3 >> 25 === 0. Actual: ' + (3 >> 25)); -} - - -if (7 >> 25 !== 0) { - $ERROR('#804: 7 >> 25 === 0. Actual: ' + (7 >> 25)); -} - - -if (15 >> 25 !== 0) { - $ERROR('#805: 15 >> 25 === 0. Actual: ' + (15 >> 25)); -} - - -if (31 >> 25 !== 0) { - $ERROR('#806: 31 >> 25 === 0. Actual: ' + (31 >> 25)); -} - - -if (63 >> 25 !== 0) { - $ERROR('#807: 63 >> 25 === 0. Actual: ' + (63 >> 25)); -} - - -if (127 >> 25 !== 0) { - $ERROR('#808: 127 >> 25 === 0. Actual: ' + (127 >> 25)); -} - - -if (255 >> 25 !== 0) { - $ERROR('#809: 255 >> 25 === 0. Actual: ' + (255 >> 25)); -} - - -if (511 >> 25 !== 0) { - $ERROR('#810: 511 >> 25 === 0. Actual: ' + (511 >> 25)); -} - - -if (1023 >> 25 !== 0) { - $ERROR('#811: 1023 >> 25 === 0. Actual: ' + (1023 >> 25)); -} - - -if (2047 >> 25 !== 0) { - $ERROR('#812: 2047 >> 25 === 0. Actual: ' + (2047 >> 25)); -} - - -if (4095 >> 25 !== 0) { - $ERROR('#813: 4095 >> 25 === 0. Actual: ' + (4095 >> 25)); -} - - -if (8191 >> 25 !== 0) { - $ERROR('#814: 8191 >> 25 === 0. Actual: ' + (8191 >> 25)); -} - - -if (16383 >> 25 !== 0) { - $ERROR('#815: 16383 >> 25 === 0. Actual: ' + (16383 >> 25)); -} - - -if (32767 >> 25 !== 0) { - $ERROR('#816: 32767 >> 25 === 0. Actual: ' + (32767 >> 25)); -} - - -if (65535 >> 25 !== 0) { - $ERROR('#817: 65535 >> 25 === 0. Actual: ' + (65535 >> 25)); -} - - -if (131071 >> 25 !== 0) { - $ERROR('#818: 131071 >> 25 === 0. Actual: ' + (131071 >> 25)); -} - - -if (262143 >> 25 !== 0) { - $ERROR('#819: 262143 >> 25 === 0. Actual: ' + (262143 >> 25)); -} - - -if (524287 >> 25 !== 0) { - $ERROR('#820: 524287 >> 25 === 0. Actual: ' + (524287 >> 25)); -} - - -if (1048575 >> 25 !== 0) { - $ERROR('#821: 1048575 >> 25 === 0. Actual: ' + (1048575 >> 25)); -} - - -if (2097151 >> 25 !== 0) { - $ERROR('#822: 2097151 >> 25 === 0. Actual: ' + (2097151 >> 25)); -} - - -if (4194303 >> 25 !== 0) { - $ERROR('#823: 4194303 >> 25 === 0. Actual: ' + (4194303 >> 25)); -} - - -if (8388607 >> 25 !== 0) { - $ERROR('#824: 8388607 >> 25 === 0. Actual: ' + (8388607 >> 25)); -} - - -if (16777215 >> 25 !== 0) { - $ERROR('#825: 16777215 >> 25 === 0. Actual: ' + (16777215 >> 25)); -} - - -if (33554431 >> 25 !== 0) { - $ERROR('#826: 33554431 >> 25 === 0. Actual: ' + (33554431 >> 25)); -} - - -if (67108863 >> 25 !== 1) { - $ERROR('#827: 67108863 >> 25 === 1. Actual: ' + (67108863 >> 25)); -} - - -if (134217727 >> 25 !== 3) { - $ERROR('#828: 134217727 >> 25 === 3. Actual: ' + (134217727 >> 25)); -} - - -if (268435455 >> 25 !== 7) { - $ERROR('#829: 268435455 >> 25 === 7. Actual: ' + (268435455 >> 25)); -} - - -if (536870911 >> 25 !== 15) { - $ERROR('#830: 536870911 >> 25 === 15. Actual: ' + (536870911 >> 25)); -} - - -if (1073741823 >> 25 !== 31) { - $ERROR('#831: 1073741823 >> 25 === 31. Actual: ' + (1073741823 >> 25)); -} - - -if (2147483647 >> 25 !== 63) { - $ERROR('#832: 2147483647 >> 25 === 63. Actual: ' + (2147483647 >> 25)); -} - - -if (0 >> 26 !== 0) { - $ERROR('#833: 0 >> 26 === 0. Actual: ' + (0 >> 26)); -} - - -if (1 >> 26 !== 0) { - $ERROR('#834: 1 >> 26 === 0. Actual: ' + (1 >> 26)); -} - - -if (3 >> 26 !== 0) { - $ERROR('#835: 3 >> 26 === 0. Actual: ' + (3 >> 26)); -} - - -if (7 >> 26 !== 0) { - $ERROR('#836: 7 >> 26 === 0. Actual: ' + (7 >> 26)); -} - - -if (15 >> 26 !== 0) { - $ERROR('#837: 15 >> 26 === 0. Actual: ' + (15 >> 26)); -} - - -if (31 >> 26 !== 0) { - $ERROR('#838: 31 >> 26 === 0. Actual: ' + (31 >> 26)); -} - - -if (63 >> 26 !== 0) { - $ERROR('#839: 63 >> 26 === 0. Actual: ' + (63 >> 26)); -} - - -if (127 >> 26 !== 0) { - $ERROR('#840: 127 >> 26 === 0. Actual: ' + (127 >> 26)); -} - - -if (255 >> 26 !== 0) { - $ERROR('#841: 255 >> 26 === 0. Actual: ' + (255 >> 26)); -} - - -if (511 >> 26 !== 0) { - $ERROR('#842: 511 >> 26 === 0. Actual: ' + (511 >> 26)); -} - - -if (1023 >> 26 !== 0) { - $ERROR('#843: 1023 >> 26 === 0. Actual: ' + (1023 >> 26)); -} - - -if (2047 >> 26 !== 0) { - $ERROR('#844: 2047 >> 26 === 0. Actual: ' + (2047 >> 26)); -} - - -if (4095 >> 26 !== 0) { - $ERROR('#845: 4095 >> 26 === 0. Actual: ' + (4095 >> 26)); -} - - -if (8191 >> 26 !== 0) { - $ERROR('#846: 8191 >> 26 === 0. Actual: ' + (8191 >> 26)); -} - - -if (16383 >> 26 !== 0) { - $ERROR('#847: 16383 >> 26 === 0. Actual: ' + (16383 >> 26)); -} - - -if (32767 >> 26 !== 0) { - $ERROR('#848: 32767 >> 26 === 0. Actual: ' + (32767 >> 26)); -} - - -if (65535 >> 26 !== 0) { - $ERROR('#849: 65535 >> 26 === 0. Actual: ' + (65535 >> 26)); -} - - -if (131071 >> 26 !== 0) { - $ERROR('#850: 131071 >> 26 === 0. Actual: ' + (131071 >> 26)); -} - - -if (262143 >> 26 !== 0) { - $ERROR('#851: 262143 >> 26 === 0. Actual: ' + (262143 >> 26)); -} - - -if (524287 >> 26 !== 0) { - $ERROR('#852: 524287 >> 26 === 0. Actual: ' + (524287 >> 26)); -} - - -if (1048575 >> 26 !== 0) { - $ERROR('#853: 1048575 >> 26 === 0. Actual: ' + (1048575 >> 26)); -} - - -if (2097151 >> 26 !== 0) { - $ERROR('#854: 2097151 >> 26 === 0. Actual: ' + (2097151 >> 26)); -} - - -if (4194303 >> 26 !== 0) { - $ERROR('#855: 4194303 >> 26 === 0. Actual: ' + (4194303 >> 26)); -} - - -if (8388607 >> 26 !== 0) { - $ERROR('#856: 8388607 >> 26 === 0. Actual: ' + (8388607 >> 26)); -} - - -if (16777215 >> 26 !== 0) { - $ERROR('#857: 16777215 >> 26 === 0. Actual: ' + (16777215 >> 26)); -} - - -if (33554431 >> 26 !== 0) { - $ERROR('#858: 33554431 >> 26 === 0. Actual: ' + (33554431 >> 26)); -} - - -if (67108863 >> 26 !== 0) { - $ERROR('#859: 67108863 >> 26 === 0. Actual: ' + (67108863 >> 26)); -} - - -if (134217727 >> 26 !== 1) { - $ERROR('#860: 134217727 >> 26 === 1. Actual: ' + (134217727 >> 26)); -} - - -if (268435455 >> 26 !== 3) { - $ERROR('#861: 268435455 >> 26 === 3. Actual: ' + (268435455 >> 26)); -} - - -if (536870911 >> 26 !== 7) { - $ERROR('#862: 536870911 >> 26 === 7. Actual: ' + (536870911 >> 26)); -} - - -if (1073741823 >> 26 !== 15) { - $ERROR('#863: 1073741823 >> 26 === 15. Actual: ' + (1073741823 >> 26)); -} - - -if (2147483647 >> 26 !== 31) { - $ERROR('#864: 2147483647 >> 26 === 31. Actual: ' + (2147483647 >> 26)); -} - - -if (0 >> 27 !== 0) { - $ERROR('#865: 0 >> 27 === 0. Actual: ' + (0 >> 27)); -} - - -if (1 >> 27 !== 0) { - $ERROR('#866: 1 >> 27 === 0. Actual: ' + (1 >> 27)); -} - - -if (3 >> 27 !== 0) { - $ERROR('#867: 3 >> 27 === 0. Actual: ' + (3 >> 27)); -} - - -if (7 >> 27 !== 0) { - $ERROR('#868: 7 >> 27 === 0. Actual: ' + (7 >> 27)); -} - - -if (15 >> 27 !== 0) { - $ERROR('#869: 15 >> 27 === 0. Actual: ' + (15 >> 27)); -} - - -if (31 >> 27 !== 0) { - $ERROR('#870: 31 >> 27 === 0. Actual: ' + (31 >> 27)); -} - - -if (63 >> 27 !== 0) { - $ERROR('#871: 63 >> 27 === 0. Actual: ' + (63 >> 27)); -} - - -if (127 >> 27 !== 0) { - $ERROR('#872: 127 >> 27 === 0. Actual: ' + (127 >> 27)); -} - - -if (255 >> 27 !== 0) { - $ERROR('#873: 255 >> 27 === 0. Actual: ' + (255 >> 27)); -} - - -if (511 >> 27 !== 0) { - $ERROR('#874: 511 >> 27 === 0. Actual: ' + (511 >> 27)); -} - - -if (1023 >> 27 !== 0) { - $ERROR('#875: 1023 >> 27 === 0. Actual: ' + (1023 >> 27)); -} - - -if (2047 >> 27 !== 0) { - $ERROR('#876: 2047 >> 27 === 0. Actual: ' + (2047 >> 27)); -} - - -if (4095 >> 27 !== 0) { - $ERROR('#877: 4095 >> 27 === 0. Actual: ' + (4095 >> 27)); -} - - -if (8191 >> 27 !== 0) { - $ERROR('#878: 8191 >> 27 === 0. Actual: ' + (8191 >> 27)); -} - - -if (16383 >> 27 !== 0) { - $ERROR('#879: 16383 >> 27 === 0. Actual: ' + (16383 >> 27)); -} - - -if (32767 >> 27 !== 0) { - $ERROR('#880: 32767 >> 27 === 0. Actual: ' + (32767 >> 27)); -} - - -if (65535 >> 27 !== 0) { - $ERROR('#881: 65535 >> 27 === 0. Actual: ' + (65535 >> 27)); -} - - -if (131071 >> 27 !== 0) { - $ERROR('#882: 131071 >> 27 === 0. Actual: ' + (131071 >> 27)); -} - - -if (262143 >> 27 !== 0) { - $ERROR('#883: 262143 >> 27 === 0. Actual: ' + (262143 >> 27)); -} - - -if (524287 >> 27 !== 0) { - $ERROR('#884: 524287 >> 27 === 0. Actual: ' + (524287 >> 27)); -} - - -if (1048575 >> 27 !== 0) { - $ERROR('#885: 1048575 >> 27 === 0. Actual: ' + (1048575 >> 27)); -} - - -if (2097151 >> 27 !== 0) { - $ERROR('#886: 2097151 >> 27 === 0. Actual: ' + (2097151 >> 27)); -} - - -if (4194303 >> 27 !== 0) { - $ERROR('#887: 4194303 >> 27 === 0. Actual: ' + (4194303 >> 27)); -} - - -if (8388607 >> 27 !== 0) { - $ERROR('#888: 8388607 >> 27 === 0. Actual: ' + (8388607 >> 27)); -} - - -if (16777215 >> 27 !== 0) { - $ERROR('#889: 16777215 >> 27 === 0. Actual: ' + (16777215 >> 27)); -} - - -if (33554431 >> 27 !== 0) { - $ERROR('#890: 33554431 >> 27 === 0. Actual: ' + (33554431 >> 27)); -} - - -if (67108863 >> 27 !== 0) { - $ERROR('#891: 67108863 >> 27 === 0. Actual: ' + (67108863 >> 27)); -} - - -if (134217727 >> 27 !== 0) { - $ERROR('#892: 134217727 >> 27 === 0. Actual: ' + (134217727 >> 27)); -} - - -if (268435455 >> 27 !== 1) { - $ERROR('#893: 268435455 >> 27 === 1. Actual: ' + (268435455 >> 27)); -} - - -if (536870911 >> 27 !== 3) { - $ERROR('#894: 536870911 >> 27 === 3. Actual: ' + (536870911 >> 27)); -} - - -if (1073741823 >> 27 !== 7) { - $ERROR('#895: 1073741823 >> 27 === 7. Actual: ' + (1073741823 >> 27)); -} - - -if (2147483647 >> 27 !== 15) { - $ERROR('#896: 2147483647 >> 27 === 15. Actual: ' + (2147483647 >> 27)); -} - - -if (0 >> 28 !== 0) { - $ERROR('#897: 0 >> 28 === 0. Actual: ' + (0 >> 28)); -} - - -if (1 >> 28 !== 0) { - $ERROR('#898: 1 >> 28 === 0. Actual: ' + (1 >> 28)); -} - - -if (3 >> 28 !== 0) { - $ERROR('#899: 3 >> 28 === 0. Actual: ' + (3 >> 28)); -} - - -if (7 >> 28 !== 0) { - $ERROR('#900: 7 >> 28 === 0. Actual: ' + (7 >> 28)); -} - - -if (15 >> 28 !== 0) { - $ERROR('#901: 15 >> 28 === 0. Actual: ' + (15 >> 28)); -} - - -if (31 >> 28 !== 0) { - $ERROR('#902: 31 >> 28 === 0. Actual: ' + (31 >> 28)); -} - - -if (63 >> 28 !== 0) { - $ERROR('#903: 63 >> 28 === 0. Actual: ' + (63 >> 28)); -} - - -if (127 >> 28 !== 0) { - $ERROR('#904: 127 >> 28 === 0. Actual: ' + (127 >> 28)); -} - - -if (255 >> 28 !== 0) { - $ERROR('#905: 255 >> 28 === 0. Actual: ' + (255 >> 28)); -} - - -if (511 >> 28 !== 0) { - $ERROR('#906: 511 >> 28 === 0. Actual: ' + (511 >> 28)); -} - - -if (1023 >> 28 !== 0) { - $ERROR('#907: 1023 >> 28 === 0. Actual: ' + (1023 >> 28)); -} - - -if (2047 >> 28 !== 0) { - $ERROR('#908: 2047 >> 28 === 0. Actual: ' + (2047 >> 28)); -} - - -if (4095 >> 28 !== 0) { - $ERROR('#909: 4095 >> 28 === 0. Actual: ' + (4095 >> 28)); -} - - -if (8191 >> 28 !== 0) { - $ERROR('#910: 8191 >> 28 === 0. Actual: ' + (8191 >> 28)); -} - - -if (16383 >> 28 !== 0) { - $ERROR('#911: 16383 >> 28 === 0. Actual: ' + (16383 >> 28)); -} - - -if (32767 >> 28 !== 0) { - $ERROR('#912: 32767 >> 28 === 0. Actual: ' + (32767 >> 28)); -} - - -if (65535 >> 28 !== 0) { - $ERROR('#913: 65535 >> 28 === 0. Actual: ' + (65535 >> 28)); -} - - -if (131071 >> 28 !== 0) { - $ERROR('#914: 131071 >> 28 === 0. Actual: ' + (131071 >> 28)); -} - - -if (262143 >> 28 !== 0) { - $ERROR('#915: 262143 >> 28 === 0. Actual: ' + (262143 >> 28)); -} - - -if (524287 >> 28 !== 0) { - $ERROR('#916: 524287 >> 28 === 0. Actual: ' + (524287 >> 28)); -} - - -if (1048575 >> 28 !== 0) { - $ERROR('#917: 1048575 >> 28 === 0. Actual: ' + (1048575 >> 28)); -} - - -if (2097151 >> 28 !== 0) { - $ERROR('#918: 2097151 >> 28 === 0. Actual: ' + (2097151 >> 28)); -} - - -if (4194303 >> 28 !== 0) { - $ERROR('#919: 4194303 >> 28 === 0. Actual: ' + (4194303 >> 28)); -} - - -if (8388607 >> 28 !== 0) { - $ERROR('#920: 8388607 >> 28 === 0. Actual: ' + (8388607 >> 28)); -} - - -if (16777215 >> 28 !== 0) { - $ERROR('#921: 16777215 >> 28 === 0. Actual: ' + (16777215 >> 28)); -} - - -if (33554431 >> 28 !== 0) { - $ERROR('#922: 33554431 >> 28 === 0. Actual: ' + (33554431 >> 28)); -} - - -if (67108863 >> 28 !== 0) { - $ERROR('#923: 67108863 >> 28 === 0. Actual: ' + (67108863 >> 28)); -} - - -if (134217727 >> 28 !== 0) { - $ERROR('#924: 134217727 >> 28 === 0. Actual: ' + (134217727 >> 28)); -} - - -if (268435455 >> 28 !== 0) { - $ERROR('#925: 268435455 >> 28 === 0. Actual: ' + (268435455 >> 28)); -} - - -if (536870911 >> 28 !== 1) { - $ERROR('#926: 536870911 >> 28 === 1. Actual: ' + (536870911 >> 28)); -} - - -if (1073741823 >> 28 !== 3) { - $ERROR('#927: 1073741823 >> 28 === 3. Actual: ' + (1073741823 >> 28)); -} - - -if (2147483647 >> 28 !== 7) { - $ERROR('#928: 2147483647 >> 28 === 7. Actual: ' + (2147483647 >> 28)); -} - - -if (0 >> 29 !== 0) { - $ERROR('#929: 0 >> 29 === 0. Actual: ' + (0 >> 29)); -} - - -if (1 >> 29 !== 0) { - $ERROR('#930: 1 >> 29 === 0. Actual: ' + (1 >> 29)); -} - - -if (3 >> 29 !== 0) { - $ERROR('#931: 3 >> 29 === 0. Actual: ' + (3 >> 29)); -} - - -if (7 >> 29 !== 0) { - $ERROR('#932: 7 >> 29 === 0. Actual: ' + (7 >> 29)); -} - - -if (15 >> 29 !== 0) { - $ERROR('#933: 15 >> 29 === 0. Actual: ' + (15 >> 29)); -} - - -if (31 >> 29 !== 0) { - $ERROR('#934: 31 >> 29 === 0. Actual: ' + (31 >> 29)); -} - - -if (63 >> 29 !== 0) { - $ERROR('#935: 63 >> 29 === 0. Actual: ' + (63 >> 29)); -} - - -if (127 >> 29 !== 0) { - $ERROR('#936: 127 >> 29 === 0. Actual: ' + (127 >> 29)); -} - - -if (255 >> 29 !== 0) { - $ERROR('#937: 255 >> 29 === 0. Actual: ' + (255 >> 29)); -} - - -if (511 >> 29 !== 0) { - $ERROR('#938: 511 >> 29 === 0. Actual: ' + (511 >> 29)); -} - - -if (1023 >> 29 !== 0) { - $ERROR('#939: 1023 >> 29 === 0. Actual: ' + (1023 >> 29)); -} - - -if (2047 >> 29 !== 0) { - $ERROR('#940: 2047 >> 29 === 0. Actual: ' + (2047 >> 29)); -} - - -if (4095 >> 29 !== 0) { - $ERROR('#941: 4095 >> 29 === 0. Actual: ' + (4095 >> 29)); -} - - -if (8191 >> 29 !== 0) { - $ERROR('#942: 8191 >> 29 === 0. Actual: ' + (8191 >> 29)); -} - - -if (16383 >> 29 !== 0) { - $ERROR('#943: 16383 >> 29 === 0. Actual: ' + (16383 >> 29)); -} - - -if (32767 >> 29 !== 0) { - $ERROR('#944: 32767 >> 29 === 0. Actual: ' + (32767 >> 29)); -} - - -if (65535 >> 29 !== 0) { - $ERROR('#945: 65535 >> 29 === 0. Actual: ' + (65535 >> 29)); -} - - -if (131071 >> 29 !== 0) { - $ERROR('#946: 131071 >> 29 === 0. Actual: ' + (131071 >> 29)); -} - - -if (262143 >> 29 !== 0) { - $ERROR('#947: 262143 >> 29 === 0. Actual: ' + (262143 >> 29)); -} - - -if (524287 >> 29 !== 0) { - $ERROR('#948: 524287 >> 29 === 0. Actual: ' + (524287 >> 29)); -} - - -if (1048575 >> 29 !== 0) { - $ERROR('#949: 1048575 >> 29 === 0. Actual: ' + (1048575 >> 29)); -} - - -if (2097151 >> 29 !== 0) { - $ERROR('#950: 2097151 >> 29 === 0. Actual: ' + (2097151 >> 29)); -} - - -if (4194303 >> 29 !== 0) { - $ERROR('#951: 4194303 >> 29 === 0. Actual: ' + (4194303 >> 29)); -} - - -if (8388607 >> 29 !== 0) { - $ERROR('#952: 8388607 >> 29 === 0. Actual: ' + (8388607 >> 29)); -} - - -if (16777215 >> 29 !== 0) { - $ERROR('#953: 16777215 >> 29 === 0. Actual: ' + (16777215 >> 29)); -} - - -if (33554431 >> 29 !== 0) { - $ERROR('#954: 33554431 >> 29 === 0. Actual: ' + (33554431 >> 29)); -} - - -if (67108863 >> 29 !== 0) { - $ERROR('#955: 67108863 >> 29 === 0. Actual: ' + (67108863 >> 29)); -} - - -if (134217727 >> 29 !== 0) { - $ERROR('#956: 134217727 >> 29 === 0. Actual: ' + (134217727 >> 29)); -} - - -if (268435455 >> 29 !== 0) { - $ERROR('#957: 268435455 >> 29 === 0. Actual: ' + (268435455 >> 29)); -} - - -if (536870911 >> 29 !== 0) { - $ERROR('#958: 536870911 >> 29 === 0. Actual: ' + (536870911 >> 29)); -} - - -if (1073741823 >> 29 !== 1) { - $ERROR('#959: 1073741823 >> 29 === 1. Actual: ' + (1073741823 >> 29)); -} - - -if (2147483647 >> 29 !== 3) { - $ERROR('#960: 2147483647 >> 29 === 3. Actual: ' + (2147483647 >> 29)); -} - - -if (0 >> 30 !== 0) { - $ERROR('#961: 0 >> 30 === 0. Actual: ' + (0 >> 30)); -} - - -if (1 >> 30 !== 0) { - $ERROR('#962: 1 >> 30 === 0. Actual: ' + (1 >> 30)); -} - - -if (3 >> 30 !== 0) { - $ERROR('#963: 3 >> 30 === 0. Actual: ' + (3 >> 30)); -} - - -if (7 >> 30 !== 0) { - $ERROR('#964: 7 >> 30 === 0. Actual: ' + (7 >> 30)); -} - - -if (15 >> 30 !== 0) { - $ERROR('#965: 15 >> 30 === 0. Actual: ' + (15 >> 30)); -} - - -if (31 >> 30 !== 0) { - $ERROR('#966: 31 >> 30 === 0. Actual: ' + (31 >> 30)); -} - - -if (63 >> 30 !== 0) { - $ERROR('#967: 63 >> 30 === 0. Actual: ' + (63 >> 30)); -} - - -if (127 >> 30 !== 0) { - $ERROR('#968: 127 >> 30 === 0. Actual: ' + (127 >> 30)); -} - - -if (255 >> 30 !== 0) { - $ERROR('#969: 255 >> 30 === 0. Actual: ' + (255 >> 30)); -} - - -if (511 >> 30 !== 0) { - $ERROR('#970: 511 >> 30 === 0. Actual: ' + (511 >> 30)); -} - - -if (1023 >> 30 !== 0) { - $ERROR('#971: 1023 >> 30 === 0. Actual: ' + (1023 >> 30)); -} - - -if (2047 >> 30 !== 0) { - $ERROR('#972: 2047 >> 30 === 0. Actual: ' + (2047 >> 30)); -} - - -if (4095 >> 30 !== 0) { - $ERROR('#973: 4095 >> 30 === 0. Actual: ' + (4095 >> 30)); -} - - -if (8191 >> 30 !== 0) { - $ERROR('#974: 8191 >> 30 === 0. Actual: ' + (8191 >> 30)); -} - - -if (16383 >> 30 !== 0) { - $ERROR('#975: 16383 >> 30 === 0. Actual: ' + (16383 >> 30)); -} - - -if (32767 >> 30 !== 0) { - $ERROR('#976: 32767 >> 30 === 0. Actual: ' + (32767 >> 30)); -} - - -if (65535 >> 30 !== 0) { - $ERROR('#977: 65535 >> 30 === 0. Actual: ' + (65535 >> 30)); -} - - -if (131071 >> 30 !== 0) { - $ERROR('#978: 131071 >> 30 === 0. Actual: ' + (131071 >> 30)); -} - - -if (262143 >> 30 !== 0) { - $ERROR('#979: 262143 >> 30 === 0. Actual: ' + (262143 >> 30)); -} - - -if (524287 >> 30 !== 0) { - $ERROR('#980: 524287 >> 30 === 0. Actual: ' + (524287 >> 30)); -} - - -if (1048575 >> 30 !== 0) { - $ERROR('#981: 1048575 >> 30 === 0. Actual: ' + (1048575 >> 30)); -} - - -if (2097151 >> 30 !== 0) { - $ERROR('#982: 2097151 >> 30 === 0. Actual: ' + (2097151 >> 30)); -} - - -if (4194303 >> 30 !== 0) { - $ERROR('#983: 4194303 >> 30 === 0. Actual: ' + (4194303 >> 30)); -} - - -if (8388607 >> 30 !== 0) { - $ERROR('#984: 8388607 >> 30 === 0. Actual: ' + (8388607 >> 30)); -} - - -if (16777215 >> 30 !== 0) { - $ERROR('#985: 16777215 >> 30 === 0. Actual: ' + (16777215 >> 30)); -} - - -if (33554431 >> 30 !== 0) { - $ERROR('#986: 33554431 >> 30 === 0. Actual: ' + (33554431 >> 30)); -} - - -if (67108863 >> 30 !== 0) { - $ERROR('#987: 67108863 >> 30 === 0. Actual: ' + (67108863 >> 30)); -} - - -if (134217727 >> 30 !== 0) { - $ERROR('#988: 134217727 >> 30 === 0. Actual: ' + (134217727 >> 30)); -} - - -if (268435455 >> 30 !== 0) { - $ERROR('#989: 268435455 >> 30 === 0. Actual: ' + (268435455 >> 30)); -} - - -if (536870911 >> 30 !== 0) { - $ERROR('#990: 536870911 >> 30 === 0. Actual: ' + (536870911 >> 30)); -} - - -if (1073741823 >> 30 !== 0) { - $ERROR('#991: 1073741823 >> 30 === 0. Actual: ' + (1073741823 >> 30)); -} - - -if (2147483647 >> 30 !== 1) { - $ERROR('#992: 2147483647 >> 30 === 1. Actual: ' + (2147483647 >> 30)); -} - - -if (0 >> 31 !== 0) { - $ERROR('#993: 0 >> 31 === 0. Actual: ' + (0 >> 31)); -} - - -if (1 >> 31 !== 0) { - $ERROR('#994: 1 >> 31 === 0. Actual: ' + (1 >> 31)); -} - - -if (3 >> 31 !== 0) { - $ERROR('#995: 3 >> 31 === 0. Actual: ' + (3 >> 31)); -} - - -if (7 >> 31 !== 0) { - $ERROR('#996: 7 >> 31 === 0. Actual: ' + (7 >> 31)); -} - - -if (15 >> 31 !== 0) { - $ERROR('#997: 15 >> 31 === 0. Actual: ' + (15 >> 31)); -} - - -if (31 >> 31 !== 0) { - $ERROR('#998: 31 >> 31 === 0. Actual: ' + (31 >> 31)); -} - - -if (63 >> 31 !== 0) { - $ERROR('#999: 63 >> 31 === 0. Actual: ' + (63 >> 31)); -} - - -if (127 >> 31 !== 0) { - $ERROR('#1000: 127 >> 31 === 0. Actual: ' + (127 >> 31)); -} - - -if (255 >> 31 !== 0) { - $ERROR('#1001: 255 >> 31 === 0. Actual: ' + (255 >> 31)); -} - - -if (511 >> 31 !== 0) { - $ERROR('#1002: 511 >> 31 === 0. Actual: ' + (511 >> 31)); -} - - -if (1023 >> 31 !== 0) { - $ERROR('#1003: 1023 >> 31 === 0. Actual: ' + (1023 >> 31)); -} - - -if (2047 >> 31 !== 0) { - $ERROR('#1004: 2047 >> 31 === 0. Actual: ' + (2047 >> 31)); -} - - -if (4095 >> 31 !== 0) { - $ERROR('#1005: 4095 >> 31 === 0. Actual: ' + (4095 >> 31)); -} - - -if (8191 >> 31 !== 0) { - $ERROR('#1006: 8191 >> 31 === 0. Actual: ' + (8191 >> 31)); -} - - -if (16383 >> 31 !== 0) { - $ERROR('#1007: 16383 >> 31 === 0. Actual: ' + (16383 >> 31)); -} - - -if (32767 >> 31 !== 0) { - $ERROR('#1008: 32767 >> 31 === 0. Actual: ' + (32767 >> 31)); -} - - -if (65535 >> 31 !== 0) { - $ERROR('#1009: 65535 >> 31 === 0. Actual: ' + (65535 >> 31)); -} - - -if (131071 >> 31 !== 0) { - $ERROR('#1010: 131071 >> 31 === 0. Actual: ' + (131071 >> 31)); -} - - -if (262143 >> 31 !== 0) { - $ERROR('#1011: 262143 >> 31 === 0. Actual: ' + (262143 >> 31)); -} - - -if (524287 >> 31 !== 0) { - $ERROR('#1012: 524287 >> 31 === 0. Actual: ' + (524287 >> 31)); -} - - -if (1048575 >> 31 !== 0) { - $ERROR('#1013: 1048575 >> 31 === 0. Actual: ' + (1048575 >> 31)); -} - - -if (2097151 >> 31 !== 0) { - $ERROR('#1014: 2097151 >> 31 === 0. Actual: ' + (2097151 >> 31)); -} - - -if (4194303 >> 31 !== 0) { - $ERROR('#1015: 4194303 >> 31 === 0. Actual: ' + (4194303 >> 31)); -} - - -if (8388607 >> 31 !== 0) { - $ERROR('#1016: 8388607 >> 31 === 0. Actual: ' + (8388607 >> 31)); -} - - -if (16777215 >> 31 !== 0) { - $ERROR('#1017: 16777215 >> 31 === 0. Actual: ' + (16777215 >> 31)); -} - - -if (33554431 >> 31 !== 0) { - $ERROR('#1018: 33554431 >> 31 === 0. Actual: ' + (33554431 >> 31)); -} - - -if (67108863 >> 31 !== 0) { - $ERROR('#1019: 67108863 >> 31 === 0. Actual: ' + (67108863 >> 31)); -} - - -if (134217727 >> 31 !== 0) { - $ERROR('#1020: 134217727 >> 31 === 0. Actual: ' + (134217727 >> 31)); -} - - -if (268435455 >> 31 !== 0) { - $ERROR('#1021: 268435455 >> 31 === 0. Actual: ' + (268435455 >> 31)); -} - - -if (536870911 >> 31 !== 0) { - $ERROR('#1022: 536870911 >> 31 === 0. Actual: ' + (536870911 >> 31)); -} - - -if (1073741823 >> 31 !== 0) { - $ERROR('#1023: 1073741823 >> 31 === 0. Actual: ' + (1073741823 >> 31)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1.js deleted file mode 100644 index eb8a5548c1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A5.1_T1; - * @section: 11.7.2, 9.5; - * @assertion: Operator x >> y uses ToInt32(ShiftExpression); - * @description: Checking boundary points; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A5.1_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1.js", - -assertion: "Operator x >> y uses ToInt32(ShiftExpression)", - -description: "Checking boundary points", - -test: function testcase() { - //CHECK#1 -if (2147483648.1 >> 0 !== -2147483648) { - $ERROR('#1: 2147483648.1 >> 0 === -2147483648. Actual: ' + (2147483648.1 >> 0)); -} - -//CHECK#2 -if (4294967296.1 >> 0 !== 0) { - $ERROR('#2: 4294967296.1 >> 0 === 0. Actual: ' + (4294967296.1 >> 0)); -} - -//CHECK#3 -if (6442450944.1 >> 0 !== -2147483648) { - $ERROR('#3: 6442450944.1 >> 0 === -2147483648. Actual: ' + (6442450944.1 >> 0)); -} - -//CHECK#4 -if (4294967295.1 >> 0 !== -1) { - $ERROR('#4: 4294967295.1 >> 0 === -1. Actual: ' + (4294967295.1 >> 0)); -} - -//CHECK#5 -if (6442450943.1 >> 0 !== 2147483647) { - $ERROR('#5: 6442450943.1 >> 0 === 2147483647. Actual: ' + (6442450943.1 >> 0)); -} - -//CHECK#6 -if (-2147483649.1 >> 0 !== 2147483647) { - $ERROR('#6: -2147483649.1 >> 0 === 2147483647. Actual: ' + (-2147483649.1 >> 0)); -} - -//CHECK#7 -if (-4294967297.1 >> 0 !== -1) { - $ERROR('#7: -4294967297.1 >> 0 === -1. Actual: ' + (-4294967297.1 >> 0)); -} - -//CHECK#8 -if (-6442450945.1 >> 0 !== 2147483647) { - $ERROR('#8: -6442450945.1 >> 0 === 2147483647. Actual: ' + (-6442450945.1 >> 0)); -} - -//CHECK#9 -if (-4294967296.1 >> 0 !== 0) { - $ERROR('#9: -4294967296.1 >> 0 === 0 . Actual: ' + (-4294967296.1 >> 0)); -} - -//CHECK#10 -if (-6442450944.1 >> 0 !== -2147483648) { - $ERROR('#10: -6442450944.1 >> 0 === -2147483648. Actual: ' + (-6442450944.1 >> 0)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1.js deleted file mode 100644 index 07740f6458..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1.js +++ /dev/null @@ -1,346 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.2_A5.2_T1; - * @section: 11.7.2, 9.5; - * @assertion: Operator x >> y uses ToUint32(AdditiveExpression) & 31; - * @description: Checking distinct points; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.2_A5.2_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1.js", - -assertion: "Operator x >> y uses ToUint32(AdditiveExpression) & 31", - -description: "Checking distinct points", - -test: function testcase() { - //CHECK#1 -if (2147483647 >> -32.1 !== 2147483647) { - $ERROR('#1: 2147483647 >> -32.1 === 2147483647. Actual: ' + (2147483647 >> -32.1)); -} - -//CHECK#2 -if (2147483647 >> -31.1 !== 1073741823) { - $ERROR('#2: 2147483647 >> -31.1 === 1073741823. Actual: ' + (2147483647 >> -31.1)); -} - -//CHECK#3 -if (2147483647 >> -30.1 !== 536870911) { - $ERROR('#3: 2147483647 >> -30.1 === 536870911. Actual: ' + (2147483647 >> -30.1)); -} - -//CHECK#4 -if (2147483647 >> -29.1 !== 268435455) { - $ERROR('#4: 2147483647 >> -29.1 === 268435455. Actual: ' + (2147483647 >> -29.1)); -} - -//CHECK#5 -if (2147483647 >> -28.1 !== 134217727) { - $ERROR('#5: 2147483647 >> -28.1 === 134217727. Actual: ' + (2147483647 >> -28.1)); -} - -//CHECK#6 -if (2147483647 >> -27.1 !== 67108863) { - $ERROR('#6: 2147483647 >> -27.1 === 67108863. Actual: ' + (2147483647 >> -27.1)); -} - -//CHECK#7 -if (2147483647 >> -26.1 !== 33554431) { - $ERROR('#7: 2147483647 >> -26.1 === 33554431. Actual: ' + (2147483647 >> -26.1)); -} - -//CHECK#8 -if (2147483647 >> -25.1 !== 16777215) { - $ERROR('#8: 2147483647 >> -25.1 === 16777215. Actual: ' + (2147483647 >> -25.1)); -} - -//CHECK#9 -if (2147483647 >> -24.1 !== 8388607) { - $ERROR('#9: 2147483647 >> -24.1 === 8388607. Actual: ' + (2147483647 >> -24.1)); -} - -//CHECK#10 -if (2147483647 >> -23.1 !== 4194303) { - $ERROR('#10: 2147483647 >> -23.1 === 4194303. Actual: ' + (2147483647 >> -23.1)); -} - -//CHECK#11 -if (2147483647 >> -22.1 !== 2097151) { - $ERROR('#11: 2147483647 >> -22.1 === 2097151. Actual: ' + (2147483647 >> -22.1)); -} - -//CHECK#12 -if (2147483647 >> -21.1 !== 1048575) { - $ERROR('#12: 2147483647 >> -21.1 === 1048575. Actual: ' + (2147483647 >> -21.1)); -} - -//CHECK#13 -if (2147483647 >> -20.1 !== 524287) { - $ERROR('#13: 2147483647 >> -20.1 === 524287. Actual: ' + (2147483647 >> -20.1)); -} - -//CHECK#14 -if (2147483647 >> -19.1 !== 262143) { - $ERROR('#14: 2147483647 >> -19.1 === 262143. Actual: ' + (2147483647 >> -19.1)); -} - -//CHECK#15 -if (2147483647 >> -18.1 !== 131071) { - $ERROR('#15: 2147483647 >> -18.1 === 131071. Actual: ' + (2147483647 >> -18.1)); -} - -//CHECK#16 -if (2147483647 >> -17.1 !== 65535) { - $ERROR('#16: 2147483647 >> -17.1 === 65535. Actual: ' + (2147483647 >> -17.1)); -} - -//CHECK#17 -if (2147483647 >> -16.1 !== 32767) { - $ERROR('#17: 2147483647 >> -16.1 === 32767. Actual: ' + (2147483647 >> -16.1)); -} - -//CHECK#18 -if (2147483647 >> -15.1 !== 16383) { - $ERROR('#18: 2147483647 >> -15.1 === 16383. Actual: ' + (2147483647 >> -15.1)); -} - -//CHECK#19 -if (2147483647 >> -14.1 !== 8191) { - $ERROR('#19: 2147483647 >> -14.1 === 8191. Actual: ' + (2147483647 >> -14.1)); -} - -//CHECK#20 -if (2147483647 >> -13.1 !== 4095) { - $ERROR('#20: 2147483647 >> -13.1 === 4095. Actual: ' + (2147483647 >> -13.1)); -} - -//CHECK#21 -if (2147483647 >> -12.1 !== 2047) { - $ERROR('#21: 2147483647 >> -12.1 === 2047. Actual: ' + (2147483647 >> -12.1)); -} - -//CHECK#22 -if (2147483647 >> -11.1 !== 1023) { - $ERROR('#22: 2147483647 >> -11.1 === 1023. Actual: ' + (2147483647 >> -11.1)); -} - -//CHECK#23 -if (2147483647 >> -10.1 !== 511) { - $ERROR('#23: 2147483647 >> -10.1 === 511. Actual: ' + (2147483647 >> -10.1)); -} - -//CHECK#24 -if (2147483647 >> -9.1 !== 255) { - $ERROR('#24: 2147483647 >> -9.1 === 255. Actual: ' + (2147483647 >> -9.1)); -} - -//CHECK#25 -if (2147483647 >> -8.1 !== 127) { - $ERROR('#25: 2147483647 >> -8.1 === 127. Actual: ' + (2147483647 >> -8.1)); -} - -//CHECK#26 -if (2147483647 >> -7.1 !== 63) { - $ERROR('#26: 2147483647 >> -7.1 === 63. Actual: ' + (2147483647 >> -7.1)); -} - -//CHECK#27 -if (2147483647 >> -6.1 !== 31) { - $ERROR('#27: 2147483647 >> -6.1 === 31. Actual: ' + (2147483647 >> -6.1)); -} - -//CHECK#28 -if (2147483647 >> -5.1 !== 15) { - $ERROR('#28: 2147483647 >> -5.1 === 15. Actual: ' + (2147483647 >> -5.1)); -} - -//CHECK#29 -if (2147483647 >> -4.1 !== 7) { - $ERROR('#29: 2147483647 >> -4.1 === 7. Actual: ' + (2147483647 >> -4.1)); -} - -//CHECK#30 -if (2147483647 >> -3.1 !== 3) { - $ERROR('#30: 2147483647 >> -3.1 === 3. Actual: ' + (2147483647 >> -3.1)); -} - -//CHECK#31 -if (2147483647 >> -2.1 !== 1) { - $ERROR('#31: 2147483647 >> -2.1 === 1. Actual: ' + (2147483647 >> -2.1)); -} - -//CHECK#32 -if (2147483647 >> -1.1 !== 0) { - $ERROR('#32: 2147483647 >> -1.1 === 0. Actual: ' + (2147483647 >> -1.1)); -} - -//CHECK#33 -if (2147483647 >> 32.1 !== 2147483647) { - $ERROR('#33: 2147483647 >> 32.1 === 2147483647. Actual: ' + (2147483647 >> 32.1)); -} - -//CHECK#34 -if (2147483647 >> 33.1 !== 1073741823) { - $ERROR('#34: 2147483647 >> 33.1 === 1073741823. Actual: ' + (2147483647 >> 33.1)); -} - -//CHECK#35 -if (2147483647 >> 34.1 !== 536870911) { - $ERROR('#35: 2147483647 >> 34.1 === 536870911. Actual: ' + (2147483647 >> 34.1)); -} - -//CHECK#36 -if (2147483647 >> 35.1 !== 268435455) { - $ERROR('#36: 2147483647 >> 35.1 === 268435455. Actual: ' + (2147483647 >> 35.1)); -} - -//CHECK#37 -if (2147483647 >> 36.1 !== 134217727) { - $ERROR('#37: 2147483647 >> 36.1 === 134217727. Actual: ' + (2147483647 >> 36.1)); -} - -//CHECK#38 -if (2147483647 >> 37.1 !== 67108863) { - $ERROR('#38: 2147483647 >> 37.1 === 67108863. Actual: ' + (2147483647 >> 37.1)); -} - -//CHECK#39 -if (2147483647 >> 38.1 !== 33554431) { - $ERROR('#39: 2147483647 >> 38.1 === 33554431. Actual: ' + (2147483647 >> 38.1)); -} - -//CHECK#40 -if (2147483647 >> 39.1 !== 16777215) { - $ERROR('#40: 2147483647 >> 39.1 === 16777215. Actual: ' + (2147483647 >> 39.1)); -} - -//CHECK#41 -if (2147483647 >> 40.1 !== 8388607) { - $ERROR('#41: 2147483647 >> 40.1 === 8388607. Actual: ' + (2147483647 >> 40.1)); -} - -//CHECK#42 -if (2147483647 >> 41.1 !== 4194303) { - $ERROR('#42: 2147483647 >> 41.1 === 4194303. Actual: ' + (2147483647 >> 41.1)); -} - -//CHECK#43 -if (2147483647 >> 42.1 !== 2097151) { - $ERROR('#43: 2147483647 >> 42.1 === 2097151. Actual: ' + (2147483647 >> 42.1)); -} - -//CHECK#44 -if (2147483647 >> 43.1 !== 1048575) { - $ERROR('#44: 2147483647 >> 43.1 === 1048575. Actual: ' + (2147483647 >> 43.1)); -} - -//CHECK#45 -if (2147483647 >> 44.1 !== 524287) { - $ERROR('#45: 2147483647 >> 44.1 === 524287. Actual: ' + (2147483647 >> 44.1)); -} - -//CHECK#46 -if (2147483647 >> 45.1 !== 262143) { - $ERROR('#46: 2147483647 >> 45.1 === 262143. Actual: ' + (2147483647 >> 45.1)); -} - -//CHECK#47 -if (2147483647 >> 46.1 !== 131071) { - $ERROR('#47: 2147483647 >> 46.1 === 131071. Actual: ' + (2147483647 >> 46.1)); -} - -//CHECK#48 -if (2147483647 >> 47.1 !== 65535) { - $ERROR('#48: 2147483647 >> 47.1 === 65535. Actual: ' + (2147483647 >> 47.1)); -} - -//CHECK#49 -if (2147483647 >> 48.1 !== 32767) { - $ERROR('#49: 2147483647 >> 48.1 === 32767. Actual: ' + (2147483647 >> 48.1)); -} - -//CHECK#50 -if (2147483647 >> 49.1 !== 16383) { - $ERROR('#50: 2147483647 >> 49.1 === 16383. Actual: ' + (2147483647 >> 49.1)); -} - -//CHECK#51 -if (2147483647 >> 50.1 !== 8191) { - $ERROR('#51: 2147483647 >> 50.1 === 8191. Actual: ' + (2147483647 >> 50.1)); -} - -//CHECK#52 -if (2147483647 >> 51.1 !== 4095) { - $ERROR('#52: 2147483647 >> 51.1 === 4095. Actual: ' + (2147483647 >> 51.1)); -} - -//CHECK#53 -if (2147483647 >> 52.1 !== 2047) { - $ERROR('#53: 2147483647 >> 52.1 === 2047. Actual: ' + (2147483647 >> 52.1)); -} - -//CHECK#54 -if (2147483647 >> 53.1 !== 1023) { - $ERROR('#54: 2147483647 >> 53.1 === 1023. Actual: ' + (2147483647 >> 53.1)); -} - -//CHECK#55 -if (2147483647 >> 54.1 !== 511) { - $ERROR('#55: 2147483647 >> 54.1 === 511. Actual: ' + (2147483647 >> 54.1)); -} - -//CHECK#56 -if (2147483647 >> 55.1 !== 255) { - $ERROR('#56: 2147483647 >> 55.1 === 255. Actual: ' + (2147483647 >> 55.1)); -} - -//CHECK#57 -if (2147483647 >> 56.1 !== 127) { - $ERROR('#57: 2147483647 >> 56.1 === 127. Actual: ' + (2147483647 >> 56.1)); -} - -//CHECK#58 -if (2147483647 >> 57.1 !== 63) { - $ERROR('#58: 2147483647 >> 57.1 === 63. Actual: ' + (2147483647 >> 57.1)); -} - -//CHECK#59 -if (2147483647 >> 58.1 !== 31) { - $ERROR('#59: 2147483647 >> 58.1 === 31. Actual: ' + (2147483647 >> 58.1)); -} - -//CHECK#60 -if (2147483647 >> 59.1 !== 15) { - $ERROR('#60: 2147483647 >> 59.1 === 15. Actual: ' + (2147483647 >> 59.1)); -} - -//CHECK#61 -if (2147483647 >> 60.1 !== 7) { - $ERROR('#61: 2147483647 >> 60.1 === 7. Actual: ' + (2147483647 >> 60.1)); -} - -//CHECK#62 -if (2147483647 >> 61.1 !== 3) { - $ERROR('#62: 2147483647 >> 61.1 === 3. Actual: ' + (2147483647 >> 61.1)); -} - -//CHECK#63 -if (2147483647 >> 62.1 !== 1) { - $ERROR('#63: 2147483647 >> 62.1 === 1. Actual: ' + (2147483647 >> 62.1)); -} - -//CHECK#64 -if (2147483647 >> 63.1 !== 0) { - $ERROR('#64: 2147483647 >> 63.1 === 0. Actual: ' + (2147483647 >> 63.1)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.js deleted file mode 100644 index 13db78e7dd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.7.3_A1; -* @section: 11.7.3, 7.2, 7.3; -* @assertion: White Space and Line Terminator between ShiftExpression and ">>>" or between ">>>" and AdditiveExpression are allowed; -* @description: Checking by using eval -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.js", - -assertion: "White Space and Line Terminator between ShiftExpression and \">>>\" or between \">>>\" and AdditiveExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("-4\u0009>>>\u00091") !== 2147483646) { - $ERROR('#1: -4\\u0009>>>\\u00091 === 2147483646'); -} - -//CHECK#2 -if (eval("-4\u000B>>>\u000B1") !== 2147483646) { - $ERROR('#2: -4\\u000B>>>\\u000B1 === 2147483646'); -} - -//CHECK#3 -if (eval("-4\u000C>>>\u000C1") !== 2147483646) { - $ERROR('#3: -4\\u000C>>>\\u000C1 === 2147483646'); -} - -//CHECK#4 -if (eval("-4\u0020>>>\u00201") !== 2147483646) { - $ERROR('#4: -4\\u0020>>>\\u00201 === 2147483646'); -} - -//CHECK#5 -if (eval("-4\u00A0>>>\u00A01") !== 2147483646) { - $ERROR('#5: -4\\u00A0>>>\\u00A01 === 2147483646'); -} - -//CHECK#6 -if (eval("-4\u000A>>>\u000A1") !== 2147483646) { - $ERROR('#6: -4\\u000A>>>\\u000A1 === 2147483646'); -} - -//CHECK#7 -if (eval("-4\u000D>>>\u000D1") !== 2147483646) { - $ERROR('#7: -4\\u000D>>>\\u000D1 === 2147483646'); -} - -//CHECK#8 -if (eval("-4\u2028>>>\u20281") !== 2147483646) { - $ERROR('#8: -4\\u2028>>>\\u20281 === 2147483646'); -} - -//CHECK#9 -if (eval("-4\u2029>>>\u20291") !== 2147483646) { - $ERROR('#9: -4\\u2029>>>\\u20291 === 2147483646'); -} - -//CHECK#10 -if (eval("-4\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>>>\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 2147483646) { - $ERROR('#10: -4\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>>>\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 2147483646'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1.js deleted file mode 100644 index 7e582e9236..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.7.3_A2.1_T1; -* @section: 11.7.3; -* @assertion: Operator x >>> y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A2.1_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1.js", - -assertion: "Operator x >>> y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (-4 >>> 1 !== 2147483646) { - $ERROR('#1: -4 >>> 1 === 2147483646. Actual: ' + (-4 >>> 1)); -} - -//CHECK#2 -var x = -4; -if (x >>> 1 !== 2147483646) { - $ERROR('#2: var x = -4; x >>> 1 === 2147483646. Actual: ' + (x >>> 1)); -} - -//CHECK#3 -var y = 1; -if (-4 >>> y !== 2147483646) { - $ERROR('#3: var y = 1; -4 >>> y === 2147483646. Actual: ' + (-4 >>> y)); -} - -//CHECK#4 -var x = -4; -var y = 1; -if (x >>> y !== 2147483646) { - $ERROR('#4: var x = -4; var y = 1; x >>> y === 2147483646. Actual: ' + (x >>> y)); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = -4; -objecty.prop = 1; -if (objectx.prop >>> objecty.prop !== 2147483646) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = -4; objecty.prop = 1; objectx.prop >>> objecty.prop === 2147483646. Actual: ' + (objectx.prop >>> objecty.prop)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2.js deleted file mode 100644 index 67a352692e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A2.1_T2; - * @section: 11.7.3; - * @assertion: Operator x >>> y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A2.1_T2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2.js", - -assertion: "Operator x >>> y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x >>> 1; - $ERROR('#1.1: x >>> 1 throw ReferenceError. Actual: ' + (x >>> 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x >>> 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3.js deleted file mode 100644 index 6b853a871a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A2.1_T3; - * @section: 11.7.3; - * @assertion: Operator x >>> y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A2.1_T3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3.js", - -assertion: "Operator x >>> y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 >>> y; - $ERROR('#1.1: 1 >>> y throw ReferenceError. Actual: ' + (1 >>> y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 >>> y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1.js deleted file mode 100644 index 828cb5a72f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A2.2_T1; - * @section: 11.7.3, 8.6.2.6; - * @assertion: Operator x >>> y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A2.2_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1.js", - -assertion: "Operator x >>> y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return -4}} >>> 1 !== 2147483646) { - $ERROR('#1: {valueOf: function() {return -4}} >>> 1 === 2147483646. Actual: ' + ({valueOf: function() {return -4}} >>> 1)); -} - -//CHECK#2 -if ({valueOf: function() {return -4}, toString: function() {return 0}} >>> 1 !== 2147483646) { - $ERROR('#2: {valueOf: function() {return -4}, toString: function() {return 0}} >>> 1 === 2147483646. Actual: ' + ({valueOf: function() {return -4}, toString: function() {return 0}} >>> 1)); -} - -//CHECK#3 -if ({valueOf: function() {return -4}, toString: function() {return {}}} >>> 1 !== 2147483646) { - $ERROR('#3: {valueOf: function() {return -4}, toString: function() {return {}}} >>> 1 === 2147483646. Actual: ' + ({valueOf: function() {return -4}, toString: function() {return {}}} >>> 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1 !== 2147483646) { - $ERROR('#4.1: {valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1 === 2147483646. Actual: ' + ({valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (-4 >>> {toString: function() {return 1}} !== 2147483646) { - $ERROR('#5: -4 >>> {toString: function() {return 1}} === 2147483646. Actual: ' + (-4 >>> {toString: function() {return 1}})); -} - -//CHECK#6 -if (-4 >>> {valueOf: function() {return {}}, toString: function() {return 1}} !== 2147483646) { - $ERROR('#6: -4 >>> {valueOf: function() {return {}}, toString: function() {return 1}} === 2147483646. Actual: ' + (-4 >>> {valueOf: function() {return {}}, toString: function() {return 1}})); -} - -//CHECK#7 -try { - -4 >>> {valueOf: function() {throw "error"}, toString: function() {return 1}}; - $ERROR('#7.1: -4 >>> {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (-4 >>> {valueOf: function() {throw "error"}, toString: function() {return 1}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: -4 >>> {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - -4 >>> {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: -4 >>> {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: -4 >>> {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1.js deleted file mode 100644 index c394a6b1ff..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A2.3_T1; - * @section: 11.7.3; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A2.3_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x >>> y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >>> y throw "x". Actual: ' + (x >>> y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >>> y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1.js deleted file mode 100644 index d8dc8967ac..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A2.4_T1; - * @section: 11.7.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A2.4_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) >>> x !== 0) { - $ERROR('#1: var x = 0; (x = 1) >>> x === 0. Actual: ' + ((x = 1) >>> x)); -} - -//CHECK#2 -var x = -4; -if (x >>> (x = 1) !== 2147483646) { - $ERROR('#2: var x = -4; x >>> (x = 1) === 2147483646. Actual: ' + (x >>> (x = 1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2.js deleted file mode 100644 index 2acf6dc66d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A2.4_T2; - * @section: 11.7.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A2.4_T2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() >>> y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >>> y() throw "x". Actual: ' + (x() >>> y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >>> y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3.js deleted file mode 100644 index 0c624e1d0f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A2.4_T3; - * @section: 11.7.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A2.4_T3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x >>> (x = 1); - $ERROR('#1.1: x >>> (x = 1) throw ReferenceError. Actual: ' + (x >>> (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x >>> (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) >>> y !== 0) { - $ERROR('#2: (y = 1) >>> y === 0. Actual: ' + ((y = 1) >>> y)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1.js deleted file mode 100644 index 03fe58acc6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T1.1; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T1.1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true >>> true !== 0) { - $ERROR('#1: true >>> true === 0. Actual: ' + (true >>> true)); -} - -//CHECK#2 -if (new Boolean(true) >>> true !== 0) { - $ERROR('#2: new Boolean(true) >>> true === 0. Actual: ' + (new Boolean(true) >>> true)); -} - -//CHECK#3 -if (true >>> new Boolean(true) !== 0) { - $ERROR('#3: true >>> new Boolean(true) === 0. Actual: ' + (true >>> new Boolean(true))); -} - -//CHECK#4 -if (new Boolean(true) >>> new Boolean(true) !== 0) { - $ERROR('#4: new Boolean(true) >>> new Boolean(true) === 0. Actual: ' + (new Boolean(true) >>> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2.js deleted file mode 100644 index f23cd5c527..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T1.2; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T1.2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 >>> 1 !== 0) { - $ERROR('#1: 1 >>> 1 === 0. Actual: ' + (1 >>> 1)); -} - -//CHECK#2 -if (new Number(1) >>> 1 !== 0) { - $ERROR('#2: new Number(1) >>> 1 === 0. Actual: ' + (new Number(1) >>> 1)); -} - -//CHECK#3 -if (1 >>> new Number(1) !== 0) { - $ERROR('#3: 1 >>> new Number(1) === 0. Actual: ' + (1 >>> new Number(1))); -} - -//CHECK#4 -if (new Number(1) >>> new Number(1) !== 0) { - $ERROR('#4: new Number(1) >>> new Number(1) === 0. Actual: ' + (new Number(1) >>> new Number(1))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3.js deleted file mode 100644 index fbe9cb28d0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T1.3; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) and Type(y) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T1.3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) and Type(y) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" >>> "1" !== 0) { - $ERROR('#1: "1" >>> "1" === 0. Actual: ' + ("1" >>> "1")); -} - -//CHECK#2 -if (new String("1") >>> "1" !== 0) { - $ERROR('#2: new String("1") >>> "1" === 0. Actual: ' + (new String("1") >>> "1")); -} - -//CHECK#3 -if ("1" >>> new String("1") !== 0) { - $ERROR('#3: "1" >>> new String("1") === 0. Actual: ' + ("1" >>> new String("1"))); -} - -//CHECK#4 -if (new String("1") >>> new String("1") !== 0) { - $ERROR('#4: new String("1") >>> new String("1") === 0. Actual: ' + (new String("1") >>> new String("1"))); -} - -//CHECK#5 -if ("x" >>> "1" !== 0) { - $ERROR('#5: "x" >>> "1" === 0. Actual: ' + ("x" >>> "1")); -} - -//CHECK#6 -if ("1" >>> "x" !== 1) { - $ERROR('#6: "1" >>> "x" === 1. Actual: ' + ("1" >>> "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4.js deleted file mode 100644 index e7cb8b2cf8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T1.4; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) and Type(y) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T1.4", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) and Type(y) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (null >>> undefined !== 0) { - $ERROR('#1: null >>> undefined === 0. Actual: ' + (null >>> undefined)); -} - -//CHECK#2 -if (undefined >>> null !== 0) { - $ERROR('#2: undefined >>> null === 0. Actual: ' + (undefined >>> null)); -} - -//CHECK#3 -if (undefined >>> undefined !== 0) { - $ERROR('#3: undefined >>> undefined === 0. Actual: ' + (undefined >>> undefined)); -} - -//CHECK#4 -if (null >>> null !== 0) { - $ERROR('#4: null >>> null === 0. Actual: ' + (null >>> null)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5.js deleted file mode 100644 index 424cd97ef8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T1.5; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) and Type(y) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T1.5", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) and Type(y) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} >>> function(){return 1}) !== 0) { - $ERROR('#1: ({} >>> function(){return 1}) === 0. Actual: ' + (({} >>> function(){return 1}))); -} - -//CHECK#2 -if ((function(){return 1} >>> {}) !== 0) { - $ERROR('#2: (function(){return 1} >>> {}) === 0. Actual: ' + ((function(){return 1} >>> {}))); -} - -//CHECK#3 -if ((function(){return 1} >>> function(){return 1}) !== 0) { - $ERROR('#3: (function(){return 1} >>> function(){return 1}) === 0. Actual: ' + ((function(){return 1} >>> function(){return 1}))); -} - -//CHECK#4 -if (({} >>> {}) !== 0) { - $ERROR('#4: ({} >>> {}) === 0. Actual: ' + (({} >>> {}))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1.js deleted file mode 100644 index b79baddc9d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T2.1; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T2.1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true >>> 1 !== 0) { - $ERROR('#1: true >>> 1 === 0. Actual: ' + (true >>> 1)); -} - -//CHECK#2 -if (1 >>> true !== 0) { - $ERROR('#2: 1 >>> true === 0. Actual: ' + (1 >>> true)); -} - -//CHECK#3 -if (new Boolean(true) >>> 1 !== 0) { - $ERROR('#3: new Boolean(true) >>> 1 === 0. Actual: ' + (new Boolean(true) >>> 1)); -} - -//CHECK#4 -if (1 >>> new Boolean(true) !== 0) { - $ERROR('#4: 1 >>> new Boolean(true) === 0. Actual: ' + (1 >>> new Boolean(true))); -} - -//CHECK#5 -if (true >>> new Number(1) !== 0) { - $ERROR('#5: true >>> new Number(1) === 0. Actual: ' + (true >>> new Number(1))); -} - -//CHECK#6 -if (new Number(1) >>> true !== 0) { - $ERROR('#6: new Number(1) >>> true === 0. Actual: ' + (new Number(1) >>> true)); -} - -//CHECK#7 -if (new Boolean(true) >>> new Number(1) !== 0) { - $ERROR('#7: new Boolean(true) >>> new Number(1) === 0. Actual: ' + (new Boolean(true) >>> new Number(1))); -} - -//CHECK#8 -if (new Number(1) >>> new Boolean(true) !== 0) { - $ERROR('#8: new Number(1) >>> new Boolean(true) === 0. Actual: ' + (new Number(1) >>> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2.js deleted file mode 100644 index 67ba0a9aef..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T2.2; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T2.2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" >>> 1 !== 0) { - $ERROR('#1: "1" >>> 1 === 0. Actual: ' + ("1" >>> 1)); -} - -//CHECK#2 -if (1 >>> "1" !== 0) { - $ERROR('#2: 1 >>> "1" === 0. Actual: ' + (1 >>> "1")); -} - -//CHECK#3 -if (new String("1") >>> 1 !== 0) { - $ERROR('#3: new String("1") >>> 1 === 0. Actual: ' + (new String("1") >>> 1)); -} - -//CHECK#4 -if (1 >>> new String("1") !== 0) { - $ERROR('#4: 1 >>> new String("1") === 0. Actual: ' + (1 >>> new String("1"))); -} - -//CHECK#5 -if ("1" >>> new Number(1) !== 0) { - $ERROR('#5: "1" >>> new Number(1) === 0. Actual: ' + ("1" >>> new Number(1))); -} - -//CHECK#6 -if (new Number(1) >>> "1" !== 0) { - $ERROR('#6: new Number(1) >>> "1" === 0. Actual: ' + (new Number(1) >>> "1")); -} - -//CHECK#7 -if (new String("1") >>> new Number(1) !== 0) { - $ERROR('#7: new String("1") >>> new Number(1) === 0. Actual: ' + (new String("1") >>> new Number(1))); -} - -//CHECK#8 -if (new Number(1) >>> new String("1") !== 0) { - $ERROR('#8: new Number(1) >>> new String("1") === 0. Actual: ' + (new Number(1) >>> new String("1"))); -} - -//CHECK#9 -if ("x" >>> 1 !== 0) { - $ERROR('#9: "x" >>> 1 === 0. Actual: ' + ("x" >>> 1)); -} - -//CHECK#10 -if (1 >>> "x" !== 1) { - $ERROR('#10: 1 >>> "x" === 1. Actual: ' + (1 >>> "x")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3.js deleted file mode 100644 index df27f492b6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T2.3; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T2.3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 >>> null !== 1) { - $ERROR('#1: 1 >>> null === 1. Actual: ' + (1 >>> null)); -} - -//CHECK#2 -if (null >>> 1 !== 0) { - $ERROR('#2: null >>> 1 === 0. Actual: ' + (null >>> 1)); -} - -//CHECK#3 -if (new Number(1) >>> null !== 1) { - $ERROR('#3: new Number(1) >>> null === 1. Actual: ' + (new Number(1) >>> null)); -} - -//CHECK#4 -if (null >>> new Number(1) !== 0) { - $ERROR('#4: null >>> new Number(1) === 0. Actual: ' + (null >>> new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4.js deleted file mode 100644 index 98c67fc3ff..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T2.4; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T2.4", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (1 >>> undefined !== 1) { - $ERROR('#1: 1 >>> undefined === 1. Actual: ' + (1 >>> undefined)); -} - -//CHECK#2 -if (undefined >>> 1 !== 0) { - $ERROR('#2: undefined >>> 1 === 0. Actual: ' + (undefined >>> 1)); -} - -//CHECK#3 -if (new Number(1) >>> undefined !== 1) { - $ERROR('#3: new Number(1) >>> undefined === 1. Actual: ' + (new Number(1) >>> undefined)); -} - -//CHECK#4 -if (undefined >>> new Number(1) !== 0) { - $ERROR('#4: undefined >>> new Number(1) === 0. Actual: ' + (undefined >>> new Number(1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5.js deleted file mode 100644 index 7544768586..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T2.5; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T2.5", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true >>> "1" !== 0) { - $ERROR('#1: true >>> "1" === 0. Actual: ' + (true >>> "1")); -} - -//CHECK#2 -if ("1" >>> true !== 0) { - $ERROR('#2: "1" >>> true === 0. Actual: ' + ("1" >>> true)); -} - -//CHECK#3 -if (new Boolean(true) >>> "1" !== 0) { - $ERROR('#3: new Boolean(true) >>> "1" === 0. Actual: ' + (new Boolean(true) >>> "1")); -} - -//CHECK#4 -if ("1" >>> new Boolean(true) !== 0) { - $ERROR('#4: "1" >>> new Boolean(true) === 0. Actual: ' + ("1" >>> new Boolean(true))); -} - -//CHECK#5 -if (true >>> new String("1") !== 0) { - $ERROR('#5: true >>> new String("1") === 0. Actual: ' + (true >>> new String("1"))); -} - -//CHECK#6 -if (new String("1") >>> true !== 0) { - $ERROR('#6: new String("1") >>> true === 0. Actual: ' + (new String("1") >>> true)); -} - -//CHECK#7 -if (new Boolean(true) >>> new String("1") !== 0) { - $ERROR('#7: new Boolean(true) >>> new String("1") === 0. Actual: ' + (new Boolean(true) >>> new String("1"))); -} - -//CHECK#8 -if (new String("1") >>> new Boolean(true) !== 0) { - $ERROR('#8: new String("1") >>> new Boolean(true) === 0. Actual: ' + (new String("1") >>> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6.js deleted file mode 100644 index 130daa3844..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T2.6; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T2.6", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ("1" >>> undefined !== 1) { - $ERROR('#1: "1" >>> undefined === 1. Actual: ' + ("1" >>> undefined)); -} - -//CHECK#2 -if (undefined >>> "1" !== 0) { - $ERROR('#2: undefined >>> "1" === 0. Actual: ' + (undefined >>> "1")); -} - -//CHECK#3 -if (new String("1") >>> undefined !== 1) { - $ERROR('#3: new String("1") >>> undefined === 1. Actual: ' + (new String("1") >>> undefined)); -} - -//CHECK#4 -if (undefined >>> new String("1") !== 0) { - $ERROR('#4: undefined >>> new String("1") === 0. Actual: ' + (undefined >>> new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7.js deleted file mode 100644 index e6df0615a8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T2.7; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T2.7", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" >>> null !== 1) { - $ERROR('#1: "1" >>> null === 1. Actual: ' + ("1" >>> null)); -} - -//CHECK#2 -if (null >>> "1" !== 0) { - $ERROR('#2: null >>> "1" === 0. Actual: ' + (null >>> "1")); -} - -//CHECK#3 -if (new String("1") >>> null !== 1) { - $ERROR('#3: new String("1") >>> null === 1. Actual: ' + (new String("1") >>> null)); -} - -//CHECK#4 -if (null >>> new String("1") !== 0) { - $ERROR('#4: null >>> new String("1") === 0. Actual: ' + (null >>> new String("1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8.js deleted file mode 100644 index 52eb55e4ac..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T2.8; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T2.8", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (true >>> undefined !== 1) { - $ERROR('#1: true >>> undefined === 1. Actual: ' + (true >>> undefined)); -} - -//CHECK#2 -if (undefined >>> true !== 0) { - $ERROR('#2: undefined >>> true === 0. Actual: ' + (undefined >>> true)); -} - -//CHECK#3 -if (new Boolean(true) >>> undefined !== 1) { - $ERROR('#3: new Boolean(true) >>> undefined === 1. Actual: ' + (new Boolean(true) >>> undefined)); -} - -//CHECK#4 -if (undefined >>> new Boolean(true) !== 0) { - $ERROR('#4: undefined >>> new Boolean(true) === 0. Actual: ' + (undefined >>> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9.js deleted file mode 100644 index 881e5b37a9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A3_T2.9; - * @section: 11.7.3; - * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); - * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A3_T2.9", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9.js", - -assertion: "Operator x >>> y returns ToNumber(x) >>> ToNumber(y)", - -description: "Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true >>> null !== 1) { - $ERROR('#1: true >>> null === 1. Actual: ' + (true >>> null)); -} - -//CHECK#2 -if (null >>> true !== 0) { - $ERROR('#2: null >>> true === 0. Actual: ' + (null >>> true)); -} - -//CHECK#3 -if (new Boolean(true) >>> null !== 1) { - $ERROR('#3: new Boolean(true) >>> null === 1. Actual: ' + (new Boolean(true) >>> null)); -} - -//CHECK#4 -if (null >>> new Boolean(true) !== 0) { - $ERROR('#4: null >>> new Boolean(true) === 0. Actual: ' + (null >>> new Boolean(true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.js deleted file mode 100644 index 13a44616a8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.js +++ /dev/null @@ -1,2587 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A4_T1; - * @section: 11.7.3; - * @assertion: Check operator x >>> y in distinct points; - * @description: ShiftExpression = 2^n, n = 0...15; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A4_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.js", - -assertion: "Check operator x >>> y in distinct points", - -description: "ShiftExpression = 2^n, n = 0...15", - -test: function testcase() { - //CHECK - -if (1 >>> 0 !== 1) { - $ERROR('#1: 1 >>> 0 === 1. Actual: ' + (1 >>> 0)); -} - - -if (2 >>> 0 !== 2) { - $ERROR('#2: 2 >>> 0 === 2. Actual: ' + (2 >>> 0)); -} - - -if (4 >>> 0 !== 4) { - $ERROR('#3: 4 >>> 0 === 4. Actual: ' + (4 >>> 0)); -} - - -if (8 >>> 0 !== 8) { - $ERROR('#4: 8 >>> 0 === 8. Actual: ' + (8 >>> 0)); -} - - -if (16 >>> 0 !== 16) { - $ERROR('#5: 16 >>> 0 === 16. Actual: ' + (16 >>> 0)); -} - - -if (32 >>> 0 !== 32) { - $ERROR('#6: 32 >>> 0 === 32. Actual: ' + (32 >>> 0)); -} - - -if (64 >>> 0 !== 64) { - $ERROR('#7: 64 >>> 0 === 64. Actual: ' + (64 >>> 0)); -} - - -if (128 >>> 0 !== 128) { - $ERROR('#8: 128 >>> 0 === 128. Actual: ' + (128 >>> 0)); -} - - -if (256 >>> 0 !== 256) { - $ERROR('#9: 256 >>> 0 === 256. Actual: ' + (256 >>> 0)); -} - - -if (512 >>> 0 !== 512) { - $ERROR('#10: 512 >>> 0 === 512. Actual: ' + (512 >>> 0)); -} - - -if (1024 >>> 0 !== 1024) { - $ERROR('#11: 1024 >>> 0 === 1024. Actual: ' + (1024 >>> 0)); -} - - -if (2048 >>> 0 !== 2048) { - $ERROR('#12: 2048 >>> 0 === 2048. Actual: ' + (2048 >>> 0)); -} - - -if (4096 >>> 0 !== 4096) { - $ERROR('#13: 4096 >>> 0 === 4096. Actual: ' + (4096 >>> 0)); -} - - -if (8192 >>> 0 !== 8192) { - $ERROR('#14: 8192 >>> 0 === 8192. Actual: ' + (8192 >>> 0)); -} - - -if (16384 >>> 0 !== 16384) { - $ERROR('#15: 16384 >>> 0 === 16384. Actual: ' + (16384 >>> 0)); -} - - -if (32768 >>> 0 !== 32768) { - $ERROR('#16: 32768 >>> 0 === 32768. Actual: ' + (32768 >>> 0)); -} - - -if (65536 >>> 0 !== 65536) { - $ERROR('#17: 65536 >>> 0 === 65536. Actual: ' + (65536 >>> 0)); -} - - -if (131072 >>> 0 !== 131072) { - $ERROR('#18: 131072 >>> 0 === 131072. Actual: ' + (131072 >>> 0)); -} - - -if (262144 >>> 0 !== 262144) { - $ERROR('#19: 262144 >>> 0 === 262144. Actual: ' + (262144 >>> 0)); -} - - -if (524288 >>> 0 !== 524288) { - $ERROR('#20: 524288 >>> 0 === 524288. Actual: ' + (524288 >>> 0)); -} - - -if (1048576 >>> 0 !== 1048576) { - $ERROR('#21: 1048576 >>> 0 === 1048576. Actual: ' + (1048576 >>> 0)); -} - - -if (2097152 >>> 0 !== 2097152) { - $ERROR('#22: 2097152 >>> 0 === 2097152. Actual: ' + (2097152 >>> 0)); -} - - -if (4194304 >>> 0 !== 4194304) { - $ERROR('#23: 4194304 >>> 0 === 4194304. Actual: ' + (4194304 >>> 0)); -} - - -if (8388608 >>> 0 !== 8388608) { - $ERROR('#24: 8388608 >>> 0 === 8388608. Actual: ' + (8388608 >>> 0)); -} - - -if (16777216 >>> 0 !== 16777216) { - $ERROR('#25: 16777216 >>> 0 === 16777216. Actual: ' + (16777216 >>> 0)); -} - - -if (33554432 >>> 0 !== 33554432) { - $ERROR('#26: 33554432 >>> 0 === 33554432. Actual: ' + (33554432 >>> 0)); -} - - -if (67108864 >>> 0 !== 67108864) { - $ERROR('#27: 67108864 >>> 0 === 67108864. Actual: ' + (67108864 >>> 0)); -} - - -if (134217728 >>> 0 !== 134217728) { - $ERROR('#28: 134217728 >>> 0 === 134217728. Actual: ' + (134217728 >>> 0)); -} - - -if (268435456 >>> 0 !== 268435456) { - $ERROR('#29: 268435456 >>> 0 === 268435456. Actual: ' + (268435456 >>> 0)); -} - - -if (536870912 >>> 0 !== 536870912) { - $ERROR('#30: 536870912 >>> 0 === 536870912. Actual: ' + (536870912 >>> 0)); -} - - -if (1073741824 >>> 0 !== 1073741824) { - $ERROR('#31: 1073741824 >>> 0 === 1073741824. Actual: ' + (1073741824 >>> 0)); -} - - -if (2147483648 >>> 0 !== 2147483648) { - $ERROR('#32: 2147483648 >>> 0 === 2147483648. Actual: ' + (2147483648 >>> 0)); -} - - -if (1 >>> 1 !== 0) { - $ERROR('#33: 1 >>> 1 === 0. Actual: ' + (1 >>> 1)); -} - - -if (2 >>> 1 !== 1) { - $ERROR('#34: 2 >>> 1 === 1. Actual: ' + (2 >>> 1)); -} - - -if (4 >>> 1 !== 2) { - $ERROR('#35: 4 >>> 1 === 2. Actual: ' + (4 >>> 1)); -} - - -if (8 >>> 1 !== 4) { - $ERROR('#36: 8 >>> 1 === 4. Actual: ' + (8 >>> 1)); -} - - -if (16 >>> 1 !== 8) { - $ERROR('#37: 16 >>> 1 === 8. Actual: ' + (16 >>> 1)); -} - - -if (32 >>> 1 !== 16) { - $ERROR('#38: 32 >>> 1 === 16. Actual: ' + (32 >>> 1)); -} - - -if (64 >>> 1 !== 32) { - $ERROR('#39: 64 >>> 1 === 32. Actual: ' + (64 >>> 1)); -} - - -if (128 >>> 1 !== 64) { - $ERROR('#40: 128 >>> 1 === 64. Actual: ' + (128 >>> 1)); -} - - -if (256 >>> 1 !== 128) { - $ERROR('#41: 256 >>> 1 === 128. Actual: ' + (256 >>> 1)); -} - - -if (512 >>> 1 !== 256) { - $ERROR('#42: 512 >>> 1 === 256. Actual: ' + (512 >>> 1)); -} - - -if (1024 >>> 1 !== 512) { - $ERROR('#43: 1024 >>> 1 === 512. Actual: ' + (1024 >>> 1)); -} - - -if (2048 >>> 1 !== 1024) { - $ERROR('#44: 2048 >>> 1 === 1024. Actual: ' + (2048 >>> 1)); -} - - -if (4096 >>> 1 !== 2048) { - $ERROR('#45: 4096 >>> 1 === 2048. Actual: ' + (4096 >>> 1)); -} - - -if (8192 >>> 1 !== 4096) { - $ERROR('#46: 8192 >>> 1 === 4096. Actual: ' + (8192 >>> 1)); -} - - -if (16384 >>> 1 !== 8192) { - $ERROR('#47: 16384 >>> 1 === 8192. Actual: ' + (16384 >>> 1)); -} - - -if (32768 >>> 1 !== 16384) { - $ERROR('#48: 32768 >>> 1 === 16384. Actual: ' + (32768 >>> 1)); -} - - -if (65536 >>> 1 !== 32768) { - $ERROR('#49: 65536 >>> 1 === 32768. Actual: ' + (65536 >>> 1)); -} - - -if (131072 >>> 1 !== 65536) { - $ERROR('#50: 131072 >>> 1 === 65536. Actual: ' + (131072 >>> 1)); -} - - -if (262144 >>> 1 !== 131072) { - $ERROR('#51: 262144 >>> 1 === 131072. Actual: ' + (262144 >>> 1)); -} - - -if (524288 >>> 1 !== 262144) { - $ERROR('#52: 524288 >>> 1 === 262144. Actual: ' + (524288 >>> 1)); -} - - -if (1048576 >>> 1 !== 524288) { - $ERROR('#53: 1048576 >>> 1 === 524288. Actual: ' + (1048576 >>> 1)); -} - - -if (2097152 >>> 1 !== 1048576) { - $ERROR('#54: 2097152 >>> 1 === 1048576. Actual: ' + (2097152 >>> 1)); -} - - -if (4194304 >>> 1 !== 2097152) { - $ERROR('#55: 4194304 >>> 1 === 2097152. Actual: ' + (4194304 >>> 1)); -} - - -if (8388608 >>> 1 !== 4194304) { - $ERROR('#56: 8388608 >>> 1 === 4194304. Actual: ' + (8388608 >>> 1)); -} - - -if (16777216 >>> 1 !== 8388608) { - $ERROR('#57: 16777216 >>> 1 === 8388608. Actual: ' + (16777216 >>> 1)); -} - - -if (33554432 >>> 1 !== 16777216) { - $ERROR('#58: 33554432 >>> 1 === 16777216. Actual: ' + (33554432 >>> 1)); -} - - -if (67108864 >>> 1 !== 33554432) { - $ERROR('#59: 67108864 >>> 1 === 33554432. Actual: ' + (67108864 >>> 1)); -} - - -if (134217728 >>> 1 !== 67108864) { - $ERROR('#60: 134217728 >>> 1 === 67108864. Actual: ' + (134217728 >>> 1)); -} - - -if (268435456 >>> 1 !== 134217728) { - $ERROR('#61: 268435456 >>> 1 === 134217728. Actual: ' + (268435456 >>> 1)); -} - - -if (536870912 >>> 1 !== 268435456) { - $ERROR('#62: 536870912 >>> 1 === 268435456. Actual: ' + (536870912 >>> 1)); -} - - -if (1073741824 >>> 1 !== 536870912) { - $ERROR('#63: 1073741824 >>> 1 === 536870912. Actual: ' + (1073741824 >>> 1)); -} - - -if (2147483648 >>> 1 !== 1073741824) { - $ERROR('#64: 2147483648 >>> 1 === 1073741824. Actual: ' + (2147483648 >>> 1)); -} - - -if (1 >>> 2 !== 0) { - $ERROR('#65: 1 >>> 2 === 0. Actual: ' + (1 >>> 2)); -} - - -if (2 >>> 2 !== 0) { - $ERROR('#66: 2 >>> 2 === 0. Actual: ' + (2 >>> 2)); -} - - -if (4 >>> 2 !== 1) { - $ERROR('#67: 4 >>> 2 === 1. Actual: ' + (4 >>> 2)); -} - - -if (8 >>> 2 !== 2) { - $ERROR('#68: 8 >>> 2 === 2. Actual: ' + (8 >>> 2)); -} - - -if (16 >>> 2 !== 4) { - $ERROR('#69: 16 >>> 2 === 4. Actual: ' + (16 >>> 2)); -} - - -if (32 >>> 2 !== 8) { - $ERROR('#70: 32 >>> 2 === 8. Actual: ' + (32 >>> 2)); -} - - -if (64 >>> 2 !== 16) { - $ERROR('#71: 64 >>> 2 === 16. Actual: ' + (64 >>> 2)); -} - - -if (128 >>> 2 !== 32) { - $ERROR('#72: 128 >>> 2 === 32. Actual: ' + (128 >>> 2)); -} - - -if (256 >>> 2 !== 64) { - $ERROR('#73: 256 >>> 2 === 64. Actual: ' + (256 >>> 2)); -} - - -if (512 >>> 2 !== 128) { - $ERROR('#74: 512 >>> 2 === 128. Actual: ' + (512 >>> 2)); -} - - -if (1024 >>> 2 !== 256) { - $ERROR('#75: 1024 >>> 2 === 256. Actual: ' + (1024 >>> 2)); -} - - -if (2048 >>> 2 !== 512) { - $ERROR('#76: 2048 >>> 2 === 512. Actual: ' + (2048 >>> 2)); -} - - -if (4096 >>> 2 !== 1024) { - $ERROR('#77: 4096 >>> 2 === 1024. Actual: ' + (4096 >>> 2)); -} - - -if (8192 >>> 2 !== 2048) { - $ERROR('#78: 8192 >>> 2 === 2048. Actual: ' + (8192 >>> 2)); -} - - -if (16384 >>> 2 !== 4096) { - $ERROR('#79: 16384 >>> 2 === 4096. Actual: ' + (16384 >>> 2)); -} - - -if (32768 >>> 2 !== 8192) { - $ERROR('#80: 32768 >>> 2 === 8192. Actual: ' + (32768 >>> 2)); -} - - -if (65536 >>> 2 !== 16384) { - $ERROR('#81: 65536 >>> 2 === 16384. Actual: ' + (65536 >>> 2)); -} - - -if (131072 >>> 2 !== 32768) { - $ERROR('#82: 131072 >>> 2 === 32768. Actual: ' + (131072 >>> 2)); -} - - -if (262144 >>> 2 !== 65536) { - $ERROR('#83: 262144 >>> 2 === 65536. Actual: ' + (262144 >>> 2)); -} - - -if (524288 >>> 2 !== 131072) { - $ERROR('#84: 524288 >>> 2 === 131072. Actual: ' + (524288 >>> 2)); -} - - -if (1048576 >>> 2 !== 262144) { - $ERROR('#85: 1048576 >>> 2 === 262144. Actual: ' + (1048576 >>> 2)); -} - - -if (2097152 >>> 2 !== 524288) { - $ERROR('#86: 2097152 >>> 2 === 524288. Actual: ' + (2097152 >>> 2)); -} - - -if (4194304 >>> 2 !== 1048576) { - $ERROR('#87: 4194304 >>> 2 === 1048576. Actual: ' + (4194304 >>> 2)); -} - - -if (8388608 >>> 2 !== 2097152) { - $ERROR('#88: 8388608 >>> 2 === 2097152. Actual: ' + (8388608 >>> 2)); -} - - -if (16777216 >>> 2 !== 4194304) { - $ERROR('#89: 16777216 >>> 2 === 4194304. Actual: ' + (16777216 >>> 2)); -} - - -if (33554432 >>> 2 !== 8388608) { - $ERROR('#90: 33554432 >>> 2 === 8388608. Actual: ' + (33554432 >>> 2)); -} - - -if (67108864 >>> 2 !== 16777216) { - $ERROR('#91: 67108864 >>> 2 === 16777216. Actual: ' + (67108864 >>> 2)); -} - - -if (134217728 >>> 2 !== 33554432) { - $ERROR('#92: 134217728 >>> 2 === 33554432. Actual: ' + (134217728 >>> 2)); -} - - -if (268435456 >>> 2 !== 67108864) { - $ERROR('#93: 268435456 >>> 2 === 67108864. Actual: ' + (268435456 >>> 2)); -} - - -if (536870912 >>> 2 !== 134217728) { - $ERROR('#94: 536870912 >>> 2 === 134217728. Actual: ' + (536870912 >>> 2)); -} - - -if (1073741824 >>> 2 !== 268435456) { - $ERROR('#95: 1073741824 >>> 2 === 268435456. Actual: ' + (1073741824 >>> 2)); -} - - -if (2147483648 >>> 2 !== 536870912) { - $ERROR('#96: 2147483648 >>> 2 === 536870912. Actual: ' + (2147483648 >>> 2)); -} - - -if (1 >>> 3 !== 0) { - $ERROR('#97: 1 >>> 3 === 0. Actual: ' + (1 >>> 3)); -} - - -if (2 >>> 3 !== 0) { - $ERROR('#98: 2 >>> 3 === 0. Actual: ' + (2 >>> 3)); -} - - -if (4 >>> 3 !== 0) { - $ERROR('#99: 4 >>> 3 === 0. Actual: ' + (4 >>> 3)); -} - - -if (8 >>> 3 !== 1) { - $ERROR('#100: 8 >>> 3 === 1. Actual: ' + (8 >>> 3)); -} - - -if (16 >>> 3 !== 2) { - $ERROR('#101: 16 >>> 3 === 2. Actual: ' + (16 >>> 3)); -} - - -if (32 >>> 3 !== 4) { - $ERROR('#102: 32 >>> 3 === 4. Actual: ' + (32 >>> 3)); -} - - -if (64 >>> 3 !== 8) { - $ERROR('#103: 64 >>> 3 === 8. Actual: ' + (64 >>> 3)); -} - - -if (128 >>> 3 !== 16) { - $ERROR('#104: 128 >>> 3 === 16. Actual: ' + (128 >>> 3)); -} - - -if (256 >>> 3 !== 32) { - $ERROR('#105: 256 >>> 3 === 32. Actual: ' + (256 >>> 3)); -} - - -if (512 >>> 3 !== 64) { - $ERROR('#106: 512 >>> 3 === 64. Actual: ' + (512 >>> 3)); -} - - -if (1024 >>> 3 !== 128) { - $ERROR('#107: 1024 >>> 3 === 128. Actual: ' + (1024 >>> 3)); -} - - -if (2048 >>> 3 !== 256) { - $ERROR('#108: 2048 >>> 3 === 256. Actual: ' + (2048 >>> 3)); -} - - -if (4096 >>> 3 !== 512) { - $ERROR('#109: 4096 >>> 3 === 512. Actual: ' + (4096 >>> 3)); -} - - -if (8192 >>> 3 !== 1024) { - $ERROR('#110: 8192 >>> 3 === 1024. Actual: ' + (8192 >>> 3)); -} - - -if (16384 >>> 3 !== 2048) { - $ERROR('#111: 16384 >>> 3 === 2048. Actual: ' + (16384 >>> 3)); -} - - -if (32768 >>> 3 !== 4096) { - $ERROR('#112: 32768 >>> 3 === 4096. Actual: ' + (32768 >>> 3)); -} - - -if (65536 >>> 3 !== 8192) { - $ERROR('#113: 65536 >>> 3 === 8192. Actual: ' + (65536 >>> 3)); -} - - -if (131072 >>> 3 !== 16384) { - $ERROR('#114: 131072 >>> 3 === 16384. Actual: ' + (131072 >>> 3)); -} - - -if (262144 >>> 3 !== 32768) { - $ERROR('#115: 262144 >>> 3 === 32768. Actual: ' + (262144 >>> 3)); -} - - -if (524288 >>> 3 !== 65536) { - $ERROR('#116: 524288 >>> 3 === 65536. Actual: ' + (524288 >>> 3)); -} - - -if (1048576 >>> 3 !== 131072) { - $ERROR('#117: 1048576 >>> 3 === 131072. Actual: ' + (1048576 >>> 3)); -} - - -if (2097152 >>> 3 !== 262144) { - $ERROR('#118: 2097152 >>> 3 === 262144. Actual: ' + (2097152 >>> 3)); -} - - -if (4194304 >>> 3 !== 524288) { - $ERROR('#119: 4194304 >>> 3 === 524288. Actual: ' + (4194304 >>> 3)); -} - - -if (8388608 >>> 3 !== 1048576) { - $ERROR('#120: 8388608 >>> 3 === 1048576. Actual: ' + (8388608 >>> 3)); -} - - -if (16777216 >>> 3 !== 2097152) { - $ERROR('#121: 16777216 >>> 3 === 2097152. Actual: ' + (16777216 >>> 3)); -} - - -if (33554432 >>> 3 !== 4194304) { - $ERROR('#122: 33554432 >>> 3 === 4194304. Actual: ' + (33554432 >>> 3)); -} - - -if (67108864 >>> 3 !== 8388608) { - $ERROR('#123: 67108864 >>> 3 === 8388608. Actual: ' + (67108864 >>> 3)); -} - - -if (134217728 >>> 3 !== 16777216) { - $ERROR('#124: 134217728 >>> 3 === 16777216. Actual: ' + (134217728 >>> 3)); -} - - -if (268435456 >>> 3 !== 33554432) { - $ERROR('#125: 268435456 >>> 3 === 33554432. Actual: ' + (268435456 >>> 3)); -} - - -if (536870912 >>> 3 !== 67108864) { - $ERROR('#126: 536870912 >>> 3 === 67108864. Actual: ' + (536870912 >>> 3)); -} - - -if (1073741824 >>> 3 !== 134217728) { - $ERROR('#127: 1073741824 >>> 3 === 134217728. Actual: ' + (1073741824 >>> 3)); -} - - -if (2147483648 >>> 3 !== 268435456) { - $ERROR('#128: 2147483648 >>> 3 === 268435456. Actual: ' + (2147483648 >>> 3)); -} - - -if (1 >>> 4 !== 0) { - $ERROR('#129: 1 >>> 4 === 0. Actual: ' + (1 >>> 4)); -} - - -if (2 >>> 4 !== 0) { - $ERROR('#130: 2 >>> 4 === 0. Actual: ' + (2 >>> 4)); -} - - -if (4 >>> 4 !== 0) { - $ERROR('#131: 4 >>> 4 === 0. Actual: ' + (4 >>> 4)); -} - - -if (8 >>> 4 !== 0) { - $ERROR('#132: 8 >>> 4 === 0. Actual: ' + (8 >>> 4)); -} - - -if (16 >>> 4 !== 1) { - $ERROR('#133: 16 >>> 4 === 1. Actual: ' + (16 >>> 4)); -} - - -if (32 >>> 4 !== 2) { - $ERROR('#134: 32 >>> 4 === 2. Actual: ' + (32 >>> 4)); -} - - -if (64 >>> 4 !== 4) { - $ERROR('#135: 64 >>> 4 === 4. Actual: ' + (64 >>> 4)); -} - - -if (128 >>> 4 !== 8) { - $ERROR('#136: 128 >>> 4 === 8. Actual: ' + (128 >>> 4)); -} - - -if (256 >>> 4 !== 16) { - $ERROR('#137: 256 >>> 4 === 16. Actual: ' + (256 >>> 4)); -} - - -if (512 >>> 4 !== 32) { - $ERROR('#138: 512 >>> 4 === 32. Actual: ' + (512 >>> 4)); -} - - -if (1024 >>> 4 !== 64) { - $ERROR('#139: 1024 >>> 4 === 64. Actual: ' + (1024 >>> 4)); -} - - -if (2048 >>> 4 !== 128) { - $ERROR('#140: 2048 >>> 4 === 128. Actual: ' + (2048 >>> 4)); -} - - -if (4096 >>> 4 !== 256) { - $ERROR('#141: 4096 >>> 4 === 256. Actual: ' + (4096 >>> 4)); -} - - -if (8192 >>> 4 !== 512) { - $ERROR('#142: 8192 >>> 4 === 512. Actual: ' + (8192 >>> 4)); -} - - -if (16384 >>> 4 !== 1024) { - $ERROR('#143: 16384 >>> 4 === 1024. Actual: ' + (16384 >>> 4)); -} - - -if (32768 >>> 4 !== 2048) { - $ERROR('#144: 32768 >>> 4 === 2048. Actual: ' + (32768 >>> 4)); -} - - -if (65536 >>> 4 !== 4096) { - $ERROR('#145: 65536 >>> 4 === 4096. Actual: ' + (65536 >>> 4)); -} - - -if (131072 >>> 4 !== 8192) { - $ERROR('#146: 131072 >>> 4 === 8192. Actual: ' + (131072 >>> 4)); -} - - -if (262144 >>> 4 !== 16384) { - $ERROR('#147: 262144 >>> 4 === 16384. Actual: ' + (262144 >>> 4)); -} - - -if (524288 >>> 4 !== 32768) { - $ERROR('#148: 524288 >>> 4 === 32768. Actual: ' + (524288 >>> 4)); -} - - -if (1048576 >>> 4 !== 65536) { - $ERROR('#149: 1048576 >>> 4 === 65536. Actual: ' + (1048576 >>> 4)); -} - - -if (2097152 >>> 4 !== 131072) { - $ERROR('#150: 2097152 >>> 4 === 131072. Actual: ' + (2097152 >>> 4)); -} - - -if (4194304 >>> 4 !== 262144) { - $ERROR('#151: 4194304 >>> 4 === 262144. Actual: ' + (4194304 >>> 4)); -} - - -if (8388608 >>> 4 !== 524288) { - $ERROR('#152: 8388608 >>> 4 === 524288. Actual: ' + (8388608 >>> 4)); -} - - -if (16777216 >>> 4 !== 1048576) { - $ERROR('#153: 16777216 >>> 4 === 1048576. Actual: ' + (16777216 >>> 4)); -} - - -if (33554432 >>> 4 !== 2097152) { - $ERROR('#154: 33554432 >>> 4 === 2097152. Actual: ' + (33554432 >>> 4)); -} - - -if (67108864 >>> 4 !== 4194304) { - $ERROR('#155: 67108864 >>> 4 === 4194304. Actual: ' + (67108864 >>> 4)); -} - - -if (134217728 >>> 4 !== 8388608) { - $ERROR('#156: 134217728 >>> 4 === 8388608. Actual: ' + (134217728 >>> 4)); -} - - -if (268435456 >>> 4 !== 16777216) { - $ERROR('#157: 268435456 >>> 4 === 16777216. Actual: ' + (268435456 >>> 4)); -} - - -if (536870912 >>> 4 !== 33554432) { - $ERROR('#158: 536870912 >>> 4 === 33554432. Actual: ' + (536870912 >>> 4)); -} - - -if (1073741824 >>> 4 !== 67108864) { - $ERROR('#159: 1073741824 >>> 4 === 67108864. Actual: ' + (1073741824 >>> 4)); -} - - -if (2147483648 >>> 4 !== 134217728) { - $ERROR('#160: 2147483648 >>> 4 === 134217728. Actual: ' + (2147483648 >>> 4)); -} - - -if (1 >>> 5 !== 0) { - $ERROR('#161: 1 >>> 5 === 0. Actual: ' + (1 >>> 5)); -} - - -if (2 >>> 5 !== 0) { - $ERROR('#162: 2 >>> 5 === 0. Actual: ' + (2 >>> 5)); -} - - -if (4 >>> 5 !== 0) { - $ERROR('#163: 4 >>> 5 === 0. Actual: ' + (4 >>> 5)); -} - - -if (8 >>> 5 !== 0) { - $ERROR('#164: 8 >>> 5 === 0. Actual: ' + (8 >>> 5)); -} - - -if (16 >>> 5 !== 0) { - $ERROR('#165: 16 >>> 5 === 0. Actual: ' + (16 >>> 5)); -} - - -if (32 >>> 5 !== 1) { - $ERROR('#166: 32 >>> 5 === 1. Actual: ' + (32 >>> 5)); -} - - -if (64 >>> 5 !== 2) { - $ERROR('#167: 64 >>> 5 === 2. Actual: ' + (64 >>> 5)); -} - - -if (128 >>> 5 !== 4) { - $ERROR('#168: 128 >>> 5 === 4. Actual: ' + (128 >>> 5)); -} - - -if (256 >>> 5 !== 8) { - $ERROR('#169: 256 >>> 5 === 8. Actual: ' + (256 >>> 5)); -} - - -if (512 >>> 5 !== 16) { - $ERROR('#170: 512 >>> 5 === 16. Actual: ' + (512 >>> 5)); -} - - -if (1024 >>> 5 !== 32) { - $ERROR('#171: 1024 >>> 5 === 32. Actual: ' + (1024 >>> 5)); -} - - -if (2048 >>> 5 !== 64) { - $ERROR('#172: 2048 >>> 5 === 64. Actual: ' + (2048 >>> 5)); -} - - -if (4096 >>> 5 !== 128) { - $ERROR('#173: 4096 >>> 5 === 128. Actual: ' + (4096 >>> 5)); -} - - -if (8192 >>> 5 !== 256) { - $ERROR('#174: 8192 >>> 5 === 256. Actual: ' + (8192 >>> 5)); -} - - -if (16384 >>> 5 !== 512) { - $ERROR('#175: 16384 >>> 5 === 512. Actual: ' + (16384 >>> 5)); -} - - -if (32768 >>> 5 !== 1024) { - $ERROR('#176: 32768 >>> 5 === 1024. Actual: ' + (32768 >>> 5)); -} - - -if (65536 >>> 5 !== 2048) { - $ERROR('#177: 65536 >>> 5 === 2048. Actual: ' + (65536 >>> 5)); -} - - -if (131072 >>> 5 !== 4096) { - $ERROR('#178: 131072 >>> 5 === 4096. Actual: ' + (131072 >>> 5)); -} - - -if (262144 >>> 5 !== 8192) { - $ERROR('#179: 262144 >>> 5 === 8192. Actual: ' + (262144 >>> 5)); -} - - -if (524288 >>> 5 !== 16384) { - $ERROR('#180: 524288 >>> 5 === 16384. Actual: ' + (524288 >>> 5)); -} - - -if (1048576 >>> 5 !== 32768) { - $ERROR('#181: 1048576 >>> 5 === 32768. Actual: ' + (1048576 >>> 5)); -} - - -if (2097152 >>> 5 !== 65536) { - $ERROR('#182: 2097152 >>> 5 === 65536. Actual: ' + (2097152 >>> 5)); -} - - -if (4194304 >>> 5 !== 131072) { - $ERROR('#183: 4194304 >>> 5 === 131072. Actual: ' + (4194304 >>> 5)); -} - - -if (8388608 >>> 5 !== 262144) { - $ERROR('#184: 8388608 >>> 5 === 262144. Actual: ' + (8388608 >>> 5)); -} - - -if (16777216 >>> 5 !== 524288) { - $ERROR('#185: 16777216 >>> 5 === 524288. Actual: ' + (16777216 >>> 5)); -} - - -if (33554432 >>> 5 !== 1048576) { - $ERROR('#186: 33554432 >>> 5 === 1048576. Actual: ' + (33554432 >>> 5)); -} - - -if (67108864 >>> 5 !== 2097152) { - $ERROR('#187: 67108864 >>> 5 === 2097152. Actual: ' + (67108864 >>> 5)); -} - - -if (134217728 >>> 5 !== 4194304) { - $ERROR('#188: 134217728 >>> 5 === 4194304. Actual: ' + (134217728 >>> 5)); -} - - -if (268435456 >>> 5 !== 8388608) { - $ERROR('#189: 268435456 >>> 5 === 8388608. Actual: ' + (268435456 >>> 5)); -} - - -if (536870912 >>> 5 !== 16777216) { - $ERROR('#190: 536870912 >>> 5 === 16777216. Actual: ' + (536870912 >>> 5)); -} - - -if (1073741824 >>> 5 !== 33554432) { - $ERROR('#191: 1073741824 >>> 5 === 33554432. Actual: ' + (1073741824 >>> 5)); -} - - -if (2147483648 >>> 5 !== 67108864) { - $ERROR('#192: 2147483648 >>> 5 === 67108864. Actual: ' + (2147483648 >>> 5)); -} - - -if (1 >>> 6 !== 0) { - $ERROR('#193: 1 >>> 6 === 0. Actual: ' + (1 >>> 6)); -} - - -if (2 >>> 6 !== 0) { - $ERROR('#194: 2 >>> 6 === 0. Actual: ' + (2 >>> 6)); -} - - -if (4 >>> 6 !== 0) { - $ERROR('#195: 4 >>> 6 === 0. Actual: ' + (4 >>> 6)); -} - - -if (8 >>> 6 !== 0) { - $ERROR('#196: 8 >>> 6 === 0. Actual: ' + (8 >>> 6)); -} - - -if (16 >>> 6 !== 0) { - $ERROR('#197: 16 >>> 6 === 0. Actual: ' + (16 >>> 6)); -} - - -if (32 >>> 6 !== 0) { - $ERROR('#198: 32 >>> 6 === 0. Actual: ' + (32 >>> 6)); -} - - -if (64 >>> 6 !== 1) { - $ERROR('#199: 64 >>> 6 === 1. Actual: ' + (64 >>> 6)); -} - - -if (128 >>> 6 !== 2) { - $ERROR('#200: 128 >>> 6 === 2. Actual: ' + (128 >>> 6)); -} - - -if (256 >>> 6 !== 4) { - $ERROR('#201: 256 >>> 6 === 4. Actual: ' + (256 >>> 6)); -} - - -if (512 >>> 6 !== 8) { - $ERROR('#202: 512 >>> 6 === 8. Actual: ' + (512 >>> 6)); -} - - -if (1024 >>> 6 !== 16) { - $ERROR('#203: 1024 >>> 6 === 16. Actual: ' + (1024 >>> 6)); -} - - -if (2048 >>> 6 !== 32) { - $ERROR('#204: 2048 >>> 6 === 32. Actual: ' + (2048 >>> 6)); -} - - -if (4096 >>> 6 !== 64) { - $ERROR('#205: 4096 >>> 6 === 64. Actual: ' + (4096 >>> 6)); -} - - -if (8192 >>> 6 !== 128) { - $ERROR('#206: 8192 >>> 6 === 128. Actual: ' + (8192 >>> 6)); -} - - -if (16384 >>> 6 !== 256) { - $ERROR('#207: 16384 >>> 6 === 256. Actual: ' + (16384 >>> 6)); -} - - -if (32768 >>> 6 !== 512) { - $ERROR('#208: 32768 >>> 6 === 512. Actual: ' + (32768 >>> 6)); -} - - -if (65536 >>> 6 !== 1024) { - $ERROR('#209: 65536 >>> 6 === 1024. Actual: ' + (65536 >>> 6)); -} - - -if (131072 >>> 6 !== 2048) { - $ERROR('#210: 131072 >>> 6 === 2048. Actual: ' + (131072 >>> 6)); -} - - -if (262144 >>> 6 !== 4096) { - $ERROR('#211: 262144 >>> 6 === 4096. Actual: ' + (262144 >>> 6)); -} - - -if (524288 >>> 6 !== 8192) { - $ERROR('#212: 524288 >>> 6 === 8192. Actual: ' + (524288 >>> 6)); -} - - -if (1048576 >>> 6 !== 16384) { - $ERROR('#213: 1048576 >>> 6 === 16384. Actual: ' + (1048576 >>> 6)); -} - - -if (2097152 >>> 6 !== 32768) { - $ERROR('#214: 2097152 >>> 6 === 32768. Actual: ' + (2097152 >>> 6)); -} - - -if (4194304 >>> 6 !== 65536) { - $ERROR('#215: 4194304 >>> 6 === 65536. Actual: ' + (4194304 >>> 6)); -} - - -if (8388608 >>> 6 !== 131072) { - $ERROR('#216: 8388608 >>> 6 === 131072. Actual: ' + (8388608 >>> 6)); -} - - -if (16777216 >>> 6 !== 262144) { - $ERROR('#217: 16777216 >>> 6 === 262144. Actual: ' + (16777216 >>> 6)); -} - - -if (33554432 >>> 6 !== 524288) { - $ERROR('#218: 33554432 >>> 6 === 524288. Actual: ' + (33554432 >>> 6)); -} - - -if (67108864 >>> 6 !== 1048576) { - $ERROR('#219: 67108864 >>> 6 === 1048576. Actual: ' + (67108864 >>> 6)); -} - - -if (134217728 >>> 6 !== 2097152) { - $ERROR('#220: 134217728 >>> 6 === 2097152. Actual: ' + (134217728 >>> 6)); -} - - -if (268435456 >>> 6 !== 4194304) { - $ERROR('#221: 268435456 >>> 6 === 4194304. Actual: ' + (268435456 >>> 6)); -} - - -if (536870912 >>> 6 !== 8388608) { - $ERROR('#222: 536870912 >>> 6 === 8388608. Actual: ' + (536870912 >>> 6)); -} - - -if (1073741824 >>> 6 !== 16777216) { - $ERROR('#223: 1073741824 >>> 6 === 16777216. Actual: ' + (1073741824 >>> 6)); -} - - -if (2147483648 >>> 6 !== 33554432) { - $ERROR('#224: 2147483648 >>> 6 === 33554432. Actual: ' + (2147483648 >>> 6)); -} - - -if (1 >>> 7 !== 0) { - $ERROR('#225: 1 >>> 7 === 0. Actual: ' + (1 >>> 7)); -} - - -if (2 >>> 7 !== 0) { - $ERROR('#226: 2 >>> 7 === 0. Actual: ' + (2 >>> 7)); -} - - -if (4 >>> 7 !== 0) { - $ERROR('#227: 4 >>> 7 === 0. Actual: ' + (4 >>> 7)); -} - - -if (8 >>> 7 !== 0) { - $ERROR('#228: 8 >>> 7 === 0. Actual: ' + (8 >>> 7)); -} - - -if (16 >>> 7 !== 0) { - $ERROR('#229: 16 >>> 7 === 0. Actual: ' + (16 >>> 7)); -} - - -if (32 >>> 7 !== 0) { - $ERROR('#230: 32 >>> 7 === 0. Actual: ' + (32 >>> 7)); -} - - -if (64 >>> 7 !== 0) { - $ERROR('#231: 64 >>> 7 === 0. Actual: ' + (64 >>> 7)); -} - - -if (128 >>> 7 !== 1) { - $ERROR('#232: 128 >>> 7 === 1. Actual: ' + (128 >>> 7)); -} - - -if (256 >>> 7 !== 2) { - $ERROR('#233: 256 >>> 7 === 2. Actual: ' + (256 >>> 7)); -} - - -if (512 >>> 7 !== 4) { - $ERROR('#234: 512 >>> 7 === 4. Actual: ' + (512 >>> 7)); -} - - -if (1024 >>> 7 !== 8) { - $ERROR('#235: 1024 >>> 7 === 8. Actual: ' + (1024 >>> 7)); -} - - -if (2048 >>> 7 !== 16) { - $ERROR('#236: 2048 >>> 7 === 16. Actual: ' + (2048 >>> 7)); -} - - -if (4096 >>> 7 !== 32) { - $ERROR('#237: 4096 >>> 7 === 32. Actual: ' + (4096 >>> 7)); -} - - -if (8192 >>> 7 !== 64) { - $ERROR('#238: 8192 >>> 7 === 64. Actual: ' + (8192 >>> 7)); -} - - -if (16384 >>> 7 !== 128) { - $ERROR('#239: 16384 >>> 7 === 128. Actual: ' + (16384 >>> 7)); -} - - -if (32768 >>> 7 !== 256) { - $ERROR('#240: 32768 >>> 7 === 256. Actual: ' + (32768 >>> 7)); -} - - -if (65536 >>> 7 !== 512) { - $ERROR('#241: 65536 >>> 7 === 512. Actual: ' + (65536 >>> 7)); -} - - -if (131072 >>> 7 !== 1024) { - $ERROR('#242: 131072 >>> 7 === 1024. Actual: ' + (131072 >>> 7)); -} - - -if (262144 >>> 7 !== 2048) { - $ERROR('#243: 262144 >>> 7 === 2048. Actual: ' + (262144 >>> 7)); -} - - -if (524288 >>> 7 !== 4096) { - $ERROR('#244: 524288 >>> 7 === 4096. Actual: ' + (524288 >>> 7)); -} - - -if (1048576 >>> 7 !== 8192) { - $ERROR('#245: 1048576 >>> 7 === 8192. Actual: ' + (1048576 >>> 7)); -} - - -if (2097152 >>> 7 !== 16384) { - $ERROR('#246: 2097152 >>> 7 === 16384. Actual: ' + (2097152 >>> 7)); -} - - -if (4194304 >>> 7 !== 32768) { - $ERROR('#247: 4194304 >>> 7 === 32768. Actual: ' + (4194304 >>> 7)); -} - - -if (8388608 >>> 7 !== 65536) { - $ERROR('#248: 8388608 >>> 7 === 65536. Actual: ' + (8388608 >>> 7)); -} - - -if (16777216 >>> 7 !== 131072) { - $ERROR('#249: 16777216 >>> 7 === 131072. Actual: ' + (16777216 >>> 7)); -} - - -if (33554432 >>> 7 !== 262144) { - $ERROR('#250: 33554432 >>> 7 === 262144. Actual: ' + (33554432 >>> 7)); -} - - -if (67108864 >>> 7 !== 524288) { - $ERROR('#251: 67108864 >>> 7 === 524288. Actual: ' + (67108864 >>> 7)); -} - - -if (134217728 >>> 7 !== 1048576) { - $ERROR('#252: 134217728 >>> 7 === 1048576. Actual: ' + (134217728 >>> 7)); -} - - -if (268435456 >>> 7 !== 2097152) { - $ERROR('#253: 268435456 >>> 7 === 2097152. Actual: ' + (268435456 >>> 7)); -} - - -if (536870912 >>> 7 !== 4194304) { - $ERROR('#254: 536870912 >>> 7 === 4194304. Actual: ' + (536870912 >>> 7)); -} - - -if (1073741824 >>> 7 !== 8388608) { - $ERROR('#255: 1073741824 >>> 7 === 8388608. Actual: ' + (1073741824 >>> 7)); -} - - -if (2147483648 >>> 7 !== 16777216) { - $ERROR('#256: 2147483648 >>> 7 === 16777216. Actual: ' + (2147483648 >>> 7)); -} - - -if (1 >>> 8 !== 0) { - $ERROR('#257: 1 >>> 8 === 0. Actual: ' + (1 >>> 8)); -} - - -if (2 >>> 8 !== 0) { - $ERROR('#258: 2 >>> 8 === 0. Actual: ' + (2 >>> 8)); -} - - -if (4 >>> 8 !== 0) { - $ERROR('#259: 4 >>> 8 === 0. Actual: ' + (4 >>> 8)); -} - - -if (8 >>> 8 !== 0) { - $ERROR('#260: 8 >>> 8 === 0. Actual: ' + (8 >>> 8)); -} - - -if (16 >>> 8 !== 0) { - $ERROR('#261: 16 >>> 8 === 0. Actual: ' + (16 >>> 8)); -} - - -if (32 >>> 8 !== 0) { - $ERROR('#262: 32 >>> 8 === 0. Actual: ' + (32 >>> 8)); -} - - -if (64 >>> 8 !== 0) { - $ERROR('#263: 64 >>> 8 === 0. Actual: ' + (64 >>> 8)); -} - - -if (128 >>> 8 !== 0) { - $ERROR('#264: 128 >>> 8 === 0. Actual: ' + (128 >>> 8)); -} - - -if (256 >>> 8 !== 1) { - $ERROR('#265: 256 >>> 8 === 1. Actual: ' + (256 >>> 8)); -} - - -if (512 >>> 8 !== 2) { - $ERROR('#266: 512 >>> 8 === 2. Actual: ' + (512 >>> 8)); -} - - -if (1024 >>> 8 !== 4) { - $ERROR('#267: 1024 >>> 8 === 4. Actual: ' + (1024 >>> 8)); -} - - -if (2048 >>> 8 !== 8) { - $ERROR('#268: 2048 >>> 8 === 8. Actual: ' + (2048 >>> 8)); -} - - -if (4096 >>> 8 !== 16) { - $ERROR('#269: 4096 >>> 8 === 16. Actual: ' + (4096 >>> 8)); -} - - -if (8192 >>> 8 !== 32) { - $ERROR('#270: 8192 >>> 8 === 32. Actual: ' + (8192 >>> 8)); -} - - -if (16384 >>> 8 !== 64) { - $ERROR('#271: 16384 >>> 8 === 64. Actual: ' + (16384 >>> 8)); -} - - -if (32768 >>> 8 !== 128) { - $ERROR('#272: 32768 >>> 8 === 128. Actual: ' + (32768 >>> 8)); -} - - -if (65536 >>> 8 !== 256) { - $ERROR('#273: 65536 >>> 8 === 256. Actual: ' + (65536 >>> 8)); -} - - -if (131072 >>> 8 !== 512) { - $ERROR('#274: 131072 >>> 8 === 512. Actual: ' + (131072 >>> 8)); -} - - -if (262144 >>> 8 !== 1024) { - $ERROR('#275: 262144 >>> 8 === 1024. Actual: ' + (262144 >>> 8)); -} - - -if (524288 >>> 8 !== 2048) { - $ERROR('#276: 524288 >>> 8 === 2048. Actual: ' + (524288 >>> 8)); -} - - -if (1048576 >>> 8 !== 4096) { - $ERROR('#277: 1048576 >>> 8 === 4096. Actual: ' + (1048576 >>> 8)); -} - - -if (2097152 >>> 8 !== 8192) { - $ERROR('#278: 2097152 >>> 8 === 8192. Actual: ' + (2097152 >>> 8)); -} - - -if (4194304 >>> 8 !== 16384) { - $ERROR('#279: 4194304 >>> 8 === 16384. Actual: ' + (4194304 >>> 8)); -} - - -if (8388608 >>> 8 !== 32768) { - $ERROR('#280: 8388608 >>> 8 === 32768. Actual: ' + (8388608 >>> 8)); -} - - -if (16777216 >>> 8 !== 65536) { - $ERROR('#281: 16777216 >>> 8 === 65536. Actual: ' + (16777216 >>> 8)); -} - - -if (33554432 >>> 8 !== 131072) { - $ERROR('#282: 33554432 >>> 8 === 131072. Actual: ' + (33554432 >>> 8)); -} - - -if (67108864 >>> 8 !== 262144) { - $ERROR('#283: 67108864 >>> 8 === 262144. Actual: ' + (67108864 >>> 8)); -} - - -if (134217728 >>> 8 !== 524288) { - $ERROR('#284: 134217728 >>> 8 === 524288. Actual: ' + (134217728 >>> 8)); -} - - -if (268435456 >>> 8 !== 1048576) { - $ERROR('#285: 268435456 >>> 8 === 1048576. Actual: ' + (268435456 >>> 8)); -} - - -if (536870912 >>> 8 !== 2097152) { - $ERROR('#286: 536870912 >>> 8 === 2097152. Actual: ' + (536870912 >>> 8)); -} - - -if (1073741824 >>> 8 !== 4194304) { - $ERROR('#287: 1073741824 >>> 8 === 4194304. Actual: ' + (1073741824 >>> 8)); -} - - -if (2147483648 >>> 8 !== 8388608) { - $ERROR('#288: 2147483648 >>> 8 === 8388608. Actual: ' + (2147483648 >>> 8)); -} - - -if (1 >>> 9 !== 0) { - $ERROR('#289: 1 >>> 9 === 0. Actual: ' + (1 >>> 9)); -} - - -if (2 >>> 9 !== 0) { - $ERROR('#290: 2 >>> 9 === 0. Actual: ' + (2 >>> 9)); -} - - -if (4 >>> 9 !== 0) { - $ERROR('#291: 4 >>> 9 === 0. Actual: ' + (4 >>> 9)); -} - - -if (8 >>> 9 !== 0) { - $ERROR('#292: 8 >>> 9 === 0. Actual: ' + (8 >>> 9)); -} - - -if (16 >>> 9 !== 0) { - $ERROR('#293: 16 >>> 9 === 0. Actual: ' + (16 >>> 9)); -} - - -if (32 >>> 9 !== 0) { - $ERROR('#294: 32 >>> 9 === 0. Actual: ' + (32 >>> 9)); -} - - -if (64 >>> 9 !== 0) { - $ERROR('#295: 64 >>> 9 === 0. Actual: ' + (64 >>> 9)); -} - - -if (128 >>> 9 !== 0) { - $ERROR('#296: 128 >>> 9 === 0. Actual: ' + (128 >>> 9)); -} - - -if (256 >>> 9 !== 0) { - $ERROR('#297: 256 >>> 9 === 0. Actual: ' + (256 >>> 9)); -} - - -if (512 >>> 9 !== 1) { - $ERROR('#298: 512 >>> 9 === 1. Actual: ' + (512 >>> 9)); -} - - -if (1024 >>> 9 !== 2) { - $ERROR('#299: 1024 >>> 9 === 2. Actual: ' + (1024 >>> 9)); -} - - -if (2048 >>> 9 !== 4) { - $ERROR('#300: 2048 >>> 9 === 4. Actual: ' + (2048 >>> 9)); -} - - -if (4096 >>> 9 !== 8) { - $ERROR('#301: 4096 >>> 9 === 8. Actual: ' + (4096 >>> 9)); -} - - -if (8192 >>> 9 !== 16) { - $ERROR('#302: 8192 >>> 9 === 16. Actual: ' + (8192 >>> 9)); -} - - -if (16384 >>> 9 !== 32) { - $ERROR('#303: 16384 >>> 9 === 32. Actual: ' + (16384 >>> 9)); -} - - -if (32768 >>> 9 !== 64) { - $ERROR('#304: 32768 >>> 9 === 64. Actual: ' + (32768 >>> 9)); -} - - -if (65536 >>> 9 !== 128) { - $ERROR('#305: 65536 >>> 9 === 128. Actual: ' + (65536 >>> 9)); -} - - -if (131072 >>> 9 !== 256) { - $ERROR('#306: 131072 >>> 9 === 256. Actual: ' + (131072 >>> 9)); -} - - -if (262144 >>> 9 !== 512) { - $ERROR('#307: 262144 >>> 9 === 512. Actual: ' + (262144 >>> 9)); -} - - -if (524288 >>> 9 !== 1024) { - $ERROR('#308: 524288 >>> 9 === 1024. Actual: ' + (524288 >>> 9)); -} - - -if (1048576 >>> 9 !== 2048) { - $ERROR('#309: 1048576 >>> 9 === 2048. Actual: ' + (1048576 >>> 9)); -} - - -if (2097152 >>> 9 !== 4096) { - $ERROR('#310: 2097152 >>> 9 === 4096. Actual: ' + (2097152 >>> 9)); -} - - -if (4194304 >>> 9 !== 8192) { - $ERROR('#311: 4194304 >>> 9 === 8192. Actual: ' + (4194304 >>> 9)); -} - - -if (8388608 >>> 9 !== 16384) { - $ERROR('#312: 8388608 >>> 9 === 16384. Actual: ' + (8388608 >>> 9)); -} - - -if (16777216 >>> 9 !== 32768) { - $ERROR('#313: 16777216 >>> 9 === 32768. Actual: ' + (16777216 >>> 9)); -} - - -if (33554432 >>> 9 !== 65536) { - $ERROR('#314: 33554432 >>> 9 === 65536. Actual: ' + (33554432 >>> 9)); -} - - -if (67108864 >>> 9 !== 131072) { - $ERROR('#315: 67108864 >>> 9 === 131072. Actual: ' + (67108864 >>> 9)); -} - - -if (134217728 >>> 9 !== 262144) { - $ERROR('#316: 134217728 >>> 9 === 262144. Actual: ' + (134217728 >>> 9)); -} - - -if (268435456 >>> 9 !== 524288) { - $ERROR('#317: 268435456 >>> 9 === 524288. Actual: ' + (268435456 >>> 9)); -} - - -if (536870912 >>> 9 !== 1048576) { - $ERROR('#318: 536870912 >>> 9 === 1048576. Actual: ' + (536870912 >>> 9)); -} - - -if (1073741824 >>> 9 !== 2097152) { - $ERROR('#319: 1073741824 >>> 9 === 2097152. Actual: ' + (1073741824 >>> 9)); -} - - -if (2147483648 >>> 9 !== 4194304) { - $ERROR('#320: 2147483648 >>> 9 === 4194304. Actual: ' + (2147483648 >>> 9)); -} - - -if (1 >>> 10 !== 0) { - $ERROR('#321: 1 >>> 10 === 0. Actual: ' + (1 >>> 10)); -} - - -if (2 >>> 10 !== 0) { - $ERROR('#322: 2 >>> 10 === 0. Actual: ' + (2 >>> 10)); -} - - -if (4 >>> 10 !== 0) { - $ERROR('#323: 4 >>> 10 === 0. Actual: ' + (4 >>> 10)); -} - - -if (8 >>> 10 !== 0) { - $ERROR('#324: 8 >>> 10 === 0. Actual: ' + (8 >>> 10)); -} - - -if (16 >>> 10 !== 0) { - $ERROR('#325: 16 >>> 10 === 0. Actual: ' + (16 >>> 10)); -} - - -if (32 >>> 10 !== 0) { - $ERROR('#326: 32 >>> 10 === 0. Actual: ' + (32 >>> 10)); -} - - -if (64 >>> 10 !== 0) { - $ERROR('#327: 64 >>> 10 === 0. Actual: ' + (64 >>> 10)); -} - - -if (128 >>> 10 !== 0) { - $ERROR('#328: 128 >>> 10 === 0. Actual: ' + (128 >>> 10)); -} - - -if (256 >>> 10 !== 0) { - $ERROR('#329: 256 >>> 10 === 0. Actual: ' + (256 >>> 10)); -} - - -if (512 >>> 10 !== 0) { - $ERROR('#330: 512 >>> 10 === 0. Actual: ' + (512 >>> 10)); -} - - -if (1024 >>> 10 !== 1) { - $ERROR('#331: 1024 >>> 10 === 1. Actual: ' + (1024 >>> 10)); -} - - -if (2048 >>> 10 !== 2) { - $ERROR('#332: 2048 >>> 10 === 2. Actual: ' + (2048 >>> 10)); -} - - -if (4096 >>> 10 !== 4) { - $ERROR('#333: 4096 >>> 10 === 4. Actual: ' + (4096 >>> 10)); -} - - -if (8192 >>> 10 !== 8) { - $ERROR('#334: 8192 >>> 10 === 8. Actual: ' + (8192 >>> 10)); -} - - -if (16384 >>> 10 !== 16) { - $ERROR('#335: 16384 >>> 10 === 16. Actual: ' + (16384 >>> 10)); -} - - -if (32768 >>> 10 !== 32) { - $ERROR('#336: 32768 >>> 10 === 32. Actual: ' + (32768 >>> 10)); -} - - -if (65536 >>> 10 !== 64) { - $ERROR('#337: 65536 >>> 10 === 64. Actual: ' + (65536 >>> 10)); -} - - -if (131072 >>> 10 !== 128) { - $ERROR('#338: 131072 >>> 10 === 128. Actual: ' + (131072 >>> 10)); -} - - -if (262144 >>> 10 !== 256) { - $ERROR('#339: 262144 >>> 10 === 256. Actual: ' + (262144 >>> 10)); -} - - -if (524288 >>> 10 !== 512) { - $ERROR('#340: 524288 >>> 10 === 512. Actual: ' + (524288 >>> 10)); -} - - -if (1048576 >>> 10 !== 1024) { - $ERROR('#341: 1048576 >>> 10 === 1024. Actual: ' + (1048576 >>> 10)); -} - - -if (2097152 >>> 10 !== 2048) { - $ERROR('#342: 2097152 >>> 10 === 2048. Actual: ' + (2097152 >>> 10)); -} - - -if (4194304 >>> 10 !== 4096) { - $ERROR('#343: 4194304 >>> 10 === 4096. Actual: ' + (4194304 >>> 10)); -} - - -if (8388608 >>> 10 !== 8192) { - $ERROR('#344: 8388608 >>> 10 === 8192. Actual: ' + (8388608 >>> 10)); -} - - -if (16777216 >>> 10 !== 16384) { - $ERROR('#345: 16777216 >>> 10 === 16384. Actual: ' + (16777216 >>> 10)); -} - - -if (33554432 >>> 10 !== 32768) { - $ERROR('#346: 33554432 >>> 10 === 32768. Actual: ' + (33554432 >>> 10)); -} - - -if (67108864 >>> 10 !== 65536) { - $ERROR('#347: 67108864 >>> 10 === 65536. Actual: ' + (67108864 >>> 10)); -} - - -if (134217728 >>> 10 !== 131072) { - $ERROR('#348: 134217728 >>> 10 === 131072. Actual: ' + (134217728 >>> 10)); -} - - -if (268435456 >>> 10 !== 262144) { - $ERROR('#349: 268435456 >>> 10 === 262144. Actual: ' + (268435456 >>> 10)); -} - - -if (536870912 >>> 10 !== 524288) { - $ERROR('#350: 536870912 >>> 10 === 524288. Actual: ' + (536870912 >>> 10)); -} - - -if (1073741824 >>> 10 !== 1048576) { - $ERROR('#351: 1073741824 >>> 10 === 1048576. Actual: ' + (1073741824 >>> 10)); -} - - -if (2147483648 >>> 10 !== 2097152) { - $ERROR('#352: 2147483648 >>> 10 === 2097152. Actual: ' + (2147483648 >>> 10)); -} - - -if (1 >>> 11 !== 0) { - $ERROR('#353: 1 >>> 11 === 0. Actual: ' + (1 >>> 11)); -} - - -if (2 >>> 11 !== 0) { - $ERROR('#354: 2 >>> 11 === 0. Actual: ' + (2 >>> 11)); -} - - -if (4 >>> 11 !== 0) { - $ERROR('#355: 4 >>> 11 === 0. Actual: ' + (4 >>> 11)); -} - - -if (8 >>> 11 !== 0) { - $ERROR('#356: 8 >>> 11 === 0. Actual: ' + (8 >>> 11)); -} - - -if (16 >>> 11 !== 0) { - $ERROR('#357: 16 >>> 11 === 0. Actual: ' + (16 >>> 11)); -} - - -if (32 >>> 11 !== 0) { - $ERROR('#358: 32 >>> 11 === 0. Actual: ' + (32 >>> 11)); -} - - -if (64 >>> 11 !== 0) { - $ERROR('#359: 64 >>> 11 === 0. Actual: ' + (64 >>> 11)); -} - - -if (128 >>> 11 !== 0) { - $ERROR('#360: 128 >>> 11 === 0. Actual: ' + (128 >>> 11)); -} - - -if (256 >>> 11 !== 0) { - $ERROR('#361: 256 >>> 11 === 0. Actual: ' + (256 >>> 11)); -} - - -if (512 >>> 11 !== 0) { - $ERROR('#362: 512 >>> 11 === 0. Actual: ' + (512 >>> 11)); -} - - -if (1024 >>> 11 !== 0) { - $ERROR('#363: 1024 >>> 11 === 0. Actual: ' + (1024 >>> 11)); -} - - -if (2048 >>> 11 !== 1) { - $ERROR('#364: 2048 >>> 11 === 1. Actual: ' + (2048 >>> 11)); -} - - -if (4096 >>> 11 !== 2) { - $ERROR('#365: 4096 >>> 11 === 2. Actual: ' + (4096 >>> 11)); -} - - -if (8192 >>> 11 !== 4) { - $ERROR('#366: 8192 >>> 11 === 4. Actual: ' + (8192 >>> 11)); -} - - -if (16384 >>> 11 !== 8) { - $ERROR('#367: 16384 >>> 11 === 8. Actual: ' + (16384 >>> 11)); -} - - -if (32768 >>> 11 !== 16) { - $ERROR('#368: 32768 >>> 11 === 16. Actual: ' + (32768 >>> 11)); -} - - -if (65536 >>> 11 !== 32) { - $ERROR('#369: 65536 >>> 11 === 32. Actual: ' + (65536 >>> 11)); -} - - -if (131072 >>> 11 !== 64) { - $ERROR('#370: 131072 >>> 11 === 64. Actual: ' + (131072 >>> 11)); -} - - -if (262144 >>> 11 !== 128) { - $ERROR('#371: 262144 >>> 11 === 128. Actual: ' + (262144 >>> 11)); -} - - -if (524288 >>> 11 !== 256) { - $ERROR('#372: 524288 >>> 11 === 256. Actual: ' + (524288 >>> 11)); -} - - -if (1048576 >>> 11 !== 512) { - $ERROR('#373: 1048576 >>> 11 === 512. Actual: ' + (1048576 >>> 11)); -} - - -if (2097152 >>> 11 !== 1024) { - $ERROR('#374: 2097152 >>> 11 === 1024. Actual: ' + (2097152 >>> 11)); -} - - -if (4194304 >>> 11 !== 2048) { - $ERROR('#375: 4194304 >>> 11 === 2048. Actual: ' + (4194304 >>> 11)); -} - - -if (8388608 >>> 11 !== 4096) { - $ERROR('#376: 8388608 >>> 11 === 4096. Actual: ' + (8388608 >>> 11)); -} - - -if (16777216 >>> 11 !== 8192) { - $ERROR('#377: 16777216 >>> 11 === 8192. Actual: ' + (16777216 >>> 11)); -} - - -if (33554432 >>> 11 !== 16384) { - $ERROR('#378: 33554432 >>> 11 === 16384. Actual: ' + (33554432 >>> 11)); -} - - -if (67108864 >>> 11 !== 32768) { - $ERROR('#379: 67108864 >>> 11 === 32768. Actual: ' + (67108864 >>> 11)); -} - - -if (134217728 >>> 11 !== 65536) { - $ERROR('#380: 134217728 >>> 11 === 65536. Actual: ' + (134217728 >>> 11)); -} - - -if (268435456 >>> 11 !== 131072) { - $ERROR('#381: 268435456 >>> 11 === 131072. Actual: ' + (268435456 >>> 11)); -} - - -if (536870912 >>> 11 !== 262144) { - $ERROR('#382: 536870912 >>> 11 === 262144. Actual: ' + (536870912 >>> 11)); -} - - -if (1073741824 >>> 11 !== 524288) { - $ERROR('#383: 1073741824 >>> 11 === 524288. Actual: ' + (1073741824 >>> 11)); -} - - -if (2147483648 >>> 11 !== 1048576) { - $ERROR('#384: 2147483648 >>> 11 === 1048576. Actual: ' + (2147483648 >>> 11)); -} - - -if (1 >>> 12 !== 0) { - $ERROR('#385: 1 >>> 12 === 0. Actual: ' + (1 >>> 12)); -} - - -if (2 >>> 12 !== 0) { - $ERROR('#386: 2 >>> 12 === 0. Actual: ' + (2 >>> 12)); -} - - -if (4 >>> 12 !== 0) { - $ERROR('#387: 4 >>> 12 === 0. Actual: ' + (4 >>> 12)); -} - - -if (8 >>> 12 !== 0) { - $ERROR('#388: 8 >>> 12 === 0. Actual: ' + (8 >>> 12)); -} - - -if (16 >>> 12 !== 0) { - $ERROR('#389: 16 >>> 12 === 0. Actual: ' + (16 >>> 12)); -} - - -if (32 >>> 12 !== 0) { - $ERROR('#390: 32 >>> 12 === 0. Actual: ' + (32 >>> 12)); -} - - -if (64 >>> 12 !== 0) { - $ERROR('#391: 64 >>> 12 === 0. Actual: ' + (64 >>> 12)); -} - - -if (128 >>> 12 !== 0) { - $ERROR('#392: 128 >>> 12 === 0. Actual: ' + (128 >>> 12)); -} - - -if (256 >>> 12 !== 0) { - $ERROR('#393: 256 >>> 12 === 0. Actual: ' + (256 >>> 12)); -} - - -if (512 >>> 12 !== 0) { - $ERROR('#394: 512 >>> 12 === 0. Actual: ' + (512 >>> 12)); -} - - -if (1024 >>> 12 !== 0) { - $ERROR('#395: 1024 >>> 12 === 0. Actual: ' + (1024 >>> 12)); -} - - -if (2048 >>> 12 !== 0) { - $ERROR('#396: 2048 >>> 12 === 0. Actual: ' + (2048 >>> 12)); -} - - -if (4096 >>> 12 !== 1) { - $ERROR('#397: 4096 >>> 12 === 1. Actual: ' + (4096 >>> 12)); -} - - -if (8192 >>> 12 !== 2) { - $ERROR('#398: 8192 >>> 12 === 2. Actual: ' + (8192 >>> 12)); -} - - -if (16384 >>> 12 !== 4) { - $ERROR('#399: 16384 >>> 12 === 4. Actual: ' + (16384 >>> 12)); -} - - -if (32768 >>> 12 !== 8) { - $ERROR('#400: 32768 >>> 12 === 8. Actual: ' + (32768 >>> 12)); -} - - -if (65536 >>> 12 !== 16) { - $ERROR('#401: 65536 >>> 12 === 16. Actual: ' + (65536 >>> 12)); -} - - -if (131072 >>> 12 !== 32) { - $ERROR('#402: 131072 >>> 12 === 32. Actual: ' + (131072 >>> 12)); -} - - -if (262144 >>> 12 !== 64) { - $ERROR('#403: 262144 >>> 12 === 64. Actual: ' + (262144 >>> 12)); -} - - -if (524288 >>> 12 !== 128) { - $ERROR('#404: 524288 >>> 12 === 128. Actual: ' + (524288 >>> 12)); -} - - -if (1048576 >>> 12 !== 256) { - $ERROR('#405: 1048576 >>> 12 === 256. Actual: ' + (1048576 >>> 12)); -} - - -if (2097152 >>> 12 !== 512) { - $ERROR('#406: 2097152 >>> 12 === 512. Actual: ' + (2097152 >>> 12)); -} - - -if (4194304 >>> 12 !== 1024) { - $ERROR('#407: 4194304 >>> 12 === 1024. Actual: ' + (4194304 >>> 12)); -} - - -if (8388608 >>> 12 !== 2048) { - $ERROR('#408: 8388608 >>> 12 === 2048. Actual: ' + (8388608 >>> 12)); -} - - -if (16777216 >>> 12 !== 4096) { - $ERROR('#409: 16777216 >>> 12 === 4096. Actual: ' + (16777216 >>> 12)); -} - - -if (33554432 >>> 12 !== 8192) { - $ERROR('#410: 33554432 >>> 12 === 8192. Actual: ' + (33554432 >>> 12)); -} - - -if (67108864 >>> 12 !== 16384) { - $ERROR('#411: 67108864 >>> 12 === 16384. Actual: ' + (67108864 >>> 12)); -} - - -if (134217728 >>> 12 !== 32768) { - $ERROR('#412: 134217728 >>> 12 === 32768. Actual: ' + (134217728 >>> 12)); -} - - -if (268435456 >>> 12 !== 65536) { - $ERROR('#413: 268435456 >>> 12 === 65536. Actual: ' + (268435456 >>> 12)); -} - - -if (536870912 >>> 12 !== 131072) { - $ERROR('#414: 536870912 >>> 12 === 131072. Actual: ' + (536870912 >>> 12)); -} - - -if (1073741824 >>> 12 !== 262144) { - $ERROR('#415: 1073741824 >>> 12 === 262144. Actual: ' + (1073741824 >>> 12)); -} - - -if (2147483648 >>> 12 !== 524288) { - $ERROR('#416: 2147483648 >>> 12 === 524288. Actual: ' + (2147483648 >>> 12)); -} - - -if (1 >>> 13 !== 0) { - $ERROR('#417: 1 >>> 13 === 0. Actual: ' + (1 >>> 13)); -} - - -if (2 >>> 13 !== 0) { - $ERROR('#418: 2 >>> 13 === 0. Actual: ' + (2 >>> 13)); -} - - -if (4 >>> 13 !== 0) { - $ERROR('#419: 4 >>> 13 === 0. Actual: ' + (4 >>> 13)); -} - - -if (8 >>> 13 !== 0) { - $ERROR('#420: 8 >>> 13 === 0. Actual: ' + (8 >>> 13)); -} - - -if (16 >>> 13 !== 0) { - $ERROR('#421: 16 >>> 13 === 0. Actual: ' + (16 >>> 13)); -} - - -if (32 >>> 13 !== 0) { - $ERROR('#422: 32 >>> 13 === 0. Actual: ' + (32 >>> 13)); -} - - -if (64 >>> 13 !== 0) { - $ERROR('#423: 64 >>> 13 === 0. Actual: ' + (64 >>> 13)); -} - - -if (128 >>> 13 !== 0) { - $ERROR('#424: 128 >>> 13 === 0. Actual: ' + (128 >>> 13)); -} - - -if (256 >>> 13 !== 0) { - $ERROR('#425: 256 >>> 13 === 0. Actual: ' + (256 >>> 13)); -} - - -if (512 >>> 13 !== 0) { - $ERROR('#426: 512 >>> 13 === 0. Actual: ' + (512 >>> 13)); -} - - -if (1024 >>> 13 !== 0) { - $ERROR('#427: 1024 >>> 13 === 0. Actual: ' + (1024 >>> 13)); -} - - -if (2048 >>> 13 !== 0) { - $ERROR('#428: 2048 >>> 13 === 0. Actual: ' + (2048 >>> 13)); -} - - -if (4096 >>> 13 !== 0) { - $ERROR('#429: 4096 >>> 13 === 0. Actual: ' + (4096 >>> 13)); -} - - -if (8192 >>> 13 !== 1) { - $ERROR('#430: 8192 >>> 13 === 1. Actual: ' + (8192 >>> 13)); -} - - -if (16384 >>> 13 !== 2) { - $ERROR('#431: 16384 >>> 13 === 2. Actual: ' + (16384 >>> 13)); -} - - -if (32768 >>> 13 !== 4) { - $ERROR('#432: 32768 >>> 13 === 4. Actual: ' + (32768 >>> 13)); -} - - -if (65536 >>> 13 !== 8) { - $ERROR('#433: 65536 >>> 13 === 8. Actual: ' + (65536 >>> 13)); -} - - -if (131072 >>> 13 !== 16) { - $ERROR('#434: 131072 >>> 13 === 16. Actual: ' + (131072 >>> 13)); -} - - -if (262144 >>> 13 !== 32) { - $ERROR('#435: 262144 >>> 13 === 32. Actual: ' + (262144 >>> 13)); -} - - -if (524288 >>> 13 !== 64) { - $ERROR('#436: 524288 >>> 13 === 64. Actual: ' + (524288 >>> 13)); -} - - -if (1048576 >>> 13 !== 128) { - $ERROR('#437: 1048576 >>> 13 === 128. Actual: ' + (1048576 >>> 13)); -} - - -if (2097152 >>> 13 !== 256) { - $ERROR('#438: 2097152 >>> 13 === 256. Actual: ' + (2097152 >>> 13)); -} - - -if (4194304 >>> 13 !== 512) { - $ERROR('#439: 4194304 >>> 13 === 512. Actual: ' + (4194304 >>> 13)); -} - - -if (8388608 >>> 13 !== 1024) { - $ERROR('#440: 8388608 >>> 13 === 1024. Actual: ' + (8388608 >>> 13)); -} - - -if (16777216 >>> 13 !== 2048) { - $ERROR('#441: 16777216 >>> 13 === 2048. Actual: ' + (16777216 >>> 13)); -} - - -if (33554432 >>> 13 !== 4096) { - $ERROR('#442: 33554432 >>> 13 === 4096. Actual: ' + (33554432 >>> 13)); -} - - -if (67108864 >>> 13 !== 8192) { - $ERROR('#443: 67108864 >>> 13 === 8192. Actual: ' + (67108864 >>> 13)); -} - - -if (134217728 >>> 13 !== 16384) { - $ERROR('#444: 134217728 >>> 13 === 16384. Actual: ' + (134217728 >>> 13)); -} - - -if (268435456 >>> 13 !== 32768) { - $ERROR('#445: 268435456 >>> 13 === 32768. Actual: ' + (268435456 >>> 13)); -} - - -if (536870912 >>> 13 !== 65536) { - $ERROR('#446: 536870912 >>> 13 === 65536. Actual: ' + (536870912 >>> 13)); -} - - -if (1073741824 >>> 13 !== 131072) { - $ERROR('#447: 1073741824 >>> 13 === 131072. Actual: ' + (1073741824 >>> 13)); -} - - -if (2147483648 >>> 13 !== 262144) { - $ERROR('#448: 2147483648 >>> 13 === 262144. Actual: ' + (2147483648 >>> 13)); -} - - -if (1 >>> 14 !== 0) { - $ERROR('#449: 1 >>> 14 === 0. Actual: ' + (1 >>> 14)); -} - - -if (2 >>> 14 !== 0) { - $ERROR('#450: 2 >>> 14 === 0. Actual: ' + (2 >>> 14)); -} - - -if (4 >>> 14 !== 0) { - $ERROR('#451: 4 >>> 14 === 0. Actual: ' + (4 >>> 14)); -} - - -if (8 >>> 14 !== 0) { - $ERROR('#452: 8 >>> 14 === 0. Actual: ' + (8 >>> 14)); -} - - -if (16 >>> 14 !== 0) { - $ERROR('#453: 16 >>> 14 === 0. Actual: ' + (16 >>> 14)); -} - - -if (32 >>> 14 !== 0) { - $ERROR('#454: 32 >>> 14 === 0. Actual: ' + (32 >>> 14)); -} - - -if (64 >>> 14 !== 0) { - $ERROR('#455: 64 >>> 14 === 0. Actual: ' + (64 >>> 14)); -} - - -if (128 >>> 14 !== 0) { - $ERROR('#456: 128 >>> 14 === 0. Actual: ' + (128 >>> 14)); -} - - -if (256 >>> 14 !== 0) { - $ERROR('#457: 256 >>> 14 === 0. Actual: ' + (256 >>> 14)); -} - - -if (512 >>> 14 !== 0) { - $ERROR('#458: 512 >>> 14 === 0. Actual: ' + (512 >>> 14)); -} - - -if (1024 >>> 14 !== 0) { - $ERROR('#459: 1024 >>> 14 === 0. Actual: ' + (1024 >>> 14)); -} - - -if (2048 >>> 14 !== 0) { - $ERROR('#460: 2048 >>> 14 === 0. Actual: ' + (2048 >>> 14)); -} - - -if (4096 >>> 14 !== 0) { - $ERROR('#461: 4096 >>> 14 === 0. Actual: ' + (4096 >>> 14)); -} - - -if (8192 >>> 14 !== 0) { - $ERROR('#462: 8192 >>> 14 === 0. Actual: ' + (8192 >>> 14)); -} - - -if (16384 >>> 14 !== 1) { - $ERROR('#463: 16384 >>> 14 === 1. Actual: ' + (16384 >>> 14)); -} - - -if (32768 >>> 14 !== 2) { - $ERROR('#464: 32768 >>> 14 === 2. Actual: ' + (32768 >>> 14)); -} - - -if (65536 >>> 14 !== 4) { - $ERROR('#465: 65536 >>> 14 === 4. Actual: ' + (65536 >>> 14)); -} - - -if (131072 >>> 14 !== 8) { - $ERROR('#466: 131072 >>> 14 === 8. Actual: ' + (131072 >>> 14)); -} - - -if (262144 >>> 14 !== 16) { - $ERROR('#467: 262144 >>> 14 === 16. Actual: ' + (262144 >>> 14)); -} - - -if (524288 >>> 14 !== 32) { - $ERROR('#468: 524288 >>> 14 === 32. Actual: ' + (524288 >>> 14)); -} - - -if (1048576 >>> 14 !== 64) { - $ERROR('#469: 1048576 >>> 14 === 64. Actual: ' + (1048576 >>> 14)); -} - - -if (2097152 >>> 14 !== 128) { - $ERROR('#470: 2097152 >>> 14 === 128. Actual: ' + (2097152 >>> 14)); -} - - -if (4194304 >>> 14 !== 256) { - $ERROR('#471: 4194304 >>> 14 === 256. Actual: ' + (4194304 >>> 14)); -} - - -if (8388608 >>> 14 !== 512) { - $ERROR('#472: 8388608 >>> 14 === 512. Actual: ' + (8388608 >>> 14)); -} - - -if (16777216 >>> 14 !== 1024) { - $ERROR('#473: 16777216 >>> 14 === 1024. Actual: ' + (16777216 >>> 14)); -} - - -if (33554432 >>> 14 !== 2048) { - $ERROR('#474: 33554432 >>> 14 === 2048. Actual: ' + (33554432 >>> 14)); -} - - -if (67108864 >>> 14 !== 4096) { - $ERROR('#475: 67108864 >>> 14 === 4096. Actual: ' + (67108864 >>> 14)); -} - - -if (134217728 >>> 14 !== 8192) { - $ERROR('#476: 134217728 >>> 14 === 8192. Actual: ' + (134217728 >>> 14)); -} - - -if (268435456 >>> 14 !== 16384) { - $ERROR('#477: 268435456 >>> 14 === 16384. Actual: ' + (268435456 >>> 14)); -} - - -if (536870912 >>> 14 !== 32768) { - $ERROR('#478: 536870912 >>> 14 === 32768. Actual: ' + (536870912 >>> 14)); -} - - -if (1073741824 >>> 14 !== 65536) { - $ERROR('#479: 1073741824 >>> 14 === 65536. Actual: ' + (1073741824 >>> 14)); -} - - -if (2147483648 >>> 14 !== 131072) { - $ERROR('#480: 2147483648 >>> 14 === 131072. Actual: ' + (2147483648 >>> 14)); -} - - -if (1 >>> 15 !== 0) { - $ERROR('#481: 1 >>> 15 === 0. Actual: ' + (1 >>> 15)); -} - - -if (2 >>> 15 !== 0) { - $ERROR('#482: 2 >>> 15 === 0. Actual: ' + (2 >>> 15)); -} - - -if (4 >>> 15 !== 0) { - $ERROR('#483: 4 >>> 15 === 0. Actual: ' + (4 >>> 15)); -} - - -if (8 >>> 15 !== 0) { - $ERROR('#484: 8 >>> 15 === 0. Actual: ' + (8 >>> 15)); -} - - -if (16 >>> 15 !== 0) { - $ERROR('#485: 16 >>> 15 === 0. Actual: ' + (16 >>> 15)); -} - - -if (32 >>> 15 !== 0) { - $ERROR('#486: 32 >>> 15 === 0. Actual: ' + (32 >>> 15)); -} - - -if (64 >>> 15 !== 0) { - $ERROR('#487: 64 >>> 15 === 0. Actual: ' + (64 >>> 15)); -} - - -if (128 >>> 15 !== 0) { - $ERROR('#488: 128 >>> 15 === 0. Actual: ' + (128 >>> 15)); -} - - -if (256 >>> 15 !== 0) { - $ERROR('#489: 256 >>> 15 === 0. Actual: ' + (256 >>> 15)); -} - - -if (512 >>> 15 !== 0) { - $ERROR('#490: 512 >>> 15 === 0. Actual: ' + (512 >>> 15)); -} - - -if (1024 >>> 15 !== 0) { - $ERROR('#491: 1024 >>> 15 === 0. Actual: ' + (1024 >>> 15)); -} - - -if (2048 >>> 15 !== 0) { - $ERROR('#492: 2048 >>> 15 === 0. Actual: ' + (2048 >>> 15)); -} - - -if (4096 >>> 15 !== 0) { - $ERROR('#493: 4096 >>> 15 === 0. Actual: ' + (4096 >>> 15)); -} - - -if (8192 >>> 15 !== 0) { - $ERROR('#494: 8192 >>> 15 === 0. Actual: ' + (8192 >>> 15)); -} - - -if (16384 >>> 15 !== 0) { - $ERROR('#495: 16384 >>> 15 === 0. Actual: ' + (16384 >>> 15)); -} - - -if (32768 >>> 15 !== 1) { - $ERROR('#496: 32768 >>> 15 === 1. Actual: ' + (32768 >>> 15)); -} - - -if (65536 >>> 15 !== 2) { - $ERROR('#497: 65536 >>> 15 === 2. Actual: ' + (65536 >>> 15)); -} - - -if (131072 >>> 15 !== 4) { - $ERROR('#498: 131072 >>> 15 === 4. Actual: ' + (131072 >>> 15)); -} - - -if (262144 >>> 15 !== 8) { - $ERROR('#499: 262144 >>> 15 === 8. Actual: ' + (262144 >>> 15)); -} - - -if (524288 >>> 15 !== 16) { - $ERROR('#500: 524288 >>> 15 === 16. Actual: ' + (524288 >>> 15)); -} - - -if (1048576 >>> 15 !== 32) { - $ERROR('#501: 1048576 >>> 15 === 32. Actual: ' + (1048576 >>> 15)); -} - - -if (2097152 >>> 15 !== 64) { - $ERROR('#502: 2097152 >>> 15 === 64. Actual: ' + (2097152 >>> 15)); -} - - -if (4194304 >>> 15 !== 128) { - $ERROR('#503: 4194304 >>> 15 === 128. Actual: ' + (4194304 >>> 15)); -} - - -if (8388608 >>> 15 !== 256) { - $ERROR('#504: 8388608 >>> 15 === 256. Actual: ' + (8388608 >>> 15)); -} - - -if (16777216 >>> 15 !== 512) { - $ERROR('#505: 16777216 >>> 15 === 512. Actual: ' + (16777216 >>> 15)); -} - - -if (33554432 >>> 15 !== 1024) { - $ERROR('#506: 33554432 >>> 15 === 1024. Actual: ' + (33554432 >>> 15)); -} - - -if (67108864 >>> 15 !== 2048) { - $ERROR('#507: 67108864 >>> 15 === 2048. Actual: ' + (67108864 >>> 15)); -} - - -if (134217728 >>> 15 !== 4096) { - $ERROR('#508: 134217728 >>> 15 === 4096. Actual: ' + (134217728 >>> 15)); -} - - -if (268435456 >>> 15 !== 8192) { - $ERROR('#509: 268435456 >>> 15 === 8192. Actual: ' + (268435456 >>> 15)); -} - - -if (536870912 >>> 15 !== 16384) { - $ERROR('#510: 536870912 >>> 15 === 16384. Actual: ' + (536870912 >>> 15)); -} - - -if (1073741824 >>> 15 !== 32768) { - $ERROR('#511: 1073741824 >>> 15 === 32768. Actual: ' + (1073741824 >>> 15)); -} - - -if (2147483648 >>> 15 !== 65536) { - $ERROR('#512: 2147483648 >>> 15 === 65536. Actual: ' + (2147483648 >>> 15)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.js deleted file mode 100644 index a87057b18c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.js +++ /dev/null @@ -1,2587 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A4_T2; - * @section: 11.7.3; - * @assertion: Check operator x >>> y in distinct points; - * @description: ShiftExpression = 2^n - 1, n = 16...31; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A4_T2", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.js", - -assertion: "Check operator x >>> y in distinct points", - -description: "ShiftExpression = 2^n - 1, n = 16...31", - -test: function testcase() { - //CHECK - -if (1 >>> 16 !== 0) { - $ERROR('#513: 1 >>> 16 === 0. Actual: ' + (1 >>> 16)); -} - - -if (2 >>> 16 !== 0) { - $ERROR('#514: 2 >>> 16 === 0. Actual: ' + (2 >>> 16)); -} - - -if (4 >>> 16 !== 0) { - $ERROR('#515: 4 >>> 16 === 0. Actual: ' + (4 >>> 16)); -} - - -if (8 >>> 16 !== 0) { - $ERROR('#516: 8 >>> 16 === 0. Actual: ' + (8 >>> 16)); -} - - -if (16 >>> 16 !== 0) { - $ERROR('#517: 16 >>> 16 === 0. Actual: ' + (16 >>> 16)); -} - - -if (32 >>> 16 !== 0) { - $ERROR('#518: 32 >>> 16 === 0. Actual: ' + (32 >>> 16)); -} - - -if (64 >>> 16 !== 0) { - $ERROR('#519: 64 >>> 16 === 0. Actual: ' + (64 >>> 16)); -} - - -if (128 >>> 16 !== 0) { - $ERROR('#520: 128 >>> 16 === 0. Actual: ' + (128 >>> 16)); -} - - -if (256 >>> 16 !== 0) { - $ERROR('#521: 256 >>> 16 === 0. Actual: ' + (256 >>> 16)); -} - - -if (512 >>> 16 !== 0) { - $ERROR('#522: 512 >>> 16 === 0. Actual: ' + (512 >>> 16)); -} - - -if (1024 >>> 16 !== 0) { - $ERROR('#523: 1024 >>> 16 === 0. Actual: ' + (1024 >>> 16)); -} - - -if (2048 >>> 16 !== 0) { - $ERROR('#524: 2048 >>> 16 === 0. Actual: ' + (2048 >>> 16)); -} - - -if (4096 >>> 16 !== 0) { - $ERROR('#525: 4096 >>> 16 === 0. Actual: ' + (4096 >>> 16)); -} - - -if (8192 >>> 16 !== 0) { - $ERROR('#526: 8192 >>> 16 === 0. Actual: ' + (8192 >>> 16)); -} - - -if (16384 >>> 16 !== 0) { - $ERROR('#527: 16384 >>> 16 === 0. Actual: ' + (16384 >>> 16)); -} - - -if (32768 >>> 16 !== 0) { - $ERROR('#528: 32768 >>> 16 === 0. Actual: ' + (32768 >>> 16)); -} - - -if (65536 >>> 16 !== 1) { - $ERROR('#529: 65536 >>> 16 === 1. Actual: ' + (65536 >>> 16)); -} - - -if (131072 >>> 16 !== 2) { - $ERROR('#530: 131072 >>> 16 === 2. Actual: ' + (131072 >>> 16)); -} - - -if (262144 >>> 16 !== 4) { - $ERROR('#531: 262144 >>> 16 === 4. Actual: ' + (262144 >>> 16)); -} - - -if (524288 >>> 16 !== 8) { - $ERROR('#532: 524288 >>> 16 === 8. Actual: ' + (524288 >>> 16)); -} - - -if (1048576 >>> 16 !== 16) { - $ERROR('#533: 1048576 >>> 16 === 16. Actual: ' + (1048576 >>> 16)); -} - - -if (2097152 >>> 16 !== 32) { - $ERROR('#534: 2097152 >>> 16 === 32. Actual: ' + (2097152 >>> 16)); -} - - -if (4194304 >>> 16 !== 64) { - $ERROR('#535: 4194304 >>> 16 === 64. Actual: ' + (4194304 >>> 16)); -} - - -if (8388608 >>> 16 !== 128) { - $ERROR('#536: 8388608 >>> 16 === 128. Actual: ' + (8388608 >>> 16)); -} - - -if (16777216 >>> 16 !== 256) { - $ERROR('#537: 16777216 >>> 16 === 256. Actual: ' + (16777216 >>> 16)); -} - - -if (33554432 >>> 16 !== 512) { - $ERROR('#538: 33554432 >>> 16 === 512. Actual: ' + (33554432 >>> 16)); -} - - -if (67108864 >>> 16 !== 1024) { - $ERROR('#539: 67108864 >>> 16 === 1024. Actual: ' + (67108864 >>> 16)); -} - - -if (134217728 >>> 16 !== 2048) { - $ERROR('#540: 134217728 >>> 16 === 2048. Actual: ' + (134217728 >>> 16)); -} - - -if (268435456 >>> 16 !== 4096) { - $ERROR('#541: 268435456 >>> 16 === 4096. Actual: ' + (268435456 >>> 16)); -} - - -if (536870912 >>> 16 !== 8192) { - $ERROR('#542: 536870912 >>> 16 === 8192. Actual: ' + (536870912 >>> 16)); -} - - -if (1073741824 >>> 16 !== 16384) { - $ERROR('#543: 1073741824 >>> 16 === 16384. Actual: ' + (1073741824 >>> 16)); -} - - -if (2147483648 >>> 16 !== 32768) { - $ERROR('#544: 2147483648 >>> 16 === 32768. Actual: ' + (2147483648 >>> 16)); -} - - -if (1 >>> 17 !== 0) { - $ERROR('#545: 1 >>> 17 === 0. Actual: ' + (1 >>> 17)); -} - - -if (2 >>> 17 !== 0) { - $ERROR('#546: 2 >>> 17 === 0. Actual: ' + (2 >>> 17)); -} - - -if (4 >>> 17 !== 0) { - $ERROR('#547: 4 >>> 17 === 0. Actual: ' + (4 >>> 17)); -} - - -if (8 >>> 17 !== 0) { - $ERROR('#548: 8 >>> 17 === 0. Actual: ' + (8 >>> 17)); -} - - -if (16 >>> 17 !== 0) { - $ERROR('#549: 16 >>> 17 === 0. Actual: ' + (16 >>> 17)); -} - - -if (32 >>> 17 !== 0) { - $ERROR('#550: 32 >>> 17 === 0. Actual: ' + (32 >>> 17)); -} - - -if (64 >>> 17 !== 0) { - $ERROR('#551: 64 >>> 17 === 0. Actual: ' + (64 >>> 17)); -} - - -if (128 >>> 17 !== 0) { - $ERROR('#552: 128 >>> 17 === 0. Actual: ' + (128 >>> 17)); -} - - -if (256 >>> 17 !== 0) { - $ERROR('#553: 256 >>> 17 === 0. Actual: ' + (256 >>> 17)); -} - - -if (512 >>> 17 !== 0) { - $ERROR('#554: 512 >>> 17 === 0. Actual: ' + (512 >>> 17)); -} - - -if (1024 >>> 17 !== 0) { - $ERROR('#555: 1024 >>> 17 === 0. Actual: ' + (1024 >>> 17)); -} - - -if (2048 >>> 17 !== 0) { - $ERROR('#556: 2048 >>> 17 === 0. Actual: ' + (2048 >>> 17)); -} - - -if (4096 >>> 17 !== 0) { - $ERROR('#557: 4096 >>> 17 === 0. Actual: ' + (4096 >>> 17)); -} - - -if (8192 >>> 17 !== 0) { - $ERROR('#558: 8192 >>> 17 === 0. Actual: ' + (8192 >>> 17)); -} - - -if (16384 >>> 17 !== 0) { - $ERROR('#559: 16384 >>> 17 === 0. Actual: ' + (16384 >>> 17)); -} - - -if (32768 >>> 17 !== 0) { - $ERROR('#560: 32768 >>> 17 === 0. Actual: ' + (32768 >>> 17)); -} - - -if (65536 >>> 17 !== 0) { - $ERROR('#561: 65536 >>> 17 === 0. Actual: ' + (65536 >>> 17)); -} - - -if (131072 >>> 17 !== 1) { - $ERROR('#562: 131072 >>> 17 === 1. Actual: ' + (131072 >>> 17)); -} - - -if (262144 >>> 17 !== 2) { - $ERROR('#563: 262144 >>> 17 === 2. Actual: ' + (262144 >>> 17)); -} - - -if (524288 >>> 17 !== 4) { - $ERROR('#564: 524288 >>> 17 === 4. Actual: ' + (524288 >>> 17)); -} - - -if (1048576 >>> 17 !== 8) { - $ERROR('#565: 1048576 >>> 17 === 8. Actual: ' + (1048576 >>> 17)); -} - - -if (2097152 >>> 17 !== 16) { - $ERROR('#566: 2097152 >>> 17 === 16. Actual: ' + (2097152 >>> 17)); -} - - -if (4194304 >>> 17 !== 32) { - $ERROR('#567: 4194304 >>> 17 === 32. Actual: ' + (4194304 >>> 17)); -} - - -if (8388608 >>> 17 !== 64) { - $ERROR('#568: 8388608 >>> 17 === 64. Actual: ' + (8388608 >>> 17)); -} - - -if (16777216 >>> 17 !== 128) { - $ERROR('#569: 16777216 >>> 17 === 128. Actual: ' + (16777216 >>> 17)); -} - - -if (33554432 >>> 17 !== 256) { - $ERROR('#570: 33554432 >>> 17 === 256. Actual: ' + (33554432 >>> 17)); -} - - -if (67108864 >>> 17 !== 512) { - $ERROR('#571: 67108864 >>> 17 === 512. Actual: ' + (67108864 >>> 17)); -} - - -if (134217728 >>> 17 !== 1024) { - $ERROR('#572: 134217728 >>> 17 === 1024. Actual: ' + (134217728 >>> 17)); -} - - -if (268435456 >>> 17 !== 2048) { - $ERROR('#573: 268435456 >>> 17 === 2048. Actual: ' + (268435456 >>> 17)); -} - - -if (536870912 >>> 17 !== 4096) { - $ERROR('#574: 536870912 >>> 17 === 4096. Actual: ' + (536870912 >>> 17)); -} - - -if (1073741824 >>> 17 !== 8192) { - $ERROR('#575: 1073741824 >>> 17 === 8192. Actual: ' + (1073741824 >>> 17)); -} - - -if (2147483648 >>> 17 !== 16384) { - $ERROR('#576: 2147483648 >>> 17 === 16384. Actual: ' + (2147483648 >>> 17)); -} - - -if (1 >>> 18 !== 0) { - $ERROR('#577: 1 >>> 18 === 0. Actual: ' + (1 >>> 18)); -} - - -if (2 >>> 18 !== 0) { - $ERROR('#578: 2 >>> 18 === 0. Actual: ' + (2 >>> 18)); -} - - -if (4 >>> 18 !== 0) { - $ERROR('#579: 4 >>> 18 === 0. Actual: ' + (4 >>> 18)); -} - - -if (8 >>> 18 !== 0) { - $ERROR('#580: 8 >>> 18 === 0. Actual: ' + (8 >>> 18)); -} - - -if (16 >>> 18 !== 0) { - $ERROR('#581: 16 >>> 18 === 0. Actual: ' + (16 >>> 18)); -} - - -if (32 >>> 18 !== 0) { - $ERROR('#582: 32 >>> 18 === 0. Actual: ' + (32 >>> 18)); -} - - -if (64 >>> 18 !== 0) { - $ERROR('#583: 64 >>> 18 === 0. Actual: ' + (64 >>> 18)); -} - - -if (128 >>> 18 !== 0) { - $ERROR('#584: 128 >>> 18 === 0. Actual: ' + (128 >>> 18)); -} - - -if (256 >>> 18 !== 0) { - $ERROR('#585: 256 >>> 18 === 0. Actual: ' + (256 >>> 18)); -} - - -if (512 >>> 18 !== 0) { - $ERROR('#586: 512 >>> 18 === 0. Actual: ' + (512 >>> 18)); -} - - -if (1024 >>> 18 !== 0) { - $ERROR('#587: 1024 >>> 18 === 0. Actual: ' + (1024 >>> 18)); -} - - -if (2048 >>> 18 !== 0) { - $ERROR('#588: 2048 >>> 18 === 0. Actual: ' + (2048 >>> 18)); -} - - -if (4096 >>> 18 !== 0) { - $ERROR('#589: 4096 >>> 18 === 0. Actual: ' + (4096 >>> 18)); -} - - -if (8192 >>> 18 !== 0) { - $ERROR('#590: 8192 >>> 18 === 0. Actual: ' + (8192 >>> 18)); -} - - -if (16384 >>> 18 !== 0) { - $ERROR('#591: 16384 >>> 18 === 0. Actual: ' + (16384 >>> 18)); -} - - -if (32768 >>> 18 !== 0) { - $ERROR('#592: 32768 >>> 18 === 0. Actual: ' + (32768 >>> 18)); -} - - -if (65536 >>> 18 !== 0) { - $ERROR('#593: 65536 >>> 18 === 0. Actual: ' + (65536 >>> 18)); -} - - -if (131072 >>> 18 !== 0) { - $ERROR('#594: 131072 >>> 18 === 0. Actual: ' + (131072 >>> 18)); -} - - -if (262144 >>> 18 !== 1) { - $ERROR('#595: 262144 >>> 18 === 1. Actual: ' + (262144 >>> 18)); -} - - -if (524288 >>> 18 !== 2) { - $ERROR('#596: 524288 >>> 18 === 2. Actual: ' + (524288 >>> 18)); -} - - -if (1048576 >>> 18 !== 4) { - $ERROR('#597: 1048576 >>> 18 === 4. Actual: ' + (1048576 >>> 18)); -} - - -if (2097152 >>> 18 !== 8) { - $ERROR('#598: 2097152 >>> 18 === 8. Actual: ' + (2097152 >>> 18)); -} - - -if (4194304 >>> 18 !== 16) { - $ERROR('#599: 4194304 >>> 18 === 16. Actual: ' + (4194304 >>> 18)); -} - - -if (8388608 >>> 18 !== 32) { - $ERROR('#600: 8388608 >>> 18 === 32. Actual: ' + (8388608 >>> 18)); -} - - -if (16777216 >>> 18 !== 64) { - $ERROR('#601: 16777216 >>> 18 === 64. Actual: ' + (16777216 >>> 18)); -} - - -if (33554432 >>> 18 !== 128) { - $ERROR('#602: 33554432 >>> 18 === 128. Actual: ' + (33554432 >>> 18)); -} - - -if (67108864 >>> 18 !== 256) { - $ERROR('#603: 67108864 >>> 18 === 256. Actual: ' + (67108864 >>> 18)); -} - - -if (134217728 >>> 18 !== 512) { - $ERROR('#604: 134217728 >>> 18 === 512. Actual: ' + (134217728 >>> 18)); -} - - -if (268435456 >>> 18 !== 1024) { - $ERROR('#605: 268435456 >>> 18 === 1024. Actual: ' + (268435456 >>> 18)); -} - - -if (536870912 >>> 18 !== 2048) { - $ERROR('#606: 536870912 >>> 18 === 2048. Actual: ' + (536870912 >>> 18)); -} - - -if (1073741824 >>> 18 !== 4096) { - $ERROR('#607: 1073741824 >>> 18 === 4096. Actual: ' + (1073741824 >>> 18)); -} - - -if (2147483648 >>> 18 !== 8192) { - $ERROR('#608: 2147483648 >>> 18 === 8192. Actual: ' + (2147483648 >>> 18)); -} - - -if (1 >>> 19 !== 0) { - $ERROR('#609: 1 >>> 19 === 0. Actual: ' + (1 >>> 19)); -} - - -if (2 >>> 19 !== 0) { - $ERROR('#610: 2 >>> 19 === 0. Actual: ' + (2 >>> 19)); -} - - -if (4 >>> 19 !== 0) { - $ERROR('#611: 4 >>> 19 === 0. Actual: ' + (4 >>> 19)); -} - - -if (8 >>> 19 !== 0) { - $ERROR('#612: 8 >>> 19 === 0. Actual: ' + (8 >>> 19)); -} - - -if (16 >>> 19 !== 0) { - $ERROR('#613: 16 >>> 19 === 0. Actual: ' + (16 >>> 19)); -} - - -if (32 >>> 19 !== 0) { - $ERROR('#614: 32 >>> 19 === 0. Actual: ' + (32 >>> 19)); -} - - -if (64 >>> 19 !== 0) { - $ERROR('#615: 64 >>> 19 === 0. Actual: ' + (64 >>> 19)); -} - - -if (128 >>> 19 !== 0) { - $ERROR('#616: 128 >>> 19 === 0. Actual: ' + (128 >>> 19)); -} - - -if (256 >>> 19 !== 0) { - $ERROR('#617: 256 >>> 19 === 0. Actual: ' + (256 >>> 19)); -} - - -if (512 >>> 19 !== 0) { - $ERROR('#618: 512 >>> 19 === 0. Actual: ' + (512 >>> 19)); -} - - -if (1024 >>> 19 !== 0) { - $ERROR('#619: 1024 >>> 19 === 0. Actual: ' + (1024 >>> 19)); -} - - -if (2048 >>> 19 !== 0) { - $ERROR('#620: 2048 >>> 19 === 0. Actual: ' + (2048 >>> 19)); -} - - -if (4096 >>> 19 !== 0) { - $ERROR('#621: 4096 >>> 19 === 0. Actual: ' + (4096 >>> 19)); -} - - -if (8192 >>> 19 !== 0) { - $ERROR('#622: 8192 >>> 19 === 0. Actual: ' + (8192 >>> 19)); -} - - -if (16384 >>> 19 !== 0) { - $ERROR('#623: 16384 >>> 19 === 0. Actual: ' + (16384 >>> 19)); -} - - -if (32768 >>> 19 !== 0) { - $ERROR('#624: 32768 >>> 19 === 0. Actual: ' + (32768 >>> 19)); -} - - -if (65536 >>> 19 !== 0) { - $ERROR('#625: 65536 >>> 19 === 0. Actual: ' + (65536 >>> 19)); -} - - -if (131072 >>> 19 !== 0) { - $ERROR('#626: 131072 >>> 19 === 0. Actual: ' + (131072 >>> 19)); -} - - -if (262144 >>> 19 !== 0) { - $ERROR('#627: 262144 >>> 19 === 0. Actual: ' + (262144 >>> 19)); -} - - -if (524288 >>> 19 !== 1) { - $ERROR('#628: 524288 >>> 19 === 1. Actual: ' + (524288 >>> 19)); -} - - -if (1048576 >>> 19 !== 2) { - $ERROR('#629: 1048576 >>> 19 === 2. Actual: ' + (1048576 >>> 19)); -} - - -if (2097152 >>> 19 !== 4) { - $ERROR('#630: 2097152 >>> 19 === 4. Actual: ' + (2097152 >>> 19)); -} - - -if (4194304 >>> 19 !== 8) { - $ERROR('#631: 4194304 >>> 19 === 8. Actual: ' + (4194304 >>> 19)); -} - - -if (8388608 >>> 19 !== 16) { - $ERROR('#632: 8388608 >>> 19 === 16. Actual: ' + (8388608 >>> 19)); -} - - -if (16777216 >>> 19 !== 32) { - $ERROR('#633: 16777216 >>> 19 === 32. Actual: ' + (16777216 >>> 19)); -} - - -if (33554432 >>> 19 !== 64) { - $ERROR('#634: 33554432 >>> 19 === 64. Actual: ' + (33554432 >>> 19)); -} - - -if (67108864 >>> 19 !== 128) { - $ERROR('#635: 67108864 >>> 19 === 128. Actual: ' + (67108864 >>> 19)); -} - - -if (134217728 >>> 19 !== 256) { - $ERROR('#636: 134217728 >>> 19 === 256. Actual: ' + (134217728 >>> 19)); -} - - -if (268435456 >>> 19 !== 512) { - $ERROR('#637: 268435456 >>> 19 === 512. Actual: ' + (268435456 >>> 19)); -} - - -if (536870912 >>> 19 !== 1024) { - $ERROR('#638: 536870912 >>> 19 === 1024. Actual: ' + (536870912 >>> 19)); -} - - -if (1073741824 >>> 19 !== 2048) { - $ERROR('#639: 1073741824 >>> 19 === 2048. Actual: ' + (1073741824 >>> 19)); -} - - -if (2147483648 >>> 19 !== 4096) { - $ERROR('#640: 2147483648 >>> 19 === 4096. Actual: ' + (2147483648 >>> 19)); -} - - -if (1 >>> 20 !== 0) { - $ERROR('#641: 1 >>> 20 === 0. Actual: ' + (1 >>> 20)); -} - - -if (2 >>> 20 !== 0) { - $ERROR('#642: 2 >>> 20 === 0. Actual: ' + (2 >>> 20)); -} - - -if (4 >>> 20 !== 0) { - $ERROR('#643: 4 >>> 20 === 0. Actual: ' + (4 >>> 20)); -} - - -if (8 >>> 20 !== 0) { - $ERROR('#644: 8 >>> 20 === 0. Actual: ' + (8 >>> 20)); -} - - -if (16 >>> 20 !== 0) { - $ERROR('#645: 16 >>> 20 === 0. Actual: ' + (16 >>> 20)); -} - - -if (32 >>> 20 !== 0) { - $ERROR('#646: 32 >>> 20 === 0. Actual: ' + (32 >>> 20)); -} - - -if (64 >>> 20 !== 0) { - $ERROR('#647: 64 >>> 20 === 0. Actual: ' + (64 >>> 20)); -} - - -if (128 >>> 20 !== 0) { - $ERROR('#648: 128 >>> 20 === 0. Actual: ' + (128 >>> 20)); -} - - -if (256 >>> 20 !== 0) { - $ERROR('#649: 256 >>> 20 === 0. Actual: ' + (256 >>> 20)); -} - - -if (512 >>> 20 !== 0) { - $ERROR('#650: 512 >>> 20 === 0. Actual: ' + (512 >>> 20)); -} - - -if (1024 >>> 20 !== 0) { - $ERROR('#651: 1024 >>> 20 === 0. Actual: ' + (1024 >>> 20)); -} - - -if (2048 >>> 20 !== 0) { - $ERROR('#652: 2048 >>> 20 === 0. Actual: ' + (2048 >>> 20)); -} - - -if (4096 >>> 20 !== 0) { - $ERROR('#653: 4096 >>> 20 === 0. Actual: ' + (4096 >>> 20)); -} - - -if (8192 >>> 20 !== 0) { - $ERROR('#654: 8192 >>> 20 === 0. Actual: ' + (8192 >>> 20)); -} - - -if (16384 >>> 20 !== 0) { - $ERROR('#655: 16384 >>> 20 === 0. Actual: ' + (16384 >>> 20)); -} - - -if (32768 >>> 20 !== 0) { - $ERROR('#656: 32768 >>> 20 === 0. Actual: ' + (32768 >>> 20)); -} - - -if (65536 >>> 20 !== 0) { - $ERROR('#657: 65536 >>> 20 === 0. Actual: ' + (65536 >>> 20)); -} - - -if (131072 >>> 20 !== 0) { - $ERROR('#658: 131072 >>> 20 === 0. Actual: ' + (131072 >>> 20)); -} - - -if (262144 >>> 20 !== 0) { - $ERROR('#659: 262144 >>> 20 === 0. Actual: ' + (262144 >>> 20)); -} - - -if (524288 >>> 20 !== 0) { - $ERROR('#660: 524288 >>> 20 === 0. Actual: ' + (524288 >>> 20)); -} - - -if (1048576 >>> 20 !== 1) { - $ERROR('#661: 1048576 >>> 20 === 1. Actual: ' + (1048576 >>> 20)); -} - - -if (2097152 >>> 20 !== 2) { - $ERROR('#662: 2097152 >>> 20 === 2. Actual: ' + (2097152 >>> 20)); -} - - -if (4194304 >>> 20 !== 4) { - $ERROR('#663: 4194304 >>> 20 === 4. Actual: ' + (4194304 >>> 20)); -} - - -if (8388608 >>> 20 !== 8) { - $ERROR('#664: 8388608 >>> 20 === 8. Actual: ' + (8388608 >>> 20)); -} - - -if (16777216 >>> 20 !== 16) { - $ERROR('#665: 16777216 >>> 20 === 16. Actual: ' + (16777216 >>> 20)); -} - - -if (33554432 >>> 20 !== 32) { - $ERROR('#666: 33554432 >>> 20 === 32. Actual: ' + (33554432 >>> 20)); -} - - -if (67108864 >>> 20 !== 64) { - $ERROR('#667: 67108864 >>> 20 === 64. Actual: ' + (67108864 >>> 20)); -} - - -if (134217728 >>> 20 !== 128) { - $ERROR('#668: 134217728 >>> 20 === 128. Actual: ' + (134217728 >>> 20)); -} - - -if (268435456 >>> 20 !== 256) { - $ERROR('#669: 268435456 >>> 20 === 256. Actual: ' + (268435456 >>> 20)); -} - - -if (536870912 >>> 20 !== 512) { - $ERROR('#670: 536870912 >>> 20 === 512. Actual: ' + (536870912 >>> 20)); -} - - -if (1073741824 >>> 20 !== 1024) { - $ERROR('#671: 1073741824 >>> 20 === 1024. Actual: ' + (1073741824 >>> 20)); -} - - -if (2147483648 >>> 20 !== 2048) { - $ERROR('#672: 2147483648 >>> 20 === 2048. Actual: ' + (2147483648 >>> 20)); -} - - -if (1 >>> 21 !== 0) { - $ERROR('#673: 1 >>> 21 === 0. Actual: ' + (1 >>> 21)); -} - - -if (2 >>> 21 !== 0) { - $ERROR('#674: 2 >>> 21 === 0. Actual: ' + (2 >>> 21)); -} - - -if (4 >>> 21 !== 0) { - $ERROR('#675: 4 >>> 21 === 0. Actual: ' + (4 >>> 21)); -} - - -if (8 >>> 21 !== 0) { - $ERROR('#676: 8 >>> 21 === 0. Actual: ' + (8 >>> 21)); -} - - -if (16 >>> 21 !== 0) { - $ERROR('#677: 16 >>> 21 === 0. Actual: ' + (16 >>> 21)); -} - - -if (32 >>> 21 !== 0) { - $ERROR('#678: 32 >>> 21 === 0. Actual: ' + (32 >>> 21)); -} - - -if (64 >>> 21 !== 0) { - $ERROR('#679: 64 >>> 21 === 0. Actual: ' + (64 >>> 21)); -} - - -if (128 >>> 21 !== 0) { - $ERROR('#680: 128 >>> 21 === 0. Actual: ' + (128 >>> 21)); -} - - -if (256 >>> 21 !== 0) { - $ERROR('#681: 256 >>> 21 === 0. Actual: ' + (256 >>> 21)); -} - - -if (512 >>> 21 !== 0) { - $ERROR('#682: 512 >>> 21 === 0. Actual: ' + (512 >>> 21)); -} - - -if (1024 >>> 21 !== 0) { - $ERROR('#683: 1024 >>> 21 === 0. Actual: ' + (1024 >>> 21)); -} - - -if (2048 >>> 21 !== 0) { - $ERROR('#684: 2048 >>> 21 === 0. Actual: ' + (2048 >>> 21)); -} - - -if (4096 >>> 21 !== 0) { - $ERROR('#685: 4096 >>> 21 === 0. Actual: ' + (4096 >>> 21)); -} - - -if (8192 >>> 21 !== 0) { - $ERROR('#686: 8192 >>> 21 === 0. Actual: ' + (8192 >>> 21)); -} - - -if (16384 >>> 21 !== 0) { - $ERROR('#687: 16384 >>> 21 === 0. Actual: ' + (16384 >>> 21)); -} - - -if (32768 >>> 21 !== 0) { - $ERROR('#688: 32768 >>> 21 === 0. Actual: ' + (32768 >>> 21)); -} - - -if (65536 >>> 21 !== 0) { - $ERROR('#689: 65536 >>> 21 === 0. Actual: ' + (65536 >>> 21)); -} - - -if (131072 >>> 21 !== 0) { - $ERROR('#690: 131072 >>> 21 === 0. Actual: ' + (131072 >>> 21)); -} - - -if (262144 >>> 21 !== 0) { - $ERROR('#691: 262144 >>> 21 === 0. Actual: ' + (262144 >>> 21)); -} - - -if (524288 >>> 21 !== 0) { - $ERROR('#692: 524288 >>> 21 === 0. Actual: ' + (524288 >>> 21)); -} - - -if (1048576 >>> 21 !== 0) { - $ERROR('#693: 1048576 >>> 21 === 0. Actual: ' + (1048576 >>> 21)); -} - - -if (2097152 >>> 21 !== 1) { - $ERROR('#694: 2097152 >>> 21 === 1. Actual: ' + (2097152 >>> 21)); -} - - -if (4194304 >>> 21 !== 2) { - $ERROR('#695: 4194304 >>> 21 === 2. Actual: ' + (4194304 >>> 21)); -} - - -if (8388608 >>> 21 !== 4) { - $ERROR('#696: 8388608 >>> 21 === 4. Actual: ' + (8388608 >>> 21)); -} - - -if (16777216 >>> 21 !== 8) { - $ERROR('#697: 16777216 >>> 21 === 8. Actual: ' + (16777216 >>> 21)); -} - - -if (33554432 >>> 21 !== 16) { - $ERROR('#698: 33554432 >>> 21 === 16. Actual: ' + (33554432 >>> 21)); -} - - -if (67108864 >>> 21 !== 32) { - $ERROR('#699: 67108864 >>> 21 === 32. Actual: ' + (67108864 >>> 21)); -} - - -if (134217728 >>> 21 !== 64) { - $ERROR('#700: 134217728 >>> 21 === 64. Actual: ' + (134217728 >>> 21)); -} - - -if (268435456 >>> 21 !== 128) { - $ERROR('#701: 268435456 >>> 21 === 128. Actual: ' + (268435456 >>> 21)); -} - - -if (536870912 >>> 21 !== 256) { - $ERROR('#702: 536870912 >>> 21 === 256. Actual: ' + (536870912 >>> 21)); -} - - -if (1073741824 >>> 21 !== 512) { - $ERROR('#703: 1073741824 >>> 21 === 512. Actual: ' + (1073741824 >>> 21)); -} - - -if (2147483648 >>> 21 !== 1024) { - $ERROR('#704: 2147483648 >>> 21 === 1024. Actual: ' + (2147483648 >>> 21)); -} - - -if (1 >>> 22 !== 0) { - $ERROR('#705: 1 >>> 22 === 0. Actual: ' + (1 >>> 22)); -} - - -if (2 >>> 22 !== 0) { - $ERROR('#706: 2 >>> 22 === 0. Actual: ' + (2 >>> 22)); -} - - -if (4 >>> 22 !== 0) { - $ERROR('#707: 4 >>> 22 === 0. Actual: ' + (4 >>> 22)); -} - - -if (8 >>> 22 !== 0) { - $ERROR('#708: 8 >>> 22 === 0. Actual: ' + (8 >>> 22)); -} - - -if (16 >>> 22 !== 0) { - $ERROR('#709: 16 >>> 22 === 0. Actual: ' + (16 >>> 22)); -} - - -if (32 >>> 22 !== 0) { - $ERROR('#710: 32 >>> 22 === 0. Actual: ' + (32 >>> 22)); -} - - -if (64 >>> 22 !== 0) { - $ERROR('#711: 64 >>> 22 === 0. Actual: ' + (64 >>> 22)); -} - - -if (128 >>> 22 !== 0) { - $ERROR('#712: 128 >>> 22 === 0. Actual: ' + (128 >>> 22)); -} - - -if (256 >>> 22 !== 0) { - $ERROR('#713: 256 >>> 22 === 0. Actual: ' + (256 >>> 22)); -} - - -if (512 >>> 22 !== 0) { - $ERROR('#714: 512 >>> 22 === 0. Actual: ' + (512 >>> 22)); -} - - -if (1024 >>> 22 !== 0) { - $ERROR('#715: 1024 >>> 22 === 0. Actual: ' + (1024 >>> 22)); -} - - -if (2048 >>> 22 !== 0) { - $ERROR('#716: 2048 >>> 22 === 0. Actual: ' + (2048 >>> 22)); -} - - -if (4096 >>> 22 !== 0) { - $ERROR('#717: 4096 >>> 22 === 0. Actual: ' + (4096 >>> 22)); -} - - -if (8192 >>> 22 !== 0) { - $ERROR('#718: 8192 >>> 22 === 0. Actual: ' + (8192 >>> 22)); -} - - -if (16384 >>> 22 !== 0) { - $ERROR('#719: 16384 >>> 22 === 0. Actual: ' + (16384 >>> 22)); -} - - -if (32768 >>> 22 !== 0) { - $ERROR('#720: 32768 >>> 22 === 0. Actual: ' + (32768 >>> 22)); -} - - -if (65536 >>> 22 !== 0) { - $ERROR('#721: 65536 >>> 22 === 0. Actual: ' + (65536 >>> 22)); -} - - -if (131072 >>> 22 !== 0) { - $ERROR('#722: 131072 >>> 22 === 0. Actual: ' + (131072 >>> 22)); -} - - -if (262144 >>> 22 !== 0) { - $ERROR('#723: 262144 >>> 22 === 0. Actual: ' + (262144 >>> 22)); -} - - -if (524288 >>> 22 !== 0) { - $ERROR('#724: 524288 >>> 22 === 0. Actual: ' + (524288 >>> 22)); -} - - -if (1048576 >>> 22 !== 0) { - $ERROR('#725: 1048576 >>> 22 === 0. Actual: ' + (1048576 >>> 22)); -} - - -if (2097152 >>> 22 !== 0) { - $ERROR('#726: 2097152 >>> 22 === 0. Actual: ' + (2097152 >>> 22)); -} - - -if (4194304 >>> 22 !== 1) { - $ERROR('#727: 4194304 >>> 22 === 1. Actual: ' + (4194304 >>> 22)); -} - - -if (8388608 >>> 22 !== 2) { - $ERROR('#728: 8388608 >>> 22 === 2. Actual: ' + (8388608 >>> 22)); -} - - -if (16777216 >>> 22 !== 4) { - $ERROR('#729: 16777216 >>> 22 === 4. Actual: ' + (16777216 >>> 22)); -} - - -if (33554432 >>> 22 !== 8) { - $ERROR('#730: 33554432 >>> 22 === 8. Actual: ' + (33554432 >>> 22)); -} - - -if (67108864 >>> 22 !== 16) { - $ERROR('#731: 67108864 >>> 22 === 16. Actual: ' + (67108864 >>> 22)); -} - - -if (134217728 >>> 22 !== 32) { - $ERROR('#732: 134217728 >>> 22 === 32. Actual: ' + (134217728 >>> 22)); -} - - -if (268435456 >>> 22 !== 64) { - $ERROR('#733: 268435456 >>> 22 === 64. Actual: ' + (268435456 >>> 22)); -} - - -if (536870912 >>> 22 !== 128) { - $ERROR('#734: 536870912 >>> 22 === 128. Actual: ' + (536870912 >>> 22)); -} - - -if (1073741824 >>> 22 !== 256) { - $ERROR('#735: 1073741824 >>> 22 === 256. Actual: ' + (1073741824 >>> 22)); -} - - -if (2147483648 >>> 22 !== 512) { - $ERROR('#736: 2147483648 >>> 22 === 512. Actual: ' + (2147483648 >>> 22)); -} - - -if (1 >>> 23 !== 0) { - $ERROR('#737: 1 >>> 23 === 0. Actual: ' + (1 >>> 23)); -} - - -if (2 >>> 23 !== 0) { - $ERROR('#738: 2 >>> 23 === 0. Actual: ' + (2 >>> 23)); -} - - -if (4 >>> 23 !== 0) { - $ERROR('#739: 4 >>> 23 === 0. Actual: ' + (4 >>> 23)); -} - - -if (8 >>> 23 !== 0) { - $ERROR('#740: 8 >>> 23 === 0. Actual: ' + (8 >>> 23)); -} - - -if (16 >>> 23 !== 0) { - $ERROR('#741: 16 >>> 23 === 0. Actual: ' + (16 >>> 23)); -} - - -if (32 >>> 23 !== 0) { - $ERROR('#742: 32 >>> 23 === 0. Actual: ' + (32 >>> 23)); -} - - -if (64 >>> 23 !== 0) { - $ERROR('#743: 64 >>> 23 === 0. Actual: ' + (64 >>> 23)); -} - - -if (128 >>> 23 !== 0) { - $ERROR('#744: 128 >>> 23 === 0. Actual: ' + (128 >>> 23)); -} - - -if (256 >>> 23 !== 0) { - $ERROR('#745: 256 >>> 23 === 0. Actual: ' + (256 >>> 23)); -} - - -if (512 >>> 23 !== 0) { - $ERROR('#746: 512 >>> 23 === 0. Actual: ' + (512 >>> 23)); -} - - -if (1024 >>> 23 !== 0) { - $ERROR('#747: 1024 >>> 23 === 0. Actual: ' + (1024 >>> 23)); -} - - -if (2048 >>> 23 !== 0) { - $ERROR('#748: 2048 >>> 23 === 0. Actual: ' + (2048 >>> 23)); -} - - -if (4096 >>> 23 !== 0) { - $ERROR('#749: 4096 >>> 23 === 0. Actual: ' + (4096 >>> 23)); -} - - -if (8192 >>> 23 !== 0) { - $ERROR('#750: 8192 >>> 23 === 0. Actual: ' + (8192 >>> 23)); -} - - -if (16384 >>> 23 !== 0) { - $ERROR('#751: 16384 >>> 23 === 0. Actual: ' + (16384 >>> 23)); -} - - -if (32768 >>> 23 !== 0) { - $ERROR('#752: 32768 >>> 23 === 0. Actual: ' + (32768 >>> 23)); -} - - -if (65536 >>> 23 !== 0) { - $ERROR('#753: 65536 >>> 23 === 0. Actual: ' + (65536 >>> 23)); -} - - -if (131072 >>> 23 !== 0) { - $ERROR('#754: 131072 >>> 23 === 0. Actual: ' + (131072 >>> 23)); -} - - -if (262144 >>> 23 !== 0) { - $ERROR('#755: 262144 >>> 23 === 0. Actual: ' + (262144 >>> 23)); -} - - -if (524288 >>> 23 !== 0) { - $ERROR('#756: 524288 >>> 23 === 0. Actual: ' + (524288 >>> 23)); -} - - -if (1048576 >>> 23 !== 0) { - $ERROR('#757: 1048576 >>> 23 === 0. Actual: ' + (1048576 >>> 23)); -} - - -if (2097152 >>> 23 !== 0) { - $ERROR('#758: 2097152 >>> 23 === 0. Actual: ' + (2097152 >>> 23)); -} - - -if (4194304 >>> 23 !== 0) { - $ERROR('#759: 4194304 >>> 23 === 0. Actual: ' + (4194304 >>> 23)); -} - - -if (8388608 >>> 23 !== 1) { - $ERROR('#760: 8388608 >>> 23 === 1. Actual: ' + (8388608 >>> 23)); -} - - -if (16777216 >>> 23 !== 2) { - $ERROR('#761: 16777216 >>> 23 === 2. Actual: ' + (16777216 >>> 23)); -} - - -if (33554432 >>> 23 !== 4) { - $ERROR('#762: 33554432 >>> 23 === 4. Actual: ' + (33554432 >>> 23)); -} - - -if (67108864 >>> 23 !== 8) { - $ERROR('#763: 67108864 >>> 23 === 8. Actual: ' + (67108864 >>> 23)); -} - - -if (134217728 >>> 23 !== 16) { - $ERROR('#764: 134217728 >>> 23 === 16. Actual: ' + (134217728 >>> 23)); -} - - -if (268435456 >>> 23 !== 32) { - $ERROR('#765: 268435456 >>> 23 === 32. Actual: ' + (268435456 >>> 23)); -} - - -if (536870912 >>> 23 !== 64) { - $ERROR('#766: 536870912 >>> 23 === 64. Actual: ' + (536870912 >>> 23)); -} - - -if (1073741824 >>> 23 !== 128) { - $ERROR('#767: 1073741824 >>> 23 === 128. Actual: ' + (1073741824 >>> 23)); -} - - -if (2147483648 >>> 23 !== 256) { - $ERROR('#768: 2147483648 >>> 23 === 256. Actual: ' + (2147483648 >>> 23)); -} - - -if (1 >>> 24 !== 0) { - $ERROR('#769: 1 >>> 24 === 0. Actual: ' + (1 >>> 24)); -} - - -if (2 >>> 24 !== 0) { - $ERROR('#770: 2 >>> 24 === 0. Actual: ' + (2 >>> 24)); -} - - -if (4 >>> 24 !== 0) { - $ERROR('#771: 4 >>> 24 === 0. Actual: ' + (4 >>> 24)); -} - - -if (8 >>> 24 !== 0) { - $ERROR('#772: 8 >>> 24 === 0. Actual: ' + (8 >>> 24)); -} - - -if (16 >>> 24 !== 0) { - $ERROR('#773: 16 >>> 24 === 0. Actual: ' + (16 >>> 24)); -} - - -if (32 >>> 24 !== 0) { - $ERROR('#774: 32 >>> 24 === 0. Actual: ' + (32 >>> 24)); -} - - -if (64 >>> 24 !== 0) { - $ERROR('#775: 64 >>> 24 === 0. Actual: ' + (64 >>> 24)); -} - - -if (128 >>> 24 !== 0) { - $ERROR('#776: 128 >>> 24 === 0. Actual: ' + (128 >>> 24)); -} - - -if (256 >>> 24 !== 0) { - $ERROR('#777: 256 >>> 24 === 0. Actual: ' + (256 >>> 24)); -} - - -if (512 >>> 24 !== 0) { - $ERROR('#778: 512 >>> 24 === 0. Actual: ' + (512 >>> 24)); -} - - -if (1024 >>> 24 !== 0) { - $ERROR('#779: 1024 >>> 24 === 0. Actual: ' + (1024 >>> 24)); -} - - -if (2048 >>> 24 !== 0) { - $ERROR('#780: 2048 >>> 24 === 0. Actual: ' + (2048 >>> 24)); -} - - -if (4096 >>> 24 !== 0) { - $ERROR('#781: 4096 >>> 24 === 0. Actual: ' + (4096 >>> 24)); -} - - -if (8192 >>> 24 !== 0) { - $ERROR('#782: 8192 >>> 24 === 0. Actual: ' + (8192 >>> 24)); -} - - -if (16384 >>> 24 !== 0) { - $ERROR('#783: 16384 >>> 24 === 0. Actual: ' + (16384 >>> 24)); -} - - -if (32768 >>> 24 !== 0) { - $ERROR('#784: 32768 >>> 24 === 0. Actual: ' + (32768 >>> 24)); -} - - -if (65536 >>> 24 !== 0) { - $ERROR('#785: 65536 >>> 24 === 0. Actual: ' + (65536 >>> 24)); -} - - -if (131072 >>> 24 !== 0) { - $ERROR('#786: 131072 >>> 24 === 0. Actual: ' + (131072 >>> 24)); -} - - -if (262144 >>> 24 !== 0) { - $ERROR('#787: 262144 >>> 24 === 0. Actual: ' + (262144 >>> 24)); -} - - -if (524288 >>> 24 !== 0) { - $ERROR('#788: 524288 >>> 24 === 0. Actual: ' + (524288 >>> 24)); -} - - -if (1048576 >>> 24 !== 0) { - $ERROR('#789: 1048576 >>> 24 === 0. Actual: ' + (1048576 >>> 24)); -} - - -if (2097152 >>> 24 !== 0) { - $ERROR('#790: 2097152 >>> 24 === 0. Actual: ' + (2097152 >>> 24)); -} - - -if (4194304 >>> 24 !== 0) { - $ERROR('#791: 4194304 >>> 24 === 0. Actual: ' + (4194304 >>> 24)); -} - - -if (8388608 >>> 24 !== 0) { - $ERROR('#792: 8388608 >>> 24 === 0. Actual: ' + (8388608 >>> 24)); -} - - -if (16777216 >>> 24 !== 1) { - $ERROR('#793: 16777216 >>> 24 === 1. Actual: ' + (16777216 >>> 24)); -} - - -if (33554432 >>> 24 !== 2) { - $ERROR('#794: 33554432 >>> 24 === 2. Actual: ' + (33554432 >>> 24)); -} - - -if (67108864 >>> 24 !== 4) { - $ERROR('#795: 67108864 >>> 24 === 4. Actual: ' + (67108864 >>> 24)); -} - - -if (134217728 >>> 24 !== 8) { - $ERROR('#796: 134217728 >>> 24 === 8. Actual: ' + (134217728 >>> 24)); -} - - -if (268435456 >>> 24 !== 16) { - $ERROR('#797: 268435456 >>> 24 === 16. Actual: ' + (268435456 >>> 24)); -} - - -if (536870912 >>> 24 !== 32) { - $ERROR('#798: 536870912 >>> 24 === 32. Actual: ' + (536870912 >>> 24)); -} - - -if (1073741824 >>> 24 !== 64) { - $ERROR('#799: 1073741824 >>> 24 === 64. Actual: ' + (1073741824 >>> 24)); -} - - -if (2147483648 >>> 24 !== 128) { - $ERROR('#800: 2147483648 >>> 24 === 128. Actual: ' + (2147483648 >>> 24)); -} - - -if (1 >>> 25 !== 0) { - $ERROR('#801: 1 >>> 25 === 0. Actual: ' + (1 >>> 25)); -} - - -if (2 >>> 25 !== 0) { - $ERROR('#802: 2 >>> 25 === 0. Actual: ' + (2 >>> 25)); -} - - -if (4 >>> 25 !== 0) { - $ERROR('#803: 4 >>> 25 === 0. Actual: ' + (4 >>> 25)); -} - - -if (8 >>> 25 !== 0) { - $ERROR('#804: 8 >>> 25 === 0. Actual: ' + (8 >>> 25)); -} - - -if (16 >>> 25 !== 0) { - $ERROR('#805: 16 >>> 25 === 0. Actual: ' + (16 >>> 25)); -} - - -if (32 >>> 25 !== 0) { - $ERROR('#806: 32 >>> 25 === 0. Actual: ' + (32 >>> 25)); -} - - -if (64 >>> 25 !== 0) { - $ERROR('#807: 64 >>> 25 === 0. Actual: ' + (64 >>> 25)); -} - - -if (128 >>> 25 !== 0) { - $ERROR('#808: 128 >>> 25 === 0. Actual: ' + (128 >>> 25)); -} - - -if (256 >>> 25 !== 0) { - $ERROR('#809: 256 >>> 25 === 0. Actual: ' + (256 >>> 25)); -} - - -if (512 >>> 25 !== 0) { - $ERROR('#810: 512 >>> 25 === 0. Actual: ' + (512 >>> 25)); -} - - -if (1024 >>> 25 !== 0) { - $ERROR('#811: 1024 >>> 25 === 0. Actual: ' + (1024 >>> 25)); -} - - -if (2048 >>> 25 !== 0) { - $ERROR('#812: 2048 >>> 25 === 0. Actual: ' + (2048 >>> 25)); -} - - -if (4096 >>> 25 !== 0) { - $ERROR('#813: 4096 >>> 25 === 0. Actual: ' + (4096 >>> 25)); -} - - -if (8192 >>> 25 !== 0) { - $ERROR('#814: 8192 >>> 25 === 0. Actual: ' + (8192 >>> 25)); -} - - -if (16384 >>> 25 !== 0) { - $ERROR('#815: 16384 >>> 25 === 0. Actual: ' + (16384 >>> 25)); -} - - -if (32768 >>> 25 !== 0) { - $ERROR('#816: 32768 >>> 25 === 0. Actual: ' + (32768 >>> 25)); -} - - -if (65536 >>> 25 !== 0) { - $ERROR('#817: 65536 >>> 25 === 0. Actual: ' + (65536 >>> 25)); -} - - -if (131072 >>> 25 !== 0) { - $ERROR('#818: 131072 >>> 25 === 0. Actual: ' + (131072 >>> 25)); -} - - -if (262144 >>> 25 !== 0) { - $ERROR('#819: 262144 >>> 25 === 0. Actual: ' + (262144 >>> 25)); -} - - -if (524288 >>> 25 !== 0) { - $ERROR('#820: 524288 >>> 25 === 0. Actual: ' + (524288 >>> 25)); -} - - -if (1048576 >>> 25 !== 0) { - $ERROR('#821: 1048576 >>> 25 === 0. Actual: ' + (1048576 >>> 25)); -} - - -if (2097152 >>> 25 !== 0) { - $ERROR('#822: 2097152 >>> 25 === 0. Actual: ' + (2097152 >>> 25)); -} - - -if (4194304 >>> 25 !== 0) { - $ERROR('#823: 4194304 >>> 25 === 0. Actual: ' + (4194304 >>> 25)); -} - - -if (8388608 >>> 25 !== 0) { - $ERROR('#824: 8388608 >>> 25 === 0. Actual: ' + (8388608 >>> 25)); -} - - -if (16777216 >>> 25 !== 0) { - $ERROR('#825: 16777216 >>> 25 === 0. Actual: ' + (16777216 >>> 25)); -} - - -if (33554432 >>> 25 !== 1) { - $ERROR('#826: 33554432 >>> 25 === 1. Actual: ' + (33554432 >>> 25)); -} - - -if (67108864 >>> 25 !== 2) { - $ERROR('#827: 67108864 >>> 25 === 2. Actual: ' + (67108864 >>> 25)); -} - - -if (134217728 >>> 25 !== 4) { - $ERROR('#828: 134217728 >>> 25 === 4. Actual: ' + (134217728 >>> 25)); -} - - -if (268435456 >>> 25 !== 8) { - $ERROR('#829: 268435456 >>> 25 === 8. Actual: ' + (268435456 >>> 25)); -} - - -if (536870912 >>> 25 !== 16) { - $ERROR('#830: 536870912 >>> 25 === 16. Actual: ' + (536870912 >>> 25)); -} - - -if (1073741824 >>> 25 !== 32) { - $ERROR('#831: 1073741824 >>> 25 === 32. Actual: ' + (1073741824 >>> 25)); -} - - -if (2147483648 >>> 25 !== 64) { - $ERROR('#832: 2147483648 >>> 25 === 64. Actual: ' + (2147483648 >>> 25)); -} - - -if (1 >>> 26 !== 0) { - $ERROR('#833: 1 >>> 26 === 0. Actual: ' + (1 >>> 26)); -} - - -if (2 >>> 26 !== 0) { - $ERROR('#834: 2 >>> 26 === 0. Actual: ' + (2 >>> 26)); -} - - -if (4 >>> 26 !== 0) { - $ERROR('#835: 4 >>> 26 === 0. Actual: ' + (4 >>> 26)); -} - - -if (8 >>> 26 !== 0) { - $ERROR('#836: 8 >>> 26 === 0. Actual: ' + (8 >>> 26)); -} - - -if (16 >>> 26 !== 0) { - $ERROR('#837: 16 >>> 26 === 0. Actual: ' + (16 >>> 26)); -} - - -if (32 >>> 26 !== 0) { - $ERROR('#838: 32 >>> 26 === 0. Actual: ' + (32 >>> 26)); -} - - -if (64 >>> 26 !== 0) { - $ERROR('#839: 64 >>> 26 === 0. Actual: ' + (64 >>> 26)); -} - - -if (128 >>> 26 !== 0) { - $ERROR('#840: 128 >>> 26 === 0. Actual: ' + (128 >>> 26)); -} - - -if (256 >>> 26 !== 0) { - $ERROR('#841: 256 >>> 26 === 0. Actual: ' + (256 >>> 26)); -} - - -if (512 >>> 26 !== 0) { - $ERROR('#842: 512 >>> 26 === 0. Actual: ' + (512 >>> 26)); -} - - -if (1024 >>> 26 !== 0) { - $ERROR('#843: 1024 >>> 26 === 0. Actual: ' + (1024 >>> 26)); -} - - -if (2048 >>> 26 !== 0) { - $ERROR('#844: 2048 >>> 26 === 0. Actual: ' + (2048 >>> 26)); -} - - -if (4096 >>> 26 !== 0) { - $ERROR('#845: 4096 >>> 26 === 0. Actual: ' + (4096 >>> 26)); -} - - -if (8192 >>> 26 !== 0) { - $ERROR('#846: 8192 >>> 26 === 0. Actual: ' + (8192 >>> 26)); -} - - -if (16384 >>> 26 !== 0) { - $ERROR('#847: 16384 >>> 26 === 0. Actual: ' + (16384 >>> 26)); -} - - -if (32768 >>> 26 !== 0) { - $ERROR('#848: 32768 >>> 26 === 0. Actual: ' + (32768 >>> 26)); -} - - -if (65536 >>> 26 !== 0) { - $ERROR('#849: 65536 >>> 26 === 0. Actual: ' + (65536 >>> 26)); -} - - -if (131072 >>> 26 !== 0) { - $ERROR('#850: 131072 >>> 26 === 0. Actual: ' + (131072 >>> 26)); -} - - -if (262144 >>> 26 !== 0) { - $ERROR('#851: 262144 >>> 26 === 0. Actual: ' + (262144 >>> 26)); -} - - -if (524288 >>> 26 !== 0) { - $ERROR('#852: 524288 >>> 26 === 0. Actual: ' + (524288 >>> 26)); -} - - -if (1048576 >>> 26 !== 0) { - $ERROR('#853: 1048576 >>> 26 === 0. Actual: ' + (1048576 >>> 26)); -} - - -if (2097152 >>> 26 !== 0) { - $ERROR('#854: 2097152 >>> 26 === 0. Actual: ' + (2097152 >>> 26)); -} - - -if (4194304 >>> 26 !== 0) { - $ERROR('#855: 4194304 >>> 26 === 0. Actual: ' + (4194304 >>> 26)); -} - - -if (8388608 >>> 26 !== 0) { - $ERROR('#856: 8388608 >>> 26 === 0. Actual: ' + (8388608 >>> 26)); -} - - -if (16777216 >>> 26 !== 0) { - $ERROR('#857: 16777216 >>> 26 === 0. Actual: ' + (16777216 >>> 26)); -} - - -if (33554432 >>> 26 !== 0) { - $ERROR('#858: 33554432 >>> 26 === 0. Actual: ' + (33554432 >>> 26)); -} - - -if (67108864 >>> 26 !== 1) { - $ERROR('#859: 67108864 >>> 26 === 1. Actual: ' + (67108864 >>> 26)); -} - - -if (134217728 >>> 26 !== 2) { - $ERROR('#860: 134217728 >>> 26 === 2. Actual: ' + (134217728 >>> 26)); -} - - -if (268435456 >>> 26 !== 4) { - $ERROR('#861: 268435456 >>> 26 === 4. Actual: ' + (268435456 >>> 26)); -} - - -if (536870912 >>> 26 !== 8) { - $ERROR('#862: 536870912 >>> 26 === 8. Actual: ' + (536870912 >>> 26)); -} - - -if (1073741824 >>> 26 !== 16) { - $ERROR('#863: 1073741824 >>> 26 === 16. Actual: ' + (1073741824 >>> 26)); -} - - -if (2147483648 >>> 26 !== 32) { - $ERROR('#864: 2147483648 >>> 26 === 32. Actual: ' + (2147483648 >>> 26)); -} - - -if (1 >>> 27 !== 0) { - $ERROR('#865: 1 >>> 27 === 0. Actual: ' + (1 >>> 27)); -} - - -if (2 >>> 27 !== 0) { - $ERROR('#866: 2 >>> 27 === 0. Actual: ' + (2 >>> 27)); -} - - -if (4 >>> 27 !== 0) { - $ERROR('#867: 4 >>> 27 === 0. Actual: ' + (4 >>> 27)); -} - - -if (8 >>> 27 !== 0) { - $ERROR('#868: 8 >>> 27 === 0. Actual: ' + (8 >>> 27)); -} - - -if (16 >>> 27 !== 0) { - $ERROR('#869: 16 >>> 27 === 0. Actual: ' + (16 >>> 27)); -} - - -if (32 >>> 27 !== 0) { - $ERROR('#870: 32 >>> 27 === 0. Actual: ' + (32 >>> 27)); -} - - -if (64 >>> 27 !== 0) { - $ERROR('#871: 64 >>> 27 === 0. Actual: ' + (64 >>> 27)); -} - - -if (128 >>> 27 !== 0) { - $ERROR('#872: 128 >>> 27 === 0. Actual: ' + (128 >>> 27)); -} - - -if (256 >>> 27 !== 0) { - $ERROR('#873: 256 >>> 27 === 0. Actual: ' + (256 >>> 27)); -} - - -if (512 >>> 27 !== 0) { - $ERROR('#874: 512 >>> 27 === 0. Actual: ' + (512 >>> 27)); -} - - -if (1024 >>> 27 !== 0) { - $ERROR('#875: 1024 >>> 27 === 0. Actual: ' + (1024 >>> 27)); -} - - -if (2048 >>> 27 !== 0) { - $ERROR('#876: 2048 >>> 27 === 0. Actual: ' + (2048 >>> 27)); -} - - -if (4096 >>> 27 !== 0) { - $ERROR('#877: 4096 >>> 27 === 0. Actual: ' + (4096 >>> 27)); -} - - -if (8192 >>> 27 !== 0) { - $ERROR('#878: 8192 >>> 27 === 0. Actual: ' + (8192 >>> 27)); -} - - -if (16384 >>> 27 !== 0) { - $ERROR('#879: 16384 >>> 27 === 0. Actual: ' + (16384 >>> 27)); -} - - -if (32768 >>> 27 !== 0) { - $ERROR('#880: 32768 >>> 27 === 0. Actual: ' + (32768 >>> 27)); -} - - -if (65536 >>> 27 !== 0) { - $ERROR('#881: 65536 >>> 27 === 0. Actual: ' + (65536 >>> 27)); -} - - -if (131072 >>> 27 !== 0) { - $ERROR('#882: 131072 >>> 27 === 0. Actual: ' + (131072 >>> 27)); -} - - -if (262144 >>> 27 !== 0) { - $ERROR('#883: 262144 >>> 27 === 0. Actual: ' + (262144 >>> 27)); -} - - -if (524288 >>> 27 !== 0) { - $ERROR('#884: 524288 >>> 27 === 0. Actual: ' + (524288 >>> 27)); -} - - -if (1048576 >>> 27 !== 0) { - $ERROR('#885: 1048576 >>> 27 === 0. Actual: ' + (1048576 >>> 27)); -} - - -if (2097152 >>> 27 !== 0) { - $ERROR('#886: 2097152 >>> 27 === 0. Actual: ' + (2097152 >>> 27)); -} - - -if (4194304 >>> 27 !== 0) { - $ERROR('#887: 4194304 >>> 27 === 0. Actual: ' + (4194304 >>> 27)); -} - - -if (8388608 >>> 27 !== 0) { - $ERROR('#888: 8388608 >>> 27 === 0. Actual: ' + (8388608 >>> 27)); -} - - -if (16777216 >>> 27 !== 0) { - $ERROR('#889: 16777216 >>> 27 === 0. Actual: ' + (16777216 >>> 27)); -} - - -if (33554432 >>> 27 !== 0) { - $ERROR('#890: 33554432 >>> 27 === 0. Actual: ' + (33554432 >>> 27)); -} - - -if (67108864 >>> 27 !== 0) { - $ERROR('#891: 67108864 >>> 27 === 0. Actual: ' + (67108864 >>> 27)); -} - - -if (134217728 >>> 27 !== 1) { - $ERROR('#892: 134217728 >>> 27 === 1. Actual: ' + (134217728 >>> 27)); -} - - -if (268435456 >>> 27 !== 2) { - $ERROR('#893: 268435456 >>> 27 === 2. Actual: ' + (268435456 >>> 27)); -} - - -if (536870912 >>> 27 !== 4) { - $ERROR('#894: 536870912 >>> 27 === 4. Actual: ' + (536870912 >>> 27)); -} - - -if (1073741824 >>> 27 !== 8) { - $ERROR('#895: 1073741824 >>> 27 === 8. Actual: ' + (1073741824 >>> 27)); -} - - -if (2147483648 >>> 27 !== 16) { - $ERROR('#896: 2147483648 >>> 27 === 16. Actual: ' + (2147483648 >>> 27)); -} - - -if (1 >>> 28 !== 0) { - $ERROR('#897: 1 >>> 28 === 0. Actual: ' + (1 >>> 28)); -} - - -if (2 >>> 28 !== 0) { - $ERROR('#898: 2 >>> 28 === 0. Actual: ' + (2 >>> 28)); -} - - -if (4 >>> 28 !== 0) { - $ERROR('#899: 4 >>> 28 === 0. Actual: ' + (4 >>> 28)); -} - - -if (8 >>> 28 !== 0) { - $ERROR('#900: 8 >>> 28 === 0. Actual: ' + (8 >>> 28)); -} - - -if (16 >>> 28 !== 0) { - $ERROR('#901: 16 >>> 28 === 0. Actual: ' + (16 >>> 28)); -} - - -if (32 >>> 28 !== 0) { - $ERROR('#902: 32 >>> 28 === 0. Actual: ' + (32 >>> 28)); -} - - -if (64 >>> 28 !== 0) { - $ERROR('#903: 64 >>> 28 === 0. Actual: ' + (64 >>> 28)); -} - - -if (128 >>> 28 !== 0) { - $ERROR('#904: 128 >>> 28 === 0. Actual: ' + (128 >>> 28)); -} - - -if (256 >>> 28 !== 0) { - $ERROR('#905: 256 >>> 28 === 0. Actual: ' + (256 >>> 28)); -} - - -if (512 >>> 28 !== 0) { - $ERROR('#906: 512 >>> 28 === 0. Actual: ' + (512 >>> 28)); -} - - -if (1024 >>> 28 !== 0) { - $ERROR('#907: 1024 >>> 28 === 0. Actual: ' + (1024 >>> 28)); -} - - -if (2048 >>> 28 !== 0) { - $ERROR('#908: 2048 >>> 28 === 0. Actual: ' + (2048 >>> 28)); -} - - -if (4096 >>> 28 !== 0) { - $ERROR('#909: 4096 >>> 28 === 0. Actual: ' + (4096 >>> 28)); -} - - -if (8192 >>> 28 !== 0) { - $ERROR('#910: 8192 >>> 28 === 0. Actual: ' + (8192 >>> 28)); -} - - -if (16384 >>> 28 !== 0) { - $ERROR('#911: 16384 >>> 28 === 0. Actual: ' + (16384 >>> 28)); -} - - -if (32768 >>> 28 !== 0) { - $ERROR('#912: 32768 >>> 28 === 0. Actual: ' + (32768 >>> 28)); -} - - -if (65536 >>> 28 !== 0) { - $ERROR('#913: 65536 >>> 28 === 0. Actual: ' + (65536 >>> 28)); -} - - -if (131072 >>> 28 !== 0) { - $ERROR('#914: 131072 >>> 28 === 0. Actual: ' + (131072 >>> 28)); -} - - -if (262144 >>> 28 !== 0) { - $ERROR('#915: 262144 >>> 28 === 0. Actual: ' + (262144 >>> 28)); -} - - -if (524288 >>> 28 !== 0) { - $ERROR('#916: 524288 >>> 28 === 0. Actual: ' + (524288 >>> 28)); -} - - -if (1048576 >>> 28 !== 0) { - $ERROR('#917: 1048576 >>> 28 === 0. Actual: ' + (1048576 >>> 28)); -} - - -if (2097152 >>> 28 !== 0) { - $ERROR('#918: 2097152 >>> 28 === 0. Actual: ' + (2097152 >>> 28)); -} - - -if (4194304 >>> 28 !== 0) { - $ERROR('#919: 4194304 >>> 28 === 0. Actual: ' + (4194304 >>> 28)); -} - - -if (8388608 >>> 28 !== 0) { - $ERROR('#920: 8388608 >>> 28 === 0. Actual: ' + (8388608 >>> 28)); -} - - -if (16777216 >>> 28 !== 0) { - $ERROR('#921: 16777216 >>> 28 === 0. Actual: ' + (16777216 >>> 28)); -} - - -if (33554432 >>> 28 !== 0) { - $ERROR('#922: 33554432 >>> 28 === 0. Actual: ' + (33554432 >>> 28)); -} - - -if (67108864 >>> 28 !== 0) { - $ERROR('#923: 67108864 >>> 28 === 0. Actual: ' + (67108864 >>> 28)); -} - - -if (134217728 >>> 28 !== 0) { - $ERROR('#924: 134217728 >>> 28 === 0. Actual: ' + (134217728 >>> 28)); -} - - -if (268435456 >>> 28 !== 1) { - $ERROR('#925: 268435456 >>> 28 === 1. Actual: ' + (268435456 >>> 28)); -} - - -if (536870912 >>> 28 !== 2) { - $ERROR('#926: 536870912 >>> 28 === 2. Actual: ' + (536870912 >>> 28)); -} - - -if (1073741824 >>> 28 !== 4) { - $ERROR('#927: 1073741824 >>> 28 === 4. Actual: ' + (1073741824 >>> 28)); -} - - -if (2147483648 >>> 28 !== 8) { - $ERROR('#928: 2147483648 >>> 28 === 8. Actual: ' + (2147483648 >>> 28)); -} - - -if (1 >>> 29 !== 0) { - $ERROR('#929: 1 >>> 29 === 0. Actual: ' + (1 >>> 29)); -} - - -if (2 >>> 29 !== 0) { - $ERROR('#930: 2 >>> 29 === 0. Actual: ' + (2 >>> 29)); -} - - -if (4 >>> 29 !== 0) { - $ERROR('#931: 4 >>> 29 === 0. Actual: ' + (4 >>> 29)); -} - - -if (8 >>> 29 !== 0) { - $ERROR('#932: 8 >>> 29 === 0. Actual: ' + (8 >>> 29)); -} - - -if (16 >>> 29 !== 0) { - $ERROR('#933: 16 >>> 29 === 0. Actual: ' + (16 >>> 29)); -} - - -if (32 >>> 29 !== 0) { - $ERROR('#934: 32 >>> 29 === 0. Actual: ' + (32 >>> 29)); -} - - -if (64 >>> 29 !== 0) { - $ERROR('#935: 64 >>> 29 === 0. Actual: ' + (64 >>> 29)); -} - - -if (128 >>> 29 !== 0) { - $ERROR('#936: 128 >>> 29 === 0. Actual: ' + (128 >>> 29)); -} - - -if (256 >>> 29 !== 0) { - $ERROR('#937: 256 >>> 29 === 0. Actual: ' + (256 >>> 29)); -} - - -if (512 >>> 29 !== 0) { - $ERROR('#938: 512 >>> 29 === 0. Actual: ' + (512 >>> 29)); -} - - -if (1024 >>> 29 !== 0) { - $ERROR('#939: 1024 >>> 29 === 0. Actual: ' + (1024 >>> 29)); -} - - -if (2048 >>> 29 !== 0) { - $ERROR('#940: 2048 >>> 29 === 0. Actual: ' + (2048 >>> 29)); -} - - -if (4096 >>> 29 !== 0) { - $ERROR('#941: 4096 >>> 29 === 0. Actual: ' + (4096 >>> 29)); -} - - -if (8192 >>> 29 !== 0) { - $ERROR('#942: 8192 >>> 29 === 0. Actual: ' + (8192 >>> 29)); -} - - -if (16384 >>> 29 !== 0) { - $ERROR('#943: 16384 >>> 29 === 0. Actual: ' + (16384 >>> 29)); -} - - -if (32768 >>> 29 !== 0) { - $ERROR('#944: 32768 >>> 29 === 0. Actual: ' + (32768 >>> 29)); -} - - -if (65536 >>> 29 !== 0) { - $ERROR('#945: 65536 >>> 29 === 0. Actual: ' + (65536 >>> 29)); -} - - -if (131072 >>> 29 !== 0) { - $ERROR('#946: 131072 >>> 29 === 0. Actual: ' + (131072 >>> 29)); -} - - -if (262144 >>> 29 !== 0) { - $ERROR('#947: 262144 >>> 29 === 0. Actual: ' + (262144 >>> 29)); -} - - -if (524288 >>> 29 !== 0) { - $ERROR('#948: 524288 >>> 29 === 0. Actual: ' + (524288 >>> 29)); -} - - -if (1048576 >>> 29 !== 0) { - $ERROR('#949: 1048576 >>> 29 === 0. Actual: ' + (1048576 >>> 29)); -} - - -if (2097152 >>> 29 !== 0) { - $ERROR('#950: 2097152 >>> 29 === 0. Actual: ' + (2097152 >>> 29)); -} - - -if (4194304 >>> 29 !== 0) { - $ERROR('#951: 4194304 >>> 29 === 0. Actual: ' + (4194304 >>> 29)); -} - - -if (8388608 >>> 29 !== 0) { - $ERROR('#952: 8388608 >>> 29 === 0. Actual: ' + (8388608 >>> 29)); -} - - -if (16777216 >>> 29 !== 0) { - $ERROR('#953: 16777216 >>> 29 === 0. Actual: ' + (16777216 >>> 29)); -} - - -if (33554432 >>> 29 !== 0) { - $ERROR('#954: 33554432 >>> 29 === 0. Actual: ' + (33554432 >>> 29)); -} - - -if (67108864 >>> 29 !== 0) { - $ERROR('#955: 67108864 >>> 29 === 0. Actual: ' + (67108864 >>> 29)); -} - - -if (134217728 >>> 29 !== 0) { - $ERROR('#956: 134217728 >>> 29 === 0. Actual: ' + (134217728 >>> 29)); -} - - -if (268435456 >>> 29 !== 0) { - $ERROR('#957: 268435456 >>> 29 === 0. Actual: ' + (268435456 >>> 29)); -} - - -if (536870912 >>> 29 !== 1) { - $ERROR('#958: 536870912 >>> 29 === 1. Actual: ' + (536870912 >>> 29)); -} - - -if (1073741824 >>> 29 !== 2) { - $ERROR('#959: 1073741824 >>> 29 === 2. Actual: ' + (1073741824 >>> 29)); -} - - -if (2147483648 >>> 29 !== 4) { - $ERROR('#960: 2147483648 >>> 29 === 4. Actual: ' + (2147483648 >>> 29)); -} - - -if (1 >>> 30 !== 0) { - $ERROR('#961: 1 >>> 30 === 0. Actual: ' + (1 >>> 30)); -} - - -if (2 >>> 30 !== 0) { - $ERROR('#962: 2 >>> 30 === 0. Actual: ' + (2 >>> 30)); -} - - -if (4 >>> 30 !== 0) { - $ERROR('#963: 4 >>> 30 === 0. Actual: ' + (4 >>> 30)); -} - - -if (8 >>> 30 !== 0) { - $ERROR('#964: 8 >>> 30 === 0. Actual: ' + (8 >>> 30)); -} - - -if (16 >>> 30 !== 0) { - $ERROR('#965: 16 >>> 30 === 0. Actual: ' + (16 >>> 30)); -} - - -if (32 >>> 30 !== 0) { - $ERROR('#966: 32 >>> 30 === 0. Actual: ' + (32 >>> 30)); -} - - -if (64 >>> 30 !== 0) { - $ERROR('#967: 64 >>> 30 === 0. Actual: ' + (64 >>> 30)); -} - - -if (128 >>> 30 !== 0) { - $ERROR('#968: 128 >>> 30 === 0. Actual: ' + (128 >>> 30)); -} - - -if (256 >>> 30 !== 0) { - $ERROR('#969: 256 >>> 30 === 0. Actual: ' + (256 >>> 30)); -} - - -if (512 >>> 30 !== 0) { - $ERROR('#970: 512 >>> 30 === 0. Actual: ' + (512 >>> 30)); -} - - -if (1024 >>> 30 !== 0) { - $ERROR('#971: 1024 >>> 30 === 0. Actual: ' + (1024 >>> 30)); -} - - -if (2048 >>> 30 !== 0) { - $ERROR('#972: 2048 >>> 30 === 0. Actual: ' + (2048 >>> 30)); -} - - -if (4096 >>> 30 !== 0) { - $ERROR('#973: 4096 >>> 30 === 0. Actual: ' + (4096 >>> 30)); -} - - -if (8192 >>> 30 !== 0) { - $ERROR('#974: 8192 >>> 30 === 0. Actual: ' + (8192 >>> 30)); -} - - -if (16384 >>> 30 !== 0) { - $ERROR('#975: 16384 >>> 30 === 0. Actual: ' + (16384 >>> 30)); -} - - -if (32768 >>> 30 !== 0) { - $ERROR('#976: 32768 >>> 30 === 0. Actual: ' + (32768 >>> 30)); -} - - -if (65536 >>> 30 !== 0) { - $ERROR('#977: 65536 >>> 30 === 0. Actual: ' + (65536 >>> 30)); -} - - -if (131072 >>> 30 !== 0) { - $ERROR('#978: 131072 >>> 30 === 0. Actual: ' + (131072 >>> 30)); -} - - -if (262144 >>> 30 !== 0) { - $ERROR('#979: 262144 >>> 30 === 0. Actual: ' + (262144 >>> 30)); -} - - -if (524288 >>> 30 !== 0) { - $ERROR('#980: 524288 >>> 30 === 0. Actual: ' + (524288 >>> 30)); -} - - -if (1048576 >>> 30 !== 0) { - $ERROR('#981: 1048576 >>> 30 === 0. Actual: ' + (1048576 >>> 30)); -} - - -if (2097152 >>> 30 !== 0) { - $ERROR('#982: 2097152 >>> 30 === 0. Actual: ' + (2097152 >>> 30)); -} - - -if (4194304 >>> 30 !== 0) { - $ERROR('#983: 4194304 >>> 30 === 0. Actual: ' + (4194304 >>> 30)); -} - - -if (8388608 >>> 30 !== 0) { - $ERROR('#984: 8388608 >>> 30 === 0. Actual: ' + (8388608 >>> 30)); -} - - -if (16777216 >>> 30 !== 0) { - $ERROR('#985: 16777216 >>> 30 === 0. Actual: ' + (16777216 >>> 30)); -} - - -if (33554432 >>> 30 !== 0) { - $ERROR('#986: 33554432 >>> 30 === 0. Actual: ' + (33554432 >>> 30)); -} - - -if (67108864 >>> 30 !== 0) { - $ERROR('#987: 67108864 >>> 30 === 0. Actual: ' + (67108864 >>> 30)); -} - - -if (134217728 >>> 30 !== 0) { - $ERROR('#988: 134217728 >>> 30 === 0. Actual: ' + (134217728 >>> 30)); -} - - -if (268435456 >>> 30 !== 0) { - $ERROR('#989: 268435456 >>> 30 === 0. Actual: ' + (268435456 >>> 30)); -} - - -if (536870912 >>> 30 !== 0) { - $ERROR('#990: 536870912 >>> 30 === 0. Actual: ' + (536870912 >>> 30)); -} - - -if (1073741824 >>> 30 !== 1) { - $ERROR('#991: 1073741824 >>> 30 === 1. Actual: ' + (1073741824 >>> 30)); -} - - -if (2147483648 >>> 30 !== 2) { - $ERROR('#992: 2147483648 >>> 30 === 2. Actual: ' + (2147483648 >>> 30)); -} - - -if (1 >>> 31 !== 0) { - $ERROR('#993: 1 >>> 31 === 0. Actual: ' + (1 >>> 31)); -} - - -if (2 >>> 31 !== 0) { - $ERROR('#994: 2 >>> 31 === 0. Actual: ' + (2 >>> 31)); -} - - -if (4 >>> 31 !== 0) { - $ERROR('#995: 4 >>> 31 === 0. Actual: ' + (4 >>> 31)); -} - - -if (8 >>> 31 !== 0) { - $ERROR('#996: 8 >>> 31 === 0. Actual: ' + (8 >>> 31)); -} - - -if (16 >>> 31 !== 0) { - $ERROR('#997: 16 >>> 31 === 0. Actual: ' + (16 >>> 31)); -} - - -if (32 >>> 31 !== 0) { - $ERROR('#998: 32 >>> 31 === 0. Actual: ' + (32 >>> 31)); -} - - -if (64 >>> 31 !== 0) { - $ERROR('#999: 64 >>> 31 === 0. Actual: ' + (64 >>> 31)); -} - - -if (128 >>> 31 !== 0) { - $ERROR('#1000: 128 >>> 31 === 0. Actual: ' + (128 >>> 31)); -} - - -if (256 >>> 31 !== 0) { - $ERROR('#1001: 256 >>> 31 === 0. Actual: ' + (256 >>> 31)); -} - - -if (512 >>> 31 !== 0) { - $ERROR('#1002: 512 >>> 31 === 0. Actual: ' + (512 >>> 31)); -} - - -if (1024 >>> 31 !== 0) { - $ERROR('#1003: 1024 >>> 31 === 0. Actual: ' + (1024 >>> 31)); -} - - -if (2048 >>> 31 !== 0) { - $ERROR('#1004: 2048 >>> 31 === 0. Actual: ' + (2048 >>> 31)); -} - - -if (4096 >>> 31 !== 0) { - $ERROR('#1005: 4096 >>> 31 === 0. Actual: ' + (4096 >>> 31)); -} - - -if (8192 >>> 31 !== 0) { - $ERROR('#1006: 8192 >>> 31 === 0. Actual: ' + (8192 >>> 31)); -} - - -if (16384 >>> 31 !== 0) { - $ERROR('#1007: 16384 >>> 31 === 0. Actual: ' + (16384 >>> 31)); -} - - -if (32768 >>> 31 !== 0) { - $ERROR('#1008: 32768 >>> 31 === 0. Actual: ' + (32768 >>> 31)); -} - - -if (65536 >>> 31 !== 0) { - $ERROR('#1009: 65536 >>> 31 === 0. Actual: ' + (65536 >>> 31)); -} - - -if (131072 >>> 31 !== 0) { - $ERROR('#1010: 131072 >>> 31 === 0. Actual: ' + (131072 >>> 31)); -} - - -if (262144 >>> 31 !== 0) { - $ERROR('#1011: 262144 >>> 31 === 0. Actual: ' + (262144 >>> 31)); -} - - -if (524288 >>> 31 !== 0) { - $ERROR('#1012: 524288 >>> 31 === 0. Actual: ' + (524288 >>> 31)); -} - - -if (1048576 >>> 31 !== 0) { - $ERROR('#1013: 1048576 >>> 31 === 0. Actual: ' + (1048576 >>> 31)); -} - - -if (2097152 >>> 31 !== 0) { - $ERROR('#1014: 2097152 >>> 31 === 0. Actual: ' + (2097152 >>> 31)); -} - - -if (4194304 >>> 31 !== 0) { - $ERROR('#1015: 4194304 >>> 31 === 0. Actual: ' + (4194304 >>> 31)); -} - - -if (8388608 >>> 31 !== 0) { - $ERROR('#1016: 8388608 >>> 31 === 0. Actual: ' + (8388608 >>> 31)); -} - - -if (16777216 >>> 31 !== 0) { - $ERROR('#1017: 16777216 >>> 31 === 0. Actual: ' + (16777216 >>> 31)); -} - - -if (33554432 >>> 31 !== 0) { - $ERROR('#1018: 33554432 >>> 31 === 0. Actual: ' + (33554432 >>> 31)); -} - - -if (67108864 >>> 31 !== 0) { - $ERROR('#1019: 67108864 >>> 31 === 0. Actual: ' + (67108864 >>> 31)); -} - - -if (134217728 >>> 31 !== 0) { - $ERROR('#1020: 134217728 >>> 31 === 0. Actual: ' + (134217728 >>> 31)); -} - - -if (268435456 >>> 31 !== 0) { - $ERROR('#1021: 268435456 >>> 31 === 0. Actual: ' + (268435456 >>> 31)); -} - - -if (536870912 >>> 31 !== 0) { - $ERROR('#1022: 536870912 >>> 31 === 0. Actual: ' + (536870912 >>> 31)); -} - - -if (1073741824 >>> 31 !== 0) { - $ERROR('#1023: 1073741824 >>> 31 === 0. Actual: ' + (1073741824 >>> 31)); -} - - -if (2147483648 >>> 31 !== 1) { - $ERROR('#1024: 2147483648 >>> 31 === 1. Actual: ' + (2147483648 >>> 31)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.js deleted file mode 100644 index 5efaa68ca6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.js +++ /dev/null @@ -1,2667 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A4_T3; - * @section: 11.7.3; - * @assertion: Check operator x >>> y in distinct points; - * @description: ShiftExpression = 2^n - 1, n = 0...15; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A4_T3", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.js", - -assertion: "Check operator x >>> y in distinct points", - -description: "ShiftExpression = 2^n - 1, n = 0...15", - -test: function testcase() { - //CHECK - -if (0 >>> 0 !== 0) { - $ERROR('#1: 0 >>> 0 === 0. Actual: ' + (0 >>> 0)); -} - - -if (1 >>> 0 !== 1) { - $ERROR('#2: 1 >>> 0 === 1. Actual: ' + (1 >>> 0)); -} - - -if (3 >>> 0 !== 3) { - $ERROR('#3: 3 >>> 0 === 3. Actual: ' + (3 >>> 0)); -} - - -if (7 >>> 0 !== 7) { - $ERROR('#4: 7 >>> 0 === 7. Actual: ' + (7 >>> 0)); -} - - -if (15 >>> 0 !== 15) { - $ERROR('#5: 15 >>> 0 === 15. Actual: ' + (15 >>> 0)); -} - - -if (31 >>> 0 !== 31) { - $ERROR('#6: 31 >>> 0 === 31. Actual: ' + (31 >>> 0)); -} - - -if (63 >>> 0 !== 63) { - $ERROR('#7: 63 >>> 0 === 63. Actual: ' + (63 >>> 0)); -} - - -if (127 >>> 0 !== 127) { - $ERROR('#8: 127 >>> 0 === 127. Actual: ' + (127 >>> 0)); -} - - -if (255 >>> 0 !== 255) { - $ERROR('#9: 255 >>> 0 === 255. Actual: ' + (255 >>> 0)); -} - - -if (511 >>> 0 !== 511) { - $ERROR('#10: 511 >>> 0 === 511. Actual: ' + (511 >>> 0)); -} - - -if (1023 >>> 0 !== 1023) { - $ERROR('#11: 1023 >>> 0 === 1023. Actual: ' + (1023 >>> 0)); -} - - -if (2047 >>> 0 !== 2047) { - $ERROR('#12: 2047 >>> 0 === 2047. Actual: ' + (2047 >>> 0)); -} - - -if (4095 >>> 0 !== 4095) { - $ERROR('#13: 4095 >>> 0 === 4095. Actual: ' + (4095 >>> 0)); -} - - -if (8191 >>> 0 !== 8191) { - $ERROR('#14: 8191 >>> 0 === 8191. Actual: ' + (8191 >>> 0)); -} - - -if (16383 >>> 0 !== 16383) { - $ERROR('#15: 16383 >>> 0 === 16383. Actual: ' + (16383 >>> 0)); -} - - -if (32767 >>> 0 !== 32767) { - $ERROR('#16: 32767 >>> 0 === 32767. Actual: ' + (32767 >>> 0)); -} - - -if (65535 >>> 0 !== 65535) { - $ERROR('#17: 65535 >>> 0 === 65535. Actual: ' + (65535 >>> 0)); -} - - -if (131071 >>> 0 !== 131071) { - $ERROR('#18: 131071 >>> 0 === 131071. Actual: ' + (131071 >>> 0)); -} - - -if (262143 >>> 0 !== 262143) { - $ERROR('#19: 262143 >>> 0 === 262143. Actual: ' + (262143 >>> 0)); -} - - -if (524287 >>> 0 !== 524287) { - $ERROR('#20: 524287 >>> 0 === 524287. Actual: ' + (524287 >>> 0)); -} - - -if (1048575 >>> 0 !== 1048575) { - $ERROR('#21: 1048575 >>> 0 === 1048575. Actual: ' + (1048575 >>> 0)); -} - - -if (2097151 >>> 0 !== 2097151) { - $ERROR('#22: 2097151 >>> 0 === 2097151. Actual: ' + (2097151 >>> 0)); -} - - -if (4194303 >>> 0 !== 4194303) { - $ERROR('#23: 4194303 >>> 0 === 4194303. Actual: ' + (4194303 >>> 0)); -} - - -if (8388607 >>> 0 !== 8388607) { - $ERROR('#24: 8388607 >>> 0 === 8388607. Actual: ' + (8388607 >>> 0)); -} - - -if (16777215 >>> 0 !== 16777215) { - $ERROR('#25: 16777215 >>> 0 === 16777215. Actual: ' + (16777215 >>> 0)); -} - - -if (33554431 >>> 0 !== 33554431) { - $ERROR('#26: 33554431 >>> 0 === 33554431. Actual: ' + (33554431 >>> 0)); -} - - -if (67108863 >>> 0 !== 67108863) { - $ERROR('#27: 67108863 >>> 0 === 67108863. Actual: ' + (67108863 >>> 0)); -} - - -if (134217727 >>> 0 !== 134217727) { - $ERROR('#28: 134217727 >>> 0 === 134217727. Actual: ' + (134217727 >>> 0)); -} - - -if (268435455 >>> 0 !== 268435455) { - $ERROR('#29: 268435455 >>> 0 === 268435455. Actual: ' + (268435455 >>> 0)); -} - - -if (536870911 >>> 0 !== 536870911) { - $ERROR('#30: 536870911 >>> 0 === 536870911. Actual: ' + (536870911 >>> 0)); -} - - -if (1073741823 >>> 0 !== 1073741823) { - $ERROR('#31: 1073741823 >>> 0 === 1073741823. Actual: ' + (1073741823 >>> 0)); -} - - -if (2147483647 >>> 0 !== 2147483647) { - $ERROR('#32: 2147483647 >>> 0 === 2147483647. Actual: ' + (2147483647 >>> 0)); -} - - -if (4294967295 >>> 0 !== 4294967295) { - $ERROR('#33: 4294967295 >>> 0 === 4294967295. Actual: ' + (4294967295 >>> 0)); -} - - -if (0 >>> 1 !== 0) { - $ERROR('#34: 0 >>> 1 === 0. Actual: ' + (0 >>> 1)); -} - - -if (1 >>> 1 !== 0) { - $ERROR('#35: 1 >>> 1 === 0. Actual: ' + (1 >>> 1)); -} - - -if (3 >>> 1 !== 1) { - $ERROR('#36: 3 >>> 1 === 1. Actual: ' + (3 >>> 1)); -} - - -if (7 >>> 1 !== 3) { - $ERROR('#37: 7 >>> 1 === 3. Actual: ' + (7 >>> 1)); -} - - -if (15 >>> 1 !== 7) { - $ERROR('#38: 15 >>> 1 === 7. Actual: ' + (15 >>> 1)); -} - - -if (31 >>> 1 !== 15) { - $ERROR('#39: 31 >>> 1 === 15. Actual: ' + (31 >>> 1)); -} - - -if (63 >>> 1 !== 31) { - $ERROR('#40: 63 >>> 1 === 31. Actual: ' + (63 >>> 1)); -} - - -if (127 >>> 1 !== 63) { - $ERROR('#41: 127 >>> 1 === 63. Actual: ' + (127 >>> 1)); -} - - -if (255 >>> 1 !== 127) { - $ERROR('#42: 255 >>> 1 === 127. Actual: ' + (255 >>> 1)); -} - - -if (511 >>> 1 !== 255) { - $ERROR('#43: 511 >>> 1 === 255. Actual: ' + (511 >>> 1)); -} - - -if (1023 >>> 1 !== 511) { - $ERROR('#44: 1023 >>> 1 === 511. Actual: ' + (1023 >>> 1)); -} - - -if (2047 >>> 1 !== 1023) { - $ERROR('#45: 2047 >>> 1 === 1023. Actual: ' + (2047 >>> 1)); -} - - -if (4095 >>> 1 !== 2047) { - $ERROR('#46: 4095 >>> 1 === 2047. Actual: ' + (4095 >>> 1)); -} - - -if (8191 >>> 1 !== 4095) { - $ERROR('#47: 8191 >>> 1 === 4095. Actual: ' + (8191 >>> 1)); -} - - -if (16383 >>> 1 !== 8191) { - $ERROR('#48: 16383 >>> 1 === 8191. Actual: ' + (16383 >>> 1)); -} - - -if (32767 >>> 1 !== 16383) { - $ERROR('#49: 32767 >>> 1 === 16383. Actual: ' + (32767 >>> 1)); -} - - -if (65535 >>> 1 !== 32767) { - $ERROR('#50: 65535 >>> 1 === 32767. Actual: ' + (65535 >>> 1)); -} - - -if (131071 >>> 1 !== 65535) { - $ERROR('#51: 131071 >>> 1 === 65535. Actual: ' + (131071 >>> 1)); -} - - -if (262143 >>> 1 !== 131071) { - $ERROR('#52: 262143 >>> 1 === 131071. Actual: ' + (262143 >>> 1)); -} - - -if (524287 >>> 1 !== 262143) { - $ERROR('#53: 524287 >>> 1 === 262143. Actual: ' + (524287 >>> 1)); -} - - -if (1048575 >>> 1 !== 524287) { - $ERROR('#54: 1048575 >>> 1 === 524287. Actual: ' + (1048575 >>> 1)); -} - - -if (2097151 >>> 1 !== 1048575) { - $ERROR('#55: 2097151 >>> 1 === 1048575. Actual: ' + (2097151 >>> 1)); -} - - -if (4194303 >>> 1 !== 2097151) { - $ERROR('#56: 4194303 >>> 1 === 2097151. Actual: ' + (4194303 >>> 1)); -} - - -if (8388607 >>> 1 !== 4194303) { - $ERROR('#57: 8388607 >>> 1 === 4194303. Actual: ' + (8388607 >>> 1)); -} - - -if (16777215 >>> 1 !== 8388607) { - $ERROR('#58: 16777215 >>> 1 === 8388607. Actual: ' + (16777215 >>> 1)); -} - - -if (33554431 >>> 1 !== 16777215) { - $ERROR('#59: 33554431 >>> 1 === 16777215. Actual: ' + (33554431 >>> 1)); -} - - -if (67108863 >>> 1 !== 33554431) { - $ERROR('#60: 67108863 >>> 1 === 33554431. Actual: ' + (67108863 >>> 1)); -} - - -if (134217727 >>> 1 !== 67108863) { - $ERROR('#61: 134217727 >>> 1 === 67108863. Actual: ' + (134217727 >>> 1)); -} - - -if (268435455 >>> 1 !== 134217727) { - $ERROR('#62: 268435455 >>> 1 === 134217727. Actual: ' + (268435455 >>> 1)); -} - - -if (536870911 >>> 1 !== 268435455) { - $ERROR('#63: 536870911 >>> 1 === 268435455. Actual: ' + (536870911 >>> 1)); -} - - -if (1073741823 >>> 1 !== 536870911) { - $ERROR('#64: 1073741823 >>> 1 === 536870911. Actual: ' + (1073741823 >>> 1)); -} - - -if (2147483647 >>> 1 !== 1073741823) { - $ERROR('#65: 2147483647 >>> 1 === 1073741823. Actual: ' + (2147483647 >>> 1)); -} - - -if (4294967295 >>> 1 !== 2147483647) { - $ERROR('#66: 4294967295 >>> 1 === 2147483647. Actual: ' + (4294967295 >>> 1)); -} - - -if (0 >>> 2 !== 0) { - $ERROR('#67: 0 >>> 2 === 0. Actual: ' + (0 >>> 2)); -} - - -if (1 >>> 2 !== 0) { - $ERROR('#68: 1 >>> 2 === 0. Actual: ' + (1 >>> 2)); -} - - -if (3 >>> 2 !== 0) { - $ERROR('#69: 3 >>> 2 === 0. Actual: ' + (3 >>> 2)); -} - - -if (7 >>> 2 !== 1) { - $ERROR('#70: 7 >>> 2 === 1. Actual: ' + (7 >>> 2)); -} - - -if (15 >>> 2 !== 3) { - $ERROR('#71: 15 >>> 2 === 3. Actual: ' + (15 >>> 2)); -} - - -if (31 >>> 2 !== 7) { - $ERROR('#72: 31 >>> 2 === 7. Actual: ' + (31 >>> 2)); -} - - -if (63 >>> 2 !== 15) { - $ERROR('#73: 63 >>> 2 === 15. Actual: ' + (63 >>> 2)); -} - - -if (127 >>> 2 !== 31) { - $ERROR('#74: 127 >>> 2 === 31. Actual: ' + (127 >>> 2)); -} - - -if (255 >>> 2 !== 63) { - $ERROR('#75: 255 >>> 2 === 63. Actual: ' + (255 >>> 2)); -} - - -if (511 >>> 2 !== 127) { - $ERROR('#76: 511 >>> 2 === 127. Actual: ' + (511 >>> 2)); -} - - -if (1023 >>> 2 !== 255) { - $ERROR('#77: 1023 >>> 2 === 255. Actual: ' + (1023 >>> 2)); -} - - -if (2047 >>> 2 !== 511) { - $ERROR('#78: 2047 >>> 2 === 511. Actual: ' + (2047 >>> 2)); -} - - -if (4095 >>> 2 !== 1023) { - $ERROR('#79: 4095 >>> 2 === 1023. Actual: ' + (4095 >>> 2)); -} - - -if (8191 >>> 2 !== 2047) { - $ERROR('#80: 8191 >>> 2 === 2047. Actual: ' + (8191 >>> 2)); -} - - -if (16383 >>> 2 !== 4095) { - $ERROR('#81: 16383 >>> 2 === 4095. Actual: ' + (16383 >>> 2)); -} - - -if (32767 >>> 2 !== 8191) { - $ERROR('#82: 32767 >>> 2 === 8191. Actual: ' + (32767 >>> 2)); -} - - -if (65535 >>> 2 !== 16383) { - $ERROR('#83: 65535 >>> 2 === 16383. Actual: ' + (65535 >>> 2)); -} - - -if (131071 >>> 2 !== 32767) { - $ERROR('#84: 131071 >>> 2 === 32767. Actual: ' + (131071 >>> 2)); -} - - -if (262143 >>> 2 !== 65535) { - $ERROR('#85: 262143 >>> 2 === 65535. Actual: ' + (262143 >>> 2)); -} - - -if (524287 >>> 2 !== 131071) { - $ERROR('#86: 524287 >>> 2 === 131071. Actual: ' + (524287 >>> 2)); -} - - -if (1048575 >>> 2 !== 262143) { - $ERROR('#87: 1048575 >>> 2 === 262143. Actual: ' + (1048575 >>> 2)); -} - - -if (2097151 >>> 2 !== 524287) { - $ERROR('#88: 2097151 >>> 2 === 524287. Actual: ' + (2097151 >>> 2)); -} - - -if (4194303 >>> 2 !== 1048575) { - $ERROR('#89: 4194303 >>> 2 === 1048575. Actual: ' + (4194303 >>> 2)); -} - - -if (8388607 >>> 2 !== 2097151) { - $ERROR('#90: 8388607 >>> 2 === 2097151. Actual: ' + (8388607 >>> 2)); -} - - -if (16777215 >>> 2 !== 4194303) { - $ERROR('#91: 16777215 >>> 2 === 4194303. Actual: ' + (16777215 >>> 2)); -} - - -if (33554431 >>> 2 !== 8388607) { - $ERROR('#92: 33554431 >>> 2 === 8388607. Actual: ' + (33554431 >>> 2)); -} - - -if (67108863 >>> 2 !== 16777215) { - $ERROR('#93: 67108863 >>> 2 === 16777215. Actual: ' + (67108863 >>> 2)); -} - - -if (134217727 >>> 2 !== 33554431) { - $ERROR('#94: 134217727 >>> 2 === 33554431. Actual: ' + (134217727 >>> 2)); -} - - -if (268435455 >>> 2 !== 67108863) { - $ERROR('#95: 268435455 >>> 2 === 67108863. Actual: ' + (268435455 >>> 2)); -} - - -if (536870911 >>> 2 !== 134217727) { - $ERROR('#96: 536870911 >>> 2 === 134217727. Actual: ' + (536870911 >>> 2)); -} - - -if (1073741823 >>> 2 !== 268435455) { - $ERROR('#97: 1073741823 >>> 2 === 268435455. Actual: ' + (1073741823 >>> 2)); -} - - -if (2147483647 >>> 2 !== 536870911) { - $ERROR('#98: 2147483647 >>> 2 === 536870911. Actual: ' + (2147483647 >>> 2)); -} - - -if (4294967295 >>> 2 !== 1073741823) { - $ERROR('#99: 4294967295 >>> 2 === 1073741823. Actual: ' + (4294967295 >>> 2)); -} - - -if (0 >>> 3 !== 0) { - $ERROR('#100: 0 >>> 3 === 0. Actual: ' + (0 >>> 3)); -} - - -if (1 >>> 3 !== 0) { - $ERROR('#101: 1 >>> 3 === 0. Actual: ' + (1 >>> 3)); -} - - -if (3 >>> 3 !== 0) { - $ERROR('#102: 3 >>> 3 === 0. Actual: ' + (3 >>> 3)); -} - - -if (7 >>> 3 !== 0) { - $ERROR('#103: 7 >>> 3 === 0. Actual: ' + (7 >>> 3)); -} - - -if (15 >>> 3 !== 1) { - $ERROR('#104: 15 >>> 3 === 1. Actual: ' + (15 >>> 3)); -} - - -if (31 >>> 3 !== 3) { - $ERROR('#105: 31 >>> 3 === 3. Actual: ' + (31 >>> 3)); -} - - -if (63 >>> 3 !== 7) { - $ERROR('#106: 63 >>> 3 === 7. Actual: ' + (63 >>> 3)); -} - - -if (127 >>> 3 !== 15) { - $ERROR('#107: 127 >>> 3 === 15. Actual: ' + (127 >>> 3)); -} - - -if (255 >>> 3 !== 31) { - $ERROR('#108: 255 >>> 3 === 31. Actual: ' + (255 >>> 3)); -} - - -if (511 >>> 3 !== 63) { - $ERROR('#109: 511 >>> 3 === 63. Actual: ' + (511 >>> 3)); -} - - -if (1023 >>> 3 !== 127) { - $ERROR('#110: 1023 >>> 3 === 127. Actual: ' + (1023 >>> 3)); -} - - -if (2047 >>> 3 !== 255) { - $ERROR('#111: 2047 >>> 3 === 255. Actual: ' + (2047 >>> 3)); -} - - -if (4095 >>> 3 !== 511) { - $ERROR('#112: 4095 >>> 3 === 511. Actual: ' + (4095 >>> 3)); -} - - -if (8191 >>> 3 !== 1023) { - $ERROR('#113: 8191 >>> 3 === 1023. Actual: ' + (8191 >>> 3)); -} - - -if (16383 >>> 3 !== 2047) { - $ERROR('#114: 16383 >>> 3 === 2047. Actual: ' + (16383 >>> 3)); -} - - -if (32767 >>> 3 !== 4095) { - $ERROR('#115: 32767 >>> 3 === 4095. Actual: ' + (32767 >>> 3)); -} - - -if (65535 >>> 3 !== 8191) { - $ERROR('#116: 65535 >>> 3 === 8191. Actual: ' + (65535 >>> 3)); -} - - -if (131071 >>> 3 !== 16383) { - $ERROR('#117: 131071 >>> 3 === 16383. Actual: ' + (131071 >>> 3)); -} - - -if (262143 >>> 3 !== 32767) { - $ERROR('#118: 262143 >>> 3 === 32767. Actual: ' + (262143 >>> 3)); -} - - -if (524287 >>> 3 !== 65535) { - $ERROR('#119: 524287 >>> 3 === 65535. Actual: ' + (524287 >>> 3)); -} - - -if (1048575 >>> 3 !== 131071) { - $ERROR('#120: 1048575 >>> 3 === 131071. Actual: ' + (1048575 >>> 3)); -} - - -if (2097151 >>> 3 !== 262143) { - $ERROR('#121: 2097151 >>> 3 === 262143. Actual: ' + (2097151 >>> 3)); -} - - -if (4194303 >>> 3 !== 524287) { - $ERROR('#122: 4194303 >>> 3 === 524287. Actual: ' + (4194303 >>> 3)); -} - - -if (8388607 >>> 3 !== 1048575) { - $ERROR('#123: 8388607 >>> 3 === 1048575. Actual: ' + (8388607 >>> 3)); -} - - -if (16777215 >>> 3 !== 2097151) { - $ERROR('#124: 16777215 >>> 3 === 2097151. Actual: ' + (16777215 >>> 3)); -} - - -if (33554431 >>> 3 !== 4194303) { - $ERROR('#125: 33554431 >>> 3 === 4194303. Actual: ' + (33554431 >>> 3)); -} - - -if (67108863 >>> 3 !== 8388607) { - $ERROR('#126: 67108863 >>> 3 === 8388607. Actual: ' + (67108863 >>> 3)); -} - - -if (134217727 >>> 3 !== 16777215) { - $ERROR('#127: 134217727 >>> 3 === 16777215. Actual: ' + (134217727 >>> 3)); -} - - -if (268435455 >>> 3 !== 33554431) { - $ERROR('#128: 268435455 >>> 3 === 33554431. Actual: ' + (268435455 >>> 3)); -} - - -if (536870911 >>> 3 !== 67108863) { - $ERROR('#129: 536870911 >>> 3 === 67108863. Actual: ' + (536870911 >>> 3)); -} - - -if (1073741823 >>> 3 !== 134217727) { - $ERROR('#130: 1073741823 >>> 3 === 134217727. Actual: ' + (1073741823 >>> 3)); -} - - -if (2147483647 >>> 3 !== 268435455) { - $ERROR('#131: 2147483647 >>> 3 === 268435455. Actual: ' + (2147483647 >>> 3)); -} - - -if (4294967295 >>> 3 !== 536870911) { - $ERROR('#132: 4294967295 >>> 3 === 536870911. Actual: ' + (4294967295 >>> 3)); -} - - -if (0 >>> 4 !== 0) { - $ERROR('#133: 0 >>> 4 === 0. Actual: ' + (0 >>> 4)); -} - - -if (1 >>> 4 !== 0) { - $ERROR('#134: 1 >>> 4 === 0. Actual: ' + (1 >>> 4)); -} - - -if (3 >>> 4 !== 0) { - $ERROR('#135: 3 >>> 4 === 0. Actual: ' + (3 >>> 4)); -} - - -if (7 >>> 4 !== 0) { - $ERROR('#136: 7 >>> 4 === 0. Actual: ' + (7 >>> 4)); -} - - -if (15 >>> 4 !== 0) { - $ERROR('#137: 15 >>> 4 === 0. Actual: ' + (15 >>> 4)); -} - - -if (31 >>> 4 !== 1) { - $ERROR('#138: 31 >>> 4 === 1. Actual: ' + (31 >>> 4)); -} - - -if (63 >>> 4 !== 3) { - $ERROR('#139: 63 >>> 4 === 3. Actual: ' + (63 >>> 4)); -} - - -if (127 >>> 4 !== 7) { - $ERROR('#140: 127 >>> 4 === 7. Actual: ' + (127 >>> 4)); -} - - -if (255 >>> 4 !== 15) { - $ERROR('#141: 255 >>> 4 === 15. Actual: ' + (255 >>> 4)); -} - - -if (511 >>> 4 !== 31) { - $ERROR('#142: 511 >>> 4 === 31. Actual: ' + (511 >>> 4)); -} - - -if (1023 >>> 4 !== 63) { - $ERROR('#143: 1023 >>> 4 === 63. Actual: ' + (1023 >>> 4)); -} - - -if (2047 >>> 4 !== 127) { - $ERROR('#144: 2047 >>> 4 === 127. Actual: ' + (2047 >>> 4)); -} - - -if (4095 >>> 4 !== 255) { - $ERROR('#145: 4095 >>> 4 === 255. Actual: ' + (4095 >>> 4)); -} - - -if (8191 >>> 4 !== 511) { - $ERROR('#146: 8191 >>> 4 === 511. Actual: ' + (8191 >>> 4)); -} - - -if (16383 >>> 4 !== 1023) { - $ERROR('#147: 16383 >>> 4 === 1023. Actual: ' + (16383 >>> 4)); -} - - -if (32767 >>> 4 !== 2047) { - $ERROR('#148: 32767 >>> 4 === 2047. Actual: ' + (32767 >>> 4)); -} - - -if (65535 >>> 4 !== 4095) { - $ERROR('#149: 65535 >>> 4 === 4095. Actual: ' + (65535 >>> 4)); -} - - -if (131071 >>> 4 !== 8191) { - $ERROR('#150: 131071 >>> 4 === 8191. Actual: ' + (131071 >>> 4)); -} - - -if (262143 >>> 4 !== 16383) { - $ERROR('#151: 262143 >>> 4 === 16383. Actual: ' + (262143 >>> 4)); -} - - -if (524287 >>> 4 !== 32767) { - $ERROR('#152: 524287 >>> 4 === 32767. Actual: ' + (524287 >>> 4)); -} - - -if (1048575 >>> 4 !== 65535) { - $ERROR('#153: 1048575 >>> 4 === 65535. Actual: ' + (1048575 >>> 4)); -} - - -if (2097151 >>> 4 !== 131071) { - $ERROR('#154: 2097151 >>> 4 === 131071. Actual: ' + (2097151 >>> 4)); -} - - -if (4194303 >>> 4 !== 262143) { - $ERROR('#155: 4194303 >>> 4 === 262143. Actual: ' + (4194303 >>> 4)); -} - - -if (8388607 >>> 4 !== 524287) { - $ERROR('#156: 8388607 >>> 4 === 524287. Actual: ' + (8388607 >>> 4)); -} - - -if (16777215 >>> 4 !== 1048575) { - $ERROR('#157: 16777215 >>> 4 === 1048575. Actual: ' + (16777215 >>> 4)); -} - - -if (33554431 >>> 4 !== 2097151) { - $ERROR('#158: 33554431 >>> 4 === 2097151. Actual: ' + (33554431 >>> 4)); -} - - -if (67108863 >>> 4 !== 4194303) { - $ERROR('#159: 67108863 >>> 4 === 4194303. Actual: ' + (67108863 >>> 4)); -} - - -if (134217727 >>> 4 !== 8388607) { - $ERROR('#160: 134217727 >>> 4 === 8388607. Actual: ' + (134217727 >>> 4)); -} - - -if (268435455 >>> 4 !== 16777215) { - $ERROR('#161: 268435455 >>> 4 === 16777215. Actual: ' + (268435455 >>> 4)); -} - - -if (536870911 >>> 4 !== 33554431) { - $ERROR('#162: 536870911 >>> 4 === 33554431. Actual: ' + (536870911 >>> 4)); -} - - -if (1073741823 >>> 4 !== 67108863) { - $ERROR('#163: 1073741823 >>> 4 === 67108863. Actual: ' + (1073741823 >>> 4)); -} - - -if (2147483647 >>> 4 !== 134217727) { - $ERROR('#164: 2147483647 >>> 4 === 134217727. Actual: ' + (2147483647 >>> 4)); -} - - -if (4294967295 >>> 4 !== 268435455) { - $ERROR('#165: 4294967295 >>> 4 === 268435455. Actual: ' + (4294967295 >>> 4)); -} - - -if (0 >>> 5 !== 0) { - $ERROR('#166: 0 >>> 5 === 0. Actual: ' + (0 >>> 5)); -} - - -if (1 >>> 5 !== 0) { - $ERROR('#167: 1 >>> 5 === 0. Actual: ' + (1 >>> 5)); -} - - -if (3 >>> 5 !== 0) { - $ERROR('#168: 3 >>> 5 === 0. Actual: ' + (3 >>> 5)); -} - - -if (7 >>> 5 !== 0) { - $ERROR('#169: 7 >>> 5 === 0. Actual: ' + (7 >>> 5)); -} - - -if (15 >>> 5 !== 0) { - $ERROR('#170: 15 >>> 5 === 0. Actual: ' + (15 >>> 5)); -} - - -if (31 >>> 5 !== 0) { - $ERROR('#171: 31 >>> 5 === 0. Actual: ' + (31 >>> 5)); -} - - -if (63 >>> 5 !== 1) { - $ERROR('#172: 63 >>> 5 === 1. Actual: ' + (63 >>> 5)); -} - - -if (127 >>> 5 !== 3) { - $ERROR('#173: 127 >>> 5 === 3. Actual: ' + (127 >>> 5)); -} - - -if (255 >>> 5 !== 7) { - $ERROR('#174: 255 >>> 5 === 7. Actual: ' + (255 >>> 5)); -} - - -if (511 >>> 5 !== 15) { - $ERROR('#175: 511 >>> 5 === 15. Actual: ' + (511 >>> 5)); -} - - -if (1023 >>> 5 !== 31) { - $ERROR('#176: 1023 >>> 5 === 31. Actual: ' + (1023 >>> 5)); -} - - -if (2047 >>> 5 !== 63) { - $ERROR('#177: 2047 >>> 5 === 63. Actual: ' + (2047 >>> 5)); -} - - -if (4095 >>> 5 !== 127) { - $ERROR('#178: 4095 >>> 5 === 127. Actual: ' + (4095 >>> 5)); -} - - -if (8191 >>> 5 !== 255) { - $ERROR('#179: 8191 >>> 5 === 255. Actual: ' + (8191 >>> 5)); -} - - -if (16383 >>> 5 !== 511) { - $ERROR('#180: 16383 >>> 5 === 511. Actual: ' + (16383 >>> 5)); -} - - -if (32767 >>> 5 !== 1023) { - $ERROR('#181: 32767 >>> 5 === 1023. Actual: ' + (32767 >>> 5)); -} - - -if (65535 >>> 5 !== 2047) { - $ERROR('#182: 65535 >>> 5 === 2047. Actual: ' + (65535 >>> 5)); -} - - -if (131071 >>> 5 !== 4095) { - $ERROR('#183: 131071 >>> 5 === 4095. Actual: ' + (131071 >>> 5)); -} - - -if (262143 >>> 5 !== 8191) { - $ERROR('#184: 262143 >>> 5 === 8191. Actual: ' + (262143 >>> 5)); -} - - -if (524287 >>> 5 !== 16383) { - $ERROR('#185: 524287 >>> 5 === 16383. Actual: ' + (524287 >>> 5)); -} - - -if (1048575 >>> 5 !== 32767) { - $ERROR('#186: 1048575 >>> 5 === 32767. Actual: ' + (1048575 >>> 5)); -} - - -if (2097151 >>> 5 !== 65535) { - $ERROR('#187: 2097151 >>> 5 === 65535. Actual: ' + (2097151 >>> 5)); -} - - -if (4194303 >>> 5 !== 131071) { - $ERROR('#188: 4194303 >>> 5 === 131071. Actual: ' + (4194303 >>> 5)); -} - - -if (8388607 >>> 5 !== 262143) { - $ERROR('#189: 8388607 >>> 5 === 262143. Actual: ' + (8388607 >>> 5)); -} - - -if (16777215 >>> 5 !== 524287) { - $ERROR('#190: 16777215 >>> 5 === 524287. Actual: ' + (16777215 >>> 5)); -} - - -if (33554431 >>> 5 !== 1048575) { - $ERROR('#191: 33554431 >>> 5 === 1048575. Actual: ' + (33554431 >>> 5)); -} - - -if (67108863 >>> 5 !== 2097151) { - $ERROR('#192: 67108863 >>> 5 === 2097151. Actual: ' + (67108863 >>> 5)); -} - - -if (134217727 >>> 5 !== 4194303) { - $ERROR('#193: 134217727 >>> 5 === 4194303. Actual: ' + (134217727 >>> 5)); -} - - -if (268435455 >>> 5 !== 8388607) { - $ERROR('#194: 268435455 >>> 5 === 8388607. Actual: ' + (268435455 >>> 5)); -} - - -if (536870911 >>> 5 !== 16777215) { - $ERROR('#195: 536870911 >>> 5 === 16777215. Actual: ' + (536870911 >>> 5)); -} - - -if (1073741823 >>> 5 !== 33554431) { - $ERROR('#196: 1073741823 >>> 5 === 33554431. Actual: ' + (1073741823 >>> 5)); -} - - -if (2147483647 >>> 5 !== 67108863) { - $ERROR('#197: 2147483647 >>> 5 === 67108863. Actual: ' + (2147483647 >>> 5)); -} - - -if (4294967295 >>> 5 !== 134217727) { - $ERROR('#198: 4294967295 >>> 5 === 134217727. Actual: ' + (4294967295 >>> 5)); -} - - -if (0 >>> 6 !== 0) { - $ERROR('#199: 0 >>> 6 === 0. Actual: ' + (0 >>> 6)); -} - - -if (1 >>> 6 !== 0) { - $ERROR('#200: 1 >>> 6 === 0. Actual: ' + (1 >>> 6)); -} - - -if (3 >>> 6 !== 0) { - $ERROR('#201: 3 >>> 6 === 0. Actual: ' + (3 >>> 6)); -} - - -if (7 >>> 6 !== 0) { - $ERROR('#202: 7 >>> 6 === 0. Actual: ' + (7 >>> 6)); -} - - -if (15 >>> 6 !== 0) { - $ERROR('#203: 15 >>> 6 === 0. Actual: ' + (15 >>> 6)); -} - - -if (31 >>> 6 !== 0) { - $ERROR('#204: 31 >>> 6 === 0. Actual: ' + (31 >>> 6)); -} - - -if (63 >>> 6 !== 0) { - $ERROR('#205: 63 >>> 6 === 0. Actual: ' + (63 >>> 6)); -} - - -if (127 >>> 6 !== 1) { - $ERROR('#206: 127 >>> 6 === 1. Actual: ' + (127 >>> 6)); -} - - -if (255 >>> 6 !== 3) { - $ERROR('#207: 255 >>> 6 === 3. Actual: ' + (255 >>> 6)); -} - - -if (511 >>> 6 !== 7) { - $ERROR('#208: 511 >>> 6 === 7. Actual: ' + (511 >>> 6)); -} - - -if (1023 >>> 6 !== 15) { - $ERROR('#209: 1023 >>> 6 === 15. Actual: ' + (1023 >>> 6)); -} - - -if (2047 >>> 6 !== 31) { - $ERROR('#210: 2047 >>> 6 === 31. Actual: ' + (2047 >>> 6)); -} - - -if (4095 >>> 6 !== 63) { - $ERROR('#211: 4095 >>> 6 === 63. Actual: ' + (4095 >>> 6)); -} - - -if (8191 >>> 6 !== 127) { - $ERROR('#212: 8191 >>> 6 === 127. Actual: ' + (8191 >>> 6)); -} - - -if (16383 >>> 6 !== 255) { - $ERROR('#213: 16383 >>> 6 === 255. Actual: ' + (16383 >>> 6)); -} - - -if (32767 >>> 6 !== 511) { - $ERROR('#214: 32767 >>> 6 === 511. Actual: ' + (32767 >>> 6)); -} - - -if (65535 >>> 6 !== 1023) { - $ERROR('#215: 65535 >>> 6 === 1023. Actual: ' + (65535 >>> 6)); -} - - -if (131071 >>> 6 !== 2047) { - $ERROR('#216: 131071 >>> 6 === 2047. Actual: ' + (131071 >>> 6)); -} - - -if (262143 >>> 6 !== 4095) { - $ERROR('#217: 262143 >>> 6 === 4095. Actual: ' + (262143 >>> 6)); -} - - -if (524287 >>> 6 !== 8191) { - $ERROR('#218: 524287 >>> 6 === 8191. Actual: ' + (524287 >>> 6)); -} - - -if (1048575 >>> 6 !== 16383) { - $ERROR('#219: 1048575 >>> 6 === 16383. Actual: ' + (1048575 >>> 6)); -} - - -if (2097151 >>> 6 !== 32767) { - $ERROR('#220: 2097151 >>> 6 === 32767. Actual: ' + (2097151 >>> 6)); -} - - -if (4194303 >>> 6 !== 65535) { - $ERROR('#221: 4194303 >>> 6 === 65535. Actual: ' + (4194303 >>> 6)); -} - - -if (8388607 >>> 6 !== 131071) { - $ERROR('#222: 8388607 >>> 6 === 131071. Actual: ' + (8388607 >>> 6)); -} - - -if (16777215 >>> 6 !== 262143) { - $ERROR('#223: 16777215 >>> 6 === 262143. Actual: ' + (16777215 >>> 6)); -} - - -if (33554431 >>> 6 !== 524287) { - $ERROR('#224: 33554431 >>> 6 === 524287. Actual: ' + (33554431 >>> 6)); -} - - -if (67108863 >>> 6 !== 1048575) { - $ERROR('#225: 67108863 >>> 6 === 1048575. Actual: ' + (67108863 >>> 6)); -} - - -if (134217727 >>> 6 !== 2097151) { - $ERROR('#226: 134217727 >>> 6 === 2097151. Actual: ' + (134217727 >>> 6)); -} - - -if (268435455 >>> 6 !== 4194303) { - $ERROR('#227: 268435455 >>> 6 === 4194303. Actual: ' + (268435455 >>> 6)); -} - - -if (536870911 >>> 6 !== 8388607) { - $ERROR('#228: 536870911 >>> 6 === 8388607. Actual: ' + (536870911 >>> 6)); -} - - -if (1073741823 >>> 6 !== 16777215) { - $ERROR('#229: 1073741823 >>> 6 === 16777215. Actual: ' + (1073741823 >>> 6)); -} - - -if (2147483647 >>> 6 !== 33554431) { - $ERROR('#230: 2147483647 >>> 6 === 33554431. Actual: ' + (2147483647 >>> 6)); -} - - -if (4294967295 >>> 6 !== 67108863) { - $ERROR('#231: 4294967295 >>> 6 === 67108863. Actual: ' + (4294967295 >>> 6)); -} - - -if (0 >>> 7 !== 0) { - $ERROR('#232: 0 >>> 7 === 0. Actual: ' + (0 >>> 7)); -} - - -if (1 >>> 7 !== 0) { - $ERROR('#233: 1 >>> 7 === 0. Actual: ' + (1 >>> 7)); -} - - -if (3 >>> 7 !== 0) { - $ERROR('#234: 3 >>> 7 === 0. Actual: ' + (3 >>> 7)); -} - - -if (7 >>> 7 !== 0) { - $ERROR('#235: 7 >>> 7 === 0. Actual: ' + (7 >>> 7)); -} - - -if (15 >>> 7 !== 0) { - $ERROR('#236: 15 >>> 7 === 0. Actual: ' + (15 >>> 7)); -} - - -if (31 >>> 7 !== 0) { - $ERROR('#237: 31 >>> 7 === 0. Actual: ' + (31 >>> 7)); -} - - -if (63 >>> 7 !== 0) { - $ERROR('#238: 63 >>> 7 === 0. Actual: ' + (63 >>> 7)); -} - - -if (127 >>> 7 !== 0) { - $ERROR('#239: 127 >>> 7 === 0. Actual: ' + (127 >>> 7)); -} - - -if (255 >>> 7 !== 1) { - $ERROR('#240: 255 >>> 7 === 1. Actual: ' + (255 >>> 7)); -} - - -if (511 >>> 7 !== 3) { - $ERROR('#241: 511 >>> 7 === 3. Actual: ' + (511 >>> 7)); -} - - -if (1023 >>> 7 !== 7) { - $ERROR('#242: 1023 >>> 7 === 7. Actual: ' + (1023 >>> 7)); -} - - -if (2047 >>> 7 !== 15) { - $ERROR('#243: 2047 >>> 7 === 15. Actual: ' + (2047 >>> 7)); -} - - -if (4095 >>> 7 !== 31) { - $ERROR('#244: 4095 >>> 7 === 31. Actual: ' + (4095 >>> 7)); -} - - -if (8191 >>> 7 !== 63) { - $ERROR('#245: 8191 >>> 7 === 63. Actual: ' + (8191 >>> 7)); -} - - -if (16383 >>> 7 !== 127) { - $ERROR('#246: 16383 >>> 7 === 127. Actual: ' + (16383 >>> 7)); -} - - -if (32767 >>> 7 !== 255) { - $ERROR('#247: 32767 >>> 7 === 255. Actual: ' + (32767 >>> 7)); -} - - -if (65535 >>> 7 !== 511) { - $ERROR('#248: 65535 >>> 7 === 511. Actual: ' + (65535 >>> 7)); -} - - -if (131071 >>> 7 !== 1023) { - $ERROR('#249: 131071 >>> 7 === 1023. Actual: ' + (131071 >>> 7)); -} - - -if (262143 >>> 7 !== 2047) { - $ERROR('#250: 262143 >>> 7 === 2047. Actual: ' + (262143 >>> 7)); -} - - -if (524287 >>> 7 !== 4095) { - $ERROR('#251: 524287 >>> 7 === 4095. Actual: ' + (524287 >>> 7)); -} - - -if (1048575 >>> 7 !== 8191) { - $ERROR('#252: 1048575 >>> 7 === 8191. Actual: ' + (1048575 >>> 7)); -} - - -if (2097151 >>> 7 !== 16383) { - $ERROR('#253: 2097151 >>> 7 === 16383. Actual: ' + (2097151 >>> 7)); -} - - -if (4194303 >>> 7 !== 32767) { - $ERROR('#254: 4194303 >>> 7 === 32767. Actual: ' + (4194303 >>> 7)); -} - - -if (8388607 >>> 7 !== 65535) { - $ERROR('#255: 8388607 >>> 7 === 65535. Actual: ' + (8388607 >>> 7)); -} - - -if (16777215 >>> 7 !== 131071) { - $ERROR('#256: 16777215 >>> 7 === 131071. Actual: ' + (16777215 >>> 7)); -} - - -if (33554431 >>> 7 !== 262143) { - $ERROR('#257: 33554431 >>> 7 === 262143. Actual: ' + (33554431 >>> 7)); -} - - -if (67108863 >>> 7 !== 524287) { - $ERROR('#258: 67108863 >>> 7 === 524287. Actual: ' + (67108863 >>> 7)); -} - - -if (134217727 >>> 7 !== 1048575) { - $ERROR('#259: 134217727 >>> 7 === 1048575. Actual: ' + (134217727 >>> 7)); -} - - -if (268435455 >>> 7 !== 2097151) { - $ERROR('#260: 268435455 >>> 7 === 2097151. Actual: ' + (268435455 >>> 7)); -} - - -if (536870911 >>> 7 !== 4194303) { - $ERROR('#261: 536870911 >>> 7 === 4194303. Actual: ' + (536870911 >>> 7)); -} - - -if (1073741823 >>> 7 !== 8388607) { - $ERROR('#262: 1073741823 >>> 7 === 8388607. Actual: ' + (1073741823 >>> 7)); -} - - -if (2147483647 >>> 7 !== 16777215) { - $ERROR('#263: 2147483647 >>> 7 === 16777215. Actual: ' + (2147483647 >>> 7)); -} - - -if (4294967295 >>> 7 !== 33554431) { - $ERROR('#264: 4294967295 >>> 7 === 33554431. Actual: ' + (4294967295 >>> 7)); -} - - -if (0 >>> 8 !== 0) { - $ERROR('#265: 0 >>> 8 === 0. Actual: ' + (0 >>> 8)); -} - - -if (1 >>> 8 !== 0) { - $ERROR('#266: 1 >>> 8 === 0. Actual: ' + (1 >>> 8)); -} - - -if (3 >>> 8 !== 0) { - $ERROR('#267: 3 >>> 8 === 0. Actual: ' + (3 >>> 8)); -} - - -if (7 >>> 8 !== 0) { - $ERROR('#268: 7 >>> 8 === 0. Actual: ' + (7 >>> 8)); -} - - -if (15 >>> 8 !== 0) { - $ERROR('#269: 15 >>> 8 === 0. Actual: ' + (15 >>> 8)); -} - - -if (31 >>> 8 !== 0) { - $ERROR('#270: 31 >>> 8 === 0. Actual: ' + (31 >>> 8)); -} - - -if (63 >>> 8 !== 0) { - $ERROR('#271: 63 >>> 8 === 0. Actual: ' + (63 >>> 8)); -} - - -if (127 >>> 8 !== 0) { - $ERROR('#272: 127 >>> 8 === 0. Actual: ' + (127 >>> 8)); -} - - -if (255 >>> 8 !== 0) { - $ERROR('#273: 255 >>> 8 === 0. Actual: ' + (255 >>> 8)); -} - - -if (511 >>> 8 !== 1) { - $ERROR('#274: 511 >>> 8 === 1. Actual: ' + (511 >>> 8)); -} - - -if (1023 >>> 8 !== 3) { - $ERROR('#275: 1023 >>> 8 === 3. Actual: ' + (1023 >>> 8)); -} - - -if (2047 >>> 8 !== 7) { - $ERROR('#276: 2047 >>> 8 === 7. Actual: ' + (2047 >>> 8)); -} - - -if (4095 >>> 8 !== 15) { - $ERROR('#277: 4095 >>> 8 === 15. Actual: ' + (4095 >>> 8)); -} - - -if (8191 >>> 8 !== 31) { - $ERROR('#278: 8191 >>> 8 === 31. Actual: ' + (8191 >>> 8)); -} - - -if (16383 >>> 8 !== 63) { - $ERROR('#279: 16383 >>> 8 === 63. Actual: ' + (16383 >>> 8)); -} - - -if (32767 >>> 8 !== 127) { - $ERROR('#280: 32767 >>> 8 === 127. Actual: ' + (32767 >>> 8)); -} - - -if (65535 >>> 8 !== 255) { - $ERROR('#281: 65535 >>> 8 === 255. Actual: ' + (65535 >>> 8)); -} - - -if (131071 >>> 8 !== 511) { - $ERROR('#282: 131071 >>> 8 === 511. Actual: ' + (131071 >>> 8)); -} - - -if (262143 >>> 8 !== 1023) { - $ERROR('#283: 262143 >>> 8 === 1023. Actual: ' + (262143 >>> 8)); -} - - -if (524287 >>> 8 !== 2047) { - $ERROR('#284: 524287 >>> 8 === 2047. Actual: ' + (524287 >>> 8)); -} - - -if (1048575 >>> 8 !== 4095) { - $ERROR('#285: 1048575 >>> 8 === 4095. Actual: ' + (1048575 >>> 8)); -} - - -if (2097151 >>> 8 !== 8191) { - $ERROR('#286: 2097151 >>> 8 === 8191. Actual: ' + (2097151 >>> 8)); -} - - -if (4194303 >>> 8 !== 16383) { - $ERROR('#287: 4194303 >>> 8 === 16383. Actual: ' + (4194303 >>> 8)); -} - - -if (8388607 >>> 8 !== 32767) { - $ERROR('#288: 8388607 >>> 8 === 32767. Actual: ' + (8388607 >>> 8)); -} - - -if (16777215 >>> 8 !== 65535) { - $ERROR('#289: 16777215 >>> 8 === 65535. Actual: ' + (16777215 >>> 8)); -} - - -if (33554431 >>> 8 !== 131071) { - $ERROR('#290: 33554431 >>> 8 === 131071. Actual: ' + (33554431 >>> 8)); -} - - -if (67108863 >>> 8 !== 262143) { - $ERROR('#291: 67108863 >>> 8 === 262143. Actual: ' + (67108863 >>> 8)); -} - - -if (134217727 >>> 8 !== 524287) { - $ERROR('#292: 134217727 >>> 8 === 524287. Actual: ' + (134217727 >>> 8)); -} - - -if (268435455 >>> 8 !== 1048575) { - $ERROR('#293: 268435455 >>> 8 === 1048575. Actual: ' + (268435455 >>> 8)); -} - - -if (536870911 >>> 8 !== 2097151) { - $ERROR('#294: 536870911 >>> 8 === 2097151. Actual: ' + (536870911 >>> 8)); -} - - -if (1073741823 >>> 8 !== 4194303) { - $ERROR('#295: 1073741823 >>> 8 === 4194303. Actual: ' + (1073741823 >>> 8)); -} - - -if (2147483647 >>> 8 !== 8388607) { - $ERROR('#296: 2147483647 >>> 8 === 8388607. Actual: ' + (2147483647 >>> 8)); -} - - -if (4294967295 >>> 8 !== 16777215) { - $ERROR('#297: 4294967295 >>> 8 === 16777215. Actual: ' + (4294967295 >>> 8)); -} - - -if (0 >>> 9 !== 0) { - $ERROR('#298: 0 >>> 9 === 0. Actual: ' + (0 >>> 9)); -} - - -if (1 >>> 9 !== 0) { - $ERROR('#299: 1 >>> 9 === 0. Actual: ' + (1 >>> 9)); -} - - -if (3 >>> 9 !== 0) { - $ERROR('#300: 3 >>> 9 === 0. Actual: ' + (3 >>> 9)); -} - - -if (7 >>> 9 !== 0) { - $ERROR('#301: 7 >>> 9 === 0. Actual: ' + (7 >>> 9)); -} - - -if (15 >>> 9 !== 0) { - $ERROR('#302: 15 >>> 9 === 0. Actual: ' + (15 >>> 9)); -} - - -if (31 >>> 9 !== 0) { - $ERROR('#303: 31 >>> 9 === 0. Actual: ' + (31 >>> 9)); -} - - -if (63 >>> 9 !== 0) { - $ERROR('#304: 63 >>> 9 === 0. Actual: ' + (63 >>> 9)); -} - - -if (127 >>> 9 !== 0) { - $ERROR('#305: 127 >>> 9 === 0. Actual: ' + (127 >>> 9)); -} - - -if (255 >>> 9 !== 0) { - $ERROR('#306: 255 >>> 9 === 0. Actual: ' + (255 >>> 9)); -} - - -if (511 >>> 9 !== 0) { - $ERROR('#307: 511 >>> 9 === 0. Actual: ' + (511 >>> 9)); -} - - -if (1023 >>> 9 !== 1) { - $ERROR('#308: 1023 >>> 9 === 1. Actual: ' + (1023 >>> 9)); -} - - -if (2047 >>> 9 !== 3) { - $ERROR('#309: 2047 >>> 9 === 3. Actual: ' + (2047 >>> 9)); -} - - -if (4095 >>> 9 !== 7) { - $ERROR('#310: 4095 >>> 9 === 7. Actual: ' + (4095 >>> 9)); -} - - -if (8191 >>> 9 !== 15) { - $ERROR('#311: 8191 >>> 9 === 15. Actual: ' + (8191 >>> 9)); -} - - -if (16383 >>> 9 !== 31) { - $ERROR('#312: 16383 >>> 9 === 31. Actual: ' + (16383 >>> 9)); -} - - -if (32767 >>> 9 !== 63) { - $ERROR('#313: 32767 >>> 9 === 63. Actual: ' + (32767 >>> 9)); -} - - -if (65535 >>> 9 !== 127) { - $ERROR('#314: 65535 >>> 9 === 127. Actual: ' + (65535 >>> 9)); -} - - -if (131071 >>> 9 !== 255) { - $ERROR('#315: 131071 >>> 9 === 255. Actual: ' + (131071 >>> 9)); -} - - -if (262143 >>> 9 !== 511) { - $ERROR('#316: 262143 >>> 9 === 511. Actual: ' + (262143 >>> 9)); -} - - -if (524287 >>> 9 !== 1023) { - $ERROR('#317: 524287 >>> 9 === 1023. Actual: ' + (524287 >>> 9)); -} - - -if (1048575 >>> 9 !== 2047) { - $ERROR('#318: 1048575 >>> 9 === 2047. Actual: ' + (1048575 >>> 9)); -} - - -if (2097151 >>> 9 !== 4095) { - $ERROR('#319: 2097151 >>> 9 === 4095. Actual: ' + (2097151 >>> 9)); -} - - -if (4194303 >>> 9 !== 8191) { - $ERROR('#320: 4194303 >>> 9 === 8191. Actual: ' + (4194303 >>> 9)); -} - - -if (8388607 >>> 9 !== 16383) { - $ERROR('#321: 8388607 >>> 9 === 16383. Actual: ' + (8388607 >>> 9)); -} - - -if (16777215 >>> 9 !== 32767) { - $ERROR('#322: 16777215 >>> 9 === 32767. Actual: ' + (16777215 >>> 9)); -} - - -if (33554431 >>> 9 !== 65535) { - $ERROR('#323: 33554431 >>> 9 === 65535. Actual: ' + (33554431 >>> 9)); -} - - -if (67108863 >>> 9 !== 131071) { - $ERROR('#324: 67108863 >>> 9 === 131071. Actual: ' + (67108863 >>> 9)); -} - - -if (134217727 >>> 9 !== 262143) { - $ERROR('#325: 134217727 >>> 9 === 262143. Actual: ' + (134217727 >>> 9)); -} - - -if (268435455 >>> 9 !== 524287) { - $ERROR('#326: 268435455 >>> 9 === 524287. Actual: ' + (268435455 >>> 9)); -} - - -if (536870911 >>> 9 !== 1048575) { - $ERROR('#327: 536870911 >>> 9 === 1048575. Actual: ' + (536870911 >>> 9)); -} - - -if (1073741823 >>> 9 !== 2097151) { - $ERROR('#328: 1073741823 >>> 9 === 2097151. Actual: ' + (1073741823 >>> 9)); -} - - -if (2147483647 >>> 9 !== 4194303) { - $ERROR('#329: 2147483647 >>> 9 === 4194303. Actual: ' + (2147483647 >>> 9)); -} - - -if (4294967295 >>> 9 !== 8388607) { - $ERROR('#330: 4294967295 >>> 9 === 8388607. Actual: ' + (4294967295 >>> 9)); -} - - -if (0 >>> 10 !== 0) { - $ERROR('#331: 0 >>> 10 === 0. Actual: ' + (0 >>> 10)); -} - - -if (1 >>> 10 !== 0) { - $ERROR('#332: 1 >>> 10 === 0. Actual: ' + (1 >>> 10)); -} - - -if (3 >>> 10 !== 0) { - $ERROR('#333: 3 >>> 10 === 0. Actual: ' + (3 >>> 10)); -} - - -if (7 >>> 10 !== 0) { - $ERROR('#334: 7 >>> 10 === 0. Actual: ' + (7 >>> 10)); -} - - -if (15 >>> 10 !== 0) { - $ERROR('#335: 15 >>> 10 === 0. Actual: ' + (15 >>> 10)); -} - - -if (31 >>> 10 !== 0) { - $ERROR('#336: 31 >>> 10 === 0. Actual: ' + (31 >>> 10)); -} - - -if (63 >>> 10 !== 0) { - $ERROR('#337: 63 >>> 10 === 0. Actual: ' + (63 >>> 10)); -} - - -if (127 >>> 10 !== 0) { - $ERROR('#338: 127 >>> 10 === 0. Actual: ' + (127 >>> 10)); -} - - -if (255 >>> 10 !== 0) { - $ERROR('#339: 255 >>> 10 === 0. Actual: ' + (255 >>> 10)); -} - - -if (511 >>> 10 !== 0) { - $ERROR('#340: 511 >>> 10 === 0. Actual: ' + (511 >>> 10)); -} - - -if (1023 >>> 10 !== 0) { - $ERROR('#341: 1023 >>> 10 === 0. Actual: ' + (1023 >>> 10)); -} - - -if (2047 >>> 10 !== 1) { - $ERROR('#342: 2047 >>> 10 === 1. Actual: ' + (2047 >>> 10)); -} - - -if (4095 >>> 10 !== 3) { - $ERROR('#343: 4095 >>> 10 === 3. Actual: ' + (4095 >>> 10)); -} - - -if (8191 >>> 10 !== 7) { - $ERROR('#344: 8191 >>> 10 === 7. Actual: ' + (8191 >>> 10)); -} - - -if (16383 >>> 10 !== 15) { - $ERROR('#345: 16383 >>> 10 === 15. Actual: ' + (16383 >>> 10)); -} - - -if (32767 >>> 10 !== 31) { - $ERROR('#346: 32767 >>> 10 === 31. Actual: ' + (32767 >>> 10)); -} - - -if (65535 >>> 10 !== 63) { - $ERROR('#347: 65535 >>> 10 === 63. Actual: ' + (65535 >>> 10)); -} - - -if (131071 >>> 10 !== 127) { - $ERROR('#348: 131071 >>> 10 === 127. Actual: ' + (131071 >>> 10)); -} - - -if (262143 >>> 10 !== 255) { - $ERROR('#349: 262143 >>> 10 === 255. Actual: ' + (262143 >>> 10)); -} - - -if (524287 >>> 10 !== 511) { - $ERROR('#350: 524287 >>> 10 === 511. Actual: ' + (524287 >>> 10)); -} - - -if (1048575 >>> 10 !== 1023) { - $ERROR('#351: 1048575 >>> 10 === 1023. Actual: ' + (1048575 >>> 10)); -} - - -if (2097151 >>> 10 !== 2047) { - $ERROR('#352: 2097151 >>> 10 === 2047. Actual: ' + (2097151 >>> 10)); -} - - -if (4194303 >>> 10 !== 4095) { - $ERROR('#353: 4194303 >>> 10 === 4095. Actual: ' + (4194303 >>> 10)); -} - - -if (8388607 >>> 10 !== 8191) { - $ERROR('#354: 8388607 >>> 10 === 8191. Actual: ' + (8388607 >>> 10)); -} - - -if (16777215 >>> 10 !== 16383) { - $ERROR('#355: 16777215 >>> 10 === 16383. Actual: ' + (16777215 >>> 10)); -} - - -if (33554431 >>> 10 !== 32767) { - $ERROR('#356: 33554431 >>> 10 === 32767. Actual: ' + (33554431 >>> 10)); -} - - -if (67108863 >>> 10 !== 65535) { - $ERROR('#357: 67108863 >>> 10 === 65535. Actual: ' + (67108863 >>> 10)); -} - - -if (134217727 >>> 10 !== 131071) { - $ERROR('#358: 134217727 >>> 10 === 131071. Actual: ' + (134217727 >>> 10)); -} - - -if (268435455 >>> 10 !== 262143) { - $ERROR('#359: 268435455 >>> 10 === 262143. Actual: ' + (268435455 >>> 10)); -} - - -if (536870911 >>> 10 !== 524287) { - $ERROR('#360: 536870911 >>> 10 === 524287. Actual: ' + (536870911 >>> 10)); -} - - -if (1073741823 >>> 10 !== 1048575) { - $ERROR('#361: 1073741823 >>> 10 === 1048575. Actual: ' + (1073741823 >>> 10)); -} - - -if (2147483647 >>> 10 !== 2097151) { - $ERROR('#362: 2147483647 >>> 10 === 2097151. Actual: ' + (2147483647 >>> 10)); -} - - -if (4294967295 >>> 10 !== 4194303) { - $ERROR('#363: 4294967295 >>> 10 === 4194303. Actual: ' + (4294967295 >>> 10)); -} - - -if (0 >>> 11 !== 0) { - $ERROR('#364: 0 >>> 11 === 0. Actual: ' + (0 >>> 11)); -} - - -if (1 >>> 11 !== 0) { - $ERROR('#365: 1 >>> 11 === 0. Actual: ' + (1 >>> 11)); -} - - -if (3 >>> 11 !== 0) { - $ERROR('#366: 3 >>> 11 === 0. Actual: ' + (3 >>> 11)); -} - - -if (7 >>> 11 !== 0) { - $ERROR('#367: 7 >>> 11 === 0. Actual: ' + (7 >>> 11)); -} - - -if (15 >>> 11 !== 0) { - $ERROR('#368: 15 >>> 11 === 0. Actual: ' + (15 >>> 11)); -} - - -if (31 >>> 11 !== 0) { - $ERROR('#369: 31 >>> 11 === 0. Actual: ' + (31 >>> 11)); -} - - -if (63 >>> 11 !== 0) { - $ERROR('#370: 63 >>> 11 === 0. Actual: ' + (63 >>> 11)); -} - - -if (127 >>> 11 !== 0) { - $ERROR('#371: 127 >>> 11 === 0. Actual: ' + (127 >>> 11)); -} - - -if (255 >>> 11 !== 0) { - $ERROR('#372: 255 >>> 11 === 0. Actual: ' + (255 >>> 11)); -} - - -if (511 >>> 11 !== 0) { - $ERROR('#373: 511 >>> 11 === 0. Actual: ' + (511 >>> 11)); -} - - -if (1023 >>> 11 !== 0) { - $ERROR('#374: 1023 >>> 11 === 0. Actual: ' + (1023 >>> 11)); -} - - -if (2047 >>> 11 !== 0) { - $ERROR('#375: 2047 >>> 11 === 0. Actual: ' + (2047 >>> 11)); -} - - -if (4095 >>> 11 !== 1) { - $ERROR('#376: 4095 >>> 11 === 1. Actual: ' + (4095 >>> 11)); -} - - -if (8191 >>> 11 !== 3) { - $ERROR('#377: 8191 >>> 11 === 3. Actual: ' + (8191 >>> 11)); -} - - -if (16383 >>> 11 !== 7) { - $ERROR('#378: 16383 >>> 11 === 7. Actual: ' + (16383 >>> 11)); -} - - -if (32767 >>> 11 !== 15) { - $ERROR('#379: 32767 >>> 11 === 15. Actual: ' + (32767 >>> 11)); -} - - -if (65535 >>> 11 !== 31) { - $ERROR('#380: 65535 >>> 11 === 31. Actual: ' + (65535 >>> 11)); -} - - -if (131071 >>> 11 !== 63) { - $ERROR('#381: 131071 >>> 11 === 63. Actual: ' + (131071 >>> 11)); -} - - -if (262143 >>> 11 !== 127) { - $ERROR('#382: 262143 >>> 11 === 127. Actual: ' + (262143 >>> 11)); -} - - -if (524287 >>> 11 !== 255) { - $ERROR('#383: 524287 >>> 11 === 255. Actual: ' + (524287 >>> 11)); -} - - -if (1048575 >>> 11 !== 511) { - $ERROR('#384: 1048575 >>> 11 === 511. Actual: ' + (1048575 >>> 11)); -} - - -if (2097151 >>> 11 !== 1023) { - $ERROR('#385: 2097151 >>> 11 === 1023. Actual: ' + (2097151 >>> 11)); -} - - -if (4194303 >>> 11 !== 2047) { - $ERROR('#386: 4194303 >>> 11 === 2047. Actual: ' + (4194303 >>> 11)); -} - - -if (8388607 >>> 11 !== 4095) { - $ERROR('#387: 8388607 >>> 11 === 4095. Actual: ' + (8388607 >>> 11)); -} - - -if (16777215 >>> 11 !== 8191) { - $ERROR('#388: 16777215 >>> 11 === 8191. Actual: ' + (16777215 >>> 11)); -} - - -if (33554431 >>> 11 !== 16383) { - $ERROR('#389: 33554431 >>> 11 === 16383. Actual: ' + (33554431 >>> 11)); -} - - -if (67108863 >>> 11 !== 32767) { - $ERROR('#390: 67108863 >>> 11 === 32767. Actual: ' + (67108863 >>> 11)); -} - - -if (134217727 >>> 11 !== 65535) { - $ERROR('#391: 134217727 >>> 11 === 65535. Actual: ' + (134217727 >>> 11)); -} - - -if (268435455 >>> 11 !== 131071) { - $ERROR('#392: 268435455 >>> 11 === 131071. Actual: ' + (268435455 >>> 11)); -} - - -if (536870911 >>> 11 !== 262143) { - $ERROR('#393: 536870911 >>> 11 === 262143. Actual: ' + (536870911 >>> 11)); -} - - -if (1073741823 >>> 11 !== 524287) { - $ERROR('#394: 1073741823 >>> 11 === 524287. Actual: ' + (1073741823 >>> 11)); -} - - -if (2147483647 >>> 11 !== 1048575) { - $ERROR('#395: 2147483647 >>> 11 === 1048575. Actual: ' + (2147483647 >>> 11)); -} - - -if (4294967295 >>> 11 !== 2097151) { - $ERROR('#396: 4294967295 >>> 11 === 2097151. Actual: ' + (4294967295 >>> 11)); -} - - -if (0 >>> 12 !== 0) { - $ERROR('#397: 0 >>> 12 === 0. Actual: ' + (0 >>> 12)); -} - - -if (1 >>> 12 !== 0) { - $ERROR('#398: 1 >>> 12 === 0. Actual: ' + (1 >>> 12)); -} - - -if (3 >>> 12 !== 0) { - $ERROR('#399: 3 >>> 12 === 0. Actual: ' + (3 >>> 12)); -} - - -if (7 >>> 12 !== 0) { - $ERROR('#400: 7 >>> 12 === 0. Actual: ' + (7 >>> 12)); -} - - -if (15 >>> 12 !== 0) { - $ERROR('#401: 15 >>> 12 === 0. Actual: ' + (15 >>> 12)); -} - - -if (31 >>> 12 !== 0) { - $ERROR('#402: 31 >>> 12 === 0. Actual: ' + (31 >>> 12)); -} - - -if (63 >>> 12 !== 0) { - $ERROR('#403: 63 >>> 12 === 0. Actual: ' + (63 >>> 12)); -} - - -if (127 >>> 12 !== 0) { - $ERROR('#404: 127 >>> 12 === 0. Actual: ' + (127 >>> 12)); -} - - -if (255 >>> 12 !== 0) { - $ERROR('#405: 255 >>> 12 === 0. Actual: ' + (255 >>> 12)); -} - - -if (511 >>> 12 !== 0) { - $ERROR('#406: 511 >>> 12 === 0. Actual: ' + (511 >>> 12)); -} - - -if (1023 >>> 12 !== 0) { - $ERROR('#407: 1023 >>> 12 === 0. Actual: ' + (1023 >>> 12)); -} - - -if (2047 >>> 12 !== 0) { - $ERROR('#408: 2047 >>> 12 === 0. Actual: ' + (2047 >>> 12)); -} - - -if (4095 >>> 12 !== 0) { - $ERROR('#409: 4095 >>> 12 === 0. Actual: ' + (4095 >>> 12)); -} - - -if (8191 >>> 12 !== 1) { - $ERROR('#410: 8191 >>> 12 === 1. Actual: ' + (8191 >>> 12)); -} - - -if (16383 >>> 12 !== 3) { - $ERROR('#411: 16383 >>> 12 === 3. Actual: ' + (16383 >>> 12)); -} - - -if (32767 >>> 12 !== 7) { - $ERROR('#412: 32767 >>> 12 === 7. Actual: ' + (32767 >>> 12)); -} - - -if (65535 >>> 12 !== 15) { - $ERROR('#413: 65535 >>> 12 === 15. Actual: ' + (65535 >>> 12)); -} - - -if (131071 >>> 12 !== 31) { - $ERROR('#414: 131071 >>> 12 === 31. Actual: ' + (131071 >>> 12)); -} - - -if (262143 >>> 12 !== 63) { - $ERROR('#415: 262143 >>> 12 === 63. Actual: ' + (262143 >>> 12)); -} - - -if (524287 >>> 12 !== 127) { - $ERROR('#416: 524287 >>> 12 === 127. Actual: ' + (524287 >>> 12)); -} - - -if (1048575 >>> 12 !== 255) { - $ERROR('#417: 1048575 >>> 12 === 255. Actual: ' + (1048575 >>> 12)); -} - - -if (2097151 >>> 12 !== 511) { - $ERROR('#418: 2097151 >>> 12 === 511. Actual: ' + (2097151 >>> 12)); -} - - -if (4194303 >>> 12 !== 1023) { - $ERROR('#419: 4194303 >>> 12 === 1023. Actual: ' + (4194303 >>> 12)); -} - - -if (8388607 >>> 12 !== 2047) { - $ERROR('#420: 8388607 >>> 12 === 2047. Actual: ' + (8388607 >>> 12)); -} - - -if (16777215 >>> 12 !== 4095) { - $ERROR('#421: 16777215 >>> 12 === 4095. Actual: ' + (16777215 >>> 12)); -} - - -if (33554431 >>> 12 !== 8191) { - $ERROR('#422: 33554431 >>> 12 === 8191. Actual: ' + (33554431 >>> 12)); -} - - -if (67108863 >>> 12 !== 16383) { - $ERROR('#423: 67108863 >>> 12 === 16383. Actual: ' + (67108863 >>> 12)); -} - - -if (134217727 >>> 12 !== 32767) { - $ERROR('#424: 134217727 >>> 12 === 32767. Actual: ' + (134217727 >>> 12)); -} - - -if (268435455 >>> 12 !== 65535) { - $ERROR('#425: 268435455 >>> 12 === 65535. Actual: ' + (268435455 >>> 12)); -} - - -if (536870911 >>> 12 !== 131071) { - $ERROR('#426: 536870911 >>> 12 === 131071. Actual: ' + (536870911 >>> 12)); -} - - -if (1073741823 >>> 12 !== 262143) { - $ERROR('#427: 1073741823 >>> 12 === 262143. Actual: ' + (1073741823 >>> 12)); -} - - -if (2147483647 >>> 12 !== 524287) { - $ERROR('#428: 2147483647 >>> 12 === 524287. Actual: ' + (2147483647 >>> 12)); -} - - -if (4294967295 >>> 12 !== 1048575) { - $ERROR('#429: 4294967295 >>> 12 === 1048575. Actual: ' + (4294967295 >>> 12)); -} - - -if (0 >>> 13 !== 0) { - $ERROR('#430: 0 >>> 13 === 0. Actual: ' + (0 >>> 13)); -} - - -if (1 >>> 13 !== 0) { - $ERROR('#431: 1 >>> 13 === 0. Actual: ' + (1 >>> 13)); -} - - -if (3 >>> 13 !== 0) { - $ERROR('#432: 3 >>> 13 === 0. Actual: ' + (3 >>> 13)); -} - - -if (7 >>> 13 !== 0) { - $ERROR('#433: 7 >>> 13 === 0. Actual: ' + (7 >>> 13)); -} - - -if (15 >>> 13 !== 0) { - $ERROR('#434: 15 >>> 13 === 0. Actual: ' + (15 >>> 13)); -} - - -if (31 >>> 13 !== 0) { - $ERROR('#435: 31 >>> 13 === 0. Actual: ' + (31 >>> 13)); -} - - -if (63 >>> 13 !== 0) { - $ERROR('#436: 63 >>> 13 === 0. Actual: ' + (63 >>> 13)); -} - - -if (127 >>> 13 !== 0) { - $ERROR('#437: 127 >>> 13 === 0. Actual: ' + (127 >>> 13)); -} - - -if (255 >>> 13 !== 0) { - $ERROR('#438: 255 >>> 13 === 0. Actual: ' + (255 >>> 13)); -} - - -if (511 >>> 13 !== 0) { - $ERROR('#439: 511 >>> 13 === 0. Actual: ' + (511 >>> 13)); -} - - -if (1023 >>> 13 !== 0) { - $ERROR('#440: 1023 >>> 13 === 0. Actual: ' + (1023 >>> 13)); -} - - -if (2047 >>> 13 !== 0) { - $ERROR('#441: 2047 >>> 13 === 0. Actual: ' + (2047 >>> 13)); -} - - -if (4095 >>> 13 !== 0) { - $ERROR('#442: 4095 >>> 13 === 0. Actual: ' + (4095 >>> 13)); -} - - -if (8191 >>> 13 !== 0) { - $ERROR('#443: 8191 >>> 13 === 0. Actual: ' + (8191 >>> 13)); -} - - -if (16383 >>> 13 !== 1) { - $ERROR('#444: 16383 >>> 13 === 1. Actual: ' + (16383 >>> 13)); -} - - -if (32767 >>> 13 !== 3) { - $ERROR('#445: 32767 >>> 13 === 3. Actual: ' + (32767 >>> 13)); -} - - -if (65535 >>> 13 !== 7) { - $ERROR('#446: 65535 >>> 13 === 7. Actual: ' + (65535 >>> 13)); -} - - -if (131071 >>> 13 !== 15) { - $ERROR('#447: 131071 >>> 13 === 15. Actual: ' + (131071 >>> 13)); -} - - -if (262143 >>> 13 !== 31) { - $ERROR('#448: 262143 >>> 13 === 31. Actual: ' + (262143 >>> 13)); -} - - -if (524287 >>> 13 !== 63) { - $ERROR('#449: 524287 >>> 13 === 63. Actual: ' + (524287 >>> 13)); -} - - -if (1048575 >>> 13 !== 127) { - $ERROR('#450: 1048575 >>> 13 === 127. Actual: ' + (1048575 >>> 13)); -} - - -if (2097151 >>> 13 !== 255) { - $ERROR('#451: 2097151 >>> 13 === 255. Actual: ' + (2097151 >>> 13)); -} - - -if (4194303 >>> 13 !== 511) { - $ERROR('#452: 4194303 >>> 13 === 511. Actual: ' + (4194303 >>> 13)); -} - - -if (8388607 >>> 13 !== 1023) { - $ERROR('#453: 8388607 >>> 13 === 1023. Actual: ' + (8388607 >>> 13)); -} - - -if (16777215 >>> 13 !== 2047) { - $ERROR('#454: 16777215 >>> 13 === 2047. Actual: ' + (16777215 >>> 13)); -} - - -if (33554431 >>> 13 !== 4095) { - $ERROR('#455: 33554431 >>> 13 === 4095. Actual: ' + (33554431 >>> 13)); -} - - -if (67108863 >>> 13 !== 8191) { - $ERROR('#456: 67108863 >>> 13 === 8191. Actual: ' + (67108863 >>> 13)); -} - - -if (134217727 >>> 13 !== 16383) { - $ERROR('#457: 134217727 >>> 13 === 16383. Actual: ' + (134217727 >>> 13)); -} - - -if (268435455 >>> 13 !== 32767) { - $ERROR('#458: 268435455 >>> 13 === 32767. Actual: ' + (268435455 >>> 13)); -} - - -if (536870911 >>> 13 !== 65535) { - $ERROR('#459: 536870911 >>> 13 === 65535. Actual: ' + (536870911 >>> 13)); -} - - -if (1073741823 >>> 13 !== 131071) { - $ERROR('#460: 1073741823 >>> 13 === 131071. Actual: ' + (1073741823 >>> 13)); -} - - -if (2147483647 >>> 13 !== 262143) { - $ERROR('#461: 2147483647 >>> 13 === 262143. Actual: ' + (2147483647 >>> 13)); -} - - -if (4294967295 >>> 13 !== 524287) { - $ERROR('#462: 4294967295 >>> 13 === 524287. Actual: ' + (4294967295 >>> 13)); -} - - -if (0 >>> 14 !== 0) { - $ERROR('#463: 0 >>> 14 === 0. Actual: ' + (0 >>> 14)); -} - - -if (1 >>> 14 !== 0) { - $ERROR('#464: 1 >>> 14 === 0. Actual: ' + (1 >>> 14)); -} - - -if (3 >>> 14 !== 0) { - $ERROR('#465: 3 >>> 14 === 0. Actual: ' + (3 >>> 14)); -} - - -if (7 >>> 14 !== 0) { - $ERROR('#466: 7 >>> 14 === 0. Actual: ' + (7 >>> 14)); -} - - -if (15 >>> 14 !== 0) { - $ERROR('#467: 15 >>> 14 === 0. Actual: ' + (15 >>> 14)); -} - - -if (31 >>> 14 !== 0) { - $ERROR('#468: 31 >>> 14 === 0. Actual: ' + (31 >>> 14)); -} - - -if (63 >>> 14 !== 0) { - $ERROR('#469: 63 >>> 14 === 0. Actual: ' + (63 >>> 14)); -} - - -if (127 >>> 14 !== 0) { - $ERROR('#470: 127 >>> 14 === 0. Actual: ' + (127 >>> 14)); -} - - -if (255 >>> 14 !== 0) { - $ERROR('#471: 255 >>> 14 === 0. Actual: ' + (255 >>> 14)); -} - - -if (511 >>> 14 !== 0) { - $ERROR('#472: 511 >>> 14 === 0. Actual: ' + (511 >>> 14)); -} - - -if (1023 >>> 14 !== 0) { - $ERROR('#473: 1023 >>> 14 === 0. Actual: ' + (1023 >>> 14)); -} - - -if (2047 >>> 14 !== 0) { - $ERROR('#474: 2047 >>> 14 === 0. Actual: ' + (2047 >>> 14)); -} - - -if (4095 >>> 14 !== 0) { - $ERROR('#475: 4095 >>> 14 === 0. Actual: ' + (4095 >>> 14)); -} - - -if (8191 >>> 14 !== 0) { - $ERROR('#476: 8191 >>> 14 === 0. Actual: ' + (8191 >>> 14)); -} - - -if (16383 >>> 14 !== 0) { - $ERROR('#477: 16383 >>> 14 === 0. Actual: ' + (16383 >>> 14)); -} - - -if (32767 >>> 14 !== 1) { - $ERROR('#478: 32767 >>> 14 === 1. Actual: ' + (32767 >>> 14)); -} - - -if (65535 >>> 14 !== 3) { - $ERROR('#479: 65535 >>> 14 === 3. Actual: ' + (65535 >>> 14)); -} - - -if (131071 >>> 14 !== 7) { - $ERROR('#480: 131071 >>> 14 === 7. Actual: ' + (131071 >>> 14)); -} - - -if (262143 >>> 14 !== 15) { - $ERROR('#481: 262143 >>> 14 === 15. Actual: ' + (262143 >>> 14)); -} - - -if (524287 >>> 14 !== 31) { - $ERROR('#482: 524287 >>> 14 === 31. Actual: ' + (524287 >>> 14)); -} - - -if (1048575 >>> 14 !== 63) { - $ERROR('#483: 1048575 >>> 14 === 63. Actual: ' + (1048575 >>> 14)); -} - - -if (2097151 >>> 14 !== 127) { - $ERROR('#484: 2097151 >>> 14 === 127. Actual: ' + (2097151 >>> 14)); -} - - -if (4194303 >>> 14 !== 255) { - $ERROR('#485: 4194303 >>> 14 === 255. Actual: ' + (4194303 >>> 14)); -} - - -if (8388607 >>> 14 !== 511) { - $ERROR('#486: 8388607 >>> 14 === 511. Actual: ' + (8388607 >>> 14)); -} - - -if (16777215 >>> 14 !== 1023) { - $ERROR('#487: 16777215 >>> 14 === 1023. Actual: ' + (16777215 >>> 14)); -} - - -if (33554431 >>> 14 !== 2047) { - $ERROR('#488: 33554431 >>> 14 === 2047. Actual: ' + (33554431 >>> 14)); -} - - -if (67108863 >>> 14 !== 4095) { - $ERROR('#489: 67108863 >>> 14 === 4095. Actual: ' + (67108863 >>> 14)); -} - - -if (134217727 >>> 14 !== 8191) { - $ERROR('#490: 134217727 >>> 14 === 8191. Actual: ' + (134217727 >>> 14)); -} - - -if (268435455 >>> 14 !== 16383) { - $ERROR('#491: 268435455 >>> 14 === 16383. Actual: ' + (268435455 >>> 14)); -} - - -if (536870911 >>> 14 !== 32767) { - $ERROR('#492: 536870911 >>> 14 === 32767. Actual: ' + (536870911 >>> 14)); -} - - -if (1073741823 >>> 14 !== 65535) { - $ERROR('#493: 1073741823 >>> 14 === 65535. Actual: ' + (1073741823 >>> 14)); -} - - -if (2147483647 >>> 14 !== 131071) { - $ERROR('#494: 2147483647 >>> 14 === 131071. Actual: ' + (2147483647 >>> 14)); -} - - -if (4294967295 >>> 14 !== 262143) { - $ERROR('#495: 4294967295 >>> 14 === 262143. Actual: ' + (4294967295 >>> 14)); -} - - -if (0 >>> 15 !== 0) { - $ERROR('#496: 0 >>> 15 === 0. Actual: ' + (0 >>> 15)); -} - - -if (1 >>> 15 !== 0) { - $ERROR('#497: 1 >>> 15 === 0. Actual: ' + (1 >>> 15)); -} - - -if (3 >>> 15 !== 0) { - $ERROR('#498: 3 >>> 15 === 0. Actual: ' + (3 >>> 15)); -} - - -if (7 >>> 15 !== 0) { - $ERROR('#499: 7 >>> 15 === 0. Actual: ' + (7 >>> 15)); -} - - -if (15 >>> 15 !== 0) { - $ERROR('#500: 15 >>> 15 === 0. Actual: ' + (15 >>> 15)); -} - - -if (31 >>> 15 !== 0) { - $ERROR('#501: 31 >>> 15 === 0. Actual: ' + (31 >>> 15)); -} - - -if (63 >>> 15 !== 0) { - $ERROR('#502: 63 >>> 15 === 0. Actual: ' + (63 >>> 15)); -} - - -if (127 >>> 15 !== 0) { - $ERROR('#503: 127 >>> 15 === 0. Actual: ' + (127 >>> 15)); -} - - -if (255 >>> 15 !== 0) { - $ERROR('#504: 255 >>> 15 === 0. Actual: ' + (255 >>> 15)); -} - - -if (511 >>> 15 !== 0) { - $ERROR('#505: 511 >>> 15 === 0. Actual: ' + (511 >>> 15)); -} - - -if (1023 >>> 15 !== 0) { - $ERROR('#506: 1023 >>> 15 === 0. Actual: ' + (1023 >>> 15)); -} - - -if (2047 >>> 15 !== 0) { - $ERROR('#507: 2047 >>> 15 === 0. Actual: ' + (2047 >>> 15)); -} - - -if (4095 >>> 15 !== 0) { - $ERROR('#508: 4095 >>> 15 === 0. Actual: ' + (4095 >>> 15)); -} - - -if (8191 >>> 15 !== 0) { - $ERROR('#509: 8191 >>> 15 === 0. Actual: ' + (8191 >>> 15)); -} - - -if (16383 >>> 15 !== 0) { - $ERROR('#510: 16383 >>> 15 === 0. Actual: ' + (16383 >>> 15)); -} - - -if (32767 >>> 15 !== 0) { - $ERROR('#511: 32767 >>> 15 === 0. Actual: ' + (32767 >>> 15)); -} - - -if (65535 >>> 15 !== 1) { - $ERROR('#512: 65535 >>> 15 === 1. Actual: ' + (65535 >>> 15)); -} - - -if (131071 >>> 15 !== 3) { - $ERROR('#513: 131071 >>> 15 === 3. Actual: ' + (131071 >>> 15)); -} - - -if (262143 >>> 15 !== 7) { - $ERROR('#514: 262143 >>> 15 === 7. Actual: ' + (262143 >>> 15)); -} - - -if (524287 >>> 15 !== 15) { - $ERROR('#515: 524287 >>> 15 === 15. Actual: ' + (524287 >>> 15)); -} - - -if (1048575 >>> 15 !== 31) { - $ERROR('#516: 1048575 >>> 15 === 31. Actual: ' + (1048575 >>> 15)); -} - - -if (2097151 >>> 15 !== 63) { - $ERROR('#517: 2097151 >>> 15 === 63. Actual: ' + (2097151 >>> 15)); -} - - -if (4194303 >>> 15 !== 127) { - $ERROR('#518: 4194303 >>> 15 === 127. Actual: ' + (4194303 >>> 15)); -} - - -if (8388607 >>> 15 !== 255) { - $ERROR('#519: 8388607 >>> 15 === 255. Actual: ' + (8388607 >>> 15)); -} - - -if (16777215 >>> 15 !== 511) { - $ERROR('#520: 16777215 >>> 15 === 511. Actual: ' + (16777215 >>> 15)); -} - - -if (33554431 >>> 15 !== 1023) { - $ERROR('#521: 33554431 >>> 15 === 1023. Actual: ' + (33554431 >>> 15)); -} - - -if (67108863 >>> 15 !== 2047) { - $ERROR('#522: 67108863 >>> 15 === 2047. Actual: ' + (67108863 >>> 15)); -} - - -if (134217727 >>> 15 !== 4095) { - $ERROR('#523: 134217727 >>> 15 === 4095. Actual: ' + (134217727 >>> 15)); -} - - -if (268435455 >>> 15 !== 8191) { - $ERROR('#524: 268435455 >>> 15 === 8191. Actual: ' + (268435455 >>> 15)); -} - - -if (536870911 >>> 15 !== 16383) { - $ERROR('#525: 536870911 >>> 15 === 16383. Actual: ' + (536870911 >>> 15)); -} - - -if (1073741823 >>> 15 !== 32767) { - $ERROR('#526: 1073741823 >>> 15 === 32767. Actual: ' + (1073741823 >>> 15)); -} - - -if (2147483647 >>> 15 !== 65535) { - $ERROR('#527: 2147483647 >>> 15 === 65535. Actual: ' + (2147483647 >>> 15)); -} - - -if (4294967295 >>> 15 !== 131071) { - $ERROR('#528: 4294967295 >>> 15 === 131071. Actual: ' + (4294967295 >>> 15)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.js deleted file mode 100644 index 78d5d1fce3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.js +++ /dev/null @@ -1,2667 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A4_T4; - * @section: 11.7.3; - * @assertion: Check operator x >>> y in distinct points; - * @description: ShiftExpression = 2^n - 1, n = 16...31; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A4_T4", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.js", - -assertion: "Check operator x >>> y in distinct points", - -description: "ShiftExpression = 2^n - 1, n = 16...31", - -test: function testcase() { - //CHECK - -if (0 >>> 16 !== 0) { - $ERROR('#529: 0 >>> 16 === 0. Actual: ' + (0 >>> 16)); -} - - -if (1 >>> 16 !== 0) { - $ERROR('#530: 1 >>> 16 === 0. Actual: ' + (1 >>> 16)); -} - - -if (3 >>> 16 !== 0) { - $ERROR('#531: 3 >>> 16 === 0. Actual: ' + (3 >>> 16)); -} - - -if (7 >>> 16 !== 0) { - $ERROR('#532: 7 >>> 16 === 0. Actual: ' + (7 >>> 16)); -} - - -if (15 >>> 16 !== 0) { - $ERROR('#533: 15 >>> 16 === 0. Actual: ' + (15 >>> 16)); -} - - -if (31 >>> 16 !== 0) { - $ERROR('#534: 31 >>> 16 === 0. Actual: ' + (31 >>> 16)); -} - - -if (63 >>> 16 !== 0) { - $ERROR('#535: 63 >>> 16 === 0. Actual: ' + (63 >>> 16)); -} - - -if (127 >>> 16 !== 0) { - $ERROR('#536: 127 >>> 16 === 0. Actual: ' + (127 >>> 16)); -} - - -if (255 >>> 16 !== 0) { - $ERROR('#537: 255 >>> 16 === 0. Actual: ' + (255 >>> 16)); -} - - -if (511 >>> 16 !== 0) { - $ERROR('#538: 511 >>> 16 === 0. Actual: ' + (511 >>> 16)); -} - - -if (1023 >>> 16 !== 0) { - $ERROR('#539: 1023 >>> 16 === 0. Actual: ' + (1023 >>> 16)); -} - - -if (2047 >>> 16 !== 0) { - $ERROR('#540: 2047 >>> 16 === 0. Actual: ' + (2047 >>> 16)); -} - - -if (4095 >>> 16 !== 0) { - $ERROR('#541: 4095 >>> 16 === 0. Actual: ' + (4095 >>> 16)); -} - - -if (8191 >>> 16 !== 0) { - $ERROR('#542: 8191 >>> 16 === 0. Actual: ' + (8191 >>> 16)); -} - - -if (16383 >>> 16 !== 0) { - $ERROR('#543: 16383 >>> 16 === 0. Actual: ' + (16383 >>> 16)); -} - - -if (32767 >>> 16 !== 0) { - $ERROR('#544: 32767 >>> 16 === 0. Actual: ' + (32767 >>> 16)); -} - - -if (65535 >>> 16 !== 0) { - $ERROR('#545: 65535 >>> 16 === 0. Actual: ' + (65535 >>> 16)); -} - - -if (131071 >>> 16 !== 1) { - $ERROR('#546: 131071 >>> 16 === 1. Actual: ' + (131071 >>> 16)); -} - - -if (262143 >>> 16 !== 3) { - $ERROR('#547: 262143 >>> 16 === 3. Actual: ' + (262143 >>> 16)); -} - - -if (524287 >>> 16 !== 7) { - $ERROR('#548: 524287 >>> 16 === 7. Actual: ' + (524287 >>> 16)); -} - - -if (1048575 >>> 16 !== 15) { - $ERROR('#549: 1048575 >>> 16 === 15. Actual: ' + (1048575 >>> 16)); -} - - -if (2097151 >>> 16 !== 31) { - $ERROR('#550: 2097151 >>> 16 === 31. Actual: ' + (2097151 >>> 16)); -} - - -if (4194303 >>> 16 !== 63) { - $ERROR('#551: 4194303 >>> 16 === 63. Actual: ' + (4194303 >>> 16)); -} - - -if (8388607 >>> 16 !== 127) { - $ERROR('#552: 8388607 >>> 16 === 127. Actual: ' + (8388607 >>> 16)); -} - - -if (16777215 >>> 16 !== 255) { - $ERROR('#553: 16777215 >>> 16 === 255. Actual: ' + (16777215 >>> 16)); -} - - -if (33554431 >>> 16 !== 511) { - $ERROR('#554: 33554431 >>> 16 === 511. Actual: ' + (33554431 >>> 16)); -} - - -if (67108863 >>> 16 !== 1023) { - $ERROR('#555: 67108863 >>> 16 === 1023. Actual: ' + (67108863 >>> 16)); -} - - -if (134217727 >>> 16 !== 2047) { - $ERROR('#556: 134217727 >>> 16 === 2047. Actual: ' + (134217727 >>> 16)); -} - - -if (268435455 >>> 16 !== 4095) { - $ERROR('#557: 268435455 >>> 16 === 4095. Actual: ' + (268435455 >>> 16)); -} - - -if (536870911 >>> 16 !== 8191) { - $ERROR('#558: 536870911 >>> 16 === 8191. Actual: ' + (536870911 >>> 16)); -} - - -if (1073741823 >>> 16 !== 16383) { - $ERROR('#559: 1073741823 >>> 16 === 16383. Actual: ' + (1073741823 >>> 16)); -} - - -if (2147483647 >>> 16 !== 32767) { - $ERROR('#560: 2147483647 >>> 16 === 32767. Actual: ' + (2147483647 >>> 16)); -} - - -if (4294967295 >>> 16 !== 65535) { - $ERROR('#561: 4294967295 >>> 16 === 65535. Actual: ' + (4294967295 >>> 16)); -} - - -if (0 >>> 17 !== 0) { - $ERROR('#562: 0 >>> 17 === 0. Actual: ' + (0 >>> 17)); -} - - -if (1 >>> 17 !== 0) { - $ERROR('#563: 1 >>> 17 === 0. Actual: ' + (1 >>> 17)); -} - - -if (3 >>> 17 !== 0) { - $ERROR('#564: 3 >>> 17 === 0. Actual: ' + (3 >>> 17)); -} - - -if (7 >>> 17 !== 0) { - $ERROR('#565: 7 >>> 17 === 0. Actual: ' + (7 >>> 17)); -} - - -if (15 >>> 17 !== 0) { - $ERROR('#566: 15 >>> 17 === 0. Actual: ' + (15 >>> 17)); -} - - -if (31 >>> 17 !== 0) { - $ERROR('#567: 31 >>> 17 === 0. Actual: ' + (31 >>> 17)); -} - - -if (63 >>> 17 !== 0) { - $ERROR('#568: 63 >>> 17 === 0. Actual: ' + (63 >>> 17)); -} - - -if (127 >>> 17 !== 0) { - $ERROR('#569: 127 >>> 17 === 0. Actual: ' + (127 >>> 17)); -} - - -if (255 >>> 17 !== 0) { - $ERROR('#570: 255 >>> 17 === 0. Actual: ' + (255 >>> 17)); -} - - -if (511 >>> 17 !== 0) { - $ERROR('#571: 511 >>> 17 === 0. Actual: ' + (511 >>> 17)); -} - - -if (1023 >>> 17 !== 0) { - $ERROR('#572: 1023 >>> 17 === 0. Actual: ' + (1023 >>> 17)); -} - - -if (2047 >>> 17 !== 0) { - $ERROR('#573: 2047 >>> 17 === 0. Actual: ' + (2047 >>> 17)); -} - - -if (4095 >>> 17 !== 0) { - $ERROR('#574: 4095 >>> 17 === 0. Actual: ' + (4095 >>> 17)); -} - - -if (8191 >>> 17 !== 0) { - $ERROR('#575: 8191 >>> 17 === 0. Actual: ' + (8191 >>> 17)); -} - - -if (16383 >>> 17 !== 0) { - $ERROR('#576: 16383 >>> 17 === 0. Actual: ' + (16383 >>> 17)); -} - - -if (32767 >>> 17 !== 0) { - $ERROR('#577: 32767 >>> 17 === 0. Actual: ' + (32767 >>> 17)); -} - - -if (65535 >>> 17 !== 0) { - $ERROR('#578: 65535 >>> 17 === 0. Actual: ' + (65535 >>> 17)); -} - - -if (131071 >>> 17 !== 0) { - $ERROR('#579: 131071 >>> 17 === 0. Actual: ' + (131071 >>> 17)); -} - - -if (262143 >>> 17 !== 1) { - $ERROR('#580: 262143 >>> 17 === 1. Actual: ' + (262143 >>> 17)); -} - - -if (524287 >>> 17 !== 3) { - $ERROR('#581: 524287 >>> 17 === 3. Actual: ' + (524287 >>> 17)); -} - - -if (1048575 >>> 17 !== 7) { - $ERROR('#582: 1048575 >>> 17 === 7. Actual: ' + (1048575 >>> 17)); -} - - -if (2097151 >>> 17 !== 15) { - $ERROR('#583: 2097151 >>> 17 === 15. Actual: ' + (2097151 >>> 17)); -} - - -if (4194303 >>> 17 !== 31) { - $ERROR('#584: 4194303 >>> 17 === 31. Actual: ' + (4194303 >>> 17)); -} - - -if (8388607 >>> 17 !== 63) { - $ERROR('#585: 8388607 >>> 17 === 63. Actual: ' + (8388607 >>> 17)); -} - - -if (16777215 >>> 17 !== 127) { - $ERROR('#586: 16777215 >>> 17 === 127. Actual: ' + (16777215 >>> 17)); -} - - -if (33554431 >>> 17 !== 255) { - $ERROR('#587: 33554431 >>> 17 === 255. Actual: ' + (33554431 >>> 17)); -} - - -if (67108863 >>> 17 !== 511) { - $ERROR('#588: 67108863 >>> 17 === 511. Actual: ' + (67108863 >>> 17)); -} - - -if (134217727 >>> 17 !== 1023) { - $ERROR('#589: 134217727 >>> 17 === 1023. Actual: ' + (134217727 >>> 17)); -} - - -if (268435455 >>> 17 !== 2047) { - $ERROR('#590: 268435455 >>> 17 === 2047. Actual: ' + (268435455 >>> 17)); -} - - -if (536870911 >>> 17 !== 4095) { - $ERROR('#591: 536870911 >>> 17 === 4095. Actual: ' + (536870911 >>> 17)); -} - - -if (1073741823 >>> 17 !== 8191) { - $ERROR('#592: 1073741823 >>> 17 === 8191. Actual: ' + (1073741823 >>> 17)); -} - - -if (2147483647 >>> 17 !== 16383) { - $ERROR('#593: 2147483647 >>> 17 === 16383. Actual: ' + (2147483647 >>> 17)); -} - - -if (4294967295 >>> 17 !== 32767) { - $ERROR('#594: 4294967295 >>> 17 === 32767. Actual: ' + (4294967295 >>> 17)); -} - - -if (0 >>> 18 !== 0) { - $ERROR('#595: 0 >>> 18 === 0. Actual: ' + (0 >>> 18)); -} - - -if (1 >>> 18 !== 0) { - $ERROR('#596: 1 >>> 18 === 0. Actual: ' + (1 >>> 18)); -} - - -if (3 >>> 18 !== 0) { - $ERROR('#597: 3 >>> 18 === 0. Actual: ' + (3 >>> 18)); -} - - -if (7 >>> 18 !== 0) { - $ERROR('#598: 7 >>> 18 === 0. Actual: ' + (7 >>> 18)); -} - - -if (15 >>> 18 !== 0) { - $ERROR('#599: 15 >>> 18 === 0. Actual: ' + (15 >>> 18)); -} - - -if (31 >>> 18 !== 0) { - $ERROR('#600: 31 >>> 18 === 0. Actual: ' + (31 >>> 18)); -} - - -if (63 >>> 18 !== 0) { - $ERROR('#601: 63 >>> 18 === 0. Actual: ' + (63 >>> 18)); -} - - -if (127 >>> 18 !== 0) { - $ERROR('#602: 127 >>> 18 === 0. Actual: ' + (127 >>> 18)); -} - - -if (255 >>> 18 !== 0) { - $ERROR('#603: 255 >>> 18 === 0. Actual: ' + (255 >>> 18)); -} - - -if (511 >>> 18 !== 0) { - $ERROR('#604: 511 >>> 18 === 0. Actual: ' + (511 >>> 18)); -} - - -if (1023 >>> 18 !== 0) { - $ERROR('#605: 1023 >>> 18 === 0. Actual: ' + (1023 >>> 18)); -} - - -if (2047 >>> 18 !== 0) { - $ERROR('#606: 2047 >>> 18 === 0. Actual: ' + (2047 >>> 18)); -} - - -if (4095 >>> 18 !== 0) { - $ERROR('#607: 4095 >>> 18 === 0. Actual: ' + (4095 >>> 18)); -} - - -if (8191 >>> 18 !== 0) { - $ERROR('#608: 8191 >>> 18 === 0. Actual: ' + (8191 >>> 18)); -} - - -if (16383 >>> 18 !== 0) { - $ERROR('#609: 16383 >>> 18 === 0. Actual: ' + (16383 >>> 18)); -} - - -if (32767 >>> 18 !== 0) { - $ERROR('#610: 32767 >>> 18 === 0. Actual: ' + (32767 >>> 18)); -} - - -if (65535 >>> 18 !== 0) { - $ERROR('#611: 65535 >>> 18 === 0. Actual: ' + (65535 >>> 18)); -} - - -if (131071 >>> 18 !== 0) { - $ERROR('#612: 131071 >>> 18 === 0. Actual: ' + (131071 >>> 18)); -} - - -if (262143 >>> 18 !== 0) { - $ERROR('#613: 262143 >>> 18 === 0. Actual: ' + (262143 >>> 18)); -} - - -if (524287 >>> 18 !== 1) { - $ERROR('#614: 524287 >>> 18 === 1. Actual: ' + (524287 >>> 18)); -} - - -if (1048575 >>> 18 !== 3) { - $ERROR('#615: 1048575 >>> 18 === 3. Actual: ' + (1048575 >>> 18)); -} - - -if (2097151 >>> 18 !== 7) { - $ERROR('#616: 2097151 >>> 18 === 7. Actual: ' + (2097151 >>> 18)); -} - - -if (4194303 >>> 18 !== 15) { - $ERROR('#617: 4194303 >>> 18 === 15. Actual: ' + (4194303 >>> 18)); -} - - -if (8388607 >>> 18 !== 31) { - $ERROR('#618: 8388607 >>> 18 === 31. Actual: ' + (8388607 >>> 18)); -} - - -if (16777215 >>> 18 !== 63) { - $ERROR('#619: 16777215 >>> 18 === 63. Actual: ' + (16777215 >>> 18)); -} - - -if (33554431 >>> 18 !== 127) { - $ERROR('#620: 33554431 >>> 18 === 127. Actual: ' + (33554431 >>> 18)); -} - - -if (67108863 >>> 18 !== 255) { - $ERROR('#621: 67108863 >>> 18 === 255. Actual: ' + (67108863 >>> 18)); -} - - -if (134217727 >>> 18 !== 511) { - $ERROR('#622: 134217727 >>> 18 === 511. Actual: ' + (134217727 >>> 18)); -} - - -if (268435455 >>> 18 !== 1023) { - $ERROR('#623: 268435455 >>> 18 === 1023. Actual: ' + (268435455 >>> 18)); -} - - -if (536870911 >>> 18 !== 2047) { - $ERROR('#624: 536870911 >>> 18 === 2047. Actual: ' + (536870911 >>> 18)); -} - - -if (1073741823 >>> 18 !== 4095) { - $ERROR('#625: 1073741823 >>> 18 === 4095. Actual: ' + (1073741823 >>> 18)); -} - - -if (2147483647 >>> 18 !== 8191) { - $ERROR('#626: 2147483647 >>> 18 === 8191. Actual: ' + (2147483647 >>> 18)); -} - - -if (4294967295 >>> 18 !== 16383) { - $ERROR('#627: 4294967295 >>> 18 === 16383. Actual: ' + (4294967295 >>> 18)); -} - - -if (0 >>> 19 !== 0) { - $ERROR('#628: 0 >>> 19 === 0. Actual: ' + (0 >>> 19)); -} - - -if (1 >>> 19 !== 0) { - $ERROR('#629: 1 >>> 19 === 0. Actual: ' + (1 >>> 19)); -} - - -if (3 >>> 19 !== 0) { - $ERROR('#630: 3 >>> 19 === 0. Actual: ' + (3 >>> 19)); -} - - -if (7 >>> 19 !== 0) { - $ERROR('#631: 7 >>> 19 === 0. Actual: ' + (7 >>> 19)); -} - - -if (15 >>> 19 !== 0) { - $ERROR('#632: 15 >>> 19 === 0. Actual: ' + (15 >>> 19)); -} - - -if (31 >>> 19 !== 0) { - $ERROR('#633: 31 >>> 19 === 0. Actual: ' + (31 >>> 19)); -} - - -if (63 >>> 19 !== 0) { - $ERROR('#634: 63 >>> 19 === 0. Actual: ' + (63 >>> 19)); -} - - -if (127 >>> 19 !== 0) { - $ERROR('#635: 127 >>> 19 === 0. Actual: ' + (127 >>> 19)); -} - - -if (255 >>> 19 !== 0) { - $ERROR('#636: 255 >>> 19 === 0. Actual: ' + (255 >>> 19)); -} - - -if (511 >>> 19 !== 0) { - $ERROR('#637: 511 >>> 19 === 0. Actual: ' + (511 >>> 19)); -} - - -if (1023 >>> 19 !== 0) { - $ERROR('#638: 1023 >>> 19 === 0. Actual: ' + (1023 >>> 19)); -} - - -if (2047 >>> 19 !== 0) { - $ERROR('#639: 2047 >>> 19 === 0. Actual: ' + (2047 >>> 19)); -} - - -if (4095 >>> 19 !== 0) { - $ERROR('#640: 4095 >>> 19 === 0. Actual: ' + (4095 >>> 19)); -} - - -if (8191 >>> 19 !== 0) { - $ERROR('#641: 8191 >>> 19 === 0. Actual: ' + (8191 >>> 19)); -} - - -if (16383 >>> 19 !== 0) { - $ERROR('#642: 16383 >>> 19 === 0. Actual: ' + (16383 >>> 19)); -} - - -if (32767 >>> 19 !== 0) { - $ERROR('#643: 32767 >>> 19 === 0. Actual: ' + (32767 >>> 19)); -} - - -if (65535 >>> 19 !== 0) { - $ERROR('#644: 65535 >>> 19 === 0. Actual: ' + (65535 >>> 19)); -} - - -if (131071 >>> 19 !== 0) { - $ERROR('#645: 131071 >>> 19 === 0. Actual: ' + (131071 >>> 19)); -} - - -if (262143 >>> 19 !== 0) { - $ERROR('#646: 262143 >>> 19 === 0. Actual: ' + (262143 >>> 19)); -} - - -if (524287 >>> 19 !== 0) { - $ERROR('#647: 524287 >>> 19 === 0. Actual: ' + (524287 >>> 19)); -} - - -if (1048575 >>> 19 !== 1) { - $ERROR('#648: 1048575 >>> 19 === 1. Actual: ' + (1048575 >>> 19)); -} - - -if (2097151 >>> 19 !== 3) { - $ERROR('#649: 2097151 >>> 19 === 3. Actual: ' + (2097151 >>> 19)); -} - - -if (4194303 >>> 19 !== 7) { - $ERROR('#650: 4194303 >>> 19 === 7. Actual: ' + (4194303 >>> 19)); -} - - -if (8388607 >>> 19 !== 15) { - $ERROR('#651: 8388607 >>> 19 === 15. Actual: ' + (8388607 >>> 19)); -} - - -if (16777215 >>> 19 !== 31) { - $ERROR('#652: 16777215 >>> 19 === 31. Actual: ' + (16777215 >>> 19)); -} - - -if (33554431 >>> 19 !== 63) { - $ERROR('#653: 33554431 >>> 19 === 63. Actual: ' + (33554431 >>> 19)); -} - - -if (67108863 >>> 19 !== 127) { - $ERROR('#654: 67108863 >>> 19 === 127. Actual: ' + (67108863 >>> 19)); -} - - -if (134217727 >>> 19 !== 255) { - $ERROR('#655: 134217727 >>> 19 === 255. Actual: ' + (134217727 >>> 19)); -} - - -if (268435455 >>> 19 !== 511) { - $ERROR('#656: 268435455 >>> 19 === 511. Actual: ' + (268435455 >>> 19)); -} - - -if (536870911 >>> 19 !== 1023) { - $ERROR('#657: 536870911 >>> 19 === 1023. Actual: ' + (536870911 >>> 19)); -} - - -if (1073741823 >>> 19 !== 2047) { - $ERROR('#658: 1073741823 >>> 19 === 2047. Actual: ' + (1073741823 >>> 19)); -} - - -if (2147483647 >>> 19 !== 4095) { - $ERROR('#659: 2147483647 >>> 19 === 4095. Actual: ' + (2147483647 >>> 19)); -} - - -if (4294967295 >>> 19 !== 8191) { - $ERROR('#660: 4294967295 >>> 19 === 8191. Actual: ' + (4294967295 >>> 19)); -} - - -if (0 >>> 20 !== 0) { - $ERROR('#661: 0 >>> 20 === 0. Actual: ' + (0 >>> 20)); -} - - -if (1 >>> 20 !== 0) { - $ERROR('#662: 1 >>> 20 === 0. Actual: ' + (1 >>> 20)); -} - - -if (3 >>> 20 !== 0) { - $ERROR('#663: 3 >>> 20 === 0. Actual: ' + (3 >>> 20)); -} - - -if (7 >>> 20 !== 0) { - $ERROR('#664: 7 >>> 20 === 0. Actual: ' + (7 >>> 20)); -} - - -if (15 >>> 20 !== 0) { - $ERROR('#665: 15 >>> 20 === 0. Actual: ' + (15 >>> 20)); -} - - -if (31 >>> 20 !== 0) { - $ERROR('#666: 31 >>> 20 === 0. Actual: ' + (31 >>> 20)); -} - - -if (63 >>> 20 !== 0) { - $ERROR('#667: 63 >>> 20 === 0. Actual: ' + (63 >>> 20)); -} - - -if (127 >>> 20 !== 0) { - $ERROR('#668: 127 >>> 20 === 0. Actual: ' + (127 >>> 20)); -} - - -if (255 >>> 20 !== 0) { - $ERROR('#669: 255 >>> 20 === 0. Actual: ' + (255 >>> 20)); -} - - -if (511 >>> 20 !== 0) { - $ERROR('#670: 511 >>> 20 === 0. Actual: ' + (511 >>> 20)); -} - - -if (1023 >>> 20 !== 0) { - $ERROR('#671: 1023 >>> 20 === 0. Actual: ' + (1023 >>> 20)); -} - - -if (2047 >>> 20 !== 0) { - $ERROR('#672: 2047 >>> 20 === 0. Actual: ' + (2047 >>> 20)); -} - - -if (4095 >>> 20 !== 0) { - $ERROR('#673: 4095 >>> 20 === 0. Actual: ' + (4095 >>> 20)); -} - - -if (8191 >>> 20 !== 0) { - $ERROR('#674: 8191 >>> 20 === 0. Actual: ' + (8191 >>> 20)); -} - - -if (16383 >>> 20 !== 0) { - $ERROR('#675: 16383 >>> 20 === 0. Actual: ' + (16383 >>> 20)); -} - - -if (32767 >>> 20 !== 0) { - $ERROR('#676: 32767 >>> 20 === 0. Actual: ' + (32767 >>> 20)); -} - - -if (65535 >>> 20 !== 0) { - $ERROR('#677: 65535 >>> 20 === 0. Actual: ' + (65535 >>> 20)); -} - - -if (131071 >>> 20 !== 0) { - $ERROR('#678: 131071 >>> 20 === 0. Actual: ' + (131071 >>> 20)); -} - - -if (262143 >>> 20 !== 0) { - $ERROR('#679: 262143 >>> 20 === 0. Actual: ' + (262143 >>> 20)); -} - - -if (524287 >>> 20 !== 0) { - $ERROR('#680: 524287 >>> 20 === 0. Actual: ' + (524287 >>> 20)); -} - - -if (1048575 >>> 20 !== 0) { - $ERROR('#681: 1048575 >>> 20 === 0. Actual: ' + (1048575 >>> 20)); -} - - -if (2097151 >>> 20 !== 1) { - $ERROR('#682: 2097151 >>> 20 === 1. Actual: ' + (2097151 >>> 20)); -} - - -if (4194303 >>> 20 !== 3) { - $ERROR('#683: 4194303 >>> 20 === 3. Actual: ' + (4194303 >>> 20)); -} - - -if (8388607 >>> 20 !== 7) { - $ERROR('#684: 8388607 >>> 20 === 7. Actual: ' + (8388607 >>> 20)); -} - - -if (16777215 >>> 20 !== 15) { - $ERROR('#685: 16777215 >>> 20 === 15. Actual: ' + (16777215 >>> 20)); -} - - -if (33554431 >>> 20 !== 31) { - $ERROR('#686: 33554431 >>> 20 === 31. Actual: ' + (33554431 >>> 20)); -} - - -if (67108863 >>> 20 !== 63) { - $ERROR('#687: 67108863 >>> 20 === 63. Actual: ' + (67108863 >>> 20)); -} - - -if (134217727 >>> 20 !== 127) { - $ERROR('#688: 134217727 >>> 20 === 127. Actual: ' + (134217727 >>> 20)); -} - - -if (268435455 >>> 20 !== 255) { - $ERROR('#689: 268435455 >>> 20 === 255. Actual: ' + (268435455 >>> 20)); -} - - -if (536870911 >>> 20 !== 511) { - $ERROR('#690: 536870911 >>> 20 === 511. Actual: ' + (536870911 >>> 20)); -} - - -if (1073741823 >>> 20 !== 1023) { - $ERROR('#691: 1073741823 >>> 20 === 1023. Actual: ' + (1073741823 >>> 20)); -} - - -if (2147483647 >>> 20 !== 2047) { - $ERROR('#692: 2147483647 >>> 20 === 2047. Actual: ' + (2147483647 >>> 20)); -} - - -if (4294967295 >>> 20 !== 4095) { - $ERROR('#693: 4294967295 >>> 20 === 4095. Actual: ' + (4294967295 >>> 20)); -} - - -if (0 >>> 21 !== 0) { - $ERROR('#694: 0 >>> 21 === 0. Actual: ' + (0 >>> 21)); -} - - -if (1 >>> 21 !== 0) { - $ERROR('#695: 1 >>> 21 === 0. Actual: ' + (1 >>> 21)); -} - - -if (3 >>> 21 !== 0) { - $ERROR('#696: 3 >>> 21 === 0. Actual: ' + (3 >>> 21)); -} - - -if (7 >>> 21 !== 0) { - $ERROR('#697: 7 >>> 21 === 0. Actual: ' + (7 >>> 21)); -} - - -if (15 >>> 21 !== 0) { - $ERROR('#698: 15 >>> 21 === 0. Actual: ' + (15 >>> 21)); -} - - -if (31 >>> 21 !== 0) { - $ERROR('#699: 31 >>> 21 === 0. Actual: ' + (31 >>> 21)); -} - - -if (63 >>> 21 !== 0) { - $ERROR('#700: 63 >>> 21 === 0. Actual: ' + (63 >>> 21)); -} - - -if (127 >>> 21 !== 0) { - $ERROR('#701: 127 >>> 21 === 0. Actual: ' + (127 >>> 21)); -} - - -if (255 >>> 21 !== 0) { - $ERROR('#702: 255 >>> 21 === 0. Actual: ' + (255 >>> 21)); -} - - -if (511 >>> 21 !== 0) { - $ERROR('#703: 511 >>> 21 === 0. Actual: ' + (511 >>> 21)); -} - - -if (1023 >>> 21 !== 0) { - $ERROR('#704: 1023 >>> 21 === 0. Actual: ' + (1023 >>> 21)); -} - - -if (2047 >>> 21 !== 0) { - $ERROR('#705: 2047 >>> 21 === 0. Actual: ' + (2047 >>> 21)); -} - - -if (4095 >>> 21 !== 0) { - $ERROR('#706: 4095 >>> 21 === 0. Actual: ' + (4095 >>> 21)); -} - - -if (8191 >>> 21 !== 0) { - $ERROR('#707: 8191 >>> 21 === 0. Actual: ' + (8191 >>> 21)); -} - - -if (16383 >>> 21 !== 0) { - $ERROR('#708: 16383 >>> 21 === 0. Actual: ' + (16383 >>> 21)); -} - - -if (32767 >>> 21 !== 0) { - $ERROR('#709: 32767 >>> 21 === 0. Actual: ' + (32767 >>> 21)); -} - - -if (65535 >>> 21 !== 0) { - $ERROR('#710: 65535 >>> 21 === 0. Actual: ' + (65535 >>> 21)); -} - - -if (131071 >>> 21 !== 0) { - $ERROR('#711: 131071 >>> 21 === 0. Actual: ' + (131071 >>> 21)); -} - - -if (262143 >>> 21 !== 0) { - $ERROR('#712: 262143 >>> 21 === 0. Actual: ' + (262143 >>> 21)); -} - - -if (524287 >>> 21 !== 0) { - $ERROR('#713: 524287 >>> 21 === 0. Actual: ' + (524287 >>> 21)); -} - - -if (1048575 >>> 21 !== 0) { - $ERROR('#714: 1048575 >>> 21 === 0. Actual: ' + (1048575 >>> 21)); -} - - -if (2097151 >>> 21 !== 0) { - $ERROR('#715: 2097151 >>> 21 === 0. Actual: ' + (2097151 >>> 21)); -} - - -if (4194303 >>> 21 !== 1) { - $ERROR('#716: 4194303 >>> 21 === 1. Actual: ' + (4194303 >>> 21)); -} - - -if (8388607 >>> 21 !== 3) { - $ERROR('#717: 8388607 >>> 21 === 3. Actual: ' + (8388607 >>> 21)); -} - - -if (16777215 >>> 21 !== 7) { - $ERROR('#718: 16777215 >>> 21 === 7. Actual: ' + (16777215 >>> 21)); -} - - -if (33554431 >>> 21 !== 15) { - $ERROR('#719: 33554431 >>> 21 === 15. Actual: ' + (33554431 >>> 21)); -} - - -if (67108863 >>> 21 !== 31) { - $ERROR('#720: 67108863 >>> 21 === 31. Actual: ' + (67108863 >>> 21)); -} - - -if (134217727 >>> 21 !== 63) { - $ERROR('#721: 134217727 >>> 21 === 63. Actual: ' + (134217727 >>> 21)); -} - - -if (268435455 >>> 21 !== 127) { - $ERROR('#722: 268435455 >>> 21 === 127. Actual: ' + (268435455 >>> 21)); -} - - -if (536870911 >>> 21 !== 255) { - $ERROR('#723: 536870911 >>> 21 === 255. Actual: ' + (536870911 >>> 21)); -} - - -if (1073741823 >>> 21 !== 511) { - $ERROR('#724: 1073741823 >>> 21 === 511. Actual: ' + (1073741823 >>> 21)); -} - - -if (2147483647 >>> 21 !== 1023) { - $ERROR('#725: 2147483647 >>> 21 === 1023. Actual: ' + (2147483647 >>> 21)); -} - - -if (4294967295 >>> 21 !== 2047) { - $ERROR('#726: 4294967295 >>> 21 === 2047. Actual: ' + (4294967295 >>> 21)); -} - - -if (0 >>> 22 !== 0) { - $ERROR('#727: 0 >>> 22 === 0. Actual: ' + (0 >>> 22)); -} - - -if (1 >>> 22 !== 0) { - $ERROR('#728: 1 >>> 22 === 0. Actual: ' + (1 >>> 22)); -} - - -if (3 >>> 22 !== 0) { - $ERROR('#729: 3 >>> 22 === 0. Actual: ' + (3 >>> 22)); -} - - -if (7 >>> 22 !== 0) { - $ERROR('#730: 7 >>> 22 === 0. Actual: ' + (7 >>> 22)); -} - - -if (15 >>> 22 !== 0) { - $ERROR('#731: 15 >>> 22 === 0. Actual: ' + (15 >>> 22)); -} - - -if (31 >>> 22 !== 0) { - $ERROR('#732: 31 >>> 22 === 0. Actual: ' + (31 >>> 22)); -} - - -if (63 >>> 22 !== 0) { - $ERROR('#733: 63 >>> 22 === 0. Actual: ' + (63 >>> 22)); -} - - -if (127 >>> 22 !== 0) { - $ERROR('#734: 127 >>> 22 === 0. Actual: ' + (127 >>> 22)); -} - - -if (255 >>> 22 !== 0) { - $ERROR('#735: 255 >>> 22 === 0. Actual: ' + (255 >>> 22)); -} - - -if (511 >>> 22 !== 0) { - $ERROR('#736: 511 >>> 22 === 0. Actual: ' + (511 >>> 22)); -} - - -if (1023 >>> 22 !== 0) { - $ERROR('#737: 1023 >>> 22 === 0. Actual: ' + (1023 >>> 22)); -} - - -if (2047 >>> 22 !== 0) { - $ERROR('#738: 2047 >>> 22 === 0. Actual: ' + (2047 >>> 22)); -} - - -if (4095 >>> 22 !== 0) { - $ERROR('#739: 4095 >>> 22 === 0. Actual: ' + (4095 >>> 22)); -} - - -if (8191 >>> 22 !== 0) { - $ERROR('#740: 8191 >>> 22 === 0. Actual: ' + (8191 >>> 22)); -} - - -if (16383 >>> 22 !== 0) { - $ERROR('#741: 16383 >>> 22 === 0. Actual: ' + (16383 >>> 22)); -} - - -if (32767 >>> 22 !== 0) { - $ERROR('#742: 32767 >>> 22 === 0. Actual: ' + (32767 >>> 22)); -} - - -if (65535 >>> 22 !== 0) { - $ERROR('#743: 65535 >>> 22 === 0. Actual: ' + (65535 >>> 22)); -} - - -if (131071 >>> 22 !== 0) { - $ERROR('#744: 131071 >>> 22 === 0. Actual: ' + (131071 >>> 22)); -} - - -if (262143 >>> 22 !== 0) { - $ERROR('#745: 262143 >>> 22 === 0. Actual: ' + (262143 >>> 22)); -} - - -if (524287 >>> 22 !== 0) { - $ERROR('#746: 524287 >>> 22 === 0. Actual: ' + (524287 >>> 22)); -} - - -if (1048575 >>> 22 !== 0) { - $ERROR('#747: 1048575 >>> 22 === 0. Actual: ' + (1048575 >>> 22)); -} - - -if (2097151 >>> 22 !== 0) { - $ERROR('#748: 2097151 >>> 22 === 0. Actual: ' + (2097151 >>> 22)); -} - - -if (4194303 >>> 22 !== 0) { - $ERROR('#749: 4194303 >>> 22 === 0. Actual: ' + (4194303 >>> 22)); -} - - -if (8388607 >>> 22 !== 1) { - $ERROR('#750: 8388607 >>> 22 === 1. Actual: ' + (8388607 >>> 22)); -} - - -if (16777215 >>> 22 !== 3) { - $ERROR('#751: 16777215 >>> 22 === 3. Actual: ' + (16777215 >>> 22)); -} - - -if (33554431 >>> 22 !== 7) { - $ERROR('#752: 33554431 >>> 22 === 7. Actual: ' + (33554431 >>> 22)); -} - - -if (67108863 >>> 22 !== 15) { - $ERROR('#753: 67108863 >>> 22 === 15. Actual: ' + (67108863 >>> 22)); -} - - -if (134217727 >>> 22 !== 31) { - $ERROR('#754: 134217727 >>> 22 === 31. Actual: ' + (134217727 >>> 22)); -} - - -if (268435455 >>> 22 !== 63) { - $ERROR('#755: 268435455 >>> 22 === 63. Actual: ' + (268435455 >>> 22)); -} - - -if (536870911 >>> 22 !== 127) { - $ERROR('#756: 536870911 >>> 22 === 127. Actual: ' + (536870911 >>> 22)); -} - - -if (1073741823 >>> 22 !== 255) { - $ERROR('#757: 1073741823 >>> 22 === 255. Actual: ' + (1073741823 >>> 22)); -} - - -if (2147483647 >>> 22 !== 511) { - $ERROR('#758: 2147483647 >>> 22 === 511. Actual: ' + (2147483647 >>> 22)); -} - - -if (4294967295 >>> 22 !== 1023) { - $ERROR('#759: 4294967295 >>> 22 === 1023. Actual: ' + (4294967295 >>> 22)); -} - - -if (0 >>> 23 !== 0) { - $ERROR('#760: 0 >>> 23 === 0. Actual: ' + (0 >>> 23)); -} - - -if (1 >>> 23 !== 0) { - $ERROR('#761: 1 >>> 23 === 0. Actual: ' + (1 >>> 23)); -} - - -if (3 >>> 23 !== 0) { - $ERROR('#762: 3 >>> 23 === 0. Actual: ' + (3 >>> 23)); -} - - -if (7 >>> 23 !== 0) { - $ERROR('#763: 7 >>> 23 === 0. Actual: ' + (7 >>> 23)); -} - - -if (15 >>> 23 !== 0) { - $ERROR('#764: 15 >>> 23 === 0. Actual: ' + (15 >>> 23)); -} - - -if (31 >>> 23 !== 0) { - $ERROR('#765: 31 >>> 23 === 0. Actual: ' + (31 >>> 23)); -} - - -if (63 >>> 23 !== 0) { - $ERROR('#766: 63 >>> 23 === 0. Actual: ' + (63 >>> 23)); -} - - -if (127 >>> 23 !== 0) { - $ERROR('#767: 127 >>> 23 === 0. Actual: ' + (127 >>> 23)); -} - - -if (255 >>> 23 !== 0) { - $ERROR('#768: 255 >>> 23 === 0. Actual: ' + (255 >>> 23)); -} - - -if (511 >>> 23 !== 0) { - $ERROR('#769: 511 >>> 23 === 0. Actual: ' + (511 >>> 23)); -} - - -if (1023 >>> 23 !== 0) { - $ERROR('#770: 1023 >>> 23 === 0. Actual: ' + (1023 >>> 23)); -} - - -if (2047 >>> 23 !== 0) { - $ERROR('#771: 2047 >>> 23 === 0. Actual: ' + (2047 >>> 23)); -} - - -if (4095 >>> 23 !== 0) { - $ERROR('#772: 4095 >>> 23 === 0. Actual: ' + (4095 >>> 23)); -} - - -if (8191 >>> 23 !== 0) { - $ERROR('#773: 8191 >>> 23 === 0. Actual: ' + (8191 >>> 23)); -} - - -if (16383 >>> 23 !== 0) { - $ERROR('#774: 16383 >>> 23 === 0. Actual: ' + (16383 >>> 23)); -} - - -if (32767 >>> 23 !== 0) { - $ERROR('#775: 32767 >>> 23 === 0. Actual: ' + (32767 >>> 23)); -} - - -if (65535 >>> 23 !== 0) { - $ERROR('#776: 65535 >>> 23 === 0. Actual: ' + (65535 >>> 23)); -} - - -if (131071 >>> 23 !== 0) { - $ERROR('#777: 131071 >>> 23 === 0. Actual: ' + (131071 >>> 23)); -} - - -if (262143 >>> 23 !== 0) { - $ERROR('#778: 262143 >>> 23 === 0. Actual: ' + (262143 >>> 23)); -} - - -if (524287 >>> 23 !== 0) { - $ERROR('#779: 524287 >>> 23 === 0. Actual: ' + (524287 >>> 23)); -} - - -if (1048575 >>> 23 !== 0) { - $ERROR('#780: 1048575 >>> 23 === 0. Actual: ' + (1048575 >>> 23)); -} - - -if (2097151 >>> 23 !== 0) { - $ERROR('#781: 2097151 >>> 23 === 0. Actual: ' + (2097151 >>> 23)); -} - - -if (4194303 >>> 23 !== 0) { - $ERROR('#782: 4194303 >>> 23 === 0. Actual: ' + (4194303 >>> 23)); -} - - -if (8388607 >>> 23 !== 0) { - $ERROR('#783: 8388607 >>> 23 === 0. Actual: ' + (8388607 >>> 23)); -} - - -if (16777215 >>> 23 !== 1) { - $ERROR('#784: 16777215 >>> 23 === 1. Actual: ' + (16777215 >>> 23)); -} - - -if (33554431 >>> 23 !== 3) { - $ERROR('#785: 33554431 >>> 23 === 3. Actual: ' + (33554431 >>> 23)); -} - - -if (67108863 >>> 23 !== 7) { - $ERROR('#786: 67108863 >>> 23 === 7. Actual: ' + (67108863 >>> 23)); -} - - -if (134217727 >>> 23 !== 15) { - $ERROR('#787: 134217727 >>> 23 === 15. Actual: ' + (134217727 >>> 23)); -} - - -if (268435455 >>> 23 !== 31) { - $ERROR('#788: 268435455 >>> 23 === 31. Actual: ' + (268435455 >>> 23)); -} - - -if (536870911 >>> 23 !== 63) { - $ERROR('#789: 536870911 >>> 23 === 63. Actual: ' + (536870911 >>> 23)); -} - - -if (1073741823 >>> 23 !== 127) { - $ERROR('#790: 1073741823 >>> 23 === 127. Actual: ' + (1073741823 >>> 23)); -} - - -if (2147483647 >>> 23 !== 255) { - $ERROR('#791: 2147483647 >>> 23 === 255. Actual: ' + (2147483647 >>> 23)); -} - - -if (4294967295 >>> 23 !== 511) { - $ERROR('#792: 4294967295 >>> 23 === 511. Actual: ' + (4294967295 >>> 23)); -} - - -if (0 >>> 24 !== 0) { - $ERROR('#793: 0 >>> 24 === 0. Actual: ' + (0 >>> 24)); -} - - -if (1 >>> 24 !== 0) { - $ERROR('#794: 1 >>> 24 === 0. Actual: ' + (1 >>> 24)); -} - - -if (3 >>> 24 !== 0) { - $ERROR('#795: 3 >>> 24 === 0. Actual: ' + (3 >>> 24)); -} - - -if (7 >>> 24 !== 0) { - $ERROR('#796: 7 >>> 24 === 0. Actual: ' + (7 >>> 24)); -} - - -if (15 >>> 24 !== 0) { - $ERROR('#797: 15 >>> 24 === 0. Actual: ' + (15 >>> 24)); -} - - -if (31 >>> 24 !== 0) { - $ERROR('#798: 31 >>> 24 === 0. Actual: ' + (31 >>> 24)); -} - - -if (63 >>> 24 !== 0) { - $ERROR('#799: 63 >>> 24 === 0. Actual: ' + (63 >>> 24)); -} - - -if (127 >>> 24 !== 0) { - $ERROR('#800: 127 >>> 24 === 0. Actual: ' + (127 >>> 24)); -} - - -if (255 >>> 24 !== 0) { - $ERROR('#801: 255 >>> 24 === 0. Actual: ' + (255 >>> 24)); -} - - -if (511 >>> 24 !== 0) { - $ERROR('#802: 511 >>> 24 === 0. Actual: ' + (511 >>> 24)); -} - - -if (1023 >>> 24 !== 0) { - $ERROR('#803: 1023 >>> 24 === 0. Actual: ' + (1023 >>> 24)); -} - - -if (2047 >>> 24 !== 0) { - $ERROR('#804: 2047 >>> 24 === 0. Actual: ' + (2047 >>> 24)); -} - - -if (4095 >>> 24 !== 0) { - $ERROR('#805: 4095 >>> 24 === 0. Actual: ' + (4095 >>> 24)); -} - - -if (8191 >>> 24 !== 0) { - $ERROR('#806: 8191 >>> 24 === 0. Actual: ' + (8191 >>> 24)); -} - - -if (16383 >>> 24 !== 0) { - $ERROR('#807: 16383 >>> 24 === 0. Actual: ' + (16383 >>> 24)); -} - - -if (32767 >>> 24 !== 0) { - $ERROR('#808: 32767 >>> 24 === 0. Actual: ' + (32767 >>> 24)); -} - - -if (65535 >>> 24 !== 0) { - $ERROR('#809: 65535 >>> 24 === 0. Actual: ' + (65535 >>> 24)); -} - - -if (131071 >>> 24 !== 0) { - $ERROR('#810: 131071 >>> 24 === 0. Actual: ' + (131071 >>> 24)); -} - - -if (262143 >>> 24 !== 0) { - $ERROR('#811: 262143 >>> 24 === 0. Actual: ' + (262143 >>> 24)); -} - - -if (524287 >>> 24 !== 0) { - $ERROR('#812: 524287 >>> 24 === 0. Actual: ' + (524287 >>> 24)); -} - - -if (1048575 >>> 24 !== 0) { - $ERROR('#813: 1048575 >>> 24 === 0. Actual: ' + (1048575 >>> 24)); -} - - -if (2097151 >>> 24 !== 0) { - $ERROR('#814: 2097151 >>> 24 === 0. Actual: ' + (2097151 >>> 24)); -} - - -if (4194303 >>> 24 !== 0) { - $ERROR('#815: 4194303 >>> 24 === 0. Actual: ' + (4194303 >>> 24)); -} - - -if (8388607 >>> 24 !== 0) { - $ERROR('#816: 8388607 >>> 24 === 0. Actual: ' + (8388607 >>> 24)); -} - - -if (16777215 >>> 24 !== 0) { - $ERROR('#817: 16777215 >>> 24 === 0. Actual: ' + (16777215 >>> 24)); -} - - -if (33554431 >>> 24 !== 1) { - $ERROR('#818: 33554431 >>> 24 === 1. Actual: ' + (33554431 >>> 24)); -} - - -if (67108863 >>> 24 !== 3) { - $ERROR('#819: 67108863 >>> 24 === 3. Actual: ' + (67108863 >>> 24)); -} - - -if (134217727 >>> 24 !== 7) { - $ERROR('#820: 134217727 >>> 24 === 7. Actual: ' + (134217727 >>> 24)); -} - - -if (268435455 >>> 24 !== 15) { - $ERROR('#821: 268435455 >>> 24 === 15. Actual: ' + (268435455 >>> 24)); -} - - -if (536870911 >>> 24 !== 31) { - $ERROR('#822: 536870911 >>> 24 === 31. Actual: ' + (536870911 >>> 24)); -} - - -if (1073741823 >>> 24 !== 63) { - $ERROR('#823: 1073741823 >>> 24 === 63. Actual: ' + (1073741823 >>> 24)); -} - - -if (2147483647 >>> 24 !== 127) { - $ERROR('#824: 2147483647 >>> 24 === 127. Actual: ' + (2147483647 >>> 24)); -} - - -if (4294967295 >>> 24 !== 255) { - $ERROR('#825: 4294967295 >>> 24 === 255. Actual: ' + (4294967295 >>> 24)); -} - - -if (0 >>> 25 !== 0) { - $ERROR('#826: 0 >>> 25 === 0. Actual: ' + (0 >>> 25)); -} - - -if (1 >>> 25 !== 0) { - $ERROR('#827: 1 >>> 25 === 0. Actual: ' + (1 >>> 25)); -} - - -if (3 >>> 25 !== 0) { - $ERROR('#828: 3 >>> 25 === 0. Actual: ' + (3 >>> 25)); -} - - -if (7 >>> 25 !== 0) { - $ERROR('#829: 7 >>> 25 === 0. Actual: ' + (7 >>> 25)); -} - - -if (15 >>> 25 !== 0) { - $ERROR('#830: 15 >>> 25 === 0. Actual: ' + (15 >>> 25)); -} - - -if (31 >>> 25 !== 0) { - $ERROR('#831: 31 >>> 25 === 0. Actual: ' + (31 >>> 25)); -} - - -if (63 >>> 25 !== 0) { - $ERROR('#832: 63 >>> 25 === 0. Actual: ' + (63 >>> 25)); -} - - -if (127 >>> 25 !== 0) { - $ERROR('#833: 127 >>> 25 === 0. Actual: ' + (127 >>> 25)); -} - - -if (255 >>> 25 !== 0) { - $ERROR('#834: 255 >>> 25 === 0. Actual: ' + (255 >>> 25)); -} - - -if (511 >>> 25 !== 0) { - $ERROR('#835: 511 >>> 25 === 0. Actual: ' + (511 >>> 25)); -} - - -if (1023 >>> 25 !== 0) { - $ERROR('#836: 1023 >>> 25 === 0. Actual: ' + (1023 >>> 25)); -} - - -if (2047 >>> 25 !== 0) { - $ERROR('#837: 2047 >>> 25 === 0. Actual: ' + (2047 >>> 25)); -} - - -if (4095 >>> 25 !== 0) { - $ERROR('#838: 4095 >>> 25 === 0. Actual: ' + (4095 >>> 25)); -} - - -if (8191 >>> 25 !== 0) { - $ERROR('#839: 8191 >>> 25 === 0. Actual: ' + (8191 >>> 25)); -} - - -if (16383 >>> 25 !== 0) { - $ERROR('#840: 16383 >>> 25 === 0. Actual: ' + (16383 >>> 25)); -} - - -if (32767 >>> 25 !== 0) { - $ERROR('#841: 32767 >>> 25 === 0. Actual: ' + (32767 >>> 25)); -} - - -if (65535 >>> 25 !== 0) { - $ERROR('#842: 65535 >>> 25 === 0. Actual: ' + (65535 >>> 25)); -} - - -if (131071 >>> 25 !== 0) { - $ERROR('#843: 131071 >>> 25 === 0. Actual: ' + (131071 >>> 25)); -} - - -if (262143 >>> 25 !== 0) { - $ERROR('#844: 262143 >>> 25 === 0. Actual: ' + (262143 >>> 25)); -} - - -if (524287 >>> 25 !== 0) { - $ERROR('#845: 524287 >>> 25 === 0. Actual: ' + (524287 >>> 25)); -} - - -if (1048575 >>> 25 !== 0) { - $ERROR('#846: 1048575 >>> 25 === 0. Actual: ' + (1048575 >>> 25)); -} - - -if (2097151 >>> 25 !== 0) { - $ERROR('#847: 2097151 >>> 25 === 0. Actual: ' + (2097151 >>> 25)); -} - - -if (4194303 >>> 25 !== 0) { - $ERROR('#848: 4194303 >>> 25 === 0. Actual: ' + (4194303 >>> 25)); -} - - -if (8388607 >>> 25 !== 0) { - $ERROR('#849: 8388607 >>> 25 === 0. Actual: ' + (8388607 >>> 25)); -} - - -if (16777215 >>> 25 !== 0) { - $ERROR('#850: 16777215 >>> 25 === 0. Actual: ' + (16777215 >>> 25)); -} - - -if (33554431 >>> 25 !== 0) { - $ERROR('#851: 33554431 >>> 25 === 0. Actual: ' + (33554431 >>> 25)); -} - - -if (67108863 >>> 25 !== 1) { - $ERROR('#852: 67108863 >>> 25 === 1. Actual: ' + (67108863 >>> 25)); -} - - -if (134217727 >>> 25 !== 3) { - $ERROR('#853: 134217727 >>> 25 === 3. Actual: ' + (134217727 >>> 25)); -} - - -if (268435455 >>> 25 !== 7) { - $ERROR('#854: 268435455 >>> 25 === 7. Actual: ' + (268435455 >>> 25)); -} - - -if (536870911 >>> 25 !== 15) { - $ERROR('#855: 536870911 >>> 25 === 15. Actual: ' + (536870911 >>> 25)); -} - - -if (1073741823 >>> 25 !== 31) { - $ERROR('#856: 1073741823 >>> 25 === 31. Actual: ' + (1073741823 >>> 25)); -} - - -if (2147483647 >>> 25 !== 63) { - $ERROR('#857: 2147483647 >>> 25 === 63. Actual: ' + (2147483647 >>> 25)); -} - - -if (4294967295 >>> 25 !== 127) { - $ERROR('#858: 4294967295 >>> 25 === 127. Actual: ' + (4294967295 >>> 25)); -} - - -if (0 >>> 26 !== 0) { - $ERROR('#859: 0 >>> 26 === 0. Actual: ' + (0 >>> 26)); -} - - -if (1 >>> 26 !== 0) { - $ERROR('#860: 1 >>> 26 === 0. Actual: ' + (1 >>> 26)); -} - - -if (3 >>> 26 !== 0) { - $ERROR('#861: 3 >>> 26 === 0. Actual: ' + (3 >>> 26)); -} - - -if (7 >>> 26 !== 0) { - $ERROR('#862: 7 >>> 26 === 0. Actual: ' + (7 >>> 26)); -} - - -if (15 >>> 26 !== 0) { - $ERROR('#863: 15 >>> 26 === 0. Actual: ' + (15 >>> 26)); -} - - -if (31 >>> 26 !== 0) { - $ERROR('#864: 31 >>> 26 === 0. Actual: ' + (31 >>> 26)); -} - - -if (63 >>> 26 !== 0) { - $ERROR('#865: 63 >>> 26 === 0. Actual: ' + (63 >>> 26)); -} - - -if (127 >>> 26 !== 0) { - $ERROR('#866: 127 >>> 26 === 0. Actual: ' + (127 >>> 26)); -} - - -if (255 >>> 26 !== 0) { - $ERROR('#867: 255 >>> 26 === 0. Actual: ' + (255 >>> 26)); -} - - -if (511 >>> 26 !== 0) { - $ERROR('#868: 511 >>> 26 === 0. Actual: ' + (511 >>> 26)); -} - - -if (1023 >>> 26 !== 0) { - $ERROR('#869: 1023 >>> 26 === 0. Actual: ' + (1023 >>> 26)); -} - - -if (2047 >>> 26 !== 0) { - $ERROR('#870: 2047 >>> 26 === 0. Actual: ' + (2047 >>> 26)); -} - - -if (4095 >>> 26 !== 0) { - $ERROR('#871: 4095 >>> 26 === 0. Actual: ' + (4095 >>> 26)); -} - - -if (8191 >>> 26 !== 0) { - $ERROR('#872: 8191 >>> 26 === 0. Actual: ' + (8191 >>> 26)); -} - - -if (16383 >>> 26 !== 0) { - $ERROR('#873: 16383 >>> 26 === 0. Actual: ' + (16383 >>> 26)); -} - - -if (32767 >>> 26 !== 0) { - $ERROR('#874: 32767 >>> 26 === 0. Actual: ' + (32767 >>> 26)); -} - - -if (65535 >>> 26 !== 0) { - $ERROR('#875: 65535 >>> 26 === 0. Actual: ' + (65535 >>> 26)); -} - - -if (131071 >>> 26 !== 0) { - $ERROR('#876: 131071 >>> 26 === 0. Actual: ' + (131071 >>> 26)); -} - - -if (262143 >>> 26 !== 0) { - $ERROR('#877: 262143 >>> 26 === 0. Actual: ' + (262143 >>> 26)); -} - - -if (524287 >>> 26 !== 0) { - $ERROR('#878: 524287 >>> 26 === 0. Actual: ' + (524287 >>> 26)); -} - - -if (1048575 >>> 26 !== 0) { - $ERROR('#879: 1048575 >>> 26 === 0. Actual: ' + (1048575 >>> 26)); -} - - -if (2097151 >>> 26 !== 0) { - $ERROR('#880: 2097151 >>> 26 === 0. Actual: ' + (2097151 >>> 26)); -} - - -if (4194303 >>> 26 !== 0) { - $ERROR('#881: 4194303 >>> 26 === 0. Actual: ' + (4194303 >>> 26)); -} - - -if (8388607 >>> 26 !== 0) { - $ERROR('#882: 8388607 >>> 26 === 0. Actual: ' + (8388607 >>> 26)); -} - - -if (16777215 >>> 26 !== 0) { - $ERROR('#883: 16777215 >>> 26 === 0. Actual: ' + (16777215 >>> 26)); -} - - -if (33554431 >>> 26 !== 0) { - $ERROR('#884: 33554431 >>> 26 === 0. Actual: ' + (33554431 >>> 26)); -} - - -if (67108863 >>> 26 !== 0) { - $ERROR('#885: 67108863 >>> 26 === 0. Actual: ' + (67108863 >>> 26)); -} - - -if (134217727 >>> 26 !== 1) { - $ERROR('#886: 134217727 >>> 26 === 1. Actual: ' + (134217727 >>> 26)); -} - - -if (268435455 >>> 26 !== 3) { - $ERROR('#887: 268435455 >>> 26 === 3. Actual: ' + (268435455 >>> 26)); -} - - -if (536870911 >>> 26 !== 7) { - $ERROR('#888: 536870911 >>> 26 === 7. Actual: ' + (536870911 >>> 26)); -} - - -if (1073741823 >>> 26 !== 15) { - $ERROR('#889: 1073741823 >>> 26 === 15. Actual: ' + (1073741823 >>> 26)); -} - - -if (2147483647 >>> 26 !== 31) { - $ERROR('#890: 2147483647 >>> 26 === 31. Actual: ' + (2147483647 >>> 26)); -} - - -if (4294967295 >>> 26 !== 63) { - $ERROR('#891: 4294967295 >>> 26 === 63. Actual: ' + (4294967295 >>> 26)); -} - - -if (0 >>> 27 !== 0) { - $ERROR('#892: 0 >>> 27 === 0. Actual: ' + (0 >>> 27)); -} - - -if (1 >>> 27 !== 0) { - $ERROR('#893: 1 >>> 27 === 0. Actual: ' + (1 >>> 27)); -} - - -if (3 >>> 27 !== 0) { - $ERROR('#894: 3 >>> 27 === 0. Actual: ' + (3 >>> 27)); -} - - -if (7 >>> 27 !== 0) { - $ERROR('#895: 7 >>> 27 === 0. Actual: ' + (7 >>> 27)); -} - - -if (15 >>> 27 !== 0) { - $ERROR('#896: 15 >>> 27 === 0. Actual: ' + (15 >>> 27)); -} - - -if (31 >>> 27 !== 0) { - $ERROR('#897: 31 >>> 27 === 0. Actual: ' + (31 >>> 27)); -} - - -if (63 >>> 27 !== 0) { - $ERROR('#898: 63 >>> 27 === 0. Actual: ' + (63 >>> 27)); -} - - -if (127 >>> 27 !== 0) { - $ERROR('#899: 127 >>> 27 === 0. Actual: ' + (127 >>> 27)); -} - - -if (255 >>> 27 !== 0) { - $ERROR('#900: 255 >>> 27 === 0. Actual: ' + (255 >>> 27)); -} - - -if (511 >>> 27 !== 0) { - $ERROR('#901: 511 >>> 27 === 0. Actual: ' + (511 >>> 27)); -} - - -if (1023 >>> 27 !== 0) { - $ERROR('#902: 1023 >>> 27 === 0. Actual: ' + (1023 >>> 27)); -} - - -if (2047 >>> 27 !== 0) { - $ERROR('#903: 2047 >>> 27 === 0. Actual: ' + (2047 >>> 27)); -} - - -if (4095 >>> 27 !== 0) { - $ERROR('#904: 4095 >>> 27 === 0. Actual: ' + (4095 >>> 27)); -} - - -if (8191 >>> 27 !== 0) { - $ERROR('#905: 8191 >>> 27 === 0. Actual: ' + (8191 >>> 27)); -} - - -if (16383 >>> 27 !== 0) { - $ERROR('#906: 16383 >>> 27 === 0. Actual: ' + (16383 >>> 27)); -} - - -if (32767 >>> 27 !== 0) { - $ERROR('#907: 32767 >>> 27 === 0. Actual: ' + (32767 >>> 27)); -} - - -if (65535 >>> 27 !== 0) { - $ERROR('#908: 65535 >>> 27 === 0. Actual: ' + (65535 >>> 27)); -} - - -if (131071 >>> 27 !== 0) { - $ERROR('#909: 131071 >>> 27 === 0. Actual: ' + (131071 >>> 27)); -} - - -if (262143 >>> 27 !== 0) { - $ERROR('#910: 262143 >>> 27 === 0. Actual: ' + (262143 >>> 27)); -} - - -if (524287 >>> 27 !== 0) { - $ERROR('#911: 524287 >>> 27 === 0. Actual: ' + (524287 >>> 27)); -} - - -if (1048575 >>> 27 !== 0) { - $ERROR('#912: 1048575 >>> 27 === 0. Actual: ' + (1048575 >>> 27)); -} - - -if (2097151 >>> 27 !== 0) { - $ERROR('#913: 2097151 >>> 27 === 0. Actual: ' + (2097151 >>> 27)); -} - - -if (4194303 >>> 27 !== 0) { - $ERROR('#914: 4194303 >>> 27 === 0. Actual: ' + (4194303 >>> 27)); -} - - -if (8388607 >>> 27 !== 0) { - $ERROR('#915: 8388607 >>> 27 === 0. Actual: ' + (8388607 >>> 27)); -} - - -if (16777215 >>> 27 !== 0) { - $ERROR('#916: 16777215 >>> 27 === 0. Actual: ' + (16777215 >>> 27)); -} - - -if (33554431 >>> 27 !== 0) { - $ERROR('#917: 33554431 >>> 27 === 0. Actual: ' + (33554431 >>> 27)); -} - - -if (67108863 >>> 27 !== 0) { - $ERROR('#918: 67108863 >>> 27 === 0. Actual: ' + (67108863 >>> 27)); -} - - -if (134217727 >>> 27 !== 0) { - $ERROR('#919: 134217727 >>> 27 === 0. Actual: ' + (134217727 >>> 27)); -} - - -if (268435455 >>> 27 !== 1) { - $ERROR('#920: 268435455 >>> 27 === 1. Actual: ' + (268435455 >>> 27)); -} - - -if (536870911 >>> 27 !== 3) { - $ERROR('#921: 536870911 >>> 27 === 3. Actual: ' + (536870911 >>> 27)); -} - - -if (1073741823 >>> 27 !== 7) { - $ERROR('#922: 1073741823 >>> 27 === 7. Actual: ' + (1073741823 >>> 27)); -} - - -if (2147483647 >>> 27 !== 15) { - $ERROR('#923: 2147483647 >>> 27 === 15. Actual: ' + (2147483647 >>> 27)); -} - - -if (4294967295 >>> 27 !== 31) { - $ERROR('#924: 4294967295 >>> 27 === 31. Actual: ' + (4294967295 >>> 27)); -} - - -if (0 >>> 28 !== 0) { - $ERROR('#925: 0 >>> 28 === 0. Actual: ' + (0 >>> 28)); -} - - -if (1 >>> 28 !== 0) { - $ERROR('#926: 1 >>> 28 === 0. Actual: ' + (1 >>> 28)); -} - - -if (3 >>> 28 !== 0) { - $ERROR('#927: 3 >>> 28 === 0. Actual: ' + (3 >>> 28)); -} - - -if (7 >>> 28 !== 0) { - $ERROR('#928: 7 >>> 28 === 0. Actual: ' + (7 >>> 28)); -} - - -if (15 >>> 28 !== 0) { - $ERROR('#929: 15 >>> 28 === 0. Actual: ' + (15 >>> 28)); -} - - -if (31 >>> 28 !== 0) { - $ERROR('#930: 31 >>> 28 === 0. Actual: ' + (31 >>> 28)); -} - - -if (63 >>> 28 !== 0) { - $ERROR('#931: 63 >>> 28 === 0. Actual: ' + (63 >>> 28)); -} - - -if (127 >>> 28 !== 0) { - $ERROR('#932: 127 >>> 28 === 0. Actual: ' + (127 >>> 28)); -} - - -if (255 >>> 28 !== 0) { - $ERROR('#933: 255 >>> 28 === 0. Actual: ' + (255 >>> 28)); -} - - -if (511 >>> 28 !== 0) { - $ERROR('#934: 511 >>> 28 === 0. Actual: ' + (511 >>> 28)); -} - - -if (1023 >>> 28 !== 0) { - $ERROR('#935: 1023 >>> 28 === 0. Actual: ' + (1023 >>> 28)); -} - - -if (2047 >>> 28 !== 0) { - $ERROR('#936: 2047 >>> 28 === 0. Actual: ' + (2047 >>> 28)); -} - - -if (4095 >>> 28 !== 0) { - $ERROR('#937: 4095 >>> 28 === 0. Actual: ' + (4095 >>> 28)); -} - - -if (8191 >>> 28 !== 0) { - $ERROR('#938: 8191 >>> 28 === 0. Actual: ' + (8191 >>> 28)); -} - - -if (16383 >>> 28 !== 0) { - $ERROR('#939: 16383 >>> 28 === 0. Actual: ' + (16383 >>> 28)); -} - - -if (32767 >>> 28 !== 0) { - $ERROR('#940: 32767 >>> 28 === 0. Actual: ' + (32767 >>> 28)); -} - - -if (65535 >>> 28 !== 0) { - $ERROR('#941: 65535 >>> 28 === 0. Actual: ' + (65535 >>> 28)); -} - - -if (131071 >>> 28 !== 0) { - $ERROR('#942: 131071 >>> 28 === 0. Actual: ' + (131071 >>> 28)); -} - - -if (262143 >>> 28 !== 0) { - $ERROR('#943: 262143 >>> 28 === 0. Actual: ' + (262143 >>> 28)); -} - - -if (524287 >>> 28 !== 0) { - $ERROR('#944: 524287 >>> 28 === 0. Actual: ' + (524287 >>> 28)); -} - - -if (1048575 >>> 28 !== 0) { - $ERROR('#945: 1048575 >>> 28 === 0. Actual: ' + (1048575 >>> 28)); -} - - -if (2097151 >>> 28 !== 0) { - $ERROR('#946: 2097151 >>> 28 === 0. Actual: ' + (2097151 >>> 28)); -} - - -if (4194303 >>> 28 !== 0) { - $ERROR('#947: 4194303 >>> 28 === 0. Actual: ' + (4194303 >>> 28)); -} - - -if (8388607 >>> 28 !== 0) { - $ERROR('#948: 8388607 >>> 28 === 0. Actual: ' + (8388607 >>> 28)); -} - - -if (16777215 >>> 28 !== 0) { - $ERROR('#949: 16777215 >>> 28 === 0. Actual: ' + (16777215 >>> 28)); -} - - -if (33554431 >>> 28 !== 0) { - $ERROR('#950: 33554431 >>> 28 === 0. Actual: ' + (33554431 >>> 28)); -} - - -if (67108863 >>> 28 !== 0) { - $ERROR('#951: 67108863 >>> 28 === 0. Actual: ' + (67108863 >>> 28)); -} - - -if (134217727 >>> 28 !== 0) { - $ERROR('#952: 134217727 >>> 28 === 0. Actual: ' + (134217727 >>> 28)); -} - - -if (268435455 >>> 28 !== 0) { - $ERROR('#953: 268435455 >>> 28 === 0. Actual: ' + (268435455 >>> 28)); -} - - -if (536870911 >>> 28 !== 1) { - $ERROR('#954: 536870911 >>> 28 === 1. Actual: ' + (536870911 >>> 28)); -} - - -if (1073741823 >>> 28 !== 3) { - $ERROR('#955: 1073741823 >>> 28 === 3. Actual: ' + (1073741823 >>> 28)); -} - - -if (2147483647 >>> 28 !== 7) { - $ERROR('#956: 2147483647 >>> 28 === 7. Actual: ' + (2147483647 >>> 28)); -} - - -if (4294967295 >>> 28 !== 15) { - $ERROR('#957: 4294967295 >>> 28 === 15. Actual: ' + (4294967295 >>> 28)); -} - - -if (0 >>> 29 !== 0) { - $ERROR('#958: 0 >>> 29 === 0. Actual: ' + (0 >>> 29)); -} - - -if (1 >>> 29 !== 0) { - $ERROR('#959: 1 >>> 29 === 0. Actual: ' + (1 >>> 29)); -} - - -if (3 >>> 29 !== 0) { - $ERROR('#960: 3 >>> 29 === 0. Actual: ' + (3 >>> 29)); -} - - -if (7 >>> 29 !== 0) { - $ERROR('#961: 7 >>> 29 === 0. Actual: ' + (7 >>> 29)); -} - - -if (15 >>> 29 !== 0) { - $ERROR('#962: 15 >>> 29 === 0. Actual: ' + (15 >>> 29)); -} - - -if (31 >>> 29 !== 0) { - $ERROR('#963: 31 >>> 29 === 0. Actual: ' + (31 >>> 29)); -} - - -if (63 >>> 29 !== 0) { - $ERROR('#964: 63 >>> 29 === 0. Actual: ' + (63 >>> 29)); -} - - -if (127 >>> 29 !== 0) { - $ERROR('#965: 127 >>> 29 === 0. Actual: ' + (127 >>> 29)); -} - - -if (255 >>> 29 !== 0) { - $ERROR('#966: 255 >>> 29 === 0. Actual: ' + (255 >>> 29)); -} - - -if (511 >>> 29 !== 0) { - $ERROR('#967: 511 >>> 29 === 0. Actual: ' + (511 >>> 29)); -} - - -if (1023 >>> 29 !== 0) { - $ERROR('#968: 1023 >>> 29 === 0. Actual: ' + (1023 >>> 29)); -} - - -if (2047 >>> 29 !== 0) { - $ERROR('#969: 2047 >>> 29 === 0. Actual: ' + (2047 >>> 29)); -} - - -if (4095 >>> 29 !== 0) { - $ERROR('#970: 4095 >>> 29 === 0. Actual: ' + (4095 >>> 29)); -} - - -if (8191 >>> 29 !== 0) { - $ERROR('#971: 8191 >>> 29 === 0. Actual: ' + (8191 >>> 29)); -} - - -if (16383 >>> 29 !== 0) { - $ERROR('#972: 16383 >>> 29 === 0. Actual: ' + (16383 >>> 29)); -} - - -if (32767 >>> 29 !== 0) { - $ERROR('#973: 32767 >>> 29 === 0. Actual: ' + (32767 >>> 29)); -} - - -if (65535 >>> 29 !== 0) { - $ERROR('#974: 65535 >>> 29 === 0. Actual: ' + (65535 >>> 29)); -} - - -if (131071 >>> 29 !== 0) { - $ERROR('#975: 131071 >>> 29 === 0. Actual: ' + (131071 >>> 29)); -} - - -if (262143 >>> 29 !== 0) { - $ERROR('#976: 262143 >>> 29 === 0. Actual: ' + (262143 >>> 29)); -} - - -if (524287 >>> 29 !== 0) { - $ERROR('#977: 524287 >>> 29 === 0. Actual: ' + (524287 >>> 29)); -} - - -if (1048575 >>> 29 !== 0) { - $ERROR('#978: 1048575 >>> 29 === 0. Actual: ' + (1048575 >>> 29)); -} - - -if (2097151 >>> 29 !== 0) { - $ERROR('#979: 2097151 >>> 29 === 0. Actual: ' + (2097151 >>> 29)); -} - - -if (4194303 >>> 29 !== 0) { - $ERROR('#980: 4194303 >>> 29 === 0. Actual: ' + (4194303 >>> 29)); -} - - -if (8388607 >>> 29 !== 0) { - $ERROR('#981: 8388607 >>> 29 === 0. Actual: ' + (8388607 >>> 29)); -} - - -if (16777215 >>> 29 !== 0) { - $ERROR('#982: 16777215 >>> 29 === 0. Actual: ' + (16777215 >>> 29)); -} - - -if (33554431 >>> 29 !== 0) { - $ERROR('#983: 33554431 >>> 29 === 0. Actual: ' + (33554431 >>> 29)); -} - - -if (67108863 >>> 29 !== 0) { - $ERROR('#984: 67108863 >>> 29 === 0. Actual: ' + (67108863 >>> 29)); -} - - -if (134217727 >>> 29 !== 0) { - $ERROR('#985: 134217727 >>> 29 === 0. Actual: ' + (134217727 >>> 29)); -} - - -if (268435455 >>> 29 !== 0) { - $ERROR('#986: 268435455 >>> 29 === 0. Actual: ' + (268435455 >>> 29)); -} - - -if (536870911 >>> 29 !== 0) { - $ERROR('#987: 536870911 >>> 29 === 0. Actual: ' + (536870911 >>> 29)); -} - - -if (1073741823 >>> 29 !== 1) { - $ERROR('#988: 1073741823 >>> 29 === 1. Actual: ' + (1073741823 >>> 29)); -} - - -if (2147483647 >>> 29 !== 3) { - $ERROR('#989: 2147483647 >>> 29 === 3. Actual: ' + (2147483647 >>> 29)); -} - - -if (4294967295 >>> 29 !== 7) { - $ERROR('#990: 4294967295 >>> 29 === 7. Actual: ' + (4294967295 >>> 29)); -} - - -if (0 >>> 30 !== 0) { - $ERROR('#991: 0 >>> 30 === 0. Actual: ' + (0 >>> 30)); -} - - -if (1 >>> 30 !== 0) { - $ERROR('#992: 1 >>> 30 === 0. Actual: ' + (1 >>> 30)); -} - - -if (3 >>> 30 !== 0) { - $ERROR('#993: 3 >>> 30 === 0. Actual: ' + (3 >>> 30)); -} - - -if (7 >>> 30 !== 0) { - $ERROR('#994: 7 >>> 30 === 0. Actual: ' + (7 >>> 30)); -} - - -if (15 >>> 30 !== 0) { - $ERROR('#995: 15 >>> 30 === 0. Actual: ' + (15 >>> 30)); -} - - -if (31 >>> 30 !== 0) { - $ERROR('#996: 31 >>> 30 === 0. Actual: ' + (31 >>> 30)); -} - - -if (63 >>> 30 !== 0) { - $ERROR('#997: 63 >>> 30 === 0. Actual: ' + (63 >>> 30)); -} - - -if (127 >>> 30 !== 0) { - $ERROR('#998: 127 >>> 30 === 0. Actual: ' + (127 >>> 30)); -} - - -if (255 >>> 30 !== 0) { - $ERROR('#999: 255 >>> 30 === 0. Actual: ' + (255 >>> 30)); -} - - -if (511 >>> 30 !== 0) { - $ERROR('#1000: 511 >>> 30 === 0. Actual: ' + (511 >>> 30)); -} - - -if (1023 >>> 30 !== 0) { - $ERROR('#1001: 1023 >>> 30 === 0. Actual: ' + (1023 >>> 30)); -} - - -if (2047 >>> 30 !== 0) { - $ERROR('#1002: 2047 >>> 30 === 0. Actual: ' + (2047 >>> 30)); -} - - -if (4095 >>> 30 !== 0) { - $ERROR('#1003: 4095 >>> 30 === 0. Actual: ' + (4095 >>> 30)); -} - - -if (8191 >>> 30 !== 0) { - $ERROR('#1004: 8191 >>> 30 === 0. Actual: ' + (8191 >>> 30)); -} - - -if (16383 >>> 30 !== 0) { - $ERROR('#1005: 16383 >>> 30 === 0. Actual: ' + (16383 >>> 30)); -} - - -if (32767 >>> 30 !== 0) { - $ERROR('#1006: 32767 >>> 30 === 0. Actual: ' + (32767 >>> 30)); -} - - -if (65535 >>> 30 !== 0) { - $ERROR('#1007: 65535 >>> 30 === 0. Actual: ' + (65535 >>> 30)); -} - - -if (131071 >>> 30 !== 0) { - $ERROR('#1008: 131071 >>> 30 === 0. Actual: ' + (131071 >>> 30)); -} - - -if (262143 >>> 30 !== 0) { - $ERROR('#1009: 262143 >>> 30 === 0. Actual: ' + (262143 >>> 30)); -} - - -if (524287 >>> 30 !== 0) { - $ERROR('#1010: 524287 >>> 30 === 0. Actual: ' + (524287 >>> 30)); -} - - -if (1048575 >>> 30 !== 0) { - $ERROR('#1011: 1048575 >>> 30 === 0. Actual: ' + (1048575 >>> 30)); -} - - -if (2097151 >>> 30 !== 0) { - $ERROR('#1012: 2097151 >>> 30 === 0. Actual: ' + (2097151 >>> 30)); -} - - -if (4194303 >>> 30 !== 0) { - $ERROR('#1013: 4194303 >>> 30 === 0. Actual: ' + (4194303 >>> 30)); -} - - -if (8388607 >>> 30 !== 0) { - $ERROR('#1014: 8388607 >>> 30 === 0. Actual: ' + (8388607 >>> 30)); -} - - -if (16777215 >>> 30 !== 0) { - $ERROR('#1015: 16777215 >>> 30 === 0. Actual: ' + (16777215 >>> 30)); -} - - -if (33554431 >>> 30 !== 0) { - $ERROR('#1016: 33554431 >>> 30 === 0. Actual: ' + (33554431 >>> 30)); -} - - -if (67108863 >>> 30 !== 0) { - $ERROR('#1017: 67108863 >>> 30 === 0. Actual: ' + (67108863 >>> 30)); -} - - -if (134217727 >>> 30 !== 0) { - $ERROR('#1018: 134217727 >>> 30 === 0. Actual: ' + (134217727 >>> 30)); -} - - -if (268435455 >>> 30 !== 0) { - $ERROR('#1019: 268435455 >>> 30 === 0. Actual: ' + (268435455 >>> 30)); -} - - -if (536870911 >>> 30 !== 0) { - $ERROR('#1020: 536870911 >>> 30 === 0. Actual: ' + (536870911 >>> 30)); -} - - -if (1073741823 >>> 30 !== 0) { - $ERROR('#1021: 1073741823 >>> 30 === 0. Actual: ' + (1073741823 >>> 30)); -} - - -if (2147483647 >>> 30 !== 1) { - $ERROR('#1022: 2147483647 >>> 30 === 1. Actual: ' + (2147483647 >>> 30)); -} - - -if (4294967295 >>> 30 !== 3) { - $ERROR('#1023: 4294967295 >>> 30 === 3. Actual: ' + (4294967295 >>> 30)); -} - - -if (0 >>> 31 !== 0) { - $ERROR('#1024: 0 >>> 31 === 0. Actual: ' + (0 >>> 31)); -} - - -if (1 >>> 31 !== 0) { - $ERROR('#1025: 1 >>> 31 === 0. Actual: ' + (1 >>> 31)); -} - - -if (3 >>> 31 !== 0) { - $ERROR('#1026: 3 >>> 31 === 0. Actual: ' + (3 >>> 31)); -} - - -if (7 >>> 31 !== 0) { - $ERROR('#1027: 7 >>> 31 === 0. Actual: ' + (7 >>> 31)); -} - - -if (15 >>> 31 !== 0) { - $ERROR('#1028: 15 >>> 31 === 0. Actual: ' + (15 >>> 31)); -} - - -if (31 >>> 31 !== 0) { - $ERROR('#1029: 31 >>> 31 === 0. Actual: ' + (31 >>> 31)); -} - - -if (63 >>> 31 !== 0) { - $ERROR('#1030: 63 >>> 31 === 0. Actual: ' + (63 >>> 31)); -} - - -if (127 >>> 31 !== 0) { - $ERROR('#1031: 127 >>> 31 === 0. Actual: ' + (127 >>> 31)); -} - - -if (255 >>> 31 !== 0) { - $ERROR('#1032: 255 >>> 31 === 0. Actual: ' + (255 >>> 31)); -} - - -if (511 >>> 31 !== 0) { - $ERROR('#1033: 511 >>> 31 === 0. Actual: ' + (511 >>> 31)); -} - - -if (1023 >>> 31 !== 0) { - $ERROR('#1034: 1023 >>> 31 === 0. Actual: ' + (1023 >>> 31)); -} - - -if (2047 >>> 31 !== 0) { - $ERROR('#1035: 2047 >>> 31 === 0. Actual: ' + (2047 >>> 31)); -} - - -if (4095 >>> 31 !== 0) { - $ERROR('#1036: 4095 >>> 31 === 0. Actual: ' + (4095 >>> 31)); -} - - -if (8191 >>> 31 !== 0) { - $ERROR('#1037: 8191 >>> 31 === 0. Actual: ' + (8191 >>> 31)); -} - - -if (16383 >>> 31 !== 0) { - $ERROR('#1038: 16383 >>> 31 === 0. Actual: ' + (16383 >>> 31)); -} - - -if (32767 >>> 31 !== 0) { - $ERROR('#1039: 32767 >>> 31 === 0. Actual: ' + (32767 >>> 31)); -} - - -if (65535 >>> 31 !== 0) { - $ERROR('#1040: 65535 >>> 31 === 0. Actual: ' + (65535 >>> 31)); -} - - -if (131071 >>> 31 !== 0) { - $ERROR('#1041: 131071 >>> 31 === 0. Actual: ' + (131071 >>> 31)); -} - - -if (262143 >>> 31 !== 0) { - $ERROR('#1042: 262143 >>> 31 === 0. Actual: ' + (262143 >>> 31)); -} - - -if (524287 >>> 31 !== 0) { - $ERROR('#1043: 524287 >>> 31 === 0. Actual: ' + (524287 >>> 31)); -} - - -if (1048575 >>> 31 !== 0) { - $ERROR('#1044: 1048575 >>> 31 === 0. Actual: ' + (1048575 >>> 31)); -} - - -if (2097151 >>> 31 !== 0) { - $ERROR('#1045: 2097151 >>> 31 === 0. Actual: ' + (2097151 >>> 31)); -} - - -if (4194303 >>> 31 !== 0) { - $ERROR('#1046: 4194303 >>> 31 === 0. Actual: ' + (4194303 >>> 31)); -} - - -if (8388607 >>> 31 !== 0) { - $ERROR('#1047: 8388607 >>> 31 === 0. Actual: ' + (8388607 >>> 31)); -} - - -if (16777215 >>> 31 !== 0) { - $ERROR('#1048: 16777215 >>> 31 === 0. Actual: ' + (16777215 >>> 31)); -} - - -if (33554431 >>> 31 !== 0) { - $ERROR('#1049: 33554431 >>> 31 === 0. Actual: ' + (33554431 >>> 31)); -} - - -if (67108863 >>> 31 !== 0) { - $ERROR('#1050: 67108863 >>> 31 === 0. Actual: ' + (67108863 >>> 31)); -} - - -if (134217727 >>> 31 !== 0) { - $ERROR('#1051: 134217727 >>> 31 === 0. Actual: ' + (134217727 >>> 31)); -} - - -if (268435455 >>> 31 !== 0) { - $ERROR('#1052: 268435455 >>> 31 === 0. Actual: ' + (268435455 >>> 31)); -} - - -if (536870911 >>> 31 !== 0) { - $ERROR('#1053: 536870911 >>> 31 === 0. Actual: ' + (536870911 >>> 31)); -} - - -if (1073741823 >>> 31 !== 0) { - $ERROR('#1054: 1073741823 >>> 31 === 0. Actual: ' + (1073741823 >>> 31)); -} - - -if (2147483647 >>> 31 !== 0) { - $ERROR('#1055: 2147483647 >>> 31 === 0. Actual: ' + (2147483647 >>> 31)); -} - - -if (4294967295 >>> 31 !== 1) { - $ERROR('#1056: 4294967295 >>> 31 === 1. Actual: ' + (4294967295 >>> 31)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1.js deleted file mode 100644 index e65f9bfcf5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A5.1_T1; - * @section: 11.7.3, 9.5; - * @assertion: Operator x >>> y uses ToUint32(ShiftExpression); - * @description: Checking boundary points; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A5.1_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1.js", - -assertion: "Operator x >>> y uses ToUint32(ShiftExpression)", - -description: "Checking boundary points", - -test: function testcase() { - //CHECK#1 -if (2147483648.1 >>> 0 !== 2147483648) { - $ERROR('#1: 2147483648.1 >>> 0 === 2147483648. Actual: ' + (2147483648.1 >>> 0)); -} - -//CHECK#2 -if (4294967296.1 >>> 0 !== 0) { - $ERROR('#2: 4294967296.1 >>> 0 === 0. Actual: ' + (4294967296.1 >>> 0)); -} - -//CHECK#3 -if (6442450944.1 >>> 0 !== 2147483648) { - $ERROR('#3: 6442450944.1 >>> 0 === 2147483648. Actual: ' + (6442450944.1 >>> 0)); -} - -//CHECK#4 -if (4294967295.1 >>> 0 !== 4294967295) { - $ERROR('#4: 4294967295.1 >>> 0 === 4294967295. Actual: ' + (4294967295.1 >>> 0)); -} - -//CHECK#5 -if (6442450943.1 >>> 0 !== 2147483647) { - $ERROR('#5: 6442450943.1 >>> 0 === 2147483647. Actual: ' + (6442450943.1 >>> 0)); -} - -//CHECK#6 -if (-2147483649.1 >>> 0 !== 2147483647) { - $ERROR('#6: -2147483649.1 >>> 0 === 2147483647. Actual: ' + (-2147483649.1 >>> 0)); -} - -//CHECK#7 -if (-4294967297.1 >>> 0 !== 4294967295) { - $ERROR('#7: -4294967297.1 >>> 0 === 4294967295. Actual: ' + (-4294967297.1 >>> 0)); -} - -//CHECK#8 -if (-6442450945.1 >>> 0 !== 2147483647) { - $ERROR('#8: -6442450945.1 >>> 0 === 2147483647. Actual: ' + (-6442450945.1 >>> 0)); -} - -//CHECK#9 -if (-4294967296.1 >>> 0 !== 0) { - $ERROR('#9: -4294967296.1 >>> 0 === 0 . Actual: ' + (-4294967296.1 >>> 0)); -} - -//CHECK#10 -if (-6442450944.1 >>> 0 !== 2147483648) { - $ERROR('#10: -6442450944.1 >>> 0 === 2147483648. Actual: ' + (-6442450944.1 >>> 0)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1.js deleted file mode 100644 index e9d0d2395d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1.js +++ /dev/null @@ -1,347 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.7.3_A5.2_T1; - * @section: 11.7.3, 9.5; - * @assertion: Operator x >>> y uses ToUint32(AdditiveExpression) & 31; - * @description: Checking distinct points; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.7.3_A5.2_T1", - -path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1.js", - -assertion: "Operator x >>> y uses ToUint32(AdditiveExpression) & 31", - -description: "Checking distinct points", - -test: function testcase() { - //CHECK#1 -if (4294967295 >>> -32.1 !== 4294967295) { - $ERROR('#1: 4294967295 >>> -32.1 === 4294967295. Actual: ' + (4294967295 >>> -32.1)); -} - -//CHECK#2 -if (4294967295 >>> -31.1 !== 2147483647) { - $ERROR('#2: 4294967295 >>> -31.1 === 2147483647. Actual: ' + (4294967295 >>> -31.1)); -} - -//CHECK#3 -if (4294967295 >>> -30.1 !== 1073741823) { - $ERROR('#3: 4294967295 >>> -30.1 === 1073741823. Actual: ' + (4294967295 >>> -30.1)); -} - -//CHECK#4 -if (4294967295 >>> -29.1 !== 536870911) { - $ERROR('#4: 4294967295 >>> -29.1 === 536870911. Actual: ' + (4294967295 >>> -29.1)); -} - -//CHECK#5 -if (4294967295 >>> -28.1 !== 268435455) { - $ERROR('#5: 4294967295 >>> -28.1 === 268435455. Actual: ' + (4294967295 >>> -28.1)); -} - -//CHECK#6 -if (4294967295 >>> -27.1 !== 134217727) { - $ERROR('#6: 4294967295 >>> -27.1 === 134217727. Actual: ' + (4294967295 >>> -27.1)); -} - -//CHECK#7 -if (4294967295 >>> -26.1 !== 67108863) { - $ERROR('#7: 4294967295 >>> -26.1 === 67108863. Actual: ' + (4294967295 >>> -26.1)); -} - -//CHECK#8 -if (4294967295 >>> -25.1 !== 33554431) { - $ERROR('#8: 4294967295 >>> -25.1 === 33554431. Actual: ' + (4294967295 >>> -25.1)); -} - -//CHECK#9 -if (4294967295 >>> -24.1 !== 16777215) { - $ERROR('#9: 4294967295 >>> -24.1 === 16777215. Actual: ' + (4294967295 >>> -24.1)); -} - -//CHECK#10 -if (4294967295 >>> -23.1 !== 8388607) { - $ERROR('#10: 4294967295 >>> -23.1 === 8388607. Actual: ' + (4294967295 >>> -23.1)); -} - -//CHECK#11 -if (4294967295 >>> -22.1 !== 4194303) { - $ERROR('#11: 4294967295 >>> -22.1 === 4194303. Actual: ' + (4294967295 >>> -22.1)); -} - -//CHECK#12 -if (4294967295 >>> -21.1 !== 2097151) { - $ERROR('#12: 4294967295 >>> -21.1 === 2097151. Actual: ' + (4294967295 >>> -21.1)); -} - -//CHECK#13 -if (4294967295 >>> -20.1 !== 1048575) { - $ERROR('#13: 4294967295 >>> -20.1 === 1048575. Actual: ' + (4294967295 >>> -20.1)); -} - -//CHECK#14 -if (4294967295 >>> -19.1 !== 524287) { - $ERROR('#14: 4294967295 >>> -19.1 === 524287. Actual: ' + (4294967295 >>> -19.1)); -} - -//CHECK#15 -if (4294967295 >>> -18.1 !== 262143) { - $ERROR('#15: 4294967295 >>> -18.1 === 262143. Actual: ' + (4294967295 >>> -18.1)); -} - -//CHECK#16 -if (4294967295 >>> -17.1 !== 131071) { - $ERROR('#16: 4294967295 >>> -17.1 === 131071. Actual: ' + (4294967295 >>> -17.1)); -} - -//CHECK#17 -if (4294967295 >>> -16.1 !== 65535) { - $ERROR('#17: 4294967295 >>> -16.1 === 65535. Actual: ' + (4294967295 >>> -16.1)); -} - -//CHECK#18 -if (4294967295 >>> -15.1 !== 32767) { - $ERROR('#18: 4294967295 >>> -15.1 === 32767. Actual: ' + (4294967295 >>> -15.1)); -} - -//CHECK#19 -if (4294967295 >>> -14.1 !== 16383) { - $ERROR('#19: 4294967295 >>> -14.1 === 16383. Actual: ' + (4294967295 >>> -14.1)); -} - -//CHECK#20 -if (4294967295 >>> -13.1 !== 8191) { - $ERROR('#20: 4294967295 >>> -13.1 === 8191. Actual: ' + (4294967295 >>> -13.1)); -} - -//CHECK#21 -if (4294967295 >>> -12.1 !== 4095) { - $ERROR('#21: 4294967295 >>> -12.1 === 4095. Actual: ' + (4294967295 >>> -12.1)); -} - -//CHECK#22 -if (4294967295 >>> -11.1 !== 2047) { - $ERROR('#22: 4294967295 >>> -11.1 === 2047. Actual: ' + (4294967295 >>> -11.1)); -} - -//CHECK#23 -if (4294967295 >>> -10.1 !== 1023) { - $ERROR('#23: 4294967295 >>> -10.1 === 1023. Actual: ' + (4294967295 >>> -10.1)); -} - -//CHECK#24 -if (4294967295 >>> -9.1 !== 511) { - $ERROR('#24: 4294967295 >>> -9.1 === 511. Actual: ' + (4294967295 >>> -9.1)); -} - -//CHECK#25 -if (4294967295 >>> -8.1 !== 255) { - $ERROR('#25: 4294967295 >>> -8.1 === 255. Actual: ' + (4294967295 >>> -8.1)); -} - -//CHECK#26 -if (4294967295 >>> -7.1 !== 127) { - $ERROR('#26: 4294967295 >>> -7.1 === 127. Actual: ' + (4294967295 >>> -7.1)); -} - -//CHECK#27 -if (4294967295 >>> -6.1 !== 63) { - $ERROR('#27: 4294967295 >>> -6.1 === 63. Actual: ' + (4294967295 >>> -6.1)); -} - -//CHECK#28 -if (4294967295 >>> -5.1 !== 31) { - $ERROR('#28: 4294967295 >>> -5.1 === 31. Actual: ' + (4294967295 >>> -5.1)); -} - -//CHECK#29 -if (4294967295 >>> -4.1 !== 15) { - $ERROR('#29: 4294967295 >>> -4.1 === 15. Actual: ' + (4294967295 >>> -4.1)); -} - -//CHECK#30 -if (4294967295 >>> -3.1 !== 7) { - $ERROR('#30: 4294967295 >>> -3.1 === 7. Actual: ' + (4294967295 >>> -3.1)); -} - -//CHECK#31 -if (4294967295 >>> -2.1 !== 3) { - $ERROR('#31: 4294967295 >>> -2.1 === 3. Actual: ' + (4294967295 >>> -2.1)); -} - -//CHECK#32 -if (4294967295 >>> -1.1 !== 1) { - $ERROR('#32: 4294967295 >>> -1.1 === 1. Actual: ' + (4294967295 >>> -1.1)); -} - -//CHECK#33 -if (4294967295 >>> 32.1 !== 4294967295) { - $ERROR('#33: 4294967295 >>> 32.1 === 4294967295. Actual: ' + (4294967295 >>> 32.1)); -} - -//CHECK#34 -if (4294967295 >>> 33.1 !== 2147483647) { - $ERROR('#34: 4294967295 >>> 33.1 === 2147483647. Actual: ' + (4294967295 >>> 33.1)); -} - -//CHECK#35 -if (4294967295 >>> 34.1 !== 1073741823) { - $ERROR('#35: 4294967295 >>> 34.1 === 1073741823. Actual: ' + (4294967295 >>> 34.1)); -} - -//CHECK#36 -if (4294967295 >>> 35.1 !== 536870911) { - $ERROR('#36: 4294967295 >>> 35.1 === 536870911. Actual: ' + (4294967295 >>> 35.1)); -} - -//CHECK#37 -if (4294967295 >>> 36.1 !== 268435455) { - $ERROR('#37: 4294967295 >>> 36.1 === 268435455. Actual: ' + (4294967295 >>> 36.1)); -} - -//CHECK#38 -if (4294967295 >>> 37.1 !== 134217727) { - $ERROR('#38: 4294967295 >>> 37.1 === 134217727. Actual: ' + (4294967295 >>> 37.1)); -} - -//CHECK#39 -if (4294967295 >>> 38.1 !== 67108863) { - $ERROR('#39: 4294967295 >>> 38.1 === 67108863. Actual: ' + (4294967295 >>> 38.1)); -} - -//CHECK#40 -if (4294967295 >>> 39.1 !== 33554431) { - $ERROR('#40: 4294967295 >>> 39.1 === 33554431. Actual: ' + (4294967295 >>> 39.1)); -} - -//CHECK#41 -if (4294967295 >>> 40.1 !== 16777215) { - $ERROR('#41: 4294967295 >>> 40.1 === 16777215. Actual: ' + (4294967295 >>> 40.1)); -} - -//CHECK#42 -if (4294967295 >>> 41.1 !== 8388607) { - $ERROR('#42: 4294967295 >>> 41.1 === 8388607. Actual: ' + (4294967295 >>> 41.1)); -} - -//CHECK#43 -if (4294967295 >>> 42.1 !== 4194303) { - $ERROR('#43: 4294967295 >>> 42.1 === 4194303. Actual: ' + (4294967295 >>> 42.1)); -} - -//CHECK#44 -if (4294967295 >>> 43.1 !== 2097151) { - $ERROR('#44: 4294967295 >>> 43.1 === 2097151. Actual: ' + (4294967295 >>> 43.1)); -} - -//CHECK#45 -if (4294967295 >>> 44.1 !== 1048575) { - $ERROR('#45: 4294967295 >>> 44.1 === 1048575. Actual: ' + (4294967295 >>> 44.1)); -} - -//CHECK#46 -if (4294967295 >>> 45.1 !== 524287) { - $ERROR('#46: 4294967295 >>> 45.1 === 524287. Actual: ' + (4294967295 >>> 45.1)); -} - -//CHECK#47 -if (4294967295 >>> 46.1 !== 262143) { - $ERROR('#47: 4294967295 >>> 46.1 === 262143. Actual: ' + (4294967295 >>> 46.1)); -} - -//CHECK#48 -if (4294967295 >>> 47.1 !== 131071) { - $ERROR('#48: 4294967295 >>> 47.1 === 131071. Actual: ' + (4294967295 >>> 47.1)); -} - -//CHECK#49 -if (4294967295 >>> 48.1 !== 65535) { - $ERROR('#49: 4294967295 >>> 48.1 === 65535. Actual: ' + (4294967295 >>> 48.1)); -} - -//CHECK#50 -if (4294967295 >>> 49.1 !== 32767) { - $ERROR('#50: 4294967295 >>> 49.1 === 32767. Actual: ' + (4294967295 >>> 49.1)); -} - -//CHECK#51 -if (4294967295 >>> 50.1 !== 16383) { - $ERROR('#51: 4294967295 >>> 50.1 === 16383. Actual: ' + (4294967295 >>> 50.1)); -} - -//CHECK#52 -if (4294967295 >>> 51.1 !== 8191) { - $ERROR('#52: 4294967295 >>> 51.1 === 8191. Actual: ' + (4294967295 >>> 51.1)); -} - -//CHECK#53 -if (4294967295 >>> 52.1 !== 4095) { - $ERROR('#53: 4294967295 >>> 52.1 === 4095. Actual: ' + (4294967295 >>> 52.1)); -} - -//CHECK#54 -if (4294967295 >>> 53.1 !== 2047) { - $ERROR('#54: 4294967295 >>> 53.1 === 2047. Actual: ' + (4294967295 >>> 53.1)); -} - -//CHECK#55 -if (4294967295 >>> 54.1 !== 1023) { - $ERROR('#55: 4294967295 >>> 54.1 === 1023. Actual: ' + (4294967295 >>> 54.1)); -} - -//CHECK#56 -if (4294967295 >>> 55.1 !== 511) { - $ERROR('#56: 4294967295 >>> 55.1 === 511. Actual: ' + (4294967295 >>> 55.1)); -} - -//CHECK#57 -if (4294967295 >>> 56.1 !== 255) { - $ERROR('#57: 4294967295 >>> 56.1 === 255. Actual: ' + (4294967295 >>> 56.1)); -} - -//CHECK#58 -if (4294967295 >>> 57.1 !== 127) { - $ERROR('#58: 4294967295 >>> 57.1 === 127. Actual: ' + (4294967295 >>> 57.1)); -} - -//CHECK#59 -if (4294967295 >>> 58.1 !== 63) { - $ERROR('#59: 4294967295 >>> 58.1 === 63. Actual: ' + (4294967295 >>> 58.1)); -} - -//CHECK#60 -if (4294967295 >>> 59.1 !== 31) { - $ERROR('#60: 4294967295 >>> 59.1 === 31. Actual: ' + (4294967295 >>> 59.1)); -} - -//CHECK#61 -if (4294967295 >>> 60.1 !== 15) { - $ERROR('#61: 4294967295 >>> 60.1 === 15. Actual: ' + (4294967295 >>> 60.1)); -} - -//CHECK#62 -if (4294967295 >>> 61.1 !== 7) { - $ERROR('#62: 4294967295 >>> 61.1 === 7. Actual: ' + (4294967295 >>> 61.1)); -} - -//CHECK#63 -if (4294967295 >>> 62.1 !== 3) { - $ERROR('#63: 4294967295 >>> 62.1 === 3. Actual: ' + (4294967295 >>> 62.1)); -} - -//CHECK#64 -if (4294967295 >>> 63.1 !== 1) { - $ERROR('#64: 4294967295 >>> 63.1 === 1. Actual: ' + (4294967295 >>> 63.1)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.js deleted file mode 100644 index 9d9d2dff77..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A1; -* @section: 11.8.1, 7.2, 7.3; -* @assertion: White Space and Line Terminator between RelationalExpression and "<" or between "<" and ShiftExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.js", - -assertion: "White Space and Line Terminator between RelationalExpression and \"<\" or between \"<\" and ShiftExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("0\u0009<\u00091") !== true) { - $ERROR('#1: (0\\u0009<\\u00091) === true'); -} - -//CHECK#2 -if (eval("0\u000B<\u000B1") !== true) { - $ERROR('#2: (0\\u000B<\\u000B1) === true'); -} - -//CHECK#3 -if (eval("0\u000C<\u000C1") !== true) { - $ERROR('#3: (0\\u000C<\\u000C1) === true'); -} - -//CHECK#4 -if (eval("0\u0020<\u00201") !== true) { - $ERROR('#4: (0\\u0020<\\u00201) === true'); -} - -//CHECK#5 -if (eval("0\u00A0<\u00A01") !== true) { - $ERROR('#5: (0\\u00A0<\\u00A01) === true'); -} - -//CHECK#6 -if (eval("0\u000A<\u000A1") !== true) { - $ERROR('#6: (0\\u000A<\\u000A1) === true'); -} - -//CHECK#7 -if (eval("0\u000D<\u000D1") !== true) { - $ERROR('#7: (0\\u000D<\\u000D1) === true'); -} - -//CHECK#8 -if (eval("0\u2028<\u20281") !== true) { - $ERROR('#8: (0\\u2028<\\u20281) === true'); -} - -//CHECK#9 -if (eval("0\u2029<\u20291") !== true) { - $ERROR('#9: (0\\u2029<\\u20291) === true'); -} - -//CHECK#10 -if (eval("0\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029<\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) { - $ERROR('#10: (0\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029<\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.js deleted file mode 100644 index 67578bc5c1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A2.1_T1; -* @section: 11.8.1, 11.8.5; -* @assertion: Operator x < y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A2.1_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.js", - -assertion: "Operator x < y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (1 < 2 !== true) { - $ERROR('#1: 1 < 2 === true'); -} - -//CHECK#2 -var x = 1; -if (x < 2 !== true) { - $ERROR('#2: var x = 1; x < 2 === true'); -} - -//CHECK#3 -var y = 2; -if (1 < y !== true) { - $ERROR('#3: var y = 2; 1 < y === true'); -} - -//CHECK#4 -var x = 1; -var y = 2; -if (x < y !== true) { - $ERROR('#4: var x = 1; var y = 2; x < y === true'); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 2; -if (objectx.prop < objecty.prop !== true) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 2; objectx.prop < objecty.prop === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.js deleted file mode 100644 index bbb1448958..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A2.1_T2; - * @section: 11.8.1, 11.8.5; - * @assertion: Operator x < y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A2.1_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.js", - -assertion: "Operator x < y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x < 1; - $ERROR('#1.1: x < 1 throw ReferenceError. Actual: ' + (x < 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x < 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.js deleted file mode 100644 index 5d007e7073..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A2.1_T3; - * @section: 11.8.1, 11.8.5; - * @assertion: Operator x < y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A2.1_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.js", - -assertion: "Operator x < y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 < y; - $ERROR('#1.1: 1 < y throw ReferenceError. Actual: ' + (1 < y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 < y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.js deleted file mode 100644 index 1972973658..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A2.2_T1; - * @section: 11.8.1, 8.6.2.6; - * @assertion: Operator x < y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A2.2_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.js", - -assertion: "Operator x < y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 0}} < 1 !== true) { - $ERROR('#1: {valueOf: function() {return 1}} < 1 === true. Actual: ' + ({valueOf: function() {return 1}} < 1)); -} - -//CHECK#2 -if ({valueOf: function() {return 0}, toString: function() {return 2}} < 1 !== true) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 0}} < 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} < 1)); -} - -//CHECK#3 -if ({valueOf: function() {return 0}, toString: function() {return {}}} < 1 !== true) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} < 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} < 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 0}, toString: function() {throw "error"}} < 1 !== true) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} < 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} < 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 0}, toString: function() {throw "error"}} < 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 0}, toString: function() {throw "error"}} < 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 < {toString: function() {return 2}} !== true) { - $ERROR('#5: 1 < {toString: function() {return 2}} === true. Actual: ' + (1 < {toString: function() {return 2}})); -} - -//CHECK#6 -if (1 < {valueOf: function() {return {}}, toString: function() {return 2}} !== true) { - $ERROR('#6: 1 < {valueOf: function() {return {}}, toString: function() {return 2}} === true. Actual: ' + (1 < {valueOf: function() {return {}}, toString: function() {return 2}})); -} - -//CHECK#7 -try { - 1 < {valueOf: function() {throw "error"}, toString: function() {return 2}}; - $ERROR('#7.1: 1 < {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (1 < {valueOf: function() {throw "error"}, toString: function() {return 2}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 < {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 < {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 < {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 < {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 < {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.js deleted file mode 100644 index 8f48bce5cf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A2.3_T1; - * @section: 11.8.1; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A2.3_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x < y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x < y throw "x". Actual: ' + (x < y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x < y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.js deleted file mode 100644 index 2ab585feb5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A2.4_T1; - * @section: 11.8.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A2.4_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -if ((x = 0) < x !== false) { - $ERROR('#1: var x = 1; (x = 0) < x === false'); -} - -//CHECK#2 -var x = 0; -if (x < (x = 1) !== true) { - $ERROR('#2: var x = 0; x < (x = 1) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.js deleted file mode 100644 index a47da2dfa1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A2.4_T2; - * @section: 11.8.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A2.4_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() < y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() < y() throw "x". Actual: ' + (x() < y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() < y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.js deleted file mode 100644 index 45b9721a87..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A2.4_T3; - * @section: 11.8.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A2.4_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x < (x = 1); - $ERROR('#1.1: x < (x = 1) throw ReferenceError. Actual: ' + (x < (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x < (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) < y !== false) { - $ERROR('#2: (y = 1) < y === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.js deleted file mode 100644 index 6ae5bf487c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T1.1; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T1.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true < true !== false) { - $ERROR('#1: true < true === false'); -} - -//CHECK#2 -if (new Boolean(true) < true !== false) { - $ERROR('#2: new Boolean(true) < true === false'); -} - -//CHECK#3 -if (true < new Boolean(true) !== false) { - $ERROR('#3: true < new Boolean(true) === false'); -} - -//CHECK#4 -if (new Boolean(true) < new Boolean(true) !== false) { - $ERROR('#4: new Boolean(true) < new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.js deleted file mode 100644 index b4c61f6ced..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T1.2; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T1.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 < 1 !== false) { - $ERROR('#1: 1 < 1 === false'); -} - -//CHECK#2 -if (new Number(1) < 1 !== false) { - $ERROR('#2: new Number(1) < 1 === false'); -} - -//CHECK#3 -if (1 < new Number(1) !== false) { - $ERROR('#3: 1 < new Number(1) === false'); -} - -//CHECK#4 -if (new Number(1) < new Number(1) !== false) { - $ERROR('#4: new Number(1) < new Number(1) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.js deleted file mode 100644 index 7e66554c08..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T1.3; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T1.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (null < undefined !== false) { - $ERROR('#1: null < undefined === false'); -} - -//CHECK#2 -if (undefined < null !== false) { - $ERROR('#2: undefined < null === false'); -} - -//CHECK#3 -if (undefined < undefined !== false) { - $ERROR('#3: undefined < undefined === false'); -} - -//CHECK#4 -if (null < null !== false) { - $ERROR('#4: null < null === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.js deleted file mode 100644 index e21501335c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T2.1; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types are Number (primitive or object) or Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T2.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types are Number (primitive or object) or Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true < 1 !== false) { - $ERROR('#1: true < 1 === false'); -} - -//CHECK#2 -if (1 < true !== false) { - $ERROR('#2: 1 < true === false'); -} - -//CHECK#3 -if (new Boolean(true) < 1 !== false) { - $ERROR('#3: new Boolean(true) < 1 === false'); -} - -//CHECK#4 -if (1 < new Boolean(true) !== false) { - $ERROR('#4: 1 < new Boolean(true) === false'); -} - -//CHECK#5 -if (true < new Number(1) !== false) { - $ERROR('#5: true < new Number(1) === false'); -} - -//CHECK#6 -if (new Number(1) < true !== false) { - $ERROR('#6: new Number(1) < true === false'); -} - -//CHECK#7 -if (new Boolean(true) < new Number(1) !== false) { - $ERROR('#7: new Boolean(true) < new Number(1) === false'); -} - -//CHECK#8 -if (new Number(1) < new Boolean(true) !== false) { - $ERROR('#8: new Number(1) < new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.js deleted file mode 100644 index 02e7dbd1af..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T2.2; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T2.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" < 1 !== false) { - $ERROR('#1: "1" < 1 === false'); -} - -//CHECK#2 -if (1 < "1" !== false) { - $ERROR('#2: 1 < "1" === false'); -} - -//CHECK#3 -if (new String("1") < 1 !== false) { - $ERROR('#3: new String("1") < 1 === false'); -} - -//CHECK#4 -if (1 < new String("1") !== false) { - $ERROR('#4: 1 < new String("1") === false'); -} - -//CHECK#5 -if ("1" < new Number(1) !== false) { - $ERROR('#5: "1" < new Number(1) === false'); -} - -//CHECK#6 -if (new Number(1) < "1" !== false) { - $ERROR('#6: new Number(1) < "1" === false'); -} - -//CHECK#7 -if (new String("1") < new Number(1) !== false) { - $ERROR('#7: new String("1") < new Number(1) === false'); -} - -//CHECK#8 -if (new Number(1) < new String("1") !== false) { - $ERROR('#8: new Number(1) < new String("1") === false'); -} - -//CHECK#9 -if ("x" < 1 !== false) { - $ERROR('#9: "x" < 1 === false'); -} - -//CHECK#10 -if (1 < "x" !== false) { - $ERROR('#10: 1 < "x" === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.js deleted file mode 100644 index d38f4b9f6f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T2.3; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T2.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 < null !== false) { - $ERROR('#1: 1 < null === false'); -} - -//CHECK#2 -if (null < 1 !== true) { - $ERROR('#2: null < 1 === true'); -} - -//CHECK#3 -if (new Number(1) < null !== false) { - $ERROR('#3: new Number(1) < null === false'); -} - -//CHECK#4 -if (null < new Number(1) !== true) { - $ERROR('#4: null < new Number(1) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.js deleted file mode 100644 index 54c033d7c6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T2.4; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T2.4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (1 < undefined !== false) { - $ERROR('#1: 1 < undefined === false'); -} - -//CHECK#2 -if (undefined < 1 !== false) { - $ERROR('#2: undefined < 1 === false'); -} - -//CHECK#3 -if (new Number(1) < undefined !== false) { - $ERROR('#3: new Number(1) < undefined === false'); -} - -//CHECK#4 -if (undefined < new Number(1) !== false) { - $ERROR('#4: undefined < new Number(1) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.js deleted file mode 100644 index f780c8434f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T2.5; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T2.5", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true < "1" !== false) { - $ERROR('#1: true < "1" === false'); -} - -//CHECK#2 -if ("1" < true !== false) { - $ERROR('#2: "1" < true === false'); -} - -//CHECK#3 -if (new Boolean(true) < "1" !== false) { - $ERROR('#3: new Boolean(true) < "1" === false'); -} - -//CHECK#4 -if ("1" < new Boolean(true) !== false) { - $ERROR('#4: "1" < new Boolean(true) === false'); -} - -//CHECK#5 -if (true < new String("1") !== false) { - $ERROR('#5: true < new String("1") === false'); -} - -//CHECK#6 -if (new String("1") < true !== false) { - $ERROR('#6: new String("1") < true === false'); -} - -//CHECK#7 -if (new Boolean(true) < new String("1") !== false) { - $ERROR('#7: new Boolean(true) < new String("1") === false'); -} - -//CHECK#8 -if (new String("1") < new Boolean(true) !== false) { - $ERROR('#8: new String("1") < new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.js deleted file mode 100644 index 2985579df9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T2.6; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T2.6", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ("1" < undefined !== false) { - $ERROR('#1: "1" < undefined === false'); -} - -//CHECK#2 -if (undefined < "1" !== false) { - $ERROR('#2: undefined < "1" === false'); -} - -//CHECK#3 -if (new String("1") < undefined !== false) { - $ERROR('#3: new String("1") < undefined === false'); -} - -//CHECK#4 -if (undefined < new String("1") !== false) { - $ERROR('#4: undefined < new String("1") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.js deleted file mode 100644 index 127be7882b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T2.7; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T2.7", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" < null !== false) { - $ERROR('#1: "1" < null === false'); -} - -//CHECK#2 -if (null < "1" !== true) { - $ERROR('#2: null < "1" === true'); -} - -//CHECK#3 -if (new String("1") < null !== false) { - $ERROR('#3: new String("1") < null === false'); -} - -//CHECK#4 -if (null < new String("1") !== true) { - $ERROR('#4: null < new String("1") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.js deleted file mode 100644 index 3d6732e7d0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T2.8; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T2.8", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (true < undefined !== false) { - $ERROR('#1: true < undefined === false'); -} - -//CHECK#2 -if (undefined < true !== false) { - $ERROR('#2: undefined < true === false'); -} - -//CHECK#3 -if (new Boolean(true) < undefined !== false) { - $ERROR('#3: new Boolean(true) < undefined === false'); -} - -//CHECK#4 -if (undefined < new Boolean(true) !== false) { - $ERROR('#4: undefined < new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.js deleted file mode 100644 index 988a8aa893..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.1_T2.9; - * @section: 11.8.1; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.1_T2.9", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true < null !== false) { - $ERROR('#1: true < null === false'); -} - -//CHECK#2 -if (null < true !== true) { - $ERROR('#2: null < true === true'); -} - -//CHECK#3 -if (new Boolean(true) < null !== false) { - $ERROR('#3: new Boolean(true) < null === false'); -} - -//CHECK#4 -if (null < new Boolean(true) !== true) { - $ERROR('#4: null < new Boolean(true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js deleted file mode 100644 index e0ea7c04ed..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.2_T1.1; - * @section: 11.8.1; - * @assertion: Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.2_T1.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js", - -assertion: "Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" < "1" !== false) { - $ERROR('#1: "1" < "1" === false'); -} - -//CHECK#2 -if (new String("1") < "1" !== false) { - $ERROR('#2: new String("1") < "1" === false'); -} - -//CHECK#3 -if ("1" < new String("1") !== false) { - $ERROR('#3: "1" < new String("1") === false'); -} - -//CHECK#4 -if (new String("1") < new String("1") !== false) { - $ERROR('#4: new String("1") < new String("1") === false'); -} - -//CHECK#5 -if ("x" < "1" !== false) { - $ERROR('#5: "x" < "1" === false'); -} - -//CHECK#6 -if ("1" < "x" !== true) { - $ERROR('#6: "1" < "x" === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.js deleted file mode 100644 index 87bb24cef8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.1_A3.2_T1.2; - * @section: 11.8.1; - * @assertion: Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A3.2_T1.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.js", - -assertion: "Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} < function(){return 1}) !== ({}.toString() < function(){return 1}.toString())) { - $ERROR('#1: ({} < function(){return 1}) === ({}.toString() < function(){return 1}.toString())'); -} - -//CHECK#2 -if ((function(){return 1} < {}) !== (function(){return 1}.toString() < {}.toString())) { - $ERROR('#2: (function(){return 1} < {}) === (function(){return 1}.toString() < {}.toString())'); -} - -//CHECK#3 -if ((function(){return 1} < function(){return 1}) !== (function(){return 1}.toString() < function(){return 1}.toString())) { - $ERROR('#3: (function(){return 1} < function(){return 1}) === (function(){return 1}.toString() < function(){return 1}.toString())'); -} - -//CHECK#4 -if (({} < {}) !== ({}.toString() < {}.toString())) { - $ERROR('#4: ({} < {}) === ({}.toString() < {}.toString())'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.js deleted file mode 100644 index 0708eac680..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.1; -* @section: 11.8.1, 11.8.5; -* @assertion: If x is NaN, return false (if result in 11.8.5 is undefined, return false); -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.js", - -assertion: "If x is NaN, return false (if result in 11.8.5 is undefined, return false)", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.NaN < 0) !== false) { - $ERROR('#1: (NaN < 0) === false'); -} - -//CHECK#2 -if ((Number.NaN < 1.1) !== false) { - $ERROR('#2: (NaN < 1.1) === false'); -} - -//CHECK#3 -if ((Number.NaN < -1.1) !== false) { - $ERROR('#3: (NaN < -1.1) === false'); -} - -//CHECK#4 -if ((Number.NaN < Number.NaN) !== false) { - $ERROR('#4: (NaN < NaN) === false'); -} - -//CHECK#5 -if ((Number.NaN < Number.POSITIVE_INFINITY) !== false) { - $ERROR('#5: (NaN < +Infinity) === false'); -} - -//CHECK#6 -if ((Number.NaN < Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#6: (NaN < -Infinity) === false'); -} - -//CHECK#7 -if ((Number.NaN < Number.MAX_VALUE) !== false) { - $ERROR('#7: (NaN < Number.MAX_VALUE) === false'); -} - -//CHECK#8 -if ((Number.NaN < Number.MIN_VALUE) !== false) { - $ERROR('#8: (NaN < Number.MIN_VALUE) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.js deleted file mode 100644 index fc6e1b2c75..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.10; -* @section: 11.8.1, 11.8.5; -* @assertion: If y is a prefix of x, return false; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.10", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.js", - -assertion: "If y is a prefix of x, return false", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x" < "x") !== false) { - $ERROR('#1: ("x" < "x") === false'); -} - -//CHECK#2 -if (("x" < "") !== false) { - $ERROR('#2: ("x" < "") === false'); -} - -//CHECK#3 -if (("abcd" < "ab") !== false) { - $ERROR('#3: ("abcd" < ab") === false'); -} - -//CHECK#4 -if (("abc\u0064" < "abcd") !== false) { - $ERROR('#4: ("abc\\u0064" < abcd") === false'); -} - -//CHECK#5 -if (("x" + "y" < "x") !== false) { - $ERROR('#5: ("x" + "y" < "x") === false'); -} - -//CHECK#6 -var x = "x"; -if ((x + "y" < x) !== false) { - $ERROR('#6: var x = "x"; (x + "y" < x) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.js deleted file mode 100644 index 4aaf0ad9b1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.11; -* @section: 11.8.1, 11.8.5; -* @assertion: If x is a prefix of y and x !== y, return true; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.11", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.js", - -assertion: "If x is a prefix of y and x !== y, return true", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x" < "x ") !== true) { - $ERROR('#1: ("x" < "x ") === true'); -} - -//CHECK#2 -if (("" < "x") !== true) { - $ERROR('#2: ("" < "x") === true'); -} - -//CHECK#3 -if (("ab" < "abcd") !== true) { - $ERROR('#3: ("ab" < abcd") === true'); -} - -//CHECK#4 -if (("abcd" < "abc\u0064") !== false) { - $ERROR('#4: ("abcd" < abc\\u0064") === false'); -} - -//CHECK#5 -if (("x" < "x" + "y") !== true) { - $ERROR('#5: ("x" < "x" + "y") === true'); -} - -//CHECK#6 -var x = "x"; -if ((x < x + "y") !== true) { - $ERROR('#6: var x = "x"; (x < x + "y") === true'); -} - -//CHECK#7 -if (("a\u0000" < "a\u0000a") !== true) { - $ERROR('#7: ("a\\u0000" < "a\\u0000a") === true'); -} - -//CHECK#8 -if (("x" < " x") !== false) { - $ERROR('#8: ("x" < " x") === false'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.js deleted file mode 100644 index 1c65f80409..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.12_T1; -* @section: 11.8.1, 11.8.5; -* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.12_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.js", - -assertion: "If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("xx" < "xy") !== true) { - $ERROR('#1: ("xx" < "xy") === true'); -} - -//CHECK#2 -if (("xy" < "xx") !== false) { - $ERROR('#2: ("xy" < "xx") === false'); -} - -//CHECK#3 -if (("x" < "y") !== true) { - $ERROR('#3: ("x" < y") === true'); -} - -//CHECK#4 -if (("aab" < "aba") !== true) { - $ERROR('#4: ("aab" < aba") === true'); -} - -//CHECK#5 -if (("\u0061\u0061\u0061\u0062" < "\u0061\u0061\u0061\u0061") !== false) { - $ERROR('#5: ("\\u0061\\u0061\\u0061\\u0062" < \\u0061\\u0061\\u0061\\u0061") === false'); -} - -//CHECK#6 -if (("a\u0000a" < "a\u0000b") !== true) { - $ERROR('#6: ("a\\u0000a" < "a\\u0000b") === true'); -} - -//CHECK#7 -if (("aB" < "aa") !== true) { - $ERROR('#7: ("aB" < aa") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.js deleted file mode 100644 index 10042b08cd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.12_T2; -* @section: 11.8.1, 11.8.5; -* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.12_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.js", - -assertion: "If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("0" < "x") !== true) { - $ERROR('#1: ("0" < "x") !== true'); -} - -//CHECK#2 -if (("-" < "0") !== true) { - $ERROR('#2: ("-" < "0") !== true'); -} - -//CHECK#3 -if (("." < "0") !== true) { - $ERROR('#3: ("." < "0") !== true'); -} - -//CHECK#4 -if (("+" < "-") !== true) { - $ERROR('#4: ("+" < "-") !== true'); -} - -//CHECK#5 -if (("-0" < "-1") !== true) { - $ERROR('#5: ("-0" < "-1") !== true'); -} - -//CHECK#6 -if (("+1" < "-1") !== true) { - $ERROR('#6: ("+1" < "-1") !== true'); -} - -//CHECK#7 -if (("1" < "1e-10") !== true) { -$ERROR('#7: ("1" < "1e-10") !== true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.js deleted file mode 100644 index 8748222384..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.2; -* @section: 11.8.1, 11.8.5; -* @assertion: If y is NaN, return false (if result in 11.8.5 is undefined, return false); -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.js", - -assertion: "If y is NaN, return false (if result in 11.8.5 is undefined, return false)", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 < Number.NaN) !== false) { - $ERROR('#1: (0 < NaN) === false'); -} - -//CHECK#2 -if ((1.1 < Number.NaN) !== false) { - $ERROR('#2: (1.1 < NaN) === false'); -} - -//CHECK#3 -if ((-1.1 < Number.NaN) !== false) { - $ERROR('#3: (-1.1 < NaN) === false'); -} - -//CHECK#4 -if ((Number.NaN < Number.NaN) !== false) { - $ERROR('#4: (NaN < NaN) === false'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY < Number.NaN) !== false) { - $ERROR('#5: (+Infinity < NaN) === false'); -} - -//CHECK#6 -if ((Number.NEGATIVE_INFINITY < Number.NaN) !== false) { - $ERROR('#6: (-Infinity < NaN) === false'); -} - -//CHECK#7 -if ((Number.MAX_VALUE < Number.NaN) !== false) { - $ERROR('#7: (Number.MAX_VALUE < NaN) === false'); -} - -//CHECK#8 -if ((Number.MIN_VALUE < Number.NaN) !== false) { - $ERROR('#8: (Number.MIN_VALUE < NaN) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.js deleted file mode 100644 index d8783b170f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.3; -* @section: 11.8.1, 11.8.5; -* @assertion: If x and y are the same number value, return false; -* @description: x and y are number primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.js", - -assertion: "If x and y are the same number value, return false", - -description: "x and y are number primitives", - -test: function testcase() { - //CHECK#1 -if ((1 < 1) !== false) { - $ERROR('#1: (1 < 1) === false'); -} - -//CHECK#2 -if ((1.1 < 1.1) !== false) { - $ERROR('#2: (1.1 < 1.1) === false'); -} - -//CHECK#3 -if ((-1.1 < -1.1) !== false) { - $ERROR('#3: (-1.1 < -1.1) === false'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY < Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#4: (-Infinity < -Infinity) === false'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY < Number.POSITIVE_INFINITY) !== false) { - $ERROR('#5: (+Infinity < +Infinity) === false'); -} - -//CHECK#6 -if ((Number.MAX_VALUE < Number.MAX_VALUE) !== false) { - $ERROR('#6: (Number.MAX_VALUE < Number.MAX_VALUE) === false'); -} - -//CHECK#7 -if ((Number.MIN_VALUE < Number.MIN_VALUE) !== false) { - $ERROR('#7: (Number.MIN_VALUE < Number.MIN_VALUE) === false'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.js deleted file mode 100644 index c10aee931f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.4; -* @section: 11.8.1, 11.8.5; -* @assertion: If x and y are +0 and -0, return false; -* @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.js", - -assertion: "If x and y are +0 and -0, return false", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if ((0 < 0) !== false) { - $ERROR('#1: (0 < 0) === false'); -} - -//CHECK#2 -if ((-0 < -0) !== false) { - $ERROR('#2: (-0 < -0) === false'); -} - -//CHECK#3 -if ((+0 < -0) !== false) { - $ERROR('#3: (+0 < -0) === false'); -} - -//CHECK#4 -if ((-0 < +0) !== false) { - $ERROR('#4: (-0 < +0) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.js deleted file mode 100644 index 9a11158dbe..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.5; -* @section: 11.8.1, 11.8.5; -* @assertion: If x is +Infinity, return false; -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.5", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.js", - -assertion: "If x is +Infinity, return false", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.POSITIVE_INFINITY < 0) !== false) { - $ERROR('#1: (+Infinity < 0) === false'); -} - -//CHECK#2 -if ((Number.POSITIVE_INFINITY < 1.1) !== false) { - $ERROR('#2: (+Infinity < 1.1) === false'); -} - -//CHECK#3 -if ((Number.POSITIVE_INFINITY < -1.1) !== false) { - $ERROR('#3: (+Infinity < -1.1) === false'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY < Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#4: (+Infinity < -Infinity) === false'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY < Number.MAX_VALUE) !== false) { - $ERROR('#5: (+Infinity < Number.MAX_VALUE) === false'); -} - -//CHECK#6 -if ((Number.POSITIVE_INFINITY < Number.MIN_VALUE) !== false) { - $ERROR('#6: (+Infinity < Number.MIN_VALUE) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.js deleted file mode 100644 index 4afa4c019d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.6; -* @section: 11.8.1, 11.8.5; -* @assertion: If y is +Infinity and x !== y, return true; -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.6", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.js", - -assertion: "If y is +Infinity and x !== y, return true", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 < Number.POSITIVE_INFINITY) !== true) { - $ERROR('#1: (0 < +Infinity) === true'); -} - -//CHECK#2 -if ((1.1 < Number.POSITIVE_INFINITY) !== true) { - $ERROR('#2: (1.1 < +Infinity) === true'); -} - -//CHECK#3 -if ((-1.1 < Number.POSITIVE_INFINITY) !== true) { - $ERROR('#3: (-1.1 < +Infinity) === true'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY < Number.POSITIVE_INFINITY) !== true) { - $ERROR('#4: (-Infinity < +Infinity) === true'); -} - -//CHECK#5 -if ((Number.MAX_VALUE < Number.POSITIVE_INFINITY) !== true) { - $ERROR('#5: (Number.MAX_VALUE < +Infinity) === true'); -} - -//CHECK#6 -if ((Number.MIN_VALUE < Number.POSITIVE_INFINITY) !== true) { - $ERROR('#6: (Number.MIN_VALUE < +Infinity) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.js deleted file mode 100644 index 1579798377..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.7; -* @section: 11.8.1, 11.8.5; -* @assertion: If x is -Infinity and x !== y, return true; -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.7", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.js", - -assertion: "If x is -Infinity and x !== y, return true", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.NEGATIVE_INFINITY < 0) !== true) { - $ERROR('#1: (-Infinity < 0) === true'); -} - -//CHECK#2 -if ((Number.NEGATIVE_INFINITY < 1.1) !== true) { - $ERROR('#2: (-Infinity < 1.1) === true'); -} - -//CHECK#3 -if ((Number.NEGATIVE_INFINITY < -1.1) !== true) { - $ERROR('#3: (-Infinity < -1.1) === true'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY < Number.POSITIVE_INFINITY) !== true) { - $ERROR('#4: (-Infinity < +Infinity) === true'); -} - -//CHECK#5 -if ((Number.NEGATIVE_INFINITY < Number.MAX_VALUE) !== true) { - $ERROR('#5: (-Infinity < Number.MAX_VALUE) === true'); -} - -//CHECK#6 -if ((Number.NEGATIVE_INFINITY < Number.MIN_VALUE) !== true) { - $ERROR('#6: (-Infinity < Number.MIN_VALUE) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.js deleted file mode 100644 index 153e8c2339..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.8; -* @section: 11.8.1, 11.8.5; -* @assertion: If y is -Infinity, return false; -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.8", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.js", - -assertion: "If y is -Infinity, return false", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 < Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#1: (0 < -Infinity) === false'); -} - -//CHECK#2 -if ((1.1 < Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#2: (1.1 < -Infinity) === false'); -} - -//CHECK#3 -if ((-1.1 < Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#3: (-1.1 < -Infinity) === false'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY < Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#4: (+Infinity < -Infinity) === false'); -} - -//CHECK#5 -if ((Number.MAX_VALUE < Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#5: (Number.MAX_VALUE < -Infinity) === false'); -} - -//CHECK#6 -if ((Number.MIN_VALUE < Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#6: (Number.MIN_VALUE < -Infinity) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.js deleted file mode 100644 index abe1cfdeb0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.1_A4.9; -* @section: 11.8.1, 11.8.5; -* @assertion: If x is less than y and these values are both finite non-zero, return true; otherwise, return false; -* @description: x and y are number primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.1_A4.9", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.js", - -assertion: "If x is less than y and these values are both finite non-zero, return true; otherwise, return false", - -description: "x and y are number primitives", - -test: function testcase() { - //CHECK#1 -if ((1.1 < 1) !== false) { - $ERROR('#1: (1.1 < 1) === false'); -} - -//CHECK#2 -if ((1 < 1.1) !== true) { - $ERROR('#2: (1 < 1.1) === true'); -} - -//CHECK#3 -if ((-1.1 < -1) !== true) { - $ERROR('#3: (-1.1 < -1) === true'); -} - -//CHECK#4 -if ((-1 < -1.1) !== false) { - $ERROR('#4: (-1 < -1.1) === false'); -} - -//CHECK#5 -if ((0 < 0.1) !== true) { - $ERROR('#5: (0 < 0.1) === true'); -} - -//CHECK#6 -if ((-0.1 < 0) !== true) { - $ERROR('#6: (-0.1 < 0) === true'); -} - -//CHECK#7 -if ((Number.MAX_VALUE/2 < Number.MAX_VALUE) !== true) { - $ERROR('#7: (Number.MAX_VALUE/2 < Number.MAX_VALUE) === true'); -} - -//CHECK#8 -if ((Number.MIN_VALUE < Number.MIN_VALUE*2) !== true) { - $ERROR('#8: (Number.MIN_VALUE < Number.MIN_VALUE*2) === true'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.js deleted file mode 100644 index 58441e7b1e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A1; -* @section: 11.8.2, 7.2, 7.3; -* @assertion: White Space and Line Terminator between RelationalExpression and ">" or ">" and ShiftExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.js", - -assertion: "White Space and Line Terminator between RelationalExpression and \">\" or \">\" and ShiftExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("0\u0009>\u00091") !== false) { - $ERROR('#1: 0\\u0009>\\u00091) === false'); -} - -//CHECK#2 -if (eval("0\u000B>\u000B1") !== false) { - $ERROR('#2: 0\\u000B>\\u000B1) === false'); -} - -//CHECK#3 -if (eval("0\u000C>\u000C1") !== false) { - $ERROR('#3: (0\\u000C>\\u000C1) === false'); -} - -//CHECK#4 -if (eval("0\u0020>\u00201") !== false) { - $ERROR('#4: (0\\u0020>\\u00201) === false'); -} - -//CHECK#5 -if (eval("0\u00A0>\u00A01") !== false) { - $ERROR('#5: (0\\u00A0>\\u00A01) === false'); -} - -//CHECK#6 -if (eval("0\u000A>\u000A1") !== false) { - $ERROR('#6: (0\\u000A>\\u000A1) === false'); -} - -//CHECK#7 -if (eval("0\u000D>\u000D1") !== false) { - $ERROR('#7: (0\\u000D>\\u000D1) === false'); -} - -//CHECK#8 -if (eval("0\u2028>\u20281") !== false) { - $ERROR('#8: (0\\u2028>\\u20281) === false'); -} - -//CHECK#9 -if (eval("0\u2029>\u20291") !== false) { - $ERROR('#9: (0\\u2029>\\u20291) === false'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) { - $ERROR('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.js deleted file mode 100644 index acd28efbce..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A2.1_T1; -* @section: 11.8.2, 11.8.5; -* @assertion: Operator x > y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A2.1_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.js", - -assertion: "Operator x > y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (2 > 1 !== true) { - $ERROR('#1: 2 > 1 === true'); -} - -//CHECK#2 -var x = 2; -if (x > 1 !== true) { - $ERROR('#2: var x = 2; x > 1 === true'); -} - -//CHECK#3 -var y = 1; -if (2 > y !== true) { - $ERROR('#3: var y = 1; 2 > y === true'); -} - -//CHECK#4 -var x = 2; -var y = 1; -if (x > y !== true) { - $ERROR('#4: var x = 2; var y = 1; x > y === true'); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 2; -objecty.prop = 1; -if (objectx.prop > objecty.prop !== true) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 2; objecty.prop = 1; objectx.prop > objecty.prop === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.js deleted file mode 100644 index a21c802970..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A2.1_T2; - * @section: 11.8.2, 11.8.5; - * @assertion: Operator x > y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A2.1_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.js", - -assertion: "Operator x > y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x > 1; - $ERROR('#1.1: x > 1 throw ReferenceError. Actual: ' + (x > 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x > 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.js deleted file mode 100644 index 14fb6464d0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A2.1_T3; - * @section: 11.8.2, 11.8.5; - * @assertion: Operator x > y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A2.1_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.js", - -assertion: "Operator x > y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 > y; - $ERROR('#1.1: 1 > y throw ReferenceError. Actual: ' + (1 > y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 > y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.js deleted file mode 100644 index fadc144ed7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A2.2_T1; - * @section: 11.8.2, 8.6.2.6; - * @assertion: Operator x > y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A2.2_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.js", - -assertion: "Operator x > y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 2}} > 1 !== true) { - $ERROR('#1: {valueOf: function() {return 1}} > 1 === true. Actual: ' + ({valueOf: function() {return 1}} > 1)); -} - -//CHECK#2 -if ({valueOf: function() {return 2}, toString: function() {return 0}} > 1 !== true) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 2}} > 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 2}} > 1)); -} - -//CHECK#3 -if ({valueOf: function() {return 2}, toString: function() {return {}}} > 1 !== true) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} > 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} > 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 2}, toString: function() {throw "error"}} > 1 !== true) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} > 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} > 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 2}, toString: function() {throw "error"}} > 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 2}, toString: function() {throw "error"}} > 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 > {toString: function() {return 0}} !== true) { - $ERROR('#5: 1 > {toString: function() {return 0}} === true. Actual: ' + (1 > {toString: function() {return 0}})); -} - -//CHECK#6 -if (1 > {valueOf: function() {return {}}, toString: function() {return 0}} !== true) { - $ERROR('#6: 1 > {valueOf: function() {return {}}, toString: function() {return 0}} === true. Actual: ' + (1 > {valueOf: function() {return {}}, toString: function() {return 0}})); -} - -//CHECK#7 -try { - 1 > {valueOf: function() {throw "error"}, toString: function() {return 0}}; - $ERROR('#7.1: 1 > {valueOf: function() {throw "error"}, toString: function() {return 0}} throw "error". Actual: ' + (1 > {valueOf: function() {throw "error"}, toString: function() {return 0}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 > {valueOf: function() {throw "error"}, toString: function() {return 0}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 > {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 > {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 > {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 > {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.js deleted file mode 100644 index e7cfefc033..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A2.3_T1; - * @section: 11.8.2; - * @assertion: ToNumber(second expression) is called first, and then ToNumber(first expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A2.3_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.js", - -assertion: "ToNumber(second expression) is called first, and then ToNumber(first expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x > y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x > y throw "y". Actual: ' + (x > y)); -} catch (e) { - if (e === "x") { - $ERROR('#1.2: ToNumber(second expression) is called first, and then ToNumber(first expression)'); - } else { - if (e !== "y") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x > y throw "y". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.js deleted file mode 100644 index d762955bb0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A2.4_T1; - * @section: 11.8.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A2.4_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) > x !== false) { - $ERROR('#1: var x = 0; (x = 1) > x === false'); -} - -//CHECK#2 -var x = 1; -if (x > (x = 0) !== true) { - $ERROR('#2: var x = 1; x > (x = 0) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.js deleted file mode 100644 index 7433c49d8f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A2.4_T2; - * @section: 11.8.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A2.4_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() > y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() > y() throw "x". Actual: ' + (x() > y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() > y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.js deleted file mode 100644 index 35adc38483..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A2.4_T3; - * @section: 11.8.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A2.4_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x > (x = 1); - $ERROR('#1.1: x > (x = 1) throw ReferenceError. Actual: ' + (x > (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x > (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) > y !== false) { - $ERROR('#2: (y = 1) > y === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.js deleted file mode 100644 index fe379a10cd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T1.1; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T1.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true > true !== false) { - $ERROR('#1: true > true === false'); -} - -//CHECK#2 -if (new Boolean(true) > true !== false) { - $ERROR('#2: new Boolean(true) > true === false'); -} - -//CHECK#3 -if (true > new Boolean(true) !== false) { - $ERROR('#3: true > new Boolean(true) === false'); -} - -//CHECK#4 -if (new Boolean(true) > new Boolean(true) !== false) { - $ERROR('#4: new Boolean(true) > new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.js deleted file mode 100644 index 9272b8063d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T1.2; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T1.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 > 1 !== false) { - $ERROR('#1: 1 > 1 === false'); -} - -//CHECK#2 -if (new Number(1) > 1 !== false) { - $ERROR('#2: new Number(1) > 1 === false'); -} - -//CHECK#3 -if (1 > new Number(1) !== false) { - $ERROR('#3: 1 > new Number(1) === false'); -} - -//CHECK#4 -if (new Number(1) > new Number(1) !== false) { - $ERROR('#4: new Number(1) > new Number(1) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.js deleted file mode 100644 index 2e1bcdd5e8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T1.3; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T1.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (null > undefined !== false) { - $ERROR('#1: null > undefined === false'); -} - -//CHECK#2 -if (undefined > null !== false) { - $ERROR('#2: undefined > null === false'); -} - -//CHECK#3 -if (undefined > undefined !== false) { - $ERROR('#3: undefined > undefined === false'); -} - -//CHECK#4 -if (null > null !== false) { - $ERROR('#4: null > null === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.js deleted file mode 100644 index fcc8bbda95..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T2.1; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T2.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true > 1 !== false) { - $ERROR('#1: true > 1 === false'); -} - -//CHECK#2 -if (1 > true !== false) { - $ERROR('#2: 1 > true === false'); -} - -//CHECK#3 -if (new Boolean(true) > 1 !== false) { - $ERROR('#3: new Boolean(true) > 1 === false'); -} - -//CHECK#4 -if (1 > new Boolean(true) !== false) { - $ERROR('#4: 1 > new Boolean(true) === false'); -} - -//CHECK#5 -if (true > new Number(1) !== false) { - $ERROR('#5: true > new Number(1) === false'); -} - -//CHECK#6 -if (new Number(1) > true !== false) { - $ERROR('#6: new Number(1) > true === false'); -} - -//CHECK#7 -if (new Boolean(true) > new Number(1) !== false) { - $ERROR('#7: new Boolean(true) > new Number(1) === false'); -} - -//CHECK#8 -if (new Number(1) > new Boolean(true) !== false) { - $ERROR('#8: new Number(1) > new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.js deleted file mode 100644 index 1dfc67b1d9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T2.2; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T2.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" > 1 !== false) { - $ERROR('#1: "1" > 1 === false'); -} - -//CHECK#2 -if (1 > "1" !== false) { - $ERROR('#2: 1 > "1" === false'); -} - -//CHECK#3 -if (new String("1") > 1 !== false) { - $ERROR('#3: new String("1") > 1 === false'); -} - -//CHECK#4 -if (1 > new String("1") !== false) { - $ERROR('#4: 1 > new String("1") === false'); -} - -//CHECK#5 -if ("1" > new Number(1) !== false) { - $ERROR('#5: "1" > new Number(1) === false'); -} - -//CHECK#6 -if (new Number(1) > "1" !== false) { - $ERROR('#6: new Number(1) > "1" === false'); -} - -//CHECK#7 -if (new String("1") > new Number(1) !== false) { - $ERROR('#7: new String("1") > new Number(1) === false'); -} - -//CHECK#8 -if (new Number(1) > new String("1") !== false) { - $ERROR('#8: new Number(1) > new String("1") === false'); -} - -//CHECK#9 -if ("x" > 1 !== false) { - $ERROR('#9: "x" > 1 === false'); -} - -//CHECK#10 -if (1 > "x" !== false) { - $ERROR('#10: 1 > "x" === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.js deleted file mode 100644 index 953c5c193b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T2.3; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T2.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 > null !== true) { - $ERROR('#1: 1 > null === true'); -} - -//CHECK#2 -if (null > 1 !== false) { - $ERROR('#2: null > 1 === false'); -} - -//CHECK#3 -if (new Number(1) > null !== true) { - $ERROR('#3: new Number(1) > null === true'); -} - -//CHECK#4 -if (null > new Number(1) !== false) { - $ERROR('#4: null > new Number(1) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.js deleted file mode 100644 index 50a4dfc163..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T2.4; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T2.4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (1 > undefined !== false) { - $ERROR('#1: 1 > undefined === false'); -} - -//CHECK#2 -if (undefined > 1 !== false) { - $ERROR('#2: undefined > 1 === false'); -} - -//CHECK#3 -if (new Number(1) > undefined !== false) { - $ERROR('#3: new Number(1) > undefined === false'); -} - -//CHECK#4 -if (undefined > new Number(1) !== false) { - $ERROR('#4: undefined > new Number(1) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.js deleted file mode 100644 index b251002cf4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T2.5; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T2.5", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true > "1" !== false) { - $ERROR('#1: true > "1" === false'); -} - -//CHECK#2 -if ("1" > true !== false) { - $ERROR('#2: "1" > true === false'); -} - -//CHECK#3 -if (new Boolean(true) > "1" !== false) { - $ERROR('#3: new Boolean(true) > "1" === false'); -} - -//CHECK#4 -if ("1" > new Boolean(true) !== false) { - $ERROR('#4: "1" > new Boolean(true) === false'); -} - -//CHECK#5 -if (true > new String("1") !== false) { - $ERROR('#5: true > new String("1") === false'); -} - -//CHECK#6 -if (new String("1") > true !== false) { - $ERROR('#6: new String("1") > true === false'); -} - -//CHECK#7 -if (new Boolean(true) > new String("1") !== false) { - $ERROR('#7: new Boolean(true) > new String("1") === false'); -} - -//CHECK#8 -if (new String("1") > new Boolean(true) !== false) { - $ERROR('#8: new String("1") > new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.js deleted file mode 100644 index 35fca860c5..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T2.6; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T2.6", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ("1" > undefined !== false) { - $ERROR('#1: "1" > undefined === false'); -} - -//CHECK#2 -if (undefined > "1" !== false) { - $ERROR('#2: undefined > "1" === false'); -} - -//CHECK#3 -if (new String("1") > undefined !== false) { - $ERROR('#3: new String("1") > undefined === false'); -} - -//CHECK#4 -if (undefined > new String("1") !== false) { - $ERROR('#4: undefined > new String("1") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.js deleted file mode 100644 index daabc9ef3e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T2.7; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T2.7", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" > null !== true) { - $ERROR('#1: "1" > null === true'); -} - -//CHECK#2 -if (null > "1" !== false) { - $ERROR('#2: null > "1" === false'); -} - -//CHECK#3 -if (new String("1") > null !== true) { - $ERROR('#3: new String("1") > null === true'); -} - -//CHECK#4 -if (null > new String("1") !== false) { - $ERROR('#4: null > new String("1") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.js deleted file mode 100644 index 419a4eb96c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T2.8; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T2.8", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (true > undefined !== false) { - $ERROR('#1: true > undefined === false'); -} - -//CHECK#2 -if (undefined > true !== false) { - $ERROR('#2: undefined > true === false'); -} - -//CHECK#3 -if (new Boolean(true) > undefined !== false) { - $ERROR('#3: new Boolean(true) > undefined === false'); -} - -//CHECK#4 -if (undefined > new Boolean(true) !== false) { - $ERROR('#4: undefined > new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.js deleted file mode 100644 index aff89d6e4b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.1_T2.9; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.1_T2.9", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true > null !== true) { - $ERROR('#1: true > null === true'); -} - -//CHECK#2 -if (null > true !== false) { - $ERROR('#2: null > true === false'); -} - -//CHECK#3 -if (new Boolean(true) > null !== true) { - $ERROR('#3: new Boolean(true) > null === true'); -} - -//CHECK#4 -if (null > new Boolean(true) !== false) { - $ERROR('#4: null > new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.js deleted file mode 100644 index c488f76d5e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.2_T1.1; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then operator x > y returns ToString(x) > ToString(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.2_T1.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.js", - -assertion: "If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then operator x > y returns ToString(x) > ToString(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" > "1" !== false) { - $ERROR('#1: "1" > "1" === false'); -} - -//CHECK#2 -if (new String("1") > "1" !== false) { - $ERROR('#2: new String("1") > "1" === false'); -} - -//CHECK#3 -if ("1" > new String("1") !== false) { - $ERROR('#3: "1" > new String("1") === false'); -} - -//CHECK#4 -if (new String("1") > new String("1") !== false) { - $ERROR('#4: new String("1") > new String("1") === false'); -} - -//CHECK#5 -if ("x" > "1" !== true) { - $ERROR('#5: "x" > "1" === true'); -} - -//CHECK#6 -if ("1" > "x" !== false) { - $ERROR('#6: "1" > "x" === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.js deleted file mode 100644 index b851d4df73..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.2_A3.2_T1.2; - * @section: 11.8.2; - * @assertion: If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then operator x > y returns ToString(x) > ToString(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A3.2_T1.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.js", - -assertion: "If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then operator x > y returns ToString(x) > ToString(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} > function(){return 1}) !== ({}.toString() > function(){return 1}.toString())) { - $ERROR('#1: ({} > function(){return 1}) === ({}.toString() > function(){return 1}.toString())'); -} - -//CHECK#2 -if ((function(){return 1} > {}) !== (function(){return 1}.toString() > {}.toString())) { - $ERROR('#2: (function(){return 1} > {}) === (function(){return 1}.toString() > {}.toString())'); -} - -//CHECK#3 -if ((function(){return 1} > function(){return 1}) !== (function(){return 1}.toString() > function(){return 1}.toString())) { - $ERROR('#3: (function(){return 1} > function(){return 1}) === (function(){return 1}.toString() > function(){return 1}.toString())'); -} - -//CHECK#4 -if (({} > {}) !== ({}.toString() > {}.toString())) { - $ERROR('#4: ({} > {}) === ({}.toString() > {}.toString())'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.js deleted file mode 100644 index 2cba1798d3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.1; -* @section: 11.8.2, 11.8.5; -* @assertion: If x is NaN, return false (if result in 11.8.5 is undefined, return false); -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.js", - -assertion: "If x is NaN, return false (if result in 11.8.5 is undefined, return false)", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.NaN > 0) !== false) { - $ERROR('#1: (NaN > 0) === false'); -} - -//CHECK#2 -if ((Number.NaN > 1.1) !== false) { - $ERROR('#2: (NaN > 1.1) === false'); -} - -//CHECK#3 -if ((Number.NaN > -1.1) !== false) { - $ERROR('#3: (NaN > -1.1) === false'); -} - -//CHECK#4 -if ((Number.NaN > Number.NaN) !== false) { - $ERROR('#4: (NaN > NaN) === false'); -} - -//CHECK#5 -if ((Number.NaN > Number.POSITIVE_INFINITY) !== false) { - $ERROR('#5: (NaN > +Infinity) === false'); -} - -//CHECK#6 -if ((Number.NaN > Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#6: (NaN > -Infinity) === false'); -} - -//CHECK#7 -if ((Number.NaN > Number.MAX_VALUE) !== false) { - $ERROR('#7: (NaN > Number.MAX_VALUE) === false'); -} - -//CHECK#8 -if ((Number.NaN > Number.MIN_VALUE) !== false) { - $ERROR('#8: (NaN > Number.MIN_VALUE) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.js deleted file mode 100644 index 0c701572c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.10; -* @section: 11.8.2, 11.8.5; -* @assertion: If x is a prefix of y, return false; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.10", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.js", - -assertion: "If x is a prefix of y, return false", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x" > "x") !== false) { - $ERROR('#1: ("x" > "x") === false'); -} - -//CHECK#2 -if (("" > "x") !== false) { - $ERROR('#2: ("" > "x") === false'); -} - -//CHECK#3 -if (("ab" > "abcd") !== false) { - $ERROR('#3: ("ab" > abcd") === false'); -} - -//CHECK#4 -if (("abcd" > "abc\u0064") !== false) { - $ERROR('#4: ("abcd" > abc\\u0064") === false'); -} - -//CHECK#5 -if (("x" > "x" + "y") !== false) { - $ERROR('#5: ("x" > "x" + "y") === false'); -} - -//CHECK#6 -var x = "x"; -if ((x > x + "y") !== false) { - $ERROR('#6: var x = "x"; (x > x + "y") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.js deleted file mode 100644 index f4bbd35cdf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.11; -* @section: 11.8.2, 11.8.5; -* @assertion: If y is a prefix of x and x !== y, return true; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.11", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.js", - -assertion: "If y is a prefix of x and x !== y, return true", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x " > "x") !== true) { - $ERROR('#1: ("x " > "x") === true'); -} - -//CHECK#2 -if (("x" > "") !== true) { - $ERROR('#2: ("x" > "") === true'); -} - -//CHECK#3 -if (("abcd" > "ab") !== true) { - $ERROR('#3: ("abcd" > ab") === true'); -} - -//CHECK#4 -if (("abc\u0064" > "abcd") !== false) { - $ERROR('#4: ("abc\\u0064" > abc") === false'); -} - -//CHECK#5 -if (("x" + "y" > "x") !== true) { - $ERROR('#5: ("x" + "y" > "x") === true'); -} - -//CHECK#6 -var x = "x"; -if ((x + 'y' > x) !== true) { - $ERROR('#6: var x = "x"; (x + "y" > x) === true'); -} - -//CHECK#7 -if (("a\u0000a" > "a\u0000") !== true) { - $ERROR('#7: ("a\\u0000a" > "a\\u0000") === true'); -} - -//CHECK#8 -if ((" x" > "x") !== false) { - $ERROR('#8: (" x" > "x") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.js deleted file mode 100644 index 798ecadbe1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.12_T1; -* @section: 11.8.2, 11.8.5; -* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.12_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.js", - -assertion: "If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("xy" > "xx") !== true) { - $ERROR('#1: ("xy" > "xx") === true'); -} - -//CHECK#2 -if (("xx" > "xy") !== false) { - $ERROR('#2: ("xx" > "xy") === false'); -} - -//CHECK#3 -if (("y" > "x") !== true) { - $ERROR('#3: ("y" > "x") === true'); -} - -//CHECK#4 -if (("aba" > "aab") !== true) { - $ERROR('#4: ("aba" > aab") === true'); -} - -//CHECK#5 -if (("\u0061\u0061\u0061\u0061" > "\u0061\u0061\u0061\u0062") !== false) { - $ERROR('#5: ("\\u0061\\u0061\\u0061\\u0061" > \\u0061\\u0061\\u0061\\u0062") === false'); -} - -//CHECK#6 -if (("a\u0000b" > "a\u0000a") !== true) { - $ERROR('#6: ("a\\u0000b" > "a\\u0000a") === true'); -} - -//CHECK#7 -if (("aa" > "aB") !== true) { - $ERROR('#7: ("aa" > aB") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.js deleted file mode 100644 index 8a7b750acf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.12_T2; -* @section: 11.8.2, 11.8.5; -* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.12_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.js", - -assertion: "If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x" > "0") !== true) { - $ERROR('#1: ("x" > "0") !== true'); -} - -//CHECK#2 -if (("0" > "-") !== true) { - $ERROR('#2: ("0" > "-") !== true'); -} - -//CHECK#3 -if (("0" > ".") !== true) { - $ERROR('#3: ("0" > ".") !== true'); -} - -//CHECK#4 -if (("-" > "+") !== true) { - $ERROR('#4: ("-" > "+") !== true'); -} - -//CHECK#5 -if (("-1" > "-0") !== true) { - $ERROR('#5: ("-1" > "-0") !== true'); -} - -//CHECK#6 -if (("-1" > "+1") !== true) { - $ERROR('#6: ("-1" > "+1") !== true'); -} - -//CHECK#7 -if (("1e-10" > "1") !== true) { -$ERROR('#7: ("1e-10" > "1") !== true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.js deleted file mode 100644 index ddbcc663cb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.2; -* @section: 11.8.2, 11.8.5; -* @assertion: If y is NaN, return false (if result in 11.8.5 is undefined, return false); -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.js", - -assertion: "If y is NaN, return false (if result in 11.8.5 is undefined, return false)", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 > Number.NaN) !== false) { - $ERROR('#1: (0 > NaN) === false'); -} - -//CHECK#2 -if ((1.1 > Number.NaN) !== false) { - $ERROR('#2: (1.1 > NaN) === false'); -} - -//CHECK#3 -if ((-1.1 > Number.NaN) !== false) { - $ERROR('#3: (-1.1 > NaN) === false'); -} - -//CHECK#4 -if ((Number.NaN > Number.NaN) !== false) { - $ERROR('#4: (NaN > NaN) === false'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY > Number.NaN) !== false) { - $ERROR('#5: (+Infinity > NaN) === false'); -} - -//CHECK#6 -if ((Number.NEGATIVE_INFINITY > Number.NaN) !== false) { - $ERROR('#6: (-Infinity > NaN) === false'); -} - -//CHECK#7 -if ((Number.MAX_VALUE > Number.NaN) !== false) { - $ERROR('#7: (Number.MAX_VALUE > NaN) === false'); -} - -//CHECK#8 -if ((Number.MIN_VALUE > Number.NaN) !== false) { - $ERROR('#8: (Number.MIN_VALUE > NaN) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.js deleted file mode 100644 index 537373f0f4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.3; -* @section: 11.8.2, 11.8.5; -* @assertion: If x and y are the same number value, return false; -* @description: x and y are number primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.js", - -assertion: "If x and y are the same number value, return false", - -description: "x and y are number primitives", - -test: function testcase() { - //CHECK#1 -if ((1 > 1) !== false) { - $ERROR('#1: (1 > 1) === false'); -} - -//CHECK#2 -if ((1.1 > 1.1) !== false) { - $ERROR('#2: (1.1 > 1.1) === false'); -} - -//CHECK#3 -if ((-1.1 > -1.1) !== false) { - $ERROR('#3: (-1.1 > -1.1) === false'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY > Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#4: (-Infinity > -Infinity) === false'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY > Number.POSITIVE_INFINITY) !== false) { - $ERROR('#5: (+Infinity > +Infinity) === false'); -} - -//CHECK#6 -if ((Number.MAX_VALUE > Number.MAX_VALUE) !== false) { - $ERROR('#6: (Number.MAX_VALUE > Number.MAX_VALUE) === false'); -} - -//CHECK#7 -if ((Number.MIN_VALUE > Number.MIN_VALUE) !== false) { - $ERROR('#7: (Number.MIN_VALUE > Number.MIN_VALUE) === false'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.js deleted file mode 100644 index 4c0f7f2599..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.4; -* @section: 11.8.2, 11.8.5; -* @assertion: If either variable x or y is +0 and the other is -0, return false; -* @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.js", - -assertion: "If either variable x or y is +0 and the other is -0, return false", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if ((0 > 0) !== false) { - $ERROR('#1: (0 > 0) === false'); -} - -//CHECK#2 -if ((-0 > -0) !== false) { - $ERROR('#2: (-0 > -0) === false'); -} - -//CHECK#3 -if ((+0 > -0) !== false) { - $ERROR('#3: (+0 > -0) === false'); -} - -//CHECK#4 -if ((-0 > +0) !== false) { - $ERROR('#4: (-0 > +0) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.js deleted file mode 100644 index 2c235aef35..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.5; -* @section: 11.8.2, 11.8.5; -* @assertion: If x is +Infinity and x !== y, return true; -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.5", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.js", - -assertion: "If x is +Infinity and x !== y, return true", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.POSITIVE_INFINITY > 0) !== true) { - $ERROR('#1: (+Infinity > 0) === true'); -} - -//CHECK#2 -if ((Number.POSITIVE_INFINITY > 1.1) !== true) { - $ERROR('#2: (+Infinity > 1.1) === true'); -} - -//CHECK#3 -if ((Number.POSITIVE_INFINITY > -1.1) !== true) { - $ERROR('#3: (+Infinity > -1.1) === true'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY > Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#4: (+Infinity > -Infinity) === true'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY > Number.MAX_VALUE) !== true) { - $ERROR('#5: (+Infinity > Number.MAX_VALUE) === true'); -} - -//CHECK#6 -if ((Number.POSITIVE_INFINITY > Number.MIN_VALUE) !== true) { - $ERROR('#6: (+Infinity > Number.MIN_VALUE) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.js deleted file mode 100644 index 3283a0a792..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.6; -* @section: 11.8.2, 11.8.5; -* @assertion: If y is +Infinity, return false; -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.6", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.js", - -assertion: "If y is +Infinity, return false", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 > Number.POSITIVE_INFINITY) !== false) { - $ERROR('#1: (0 > +Infinity) === false'); -} - -//CHECK#2 -if ((1.1 > Number.POSITIVE_INFINITY) !== false) { - $ERROR('#2: (1.1 > +Infinity) === false'); -} - -//CHECK#3 -if ((-1.1 > Number.POSITIVE_INFINITY) !== false) { - $ERROR('#3: (-1.1 > +Infinity) === false'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY > Number.POSITIVE_INFINITY) !== false) { - $ERROR('#4: (-Infinity > +Infinity) === false'); -} - -//CHECK#5 -if ((Number.MAX_VALUE > Number.POSITIVE_INFINITY) !== false) { - $ERROR('#5: (Number.MAX_VALUE > +Infinity) === false'); -} - -//CHECK#6 -if ((Number.MIN_VALUE > Number.POSITIVE_INFINITY) !== false) { - $ERROR('#6: (Number.MIN_VALUE > +Infinity) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.js deleted file mode 100644 index e556feab5e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.7; -* @section: 11.8.2, 11.8.5; -* @assertion: If x is -Infinity, return false; -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.7", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.js", - -assertion: "If x is -Infinity, return false", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.NEGATIVE_INFINITY > 0) !== false) { - $ERROR('#1: (-Infinity > 0) === false'); -} - -//CHECK#2 -if ((Number.NEGATIVE_INFINITY > 1.1) !== false) { - $ERROR('#2: (-Infinity > 1.1) === false'); -} - -//CHECK#3 -if ((Number.NEGATIVE_INFINITY > -1.1) !== false) { - $ERROR('#3: (-Infinity > -1.1) === false'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY > Number.POSITIVE_INFINITY) !== false) { - $ERROR('#4: (-Infinity > +Infinity) === false'); -} - -//CHECK#5 -if ((Number.NEGATIVE_INFINITY > Number.MAX_VALUE) !== false) { - $ERROR('#5: (-Infinity > Number.MAX_VALUE) === false'); -} - -//CHECK#6 -if ((Number.NEGATIVE_INFINITY > Number.MIN_VALUE) !== false) { - $ERROR('#6: (-Infinity > Number.MIN_VALUE) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.js deleted file mode 100644 index 1b0e1a8e12..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.8; -* @section: 11.8.2, 11.8.5; -* @assertion: If y is -Infinity and x !== y, return true; -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.8", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.js", - -assertion: "If y is -Infinity and x !== y, return true", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 > Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#1: (0 > -Infinity) === true'); -} - -//CHECK#2 -if ((1.1 > Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#2: (1.1 > -Infinity) === true'); -} - -//CHECK#3 -if ((-1.1 > Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#3: (-1.1 > -Infinity) === true'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY > Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#4: (+Infinity > -Infinity) === true'); -} - -//CHECK#5 -if ((Number.MAX_VALUE > Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#5: (Number.MAX_VALUE > -Infinity) === true'); -} - -//CHECK#6 -if ((Number.MIN_VALUE > Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#6: (Number.MIN_VALUE > -Infinity) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.js deleted file mode 100644 index 4dc9758f4a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.2_A4.9; -* @section: 11.8.2, 11.8.5; -* @assertion: If is x greater than y and these values are both finite non-zero, return true; otherwise, return false; -* @description: x and y are number primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.2_A4.9", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.js", - -assertion: "If is x greater than y and these values are both finite non-zero, return true; otherwise, return false", - -description: "x and y are number primitives", - -test: function testcase() { - //CHECK#1 -if ((1 > 1.1) !== false) { - $ERROR('#1: (1 > 1.1) === false'); -} - -//CHECK#2 -if ((1.1 > 1) !== true) { - $ERROR('#2: (1.1 > 1) === true'); -} - -//CHECK#3 -if ((-1 > -1.1) !== true) { - $ERROR('#3: (-1 > -1.1) === true'); -} - -//CHECK#4 -if ((-1.1 > -1) !== false) { - $ERROR('#4: (-1.1 > -1) === false'); -} - -//CHECK#5 -if ((0.1 > 0) !== true) { - $ERROR('#5: (0.1 > 0) === true'); -} - -//CHECK#6 -if ((0 > -0.1) !== true) { - $ERROR('#6: (0 > -0.1) === true'); -} - -//CHECK#7 -if ((Number.MAX_VALUE > Number.MAX_VALUE/2) !== true) { - $ERROR('#7: (Number.MAX_VALUE > Number.MAX_VALUE/2) === true'); -} - -//CHECK#8 -if ((Number.MIN_VALUE*2 > Number.MIN_VALUE) !== true) { - $ERROR('#8: (Number.MIN_VALUE*2 > Number.MIN_VALUE) === true'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.js deleted file mode 100644 index 6f14f11d96..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A1; -* @section: 11.8.3, 7.2, 7.3; -* @assertion: White Space and Line Terminator between RelationalExpression and "<=" or between "<=" and ShiftExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.js", - -assertion: "White Space and Line Terminator between RelationalExpression and \"<=\" or between \"<=\" and ShiftExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("1\u0009<=\u00091") !== true) { - $ERROR('#1: (1\\u0009<=\\u00091) === true'); -} - -//CHECK#2 -if (eval("1\u000B<=\u000B1") !== true) { - $ERROR('#2: (1\\u000B<=\\u000B1) === true'); -} - -//CHECK#3 -if (eval("1\u000C<=\u000C1") !== true) { - $ERROR('#3: (1\\u000C<=\\u000C1) === true'); -} - -//CHECK#4 -if (eval("1\u0020<=\u00201") !== true) { - $ERROR('#4: (1\\u0020<=\\u00201) === true'); -} - -//CHECK#5 -if (eval("1\u00A0<=\u00A01") !== true) { - $ERROR('#5: (1\\u00A0<=\\u00A01) === true'); -} - -//CHECK#6 -if (eval("1\u000A<=\u000A1") !== true) { - $ERROR('#6: (1\\u000A<=\\u000A1) === true'); -} - -//CHECK#7 -if (eval("1\u000D<=\u000D1") !== true) { - $ERROR('#7: (1\\u000D<=\\u000D1) === true'); -} - -//CHECK#8 -if (eval("1\u2028<=\u20281") !== true) { - $ERROR('#8: (1\\u2028<=\\u20281) === true'); -} - -//CHECK#9 -if (eval("1\u2029<=\u20291") !== true) { - $ERROR('#9: (1\\u2029<=\\u20291) === true'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20290") !== true) { - $ERROR('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20290) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1.js deleted file mode 100644 index 5dd7d948ff..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A2.1_T1; -* @section: 11.8.3, 11.8.5; -* @assertion: Operator x <= y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A2.1_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1.js", - -assertion: "Operator x <= y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (1 <= 1 !== true) { - $ERROR('#1: 1 <= 1 === true'); -} - -//CHECK#2 -var x = 1; -if (x <= 1 !== true) { - $ERROR('#2: var x = 1; x <= 1 === true'); -} - -//CHECK#3 -var y = 1; -if (1 <= y !== true) { - $ERROR('#3: var y = 1; 1 <= y === true'); -} - -//CHECK#4 -var x = 1; -var y = 1; -if (x <= y !== true) { - $ERROR('#4: var x = 1; var y = 1; x <= y === true'); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if (objectx.prop <= objecty.prop !== true) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop <= objecty.prop === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2.js deleted file mode 100644 index b2a1cb6ddc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A2.1_T2; - * @section: 11.8.3, 11.8.5; - * @assertion: Operator x <= y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A2.1_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2.js", - -assertion: "Operator x <= y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x <= 1; - $ERROR('#1.1: x <= 1 throw ReferenceError. Actual: ' + (x <= 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x <= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3.js deleted file mode 100644 index f3cb95bfe9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A2.1_T3; - * @section: 11.8.3, 11.8.5; - * @assertion: Operator x <= y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A2.1_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3.js", - -assertion: "Operator x <= y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 <= y; - $ERROR('#1.1: 1 <= y throw ReferenceError. Actual: ' + (1 <= y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 <= y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1.js deleted file mode 100644 index 832534abc6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A2.2_T1; - * @section: 11.8.3, 8.6.2.6; - * @assertion: Operator x <= y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A2.2_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1.js", - -assertion: "Operator x <= y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 0}} <= 1 !== true) { - $ERROR('#1: {valueOf: function() {return 1}} <= 1 === true. Actual: ' + ({valueOf: function() {return 1}} <= 1)); -} - -//CHECK#2 -if ({valueOf: function() {return 0}, toString: function() {return 2}} <= 1 !== true) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 0}} <= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} <= 1)); -} - -//CHECK#3 -if ({valueOf: function() {return 0}, toString: function() {return {}}} <= 1 !== true) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} <= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} <= 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 0}, toString: function() {throw "error"}} <= 1 !== true) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} <= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} <= 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 0}, toString: function() {throw "error"}} <= 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 0}, toString: function() {throw "error"}} <= 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 <= {toString: function() {return 2}} !== true) { - $ERROR('#5: 1 <= {toString: function() {return 2}} === true. Actual: ' + (1 <= {toString: function() {return 2}})); -} - -//CHECK#6 -if (1 <= {valueOf: function() {return {}}, toString: function() {return 2}} !== true) { - $ERROR('#6: 1 <= {valueOf: function() {return {}}, toString: function() {return 2}} === true. Actual: ' + (1 <= {valueOf: function() {return {}}, toString: function() {return 2}})); -} - -//CHECK#7 -try { - 1 <= {valueOf: function() {throw "error"}, toString: function() {return 2}}; - $ERROR('#7.1: 1 <= {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (1 <= {valueOf: function() {throw "error"}, toString: function() {return 2}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 <= {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 <= {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 <= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 <= {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 <= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1.js deleted file mode 100644 index 8fe150c495..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A2.3_T1; - * @section: 11.8.3; - * @assertion: ToNumber(second expression) is called first, and then ToNumber(first expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A2.3_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1.js", - -assertion: "ToNumber(second expression) is called first, and then ToNumber(first expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x <= y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x <= y throw "y". Actual: ' + (x <= y)); -} catch (e) { - if (e === "x") { - $ERROR('#1.2: ToNumber(second expression) is called first, and then ToNumber(first expression)'); - } else { - if (e !== "y") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x <= y throw "y". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1.js deleted file mode 100644 index 18f455edd8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A2.4_T1; - * @section: 11.8.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A2.4_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) <= x !== true) { - $ERROR('#1: var x = 0; (x = 1) <= x === true'); -} - -//CHECK#2 -var x = 1; -if (x <= (x = 0) !== false) { - $ERROR('#2: var x = 1; x <= (x = 0) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2.js deleted file mode 100644 index 23401cb69f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A2.4_T2; - * @section: 11.8.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A2.4_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() <= y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() <= y() throw "x". Actual: ' + (x() <= y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() <= y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3.js deleted file mode 100644 index 777268b10d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A2.4_T3; - * @section: 11.8.3; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A2.4_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x <= (x = 1); - $ERROR('#1.1: x <= (x = 1) throw ReferenceError. Actual: ' + (x <= (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x <= (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) <= y !== true) { - $ERROR('#2: (y = 1) <= y === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1.js deleted file mode 100644 index 1c0535881a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T1.1; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T1.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true <= true !== true) { - $ERROR('#1: true <= true === true'); -} - -//CHECK#2 -if (new Boolean(true) <= true !== true) { - $ERROR('#2: new Boolean(true) <= true === true'); -} - -//CHECK#3 -if (true <= new Boolean(true) !== true) { - $ERROR('#3: true <= new Boolean(true) === true'); -} - -//CHECK#4 -if (new Boolean(true) <= new Boolean(true) !== true) { - $ERROR('#4: new Boolean(true) <= new Boolean(true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2.js deleted file mode 100644 index 4a67bea28e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T1.2; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T1.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 <= 1 !== true) { - $ERROR('#1: 1 <= 1 === true'); -} - -//CHECK#2 -if (new Number(1) <= 1 !== true) { - $ERROR('#2: new Number(1) <= 1 === true'); -} - -//CHECK#3 -if (1 <= new Number(1) !== true) { - $ERROR('#3: 1 <= new Number(1) === true'); -} - -//CHECK#4 -if (new Number(1) <= new Number(1) !== true) { - $ERROR('#4: new Number(1) <= new Number(1) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3.js deleted file mode 100644 index dd8b529e31..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T1.3; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T1.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (null <= undefined !== false) { - $ERROR('#1: null <= undefined === false'); -} - -//CHECK#2 -if (undefined <= null !== false) { - $ERROR('#2: undefined <= null === false'); -} - -//CHECK#3 -if (undefined <= undefined !== false) { - $ERROR('#3: undefined <= undefined === false'); -} - -//CHECK#4 -if (null <= null !== true) { - $ERROR('#4: null <= null === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1.js deleted file mode 100644 index b730327872..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T2.1; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T2.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true <= 1 !== true) { - $ERROR('#1: true <= 1 === true'); -} - -//CHECK#2 -if (1 <= true !== true) { - $ERROR('#2: 1 <= true === true'); -} - -//CHECK#3 -if (new Boolean(true) <= 1 !== true) { - $ERROR('#3: new Boolean(true) <= 1 === true'); -} - -//CHECK#4 -if (1 <= new Boolean(true) !== true) { - $ERROR('#4: 1 <= new Boolean(true) === true'); -} - -//CHECK#5 -if (true <= new Number(1) !== true) { - $ERROR('#5: true <= new Number(1) === true'); -} - -//CHECK#6 -if (new Number(1) <= true !== true) { - $ERROR('#6: new Number(1) <= true === true'); -} - -//CHECK#7 -if (new Boolean(true) <= new Number(1) !== true) { - $ERROR('#7: new Boolean(true) <= new Number(1) === true'); -} - -//CHECK#8 -if (new Number(1) <= new Boolean(true) !== true) { - $ERROR('#8: new Number(1) <= new Boolean(true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2.js deleted file mode 100644 index e52671ecce..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T2.2; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T2.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" <= 1 !== true) { - $ERROR('#1: "1" <= 1 === true'); -} - -//CHECK#2 -if (1 <= "1" !== true) { - $ERROR('#2: 1 <= "1" === true'); -} - -//CHECK#3 -if (new String("1") <= 1 !== true) { - $ERROR('#3: new String("1") <= 1 === true'); -} - -//CHECK#4 -if (1 <= new String("1") !== true) { - $ERROR('#4: 1 <= new String("1") === true'); -} - -//CHECK#5 -if ("1" <= new Number(1) !== true) { - $ERROR('#5: "1" <= new Number(1) === true'); -} - -//CHECK#6 -if (new Number(1) <= "1" !== true) { - $ERROR('#6: new Number(1) <= "1" === true'); -} - -//CHECK#7 -if (new String("1") <= new Number(1) !== true) { - $ERROR('#7: new String("1") <= new Number(1) === true'); -} - -//CHECK#8 -if (new Number(1) <= new String("1") !== true) { - $ERROR('#8: new Number(1) <= new String("1") === true'); -} - -//CHECK#9 -if ("x" <= 1 !== false) { - $ERROR('#9: "x" <= 1 === false'); -} - -//CHECK#10 -if (1 <= "x" !== false) { - $ERROR('#10: 1 <= "x" === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3.js deleted file mode 100644 index 1436edeea9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T2.3; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T2.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 <= null !== false) { - $ERROR('#1: 1 <= null === false'); -} - -//CHECK#2 -if (null <= 1 !== true) { - $ERROR('#2: null <= 1 === true'); -} - -//CHECK#3 -if (new Number(1) <= null !== false) { - $ERROR('#3: new Number(1) <= null === false'); -} - -//CHECK#4 -if (null <= new Number(1) !== true) { - $ERROR('#4: null <= new Number(1) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4.js deleted file mode 100644 index 6c45194c83..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T2.4; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T2.4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (1 <= undefined !== false) { - $ERROR('#1: 1 <= undefined === false'); -} - -//CHECK#2 -if (undefined <= 1 !== false) { - $ERROR('#2: undefined <= 1 === false'); -} - -//CHECK#3 -if (new Number(1) <= undefined !== false) { - $ERROR('#3: new Number(1) <= undefined === false'); -} - -//CHECK#4 -if (undefined <= new Number(1) !== false) { - $ERROR('#4: undefined <= new Number(1) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5.js deleted file mode 100644 index c1f8d08625..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T2.5; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T2.5", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true <= "1" !== true) { - $ERROR('#1: true <= "1" === true'); -} - -//CHECK#2 -if ("1" <= true !== true) { - $ERROR('#2: "1" <= true === true'); -} - -//CHECK#3 -if (new Boolean(true) <= "1" !== true) { - $ERROR('#3: new Boolean(true) <= "1" === true'); -} - -//CHECK#4 -if ("1" <= new Boolean(true) !== true) { - $ERROR('#4: "1" <= new Boolean(true) === true'); -} - -//CHECK#5 -if (true <= new String("1") !== true) { - $ERROR('#5: true <= new String("1") === true'); -} - -//CHECK#6 -if (new String("1") <= true !== true) { - $ERROR('#6: new String("1") <= true === true'); -} - -//CHECK#7 -if (new Boolean(true) <= new String("1") !== true) { - $ERROR('#7: new Boolean(true) <= new String("1") === true'); -} - -//CHECK#8 -if (new String("1") <= new Boolean(true) !== true) { - $ERROR('#8: new String("1") <= new Boolean(true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6.js deleted file mode 100644 index 034e0803ed..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T2.6; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T2.6", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ("1" <= undefined !== false) { - $ERROR('#1: "1" <= undefined === false'); -} - -//CHECK#2 -if (undefined <= "1" !== false) { - $ERROR('#2: undefined <= "1" === false'); -} - -//CHECK#3 -if (new String("1") <= undefined !== false) { - $ERROR('#3: new String("1") <= undefined === false'); -} - -//CHECK#4 -if (undefined <= new String("1") !== false) { - $ERROR('#4: undefined <= new String("1") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7.js deleted file mode 100644 index 42880a4116..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T2.7; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T2.7", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" <= null !== false) { - $ERROR('#1: "1" <= null === false'); -} - -//CHECK#2 -if (null <= "1" !== true) { - $ERROR('#2: null <= "1" === true'); -} - -//CHECK#3 -if (new String("1") <= null !== false) { - $ERROR('#3: new String("1") <= null === false'); -} - -//CHECK#4 -if (null <= new String("1") !== true) { - $ERROR('#4: null <= new String("1") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8.js deleted file mode 100644 index f7cd732571..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T2.8; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T2.8", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (true <= undefined !== false) { - $ERROR('#1: true <= undefined === false'); -} - -//CHECK#2 -if (undefined <= true !== false) { - $ERROR('#2: undefined <= true === false'); -} - -//CHECK#3 -if (new Boolean(true) <= undefined !== false) { - $ERROR('#3: new Boolean(true) <= undefined === false'); -} - -//CHECK#4 -if (undefined <= new Boolean(true) !== false) { - $ERROR('#4: undefined <= new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9.js deleted file mode 100644 index 5f8172758a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.1_T2.9; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.1_T2.9", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9.js", - -assertion: "Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true <= null !== false) { - $ERROR('#1: true <= null === false'); -} - -//CHECK#2 -if (null <= true !== true) { - $ERROR('#2: null <= true === true'); -} - -//CHECK#3 -if (new Boolean(true) <= null !== false) { - $ERROR('#3: new Boolean(true) <= null === false'); -} - -//CHECK#4 -if (null <= new Boolean(true) !== true) { - $ERROR('#4: null <= new Boolean(true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1.js deleted file mode 100644 index 579e696f49..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.2_T1.1; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.2_T1.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1.js", - -assertion: "Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" <= "1" !== true) { - $ERROR('#1: "1" <= "1" === true'); -} - -//CHECK#2 -if (new String("1") <= "1" !== true) { - $ERROR('#2: new String("1") <= "1" === true'); -} - -//CHECK#3 -if ("1" <= new String("1") !== true) { - $ERROR('#3: "1" <= new String("1") === true'); -} - -//CHECK#4 -if (new String("1") <= new String("1") !== true) { - $ERROR('#4: new String("1") <= new String("1") === true'); -} - -//CHECK#5 -if ("x" <= "1" !== false) { - $ERROR('#5: "x" <= "1" === false'); -} - -//CHECK#6 -if ("1" <= "x" !== true) { - $ERROR('#6: "1" <= "x" === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2.js deleted file mode 100644 index 16b97d3c60..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.3_A3.2_T1.2; - * @section: 11.8.3; - * @assertion: Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A3.2_T1.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2.js", - -assertion: "Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} <= function(){return 1}) !== ({}.toString() <= function(){return 1}.toString())) { - $ERROR('#1: ({} <= function(){return 1}) === ({}.toString() <= function(){return 1}.toString())'); -} - -//CHECK#2 -if ((function(){return 1} <= {}) !== (function(){return 1}.toString() <= {}.toString())) { - $ERROR('#2: (function(){return 1} <= {}) === (function(){return 1}.toString() <= {}.toString())'); -} - -//CHECK#3 -if ((function(){return 1} <= function(){return 1}) !== (function(){return 1}.toString() <= function(){return 1}.toString())) { - $ERROR('#3: (function(){return 1} <= function(){return 1}) === (function(){return 1}.toString() <= function(){return 1}.toString())'); -} - -//CHECK#4 -if (({} <= {}) !== ({}.toString() <= {}.toString())) { - $ERROR('#4: ({} <= {}) === ({}.toString() <= {}.toString())'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.js deleted file mode 100644 index cabfd3c3a2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.1; -* @section: 11.8.3, 11.8.5; -* @assertion: If x is NaN, return false (if result in 11.8.5 is undefined, return false); -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.js", - -assertion: "If x is NaN, return false (if result in 11.8.5 is undefined, return false)", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.NaN <= 0) !== false) { - $ERROR('#1: (NaN <= 0) === false'); -} - -//CHECK#2 -if ((Number.NaN <= 1.1) !== false) { - $ERROR('#2: (NaN <= 1.1) === false'); -} - -//CHECK#3 -if ((Number.NaN <= -1.1) !== false) { - $ERROR('#3: (NaN <= -1.1) === false'); -} - -//CHECK#4 -if ((Number.NaN <= Number.NaN) !== false) { - $ERROR('#4: (NaN <= NaN) === false'); -} - -//CHECK#5 -if ((Number.NaN <= Number.POSITIVE_INFINITY) !== false) { - $ERROR('#5: (NaN <= +Infinity) === false'); -} - -//CHECK#6 -if ((Number.NaN <= Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#6: (NaN <= -Infinity) === false'); -} - -//CHECK#7 -if ((Number.NaN <= Number.MAX_VALUE) !== false) { - $ERROR('#7: (NaN <= Number.MAX_VALUE) === false'); -} - -//CHECK#8 -if ((Number.NaN <= Number.MIN_VALUE) !== false) { - $ERROR('#8: (NaN <= Number.MIN_VALUE) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.js deleted file mode 100644 index 5c1fa96728..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.10; -* @section: 11.8.3, 11.8.5; -* @assertion: If y is a prefix of x and x !== y, return false; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.10", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.js", - -assertion: "If y is a prefix of x and x !== y, return false", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x " <= "x") !== false) { - $ERROR('#1: ("x " <= "x") === false'); -} - -//CHECK#2 -if (("x" <= "") !== false) { - $ERROR('#2: ("x" <= "") === false'); -} - -//CHECK#3 -if (("abcd" <= "ab") !== false) { - $ERROR('#3: ("abcd" <= ab") === false'); -} - -//CHECK#4 -if (("abc\u0064" <= "abcd") !== true) { - $ERROR('#4: ("abc\\u0064" <= abcd") === true'); -} - -//CHECK#5 -if (("x" + "y" <= "x") !== false) { - $ERROR('#5: ("x" + "y" <= "x") === false'); -} - -//CHECK#6 -var x = "x"; -if ((x + 'y' <= x) !== false) { - $ERROR('#6: var x = "x"; (x + "y" <= x) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.js deleted file mode 100644 index 0ff925ca8e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.11; -* @section: 11.8.3, 11.8.5; -* @assertion: If x is a prefix of y, return true; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.11", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.js", - -assertion: "If x is a prefix of y, return true", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x" <= "x") !== true) { - $ERROR('#1: ("x" <= "x") === true'); -} - -//CHECK#2 -if (("" <= "x") !== true) { - $ERROR('#2: ("" <= "x") === true'); -} - -//CHECK#3 -if (("ab" <= "abcd") !== true) { - $ERROR('#3: ("ab" <= abcd") === true'); -} - -//CHECK#4 -if (("abcd" <= "abc\u0064") !== true) { - $ERROR('#4: ("abcd" <= abc\\u0064") === true'); -} - -//CHECK#5 -if (("x" <= "x" + "y") !== true) { - $ERROR('#5: ("x" <= "x" + "y") === true'); -} - -//CHECK#6 -var x = "x"; -if ((x <= x + "y") !== true) { - $ERROR('#6: var x = "x"; (x <= x + "y") === true'); -} - -//CHECK#7 -if (("a\u0000" <= "a\u0000a") !== true) { - $ERROR('#7: ("a\\u0000" <= "a\\u0000a") === true'); -} - -//CHECK#8 -if (("x" <= " x") !== false) { - $ERROR('#8: ("x" <= " x") === false'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1.js deleted file mode 100644 index 4352299728..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.12_T1; -* @section: 11.8.3, 11.8.5; -* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.12_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1.js", - -assertion: "If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("xx" <= "xy") !== true) { - $ERROR('#1: ("xx" <= "xy") === true'); -} - -//CHECK#2 -if (("xy" <= "xx") !== false) { - $ERROR('#2: ("xy" <= "xx") === false'); -} - -//CHECK#3 -if (("x" <= "y") !== true) { - $ERROR('#3: ("x" <= y") === true'); -} - -//CHECK#4 -if (("aab" <= "aba") !== true) { - $ERROR('#4: ("aab" <= aba") === true'); -} - -//CHECK#5 -if (("\u0061\u0061\u0061\u0062" <= "\u0061\u0061\u0061\u0061") !== false) { - $ERROR('#5: ("\\u0061\\u0061\\u0061\\u0062" <= \\u0061\\u0061\\u0061\\u0061") === false'); -} - -//CHECK#6 -if (("a\u0000a" <= "a\u0000b") !== true) { - $ERROR('#6: ("a\\u0000a" <= "a\\u0000b") === true'); -} - -//CHECK#7 -if (("aB" <= "aa") !== true) { - $ERROR('#7: ("aB" <= aa") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2.js deleted file mode 100644 index cbc084027a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.12_T2; -* @section: 11.8.3, 11.8.5; -* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.12_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2.js", - -assertion: "If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("0" <= "x") !== true) { - $ERROR('#1: ("0" <= "x") !== true'); -} - -//CHECK#2 -if (("-" <= "0") !== true) { - $ERROR('#2: ("-" <= "0") !== true'); -} - -//CHECK#3 -if (("." <= "0") !== true) { - $ERROR('#3: ("." <= "0") !== true'); -} - -//CHECK#4 -if (("+" <= "-") !== true) { - $ERROR('#4: ("+" <= "-") !== true'); -} - -//CHECK#5 -if (("-0" <= "-1") !== true) { - $ERROR('#5: ("-0" <= "-1") !== true'); -} - -//CHECK#6 -if (("+1" <= "-1") !== true) { - $ERROR('#6: ("+1" <= "-1") !== true'); -} - -//CHECK#7 -if (("1" <= "1e-10") !== true) { -$ERROR('#7: ("1" <= "1e-10") !== true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.js deleted file mode 100644 index a5b19b80e9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.2; -* @section: 11.8.3, 11.8.5; -* @assertion: If y is NaN, return false (if result in 11.8.5 is undefined, return false); -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.js", - -assertion: "If y is NaN, return false (if result in 11.8.5 is undefined, return false)", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 <= Number.NaN) !== false) { - $ERROR('#1: (0 <= NaN) === false'); -} - -//CHECK#2 -if ((1.1 <= Number.NaN) !== false) { - $ERROR('#2: (1.1 <= NaN) === false'); -} - -//CHECK#3 -if ((-1.1 <= Number.NaN) !== false) { - $ERROR('#3: (-1.1 <= NaN) === false'); -} - -//CHECK#4 -if ((Number.NaN <= Number.NaN) !== false) { - $ERROR('#4: (NaN <= NaN) === false'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY <= Number.NaN) !== false) { - $ERROR('#5: (+Infinity <= NaN) === false'); -} - -//CHECK#6 -if ((Number.NEGATIVE_INFINITY <= Number.NaN) !== false) { - $ERROR('#6: (-Infinity <= NaN) === false'); -} - -//CHECK#7 -if ((Number.MAX_VALUE <= Number.NaN) !== false) { - $ERROR('#7: (Number.MAX_VALUE <= NaN) === false'); -} - -//CHECK#8 -if ((Number.MIN_VALUE <= Number.NaN) !== false) { - $ERROR('#8: (Number.MIN_VALUE <= NaN) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.js deleted file mode 100644 index 25b5c81f5b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.3; -* @section: 11.8.3, 11.8.5; -* @assertion: If x and y are the same number value, return true; -* @description: x and y are number primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.js", - -assertion: "If x and y are the same number value, return true", - -description: "x and y are number primitives", - -test: function testcase() { - //CHECK#1 -if ((1 <= 1) !== true) { - $ERROR('#1: (1 <= 1) === true'); -} - -//CHECK#2 -if ((1.1 <= 1.1) !== true) { - $ERROR('#2: (1.1 <= 1.1) === true'); -} - -//CHECK#3 -if ((-1.1 <= -1.1) !== true) { - $ERROR('#3: (-1.1 <= -1.1) === true'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY <= Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#4: (-Infinity <= -Infinity) === true'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY <= Number.POSITIVE_INFINITY) !== true) { - $ERROR('#5: (+Infinity <= +Infinity) === true'); -} - -//CHECK#6 -if ((Number.MAX_VALUE <= Number.MAX_VALUE) !== true) { - $ERROR('#6: (Number.MAX_VALUE <= Number.MAX_VALUE) === true'); -} - -//CHECK#7 -if ((Number.MIN_VALUE <= Number.MIN_VALUE) !== true) { - $ERROR('#7: (Number.MIN_VALUE <= Number.MIN_VALUE) === true'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.js deleted file mode 100644 index c8119e30ca..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.4; -* @section: 11.8.3, 11.8.5; -* @assertion: If either x or y is +0 and the other is -0, return true; -* @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.js", - -assertion: "If either x or y is +0 and the other is -0, return true", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if ((0 <= 0) !== true) { - $ERROR('#1: (0 <= 0) === true'); -} - -//CHECK#2 -if ((-0 <= -0) !== true) { - $ERROR('#2: (-0 <= -0) === true'); -} - -//CHECK#3 -if ((+0 <= -0) !== true) { - $ERROR('#3: (+0 <= -0) === true'); -} - -//CHECK#4 -if ((-0 <= +0) !== true) { - $ERROR('#4: (-0 <= +0) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.js deleted file mode 100644 index c78999cd31..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.5; -* @section: 11.8.3, 11.8.5; -* @assertion: If x is +Infinity and x !== y, return false; -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.5", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.js", - -assertion: "If x is +Infinity and x !== y, return false", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.POSITIVE_INFINITY <= 0) !== false) { - $ERROR('#1: (+Infinity <= 0) === false'); -} - -//CHECK#2 -if ((Number.POSITIVE_INFINITY <= 1.1) !== false) { - $ERROR('#2: (+Infinity <= 1.1) === false'); -} - -//CHECK#3 -if ((Number.POSITIVE_INFINITY <= -1.1) !== false) { - $ERROR('#3: (+Infinity <= -1.1) === false'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY <= Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#4: (+Infinity <= -Infinity) === false'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY <= Number.MAX_VALUE) !== false) { - $ERROR('#5: (+Infinity <= Number.MAX_VALUE) === false'); -} - -//CHECK#6 -if ((Number.POSITIVE_INFINITY <= Number.MIN_VALUE) !== false) { - $ERROR('#6: (+Infinity <= Number.MIN_VALUE) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.js deleted file mode 100644 index 0bab3b2fd3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.6; -* @section: 11.8.3, 11.8.5; -* @assertion: If y is +Infinity and x !== y, return true; -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.6", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.js", - -assertion: "If y is +Infinity and x !== y, return true", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 <= Number.POSITIVE_INFINITY) !== true) { - $ERROR('#1: (0 <= +Infinity) === true'); -} - -//CHECK#2 -if ((1.1 <= Number.POSITIVE_INFINITY) !== true) { - $ERROR('#2: (1.1 <= +Infinity) === true'); -} - -//CHECK#3 -if ((-1.1 <= Number.POSITIVE_INFINITY) !== true) { - $ERROR('#3: (-1.1 <= +Infinity) === true'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY <= Number.POSITIVE_INFINITY) !== true) { - $ERROR('#4: (-Infinity <= +Infinity) === true'); -} - -//CHECK#5 -if ((Number.MAX_VALUE <= Number.POSITIVE_INFINITY) !== true) { - $ERROR('#5: (Number.MAX_VALUE <= +Infinity) === true'); -} - -//CHECK#6 -if ((Number.MIN_VALUE <= Number.POSITIVE_INFINITY) !== true) { - $ERROR('#6: (Number.MIN_VALUE <= +Infinity) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.js deleted file mode 100644 index c017e099be..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.7; -* @section: 11.8.3, 11.8.5; -* @assertion: If x is -Infinity, return true; -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.7", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.js", - -assertion: "If x is -Infinity, return true", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.NEGATIVE_INFINITY <= 0) !== true) { - $ERROR('#1: (-Infinity <= 0) === true'); -} - -//CHECK#2 -if ((Number.NEGATIVE_INFINITY <= 1.1) !== true) { - $ERROR('#2: (-Infinity <= 1.1) === true'); -} - -//CHECK#3 -if ((Number.NEGATIVE_INFINITY <= -1.1) !== true) { - $ERROR('#3: (-Infinity <= -1.1) === true'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY <= Number.POSITIVE_INFINITY) !== true) { - $ERROR('#4: (-Infinity <= +Infinity) === true'); -} - -//CHECK#5 -if ((Number.NEGATIVE_INFINITY <= Number.MAX_VALUE) !== true) { - $ERROR('#5: (-Infinity <= Number.MAX_VALUE) === true'); -} - -//CHECK#6 -if ((Number.NEGATIVE_INFINITY <= Number.MIN_VALUE) !== true) { - $ERROR('#6: (-Infinity <= Number.MIN_VALUE) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.js deleted file mode 100644 index a77304e7d8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.8; -* @section: 11.8.3, 11.8.5; -* @assertion: If y is -Infinity and x !== y, return false; -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.8", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.js", - -assertion: "If y is -Infinity and x !== y, return false", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 <= Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#1: (0 <= -Infinity) === false'); -} - -//CHECK#2 -if ((1.1 <= Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#2: (1.1 <= -Infinity) === false'); -} - -//CHECK#3 -if ((-1.1 <= Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#3: (-1.1 <= -Infinity) === false'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY <= Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#4: (+Infinity <= -Infinity) === false'); -} - -//CHECK#5 -if ((Number.MAX_VALUE <= Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#5: (Number.MAX_VALUE <= -Infinity) === false'); -} - -//CHECK#6 -if ((Number.MIN_VALUE <= Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#6: (Number.MIN_VALUE <= -Infinity) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.js deleted file mode 100644 index 141cb65ab6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.3_A4.9; -* @section: 11.8.3, 11.8.5; -* @assertion: If x is less or equal than y and these values are both finite non-zero, return true; otherwise, return false; -* @description: x and y are number primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.3_A4.9", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.js", - -assertion: "If x is less or equal than y and these values are both finite non-zero, return true; otherwise, return false", - -description: "x and y are number primitives", - -test: function testcase() { - //CHECK#1 -if ((1.1 <= 1) !== false) { - $ERROR('#1: (1.1 <= 1) === false'); -} - -//CHECK#2 -if ((1 <= 1.1) !== true) { - $ERROR('#2: (1 <= 1.1) === true'); -} - -//CHECK#3 -if ((-1.1 <= -1) !== true) { - $ERROR('#3: (-1.1 <= -1) === true'); -} - -//CHECK#4 -if ((-1 <= -1.1) !== false) { - $ERROR('#4: (-1 <= -1.1) === false'); -} - -//CHECK#5 -if ((0 <= 0.1) !== true) { - $ERROR('#5: (0 <= 0.1) === true'); -} - -//CHECK#6 -if ((-0.1 <= 0) !== true) { - $ERROR('#6: (-0.1 <= 0) === true'); -} - -//CHECK#7 -if ((Number.MAX_VALUE/2 <= Number.MAX_VALUE) !== true) { - $ERROR('#7: (Number.MAX_VALUE/2 <= Number.MAX_VALUE) === true'); -} - -//CHECK#8 -if ((Number.MIN_VALUE <= Number.MIN_VALUE*2) !== true) { - $ERROR('#8: (Number.MIN_VALUE <= Number.MIN_VALUE*2) === true'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.js deleted file mode 100644 index f64f22292c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A1; -* @section: 11.8.4, 7.2, 7.3; -* @assertion: White Space and Line Terminator between RelationalExpression and "=>" or "=>" and ShiftExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.js", - -assertion: "White Space and Line Terminator between RelationalExpression and \"=>\" or \"=>\" and ShiftExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("1\u0009>=\u00091") !== true) { - $ERROR('#1: (1\\u0009>=\\u00091) === true'); -} - -//CHECK#2 -if (eval("1\u000B>=\u000B1") !== true) { - $ERROR('#2: (1\\u000B>=\\u000B1) === true'); -} - -//CHECK#3 -if (eval("1\u000C>=\u000C1") !== true) { - $ERROR('#3: (1\\u000C>=\\u000C1) === true'); -} - -//CHECK#4 -if (eval("1\u0020>=\u00201") !== true) { - $ERROR('#4: (1\\u0020>=\\u00201) === true'); -} - -//CHECK#5 -if (eval("1\u00A0>=\u00A01") !== true) { - $ERROR('#5: (1\\u00A0>=\\u00A01) === true'); -} - -//CHECK#6 -if (eval("1\u000A>=\u000A1") !== true) { - $ERROR('#6: (1\\u000A>=\\u000A1) === true'); -} - -//CHECK#7 -if (eval("1\u000D>=\u000D1") !== true) { - $ERROR('#7: (1\\u000D>=\\u000D1) === true'); -} - -//CHECK#8 -if (eval("1\u2028>=\u20281") !== true) { - $ERROR('#8: (1\\u2028>=\\u20281) === true'); -} - -//CHECK#9 -if (eval("1\u2029>=\u20291") !== true) { - $ERROR('#9: (1\\u2029>=\\u20291) === true'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) { - $ERROR('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1.js deleted file mode 100644 index 9048c84db2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A2.1_T1; -* @section: 11.8.4, 11.8.5; -* @assertion: Operator x >= y uses GetValue; -* @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A2.1_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1.js", - -assertion: "Operator x >= y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (1 >= 1 !== true) { - $ERROR('#1: 1 >= 1 === true'); -} - -//CHECK#2 -var x = 1; -if (x >= 1 !== true) { - $ERROR('#2: var x = 1; x >= 1 === true'); -} - -//CHECK#3 -var y = 1; -if (1 >= y !== true) { - $ERROR('#3: var y = 1; 1 >= y === true'); -} - -//CHECK#4 -var x = 1; -var y = 1; -if (x >= y !== true) { - $ERROR('#4: var x = 1; var y = 1; x >= y === true'); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if (objectx.prop >= objecty.prop !== true) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop >= objecty.prop === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2.js deleted file mode 100644 index a31b429ce4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A2.1_T2; - * @section: 11.8.4, 11.8.5; - * @assertion: Operator x >= y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A2.1_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2.js", - -assertion: "Operator x >= y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x >= 1; - $ERROR('#1.1: x >= 1 throw ReferenceError. Actual: ' + (x >= 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x >= 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3.js deleted file mode 100644 index 1b324b7334..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A2.1_T3; - * @section: 11.8.4, 11.8.5; - * @assertion: Operator x >= y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A2.1_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3.js", - -assertion: "Operator x >= y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 >= y; - $ERROR('#1.1: 1 >= y throw ReferenceError. Actual: ' + (1 >= y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 >= y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1.js deleted file mode 100644 index eb1efd20fb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A2.2_T1; - * @section: 11.8.4, 8.6.2.6; - * @assertion: Operator x >= y uses [[Default Value]]; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A2.2_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1.js", - -assertion: "Operator x >= y uses [[Default Value]]", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -if ({valueOf: function() {return 2}} >= 1 !== true) { - $ERROR('#1: {valueOf: function() {return 1}} >= 1 === true. Actual: ' + ({valueOf: function() {return 1}} >= 1)); -} - -//CHECK#2 -if ({valueOf: function() {return 2}, toString: function() {return 0}} >= 1 !== true) { - $ERROR('#2: {valueOf: function() {return 1}, toString: function() {return 2}} >= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 2}} >= 1)); -} - -//CHECK#3 -if ({valueOf: function() {return 2}, toString: function() {return {}}} >= 1 !== true) { - $ERROR('#3: {valueOf: function() {return 1}, toString: function() {return {}}} >= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} >= 1)); -} - -//CHECK#4 -try { - if ({valueOf: function() {return 2}, toString: function() {throw "error"}} >= 1 !== true) { - $ERROR('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} >= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} >= 1)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: {valueOf: function() {return 2}, toString: function() {throw "error"}} >= 1 not throw "error"'); - } else { - $ERROR('#4.3: {valueOf: function() {return 2}, toString: function() {throw "error"}} >= 1 not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (1 >= {toString: function() {return 0}} !== true) { - $ERROR('#5: 1 >= {toString: function() {return 0}} === true. Actual: ' + (1 >= {toString: function() {return 0}})); -} - -//CHECK#6 -if (1 >= {valueOf: function() {return {}}, toString: function() {return 0}} !== true) { - $ERROR('#6: 1 >= {valueOf: function() {return {}}, toString: function() {return 0}} === true. Actual: ' + (1 >= {valueOf: function() {return {}}, toString: function() {return 0}})); -} - -//CHECK#7 -try { - 1 >= {valueOf: function() {throw "error"}, toString: function() {return 0}}; - $ERROR('#7.1: 1 >= {valueOf: function() {throw "error"}, toString: function() {return 0}} throw "error". Actual: ' + (1 >= {valueOf: function() {throw "error"}, toString: function() {return 0}})); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: 1 >= {valueOf: function() {throw "error"}, toString: function() {return 0}} throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - 1 >= {valueOf: function() {return {}}, toString: function() {return {}}}; - $ERROR('#8.1: 1 >= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 >= {valueOf: function() {return {}}, toString: function() {return {}}})); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: 1 >= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1.js deleted file mode 100644 index fa17a96087..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A2.3_T1; - * @section: 11.8.4; - * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A2.3_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1.js", - -assertion: "ToNumber(first expression) is called first, and then ToNumber(second expression)", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = { valueOf: function () { throw "x"; } }; -var y = { valueOf: function () { throw "y"; } }; -try { - x >= y; - $ERROR('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >= y throw "x". Actual: ' + (x >= y)); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >= y throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1.js deleted file mode 100644 index 2e7c6f9130..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A2.4_T1; - * @section: 11.8.4; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A2.4_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 1; -if ((x = 0) >= x !== true) { - $ERROR('#1: var x = 1; (x = 0) >= x === true'); -} - -//CHECK#2 -var x = 0; -if (x >= (x = 1) !== false) { - $ERROR('#2: var x = 0; x >= (x = 1) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2.js deleted file mode 100644 index 32656a8261..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A2.4_T2; - * @section: 11.8.4; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A2.4_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() >= y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >= y() throw "x". Actual: ' + (x() >= y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >= y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3.js deleted file mode 100644 index 7fbf81e73b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A2.4_T3; - * @section: 11.8.4; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A2.4_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x >= (x = 1); - $ERROR('#1.1: x >= (x = 1) throw ReferenceError. Actual: ' + (x >= (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x >= (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) >= y !== true) { - $ERROR('#2: (y = 1) >= y === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1.js deleted file mode 100644 index 15b1b2ed0d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T1.1; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T1.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object", - -test: function testcase() { - //CHECK#1 -if (true >= true !== true) { - $ERROR('#1: true >= true === true'); -} - -//CHECK#2 -if (new Boolean(true) >= true !== true) { - $ERROR('#2: new Boolean(true) >= true === true'); -} - -//CHECK#3 -if (true >= new Boolean(true) !== true) { - $ERROR('#3: true >= new Boolean(true) === true'); -} - -//CHECK#4 -if (new Boolean(true) >= new Boolean(true) !== true) { - $ERROR('#4: new Boolean(true) >= new Boolean(true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2.js deleted file mode 100644 index 552f343745..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T1.2; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T1.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object", - -test: function testcase() { - //CHECK#1 -if (1 >= 1 !== true) { - $ERROR('#1: 1 >= 1 === true'); -} - -//CHECK#2 -if (new Number(1) >= 1 !== true) { - $ERROR('#2: new Number(1) >= 1 === true'); -} - -//CHECK#3 -if (1 >= new Number(1) !== true) { - $ERROR('#3: 1 >= new Number(1) === true'); -} - -//CHECK#4 -if (new Number(1) >= new Number(1) !== true) { - $ERROR('#4: new Number(1) >= new Number(1) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3.js deleted file mode 100644 index 38fa82166d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T1.3; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T1.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined", - -test: function testcase() { - //CHECK#1 -if (null >= undefined !== false) { - $ERROR('#1: null >= undefined === false'); -} - -//CHECK#2 -if (undefined >= null !== false) { - $ERROR('#2: undefined >= null === false'); -} - -//CHECK#3 -if (undefined >= undefined !== false) { - $ERROR('#3: undefined >= undefined === false'); -} - -//CHECK#4 -if (null >= null !== true) { - $ERROR('#4: null >= null === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1.js deleted file mode 100644 index 87d3273f05..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T2.1; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T2.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true >= 1 !== true) { - $ERROR('#1: true >= 1 === true'); -} - -//CHECK#2 -if (1 >= true !== true) { - $ERROR('#2: 1 >= true === true'); -} - -//CHECK#3 -if (new Boolean(true) >= 1 !== true) { - $ERROR('#3: new Boolean(true) >= 1 === true'); -} - -//CHECK#4 -if (1 >= new Boolean(true) !== true) { - $ERROR('#4: 1 >= new Boolean(true) === true'); -} - -//CHECK#5 -if (true >= new Number(1) !== true) { - $ERROR('#5: true >= new Number(1) === true'); -} - -//CHECK#6 -if (new Number(1) >= true !== true) { - $ERROR('#6: new Number(1) >= true === true'); -} - -//CHECK#7 -if (new Boolean(true) >= new Number(1) !== true) { - $ERROR('#7: new Boolean(true) >= new Number(1) === true'); -} - -//CHECK#8 -if (new Number(1) >= new Boolean(true) !== true) { - $ERROR('#8: new Number(1) >= new Boolean(true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2.js deleted file mode 100644 index 3e223e88dc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T2.2; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T2.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object)", - -test: function testcase() { - //CHECK#1 -if ("1" >= 1 !== true) { - $ERROR('#1: "1" >= 1 === true'); -} - -//CHECK#2 -if (1 >= "1" !== true) { - $ERROR('#2: 1 >= "1" === true'); -} - -//CHECK#3 -if (new String("1") >= 1 !== true) { - $ERROR('#3: new String("1") >= 1 === true'); -} - -//CHECK#4 -if (1 >= new String("1") !== true) { - $ERROR('#4: 1 >= new String("1") === true'); -} - -//CHECK#5 -if ("1" >= new Number(1) !== true) { - $ERROR('#5: "1" >= new Number(1) === true'); -} - -//CHECK#6 -if (new Number(1) >= "1" !== true) { - $ERROR('#6: new Number(1) >= "1" === true'); -} - -//CHECK#7 -if (new String("1") >= new Number(1) !== true) { - $ERROR('#7: new String("1") >= new Number(1) === true'); -} - -//CHECK#8 -if (new Number(1) >= new String("1") !== true) { - $ERROR('#8: new Number(1) >= new String("1") === true'); -} - -//CHECK#9 -if ("x" >= 1 !== false) { - $ERROR('#9: "x" >= 1 === false'); -} - -//CHECK#10 -if (1 >= "x" !== false) { - $ERROR('#10: 1 >= "x" === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3.js deleted file mode 100644 index fee562b21d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T2.3; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T2.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (1 >= null !== true) { - $ERROR('#1: 1 >= null === true'); -} - -//CHECK#2 -if (null >= 1 !== false) { - $ERROR('#2: null >= 1 === false'); -} - -//CHECK#3 -if (new Number(1) >= null !== true) { - $ERROR('#3: new Number(1) >= null === true'); -} - -//CHECK#4 -if (null >= new Number(1) !== false) { - $ERROR('#4: null >= new Number(1) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4.js deleted file mode 100644 index f1d696197d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T2.4; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T2.4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (1 >= undefined !== false) { - $ERROR('#1: 1 >= undefined === false'); -} - -//CHECK#2 -if (undefined >= 1 !== false) { - $ERROR('#2: undefined >= 1 === false'); -} - -//CHECK#3 -if (new Number(1) >= undefined !== false) { - $ERROR('#3: new Number(1) >= undefined === false'); -} - -//CHECK#4 -if (undefined >= new Number(1) !== false) { - $ERROR('#4: undefined >= new Number(1) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5.js deleted file mode 100644 index 35c1f7d214..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T2.5; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T2.5", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object)", - -test: function testcase() { - //CHECK#1 -if (true >= "1" !== true) { - $ERROR('#1: true >= "1" === true'); -} - -//CHECK#2 -if ("1" >= true !== true) { - $ERROR('#2: "1" >= true === true'); -} - -//CHECK#3 -if (new Boolean(true) >= "1" !== true) { - $ERROR('#3: new Boolean(true) >= "1" === true'); -} - -//CHECK#4 -if ("1" >= new Boolean(true) !== true) { - $ERROR('#4: "1" >= new Boolean(true) === true'); -} - -//CHECK#5 -if (true >= new String("1") !== true) { - $ERROR('#5: true >= new String("1") === true'); -} - -//CHECK#6 -if (new String("1") >= true !== true) { - $ERROR('#6: new String("1") >= true === true'); -} - -//CHECK#7 -if (new Boolean(true) >= new String("1") !== true) { - $ERROR('#7: new Boolean(true) >= new String("1") === true'); -} - -//CHECK#8 -if (new String("1") >= new Boolean(true) !== true) { - $ERROR('#8: new String("1") >= new Boolean(true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6.js deleted file mode 100644 index 16a68a8608..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T2.6; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T2.6", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if ("1" >= undefined !== false) { - $ERROR('#1: "1" >= undefined === false'); -} - -//CHECK#2 -if (undefined >= "1" !== false) { - $ERROR('#2: undefined >= "1" === false'); -} - -//CHECK#3 -if (new String("1") >= undefined !== false) { - $ERROR('#3: new String("1") >= undefined === false'); -} - -//CHECK#4 -if (undefined >= new String("1") !== false) { - $ERROR('#4: undefined >= new String("1") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7.js deleted file mode 100644 index 073bb5a3a0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T2.7; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T2.7", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if ("1" >= null !== true) { - $ERROR('#1: "1" >= null === true'); -} - -//CHECK#2 -if (null >= "1" !== false) { - $ERROR('#2: null >= "1" === false'); -} - -//CHECK#3 -if (new String("1") >= null !== true) { - $ERROR('#3: new String("1") >= null === true'); -} - -//CHECK#4 -if (null >= new String("1") !== false) { - $ERROR('#4: null >= new String("1") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8.js deleted file mode 100644 index ee11659764..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T2.8; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T2.8", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined", - -test: function testcase() { - //CHECK#1 -if (true >= undefined !== false) { - $ERROR('#1: true >= undefined === false'); -} - -//CHECK#2 -if (undefined >= true !== false) { - $ERROR('#2: undefined >= true === false'); -} - -//CHECK#3 -if (new Boolean(true) >= undefined !== false) { - $ERROR('#3: new Boolean(true) >= undefined === false'); -} - -//CHECK#4 -if (undefined >= new Boolean(true) !== false) { - $ERROR('#4: undefined >= new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9.js deleted file mode 100644 index 31f2fd05a3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.1_T2.9; - * @section: 11.8.4; - * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); - * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.1_T2.9", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9.js", - -assertion: "If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)", - -description: "Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null", - -test: function testcase() { - //CHECK#1 -if (true >= null !== true) { - $ERROR('#1: true >= null === true'); -} - -//CHECK#2 -if (null >= true !== false) { - $ERROR('#2: null >= true === false'); -} - -//CHECK#3 -if (new Boolean(true) >= null !== true) { - $ERROR('#3: new Boolean(true) >= null === true'); -} - -//CHECK#4 -if (null >= new Boolean(true) !== false) { - $ERROR('#4: null >= new Boolean(true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1.js deleted file mode 100644 index ed61d59dfa..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.2_T1.1; - * @section: 11.8.4; - * @assertion: Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.2_T1.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1.js", - -assertion: "Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object", - -test: function testcase() { - //CHECK#1 -if ("1" >= "1" !== true) { - $ERROR('#1: "1" >= "1" === true'); -} - -//CHECK#2 -if (new String("1") >= "1" !== true) { - $ERROR('#2: new String("1") >= "1" === true'); -} - -//CHECK#3 -if ("1" >= new String("1") !== true) { - $ERROR('#3: "1" >= new String("1") === true'); -} - -//CHECK#4 -if (new String("1") >= new String("1") !== true) { - $ERROR('#4: new String("1") >= new String("1") === true'); -} - -//CHECK#5 -if ("x" >= "1" !== true) { - $ERROR('#5: "x" >= "1" === true'); -} - -//CHECK#6 -if ("1" >= "x" !== false) { - $ERROR('#6: "1" >= "x" === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2.js deleted file mode 100644 index de673f01b2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.4_A3.2_T1.2; - * @section: 11.8.4; - * @assertion: Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; - * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A3.2_T1.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2.js", - -assertion: "Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String", - -description: "Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object", - -test: function testcase() { - //CHECK#1 -if (({} >= function(){return 1}) !== ({}.toString() >= function(){return 1}.toString())) { - $ERROR('#1: ({} >= function(){return 1}) === ({}.toString() >= function(){return 1}.toString())'); -} - -//CHECK#2 -if ((function(){return 1} >= {}) !== (function(){return 1}.toString() >= {}.toString())) { - $ERROR('#2: (function(){return 1} >= {}) === (function(){return 1}.toString() >= {}.toString())'); -} - -//CHECK#3 -if ((function(){return 1} >= function(){return 1}) !== (function(){return 1}.toString() >= function(){return 1}.toString())) { - $ERROR('#3: (function(){return 1} >= function(){return 1}) === (function(){return 1}.toString() >= function(){return 1}.toString())'); -} - -//CHECK#4 -if (({} >= {}) !== ({}.toString() >= {}.toString())) { - $ERROR('#4: ({} >= {}) === ({}.toString() >= {}.toString())'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.js deleted file mode 100644 index 50b692cc40..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.1; -* @section: 11.8.4, 11.8.5; -* @assertion: If x is NaN, return false (if result in 11.8.5 is undefined, return false); -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.js", - -assertion: "If x is NaN, return false (if result in 11.8.5 is undefined, return false)", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.NaN >= 0) !== false) { - $ERROR('#1: (NaN >= 0) === false'); -} - -//CHECK#2 -if ((Number.NaN >= 1.1) !== false) { - $ERROR('#2: (NaN >= 1.1) === false'); -} - -//CHECK#3 -if ((Number.NaN >= -1.1) !== false) { - $ERROR('#3: (NaN >= -1.1) === false'); -} - -//CHECK#4 -if ((Number.NaN >= Number.NaN) !== false) { - $ERROR('#4: (NaN >= NaN) === false'); -} - -//CHECK#5 -if ((Number.NaN >= Number.POSITIVE_INFINITY) !== false) { - $ERROR('#5: (NaN >= +Infinity) === false'); -} - -//CHECK#6 -if ((Number.NaN >= Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#6: (NaN >= -Infinity) === false'); -} - -//CHECK#7 -if ((Number.NaN >= Number.MAX_VALUE) !== false) { - $ERROR('#7: (NaN >= Number.MAX_VALUE) === false'); -} - -//CHECK#8 -if ((Number.NaN >= Number.MIN_VALUE) !== false) { - $ERROR('#8: (NaN >= Number.MIN_VALUE) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.js deleted file mode 100644 index 016babd568..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.10; -* @section: 11.8.4, 11.8.5; -* @assertion: If x is a prefix of y and x !== y, return false; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.10", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.js", - -assertion: "If x is a prefix of y and x !== y, return false", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x" >= "x ") !== false) { - $ERROR('#1: ("x" >= "x ") === false'); -} - -//CHECK#2 -if (("" >= "x") !== false) { - $ERROR('#2: ("" >= "x") === false'); -} - -//CHECK#3 -if (("ab" >= "abcd") !== false) { - $ERROR('#3: ("ab" >= abcd") === false'); -} - -//CHECK#4 -if (("abcd" >= "abc\u0064") !== true) { - $ERROR('#4: ("abcd" >= abc\\u0064") === true'); -} - -//CHECK#5 -if (("x" >= "x" + "y") !== false) { - $ERROR('#5: ("x" >= "x" + "y") === false'); -} - -//CHECK#6 -var x = "x"; -if ((x >= x + "y") !== false) { - $ERROR('#6: var x = "x"; (x >= x + "y") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.js deleted file mode 100644 index 0f8bd8d27a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.11; -* @section: 11.8.4, 11.8.5; -* @assertion: If y is a prefix of x, return true; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.11", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.js", - -assertion: "If y is a prefix of x, return true", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x" >= "x") !== true) { - $ERROR('#1: ("x" >= "x") === true'); -} - -//CHECK#2 -if (("x" >= "") !== true) { - $ERROR('#2: ("x" >= "") === true'); -} - -//CHECK#3 -if (("abcd" >= "ab") !== true) { - $ERROR('#3: ("abcd" >= ab") === true'); -} - -//CHECK#4 -if (("abc\u0064" >= "abcd") !== true) { - $ERROR('#4: ("abc\\u0064" >= abc") === true'); -} - -//CHECK#5 -if (("x" + "y" >= "x") !== true) { - $ERROR('#5: ("x" + "y" >= "x") === true'); -} - -//CHECK#6 -var x = "x"; -if ((x + 'y' >= x) !== true) { - $ERROR('#6: var x = "x"; (x + "y" >= x) === true'); -} - -//CHECK#7 -if (("a\u0000a" >= "a\u0000") !== true) { - $ERROR('#7: ("a\\u0000a" >= "a\\u0000") === true'); -} - -//CHECK#8 -if ((" x" >= "x") !== false) { - $ERROR('#8: (" x" >= "x") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1.js deleted file mode 100644 index 36ce23590d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.12_T1; -* @section: 11.8.4, 11.8.5; -* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.12_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1.js", - -assertion: "If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("xy" >= "xx") !== true) { - $ERROR('#1: ("xy" >= "xx") === true'); -} - -//CHECK#2 -if (("xx" >= "xy") !== false) { - $ERROR('#2: ("xx" >= "xy") === false'); -} - -//CHECK#3 -if (("y" >= "x") !== true) { - $ERROR('#3: ("y" >= "x") === true'); -} - -//CHECK#4 -if (("aba" >= "aab") !== true) { - $ERROR('#4: ("aba" >= aab") === true'); -} - -//CHECK#5 -if (("\u0061\u0061\u0061\u0061" >= "\u0061\u0061\u0061\u0062") !== false) { - $ERROR('#5: ("\\u0061\\u0061\\u0061\\u0061" >= \\u0061\\u0061\\u0061\\u0062") === false'); -} - -//CHECK#6 -if (("a\u0000b" >= "a\u0000a") !== true) { - $ERROR('#6: ("a\\u0000b" >= "a\\u0000a") === true'); -} - -//CHECK#7 -if (("aa" >= "aB") !== true) { - $ERROR('#7: ("aa" >= aB") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2.js deleted file mode 100644 index 2db5a90a7b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.12_T2; -* @section: 11.8.4, 11.8.5; -* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; -* @description: x and y are string primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.12_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2.js", - -assertion: "If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values", - -description: "x and y are string primitives", - -test: function testcase() { - //CHECK#1 -if (("x" >= "0") !== true) { - $ERROR('#1: ("x" >= "0") !== true'); -} - -//CHECK#2 -if (("0" >= "-") !== true) { - $ERROR('#2: ("0" >= "-") !== true'); -} - -//CHECK#3 -if (("0" >= ".") !== true) { - $ERROR('#3: ("0" >= ".") !== true'); -} - -//CHECK#4 -if (("-" >= "+") !== true) { - $ERROR('#4: ("-" >= "+") !== true'); -} - -//CHECK#5 -if (("-1" >= "-0") !== true) { - $ERROR('#5: ("-1" >= "-0") !== true'); -} - -//CHECK#6 -if (("-1" >= "+1") !== true) { - $ERROR('#6: ("-1" >= "+1") !== true'); -} - -//CHECK#7 -if (("1e-10" >= "1") !== true) { -$ERROR('#7: ("1e-10" >= "1") !== true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.js deleted file mode 100644 index 360bff7117..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.2; -* @section: 11.8.4, 11.8.5; -* @assertion: If y is NaN, return false (if result in 11.8.5 is undefined, return false); -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.js", - -assertion: "If y is NaN, return false (if result in 11.8.5 is undefined, return false)", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 >= Number.NaN) !== false) { - $ERROR('#1: (0 >= NaN) === false'); -} - -//CHECK#2 -if ((1.1 >= Number.NaN) !== false) { - $ERROR('#2: (1.1 >= NaN) === false'); -} - -//CHECK#3 -if ((-1.1 >= Number.NaN) !== false) { - $ERROR('#3: (-1.1 >= NaN) === false'); -} - -//CHECK#4 -if ((Number.NaN >= Number.NaN) !== false) { - $ERROR('#4: (NaN >= NaN) === false'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY >= Number.NaN) !== false) { - $ERROR('#5: (+Infinity >= NaN) === false'); -} - -//CHECK#6 -if ((Number.NEGATIVE_INFINITY >= Number.NaN) !== false) { - $ERROR('#6: (-Infinity >= NaN) === false'); -} - -//CHECK#7 -if ((Number.MAX_VALUE >= Number.NaN) !== false) { - $ERROR('#7: (Number.MAX_VALUE >= NaN) === false'); -} - -//CHECK#8 -if ((Number.MIN_VALUE >= Number.NaN) !== false) { - $ERROR('#8: (Number.MIN_VALUE >= NaN) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.js deleted file mode 100644 index 46e908d972..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.3; -* @section: 11.8.4, 11.8.5; -* @assertion: If x and y are the same number value, return true; -* @description: x and y are number primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.js", - -assertion: "If x and y are the same number value, return true", - -description: "x and y are number primitives", - -test: function testcase() { - //CHECK#1 -if ((1 >= 1) !== true) { - $ERROR('#1: (1 >= 1) === true'); -} - -//CHECK#2 -if ((1.1 >= 1.1) !== true) { - $ERROR('#2: (1.1 >= 1.1) === true'); -} - -//CHECK#3 -if ((-1.1 >= -1.1) !== true) { - $ERROR('#3: (-1.1 >= -1.1) === true'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY >= Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#4: (-Infinity >= -Infinity) === true'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY >= Number.POSITIVE_INFINITY) !== true) { - $ERROR('#5: (+Infinity >= +Infinity) === true'); -} - -//CHECK#6 -if ((Number.MAX_VALUE >= Number.MAX_VALUE) !== true) { - $ERROR('#6: (Number.MAX_VALUE >= Number.MAX_VALUE) === true'); -} - -//CHECK#7 -if ((Number.MIN_VALUE >= Number.MIN_VALUE) !== true) { - $ERROR('#7: (Number.MIN_VALUE >= Number.MIN_VALUE) === true'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.js deleted file mode 100644 index 0f0674f811..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.4; -* @section: 11.8.4, 11.8.5; -* @assertion: If either x or y is +0 and the other is -0, return true; -* @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.js", - -assertion: "If either x or y is +0 and the other is -0, return true", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if ((0 >= 0) !== true) { - $ERROR('#1: (0 >= 0) === true'); -} - -//CHECK#2 -if ((-0 >= -0) !== true) { - $ERROR('#2: (-0 >= -0) === true'); -} - -//CHECK#3 -if ((+0 >= -0) !== true) { - $ERROR('#3: (+0 >= -0) === true'); -} - -//CHECK#4 -if ((-0 >= +0) !== true) { - $ERROR('#4: (-0 >= +0) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.js deleted file mode 100644 index 362bbd7d00..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.5; -* @section: 11.8.4, 11.8.5; -* @assertion: If x is +Infinity, return true; -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.5", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.js", - -assertion: "If x is +Infinity, return true", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.POSITIVE_INFINITY >= 0) !== true) { - $ERROR('#1: (+Infinity >= 0) === true'); -} - -//CHECK#2 -if ((Number.POSITIVE_INFINITY >= 1.1) !== true) { - $ERROR('#2: (+Infinity >= 1.1) === true'); -} - -//CHECK#3 -if ((Number.POSITIVE_INFINITY >= -1.1) !== true) { - $ERROR('#3: (+Infinity >= -1.1) === true'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY >= Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#4: (+Infinity >= -Infinity) === true'); -} - -//CHECK#5 -if ((Number.POSITIVE_INFINITY >= Number.MAX_VALUE) !== true) { - $ERROR('#5: (+Infinity >= Number.MAX_VALUE) === true'); -} - -//CHECK#6 -if ((Number.POSITIVE_INFINITY >= Number.MIN_VALUE) !== true) { - $ERROR('#6: (+Infinity >= Number.MIN_VALUE) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.js deleted file mode 100644 index 2309afd88a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.6; -* @section: 11.8.4, 11.8.5; -* @assertion: If y is +Infinity and x !== y, return false; -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.6", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.js", - -assertion: "If y is +Infinity and x !== y, return false", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 >= Number.POSITIVE_INFINITY) !== false) { - $ERROR('#1: (0 >= +Infinity) === false'); -} - -//CHECK#2 -if ((1.1 >= Number.POSITIVE_INFINITY) !== false) { - $ERROR('#2: (1.1 >= +Infinity) === false'); -} - -//CHECK#3 -if ((-1.1 >= Number.POSITIVE_INFINITY) !== false) { - $ERROR('#3: (-1.1 >= +Infinity) === false'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY >= Number.POSITIVE_INFINITY) !== false) { - $ERROR('#4: (-Infinity >= +Infinity) === false'); -} - -//CHECK#5 -if ((Number.MAX_VALUE >= Number.POSITIVE_INFINITY) !== false) { - $ERROR('#5: (Number.MAX_VALUE >= +Infinity) === false'); -} - -//CHECK#6 -if ((Number.MIN_VALUE >= Number.POSITIVE_INFINITY) !== false) { - $ERROR('#6: (Number.MIN_VALUE >= +Infinity) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.js deleted file mode 100644 index 5909d9ca0a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.7; -* @section: 11.8.4, 11.8.5; -* @assertion: If x is -Infinity and x !== y, return false; -* @description: y is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.7", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.js", - -assertion: "If x is -Infinity and x !== y, return false", - -description: "y is number primitive", - -test: function testcase() { - //CHECK#1 -if ((Number.NEGATIVE_INFINITY >= 0) !== false) { - $ERROR('#1: (-Infinity >= 0) === false'); -} - -//CHECK#2 -if ((Number.NEGATIVE_INFINITY >= 1.1) !== false) { - $ERROR('#2: (-Infinity >= 1.1) === false'); -} - -//CHECK#3 -if ((Number.NEGATIVE_INFINITY >= -1.1) !== false) { - $ERROR('#3: (-Infinity >= -1.1) === false'); -} - -//CHECK#4 -if ((Number.NEGATIVE_INFINITY >= Number.POSITIVE_INFINITY) !== false) { - $ERROR('#4: (-Infinity >= +Infinity) === false'); -} - -//CHECK#5 -if ((Number.NEGATIVE_INFINITY >= Number.MAX_VALUE) !== false) { - $ERROR('#5: (-Infinity >= Number.MAX_VALUE) === false'); -} - -//CHECK#6 -if ((Number.NEGATIVE_INFINITY >= Number.MIN_VALUE) !== false) { - $ERROR('#6: (-Infinity >= Number.MIN_VALUE) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.js deleted file mode 100644 index c088fa4544..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.8; -* @section: 11.8.4, 11.8.5; -* @assertion: If y is -Infinity, return true; -* @description: x is number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.8", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.js", - -assertion: "If y is -Infinity, return true", - -description: "x is number primitive", - -test: function testcase() { - //CHECK#1 -if ((0 >= Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#1: (0 >= -Infinity) === true'); -} - -//CHECK#2 -if ((1.1 >= Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#2: (1.1 >= -Infinity) === true'); -} - -//CHECK#3 -if ((-1.1 >= Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#3: (-1.1 >= -Infinity) === true'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY >= Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#4: (+Infinity >= -Infinity) === true'); -} - -//CHECK#5 -if ((Number.MAX_VALUE >= Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#5: (Number.MAX_VALUE >= -Infinity) === true'); -} - -//CHECK#6 -if ((Number.MIN_VALUE >= Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#6: (Number.MIN_VALUE >= -Infinity) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.js deleted file mode 100644 index f64d75a251..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.4_A4.9; -* @section: 11.8.4, 11.8.5; -* @assertion: If x is greater or equal than y and these values are both finite non-zero, return true; otherwise, return false; -* @description: x and y are number primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.4_A4.9", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.js", - -assertion: "If x is greater or equal than y and these values are both finite non-zero, return true; otherwise, return false", - -description: "x and y are number primitives", - -test: function testcase() { - //CHECK#1 -if ((1 >= 1.1) !== false) { - $ERROR('#1: (1 >= 1.1) === false'); -} - -//CHECK#2 -if ((1.1 >= 1) !== true) { - $ERROR('#2: (1.1 >= 1) === true'); -} - -//CHECK#3 -if ((-1 >= -1.1) !== true) { - $ERROR('#3: (-1 >= -1.1) === true'); -} - -//CHECK#4 -if ((-1.1 >= -1) !== false) { - $ERROR('#4: (-1.1 >= -1) === false'); -} - -//CHECK#5 -if ((0.1 >= 0) !== true) { - $ERROR('#5: (0.1 >= 0) === true'); -} - -//CHECK#6 -if ((0 >= -0.1) !== true) { - $ERROR('#6: (0 >= -0.1) === true'); -} - -//CHECK#7 -if ((Number.MAX_VALUE >= Number.MAX_VALUE/2) !== true) { - $ERROR('#7: (Number.MAX_VALUE >= Number.MAX_VALUE/2) === true'); -} - -//CHECK#8 -if ((Number.MIN_VALUE*2 >= Number.MIN_VALUE) !== true) { - $ERROR('#8: (Number.MIN_VALUE*2 >= Number.MIN_VALUE) === true'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.js deleted file mode 100644 index fcd706bde9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A1; -* @section: 11.8.6, 7.2, 7.3; -* @assertion: White Space and Line Terminator between RelationalExpression and "instanceof" and between "instanceof" and ShiftExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.js", - -assertion: "White Space and Line Terminator between RelationalExpression and \"instanceof\" and between \"instanceof\" and ShiftExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("({})\u0009instanceof\u0009Object") !== true) { - $ERROR('#1: ({})\\u0009instanceof\\u0009Object === true'); -} - -//CHECK#2 -if (eval("({})\u000Binstanceof\u000BObject") !== true) { - $ERROR('#2: ({})\\u000Binstanceof\\u000BObject === true'); -} - -//CHECK#3 -if (eval("({})\u000Cinstanceof\u000CObject") !== true) { - $ERROR('#3: ({})\\u000Cinstanceof\\u000CObject === true'); -} - -//CHECK#4 -if (eval("({})\u0020instanceof\u0020Object") !== true) { - $ERROR('#4: ({})\\u0020instanceof\\u0020Object === true'); -} - -//CHECK#5 -if (eval("({})\u00A0instanceof\u00A0Object") !== true) { - $ERROR('#5: ({})\\u00A0instanceof\\u00A0Object === true'); -} - -//CHECK#6 -if (eval("({})\u000Ainstanceof\u000AObject") !== true) { - $ERROR('#6: ({})\\u000Ainstanceof\\u000AObject === true'); -} - -//CHECK#7 -if (eval("({})\u000Dinstanceof\u000DObject") !== true) { - $ERROR('#7: ({})\\u000Dinstanceof\\u000DObject === true'); -} - -//CHECK#8 -if (eval("({})\u2028instanceof\u2028Object") !== true) { - $ERROR('#8: ({})\\u2028instanceof\\u2028Object === true'); -} - -//CHECK#9 -if (eval("({})\u2029instanceof\u2029Object") !== true) { - $ERROR('#9: ({})\\u2029instanceof\\u2029Object === true'); -} - -//CHECK#10 -if (eval("({})\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029instanceof\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Object") !== true) { - $ERROR('#10: ({})\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029instanceof\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Object === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.js deleted file mode 100644 index b14a9ae4af..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.6_A2.1_T1; - * @section: 11.8.6; - * @assertion: Operator "instanceof" uses GetValue; - * @description: Either Expression is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A2.1_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.js", - -assertion: "Operator \"instanceof\" uses GetValue", - -description: "Either Expression is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (({}) instanceof Object !== true) { - $ERROR('#1: ({}) instanceof Object === true'); -} - -//CHECK#2 -var object = {}; -if (object instanceof Object !== true) { - $ERROR('#2: var object = {}; object instanceof Object === true'); -} - -//CHECK#3 -var OBJECT = Object; -if (({}) instanceof OBJECT !== true) { - $ERROR('#3: var OBJECT = Object; ({}) instanceof OBJECT === true'); -} - -//CHECK#4 -var object = {}; -var OBJECT = Object; -if (object instanceof OBJECT !== true) { - $ERROR('#4: var object = {}; var OBJECT = Object; object instanceof OBJECT === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.js deleted file mode 100644 index ef96c78238..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A2.1_T2; -* @section: 11.8.6; -* @assertion: Operator "instanceof" uses GetValue; -* @description: If GetBase(RelationalExpression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A2.1_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.js", - -assertion: "Operator \"instanceof\" uses GetValue", - -description: "If GetBase(RelationalExpression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - object instanceof Object; - $ERROR('#1.1: object instanceof Object throw ReferenceError. Actual: ' + (object instanceof Object)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: object instanceof Object throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.js deleted file mode 100644 index e0b7c08acd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A2.1_T3; -* @section: 11.8.6; -* @assertion: Operator "instanceof" uses GetValue; -* @description: If GetBase(ShiftExpression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A2.1_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.js", - -assertion: "Operator \"instanceof\" uses GetValue", - -description: "If GetBase(ShiftExpression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - ({}) instanceof OBJECT; - $ERROR('#1.1: ({}) instanceof OBJECT throw ReferenceError. Actual: ' + (({}) instanceof OBJECT)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: ({}) instanceof OBJECT throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.js deleted file mode 100644 index 03eac0b6e8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.6_A2.4_T1; - * @section: 11.8.6; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A2.4_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var OBJECT = 0; -if ((OBJECT = Object, {}) instanceof OBJECT !== true) { - $ERROR('#1: var OBJECT = 0; (OBJECT = Object, {}) instanceof OBJECT === true'); -} - -//CHECK#2 -var object = {}; -if (object instanceof (object = 0, Object) !== true) { - $ERROR('#2: var object = {}; object instanceof (object = 0, Object) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.js deleted file mode 100644 index 3f99c164e1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.6_A2.4_T2; - * @section: 11.8.6; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A2.4_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() instanceof y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() instanceof y() throw "x". Actual: ' + (x() instanceof y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() instanceof y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.js deleted file mode 100644 index d42e5c7b6d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.6_A2.4_T3; - * @section: 11.8.6; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A2.4_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - object instanceof (object = {}, Object); - $ERROR('#1.1: object instanceof (object = {}, Object) throw ReferenceError. Actual: ' + (object instanceof (object = {}, Object))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: object instanceof (object = {}, Object) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((OBJECT = Object, {}) instanceof OBJECT !== true) { - $ERROR('#2: (OBJECT = Object, {}) instanceof OBJECT !== true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.js deleted file mode 100644 index a88212ebce..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A3; -* @section: 11.8.6; -* @assertion: If ShiftExpression is not an object, throw TypeError; -* @description: Checking all the types of primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.js", - -assertion: "If ShiftExpression is not an object, throw TypeError", - -description: "Checking all the types of primitives", - -test: function testcase() { - //CHECK#1 -try { - true instanceof true; - $ERROR('#1: true instanceof true throw TypeError'); -} -catch (e) { - if (e instanceof TypeError !== true) { - $ERROR('#1: true instanceof true throw TypeError'); - } -} - -//CHECK#2 -try { - 1 instanceof 1; - $ERROR('#2: 1 instanceof 1 throw TypeError'); -} -catch (e) { - if (e instanceof TypeError !== true) { - $ERROR('#2: 1 instanceof 1 throw TypeError'); - } -} - -//CHECK#3 -try { - "string" instanceof "string"; - $ERROR('#3: "string" instanceof "string" throw TypeError'); -} -catch (e) { - if (e instanceof TypeError !== true) { - $ERROR('#3: "string" instanceof "string" throw TypeError'); - } -} - -//CHECK#4 -try { - undefined instanceof undefined; - $ERROR('#4: undefined instanceof undefined throw TypeError'); -} -catch (e) { - if (e instanceof TypeError !== true) { - $ERROR('#4: undefined instanceof undefined throw TypeError'); - } -} - -//CHECK#5 -try { - null instanceof null; - $ERROR('#5: null instanceof null throw TypeError'); -} -catch (e) { - if (e instanceof TypeError !== true) { - $ERROR('#5: null instanceof null throw TypeError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.js deleted file mode 100644 index 299e36f30d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A4_T1; -* @section: 11.8.6; -* @assertion: Only constructor call (with "new" keyword) makes instance; -* @description: Checking Boolean case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A4_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.js", - -assertion: "Only constructor call (with \"new\" keyword) makes instance", - -description: "Checking Boolean case", - -test: function testcase() { - //CHECK#1 -if (false instanceof Boolean) { - $ERROR('#1: false is not instanceof Boolean'); -} - -//CHECK#2 -if (Boolean(false) instanceof Boolean) { - $ERROR('#2: Boolean(false) is not instanceof Boolean'); -} - -//CHECK#3 -if (new Boolean instanceof Boolean !== true) { - $ERROR('#3: new Boolean instanceof Boolean'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.js deleted file mode 100644 index de50cb9fa8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A4_T2; -* @section: 11.8.6; -* @assertion: Only constructor call (with "new" keyword) makes instance; -* @description: Checking Number case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A4_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.js", - -assertion: "Only constructor call (with \"new\" keyword) makes instance", - -description: "Checking Number case", - -test: function testcase() { - //CHECK#1 -if (0 instanceof Number) { - $ERROR('#1: 0 is not instanceof Number'); -} - -//CHECK#2 -if (Number(0) instanceof Number) { - $ERROR('#2: Number(0) is not instanceof Number'); -} - -//CHECK#3 -if (new Number instanceof Number !== true) { - $ERROR('#3: new Number instanceof Number'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.js deleted file mode 100644 index c7eb2ccaab..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A4_T3; -* @section: 11.8.6; -* @assertion: Only constructor call (with "new" keyword) makes instance; -* @description: Checking String case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A4_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.js", - -assertion: "Only constructor call (with \"new\" keyword) makes instance", - -description: "Checking String case", - -test: function testcase() { - //CHECK#1 -if ("" instanceof String) { - $ERROR('#1: "" is not instanceof String'); -} - -//CHECK#2 -if (String("") instanceof String) { - $ERROR('#2: String("") is not instanceof String'); -} - -//CHECK#3 -if (new String instanceof String !== true) { - $ERROR('#3: new String instanceof String'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.js deleted file mode 100644 index ec3547ece2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A5_T1; -* @section: 11.8.6; -* @assertion: TypeError is subclass of Error from instanceof operator point of view; -* @description: Checking Error case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A5_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.js", - -assertion: "TypeError is subclass of Error from instanceof operator point of view", - -description: "Checking Error case", - -test: function testcase() { - var __err = new Error; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__err instanceof Error)) { - $ERROR('#1: TypeError is subclass of Error from instanceof operator poit of view'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__err instanceof TypeError) { - $ERROR('#2: TypeError is subclass of Error from instanceof operator poit of view'); -} -// -////////////////////////////////////////////////////////////////////////////// - -var err__ = Error('failed'); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (!(err__ instanceof Error)) { - $ERROR('#3: TypeError is subclass of Error from instanceof operator poit of view'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (err__ instanceof TypeError) { - $ERROR('#4: TypeError is subclass of Error from instanceof operator poit of view'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js deleted file mode 100644 index 2f249b247e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A5_T2; -* @section: 11.8.6; -* @assertion: TypeError is subclass of Error from instanceof operator point of view; -* @description: Checking TypeError case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A5_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js", - -assertion: "TypeError is subclass of Error from instanceof operator point of view", - -description: "Checking TypeError case", - -test: function testcase() { - var __t__err = new TypeError; - -//CHECK#1 -if (!(__t__err instanceof Error)) { - $ERROR('#1: TypeError is subclass of Error from instanceof operator poit of view'); -} - -//CHECK#2 -if (!(__t__err instanceof TypeError)) { - $ERROR('#2: TypeError is subclass of Error from instanceof operator poit of view'); -} - -////////////////////////////////////////////////////////////////////////////// -var err__t__ = TypeError('failed'); - -//CHECK#3 -if (!(err__t__ instanceof Error)) { - $ERROR('#3: TypeError is subclass of Error from instanceof operator poit of view'); -} - -//CHECK#4 -if (!(err__t__ instanceof TypeError)) { - $ERROR('#4: TypeError is subclass of Error from instanceof operator poit of view'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.js deleted file mode 100644 index 40a3fcdac2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A6_T1; -* @section: 11.8.6; -* @assertion: Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently -* @description: Checking "this" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A6_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.js", - -assertion: "Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the \"instanceof\" operator consequently", - -description: "Checking \"this\" case", - -test: function testcase() { - //CHECK#1 -try{ - ({}) instanceof this; - $ERROR('#1: Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); -} -catch(e){ - if (e instanceof TypeError !== true) { - $ERROR('#1: Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.js deleted file mode 100644 index 41d3bb860f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A6_T2; -* @section: 11.8.6; -* @assertion: Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently; -* @description: Checking Math case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A6_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.js", - -assertion: "Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the \"instanceof\" operator consequently", - -description: "Checking Math case", - -test: function testcase() { - //CHECK#1 -try{ - 1 instanceof Math; - $ERROR('#1: 1 instanceof Math throw TypeError'); -} -catch(e){ - if (e instanceof TypeError !== true) { - $ERROR('#1: 1 instanceof Math throw TypeError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.js deleted file mode 100644 index ae23f5d5e4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A6_T3; -* @section: 11.8.6; -* @assertion: Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently; -* @description: Checking if RelationalExpression is function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A6_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.js", - -assertion: "Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the \"instanceof\" operator consequently", - -description: "Checking if RelationalExpression is function", - -test: function testcase() { - function MyFunct(){return 0}; - -//CHECK#1 -if (MyFunct instanceof MyFunct){ - $ERROR('#1 function MyFunct(){return 0}; MyFunct instanceof MyFunct === false'); -} - -//CHECK#2 -if (MyFunct instanceof Function !== true){ - $ERROR('#2 function MyFunct(){return 0}; MyFunct instanceof Function === true'); -} - -//CHECK#3 -if (MyFunct instanceof Object !== true){ - $ERROR('#3 function MyFunct(){return 0}; MyFunct instanceof Object === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.js deleted file mode 100644 index 95d7ab7d8a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A6_T4; -* @section: 11.8.6; -* @assertion: Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently; -* @description: Checking if RelationalExpression is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A6_T4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.js", - -assertion: "Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the \"instanceof\" operator consequently", - -description: "Checking if RelationalExpression is object", - -test: function testcase() { - MyFunct = function(){}; -__my__funct = new MyFunct; - - -//CHECK#1 -if (!(__my__funct instanceof MyFunct)){ - $ERROR('#1 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); -} - -//CHECK#2 -if (__my__funct instanceof Function){ - $ERROR('#2 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); -} - -//CHECK#3 -if (!(__my__funct instanceof Object)){ - $ERROR('#3 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); -} - -//CHECK#4 -try{ - __my__funct instanceof __my__funct; - $ERROR('#4 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); -} -catch(e){ - if (e instanceof TypeError !== true) { - $ERROR('#4 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.js deleted file mode 100644 index da1ee598e1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A7_T1; -* @section: 11.8.6; -* @assertion: When "instanceof" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression; -* @description: Checking Object object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A7_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.js", - -assertion: "When \"instanceof\" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression", - -description: "Checking Object object", - -test: function testcase() { - var __obj={}; - -//CHECK#1 -if (!(__obj instanceof Object)) { - $ERROR('#1: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); -} - -//CHECK#2 -if (__obj.constructor !== Object) { - $ERROR('#2: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.js deleted file mode 100644 index fc0d857027..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A7_T2; -* @section: 11.8.6; -* @assertion: When "instanceof" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression; -* @description: Checking Array object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A7_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.js", - -assertion: "When \"instanceof\" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression", - -description: "Checking Array object", - -test: function testcase() { - var __arr=[]; - -//CHECK#1 -if (!(__arr instanceof Array)) { - $ERROR('#1: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); -} - -//CHECK#2 -if (__arr.constructor !== Array) { - $ERROR('#2: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.js deleted file mode 100644 index e287c4013c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.6_A7_T3; -* @section: 11.8.6; -* @assertion: When "instanceof" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression; -* @description: Checking Function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.6_A7_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.js", - -assertion: "When \"instanceof\" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression", - -description: "Checking Function object", - -test: function testcase() { - var __func = new Function; - -//CHECK#1 -if (!(__func instanceof Function)) { - $ERROR('#1: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); -} - -//CHECK#2 -if (__func.constructor !== Function) { - $ERROR('#2: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.js deleted file mode 100644 index fe2a6f7741..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.7_A1; -* @section: 11.8.7, 7.2, 7.3; -* @assertion: White Space and Line Terminator between RelationalExpression and "in" and between "in" and ShiftExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.7_A1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.js", - -assertion: "White Space and Line Terminator between RelationalExpression and \"in\" and between \"in\" and ShiftExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("'MAX_VALUE'\u0009in\u0009Number") !== true) { - $ERROR('#1: "MAX_VALUE"\\u0009in\\u0009Number === true'); -} - -//CHECK#2 -if (eval("'MAX_VALUE'\u000Bin\u000BNumber") !== true) { - $ERROR('#2: "MAX_VALUE"\\u000Bin\\u000BNumber === true'); -} - -//CHECK#3 -if (eval("'MAX_VALUE'\u000Cin\u000CNumber") !== true) { - $ERROR('#3: "MAX_VALUE"\\u000Cin\\u000CNumber === true'); -} - -//CHECK#4 -if (eval("'MAX_VALUE'\u0020in\u0020Number") !== true) { - $ERROR('#4: "MAX_VALUE"\\u0020in\\u0020Number === true'); -} - -//CHECK#5 -if (eval("'MAX_VALUE'\u00A0in\u00A0Number") !== true) { - $ERROR('#5: "MAX_VALUE"\\u00A0in\\u00A0Number === true'); -} - -//CHECK#6 -if (eval("'MAX_VALUE'\u000Ain\u000ANumber") !== true) { - $ERROR('#6: "MAX_VALUE"\\u000Ain\\u000ANumber === true'); -} - -//CHECK#7 -if (eval("'MAX_VALUE'\u000Din\u000DNumber") !== true) { - $ERROR('#7: "MAX_VALUE"\\u000Din\\u000DNumber === true'); -} - -//CHECK#8 -if (eval("'MAX_VALUE'\u2028in\u2028Number") !== true) { - $ERROR('#8: "MAX_VALUE"\\u2028in\\u2028Number === true'); -} - -//CHECK#9 -if (eval("'MAX_VALUE'\u2029in\u2029Number") !== true) { - $ERROR('#9: "MAX_VALUE"\\u2029in\\u2029Number === true'); -} - -//CHECK#10 -if (eval("'MAX_VALUE'\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029in\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Number") !== true) { - $ERROR('#10: "MAX_VALUE"\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029in\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Number === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.js deleted file mode 100644 index 1cc6ba5bfe..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.7_A2.1_T1; - * @section: 11.8.7; - * @assertion: Operator "in" uses GetValue; - * @description: Either Expression is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.7_A2.1_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.js", - -assertion: "Operator \"in\" uses GetValue", - -description: "Either Expression is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ("MAX_VALUE" in Number !== true) { - $ERROR('#1: "MAX_VALUE" in Number === true'); -} - -//CHECK#2 -var x = "MAX_VALUE"; -if (x in Number !== true) { - $ERROR('#2: var x = "MAX_VALUE"; x in Number === true'); -} - -//CHECK#3 -var y = Number; -if ("MAX_VALUE" in y !== true) { - $ERROR('#3: var y = Number; "MAX_VALUE" in y === true'); -} - -//CHECK#4 -var x = "MAX_VALUE"; -var y = Number; -if (x in y !== true) { - $ERROR('#4: var x = "MAX_VALUE"; var y = Number; x in y === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.js deleted file mode 100644 index 1d5bef89b3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.7_A2.1_T2; -* @section: 11.8.7; -* @assertion: Operator "in" uses GetValue; -* @description: If GetBase(RelationalExpression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.7_A2.1_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.js", - -assertion: "Operator \"in\" uses GetValue", - -description: "If GetBase(RelationalExpression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - MAX_VALUE in Number; - $ERROR('#1.1: MAX_VALUE in Number throw ReferenceError. Actual: ' + (MAX_VALUE in Number)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: MAX_VALUE in Number throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.js deleted file mode 100644 index 57ac7bb810..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.7_A2.1_T3; -* @section: 11.8.7; -* @assertion: Operator "in" uses GetValue; -* @description: If GetBase(ShiftExpression) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.7_A2.1_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.js", - -assertion: "Operator \"in\" uses GetValue", - -description: "If GetBase(ShiftExpression) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - "MAX_VALUE" in NUMBER; - $ERROR('#1.1: "MAX_VALUE" in NUMBER throw ReferenceError. Actual: ' + ("MAX_VALUE" in NUMBER)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: "MAX_VALUE" in NUMBER throw ReferenceError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.js deleted file mode 100644 index 093f3d3510..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.7_A2.4_T1; - * @section: 11.8.7; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.7_A2.4_T1", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var NUMBER = 0; -if ((NUMBER = Number, "MAX_VALUE") in NUMBER !== true) { - $ERROR('#1: var NUMBER = 0; (NUMBER = Number, "MAX_VALUE") in NUMBER === true'); -} - -//CHECK#2 -var max_value = "MAX_VALUE"; -if (max_value in (max_value = "none", Number) !== true) { - $ERROR('#2: var max_value = "MAX_VALUE"; max_value in (max_value = "none", Number) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.js deleted file mode 100644 index 6ed3831ada..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.7_A2.4_T2; - * @section: 11.8.7; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.7_A2.4_T2", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() in y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() in y() throw "x". Actual: ' + (x() in y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() in y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.js deleted file mode 100644 index 74e52f9083..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.8.7_A2.4_T3; - * @section: 11.8.7; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.7_A2.4_T3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - max_value in (max_value = "MAX_VALUE", Number); - $ERROR('#1.1: max_value in (max_value = "MAX_VALUE", Number) throw ReferenceError. Actual: ' + (max_value in (max_value = "MAX_VALUE", Number))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: max_value in (max_value = "MAX_VALUE", Number) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((NUMBER = Number, "MAX_VALUE") in NUMBER !== true) { - $ERROR('#2: (NUMBER = Number, "MAX_VALUE") in NUMBER !== true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.js deleted file mode 100644 index bf6754c07e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.7_A3; -* @section: 11.8.7; -* @assertion: If ShiftExpression is not an object, throw TypeError; -* @description: Checking all the types of primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.7_A3", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.js", - -assertion: "If ShiftExpression is not an object, throw TypeError", - -description: "Checking all the types of primitives", - -test: function testcase() { - //CHECK#1 -try { - "toString" in true; - $ERROR('#1: "toString" in true throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1: "toString" in true throw TypeError'); - } -} - -//CHECK#2 -try { - "MAX_VALUE" in 1; - $ERROR('#2: "MAX_VALUE" in 1 throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2: "MAX_VALUE" in 1 throw TypeError'); - } -} - -//CHECK#3 -try { - "length" in "string"; - $ERROR('#3: "length" in "string" throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#3: "length" in "string" throw TypeError'); - } -} - -//CHECK#4 -try { - "toString" in undefined; - $ERROR('#4: "toString" in undefined throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#4: "toString" in undefined throw TypeError'); - } -} - -//CHECK#5 -try { - "toString" in null; - $ERROR('#5: "toString" in null throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#5: "toString" in null throw TypeError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.js deleted file mode 100644 index c0a4f8347a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.8.7_A4; -* @section: 11.8.7, 9.8; -* @assertion: Operator "in" calls ToString(ShiftExpression); -* @description: Checking ToString coversion;; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.8.7_A4", - -path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.js", - -assertion: "Operator \"in\" calls ToString(ShiftExpression)", - -description: "Checking ToString coversion", - -test: function testcase() { - //CHECK#1 -var object = {}; -object["true"] = 1; -if (true in object !== "true" in object) { - $ERROR('#1: "var object = {}; object["true"] = 1; true in object === "true" in object'); -} - -//CHECK#2 -var object = {}; -object.Infinity = 1; -if (Infinity in object !== "Infinity" in object) { - $ERROR('#2: "var object = {}; object.Infinity = 1; Infinity in object === "Infinity" in object'); -} - -//CHECK#4 -var object = {}; -object.undefined = 1; -if (undefined in object !== "undefined" in object) { - $ERROR('#4: "var object = {}; object.undefined = 1; undefined in object === "undefined" in object'); -} - -//CHECK#5 -var object = {}; -object["null"] = 1; -if (null in object !== "null" in object) { - $ERROR('#5: "var object = {}; object["null"] = 1; null in object === "null" in object'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.js deleted file mode 100644 index a6c8723097..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.9.1_A1; -* @section: 11.9.1, 7.2, 7.3; -* @assertion: White Space and Line Terminator between EqualityExpression and "==" or between "==" and RelationalExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.js", - -assertion: "White Space and Line Terminator between EqualityExpression and \"==\" or between \"==\" and RelationalExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("true\u0009==\u00091") !== true) { - $ERROR('#1: (true\\u0009==\\u00091) === true'); -} - -//CHECK#2 -if (eval("true\u000B==\u000B1") !== true) { - $ERROR('#2: (true\\u000B==\\u000B1) === true'); -} - -//CHECK#3 -if (eval("true\u000C==\u000C1") !== true) { - $ERROR('#3: (true\\u000C==\\u000C1) === true'); -} - -//CHECK#4 -if (eval("true\u0020==\u00201") !== true) { - $ERROR('#4: (true\\u0020==\\u00201) === true'); -} - -//CHECK#5 -if (eval("true\u00A0==\u00A01") !== true) { - $ERROR('#5: (true\\u00A0==\\u00A01) === true'); -} - -//CHECK#6 -if (eval("true\u000A==\u000A1") !== true) { - $ERROR('#6: (true\\u000A==\\u000A1) === true'); -} - -//CHECK#7 -if (eval("true\u000D==\u000D1") !== true) { - $ERROR('#7: (true\\u000D==\\u000D1) === true'); -} - -//CHECK#8 -if (eval("true\u2028==\u20281") !== true) { - $ERROR('#8: (true\\u2028==\\u20281) === true'); -} - -//CHECK#9 -if (eval("true\u2029==\u20291") !== true) { - $ERROR('#9: (true\\u2029==\\u20291) === true'); -} - -//CHECK#10 -if (eval("true\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029==\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) { - $ERROR('#10: (true\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029==\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.js deleted file mode 100644 index 103a01c0c4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A2.1_T1; - * @section: 11.9.1; - * @assertion: Operator x == y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A2.1_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.js", - -assertion: "Operator x == y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ((1 == 1) !== true) { - $ERROR('#1: (1 == 1) === true'); -} - -//CHECK#2 -var x = 1; -if ((x == 1) !== true) { - $ERROR('#2: var x = 1; (x == 1) === true'); -} - -//CHECK#3 -var y = 1; -if ((1 == y) !== true) { - $ERROR('#3: var y = 1; (1 == y) === true'); -} - -//CHECK#4 -var x = 1; -var y = 1; -if ((x == y) !== true) { - $ERROR('#4: var x = 1; var y = 1; (x == y) === true'); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if ((objectx.prop == objecty.prop) !== true) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop == objecty.prop) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.js deleted file mode 100644 index 3f7b79348e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A2.1_T2; - * @section: 11.9.1; - * @assertion: Operator x == y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A2.1_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.js", - -assertion: "Operator x == y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x == 1; - $ERROR('#1.1: x == 1 throw ReferenceError. Actual: ' + (x == 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x == 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.js deleted file mode 100644 index 32db324bef..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A2.1_T3; - * @section: 11.9.1; - * @assertion: Operator x == y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A2.1_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.js", - -assertion: "Operator x == y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 == y; - $ERROR('#1.1: 1 == y throw ReferenceError. Actual: ' + (1 == y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 == y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.js deleted file mode 100644 index 34ee835cfc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A2.4_T1; - * @section: 11.9.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A2.4_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if (((x = 1) == x) !== true) { - $ERROR('#1: var x = 0; ((x = 1) == x) === true'); -} - -//CHECK#2 -var x = 0; -if ((x == (x = 1)) !== false) { - $ERROR('#2: var x = 0; (x == (x = 1)) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.js deleted file mode 100644 index 40e464a657..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A2.4_T2; - * @section: 11.9.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A2.4_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() == y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() == y() throw "x". Actual: ' + (x() == y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() == y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.js deleted file mode 100644 index e3de8b7857..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A2.4_T3; - * @section: 11.9.1; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A2.4_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x == (x = 1); - $ERROR('#1.1: x == (x = 1) throw ReferenceError. Actual: ' + (x == (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x == (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if (((y = 1) == y) !== true) { - $ERROR('#2: ((y = 1) == y) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.js deleted file mode 100644 index 9eb35c49c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A3.1; - * @section: 11.9.1, 11.9.3; - * @assertion: Return true, if x and y are both true or both false; otherwise, return false; - * @description: x and y are boolean primitives; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A3.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.js", - -assertion: "Return true, if x and y are both true or both false; otherwise, return false", - -description: "x and y are boolean primitives", - -test: function testcase() { - //CHECK#1 -if ((true == true) !== true) { - $ERROR('#1: (true == true) === true'); -} - -//CHECK#2 -if ((false == false) !== true) { - $ERROR('#2: (false == false) === true'); -} - -//CHECK#3 -if ((true == false) !== false) { - $ERROR('#3: (true == false) === false'); -} - -//CHECK#4 -if ((false == true) !== false) { - $ERROR('#4: (false == true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.js deleted file mode 100644 index a8e53cd5e6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A3.2; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is Boolean and Type(y) is Number, - * return the result of comparison ToNumber(x) == y; - * @description: x is primitive boolean, y is primitive number; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A3.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.js", - -assertion: "If Type(x) is Boolean and Type(y) is Number,", - -description: "x is primitive boolean, y is primitive number", - -test: function testcase() { - //CHECK#1 -if ((true == 1) !== true) { - $ERROR('#1: (true == 1) === true'); -} - -//CHECK#2 -if ((false == "0") !== true) { - $ERROR('#2: (false == "0") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.js deleted file mode 100644 index 9edcae9a08..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A3.3; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(y) is Number and Type(y) is Boolean, - * return the result of comparison x == ToNumber(y); - * @description: x is primitive number, y is primitive boolean; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A3.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.js", - -assertion: "If Type(y) is Number and Type(y) is Boolean,", - -description: "x is primitive number, y is primitive boolean", - -test: function testcase() { - //CHECK#1 -if ((0 == false) !== true) { - $ERROR('#1: (0 == false) === true'); -} - -//CHECK#2 -if (("1" == true) !== true) { - $ERROR('#2: ("1" == true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.js deleted file mode 100644 index 2c21338674..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A4.1_T1; - * @section: 11.9.1, 11.9.3; - * @assertion: If x or y is NaN, return false; - * @description: x is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A4.1_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.js", - -assertion: "If x or y is NaN, return false", - -description: "x is NaN", - -test: function testcase() { - //CHECK#1 -if ((Number.NaN == true) !== false) { - $ERROR('#1: (NaN == true) === false'); -} - -//CHECK#2 -if ((Number.NaN == 1) !== false) { - $ERROR('#2: (NaN == 1) === false'); -} - -//CHECK#3 -if ((Number.NaN == Number.NaN) !== false) { - $ERROR('#3: (NaN == NaN) === false'); -} - -//CHECK#4 -if ((Number.NaN == Number.POSITIVE_INFINITY) !== false) { - $ERROR('#4: (NaN == +Infinity) === false'); -} - -//CHECK#5 -if ((Number.NaN == Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#5: (NaN == -Infinity) === false'); -} - -//CHECK#6 -if ((Number.NaN == Number.MAX_VALUE) !== false) { - $ERROR('#6: (NaN == Number.MAX_VALUE) === false'); -} - -//CHECK#7 -if ((Number.NaN == Number.MIN_VALUE) !== false) { - $ERROR('#7: (NaN == Number.MIN_VALUE) === false'); -} - -//CHECK#8 -if ((Number.NaN == "string") !== false) { - $ERROR('#8: (NaN == "string") === false'); -} - -//CHECK#9 -if ((Number.NaN == new Object()) !== false) { - $ERROR('#9: (NaN == new Object()) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.js deleted file mode 100644 index e637c9c2f1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A4.1_T2; - * @section: 11.9.1, 11.9.3; - * @assertion: If x or y is NaN, return false; - * @description: y is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A4.1_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.js", - -assertion: "If x or y is NaN, return false", - -description: "y is NaN", - -test: function testcase() { - //CHECK#1 -if ((true == Number.NaN) !== false) { - $ERROR('#1: (true == NaN) === false'); -} - -//CHECK#2 -if ((-1 == Number.NaN) !== false) { - $ERROR('#2: (-1 == NaN) === false'); -} - -//CHECK#3 -if ((Number.NaN == Number.NaN) !== false) { - $ERROR('#3: (NaN == NaN) === false'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY == Number.NaN) !== false) { - $ERROR('#4: (+Infinity == NaN) === false'); -} - -//CHECK#5 -if ((Number.NEGATIVE_INFINITY == Number.NaN) !== false) { - $ERROR('#5: (-Infinity == NaN) === false'); -} - -//CHECK#6 -if ((Number.MAX_VALUE == Number.NaN) !== false) { - $ERROR('#6: (Number.MAX_VALUE == NaN) === false'); -} - -//CHECK#7 -if ((Number.MIN_VALUE == Number.NaN) !== false) { - $ERROR('#7: (Number.MIN_VALUE == NaN) === false'); -} - -//CHECK#8 -if (("string" == Number.NaN) !== false) { - $ERROR('#8: ("string" == NaN) === false'); -} - -//CHECK#9 -if ((new Object() == Number.NaN) !== false) { - $ERROR('#9: (new Object() == NaN) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.js deleted file mode 100644 index 13a8448f81..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A4.2; - * @section: 11.9.1, 11.9.3; - * @assertion: If x is +0(-0) and y is -0(+0), return true; - * @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A4.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.js", - -assertion: "If x is +0(-0) and y is -0(+0), return true", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if ((+0 == -0) !== true) { - $ERROR('#1: (+0 == -0) === true'); -} - -//CHECK#2 -if ((-0 == +0) !== true) { - $ERROR('#2: (-0 == +0) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.js deleted file mode 100644 index 6c2800a78c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A4.3; - * @section: 11.9.1, 11.9.3; - * @assertion: Type(x) and Type(y) are Number-s minus NaN, +0, -0. - * Return true, if x is the same number value as y; otherwise, return false; - * @description: x and y are primitive numbers; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A4.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.js", - -assertion: "Type(x) and Type(y) are Number-s minus NaN, +0, -0.", - -description: "x and y are primitive numbers", - -test: function testcase() { - //CHECK#1 -if ((Number.POSITIVE_INFINITY == Number.POSITIVE_INFINITY) !== true) { - $ERROR('#1: (+Infinity == +Infinity) === true'); -} - -//CHECK#2 -if ((Number.NEGATIVE_INFINITY == Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#2: (-Infinity == -Infinity) === true'); -} - -//CHECK#3 -if ((Number.POSITIVE_INFINITY == -Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#3: (+Infinity == -(-Infinity)) === true'); -} - -//CHECK#4 -if ((1 == 0.999999999999) !== false) { - $ERROR('#4: (1 == 0.999999999999) === false'); -} - -//CHECK#5 -if ((1.0 == 1) !== true) { - $ERROR('#5: (1.0 == 1) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.js deleted file mode 100644 index e9551a7667..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A5.1; - * @section: 11.9.1, 11.9.3; - * @assertion: Type(x) and Type(y) are String-s. - * Return true, if x and y are exactly the same sequence of characters; otherwise, return false; - * @description: x and y are primitive string; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A5.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.js", - -assertion: "Type(x) and Type(y) are String-s.", - -description: "x and y are primitive string", - -test: function testcase() { - //CHECK#1 -if (("" == "") !== true) { - $ERROR('#1: ("" == "") === true'); -} - -//CHECK#2 -if ((" " == " ") !== true) { - $ERROR('#2: " (" == " ") === true'); -} - -//CHECK#3 -if ((" " == "") !== false) { - $ERROR('#3: " (" == "") === false'); -} - -//CHECK#4 -if (("string" == "string") !== true) { - $ERROR('#4: ("string" == "string") === true'); -} - -//CHECK#5 -if ((" string" == "string ") !== false) { - $ERROR('#5: (" string" == "string ") === false'); -} - -//CHECK#6 -if (("1.0" == "1") !== false) { - $ERROR('#6: ("1.0" == "1") === false'); -} - -//CHECK#7 -if (("0xff" == "255") !== false) { - $ERROR('#7: ("0xff" == "255") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.js deleted file mode 100644 index 3c4d2b616e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A5.2; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is Number and Type(y) is String, - * return the result of comparison x == ToNumber(y); - * @description: x is primitive number, y is primitive string; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A5.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.js", - -assertion: "If Type(x) is Number and Type(y) is String,", - -description: "x is primitive number, y is primitive string", - -test: function testcase() { - //CHECK#1 -if ((1 == "1") !== true) { - $ERROR('#1: (1 == "1") === true'); -} - -//CHECK#2 -if ((1.100 == "+1.10") !== true) { - $ERROR('#2: (1.100 == "+1.10") === true'); -} - -//CHECK#3 -if ((1 == "true") !== false) { - $ERROR('#3: (1 == "true") === false'); -} - -//CHECK#4 -if ((255 == "0xff") !== true) { - $ERROR('#4: (255 == "0xff") === true'); -} - -//CHECK#5 -if ((0 == "") !== true) { - $ERROR('#5: (0 == "") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.js deleted file mode 100644 index e008d84299..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A5.3; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is String and Type(y) is Number, - * return the result of comparison ToNumber(x) == y; - * @description: x is primitive string, y is primitive number; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A5.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.js", - -assertion: "If Type(x) is String and Type(y) is Number,", - -description: "x is primitive string, y is primitive number", - -test: function testcase() { - //CHECK#1 -if (("-1" == -1) !== true) { - $ERROR('#1: ("-1" == -1) === true'); -} - -//CHECK#2 -if (("-1.100" == -1.10) !== true) { - $ERROR('#2: ("-1.100" == -1.10) === true'); -} - -//CHECK#3 -if (("false" == 0) !== false) { - $ERROR('#3: ("false" == 0) === false'); -} - -//CHECK#4 -if (("5e-324" == 5e-324) !== true) { - $ERROR('#4: ("5e-324" == 5e-324) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.js deleted file mode 100644 index 200b81f237..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A6.1; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) as well as Type(y) is undefined or null, return true; - * @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A6.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.js", - -assertion: "If Type(x) as well as Type(y) is undefined or null, return true", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if ((undefined == undefined) !== true) { - $ERROR('#1: (undefined == undefined) === true'); -} - -//CHECK#2 -if ((void 0 == undefined) !== true) { - $ERROR('#2: (void 0 == undefined) === true'); -} - -//CHECK#3 -if ((undefined == eval("var x")) !== true) { - $ERROR('#3: (undefined == eval("var x")) === true'); -} - -//CHECK#4 -if ((undefined == null) !== true) { - $ERROR('#4: (undefined == null) === true'); -} - -//CHECK#5 -if ((null == void 0) !== true) { - $ERROR('#5: (null == void 0) === true'); -} - -//CHECK#6 -if ((null == null) !== true) { - $ERROR('#6: (null == null) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.js deleted file mode 100644 index b165908b77..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A6.2_T1; - * @section: 11.9.1, 11.9.3; - * @assertion: If one expression is undefined or null and another is not, return false; - * @description: x is null or undefined, y is not; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A6.2_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.js", - -assertion: "If one expression is undefined or null and another is not, return false", - -description: "x is null or undefined, y is not", - -test: function testcase() { - //CHECK#1 -if ((undefined == true) !== false) { - $ERROR('#1: (undefined == true) === false'); -} - -//CHECK#2 -if ((undefined == 0) !== false) { - $ERROR('#2: (undefined == 0) === false'); -} - -//CHECK#3 -if ((undefined == "undefined") !== false) { - $ERROR('#3: (undefined == "undefined") === false'); -} - -//CHECK#4 -if ((undefined == {}) !== false) { - $ERROR('#4: (undefined == {}) === false'); -} - -//CHECK#5 -if ((null == false) !== false) { - $ERROR('#5: (null == false) === false'); -} - -//CHECK#6 -if ((null == 0) !== false) { - $ERROR('#6: (null == 0) === false'); -} - -//CHECK#7 -if ((null == "null") !== false) { - $ERROR('#7: (null == "null") === false'); -} - -//CHECK#8 -if ((null == {}) !== false) { - $ERROR('#8: (null == {}) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.js deleted file mode 100644 index e8187e198b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A6.2_T2; - * @section: 11.9.1, 11.9.3; -* @assertion: If one expression is undefined or null and another is not, return false; - * @description: y is null or undefined, x is not; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A6.2_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.js", - -assertion: "If one expression is undefined or null and another is not, return false", - -description: "y is null or undefined, x is not", - -test: function testcase() { - //CHECK#1 -if ((false == undefined) !== false) { - $ERROR('#1: (false == undefined) === false'); -} - -//CHECK#2 -if ((Number.NaN == undefined) !== false) { - $ERROR('#2: (Number.NaN == undefined) === false'); -} - -//CHECK#3 -if (("undefined" == undefined) !== false) { - $ERROR('#3: ("undefined" == undefined) === false'); -} - -//CHECK#4 -if (({} == undefined) !== false) { - $ERROR('#4: ({} == undefined) === false'); -} - -//CHECK#5 -if ((false == null) !== false) { - $ERROR('#5: (false == null) === false'); -} - -//CHECK#6 -if ((0 == null) !== false) { - $ERROR('#6: (0 == null) === false'); -} - -//CHECK#7 -if (("null" == null) !== false) { - $ERROR('#7: ("null" == null) === false'); -} - -//CHECK#8 -if (({} == null) !== false) { - $ERROR('#8: ({} == null) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.js deleted file mode 100644 index 889e771330..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A7.1; - * @section: 11.9.1, 11.9.3; - * @assertion: Type(x) and Type(y) are Object-s. - * Return true, if x and y are references to the same Object; otherwise, return false; - * @description: Checking Boolean object, Number object, String object, Object object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A7.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.js", - -assertion: "Type(x) and Type(y) are Object-s.", - -description: "Checking Boolean object, Number object, String object, Object object", - -test: function testcase() { - //CHECK#1 -if ((new Boolean(true) == new Boolean(true)) !== false) { - $ERROR('#1: (new Boolean(true) == new Boolean(true)) === false'); -} - -//CHECK#2 -if ((new Number(1) == new Number(1)) !== false) { - $ERROR('#2: (new Number(1) == new Number(1)) === false'); -} - -//CHECK#3 -if ((new String("x") == new String("x")) !== false) { - $ERROR('#3: (new String("x") == new String("x")) === false'); -} - -//CHECK#4 -if ((new Object() == new Object()) !== false) { - $ERROR('#4: (new Object() == new Object()) === false'); -} - -//CHECK#5 -x = {}; -y = x; -if ((x == y) !== true) { - $ERROR('#5: x = {}; y = x; (x == y) === true'); -} - -//CHECK#6 -if ((new Boolean(true) == new Number(1)) !== false) { - $ERROR('#6 (new Boolean(true) == new Number(1)) === false'); -} - -//CHECK#7 -if ((new Number(1) == new String("1")) !== false) { - $ERROR('#7: (new Number(1) == new String("1")) === false'); -} - -//CHECK#8 -if ((new String("1") == new Boolean(true)) !== false) { - $ERROR('#8: (new String("x") == new Boolean(true)) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.js deleted file mode 100644 index 990979e362..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A7.2; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is Object and Type(y) is Boolean, - * return ToPrimitive(x) == y; - * @description: x is object, y is primitive boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A7.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.js", - -assertion: "If Type(x) is Object and Type(y) is Boolean,", - -description: "x is object, y is primitive boolean", - -test: function testcase() { - //CHECK#1 -if ((new Boolean(true) == true) !== true) { - $ERROR('#1: (new Boolean(true) == true) === true'); -} - -//CHECK#2 -if ((new Number(1) == true) !== true) { - $ERROR('#2: (new Number(1) == true) === true'); -} - -//CHECK#3 -if ((new String("1") == true) !== true) { - $ERROR('#3: (new String("1") == true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.js deleted file mode 100644 index ec522af8c8..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A7.3; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is Boolean and Type(y) is Object, - * return x == ToPrimitive(y); - * @description: y is object, x is primitive boolean; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A7.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.js", - -assertion: "If Type(x) is Boolean and Type(y) is Object,", - -description: "y is object, x is primitive boolean", - -test: function testcase() { - //CHECK#1 -if ((true == new Boolean(true)) !== true) { - $ERROR('#1: (true == new Boolean(true)) === true'); -} - -//CHECK#2 -if ((true == new Number(1)) !== true) { - $ERROR('#2: (true == new Number(1)) === true'); -} - -//CHECK#3 -if ((true == new String("+1")) !== true) { - $ERROR('#3: (true == new String("+1")) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.js deleted file mode 100644 index 2c43167b3b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A7.4; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is Object and Type(y) is Number, - * return ToPrimitive(x) == y; - * @description: x is object, y is primitive number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A7.4", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.js", - -assertion: "If Type(x) is Object and Type(y) is Number,", - -description: "x is object, y is primitive number", - -test: function testcase() { - //CHECK#1 -if ((new Boolean(true) == 1) !== true) { - $ERROR('#1: (new Boolean(true) == 1) === true'); -} - -//CHECK#2 -if ((new Number(-1) == -1) !== true) { - $ERROR('#2: (new Number(-1) == -1) === true'); -} - -//CHECK#3 -if ((new String("-1") == -1) !== true) { - $ERROR('#3: (new String("-1") == -1) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.js deleted file mode 100644 index f41b24da0f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A7.5; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is Number and Type(y) is Object, - * return x == ToPrimitive(y); - * @description: y is object, x is primitive number; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A7.5", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.js", - -assertion: "If Type(x) is Number and Type(y) is Object,", - -description: "y is object, x is primitive number", - -test: function testcase() { - //CHECK#1 -if ((1 == new Boolean(true)) !== true) { - $ERROR('#1: (1 == new Boolean(true)) === true'); -} - -//CHECK#2 -if ((-1 == new Number(-1)) !== true) { - $ERROR('#2: (-1 == new Number(-1)) === true'); -} - -//CHECK#3 -if ((-1 == new String("-1")) !== true) { - $ERROR('#3: (-1 == new String("-1")) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.js deleted file mode 100644 index a0b7f437f2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A7.6; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is Object and Type(y) is String, - * return ToPrimitive(x) == y; - * @description: x is object, y is primitive string; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A7.6", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.js", - -assertion: "If Type(x) is Object and Type(y) is String,", - -description: "x is object, y is primitive string", - -test: function testcase() { - //CHECK#1 -if ((new Boolean(true) == "1") !== true) { - $ERROR('#1: (new Boolean(true) == "1") === true'); -} - -//CHECK#2 -if ((new Number(-1) == "-1") !== true) { - $ERROR('#2: (new Number(-1) == "-1") === true'); -} - -//CHECK#3 -if ((new String("x") == "x") !== true) { - $ERROR('#3: (new String("x") == "x") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.js deleted file mode 100644 index 1e68e187a9..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A7.7; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is String and Type(y) is Object, - * return x == ToPrimitive(y); - * @description: y is object, x is primitive string; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A7.7", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.js", - -assertion: "If Type(x) is String and Type(y) is Object,", - -description: "y is object, x is primitive string", - -test: function testcase() { - //CHECK#1 -if (("1" == new Boolean(true)) !== true) { - $ERROR('#1: ("1" == new Boolean(true)) === true'); -} - -//CHECK#2 -if (("-1" == new Number(-1)) !== true) { - $ERROR('#2: ("-1" == new Number(-1)) === true'); -} - -//CHECK#3 -if (("x" == new String("x")) !== true) { - $ERROR('#3: ("x" == new String("x")) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.js deleted file mode 100644 index 675f58c51d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.js +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A7.8; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is Object and Type(y) is primitive type, - * return ToPrimitive(x) == y; - * @description: x is object, y is primtitive; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A7.8", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.js", - -assertion: "If Type(x) is Object and Type(y) is primitive type,", - -description: "x is object, y is primtitive", - -test: function testcase() { - //CHECK#1 -if (({valueOf: function() {return 1}} == true) !== true) { - $ERROR('#1: ({valueOf: function() {return 1}} == true) === true'); -} - -//CHECK#2 -if (({valueOf: function() {return 1}, toString: function() {return 0}} == 1) !== true) { - $ERROR('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} == 1) === true'); -} - -//CHECK#3 -if (({valueOf: function() {return 1}, toString: function() {return {}}} == "+1") !== true) { - $ERROR('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} == "+1") === true'); -} - -//CHECK#4 -try { - if (({valueOf: function() {return "+1"}, toString: function() {throw "error"}} == true) !== true) { - $ERROR('#4.1: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} == true) === true'); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} == true) not throw "error"'); - } else { - $ERROR('#4.3: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} == true) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (({toString: function() {return "+1"}} == 1) !== true) { - $ERROR('#5: ({toString: function() {return "+1"}} == 1) === true'); -} - -//CHECK#6 -if (({valueOf: function() {return {}}, toString: function() {return "+1"}} == "1") !== false) { - $ERROR('#6.1: ({valueOf: function() {return {}}, toString: function() {return "+1"}} == "1") === false'); -} else { - if (({valueOf: function() {return {}}, toString: function() {return "+1"}} == "+1") !== true) { - $ERROR('#6.2: ({valueOf: function() {return {}}, toString: function() {return "+1"}} == "+1") === true'); - } -} - -//CHECK#7 -try { - ({valueOf: function() {throw "error"}, toString: function() {return 1}} == 1); - $ERROR('#7.1: ({valueOf: function() {throw "error"}, toString: function() {return 1}} == 1) throw "error". Actual: ' + (({valueOf: function() {throw "error"}, toString: function() {return 1}} == 1))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: ({valueOf: function() {throw "error"}, toString: function() {return 1}} == 1) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - ({valueOf: function() {return {}}, toString: function() {return {}}} == 1); - $ERROR('#8.1: ({valueOf: function() {return {}}, toString: function() {return {}}} == 1) throw TypeError. Actual: ' + (({valueOf: function() {return {}}, toString: function() {return {}}} == 1))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: ({valueOf: function() {return {}}, toString: function() {return {}}} == 1) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.js deleted file mode 100644 index 856d4637b6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.js +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.1_A7.9; - * @section: 11.9.1, 11.9.3; - * @assertion: If Type(x) is primitive type and Type(y) is Object, - * return x == ToPrimitive(y); - * @description: y is object, x is primtitive; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.1_A7.9", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.js", - -assertion: "If Type(x) is primitive type and Type(y) is Object,", - -description: "y is object, x is primtitive", - -test: function testcase() { - //CHECK#1 -if ((true == {valueOf: function() {return 1}}) !== true) { - $ERROR('#1: (true == {valueOf: function() {return 1}}) === true'); -} - -//CHECK#2 -if ((1 == {valueOf: function() {return 1}, toString: function() {return 0}}) !== true) { - $ERROR('#2: (1 == {valueOf: function() {return 1}, toString: function() {return 0}}) === true'); -} - -//CHECK#3 -if (("+1" == {valueOf: function() {return 1}, toString: function() {return {}}}) !== true) { - $ERROR('#3: ("+1" == {valueOf: function() {return 1}, toString: function() {return {}}}) === true'); -} - -//CHECK#4 -try { - if ((true == {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) !== true) { - $ERROR('#4.1: (true == {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) === true'); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: (true == {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) not throw "error"'); - } else { - $ERROR('#4.3: (true == {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if ((1 == {toString: function() {return "+1"}}) !== true) { - $ERROR('#5: (1 == {toString: function() {return "+1"}}) === true'); -} - -//CHECK#6 -if (("1" == {valueOf: function() {return {}}, toString: function() {return "+1"}}) !== false) { - $ERROR('#6.1: ("1" == {valueOf: function() {return {}}, toString: function() {return "+1"}}) === false'); -} else { - if (("+1" == {valueOf: function() {return {}}, toString: function() {return "+1"}}) !== true) { - $ERROR('#6.2: ("+1" == {valueOf: function() {return {}}, toString: function() {return "+1"}}) === true'); - } -} - -//CHECK#7 -try { - (1 == {valueOf: function() {throw "error"}, toString: function() {return 1}}); - $ERROR('#7.1: (1 == {valueOf: function() {throw "error"}, toString: function() {return 1}}) throw "error". Actual: ' + ((1 == {valueOf: function() {throw "error"}, toString: function() {return 1}}))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: (1 == {valueOf: function() {throw "error"}, toString: function() {return 1}}) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - (1 == {valueOf: function() {return {}}, toString: function() {return {}}}); - $ERROR('#8.1: (1 == {valueOf: function() {return {}}, toString: function() {return {}}}) throw TypeError. Actual: ' + ((1 == {valueOf: function() {return {}}, toString: function() {return {}}}))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: (1 == {valueOf: function() {return {}}, toString: function() {return {}}}) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.js deleted file mode 100644 index 1040d513c3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.9.2_A1; -* @section: 11.9.2, 7.2, 7.3; -* @assertion: White Space and Line Terminator between EqualityExpression and "!=" or between "!=" and RelationalExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.js", - -assertion: "White Space and Line Terminator between EqualityExpression and \"!=\" or between \"!=\" and RelationalExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("true\u0009!=\u00091") !== false) { - $ERROR('#1: (true\\u0009!=\\u00091) === false'); -} - -//CHECK#2 -if (eval("true\u000B!=\u000B1") !== false) { - $ERROR('#2: (true\\u000B!=\\u000B1) === false'); -} - -//CHECK#3 -if (eval("true\u000C!=\u000C1") !== false) { - $ERROR('#3: (true\\u000C!=\\u000C1) === false'); -} - -//CHECK#4 -if (eval("true\u0020!=\u00201") !== false) { - $ERROR('#4: (true\\u0020!=\\u00201) === false'); -} - -//CHECK#5 -if (eval("true\u00A0!=\u00A01") !== false) { - $ERROR('#5: (true\\u00A0!=\\u00A01) === false'); -} - -//CHECK#6 -if (eval("true\u000A!=\u000A1") !== false) { - $ERROR('#6: (true\\u000A!=\\u000A1) === false'); -} - -//CHECK#7 -if (eval("true\u000D!=\u000D1") !== false) { - $ERROR('#7: (true\\u000D!=\\u000D1) === false'); -} - -//CHECK#8 -if (eval("true\u2028!=\u20281") !== false) { - $ERROR('#8: (true\\u2028!=\\u20281) === false'); -} - -//CHECK#9 -if (eval("true\u2029!=\u20291") !== false) { - $ERROR('#9: (true\\u2029!=\\u20291) === false'); -} - -//CHECK#10 -if (eval("true\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029!=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== false) { - $ERROR('#10: (true\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029!=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.js deleted file mode 100644 index f5cefc0e82..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A2.1_T1; - * @section: 11.9.2; - * @assertion: Operator x != y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A2.1_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.js", - -assertion: "Operator x != y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if ((1 != 1) !== false) { - $ERROR('#1: (1 != 1) === false'); -} - -//CHECK#2 -var x = 1; -if ((x != 1) !== false) { - $ERROR('#2: var x = 1; (x != 1) === false'); -} - -//CHECK#3 -var y = 1; -if ((1 != y) !== false) { - $ERROR('#3: var y = 1; (1 != y) === false'); -} - -//CHECK#4 -var x = 1; -var y = 1; -if ((x != y) !== false) { - $ERROR('#4: var x = 1; var y = 1; (x != y) === false'); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if ((objectx.prop != objecty.prop) !== false) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop != objecty.prop) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.js deleted file mode 100644 index df0eed5e2c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A2.1_T2; - * @section: 11.9.2; - * @assertion: Operator x != y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A2.1_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.js", - -assertion: "Operator x != y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x != 1; - $ERROR('#1.1: x != 1 throw ReferenceError. Actual: ' + (x != 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x != 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.js deleted file mode 100644 index ae0f49c9bb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A2.1_T3; - * @section: 11.9.2; - * @assertion: Operator x != y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A2.1_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.js", - -assertion: "Operator x != y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 != y; - $ERROR('#1: 1 != y throw ReferenceError'); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 != y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.js deleted file mode 100644 index 2c33f8cbd3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A2.4_T1; - * @section: 11.9.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A2.4_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if (((x = 1) != x) !== false) { - $ERROR('#1: var x = 0; ((x = 1) != x) === false'); -} - -//CHECK#2 -var x = 0; -if ((x != (x = 1)) !== true) { - $ERROR('#2: var x = 0; (x != (x = 1)) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.js deleted file mode 100644 index 2efea3d735..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A2.4_T2; - * @section: 11.9.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A2.4_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() != y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() != y() throw "x". Actual: ' + (x() != y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() != y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.js deleted file mode 100644 index 4c9617e654..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A2.4_T3; - * @section: 11.9.2; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A2.4_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x != (x = 1); - $ERROR('#1.1: x != (x = 1) throw ReferenceError. Actual: ' + (x != (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x != (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if (((y = 1) != y) !== false) { - $ERROR('#2: ((y = 1) != y) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.js deleted file mode 100644 index 83b4dc414c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A3.1; - * @section: 11.9.2, 11.9.3; - * @assertion: Return false, if x and y are both true or both false; otherwise, return true; - * @description: x and y are boolean primitives; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A3.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.js", - -assertion: "Return false, if x and y are both true or both false; otherwise, return true", - -description: "x and y are boolean primitives", - -test: function testcase() { - //CHECK#1 -if ((true != true) !== false) { - $ERROR('#1: (true != true) === false'); -} - -//CHECK#2 -if ((false != false) !== false) { - $ERROR('#2: (false != false) === false'); -} - -//CHECK#3 -if ((true != false) !== true) { - $ERROR('#3: (true != false) === true'); -} - -//CHECK#4 -if ((false != true) !== true) { - $ERROR('#4: (false != true) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.js deleted file mode 100644 index eb7e0d8ddc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A3.2; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is Boolean and Type(y) is Number, - * return the result of comparison ToNumber(x) != y; - * @description: x is primitive boolean, y is primitive number; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A3.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.js", - -assertion: "If Type(x) is Boolean and Type(y) is Number,", - -description: "x is primitive boolean, y is primitive number", - -test: function testcase() { - //CHECK#1 -if ((true != 1) !== false) { - $ERROR('#1: (true != 1) === false'); -} - -//CHECK#2 -if ((false != "0") !== false) { - $ERROR('#2: (false != "0") === false'); -} - -//CHECK#3 -if ((true != new Boolean(true)) !== false) { - $ERROR('#3: (true != new Boolean(true)) === false'); -} - -//CHECK#4 -if ((true != {valueOf: function () {return 1}}) !== false) { - $ERROR('#4: (true != {valueOf: function () {return 1}}) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.js deleted file mode 100644 index 4db93004e6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A3.3; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(y) is Number and Type(y) is Boolean, - * return the result of comparison x != ToNumber(y); - * @description: x is primitive number, y is primitive boolean; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A3.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.js", - -assertion: "If Type(y) is Number and Type(y) is Boolean,", - -description: "x is primitive number, y is primitive boolean", - -test: function testcase() { - //CHECK#1 -if ((0 != false) !== false) { - $ERROR('#1: (0 != false) === false'); -} - -//CHECK#2 -if (("1" != true) !== false) { - $ERROR('#2: ("1" != true) === false'); -} - -//CHECK#3 -if ((new Boolean(false) != false) !== false) { - $ERROR('#3: (new Boolean(false) != false) === false'); -} - -//CHECK#4 -if (({valueOf: function () {return "0"}} != false) !== false) { - $ERROR('#4: ({valueOf: function () {return "0"}} != false) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.js deleted file mode 100644 index 2cad0e7567..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A4.1_T1; - * @section: 11.9.2, 11.9.3; - * @assertion: If x or y is NaN, return true; - * @description: x is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A4.1_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.js", - -assertion: "If x or y is NaN, return true", - -description: "x is NaN", - -test: function testcase() { - //CHECK#1 -if ((Number.NaN != true) !== true) { - $ERROR('#1: (NaN != true) === true'); -} - -//CHECK#2 -if ((Number.NaN != 1) !== true) { - $ERROR('#2: (NaN != 1) === true'); -} - -//CHECK#3 -if ((Number.NaN != Number.NaN) !== true) { - $ERROR('#3: (NaN != NaN) === true'); -} - -//CHECK#4 -if ((Number.NaN != Number.POSITIVE_INFINITY) !== true) { - $ERROR('#4: (NaN != +Infinity) === true'); -} - -//CHECK#5 -if ((Number.NaN != Number.NEGATIVE_INFINITY) !== true) { - $ERROR('#5: (NaN != -Infinity) === true'); -} - -//CHECK#6 -if ((Number.NaN != Number.MAX_VALUE) !== true) { - $ERROR('#6: (NaN != Number.MAX_VALUE) === true'); -} - -//CHECK#7 -if ((Number.NaN != Number.MIN_VALUE) !== true) { - $ERROR('#7: (NaN != Number.MIN_VALUE) === true'); -} - -//CHECK#8 -if ((Number.NaN != "string") !== true) { - $ERROR('#8: (NaN != "string") === true'); -} - -//CHECK#9 -if ((Number.NaN != new Object()) !== true) { - $ERROR('#9: (NaN != new Object()) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.js deleted file mode 100644 index a2afda78ac..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A4.1_T2; - * @section: 11.9.2, 11.9.3; - * @assertion: If x or y is NaN, return true; - * @description: y is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A4.1_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.js", - -assertion: "If x or y is NaN, return true", - -description: "y is NaN", - -test: function testcase() { - //CHECK#1 -if ((true != Number.NaN) !== true) { - $ERROR('#1: (true != NaN) === true'); -} - -//CHECK#2 -if ((-1 != Number.NaN) !== true) { - $ERROR('#2: (-1 != NaN) === true'); -} - -//CHECK#3 -if ((Number.NaN != Number.NaN) !== true) { - $ERROR('#3: (NaN != NaN) === true'); -} - -//CHECK#4 -if ((Number.POSITIVE_INFINITY != Number.NaN) !== true) { - $ERROR('#4: (+Infinity != NaN) === true'); -} - -//CHECK#5 -if ((Number.NEGATIVE_INFINITY != Number.NaN) !== true) { - $ERROR('#5: (-Infinity != NaN) === true'); -} - -//CHECK#6 -if ((Number.MAX_VALUE != Number.NaN) !== true) { - $ERROR('#6: (Number.MAX_VALUE != NaN) === true'); -} - -//CHECK#7 -if ((Number.MIN_VALUE != Number.NaN) !== true) { - $ERROR('#7: (Number.MIN_VALUE != NaN) === true'); -} - -//CHECK#8 -if (("string" != Number.NaN) !== true) { - $ERROR('#8: ("string" != NaN) === true'); -} - -//CHECK#9 -if ((new Object() != Number.NaN) !== true) { - $ERROR('#9: (new Object() != NaN) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.js deleted file mode 100644 index 69a9417c65..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A4.2; - * @section: 11.9.2, 11.9.3; - * @assertion: If x is +0(-0) and y is -0(+0), return false; - * @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A4.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.js", - -assertion: "If x is +0(-0) and y is -0(+0), return false", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if ((+0 != -0) !== false) { - $ERROR('#1: (+0 != -0) === false'); -} - -//CHECK#2 -if ((-0 != +0) !== false) { - $ERROR('#2: (-0 != +0) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.js deleted file mode 100644 index 093d666a6a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A4.3; - * @section: 11.9.2, 11.9.3; - * @assertion: Type(x) and Type(y) are Number-s minus NaN, +0, -0. - * Return false, if x is the same number value as y; otherwise, return true; - * @description: x and y are primitive numbers; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A4.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.js", - -assertion: "Type(x) and Type(y) are Number-s minus NaN, +0, -0.", - -description: "x and y are primitive numbers", - -test: function testcase() { - //CHECK#1 -if ((Number.POSITIVE_INFINITY != Number.POSITIVE_INFINITY) !== false) { - $ERROR('#1: (+Infinity != +Infinity) === false'); -} - -//CHECK#2 -if ((Number.NEGATIVE_INFINITY != Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#2: (-Infinity != -Infinity) === false'); -} - -//CHECK#3 -if ((Number.POSITIVE_INFINITY != -Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#3: (+Infinity != -(-Infinity)) === false'); -} - -//CHECK#4 -if ((1 != 0.999999999999) !== true) { - $ERROR('#4: (1 != 0.999999999999) === true'); -} - -//CHECK#5 -if ((1.0 != 1) !== false) { - $ERROR('#5: (1.0 != 1) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.js deleted file mode 100644 index 17e5733f82..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A5.1; - * @section: 11.9.2, 11.9.3; - * @assertion: Type(x) and Type(y) are String-s. - * Return true, if x and y are exactly the same sequence of characters; otherwise, return false; - * @description: x and y are primitive strings; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A5.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.js", - -assertion: "Type(x) and Type(y) are String-s.", - -description: "x and y are primitive strings", - -test: function testcase() { - //CHECK#1 -if (("" != "") !== false) { - $ERROR('#1: ("" != "") === false'); -} - -//CHECK#2 -if ((" " != " ") !== false) { - $ERROR('#2: " (" != " ") === false'); -} - -//CHECK#3 -if ((" " != "") !== true) { - $ERROR('#3: " (" != "") === true'); -} - -//CHECK#4 -if (("string" != "string") !== false) { - $ERROR('#4: ("string" != "string") === false'); -} - -//CHECK#5 -if ((" string" != "string ") !== true) { - $ERROR('#5: (" string" != "string ") === true'); -} - -//CHECK#6 -if (("1.0" != "1") !== true) { - $ERROR('#6: ("1.0" != "1") === true'); -} - -//CHECK#7 -if (("0xff" != "255") !== true) { - $ERROR('#7: ("0xff" != "255") === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.js deleted file mode 100644 index eff7f6cc7f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A5.2; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is Number and Type(y) is String, - * return the result of comparison x != ToNumber(y); - * @description: x is primitive number, y is primitive string; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A5.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.js", - -assertion: "If Type(x) is Number and Type(y) is String,", - -description: "x is primitive number, y is primitive string", - -test: function testcase() { - //CHECK#1 -if ((1 != "1") !== false) { - $ERROR('#1: (1 != "1") === false'); -} - -//CHECK#2 -if ((1.100 != "+1.10") !== false) { - $ERROR('#2: (1.100 != "+1.10") === false'); -} - -//CHECK#3 -if ((1 != "true") !== true) { - $ERROR('#3: (1 != "true") === true'); -} - -//CHECK#4 -if ((255 != "0xff") !== false) { - $ERROR('#4: (255 != "0xff") === false'); -} - -//CHECK#5 -if ((0 != "") !== false) { - $ERROR('#5: (0 != "") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.js deleted file mode 100644 index 6f076efc13..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A5.3; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is String and Type(y) is Number, - * return the result of comparison ToNumber(x) != y; - * @description: x is primitive string, y is primitive number; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A5.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.js", - -assertion: "If Type(x) is String and Type(y) is Number,", - -description: "x is primitive string, y is primitive number", - -test: function testcase() { - //CHECK#1 -if (("-1" != -1) !== false) { - $ERROR('#1: ("-1" != -1) === false'); -} - -//CHECK#2 -if (("-1.100" != -1.10) !== false) { - $ERROR('#2: ("-1.100" != -1.10) === false'); -} - -//CHECK#3 -if (("false" != 0) !== true) { - $ERROR('#3: ("false" != 0) === true'); -} - -//CHECK#4 -if (("5e-324" != 5e-324) !== false) { - $ERROR('#4: ("5e-324" != 5e-324) === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.js deleted file mode 100644 index 3f9ebc1daf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A6.1; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) as well as Type(y) is Undefined or Null, return true; - * @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A6.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.js", - -assertion: "If Type(x) as well as Type(y) is Undefined or Null, return true", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if ((undefined != undefined) !== false) { - $ERROR('#1: (undefined != undefined) === false'); -} - -//CHECK#2 -if ((void 0 != undefined) !== false) { - $ERROR('#2: (void 0 != undefined) === false'); -} - -//CHECK#3 -if ((undefined != eval("var x")) !== false) { - $ERROR('#3: (undefined != eval("var x")) === false'); -} - -//CHECK#4 -if ((undefined != null) !== false) { - $ERROR('#4: (undefined != null) === false'); -} - -//CHECK#5 -if ((null != void 0) !== false) { - $ERROR('#5: (null != void 0) === false'); -} - -//CHECK#6 -if ((null != null) !== false) { - $ERROR('#6: (null != null) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.js deleted file mode 100644 index ca4efc54fe..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A6.2_T1; - * @section: 11.9.2, 11.9.3; - * @assertion: If one expression is undefined or null and another is not, return false; - * @description: x is null or undefined, y is not; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A6.2_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.js", - -assertion: "If one expression is undefined or null and another is not, return false", - -description: "x is null or undefined, y is not", - -test: function testcase() { - //CHECK#1 -if ((undefined != true) !== true) { - $ERROR('#1: (undefined != true) === true'); -} - -//CHECK#2 -if ((undefined != 0) !== true) { - $ERROR('#2: (undefined != 0) === true'); -} - -//CHECK#3 -if ((undefined != "undefined") !== true) { - $ERROR('#3: (undefined != "undefined") === true'); -} - -//CHECK#4 -if ((undefined != {}) !== true) { - $ERROR('#4: (undefined != {}) === true'); -} - -//CHECK#5 -if ((null != false) !== true) { - $ERROR('#5: (null != false) === true'); -} - -//CHECK#6 -if ((null != 0) !== true) { - $ERROR('#6: (null != 0) === true'); -} - -//CHECK#7 -if ((null != "null") !== true) { - $ERROR('#7: (null != "null") === true'); -} - -//CHECK#8 -if ((null != {}) !== true) { - $ERROR('#8: (null != {}) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.js deleted file mode 100644 index dd1a57d377..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A6.2_T2; - * @section: 11.9.2, 11.9.3; - * @assertion: If one expression is undefined or null and another is not, return false; - * @description: y is null or undefined, x is not; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A6.2_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.js", - -assertion: "If one expression is undefined or null and another is not, return false", - -description: "y is null or undefined, x is not", - -test: function testcase() { - //CHECK#1 -if ((false != undefined) !== true) { - $ERROR('#1: (false != undefined) === true'); -} - -//CHECK#2 -if ((Number.NaN != undefined) !== true) { - $ERROR('#2: (Number.NaN != undefined) === true'); -} - -//CHECK#3 -if (("undefined" != undefined) !== true) { - $ERROR('#3: ("undefined" != undefined) === true'); -} - -//CHECK#4 -if (({} != undefined) !== true) { - $ERROR('#4: ({} != undefined) === true'); -} - -//CHECK#5 -if ((false != null) !== true) { - $ERROR('#5: (false != null) === true'); -} - -//CHECK#6 -if ((0 != null) !== true) { - $ERROR('#6: (0 != null) === true'); -} - -//CHECK#7 -if (("null" != null) !== true) { - $ERROR('#7: ("null" != null) === true'); -} - -//CHECK#8 -if (({} != null) !== true) { - $ERROR('#8: ({} != null) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.js deleted file mode 100644 index 4f1b1293ae..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A7.1; - * @section: 11.9.2, 11.9.3; - * @assertion: Type(x) and Type(y) are Object-s. - * Return true, if x and y are references to the same Object; otherwise, return false; - * @description: Checking Boolean object, Number object, String object, Object object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A7.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.js", - -assertion: "Type(x) and Type(y) are Object-s.", - -description: "Checking Boolean object, Number object, String object, Object object", - -test: function testcase() { - //CHECK#1 -if ((new Boolean(true) != new Boolean(true)) !== true) { - $ERROR('#1: (new Boolean(true) != new Boolean(true)) === true'); -} - -//CHECK#2 -if ((new Number(1) != new Number(1)) !== true) { - $ERROR('#2: (new Number(1) != new Number(1)) === true'); -} - -//CHECK#3 -if ((new String("x") != new String("x")) !== true) { - $ERROR('#3: (new String("x") != new String("x")) === true'); -} - -//CHECK#4 -if ((new Object() != new Object()) !== true) { - $ERROR('#4: (new Object() != new Object()) === true'); -} - -//CHECK#5 -x = {}; -y = x; -if ((x != y) !== false) { - $ERROR('#5: x = {}; y = x; (x != y) === false'); -} - -//CHECK#6 -if ((new Boolean(true) != new Number(1)) !== true) { - $ERROR('#6 (new Boolean(true) != new Number(1)) === true'); -} - -//CHECK#7 -if ((new Number(1) != new String("1")) !== true) { - $ERROR('#7: (new Number(1) != new String("1")) === true'); -} - -//CHECK#8 -if ((new String("1") != new Boolean(true)) !== true) { - $ERROR('#8: (new String("x") != new Boolean(true)) === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.js deleted file mode 100644 index 30beb89b29..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A7.2; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is Object and Type(y) is Boolean, - * return ToPrimitive(x) != y; - * @description: x is object, y is primitive boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A7.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.js", - -assertion: "If Type(x) is Object and Type(y) is Boolean,", - -description: "x is object, y is primitive boolean", - -test: function testcase() { - //CHECK#1 -if ((new Boolean(true) != true) !== false) { - $ERROR('#1: (new Boolean(true) != true) === false'); -} - -//CHECK#2 -if ((new Number(1) != true) !== false) { - $ERROR('#2: (new Number(1) != true) === false'); -} - -//CHECK#3 -if ((new String("1") != true) !== false) { - $ERROR('#3: (new String("1") != true) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.js deleted file mode 100644 index e213324e2f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A7.3; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is Boolean and Type(y) is Object, - * return x != ToPrimitive(y); - * @description: y is object, x is primitive boolean; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A7.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.js", - -assertion: "If Type(x) is Boolean and Type(y) is Object,", - -description: "y is object, x is primitive boolean", - -test: function testcase() { - //CHECK#1 -if ((true != new Boolean(true)) !== false) { - $ERROR('#1: (true != new Boolean(true)) === false'); -} - -//CHECK#2 -if ((true != new Number(1)) !== false) { - $ERROR('#2: (true != new Number(1)) === false'); -} - -//CHECK#3 -if ((true != new String("+1")) !== false) { - $ERROR('#3: (true != new String("+1")) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.js deleted file mode 100644 index f2794f6589..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A7.4; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is Object and Type(y) is Number, - * return ToPrimitive(x) != y; - * @description: x is object, y is primitive number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A7.4", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.js", - -assertion: "If Type(x) is Object and Type(y) is Number,", - -description: "x is object, y is primitive number", - -test: function testcase() { - //CHECK#1 -if ((new Boolean(true) != 1) !== false) { - $ERROR('#1: (new Boolean(true) != 1) === false'); -} - -//CHECK#2 -if ((new Number(-1) != -1) !== false) { - $ERROR('#2: (new Number(-1) != -1) === false'); -} - -//CHECK#3 -if ((new String("-1") != -1) !== false) { - $ERROR('#3: (new String("-1") != -1) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.js deleted file mode 100644 index d2d5afd4e2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A7.5; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is Number and Type(y) is Object, - * return x != ToPrimitive(y); - * @description: y is object, x is primitive number; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A7.5", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.js", - -assertion: "If Type(x) is Number and Type(y) is Object,", - -description: "y is object, x is primitive number", - -test: function testcase() { - //CHECK#1 -if ((1 != new Boolean(true)) !== false) { - $ERROR('#1: (1 != new Boolean(true)) === false'); -} - -//CHECK#2 -if ((-1 != new Number(-1)) !== false) { - $ERROR('#2: (-1 != new Number(-1)) === false'); -} - -//CHECK#3 -if ((-1 != new String("-1")) !== false) { - $ERROR('#3: (-1 != new String("-1")) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.js deleted file mode 100644 index e0d8142bd7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A7.6; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is Object and Type(y) is String, - * return ToPrimitive(x) != y; - * @description: x is object, y is primitive string; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A7.6", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.js", - -assertion: "If Type(x) is Object and Type(y) is String,", - -description: "x is object, y is primitive string", - -test: function testcase() { - //CHECK#1 -if ((new Boolean(true) != "1") !== false) { - $ERROR('#1: (new Boolean(true) != "1") === false'); -} - -//CHECK#2 -if ((new Number(-1) != "-1") !== false) { - $ERROR('#2: (new Number(-1) != "-1") === false'); -} - -//CHECK#3 -if ((new String("x") != "x") !== false) { - $ERROR('#3: (new String("x") != "x") === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.js deleted file mode 100644 index d1b45aada0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A7.7; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is String and Type(y) is Object, - * return x != ToPrimitive(y); - * @description: y is object, x is primitive string; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A7.7", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.js", - -assertion: "If Type(x) is String and Type(y) is Object,", - -description: "y is object, x is primitive string", - -test: function testcase() { - //CHECK#1 -if (("1" != new Boolean(true)) !== false) { - $ERROR('#1: ("1" != new Boolean(true)) === false'); -} - -//CHECK#2 -if (("-1" != new Number(-1)) !== false) { - $ERROR('#2: ("-1" != new Number(-1)) === false'); -} - -//CHECK#3 -if (("x" != new String("x")) !== false) { - $ERROR('#3: ("x" != new String("x")) === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.js deleted file mode 100644 index 5b4b3fbde4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.js +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A7.8; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is Object and Type(y) is primitive type, - * return ToPrimitive(x) != y; - * @description: x is object, y is primtitive; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A7.8", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.js", - -assertion: "If Type(x) is Object and Type(y) is primitive type,", - -description: "x is object, y is primtitive", - -test: function testcase() { - //CHECK#1 -if ((true != {valueOf: function() {return 1}}) !== false) { - $ERROR('#1: (true != {valueOf: function() {return 1}}) === false'); -} - -//CHECK#2 -if ((1 != {valueOf: function() {return 1}, toString: function() {return 0}}) !== false) { - $ERROR('#2: (1 != {valueOf: function() {return 1}, toString: function() {return 0}}) === false'); -} - -//CHECK#3 -if (("+1" != {valueOf: function() {return 1}, toString: function() {return {}}}) !== false) { - $ERROR('#3: ("+1" != {valueOf: function() {return 1}, toString: function() {return {}}}) === false'); -} - -//CHECK#4 -try { - if ((true != {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) !== false) { - $ERROR('#4.1: (true != {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) === false'); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: (true != {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) not throw "error"'); - } else { - $ERROR('#4.3: (true != {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if ((1 != {toString: function() {return "+1"}}) !== false) { - $ERROR('#5: (1 != {toString: function() {return "+1"}}) === false'); -} - -//CHECK#6 -if (("1" != {valueOf: function() {return {}}, toString: function() {return "+1"}}) !== true) { - $ERROR('#6.1: ("1" != {valueOf: function() {return {}}, toString: function() {return "+1"}}) === true'); -} else { - if (("+1" != {valueOf: function() {return {}}, toString: function() {return "+1"}}) !== false) { - $ERROR('#6.2: ("+1" != {valueOf: function() {return {}}, toString: function() {return "+1"}}) === false'); - } -} - -//CHECK#7 -try { - (1 != {valueOf: function() {throw "error"}, toString: function() {return 1}}); - $ERROR('#7: (1 != {valueOf: function() {throw "error"}, toString: function() {return 1}}) throw "error"'); -} -catch (e) { - if (e !== "error") { - $ERROR('#7: (1 != {valueOf: function() {throw "error"}, toString: function() {return 1}}) throw "error"'); - } -} - -//CHECK#8 -try { - (1 != {valueOf: function() {return {}}, toString: function() {return {}}}); - $ERROR('#8: (1 != {valueOf: function() {return {}}, toString: function() {return {}}}) throw TypeError'); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8: (1 != {valueOf: function() {return {}}, toString: function() {return {}}}) throw TypeError'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.js deleted file mode 100644 index 1d2b11f60e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.js +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.2_A7.9; - * @section: 11.9.2, 11.9.3; - * @assertion: If Type(x) is primitive type and Type(y) is Object, - * return x != ToPrimitive(y); - * @description: y is object, x is primtitive; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.2_A7.9", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.js", - -assertion: "If Type(x) is primitive type and Type(y) is Object,", - -description: "y is object, x is primtitive", - -test: function testcase() { - //CHECK#1 -if (({valueOf: function() {return 1}} != true) !== false) { - $ERROR('#1: ({valueOf: function() {return 1}} != true) === false'); -} - -//CHECK#2 -if (({valueOf: function() {return 1}, toString: function() {return 0}} != 1) !== false) { - $ERROR('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} != 1) === false'); -} - -//CHECK#3 -if (({valueOf: function() {return 1}, toString: function() {return {}}} != "+1") !== false) { - $ERROR('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} != "+1") === false'); -} - -//CHECK#4 -try { - if (({valueOf: function() {return "+1"}, toString: function() {throw "error"}} != true) !== false) { - $ERROR('#4.1: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} != true) === false'); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} != true) not throw "error"'); - } else { - $ERROR('#4.3: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} != true) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -if (({toString: function() {return "+1"}} != 1) !== false) { - $ERROR('#5: ({toString: function() {return "+1"}} != 1) === false'); -} - -//CHECK#6 -if (({valueOf: function() {return {}}, toString: function() {return "+1"}} != "1") !== true) { - $ERROR('#6.1: ({valueOf: function() {return {}}, toString: function() {return "+1"}} != "1") === true'); -} else { - if (({valueOf: function() {return {}}, toString: function() {return "+1"}} != "+1") !== false) { - $ERROR('#6.2: ({valueOf: function() {return {}}, toString: function() {return "+1"}} != "+1") === false'); - } -} - -//CHECK#7 -try { - ({valueOf: function() {throw "error"}, toString: function() {return 1}} != 1); - $ERROR('#7.1: ({valueOf: function() {throw "error"}, toString: function() {return 1}} != 1) throw "error". Actual: ' + (({valueOf: function() {throw "error"}, toString: function() {return 1}} != 1))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: ({valueOf: function() {throw "error"}, toString: function() {return 1}} != 1) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - ({valueOf: function() {return {}}, toString: function() {return {}}} != 1); - $ERROR('#8.1: ({valueOf: function() {return {}}, toString: function() {return {}}} != 1) throw TypeError. Actual: ' + (({valueOf: function() {return {}}, toString: function() {return {}}} != 1))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: ({valueOf: function() {return {}}, toString: function() {return {}}} != 1) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.js deleted file mode 100644 index 0ce137ac98..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A1; - * @section: 11.9.4, 7.2, 7.3; - * @assertion: White Space and Line Terminator between EqualityExpression and "===" or between "===" and RelationalExpression are allowed; - * @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.js", - -assertion: "White Space and Line Terminator between EqualityExpression and \"===\" or between \"===\" and RelationalExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (!(eval("1\u0009===\u00091"))) { - $ERROR('#1: 1\\u0009===\\u00091'); -} - -//CHECK#2 -if (!(eval("1\u000B===\u000B1"))) { - $ERROR('#2: 1\\u000B===\\u000B1'); -} - -//CHECK#3 -if (!(eval("1\u000C===\u000C1"))) { - $ERROR('#3: 1\\u000C===\\u000C1'); -} - -//CHECK#4 -if (!(eval("1\u0020===\u00201"))) { - $ERROR('#4: 1\\u0020===\\u00201'); -} - -//CHECK#5 -if (!(eval("1\u00A0===\u00A01"))) { - $ERROR('#5: 1\\u00A0===\\u00A01'); -} - -//CHECK#6 -if (!(eval("1\u000A===\u000A1"))) { - $ERROR('#6: 1\\u000A===\\u000A1'); -} - -//CHECK#7 -if (!(eval("1\u000D===\u000D1"))) { - $ERROR('#7: 1\\u000D===\\u000D1'); -} - -//CHECK#8 -if (!(eval("1\u2028===\u20281"))) { - $ERROR('#8: 1\\u2028===\\u20281'); -} - -//CHECK#9 -if (!(eval("1\u2029===\u20291"))) { - $ERROR('#9: 1\\u2029===\\u20291'); -} - -//CHECK#10 -if (!(eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029===\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291"))) { - $ERROR('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029===\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.js deleted file mode 100644 index bd5779966e..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A2.1_T1; - * @section: 11.9.4; - * @assertion: Operator x === y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A2.1_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.js", - -assertion: "Operator x === y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (!(1 === 1)) { - $ERROR('#1: 1 === 1'); -} - -//CHECK#2 -var x = 1; -if (!(x === 1)) { - $ERROR('#2: var x = 1; x === 1'); -} - -//CHECK#3 -var y = 1; -if (!(1 === y)) { - $ERROR('#3: var y = 1; 1 === y'); -} - -//CHECK#4 -var x = 1; -var y = 1; -if (!(x === y)) { - $ERROR('#4: var x = 1; var y = 1; x === y'); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if (!(objectx.prop === objecty.prop)) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop === objecty.prop'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.js deleted file mode 100644 index 4d686c010f..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A2.1_T2; - * @section: 11.9.4; - * @assertion: Operator x === y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A2.1_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.js", - -assertion: "Operator x === y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x === 1; - $ERROR('#1.1: x === 1 throw ReferenceError. Actual: ' + (x === 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x === 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.js deleted file mode 100644 index 4be850a349..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A2.1_T3; - * @section: 11.9.4; - * @assertion: Operator x === y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A2.1_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.js", - -assertion: "Operator x === y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 === y; - $ERROR('#1.1: 1 === y throw ReferenceError. Actual: ' + (1 === y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 === y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.js deleted file mode 100644 index 29acbf53dd..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A2.4_T1; - * @section: 11.9.4; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A2.4_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if (!((x = 1) === x)) { - $ERROR('#1: var x = 0; (x = 1) === x'); -} - -//CHECK#2 -var x = 0; -if (x === (x = 1)) { - $ERROR('#2: var x = 0; x !== (x = 1)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.js deleted file mode 100644 index 4840853ddc..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A2.4_T2; - * @section: 11.9.4; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A2.4_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() === y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() === y() throw "x". Actual: ' + (x() === y())); -} catch (e) { - if (e === "y") { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (!(e === "x")) { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() === y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.js deleted file mode 100644 index ee71d19787..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A2.4_T3; - * @section: 11.9.4; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A2.4_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x === (x = 1); - $ERROR('#1.1: x === (x = 1) throw ReferenceError. Actual: ' + (x === (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x === (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if (!((y = 1) === y)) { - $ERROR('#2: (y = 1) === y'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.js deleted file mode 100644 index f2ce657485..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A3; - * @section: 11.9.4, 11.9.6; - * @assertion: Type(x) and Type(y) are Boolean-s. - * Return true, if x and y are both true and both false; otherwise, return false; - * @description: x and y are primitive booleans; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.js", - -assertion: "Type(x) and Type(y) are Boolean-s.", - -description: "x and y are primitive booleans", - -test: function testcase() { - //CHECK#1 -if (!(true === true)) { - $ERROR('#1: true === true'); -} - -//CHECK#2 -if (!(false === false)) { - $ERROR('#2: false === false'); -} - -//CHECK#3 -if (true === false) { - $ERROR('#3: true !== false'); -} - -//CHECK#4 -if (false === true) { - $ERROR('#4: false !== true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.js deleted file mode 100644 index 8b24ebd765..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A4.1_T1; - * @section: 11.9.4, 11.9.6; - * @assertion: If x or y is NaN, return false; - * @description: x is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A4.1_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.js", - -assertion: "If x or y is NaN, return false", - -description: "x is NaN", - -test: function testcase() { - //CHECK#1 -if (Number.NaN === true) { - $ERROR('#1: NaN !== true'); -} - -//CHECK#2 -if (Number.NaN === 1) { - $ERROR('#2: NaN !== 1'); -} - -//CHECK#3 -if (Number.NaN === Number.NaN) { - $ERROR('#3: NaN !== NaN'); -} - -//CHECK#4 -if (Number.NaN === Number.POSITIVE_INFINITY) { - $ERROR('#4: NaN !== +Infinity'); -} - -//CHECK#5 -if (Number.NaN === Number.NEGATIVE_INFINITY) { - $ERROR('#5: NaN !== -Infinity'); -} - -//CHECK#6 -if (Number.NaN === Number.MAX_VALUE) { - $ERROR('#6: NaN !== Number.MAX_VALUE'); -} - -//CHECK#7 -if (Number.NaN === Number.MIN_VALUE) { - $ERROR('#7: NaN !== Number.MIN_VALUE'); -} - -//CHECK#8 -if (Number.NaN === "string") { - $ERROR('#8: NaN !== "string"'); -} - -//CHECK#9 -if (Number.NaN === new Object()) { - $ERROR('#9: NaN !== new Object()'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.js deleted file mode 100644 index cb9435da04..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A4.1_T2; - * @section: 11.9.4, 11.9.6; - * @assertion: If x or y is NaN, return false; - * @description: y is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A4.1_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.js", - -assertion: "If x or y is NaN, return false", - -description: "y is NaN", - -test: function testcase() { - //CHECK#1 -if (true === Number.NaN) { - $ERROR('#1: true !== NaN'); -} - -//CHECK#2 -if (-1 === Number.NaN) { - $ERROR('#2: -1 !== NaN'); -} - -//CHECK#3 -if (Number.NaN === Number.NaN) { - $ERROR('#3: NaN !== NaN'); -} - -//CHECK#4 -if (Number.POSITIVE_INFINITY === Number.NaN) { - $ERROR('#4: +Infinity !== NaN'); -} - -//CHECK#5 -if (Number.NEGATIVE_INFINITY === Number.NaN) { - $ERROR('#5: -Infinity !== NaN'); -} - -//CHECK#6 -if (Number.MAX_VALUE === Number.NaN) { - $ERROR('#6: Number.MAX_VALUE !== NaN'); -} - -//CHECK#7 -if (Number.MIN_VALUE === Number.NaN) { - $ERROR('#7: Number.MIN_VALUE !== NaN'); -} - -//CHECK#8 -if ("string" === Number.NaN) { - $ERROR('#8: "string" !== NaN'); -} - -//CHECK#9 -if (new Object() === Number.NaN) { - $ERROR('#9: new Object() !== NaN'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.js deleted file mode 100644 index 1f0f53edcb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A4.2; - * @section: 11.9.4, 11.9.6; - * @assertion: If x is +0(-0) and y is -0(+0), return true; - * @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A4.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.js", - -assertion: "If x is +0(-0) and y is -0(+0), return true", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if (!(+0 === -0)) { - $ERROR('#1: +0 === -0'); -} - -//CHECK#2 -if (!(-0 === +0)) { - $ERROR('#2: -0 === +0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.js deleted file mode 100644 index 828ae93df2..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A4.3; - * @section: 11.9.4, 11.9.6; - * @assertion: Type(x) and Type(y) are Number-s minus NaN, +0, -0. - * Return true, if x is the same number value as y; otherwise, return false; - * @description: x and y are primitive numbers; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A4.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.js", - -assertion: "Type(x) and Type(y) are Number-s minus NaN, +0, -0.", - -description: "x and y are primitive numbers", - -test: function testcase() { - //CHECK#1 -if (!(Number.POSITIVE_INFINITY === Number.POSITIVE_INFINITY)) { - $ERROR('#1: +Infinity === +Infinity'); -} - -//CHECK#2 -if (!(Number.NEGATIVE_INFINITY === Number.NEGATIVE_INFINITY)) { - $ERROR('#2: -Infinity === -Infinity'); -} - -//CHECK#3 -if (!(13 === 13)) { - $ERROR('#3: 13 === 13'); -} - -//CHECK#4 -if (!(-13 === -13)) { - $ERROR('#4: -13 === -13'); -} - -//CHECK#5 -if (!(1.3 === 1.3)) { - $ERROR('#5: 1.3 === 1.3'); -} - -//CHECK#6 -if (!(-1.3 === -1.3)) { - $ERROR('#6: -1.3 === -1.3'); -} - -//CHECK#7 -if (!(Number.POSITIVE_INFINITY === -Number.NEGATIVE_INFINITY)) { - $ERROR('#7: +Infinity === -(-Infinity)'); -} - -//CHECK#8 -if (1 === 0.999999999999) { - $ERROR('#8: 1 !== 0.999999999999'); -} - -//CHECK#9 -if (!(1.0 === 1)) { - $ERROR('#9: 1.0 === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.js deleted file mode 100644 index 094960b892..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A5; - * @section: 11.9.4, 11.9.6; - * @assertion: Type(x) and Type(y) are String-s. - * Return true, if x and y are exactly the same sequence of characters; otherwise, return false; - * @description: x and y are primitive strings; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A5", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.js", - -assertion: "Type(x) and Type(y) are String-s.", - -description: "x and y are primitive strings", - -test: function testcase() { - //CHECK#1 -if (!("" === "")) { - $ERROR('#1: "" === ""'); -} - -//CHECK#2 -if (!(" " === " ")) { - $ERROR('#2: " " === " "'); -} - -//CHECK#3 -if (!("string" === "string")) { - $ERROR('#3: "string" === "string"'); -} - -//CHECK#4 -if (" string" === "string ") { - $ERROR('#4: " string" !== "string "'); -} - -//CHECK#5 -if ("1.0" === "1") { - $ERROR('#5: "1.0" !== "1"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.js deleted file mode 100644 index 14ee6f681a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A6.1; - * @section: 11.9.4, 11.9.6; - * @assertion: If Type(x) and Type(y) are Undefined-s, return true; - * @description: void 0, eval("var x") is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A6.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.js", - -assertion: "If Type(x) and Type(y) are Undefined-s, return true", - -description: "void 0, eval(\"var x\") is undefined", - -test: function testcase() { - //CHECK#1 -if (!(undefined === undefined)) { - $ERROR('#1: undefined === undefined'); -} - -//CHECK#2 -if (!(void 0 === undefined)) { - $ERROR('#2: void 0 === undefined'); -} - -//CHECK#3 -if (!(undefined === eval("var x"))) { - $ERROR('#3: undefined === eval("var x")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.js deleted file mode 100644 index 8dfda390eb..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A6.2; - * @section: 11.9.4, 11.9.6; - * @assertion: If Type(x) and Type(y) are Null-s, return true; - * @description: null === null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A6.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.js", - -assertion: "If Type(x) and Type(y) are Null-s, return true", - -description: "null === null", - -test: function testcase() { - //CHECK#1 -if (!(null === null)) { - $ERROR('#1: null === null'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.js deleted file mode 100644 index 2ae2fa156a..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A7; - * @section: 11.9.4, 11.9.6; - * @assertion: Type(x) and Type(y) are Object-s. - * Return true, if x and y are references to the same Object; otherwise, return false; - * @description: Checking Boolean object, Number object, String object, Object object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A7", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.js", - -assertion: "Type(x) and Type(y) are Object-s.", - -description: "Checking Boolean object, Number object, String object, Object object", - -test: function testcase() { - //CHECK#1 -if (new Object() === new Object()) { - $ERROR('#1: new Object() !== new Object()'); -} - -//CHECK#2 -if (new Object(true) === new Object(true)) { - $ERROR('#2: new Object() !== new Object()'); -} - -//CHECK#3 -if (new Object(false) === new Object(false)) { - $ERROR('#3: new Object() !== new Object()'); -} - -//CHECK#4 -if (new Object(+0) === new Object(-0)) { - $ERROR('#4: new Object(+0) !== new Object(-0)'); -} - -//CHECK#5 -x = {}; -y = x; -if (!(x === y)) { - $ERROR('#5: x = {}; y = x; x === y'); -} - -//CHECK#6 -if (new Boolean(true) === new Number(1)) { - $ERROR('#6 new Boolean(true) === new Number(1)'); -} - -//CHECK#7 -if (new Number(1) === new String("1")) { - $ERROR('#7: new Number(1) === new String("1")'); -} - -//CHECK#8 -if (new String("1") === new Boolean(true)) { - $ERROR('#8: new String("x") === new Boolean(true)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.js deleted file mode 100644 index accca736e1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A8_T1; - * @section: 11.9.4, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return false; - * @description: x or y is primitive boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A8_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.js", - -assertion: "If Type(x) is different from Type(y), return false", - -description: "x or y is primitive boolean", - -test: function testcase() { - //CHECK#1 -if (true === new Boolean(true)) { - $ERROR('#1: true !== new Number(true)'); -} - -//CHECK#2 -if (true === 1) { - $ERROR('#2: true !== 1'); -} - -//CHECK#3 -if (true === new Number(true)) { - $ERROR('#3: true !== new Number(true)'); -} - -//CHECK#4 -if (true === "1") { - $ERROR('#4: true !== "1"'); -} - -//CHECK#5 -if (true === new String(true)) { - $ERROR('#5: true !== new String(true)'); -} - -//CHECK#6 -if (new Boolean(false) === false) { - $ERROR('#6: new Number(false) !== false'); -} - -//CHECK#7 -if (0 === false) { - $ERROR('#7: 0 !== false'); -} - -//CHECK#8 -if (new Number(false) === false) { - $ERROR('#8: new Number(false) !== false'); -} - -//CHECK#9 -if ("0" === false) { - $ERROR('#9: "0" !== false'); -} - -//CHECK#10 -if (false === new String(false)) { - $ERROR('#10: false !== new String(false)'); -} - -//CHECK#11 -if (true === {valueOf: function () {return true}}) { - $ERROR('#11: true === {valueOf: function () {return true}}'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.js deleted file mode 100644 index 2d95b0764c..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A8_T2; - * @section: 11.9.4, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return false; - * @description: x or y is primitive number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A8_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.js", - -assertion: "If Type(x) is different from Type(y), return false", - -description: "x or y is primitive number", - -test: function testcase() { - //CHECK#1 -if (1 === new Number(1)) { - $ERROR('#1: 1 !== new Number(1)'); -} - -//CHECK#2 -if (1 === true) { - $ERROR('#2: 1 !== true'); -} - -//CHECK#3 -if (1 === new Boolean(1)) { - $ERROR('#3: 1 !== new Boolean(1)'); -} - -//CHECK#4 -if (1 === "1") { - $ERROR('#4: 1 !== "1"'); -} - -//CHECK#5 -if (1 === new String(1)) { - $ERROR('#5: 1 !== new String(1)'); -} - -//CHECK#6 -if (new Number(0) === 0) { - $ERROR('#6: new Number(0) !== 0'); -} - -//CHECK#7 -if (false === 0) { - $ERROR('#7: false !== 0'); -} - -//CHECK#8 -if (new Boolean(0) === 0) { - $ERROR('#8: new Boolean(0) !== 0'); -} - -//CHECK#9 -if ("0" === 0) { - $ERROR('#9: "0" !== 0'); -} - -//CHECK#10 -if (new String(0) === 0) { - $ERROR('#10: new String(0) !== 0'); -} - -//CHECK#11 -if (1 === {valueOf: function () {return 1}}) { - $ERROR('#11: 1 === {valueOf: function () {return 1}}'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.js deleted file mode 100644 index 8a1d6cb12d..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A8_T3; - * @section: 11.9.4, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return false; - * @description: x or y is primitive string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A8_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.js", - -assertion: "If Type(x) is different from Type(y), return false", - -description: "x or y is primitive string", - -test: function testcase() { - //CHECK#1 -if ("1" === new String("1")) { - $ERROR('#1: "1" !== new String("1")'); -} - -//CHECK#2 -if ("1" === true) { - $ERROR('#2: "1" !== true'); -} - -//CHECK#3 -if ("1" === new Boolean("1")) { - $ERROR('#3: "1" !== new Boolean("1")'); -} - -//CHECK#4 -if ("1" === 1) { - $ERROR('#4: "1" === 1'); -} - -//CHECK#5 -if ("1" === new Number("1")) { - $ERROR('#5: "1" === new Number("1")'); -} - -//CHECK#6 -if (new String(false) === false) { - $ERROR('#6: new Number(false) !== false'); -} - -//CHECK#7 -if (false === "0") { - $ERROR('#7: false !== "0"'); -} - -//CHECK#8 -if ("0" === new Boolean("0")) { - $ERROR('#8: "0" !== new Boolean("0")'); -} - -//CHECK#9 -if (false === 0) { - $ERROR('#9: false !== 0'); -} - -//CHECK#10 -if (false === new Number(false)) { - $ERROR('#10: false !== new Number(false)'); -} - -//CHECK#11 -if ("1" === {valueOf: function () {return "1"}}) { - $ERROR('#11: "1" === {valueOf: function () {return "1"}}'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.js deleted file mode 100644 index df00a43208..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A8_T4; - * @section: 11.9.4, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return false; - * @description: x or y is null or undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A8_T4", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.js", - -assertion: "If Type(x) is different from Type(y), return false", - -description: "x or y is null or undefined", - -test: function testcase() { - //CHECK#1 -if (undefined === null) { - $ERROR('#1: undefined !== null'); -} - -//CHECK#2 -if (null === undefined) { - $ERROR('#2: null !== undefined'); -} - -//CHECK#3 -if (null === 0) { - $ERROR('#3: null !== 0'); -} - -//CHECK#4 -if (0 === null) { - $ERROR('#4: 0 !== null'); -} - -//CHECK#5 -if (null === false) { - $ERROR('#5: null !== false'); -} - -//CHECK#6 -if (false === null) { - $ERROR('#6: false !== null'); -} - -//CHECK#7 -if (undefined === false) { - $ERROR('#7: undefined !== false'); -} - -//CHECK#8 -if (false === undefined) { - $ERROR('#8: false !== undefined'); -} - -//CHECK#9 -if (null === new Object()) { - $ERROR('#9: null !== new Object()'); -} - -//CHECK#10 -if (new Object() === null) { - $ERROR('#10: new Object() !== null'); -} - -//CHECK#11 -if (null === "null") { - $ERROR('#11: null !== "null"'); -} - -//CHECK#12 -if ("null" === null) { - $ERROR('#12: "null" !== null'); -} - -//CHECK#13 -if (undefined === "undefined") { - $ERROR('#13: undefined !== "undefined"'); -} - -//CHECK#14 -if ("undefined" === undefined) { - $ERROR('#14: "undefined" !== undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.js deleted file mode 100644 index ae7fa2bb2b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.4_A8_T5; - * @section: 11.9.4, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return false; - * @description: Checking with such x and y that either x or y is primitive string and the other is primitive number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.4_A8_T5", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.js", - -assertion: "If Type(x) is different from Type(y), return false", - -description: "Checking with such x and y that either x or y is primitive string and the other is primitive number", - -test: function testcase() { - //CHECK#1 -try { - throw 1; -} catch(e) { - if (e === "1") { - $ERROR('#1: throw 1 !== "1"'); - } -} - -//CHECK#2 -try { - throw "1"; -} catch(e) { - if (1 === e) { - $ERROR('#2: 1 !== throw "1"'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.js deleted file mode 100644 index 7d4a50ab70..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S11.9.5_A1; -* @section: 11.9.5, 7.2, 7.3; -* @assertion: White Space and Line Terminator between EqualityExpression and "!==" or between "!==" and RelationalExpression are allowed; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.js", - -assertion: "White Space and Line Terminator between EqualityExpression and \"!==\" or between \"!==\" and RelationalExpression are allowed", - -description: "Checking by using eval", - -test: function testcase() { - //CHECK#1 -if (eval("1\u0009!==\u00091")) { - $ERROR('#1: 1\\u0009!==\\u00091'); -} - -//CHECK#2 -if (eval("1\u000B!==\u000B1")) { - $ERROR('#2: 1\\u000B!==\\u000B1'); -} - -//CHECK#3 -if (eval("1\u000C!==\u000C1")) { - $ERROR('#3: 1\\u000C!==\\u000C1'); -} - -//CHECK#4 -if (eval("1\u0020!==\u00201")) { - $ERROR('#4: 1\\u0020!==\\u00201'); -} - -//CHECK#5 -if (eval("1\u00A0!==\u00A01")) { - $ERROR('#5: 1\\u00A0!==\\u00A01'); -} - -//CHECK#6 -if (eval("1\u000A!==\u000A1")) { - $ERROR('#6: 1\\u000A!==\\u000A1'); -} - -//CHECK#7 -if (eval("1\u000D!==\u000D1")) { - $ERROR('#7: 1\\u000D!==\\u000D1'); -} - -//CHECK#8 -if (eval("1\u2028!==\u20281")) { - $ERROR('#8: 1\\u2028!==\\u20281'); -} - -//CHECK#9 -if (eval("1\u2029!==\u20291")) { - $ERROR('#9: 1\\u2029!==\\u20291'); -} - -//CHECK#10 -if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029!==\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) { - $ERROR('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029!==\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1.js deleted file mode 100644 index b1f8fa21cf..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A2.1_T1; - * @section: 11.9.5; - * @assertion: Operator x !== y uses GetValue; - * @description: Either Type is not Reference or GetBase is not null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A2.1_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1.js", - -assertion: "Operator x !== y uses GetValue", - -description: "Either Type is not Reference or GetBase is not null", - -test: function testcase() { - //CHECK#1 -if (1 !== 1) { - $ERROR('#1: 1 === 1'); -} - -//CHECK#2 -var x = 1; -if (x !== 1) { - $ERROR('#2: var x = 1; x === 1'); -} - -//CHECK#3 -var y = 1; -if (1 !== y) { - $ERROR('#3: var y = 1; 1 === y'); -} - -//CHECK#4 -var x = 1; -var y = 1; -if (x !== y) { - $ERROR('#4: var x = 1; var y = 1; x === y'); -} - -//CHECK#5 -var objectx = new Object(); -var objecty = new Object(); -objectx.prop = 1; -objecty.prop = 1; -if (objectx.prop !== objecty.prop) { - $ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop === objecty.prop'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2.js deleted file mode 100644 index 9b5dfb6172..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A2.1_T2; - * @section: 11.9.5; - * @assertion: Operator x !== y uses GetValue; - * @description: If GetBase(x) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A2.1_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2.js", - -assertion: "Operator x !== y uses GetValue", - -description: "If GetBase(x) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - x !== 1; - $ERROR('#1.1: x !== 1 throw ReferenceError. Actual: ' + (x !== 1)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x !== 1 throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3.js deleted file mode 100644 index 1c988c12ff..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A2.1_T3; - * @section: 11.9.5; - * @assertion: Operator x !== y uses GetValue; - * @description: If GetBase(y) is null, throw ReferenceError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A2.1_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3.js", - -assertion: "Operator x !== y uses GetValue", - -description: "If GetBase(y) is null, throw ReferenceError", - -test: function testcase() { - //CHECK#1 -try { - 1 !== y; - $ERROR('#1.1: 1 !== y throw ReferenceError. Actual: ' + (1 !== y)); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: 1 !== y throw ReferenceError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1.js deleted file mode 100644 index 3357050224..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A2.4_T1; - * @section: 11.9.5; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "="; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A2.4_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"=\"", - -test: function testcase() { - //CHECK#1 -var x = 0; -if ((x = 1) !== x) { - $ERROR('#1: var x = 0; (x = 1) === x'); -} - -//CHECK#2 -var x = 0; -if (!(x !== (x = 1))) { - $ERROR('#2: var x = 0; x !== (x = 1)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2.js deleted file mode 100644 index 838cca3c77..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A2.4_T2; - * @section: 11.9.5; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking with "throw"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A2.4_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking with \"throw\"", - -test: function testcase() { - //CHECK#1 -var x = function () { throw "x"; }; -var y = function () { throw "y"; }; -try { - x() !== y(); - $ERROR('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() !== y() throw "x". Actual: ' + (x() !== y())); -} catch (e) { - if (!(e !== "y")) { - $ERROR('#1.2: First expression is evaluated first, and then second expression'); - } else { - if (e !== "x") { - $ERROR('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() !== y() throw "x". Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3.js deleted file mode 100644 index 45da4c65f6..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A2.4_T3; - * @section: 11.9.5; - * @assertion: First expression is evaluated first, and then second expression; - * @description: Checking undeclarated variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A2.4_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3.js", - -assertion: "First expression is evaluated first, and then second expression", - -description: "Checking undeclarated variables", - -test: function testcase() { - //CHECK#1 -try { - x !== (x = 1); - $ERROR('#1.1: x !== (x = 1) throw ReferenceError. Actual: ' + (x !== (x = 1))); -} -catch (e) { - if ((e instanceof ReferenceError) !== true) { - $ERROR('#1.2: x !== (x = 1) throw ReferenceError. Actual: ' + (e)); - } -} - -//CHECK#2 -if ((y = 1) !== y) { - $ERROR('#2: (y = 1) === y'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.js deleted file mode 100644 index 06308130f3..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A3; - * @section: 11.9.5, 11.9.6; - * @assertion: Type(x) and Type(y) are Boolean-s. - * Return false, if x and y are both true or both false; otherwise, return true; - * @description: x and y are primitive booleans; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.js", - -assertion: "Type(x) and Type(y) are Boolean-s.", - -description: "x and y are primitive booleans", - -test: function testcase() { - //CHECK#1 -if (true !== true) { - $ERROR('#1: true === true'); -} - -//CHECK#2 -if (false !== false) { - $ERROR('#2: false === false'); -} - -//CHECK#3 -if (!(true !== false)) { - $ERROR('#3: true !== false'); -} - -//CHECK#4 -if (!(false !== true)) { - $ERROR('#4: false !== true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1.js deleted file mode 100644 index ba41dd83f1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A4.1_T1; - * @section: 11.9.5, 11.9.6; - * @assertion: If x or y is NaN, return true; - * @description: x is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A4.1_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1.js", - -assertion: "If x or y is NaN, return true", - -description: "x is NaN", - -test: function testcase() { - //CHECK#1 -if (!(Number.NaN !== true)) { - $ERROR('#1: NaN !== true'); -} - -//CHECK#2 -if (!(Number.NaN !== 1)) { - $ERROR('#2: NaN !== 1'); -} - -//CHECK#3 -if (!(Number.NaN !== Number.NaN)) { - $ERROR('#3: NaN !== NaN'); -} - -//CHECK#4 -if (!(Number.NaN !== Number.POSITIVE_INFINITY)) { - $ERROR('#4: NaN !== +Infinity'); -} - -//CHECK#5 -if (!(Number.NaN !== Number.NEGATIVE_INFINITY)) { - $ERROR('#5: NaN !== -Infinity'); -} - -//CHECK#6 -if (!(Number.NaN !== Number.MAX_VALUE)) { - $ERROR('#6: NaN !== Number.MAX_VALUE'); -} - -//CHECK#7 -if (!(Number.NaN !== Number.MIN_VALUE)) { - $ERROR('#7: NaN !== Number.MIN_VALUE'); -} - -//CHECK#8 -if (!(Number.NaN !== "string")) { - $ERROR('#8: NaN !== "string"'); -} - -//CHECK#9 -if (!(Number.NaN !== new Object())) { - $ERROR('#9: NaN !== new Object()'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2.js deleted file mode 100644 index 16900b09a4..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A4.1_T2; - * @section: 11.9.5, 11.9.6; - * @assertion: If x or y is NaN, return true; - * @description: y is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A4.1_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2.js", - -assertion: "If x or y is NaN, return true", - -description: "y is NaN", - -test: function testcase() { - //CHECK#1 -if (!(true !== Number.NaN)) { - $ERROR('#1: true !== NaN'); -} - -//CHECK#2 -if (!(-1 !== Number.NaN)) { - $ERROR('#2: -1 !== NaN'); -} - -//CHECK#3 -if (!(Number.NaN !== Number.NaN)) { - $ERROR('#3: NaN !== NaN'); -} - -//CHECK#4 -if (!(Number.POSITIVE_INFINITY !== Number.NaN)) { - $ERROR('#4: +Infinity !== NaN'); -} - -//CHECK#5 -if (!(Number.NEGATIVE_INFINITY !== Number.NaN)) { - $ERROR('#5: -Infinity !== NaN'); -} - -//CHECK#6 -if (!(Number.MAX_VALUE !== Number.NaN)) { - $ERROR('#6: Number.MAX_VALUE !== NaN'); -} - -//CHECK#7 -if (!(Number.MIN_VALUE !== Number.NaN)) { - $ERROR('#7: Number.MIN_VALUE !== NaN'); -} - -//CHECK#8 -if (!("string" !== Number.NaN)) { - $ERROR('#8: "string" !== NaN'); -} - -//CHECK#9 -if (!(new Object() !== Number.NaN)) { - $ERROR('#9: new Object() !== NaN'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.js deleted file mode 100644 index aa86c435ed..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A4.2; - * @section: 11.9.5, 11.9.6; - * @assertion: If x is +0(-0) and y is -0(+0), return false; - * @description: Checking all combinations; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A4.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.js", - -assertion: "If x is +0(-0) and y is -0(+0), return false", - -description: "Checking all combinations", - -test: function testcase() { - //CHECK#1 -if (+0 !== -0) { - $ERROR('#1: +0 === -0'); -} - -//CHECK#2 -if (-0 !== +0) { - $ERROR('#2: -0 === +0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.js deleted file mode 100644 index 40e4f04a7b..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A4.3; - * @section: 11.9.5, 11.9.6; - * @assertion: Type(x) and Type(y) are Number-s minus NaN, +0, -0. - * Return false, if x is the same number value as y; otherwise, return true; - * @description: x and y are primitive numbers; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A4.3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.js", - -assertion: "Type(x) and Type(y) are Number-s minus NaN, +0, -0.", - -description: "x and y are primitive numbers", - -test: function testcase() { - //CHECK#1 -if (Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY) { - $ERROR('#1: +Infinity === +Infinity'); -} - -//CHECK#2 -if (Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY) { - $ERROR('#2: -Infinity === -Infinity'); -} - -//CHECK#3 -if (13 !== 13) { - $ERROR('#3: 13 === 13'); -} - -//CHECK#4 -if (-13 !== -13) { - $ERROR('#4: -13 === -13'); -} - -//CHECK#5 -if (1.3 !== 1.3) { - $ERROR('#5: 1.3 === 1.3'); -} - -//CHECK#6 -if (-1.3 !== -1.3) { - $ERROR('#6: -1.3 === -1.3'); -} - -//CHECK#7 -if (Number.POSITIVE_INFINITY !== -Number.NEGATIVE_INFINITY) { - $ERROR('#7: +Infinity === -(-Infinity)'); -} - -//CHECK#8 -if (!(1 !== 0.999999999999)) { - $ERROR('#8: 1 !== 0.999999999999'); -} - -//CHECK#9 -if (1.0 !== 1) { - $ERROR('#9: 1.0 === 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.js deleted file mode 100644 index d231de3b12..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A5; - * @section: 11.9.5, 11.9.6; - * @assertion: Type(x) and Type(y) are String-s. - * Return false, if x and y are exactly the same sequence of characters; otherwise, return true; - * @description: x and y are primitive strings; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A5", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.js", - -assertion: "Type(x) and Type(y) are String-s.", - -description: "x and y are primitive strings", - -test: function testcase() { - //CHECK#1 -if ("" !== "") { - $ERROR('#1: "" === ""'); -} - -//CHECK#2 -if (" " !== " ") { - $ERROR('#2: " " === " "'); -} - -//CHECK#3 -if ("string" !== "string") { - $ERROR('#3: "string" === "string"'); -} - -//CHECK#4 -if (!(" string" !== "string ")) { - $ERROR('#4: " string" !== "string "'); -} - -//CHECK#5 -if (!("1.0" !== "1")) { - $ERROR('#5: "1.0" !== "1"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.js deleted file mode 100644 index cf70b19020..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A6.1; - * @section: 11.9.5, 11.9.6; - * @assertion: If Type(x) and Type(y) are Undefined-s, return false; - * @description: void 0, eval("var x") is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A6.1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.js", - -assertion: "If Type(x) and Type(y) are Undefined-s, return false", - -description: "void 0, eval(\"var x\") is undefined", - -test: function testcase() { - //CHECK#1 -if (undefined !== undefined) { - $ERROR('#1: undefined === undefined'); -} - -//CHECK#2 -if (void 0 !== undefined) { - $ERROR('#2: void 0 === undefined'); -} - -//CHECK#3 -if (undefined !== eval("var x")) { - $ERROR('#3: undefined === eval("var x")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.js deleted file mode 100644 index ea693423d0..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A6.2; - * @section: 11.9.5, 11.9.6; - * @assertion: If Type(x) and Type(y) are Null-s, return false; - * @description: null === null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A6.2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.js", - -assertion: "If Type(x) and Type(y) are Null-s, return false", - -description: "null === null", - -test: function testcase() { - //CHECK#1 -if (null !== null) { - $ERROR('#1: null === null'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.js deleted file mode 100644 index f2b8da8bb1..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A7; - * @section: 11.9.5, 11.9.6; - * @assertion: Type(x) and Type(y) are Object-s. - * Return false, if x and y are references to the same Object; otherwise, return true; - * @description: Checking Boolean object, Number object, String object, Object object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A7", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.js", - -assertion: "Type(x) and Type(y) are Object-s.", - -description: "Checking Boolean object, Number object, String object, Object object", - -test: function testcase() { - //CHECK#1 -if (!(new Object() !== new Object())) { - $ERROR('#1: new Object() !== new Object()'); -} - -//CHECK#2 -if (!(new Object(true) !== new Object(true))) { - $ERROR('#2: new Object() !== new Object()'); -} - -//CHECK#3 -if (!(new Object(false) !== new Object(false))) { - $ERROR('#3: new Object() !== new Object()'); -} - -//CHECK#4 -if (!(new Object(+0) !== new Object(-0))) { - $ERROR('#4: new Object(+0) !== new Object(-0)'); -} - -//CHECK#5 -x = {}; -y = x; -if (x !== y) { - $ERROR('#5: x = {}; y = x; x === y'); -} - -//CHECK#6 -if (!(new Boolean(true) !== new Number(1))) { - $ERROR('#6 new Boolean(true) !== new Number(1)'); -} - -//CHECK#7 -if (!(new Number(1) !== new String("1"))) { - $ERROR('#7: new Number(1) !== new String("1")'); -} - -//CHECK#8 -if (!(new String("1") !== new Boolean(true))) { - $ERROR('#8: new String("x") !== new Boolean(true)'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.js deleted file mode 100644 index 5b1d294840..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A8_T1; - * @section: 11.9.5, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return true; - * @description: x or y is primitive boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A8_T1", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.js", - -assertion: "If Type(x) is different from Type(y), return true", - -description: "x or y is primitive boolean", - -test: function testcase() { - //CHECK#1 -if (!(true !== new Boolean(true))) { - $ERROR('#1: true !== new Number(true)'); -} - -//CHECK#2 -if (!(true !== 1)) { - $ERROR('#2: true !== 1'); -} - -//CHECK#3 -if (!(true !== new Number(true))) { - $ERROR('#3: true !== new Number(true)'); -} - -//CHECK#4 -if (!(true !== "1")) { - $ERROR('#4: true !== "1"'); -} - -//CHECK#5 -if (!(true !== new String(true))) { - $ERROR('#5: true !== new String(true)'); -} - -//CHECK#6 -if (!(new Boolean(false) !== false)) { - $ERROR('#6: new Number(false) !== false'); -} - -//CHECK#7 -if (!(0 !== false)) { - $ERROR('#7: 0 !== false'); -} - -//CHECK#8 -if (!(new Number(false) !== false)) { - $ERROR('#8: new Number(false) !== false'); -} - -//CHECK#9 -if (!("0" !== false)) { - $ERROR('#9: "0" !== false'); -} - -//CHECK#10 -if (!(false !== new String(false))) { - $ERROR('#10: false !== new String(false)'); -} - -//CHECK#11 -if (!(true !== {valueOf: function () {return true}})) { - $ERROR('#11: true !== {valueOf: function () {return true}}'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.js deleted file mode 100644 index 5f6d4117af..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A8_T2; - * @section: 11.9.5, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return true; - * @description: x or y is primitive number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A8_T2", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.js", - -assertion: "If Type(x) is different from Type(y), return true", - -description: "x or y is primitive number", - -test: function testcase() { - //CHECK#1 -if (!(1 !== new Number(1))) { - $ERROR('#1: 1 !== new Number(1)'); -} - -//CHECK#2 -if (!(1 !== true)) { - $ERROR('#2: 1 !== true'); -} - -//CHECK#3 -if (!(1 !== new Boolean(1))) { - $ERROR('#3: 1 !== new Boolean(1)'); -} - -//CHECK#4 -if (!(1 !== "1")) { - $ERROR('#4: 1 !== "1"'); -} - -//CHECK#5 -if (!(1 !== new String(1))) { - $ERROR('#5: 1 !== new String(1)'); -} - -//CHECK#6 -if (!(new Number(0) !== 0)) { - $ERROR('#6: new Number(0) !== 0'); -} - -//CHECK#7 -if (!(false !== 0)) { - $ERROR('#7: false !== 0'); -} - -//CHECK#8 -if (!(new Boolean(0) !== 0)) { - $ERROR('#8: new Boolean(0) !== 0'); -} - -//CHECK#9 -if (!("0" !== 0)) { - $ERROR('#9: "0" !== 0'); -} - -//CHECK#10 -if (!(new String(0) !== 0)) { - $ERROR('#10: new String(0) !== 0'); -} - -//CHECK#11 -if (!(1 !== {valueOf: function () {return 1}})) { - $ERROR('#11: 1 !== {valueOf: function () {return 1}}'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.js deleted file mode 100644 index 789e9f9eb7..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A8_T3; - * @section: 11.9.5, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return true; - * @description: x or y is primitive string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A8_T3", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.js", - -assertion: "If Type(x) is different from Type(y), return true", - -description: "x or y is primitive string", - -test: function testcase() { - //CHECK#1 -if (!("1" !== new String("1"))) { - $ERROR('#1: "1" !== new String("1")'); -} - -//CHECK#2 -if (!("1" !== true)) { - $ERROR('#2: "1" !== true'); -} - -//CHECK#3 -if (!("1" !== new Boolean("1"))) { - $ERROR('#3: "1" !== new Boolean("1")'); -} - -//CHECK#4 -if (!("1" !== 1)) { - $ERROR('#4: "1" === 1'); -} - -//CHECK#5 -if (!("1" !== new Number("1"))) { - $ERROR('#5: "1" === new Number("1")'); -} - -//CHECK#6 -if (!(new String(false) !== false)) { - $ERROR('#6: new Number(false) !== false'); -} - -//CHECK#7 -if (!(false !== "0")) { - $ERROR('#7: false !== "0"'); -} - -//CHECK#8 -if (!("0" !== new Boolean("0"))) { - $ERROR('#8: "0" !== new Boolean("0")'); -} - -//CHECK#9 -if (!(false !== 0)) { - $ERROR('#9: false !== 0'); -} - -//CHECK#10 -if (!(false !== new Number(false))) { - $ERROR('#10: false !== new Number(false)'); -} - -//CHECK#11 -if (!("1" !== {valueOf: function () {return "1"}})) { - $ERROR('#11: "1" !== {valueOf: function () {return "1"}}'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.js deleted file mode 100644 index 74004c7617..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A8_T4; - * @section: 11.9.5, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return true; - * @description: x or y is null or undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A8_T4", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.js", - -assertion: "If Type(x) is different from Type(y), return true", - -description: "x or y is null or undefined", - -test: function testcase() { - //CHECK#1 -if (!(undefined !== null)) { - $ERROR('#1: undefined !== null'); -} - -//CHECK#2 -if (!(null !== undefined)) { - $ERROR('#2: null !== undefined'); -} - -//CHECK#3 -if (!(null !== 0)) { - $ERROR('#3: null !== 0'); -} - -//CHECK#4 -if (!(0 !== null)) { - $ERROR('#4: 0 !== null'); -} - -//CHECK#5 -if (!(null !== false)) { - $ERROR('#5: null !== false'); -} - -//CHECK#6 -if (!(false !== null)) { - $ERROR('#6: false !== null'); -} - -//CHECK#7 -if (!(undefined !== false)) { - $ERROR('#7: undefined !== false'); -} - -//CHECK#8 -if (!(false !== undefined)) { - $ERROR('#8: false !== undefined'); -} - -//CHECK#9 -if (!(null !== new Object())) { - $ERROR('#9: null !== new Object()'); -} - -//CHECK#10 -if (!(new Object() !== null)) { - $ERROR('#10: new Object() !== null'); -} - -//CHECK#11 -if (!(null !== "null")) { - $ERROR('#11: null !== "null"'); -} - -//CHECK#12 -if (!("null" !== null)) { - $ERROR('#12: "null" !== null'); -} - -//CHECK#13 -if (!(undefined !== "undefined")) { - $ERROR('#13: undefined !== "undefined"'); -} - -//CHECK#14 -if (!("undefined" !== undefined)) { - $ERROR('#14: "undefined" !== undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.js b/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.js deleted file mode 100644 index a279d3ff90..0000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S11.9.5_A8_T5; - * @section: 11.9.5, 11.9.6; - * @assertion: If Type(x) is different from Type(y), return true; - * @description: Checking such x and y that either x or y is primitive string and the other is primitive number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S11.9.5_A8_T5", - -path: "TestCases/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.js", - -assertion: "If Type(x) is different from Type(y), return true", - -description: "Checking such x and y that either x or y is primitive string and the other is primitive number", - -test: function testcase() { - //CHECK#1 -try { - throw 1; -} catch(e) { - if (!(e !== "1")) { - $ERROR('#1: throw 1 !== "1"'); - } -} - -//CHECK#2 -try { - throw "1"; -} catch(e) { - if (!(1 !== e)) { - $ERROR('#2: 1 !== throw "1"'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.js deleted file mode 100644 index 857abef6ef..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.js +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.10_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using interation statement within "with" statement leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.10_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using interation statement within \"with\" statement leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - do{ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - while(false); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.js deleted file mode 100644 index 35fd5ab996..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.js +++ /dev/null @@ -1,163 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.10_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using iteration statement within "with" statement leading to completion by exception - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.10_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using iteration statement within \"with\" statement leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - do{ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - while(false); - } -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.js deleted file mode 100644 index 666685d114..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.js +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.10_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using iteration statment withing "with" statement leading to completion by exception - * iteration statement inside with statement - exception completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.10_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using iteration statment withing \"with\" statement leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - do{ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - while(false); - } -} catch(e){ - result = e; -} - -if(!(result === "myObj_value")){ - $ERROR('#0: result === "myObj_value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === undefined)){ - $ERROR('#4: p4 === undefined. Actual: p4 ==='+ p4 ); -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.js deleted file mode 100644 index 05a475a27e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.js +++ /dev/null @@ -1,156 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.10_T4; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using iteration statement witthin "with" staement leading to completion by break - * iteration statement inside with statement - break completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.10_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using iteration statement witthin \"with\" staement leading to completion by break", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - do{ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - break; - } - while(false); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.js deleted file mode 100644 index 159c023f8a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.js +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.10_T5; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using iteration statement within "with" statement leading to completion by break - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.10_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using iteration statement within \"with\" statement leading to completion by break", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - do{ - break; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - while(false); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === undefined)){ - $ERROR('#4: p4 === undefined. Actual: p4 ==='+ p4 ); -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.js deleted file mode 100644 index 8f2c90cf96..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.js +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.11_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared without the statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.11_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared without the statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; -} - -with(myObj){ - f(); -} - -if(!(p1 === "x1")){ - $ERROR('#1: p1 === "x1". Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -try{ - p3; - $ERROR('#3: p3 is nod defined'); -} -catch(e){ -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === parseInt)){ - $ERROR('#11: st_parseInt === parseInt. Actual: st_parseInt ==='+ st_parseInt ); -} - -if(!isNaN(st_NaN)){ - $ERROR('#12: st_NaN === NaN. Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === Infinity)){ - $ERROR('#13: st_Infinity === Infinity. Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === eval)){ - $ERROR('#14: st_eval === eval. Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === parseFloat)){ - $ERROR('#15: st_parseFloat === parseFloat. Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === isNaN)){ - $ERROR('#16: st_isNaN === isNaN. Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === isFinite)){ - $ERROR('#17: st_isFinite === isFinite. Actual: st_isFinite ==='+ st_isFinite ); -} - -try { - value; - $ERROR('#18: value is not defined'); -} catch(e) { -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.js deleted file mode 100644 index df2c9286fb..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.js +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.11_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared without the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.11_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared without the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - return value; -} - -with(myObj){ - result = f(); -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === "x1")){ - $ERROR('#1: p1 === "x1". Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -try{ - p3; - $ERROR('#3: p3 is nod defined'); -} -catch(e){ -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === parseInt)){ - $ERROR('#11: st_parseInt === parseInt. Actual: st_parseInt ==='+ st_parseInt ); -} - -if(!isNaN(st_NaN)){ - $ERROR('#12: st_NaN === NaN. Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === Infinity)){ - $ERROR('#13: st_Infinity === Infinity. Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === eval)){ - $ERROR('#14: st_eval === eval. Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === parseFloat)){ - $ERROR('#15: st_parseFloat === parseFloat. Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === isNaN)){ - $ERROR('#16: st_isNaN === isNaN. Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === isFinite)){ - $ERROR('#17: st_isFinite === isFinite. Actual: st_isFinite ==='+ st_isFinite ); -} - -try { - value; - $ERROR('#18: value is not defined'); -} catch(e) { -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.js deleted file mode 100644 index aee780d3b2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.js +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.11_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared without the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.11_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared without the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -var f = function(){ - return value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; -} - -with(myObj){ - result = f(); -} - -if(!(result === undefined)){ - $ERROR('#0: result === undefined. Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try{ - p4; - $ERROR('#4: p4 doesn\'t exists'); -} -catch(e){ -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try { - value; - $ERROR('#18: value is not defined'); -} catch(e) { -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.js deleted file mode 100644 index 576f5dbdf7..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.js +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.11_T4; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared without the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.11_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared without the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - with(myObj){ - f(); - } -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === "x1")){ - $ERROR('#1: p1 === "x1". Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -try{ - p3; - $ERROR('#3: p3 is nod defined'); -} -catch(e){ -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === parseInt)){ - $ERROR('#11: st_parseInt === parseInt. Actual: st_parseInt ==='+ st_parseInt ); -} - -if(!isNaN(st_NaN)){ - $ERROR('#12: st_NaN === NaN. Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === Infinity)){ - $ERROR('#13: st_Infinity === Infinity. Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === eval)){ - $ERROR('#14: st_eval === eval. Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === parseFloat)){ - $ERROR('#15: st_parseFloat === parseFloat. Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === isNaN)){ - $ERROR('#16: st_isNaN === isNaN. Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === isFinite)){ - $ERROR('#17: st_isFinite === isFinite. Actual: st_isFinite ==='+ st_isFinite ); -} - -try { - value; - $ERROR('#18: value is not defined'); -} catch(e) { -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.js deleted file mode 100644 index 2955901a40..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.js +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.11_T5; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared without the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.11_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared without the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - var f = function(){ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - with(myObj){ - f(); - } -} catch(e){ - result = e; -} - -if(!(result === undefined)){ - $ERROR('#0: result === undefined. Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try{ - p4; - $ERROR('#4: p4 doesn\'t exists'); -} -catch(e){ -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try { - value; - $ERROR('#18: value is not defined'); -} catch(e) { -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.js deleted file mode 100644 index 55e0f33723..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.js +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.12_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement declared within the statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.12_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement declared within the statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} -f(); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try{ - p4; - $ERROR('#4: p4 doesn\'t exists'); -} -catch(e){ -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try { - value; - $ERROR('#18: value is not defined'); -} catch(e) { -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.js deleted file mode 100644 index 2ce9b2ae07..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.js +++ /dev/null @@ -1,165 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.12_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement declared within the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.12_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement declared within the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - return value; - } -} -result = f(); - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try{ - p4; - $ERROR('#4: p4 doesn\'t exists'); -} -catch(e){ -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.js deleted file mode 100644 index b1027332ab..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.js +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.12_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement declared within the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.12_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement declared within the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - var f = function(){ - return value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} -result = f(); - -if(!(result === undefined)){ - $ERROR('#0: result === undefined. Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.js deleted file mode 100644 index 5f36ba6024..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.js +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.12_T4; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement declared within the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.12_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement declared within the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - } - f(); -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try { - value; - $ERROR('#18: value is not defined'); -} catch(e) { -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.js deleted file mode 100644 index 4fba053e8f..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.js +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.12_T5; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement declared within the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.12_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement declared within the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - var f = function(){ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - } - f(); -} catch(e){ - result = e; -} - -if(!(result === undefined)){ - $ERROR('#0: result === undefined. Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.js deleted file mode 100644 index 7c5baecdc3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.js +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.1_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" inside of global context leading to normal completion; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.1_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" inside of global context leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.js deleted file mode 100644 index 2cfa2c7cda..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.js +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.1_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" inside of global context leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.1_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" inside of global context leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.js deleted file mode 100644 index 5a69ed6289..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.js +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.1_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" inside of global context leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.1_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" inside of global context leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} catch(e){ - result = e; -} - -if(!(result === "myObj_value")){ - $ERROR('#0: result === "myObj_value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === undefined)){ - $ERROR('#4: p4 === undefined. Actual: p4 ==='+ p4 ); -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.js deleted file mode 100644 index 963c41c241..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.js +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.2_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.2_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement when the statement itself is declared within the function declaration, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -var f = function(){ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} -f(); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.js deleted file mode 100644 index 5b5e46eec5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.js +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.2_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.2_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement when the statement itself is declared within the function declaration, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -var f = function(){ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - return value; - } -} -result = f(); - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.js deleted file mode 100644 index c633d3656f..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.js +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.2_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.2_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement when the statement itself is declared within the function declaration, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -var f = function(){ - with(myObj){ - return value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} -result = f(); - -if(!(result === "myObj_value")){ - $ERROR('#0: result === "myObj_value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.js deleted file mode 100644 index 99003fecf1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.js +++ /dev/null @@ -1,168 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.2_T4; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.2_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement when the statement itself is declared within the function declaration, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - var f = function(){ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - } - f(); -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.js deleted file mode 100644 index f4238777cd..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.js +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.2_T5; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.2_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function without \"with\" statement when the statement itself is declared within the function declaration, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - var f = function(){ - with(myObj){ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - } - f(); -} catch(e){ - result = e; -} - -if(!(result === "myObj_value")){ - $ERROR('#0: result === "myObj_value". Actual: result ==='+ result ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.js deleted file mode 100644 index 6dd3f725be..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.js +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.3_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within function constructor, leading to normal completition; - * @strict_mode_negative -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.3_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within function constructor, leading to normal completition", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -var f = function(){ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} -var obj = new f(); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.js deleted file mode 100644 index b46d9a9bf0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.js +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.3_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within function constructor, leading to normal completition by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.3_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within function constructor, leading to normal completition by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -var f = function(){ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - return value; - } -} -var obj = new f(); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.js deleted file mode 100644 index 57369b3d65..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.js +++ /dev/null @@ -1,163 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.3_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within function constructor, leading to normal completition by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.3_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within function constructor, leading to normal completition by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -var f = function(){ - with(myObj){ - return value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} -var obj = new f(); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.js deleted file mode 100644 index 53ffbc1ae1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.js +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.3_T4; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within function constructor, leading to completition by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.3_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within function constructor, leading to completition by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - var f = function(){ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - } - var obj = new f(); -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.js deleted file mode 100644 index be31dbbf01..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.js +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.3_T5; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within function constructor, leading to completition by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.3_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within function constructor, leading to completition by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - var f = function(){ - with(myObj){ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - } - var obj = new f(); -} catch(e){ - result = e; -} - -if(!(result === "myObj_value")){ - $ERROR('#0: result === "myObj_value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.js deleted file mode 100644 index d139778d63..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.js +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.4_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within iteration statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.4_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within iteration statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -do{ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} -while(false); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.js deleted file mode 100644 index 8879439fa7..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.js +++ /dev/null @@ -1,163 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.4_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within iteration statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.4_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within iteration statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - do{ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - } - while(false); -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.js deleted file mode 100644 index 22e5437693..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.js +++ /dev/null @@ -1,165 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.4_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within iteration statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.4_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within iteration statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - do{ - with(myObj){ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - } - while(false); -} catch(e){ - result = e; -} - -if(!(result === "myObj_value")){ - $ERROR('#0: result === "myObj_value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === undefined)){ - $ERROR('#4: p4 === undefined. Actual: p4 ==='+ p4 ); -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.js deleted file mode 100644 index 23578ff3e1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.js +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.4_T4; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within iteration statement, leading to completion by break; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.4_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within iteration statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -do{ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - break; - } -} -while(false); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.js deleted file mode 100644 index 4c66efe812..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.js +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.4_T5; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within iteration statement, leading to completion by break; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.4_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within iteration statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -do{ - with(myObj){ - break; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} -while(false); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === undefined)){ - $ERROR('#4: p4 ===undefined. Actual: p4 ==='+ p4 ); -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.js deleted file mode 100644 index ce0da5f68e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.js +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.5_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within "for-in" statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.5_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within \"for-in\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -for(var prop in myObj){ - with(myObj){ - if(prop === 'p1') { - st_p1 = p1; - p1 = 'x1'; - } - if(prop === 'p2') { - st_p2 = p2; - this.p2 = 'x2'; - } - if(prop === 'p3') { - st_p3 = p3; - del = delete p3; - } - if(prop === 'parseInt') st_parseInt = parseInt; - if(prop === 'NaN') st_NaN = NaN; - if(prop === 'Infinity') st_Infinity = Infinity; - if(prop === 'eval') st_eval = eval; - if(prop === 'parseFloat') st_parseFloat = parseFloat; - if(prop === 'isNaN') st_isNaN = isNaN; - if(prop === 'isFinite') st_isFinite = isFinite; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.js deleted file mode 100644 index 9c2baa90b7..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.js +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.5_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within "for-in" statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.5_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within \"for-in\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - for(var prop in myObj){ - with(myObj){ - st_p1 = p1; - p1 = 'x1'; - st_p2 = p2; - this.p2 = 'x2'; - st_p3 = p3; - del = delete p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - } -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.js deleted file mode 100644 index b2ce94ad0d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.js +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.5_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within "for-in" statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.5_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within \"for-in\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - for(var prop in myObj){ - with(myObj){ - throw value; - if(prop === 'p1') { - st_p1 = p1; - p1 = 'x1'; - } - if(prop === 'p2') { - st_p2 = p2; - this.p2 = 'x2'; - } - if(prop === 'p3') { - st_p3 = p3; - del = delete p3; - } - if(prop === 'parseInt') st_parseInt = parseInt; - if(prop === 'NaN') st_NaN = NaN; - if(prop === 'Infinity') st_Infinity = Infinity; - if(prop === 'eval') st_eval = eval; - if(prop === 'parseFloat') st_parseFloat = parseFloat; - if(prop === 'isNaN') st_isNaN = isNaN; - if(prop === 'isFinite') st_isFinite = isFinite; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - } -} catch(e){ - result = e; -} - -if(!(result === "myObj_value")){ - $ERROR('#0: result === "myObj_value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === undefined)){ - $ERROR('#4: p4 === undefined. Actual: p4 ==='+ p4 ); -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.js deleted file mode 100644 index 5222811a65..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.js +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.5_T4; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within "for-in" statement, leading to completion by break; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.5_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within \"for-in\" statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -for(var prop in myObj){ - with(myObj){ - st_p1 = p1; - p1 = 'x1'; - st_p2 = p2; - this.p2 = 'x2'; - st_p3 = p3; - del = delete p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - break; - } -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.js deleted file mode 100644 index ee69bec0ca..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.js +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.5_T5; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within "for-in" statement, leading to completion by break; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.5_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within \"for-in\" statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -for(var prop in myObj){ - with(myObj){ - break; - if(prop === 'p1') { - st_p1 = p1; - p1 = 'x1'; - } - if(prop === 'p2') { - st_p2 = p2; - this.p2 = 'x2'; - } - if(prop === 'p3') { - st_p3 = p3; - del = delete p3; - } - if(prop === 'parseInt') st_parseInt = parseInt; - if(prop === 'NaN') st_NaN = NaN; - if(prop === 'Infinity') st_Infinity = Infinity; - if(prop === 'eval') st_eval = eval; - if(prop === 'parseFloat') st_parseFloat = parseFloat; - if(prop === 'isNaN') st_isNaN = isNaN; - if(prop === 'isFinite') st_isFinite = isFinite; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === undefined)){ - $ERROR('#4: p4 === undefined. Actual: p4 ==='+ p4 ); -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.js deleted file mode 100644 index 224157b56e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.js +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.6_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within another "with" statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.6_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within another \"with\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.js deleted file mode 100644 index 08c8065c16..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.js +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.6_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within another "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.6_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within another \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - with(myObj){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - } -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.js deleted file mode 100644 index 3c38d687d0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.js +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.6_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "with" statement within another "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.6_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"with\" statement within another \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - with(myObj){ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - } -} catch(e){ - result = e; -} - -if(!(result === "myObj_value")){ - $ERROR('#0: result === "myObj_value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === undefined)){ - $ERROR('#4: p4 === undefined. Actual: p4 ==='+ p4 ); -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.js deleted file mode 100644 index 5771865f20..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.js +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.7_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared within the statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.7_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared within the statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - f(); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.js deleted file mode 100644 index 3d36fd6223..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.js +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.7_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared within the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.7_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared within the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - return value; - } - result = f(); -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.js deleted file mode 100644 index 70857d4c6c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.js +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.7_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared within the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.7_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared within the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - var f = function(){ - return value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - result = f(); -} - -if(!(result === undefined)){ - $ERROR('#0: result === undefined. Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.js deleted file mode 100644 index 6098cbdb1e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.js +++ /dev/null @@ -1,168 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.7_T4; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared within the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.7_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared within the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - f(); - } -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.js deleted file mode 100644 index ff05fe20ae..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.js +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.7_T5; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Calling a function within "with" statement declared within the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.7_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Calling a function within \"with\" statement declared within the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - var f = function(){ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - f(); - } -} catch(e){ - result = e; -} - -if(!(result === undefined)){ - $ERROR('#0: result === undefined. Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.js deleted file mode 100644 index 569bc94a9c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.js +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.8_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Declaring function constructor within "with" statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.8_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Declaring function constructor within \"with\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - var obj = new f(); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.js deleted file mode 100644 index b773273d1a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.js +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.8_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Declaring function constructor within "with" statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.8_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Declaring function constructor within \"with\" statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - return value; - } - var obj = new f(); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.js deleted file mode 100644 index 3420a6641e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.js +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.8_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Declaring function constructor within "with" statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.8_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Declaring function constructor within \"with\" statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - var f = function(){ - return value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - var obj = new f(); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.js deleted file mode 100644 index bbfccea7bc..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.js +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.8_T4; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Declaring function constructor within "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.8_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Declaring function constructor within \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - var f = function(){ - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - throw value; - } - var obj = new f(); - } -} catch(e){ - result = e; -} - -if(!(result === "value")){ - $ERROR('#0: result === "value". Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.js deleted file mode 100644 index 5ec24e3edf..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.js +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.8_T5; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Declaring function constructor within "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.8_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Declaring function constructor within \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -try { - with(myObj){ - var f = function(){ - throw value; - st_p1 = p1; - st_p2 = p2; - st_p3 = p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - p1 = 'x1'; - this.p2 = 'x2'; - del = delete p3; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } - var obj = new f(); - } -} catch(e){ - result = e; -} - -if(!(result === undefined)){ - $ERROR('#0: result === undefined. Actual: result ==='+ result ); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -try { - p4; - $ERROR('#4: p4 is not defined'); -} catch(e) { -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -try{ - value; - $ERROR('#18: value is not defined'); -} -catch(e){ -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.js deleted file mode 100644 index 00de9fa21c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.js +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.9_T1; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "for-in" statement within "with" statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.9_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"for-in\" statement within \"with\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - for(var prop in myObj){ - if(prop === 'p1') { - st_p1 = p1; - p1 = 'x1'; - } - if(prop === 'p2') { - st_p2 = p2; - this.p2 = 'x2'; - } - if(prop === 'p3') { - st_p3 = p3; - del = delete p3; - } - if(prop === 'parseInt') st_parseInt = parseInt; - if(prop === 'NaN') st_NaN = NaN; - if(prop === 'Infinity') st_Infinity = Infinity; - if(prop === 'eval') st_eval = eval; - if(prop === 'parseFloat') st_parseFloat = parseFloat; - if(prop === 'isNaN') st_isNaN = isNaN; - if(prop === 'isFinite') st_isFinite = isFinite; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.js deleted file mode 100644 index ba62c896bf..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.js +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.9_T2; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "for-in" statement within "with" statement, leading to completion by break; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.9_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"for-in\" statement within \"with\" statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - for(var prop in myObj){ - st_p1 = p1; - p1 = 'x1'; - st_p2 = p2; - this.p2 = 'x2'; - st_p3 = p3; - del = delete p3; - st_parseInt = parseInt; - st_NaN = NaN; - st_Infinity = Infinity; - st_eval = eval; - st_parseFloat = parseFloat; - st_isNaN = isNaN; - st_isFinite = isFinite; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - break; - } -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === "x2")){ - $ERROR('#2: p2 === "x2". Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === "x4")){ - $ERROR('#4: p4 === "x4". Actual: p4 ==='+ p4 ); -} - -if(!(p5 === "x5")){ - $ERROR('#5: p5 === "x5". Actual: p5 ==='+ p5 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === undefined)){ - $ERROR('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt !== parseInt)){ - $ERROR('#11: myObj.parseInt !== parseInt'); -} - -if(!(st_NaN === "obj_NaN")){ - $ERROR('#12: myObj.NaN !== NaN'); -} - -if(!(st_Infinity !== Infinity)){ - $ERROR('#13: myObj.Infinity !== Infinity'); -} - -if(!(st_eval !== eval)){ - $ERROR('#14: myObj.eval !== eval'); -} - -if(!(st_parseFloat !== parseFloat)){ - $ERROR('#15: myObj.parseFloat !== parseFloat'); -} - -if(!(st_isNaN !== isNaN)){ - $ERROR('#16: myObj.isNaN !== isNaN'); -} - -if(!(st_isFinite !== isFinite)){ - $ERROR('#17: myObj.isFinite !== isFinite'); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "value")){ - $ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.js deleted file mode 100644 index 2b7098c376..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.js +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A1.9_T3; - * @section: 12.10; - * @assertion: The with statement adds a computed object to the front of the - * scope chain of the current execution context; - * @description: Using "for-in" statement within "with" statement, leading to completion by break; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A1.9_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.js", - -assertion: "The with statement adds a computed object to the front of the", - -description: "Using \"for-in\" statement within \"with\" statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; -this.p2 = 2; -this.p3 = 3; -var result = "result"; -var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} -var del; -var st_p1 = "p1"; -var st_p2 = "p2"; -var st_p3 = "p3"; -var st_parseInt = "parseInt"; -var st_NaN = "NaN"; -var st_Infinity = "Infinity"; -var st_eval = "eval"; -var st_parseFloat = "parseFloat"; -var st_isNaN = "isNaN"; -var st_isFinite = "isFinite"; - -with(myObj){ - for(var prop in myObj){ - break; - if(prop === 'p1') { - st_p1 = p1; - p1 = 'x1'; - } - if(prop === 'p2') { - st_p2 = p2; - this.p2 = 'x2'; - } - if(prop === 'p3') { - st_p3 = p3; - del = delete p3; - } - if(prop === 'parseInt') st_parseInt = parseInt; - if(prop === 'NaN') st_NaN = NaN; - if(prop === 'Infinity') st_Infinity = Infinity; - if(prop === 'eval') st_eval = eval; - if(prop === 'parseFloat') st_parseFloat = parseFloat; - if(prop === 'isNaN') st_isNaN = isNaN; - if(prop === 'isFinite') st_isFinite = isFinite; - var p4 = 'x4'; - p5 = 'x5'; - var value = 'value'; - } -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(p2 === 2)){ - $ERROR('#2: p2 === 2. Actual: p2 ==='+ p2 ); -} - -if(!(p3 === 3)){ - $ERROR('#3: p3 === 3. Actual: p3 ==='+ p3 ); -} - -if(!(p4 === undefined)){ - $ERROR('#4: p4 === undefined. Actual: p4 ==='+ p4 ); -} - -try { - p5; - $ERROR('#5: p5 is not defined'); -} catch(e) { -} - -if(!(myObj.p1 === "a")){ - $ERROR('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(myObj.p2 === "b")){ - $ERROR('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); -} - -if(!(myObj.p3 === "c")){ - $ERROR('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); -} - -if(!(myObj.p4 === undefined)){ - $ERROR('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); -} - -if(!(myObj.p5 === undefined)){ - $ERROR('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); -} - -if(!(st_parseInt === "parseInt")){ - $ERROR('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); -} - -if(!(st_NaN === "NaN")){ - $ERROR('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); -} - -if(!(st_Infinity === "Infinity")){ - $ERROR('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); -} - -if(!(st_eval === "eval")){ - $ERROR('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); -} - -if(!(st_parseFloat === "parseFloat")){ - $ERROR('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); -} - -if(!(st_isNaN === "isNaN")){ - $ERROR('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); -} - -if(!(st_isFinite === "isFinite")){ - $ERROR('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); -} - -if(!(value === undefined)){ - $ERROR('#18: value === undefined. Actual: value ==='+ value ); -} - -if(!(myObj.value === "myObj_value")){ - $ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.js deleted file mode 100644 index 3561ab52c8..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.10_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using iteration statement within "with" statement, leading to normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.10_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using iteration statement within \"with\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - do{ - p1 = 'x1'; - } while(false); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.js deleted file mode 100644 index 1c5e4f725d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.10_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using iteration statement within "with" statement, leading completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.10_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using iteration statement within \"with\" statement, leading completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - with(myObj){ - do{ - p1 = 'x1'; - throw value; - } while(false); - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "x1"){ - $ERROR('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.js deleted file mode 100644 index 3e30f8b077..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.10_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using iteration statement within "with" statement, leading completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.10_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using iteration statement within \"with\" statement, leading completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - with(myObj){ - do{ - throw value; - p1 = 'x1'; - } while(false); - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "a"){ - $ERROR('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.js deleted file mode 100644 index 6c1a854d74..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.10_T4; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using iteration statement within "with" statement, leading completion be break; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.10_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using iteration statement within \"with\" statement, leading completion be break", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - do{ - p1 = 'x1'; - break; - } while(false); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.js deleted file mode 100644 index c7312ff8ea..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.10_T5; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using iteration statement within "with" statement, leading completion be break; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.10_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using iteration statement within \"with\" statement, leading completion be break", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - do{ - break; - p1 = 'x1'; - } while(false); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "a"){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.js deleted file mode 100644 index f954adba86..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.11_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function within "with" statement declared without the statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.11_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function within \"with\" statement declared without the statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -var f = function(){ - p1 = 'x1'; -} - -with(myObj){ - f(); -} - -if(!(p1 === "x1")){ - $ERROR('#1: p1 === "x1". Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.js deleted file mode 100644 index d737378414..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.11_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function within "with" statement declared without the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.11_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function within \"with\" statement declared without the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var value = "value"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -var f = function(){ - p1 = 'x1'; - return value; -} - -with(myObj){ - result = f(); -} - -if(!(p1 === "x1")){ - $ERROR('#1: p1 === "x1". Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(result === "value")){ - $ERROR('#3: result === "value". Actual: result ==='+ result ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.js deleted file mode 100644 index 158cff0c77..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.11_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function within "with" statement declared without the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.11_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function within \"with\" statement declared without the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var value = "value"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -var f = function(){ - return value; - p1 = 'x1'; -} - -with(myObj){ - result = f(); -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(result === "value")){ - $ERROR('#3: result === "value". Actual: result ==='+ result ); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.js deleted file mode 100644 index 101fecc97a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.11_T4; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function within "with" statement declared without the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.11_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function within \"with\" statement declared without the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var value = "value"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - var f = function(){ - p1 = 'x1'; - throw value; - } - - with(myObj){ - f(); - } -} catch(e){ - result = e; -} - -if(!(p1 === "x1")){ - $ERROR('#1: p1 === "x1". Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(result === "value")){ - $ERROR('#3: result === "value". Actual: result ==='+ result ); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.js deleted file mode 100644 index f90fc789c3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.11_T5; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function within "with" statement declared without the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.11_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function within \"with\" statement declared without the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var value = "value"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - var f = function(){ - throw value; - p1 = 'x1'; - } - with(myObj){ - f(); - } -} catch(e){ - result = e; -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(result === "value")){ - $ERROR('#3: result === "value". Actual: result ==='+ result ); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.js deleted file mode 100644 index 673507a76c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.12_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function without "with" statement declared within the statement, leading to normal completion; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.12_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function without \"with\" statement declared within the statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - var f = function(){ - p1 = 'x1'; - } -} - -f(); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.js deleted file mode 100644 index 12b0b3a536..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.12_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function without "with" statement declared within the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.12_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function without \"with\" statement declared within the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var value = "value"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - var f = function(){ - p1 = 'x1' - return value; - } -} - -result = f(); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(result === "myObj_value")){ - $ERROR('#3: result === "myObj_value". Actual: result ==='+ result ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.js deleted file mode 100644 index 77c932b247..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.12_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function without "with" statement declared within the statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.12_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function without \"with\" statement declared within the statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var value = "value"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - var f = function(){ - return value; - p1 = 'x1'; - } -} -result = f(); - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(result === "myObj_value")){ - $ERROR('#3: result === "myObj_value". Actual: result ==='+ result ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.js deleted file mode 100644 index f5deba51da..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.12_T4; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function without "with" statement declared within the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.12_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function without \"with\" statement declared within the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var value = "value"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - with(myObj){ - var f = function(){ - p1 = 'x1'; - throw value; - } - } - f(); -} catch(e){ - result = e; -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "x1")){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(result === "myObj_value")){ - $ERROR('#3: result === "myObj_value". Actual: result ==='+ result ); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.js deleted file mode 100644 index 0eff8df2e9..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.12_T5; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Calling a function without "with" statement declared within the statement, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.12_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Calling a function without \"with\" statement declared within the statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var value = "value"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - with(myObj){ - var f = function(){ - throw value; - p1 = 'x1'; - } - } - f(); -} catch(e){ - result = e; -} - -if(!(p1 === 1)){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} - -if(!(myObj.p1 === "a")){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} - -if(!(result === "myObj_value")){ - $ERROR('#3: result === "myObj_value". Actual: result ==='+ result ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.js deleted file mode 100644 index c3fb4dfd6d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.1_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within global context - normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.1_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within global context - normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - - -with(myObj){ - p1 = 'x1'; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.js deleted file mode 100644 index 68136f5c27..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.js +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.1_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within global context, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.1_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within global context, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - - with(myObj){ - - p1 = 'x1' - throw value; - - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (myObj.p1 !== "x1") { - $ERROR('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.js deleted file mode 100644 index 216f96228b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.1_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within global context, leading to completion by exception; - * @strict_mode_negative - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.1_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within global context, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; -var result = "result"; -var myObj = {p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - - with(myObj){ - - throw value; - p1 = 'x1' - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(!(result === 1)){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(!(p1 === 1)){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(!(myObj.p1 === "a")){ - $ERROR('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.js deleted file mode 100644 index 7f08fcbb0c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.2_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function body, leading to normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.2_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring \"with\" statement within a function body, leading to normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -var f = function(){ - with(myObj){ - p1 = 'x1'; - } -} - -f(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.js deleted file mode 100644 index a975554b14..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.2_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function body, leading to normal completion by "return"; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.2_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring \"with\" statement within a function body, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -var f = function(){ - with(myObj){ - p1 = 'x1'; - return value; - } -}; - -f(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1 !== "x1"){ - $ERROR('#1: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.js deleted file mode 100644 index 8eaf704507..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.2_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function body, leading to normal completion by "return"; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.2_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring \"with\" statement within a function body, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -var f = function(){ - with(myObj){ - return value; - p1 = 'x1'; - } -}; - -f(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "a"){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.js deleted file mode 100644 index 443bfa17cf..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.2_T4; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function body, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.2_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring \"with\" statement within a function body, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - var f = function(){ - with(myObj){ - p1 = 'x1'; - throw value; - } - }; - - f(); -} catch(e){ - result = p1; -} - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "x1"){ - $ERROR('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.js deleted file mode 100644 index e6634f014e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.2_T5; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function body, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.2_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring \"with\" statement within a function body, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -}; - -try { - var f = function(){ - with(myObj){ - throw value; - p1 = 'x1'; - } - }; - f(); -} catch(e){ - result = p1; -} - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "a"){ - $ERROR('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.js deleted file mode 100644 index d383b12bd9..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.3_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function constructor, leading to normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.3_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring \"with\" statement within a function constructor, leading to normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -function __FACTORY(){ - with(myObj){ - p1 = 'x1'; - } -} - -var obj = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.js deleted file mode 100644 index 8129e4879a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.3_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function constructor, leading to normal completion by "return"; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.3_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring \"with\" statement within a function constructor, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -function __FACTORY(){ - with(myObj){ - p1 = 'x1'; - return value; - } -} - -var obj = new __FACTORY; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.js deleted file mode 100644 index 612fbff705..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.3_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function constructor, leading to normal completion by "return"; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.3_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring \"with\" statement within a function constructor, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -function __FACTORY(){ - with(myObj){ - return value; - p1 = 'x1'; - } -} - -var obj = new __FACTORY; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "a"){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.js deleted file mode 100644 index 53f3033670..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.3_T4; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function constructor, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.3_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.js", - -assertion: "No matter how control leaves the embedded \'Statement\', the scope chain is always restored to its former state", - -description: "Declaring \"with\" statement within a function constructor, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -}; - -function __FACTORY(){ - with(myObj){ - var p1 = 'x1'; - throw value; - } -} - -try { - var obj = new __FACTORY(); -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (result !== 1) { - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (p1 !== 1) { - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (myObj.p1 !== "x1") { - $ERROR('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.js deleted file mode 100644 index 148ff155eb..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.js +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.3_T5; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring "with" statement within a function constructor, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.3_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring \"with\" statement within a function constructor, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - function __FACTORY(){ - with(myObj){ - throw value; - p1 = 'x1'; - } - } - var obj = new __FACTORY(); -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "a"){ - $ERROR('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.js deleted file mode 100644 index 47ff87b56e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.4_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within iteration statement, leading to normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.4_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within iteration statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -do { - with(myObj){ - p1 = 'x1'; - } -} while(false); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.js deleted file mode 100644 index 8f6c14e974..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.4_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within iteration statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.4_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within iteration statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - do{ - with(myObj){ - p1 = 'x1'; - throw value; - } - } while(false); -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "x1"){ - $ERROR('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.js deleted file mode 100644 index ab34d6cc80..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.4_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within iteration statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.4_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within iteration statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - do{ - with(myObj){ - throw value; - p1 = 'x1'; - } - } while(false); -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "a"){ - $ERROR('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.js deleted file mode 100644 index 33a488af65..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.4_T4; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within iteration statement, leading to completion by break; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.4_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within iteration statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -do { - with(myObj){ - p1 = 'x1'; - break; - } -} while(false); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.js deleted file mode 100644 index 2dbc8c8407..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.4_T5; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within iteration statement, leading to completion by break; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.4_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within iteration statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -do { - with(myObj){ - break; - p1 = 'x1'; - } -} while(false); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "a"){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.js deleted file mode 100644 index d4c4337d59..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.5_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within "for-in" statement, leading to normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.5_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within \"for-in\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -for(var prop in myObj){ - with(myObj){ - p1 = 'x1'; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.js deleted file mode 100644 index 675c0477e2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.5_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within "for-in" statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.5_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within \"for-in\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - for(var prop in myObj){ - with(myObj){ - p1 = 'x1'; - throw value; - } - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "x1"){ - $ERROR('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.js deleted file mode 100644 index ea6193412c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.5_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within "for-in" statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.5_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within \"for-in\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - for(var prop in myObj){ - with(myObj){ - throw value; - p1 = 'x1'; - } - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "a"){ - $ERROR('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.js deleted file mode 100644 index 8c6ae6b719..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.5_T4; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within "for-in" statement, leading to completion by break; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.5_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within \"for-in\" statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -for(var prop in myObj){ - with(myObj){ - p1 = 'x1'; - break; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.js deleted file mode 100644 index b198ade937..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.5_T5; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within "for-in" statement, leading to completion by break; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.5_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within \"for-in\" statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -for(var prop in myObj){ - with(myObj){ - break; - p1 = 'x1'; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1 !== "a"){ - $ERROR('#1: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.js deleted file mode 100644 index 0b489c6c95..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.6_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within another "with" statement, leading to normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.6_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within another \"with\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -var theirObj = { - p1: true, - value: 'theirObj_value', - valueOf : function(){return 'thr_valueOf';} -} - -with(myObj){ - with(theirObj){ - p1 = 'x1'; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "a"){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(theirObj.p1 !== "x1"){ - $ERROR('#3: theirObj.p1 === "x1". Actual: theirObj.p1 ==='+ theirObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.js deleted file mode 100644 index 46d54cef84..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.6_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within another "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.6_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within another \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -var theirObj = { - p1: true, - value: 'theirObj_value', - valueOf : function(){return 'thr_valueOf';} -} - - -try { - with(myObj){ - with(theirObj){ - p1 = 'x1'; - throw value; - } - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "a"){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(theirObj.p1 !== "x1"){ - $ERROR('#3: theirObj.p1 === "x1". Actual: theirObj.p1 ==='+ theirObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.js deleted file mode 100644 index 3352bea127..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.6_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "with" statement within another "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.6_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"with\" statement within another \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -var theirObj = { - p1: true, - value: 'theirObj_value', - valueOf : function(){return 'thr_valueOf';} -} - - -try { - with(myObj){ - with(theirObj){ - throw value; - p1 = 'x1'; - - } - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "a"){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(theirObj.p1 !== true){ - $ERROR('#3: theirObj.p1 === true. Actual: theirObj.p1 ==='+ theirObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.js deleted file mode 100644 index 7824103cc9..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.7_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring and calling a function within "with" statement, leading to normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.7_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring and calling a function within \"with\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - (function(){ - p1 = 'x1'; - })(); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.js deleted file mode 100644 index 14a6a4a996..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.7_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring and calling a function within "with" statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.7_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring and calling a function within \"with\" statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - result=(function(){ - p1 = 'x1'; - return value; - })(); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(result !== "myObj_value"){ - $ERROR('#2: result === "myObj_value". Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "x1"){ - $ERROR('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.js deleted file mode 100644 index 781e2865e2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.7_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring and calling a function within "with" statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.7_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring and calling a function within \"with\" statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - result=(function(){ - return value; - p1 = 'x1'; - })(); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(result !== 'myObj_value'){ - $ERROR('#2: result === \'myObj_value\'. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "a"){ - $ERROR('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.js deleted file mode 100644 index 3c503e8679..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.7_T4; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring and calling a function within "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.7_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring and calling a function within \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - with(myObj){ - (function (){ - p1 = 'x1'; - throw value; - })(); - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "x1"){ - $ERROR('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.js deleted file mode 100644 index f350696334..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.7_T5; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring and calling a function within "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.7_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring and calling a function within \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - with(myObj){ - (function f(){ - throw value; - p1 = 'x1'; - })(); - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "a"){ - $ERROR('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.js deleted file mode 100644 index f9607f34ad..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.8_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring function constructor within "with" statement, leading to normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.8_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring function constructor within \"with\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - var __FACTORY = function(){ - p1 = 'x1'; - } - var obj = new __FACTORY; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.js deleted file mode 100644 index 2658b85f99..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.8_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring function constructor within "with" statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.8_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring function constructor within \"with\" statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - var __FACTORY = function(){ - p1 = 'x1'; - return value; - } - var obj = new __FACTORY; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.js deleted file mode 100644 index 114d335425..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.8_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring function constructor within "with" statement, leading to normal completion by "return"; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.8_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring function constructor within \"with\" statement, leading to normal completion by \"return\"", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - var __FACTORY = function(){ - return value; - p1 = 'x1'; - } - var obj = new __FACTORY; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "a"){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.js deleted file mode 100644 index 9ab26962cf..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.8_T4; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring function constructor within "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.8_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring function constructor within \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - with(myObj){ - var __FACTORY = function(){ - p1 = 'x1'; - throw value; - } - var obj = new __FACTORY; - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "x1"){ - $ERROR('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.js deleted file mode 100644 index 5ac9ce6b07..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.8_T5; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Declaring function constructor within "with" statement, leading to completion by exception; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.8_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Declaring function constructor within \"with\" statement, leading to completion by exception", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -try { - with(myObj){ - var __FACTORY = function(){ - throw value; - p1 = 'x1'; - } - var obj = new __FACTORY; - } -} catch(e){ - result = p1; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(result !== 1){ - $ERROR('#1: result === 1. Actual: result ==='+ result ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(p1 !== 1){ - $ERROR('#2: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 !== "a"){ - $ERROR('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.js deleted file mode 100644 index 317065facd..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.9_T1; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "for-in" statement within "with" statement, leading to normal completion; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.9_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"for-in\" statement within \"with\" statement, leading to normal completion", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - for(var prop in myObj){ - p1 = 'x1'; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.js deleted file mode 100644 index 494a271da0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.9_T2; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "for-in" statement within "with" statement, leading to completion by break; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.9_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"for-in\" statement within \"with\" statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - for(var prop in myObj){ - p1 = 'x1'; - break; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "x1"){ - $ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.js deleted file mode 100644 index 34fa6be7a0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A3.9_T3; - * @section: 12.10; - * @assertion: No matter how control leaves the embedded 'Statement', - * the scope chain is always restored to its former state; - * @description: Using "for-in" statement within "with" statement, leading to completion by break; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A3.9_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.js", - -assertion: "No matter how control leaves the embedded \'Statement\',", - -description: "Using \"for-in\" statement within \"with\" statement, leading to completion by break", - -test: function testcase() { - this.p1 = 1; - -var result = "result"; - -var myObj = { - p1: 'a', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';} -} - -with(myObj){ - for(var prop in myObj){ - break; - p1 = 'x1'; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(p1 !== 1){ - $ERROR('#1: p1 === 1. Actual: p1 ==='+ p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== "a"){ - $ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.js deleted file mode 100644 index f49600e6ec..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A4_T1; - * @section: 12.10; - * @assertion: Changing property using "eval" statement containing "with" statement; - * @description: Changing string property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A4_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.js", - -assertion: "Changing property using \"eval\" statement containing \"with\" statement", - -description: "Changing string property", - -test: function testcase() { - this.p1 = 1; -var myObj = { - p1: 'a', -} -eval("with(myObj){p1='b'}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1 !== 'b'){ - $ERROR('#1: myObj.p1 === "b". Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 === 1){ - $ERROR('#2: myObj.p1 !== 1'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.js deleted file mode 100644 index e0eb2d8b22..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A4_T2; - * @section: 12.10; - * @assertion: Changing property using "eval" statement containing "with" statement; - * @description: Changing number property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A4_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.js", - -assertion: "Changing property using \"eval\" statement containing \"with\" statement", - -description: "Changing number property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: 1, -} -eval("with(myObj){p1=2}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1 !== 2){ - $ERROR('#1: myObj.p1 === 2. Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 === 'a'){ - $ERROR('#2: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.js deleted file mode 100644 index 00a2ed66e2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A4_T3; - * @section: 12.10; - * @assertion: Changing property using "eval" statement containing "with" statement; - * @description: Changing boolean property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A4_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.js", - -assertion: "Changing property using \"eval\" statement containing \"with\" statement", - -description: "Changing boolean property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: true, -} -eval("with(myObj){p1=false}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1 !== false){ - $ERROR('#1: myObj.p1 === false. Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 === 'a'){ - $ERROR('#2: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.js deleted file mode 100644 index 16f6a1154d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A4_T4; - * @section: 12.10; - * @assertion: Changing property using "eval" statement containing "with" statement; - * @description: Changing object property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A4_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.js", - -assertion: "Changing property using \"eval\" statement containing \"with\" statement", - -description: "Changing object property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: {a:"hello"}, -} -eval("with(myObj){p1={b:'hi'}}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1.a === "hello"){ - $ERROR('#1: myObj.p1.a !== "hello"'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1.b !== "hi"){ - $ERROR('#2: myObj.p1.b === "hi". Actual: myObj.p1.b ==='+ myObj.p1.b ); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 === 'a'){ - $ERROR('#3: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.js deleted file mode 100644 index a4210f03ea..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A4_T5; - * @section: 12.10; - * @assertion: Changing property using "eval" statement containing "with" statement; - * @description: Changing array property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A4_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.js", - -assertion: "Changing property using \"eval\" statement containing \"with\" statement", - -description: "Changing array property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: [1,2,3], -} -eval("with(myObj){p1=[3,2,1]}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1[2] !== 1){ - $ERROR('#1: myObj.p1[2] === 1. Actual: myObj.p1[2] ==='+ myObj.p1[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 === 'a'){ - $ERROR('#2: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.js deleted file mode 100644 index bc1f324db5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A4_T6; - * @section: 12.10; - * @assertion: Changing property using "eval" statement containing "with" statement; - * @description: Changing function property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A4_T6", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.js", - -assertion: "Changing property using \"eval\" statement containing \"with\" statement", - -description: "Changing function property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: function(){return 0;}, -} -eval("with(myObj){p1=function(){return 1;}}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1() !== 1){ - $ERROR('#1: myObj.p1 === 1. Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.p1 === 'a'){ - $ERROR('#2: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.js deleted file mode 100644 index cc84604826..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A5_T1; - * @section: 12.10; - * @assertion: Deleting property using "eval" statement containing "with" statement; - * @description: Deleting string property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A5_T1", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.js", - -assertion: "Deleting property using \"eval\" statement containing \"with\" statement", - -description: "Deleting string property", - -test: function testcase() { - this.p1 = 1; -var myObj = { - p1: 'a', - del:false -} -eval("with(myObj){del = delete p1}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1 === 'a'){ - $ERROR('#1: myObj.p1 !== "a"'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== undefined){ - $ERROR('#2: myObj.p1 === undefined. Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.del !== true){ - $ERROR('#3: myObj.del === true. Actual: myObj.del ==='+ myObj.del ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(myObj.p1 === 1){ - $ERROR('#4: myObj.p1 !== 1'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.js deleted file mode 100644 index 50d1ae40a9..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A5_T2; - * @section: 12.10; - * @assertion: Deleting property using "eval" statement containing "with" statement; - * @description: Deleting number property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A5_T2", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.js", - -assertion: "Deleting property using \"eval\" statement containing \"with\" statement", - -description: "Deleting number property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: 1, - del:false -} -eval("with(myObj){del = delete p1}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1 === 1){ - $ERROR('#1: myObj.p1 !== 1'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== undefined){ - $ERROR('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.del !== true){ - $ERROR('#3: myObj.del === true. Actual: myObj.del ===. Actual: myObj.del ==='+ myObj.del +myObj.del); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(myObj.p1 === 'a'){ - $ERROR('#4: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.js deleted file mode 100644 index ecc91bbc39..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A5_T3; - * @section: 12.10; - * @assertion: Deleting property using "eval" statement containing "with" statement; - * @description: Deleting boolean property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A5_T3", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.js", - -assertion: "Deleting property using \"eval\" statement containing \"with\" statement", - -description: "Deleting boolean property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: true, - del:false -} - -eval("with(myObj){del = delete p1}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(myObj.p1 === true){ - $ERROR('#1: myObj.p1 !== true '); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== undefined){ - $ERROR('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.del !== true){ - $ERROR('#3: myObj.del === true . Actual: myObj.del ==='+ myObj.del ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(myObj.p1 === 'a'){ - $ERROR('#4: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.js deleted file mode 100644 index e259e8b448..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A5_T4; - * @section: 12.10; - * @assertion: Deleting property using "eval" statement containing "with" statement; - * @description: Deleting object property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A5_T4", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.js", - -assertion: "Deleting property using \"eval\" statement containing \"with\" statement", - -description: "Deleting object property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: {a:"hello"}, - del:false -} -eval("with(myObj){del = delete p1}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ -if(myObj.p1.a === "hello"){ - $ERROR('#1: myObj.p1.a !== "hello" '); -} -}catch(e){var x=1}; -if(x !== 1){ - $ERROR('#1: x === 1. Actual: x ==='+ x ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== undefined){ - $ERROR('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.del !== true){ - $ERROR('#3: myObj.del === true . Actual: myObj.del ==='+ myObj.del ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(myObj.p1 === 'a'){ - $ERROR('#4: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.js deleted file mode 100644 index 8b3c22e49e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A5_T5; - * @section: 12.10; - * @assertion: Deleting property using "eval" statement containing "with" statement; - * @description: Deleting array property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A5_T5", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.js", - -assertion: "Deleting property using \"eval\" statement containing \"with\" statement", - -description: "Deleting array property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: [1,2,3], - del:false -} -eval("with(myObj){del = delete p1}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ -if(myObj.p1[2] === 3){ - $ERROR('#1: myObj.p1[2] !== 3 '); -} -}catch(e){var x=1}; -if(x !== 1){ - $ERROR('#1: x === 1. Actual: x ==='+ x ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== undefined){ - $ERROR('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.del !== true){ - $ERROR('#3: myObj.del === true . Actual: myObj.del ==='+ myObj.del ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(myObj.p1 === 'a'){ - $ERROR('#4: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.js b/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.js deleted file mode 100644 index 45603d08ca..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.10_A5_T6; - * @section: 12.10; - * @assertion: Deleting property using "eval" statement containing "with" statement; - * @description: Deleting function property; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.10_A5_T6", - -path: "TestCases/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.js", - -assertion: "Deleting property using \"eval\" statement containing \"with\" statement", - -description: "Deleting function property", - -test: function testcase() { - this.p1 = 'a'; -var myObj = { - p1: function(){return 0;}, - del:false -} -eval("with(myObj){del = delete p1}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ -if(myObj.p1() === 0){ - $ERROR('#1: myObj.p1() !== 0 '); -} -}catch(e){var x=1}; -if(x !== 1){ - $ERROR('#1: x === 1. Actual: x ==='+ x ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(myObj.p1 !== undefined){ - $ERROR('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(myObj.del !== true){ - $ERROR('#3: myObj.del === true . Actual: myObj.del ==='+ myObj.del ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(myObj.p1 === 'a'){ - $ERROR('#4: myObj.p1 !== \'a\''); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.js deleted file mode 100644 index 1e47dfbc25..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.11_A1_T1; - * @section: 12.11; - * @assertion: If Result.type is break and Result.target is in the current - * label set, return (normal, Result.value, empty); - * @description: Simple test using switch statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.11_A1_T1", - -path: "TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.js", - -assertion: "If Result.type is break and Result.target is in the current", - -description: "Simple test using switch statement", - -test: function testcase() { - function SwitchTest(value){ - var result = 0; - - switch(value) { - case 0: - result += 2; - case 1: - result += 4; - break; - case 2: - result += 8; - case 3: - result += 16; - default: - result += 32; - break; - case 4: - result += 64; - } - - return result; -} - -if(!(SwitchTest(0) === 6)){ - $ERROR("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); -} - -if(!(SwitchTest(1) === 4)){ - $ERROR("#2: SwitchTest(1) === 4. Actual: SwitchTest(1) ==="+ SwitchTest(1) ); -} - -if(!(SwitchTest(2) === 56)){ - $ERROR("#3: SwitchTest(2) === 56. Actual: SwitchTest(2) ==="+ SwitchTest(2) ); -} - -if(!(SwitchTest(3) === 48)){ - $ERROR("#4: SwitchTest(3) === 48. Actual: SwitchTest(3) ==="+ SwitchTest(3) ); -} - -if(!(SwitchTest(4) === 64)){ - $ERROR("#5: SwitchTest(4) === 64. Actual: SwitchTest(4) ==="+ SwitchTest(4) ); -} - -if(!(SwitchTest(true) === 32)){ - $ERROR("#6: SwitchTest(true) === 32. Actual: SwitchTest(true) ==="+ SwitchTest(true) ); -} - -if(!(SwitchTest(false) === 32)){ - $ERROR("#7: SwitchTest(false) === 32. Actual: SwitchTest(false) ==="+ SwitchTest(false) ); -} - -if(!(SwitchTest(null) === 32)){ - $ERROR("#8: SwitchTest(null) === 32. Actual: SwitchTest(null) ==="+ SwitchTest(null) ); -} - -if(!(SwitchTest(void 0) === 32)){ - $ERROR("#9: SwitchTest(void 0) === 32. Actual: SwitchTest(void 0) ==="+ SwitchTest(void 0) ); -} - -if(!(SwitchTest('0') === 32)){ - $ERROR("#10: SwitchTest('0') === 32. Actual: SwitchTest('0') ==="+ SwitchTest('0') ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.js deleted file mode 100644 index 7ad3c979c6..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.js +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.11_A1_T2; - * @section: 12.11; - * @assertion: If Result.type is break and Result.target is in the current - * label set, return (normal, Result.value, empty); - * @description: Switch with different types of variables; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.11_A1_T2", - -path: "TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.js", - -assertion: "If Result.type is break and Result.target is in the current", - -description: "Switch with different types of variables", - -test: function testcase() { - var x = new Number(2); - -function SwitchTest(value){ - var result = 0; - - switch(value) { - case 0: - result += 2; - case '1': - result += 4; - break; - case new Number(2): - result += 8; - case 3: - result += 16; - default: - result += 32; - break; - case 4: - result += 64; - break; - case x: - result += 128; - break; - case 0: - result += 256; - case 1: - result += 512; - } - - return result; -} - -if(!(SwitchTest(0) === 6)){ - $ERROR("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); -} - -if(!(SwitchTest(1) === 512)){ - $ERROR("#2: SwitchTest(1) === 512. Actual: SwitchTest(1) ==="+ SwitchTest(1) ); -} - -if(!(SwitchTest(2) === 32)){ - $ERROR("#3: SwitchTest(2) === 32. Actual: SwitchTest(2) ==="+ SwitchTest(2) ); -} - -if(!(SwitchTest(3) === 48)){ - $ERROR("#4: SwitchTest(3) === 48. Actual: SwitchTest(3) ==="+ SwitchTest(3) ); -} - -if(!(SwitchTest(4) === 64)){ - $ERROR("#5: SwitchTest(4) === 64. Actual: SwitchTest(4) ==="+ SwitchTest(4) ); -} - -if(!(SwitchTest(true) === 32)){ - $ERROR("#6: SwitchTest(true) === 32. Actual: SwitchTest(true) ==="+ SwitchTest(true) ); -} - -if(!(SwitchTest(false) === 32)){ - $ERROR("#7: SwitchTest(false) === 32. Actual: SwitchTest(false) ==="+ SwitchTest(false) ); -} - -if(!(SwitchTest(null) === 32)){ - $ERROR("#8: SwitchTest(null) === 32. Actual: SwitchTest(null) ==="+ SwitchTest(null) ); -} - -if(!(SwitchTest(void 0) === 32)){ - $ERROR("#9: SwitchTest(void 0) === 32. Actual: SwitchTest(void 0) ==="+ SwitchTest(void 0) ); -} - -if(!(SwitchTest('0') === 32)){ - $ERROR("#10: SwitchTest('0') === 32. Actual: SwitchTest('0') ==="+ SwitchTest('0') ); -} - -if(!(SwitchTest(x) === 128)){ - $ERROR("#10: SwitchTest(x) === 128. Actual: SwitchTest(x) ==="+ SwitchTest(x) ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.js deleted file mode 100644 index f7e30ef42c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.js +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.11_A1_T3; - * @section: 12.11; - * @assertion: If Result.type is break and Result.target is in the current - * label set, return (normal, Result.value, empty); - * @description: Using case with null, NaN, Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.11_A1_T3", - -path: "TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.js", - -assertion: "If Result.type is break and Result.target is in the current", - -description: "Using case with null, NaN, Infinity", - -test: function testcase() { - function SwitchTest(value){ - var result = 0; - - switch(value) { - case 0: - result += 2; - case 1: - result += 4; - break; - case 2: - result += 8; - case 3: - result += 16; - default: - result += 32; - break; - case null: - result += 64; - case NaN: - result += 128; - break; - case Infinity: - result += 256; - case 2+3: - result += 512; - break; - case undefined: - result += 1024; - } - - return result; -} - -if(!(SwitchTest(0) === 6)){ - $ERROR("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); -} - -if(!(SwitchTest(1) === 4)){ - $ERROR("#2: SwitchTest(1) === 4. Actual: SwitchTest(1) ==="+ SwitchTest(1) ); -} - -if(!(SwitchTest(2) === 56)){ - $ERROR("#3: SwitchTest(2) === 56. Actual: SwitchTest(2) ==="+ SwitchTest(2) ); -} - -if(!(SwitchTest(3) === 48)){ - $ERROR("#4: SwitchTest(3) === 48. Actual: SwitchTest(3) ==="+ SwitchTest(3) ); -} - -if(!(SwitchTest(4) === 32)){ - $ERROR("#5: SwitchTest(4) === 32. Actual: SwitchTest(4) ==="+ SwitchTest(4) ); -} - -if(!(SwitchTest(5) === 512)){ - $ERROR("#5: SwitchTest(5) === 512. Actual: SwitchTest(5) ==="+ SwitchTest(5) ); -} - -if(!(SwitchTest(true) === 32)){ - $ERROR("#6: SwitchTest(true) === 32. Actual: SwitchTest(true) ==="+ SwitchTest(true) ); -} - -if(!(SwitchTest(false) === 32)){ - $ERROR("#7: SwitchTest(false) === 32. Actual: SwitchTest(false) ==="+ SwitchTest(false) ); -} - -if(!(SwitchTest(null) === 192)){ - $ERROR("#8: SwitchTest(null) === 192. Actual: SwitchTest(null) ==="+ SwitchTest(null) ); -} - -if(!(SwitchTest(void 0) === 1024)){ - $ERROR("#9: SwitchTest(void 0) === 1024. Actual: SwitchTest(void 0) ==="+ SwitchTest(void 0) ); -} - -if(!(SwitchTest(NaN) === 32)){ - $ERROR("#10: SwitchTest(NaN) === 32. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) ); -} - -if(!(SwitchTest(Infinity) === 768)){ - $ERROR("#10: SwitchTest(NaN) === 768. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.js deleted file mode 100644 index 4d3beba519..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.11_A1_T4; - * @section: 12.11; - * @assertion: If Result.type is break and Result.target is in the current - * label set, return (normal, Result.value, empty); - * @description: Using case with isNaN and isNaN(value); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.11_A1_T4", - -path: "TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.js", - -assertion: "If Result.type is break and Result.target is in the current", - -description: "Using case with isNaN and isNaN(value)", - -test: function testcase() { - function SwitchTest(value){ - var result = 0; - - switch(value) { - case 0: - result += 2; - case 1: - result += 4; - break; - case 2: - result += 8; - case isNaN(value): - result += 16; - default: - result += 32; - break; - case null: - result += 64; - case isNaN: - result += 128; - break; - case Infinity: - result += 256; - case 2+3: - result += 512; - break; - case undefined: - result += 1024; - } - - return result; -} - -if(!(SwitchTest(eval('Number(false)')) === 6)){ - $ERROR("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); -} - -if(!(SwitchTest(parseInt) === 32)){ - $ERROR("#2: SwitchTest(parseInt) === 32. Actual: SwitchTest(parseInt) ==="+ SwitchTest(parseInt) ); -} - -if(!(SwitchTest(isNaN) === 128)){ - $ERROR("#3: SwitchTest(isNaN) === 128. Actual: SwitchTest(isNaN) ==="+ SwitchTest(isNaN) ); -} - -if(!(SwitchTest(true) === 32)){ - $ERROR("#6: SwitchTest(true) === 32. Actual: SwitchTest(true) ==="+ SwitchTest(true) ); -} - -if(!(SwitchTest(false) === 48)){ - $ERROR("#7: SwitchTest(false) === 48. Actual: SwitchTest(false) ==="+ SwitchTest(false) ); -} - -if(!(SwitchTest(null) === 192)){ - $ERROR("#8: SwitchTest(null) === 192. Actual: SwitchTest(null) ==="+ SwitchTest(null) ); -} - -if(!(SwitchTest(void 0) === 1024)){ - $ERROR("#9: SwitchTest(void 0) === 1024. Actual: SwitchTest(void 0) ==="+ SwitchTest(void 0) ); -} - -if(!(SwitchTest(NaN) === 32)){ - $ERROR("#10: SwitchTest(NaN) === 32. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) ); -} - -if(!(SwitchTest(Infinity) === 768)){ - $ERROR("#10: SwitchTest(NaN) === 768. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.js deleted file mode 100644 index da978a6558..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.js +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function SwitchTest(value){ - var result = 0; - - switch(value) { - case 0: - result += 2; - default: - result += 32; - break; - default: - result += 32; - break; - } - - return result; -} - -var x = SwitchTest(0); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.js deleted file mode 100644 index d367945bb3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function SwitchTest(value){ - var result = 0; - - switch() { - case 0: - result += 2; - default: - result += 32; - break; - } - - return result; -} - -var x = SwitchTest(0); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.js deleted file mode 100644 index 0748235f78..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function SwitchTest(value){ - var result = 0; - - switch { - case 0: - result += 2; - default: - result += 32; - break; - } - - return result; -} - -var x = SwitchTest(0); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.js deleted file mode 100644 index b741c8f434..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - switch(value); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.js deleted file mode 100644 index 5fd4ed1a3b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function SwitchTest(value){ - var result = 0; - - switch(value) { - case: - result += 2; - default: - result += 32; - break; - } - - return result; -} - -var x = SwitchTest(0); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.js deleted file mode 100644 index be70ea3894..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function SwitchTest(value){ - var result = 0; - - switch(value) { - result =2; - case 0: - result += 2; - default: - result += 32; - break; - } - - return result; -} - -var x = SwitchTest(0); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.js b/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.js deleted file mode 100644 index e8d5de48e0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.11_A4_T1; - * @section: 12.11; - * @assertion: Embedded syntax constructions of switch statement; - * @description: Nesting one "switch" statement into StatementList of the other's; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.11_A4_T1", - -path: "TestCases/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.js", - -assertion: "Embedded syntax constructions of switch statement", - -description: "Nesting one \"switch\" statement into StatementList of the other\'s", - -test: function testcase() { - function SwitchTest(value){ - var result = 0; - - switch(value) { - case 0: - switch(value) { - case 0: - result += 3; - break; - default: - result += 32; - break; - } - result *= 2; - break; - result=3; - default: - result += 32; - break; - } - return result; -} - -var x = SwitchTest(0); -if(x!==6) $ERROR("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.js b/test/suite/sputnik_converted/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.js deleted file mode 100644 index c7a482a2bc..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.12_A1_T1; - * @section: 12.12; - * @assertion: Labelled statements are only used in conjunction with labelled - * break and continue statements; - * @description: Checking if labelled break works. See continue and break sections; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.12_A1_T1", - -path: "TestCases/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.js", - -assertion: "Labelled statements are only used in conjunction with labelled", - -description: "Checking if labelled break works. See continue and break sections", - -test: function testcase() { - var object = {p1: 1, p2: 1}; -var result = 0; -lbl: for(var i in object){ - result += object[i]; - break lbl; -} - -if(!(result === 1)){ - $ERROR("'break label' should break execution of labelled iteration statement"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A1.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A1.js deleted file mode 100644 index 5c6ace7f13..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - throw "error"; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.js deleted file mode 100644 index d18d378723..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A2_T1; - * @section: 12.13; - * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; - * @description: Throwing undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A2_T1", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.js", - -assertion: "\"throw Expression\" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression", - -description: "Throwing undefined", - -test: function testcase() { - // CHECK#1 -try{ - throw undefined; -} -catch(e){ - if (e!==undefined) $ERROR('#1: Exception === undefined. Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.js deleted file mode 100644 index bded01dbec..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A2_T2; - * @section: 12.13; - * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; - * @description: Throwing null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A2_T2", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.js", - -assertion: "\"throw Expression\" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression", - -description: "Throwing null", - -test: function testcase() { - // CHECK#1 -try{ - throw null; -} -catch(e){ - if (e!==null) $ERROR('#1: Exception === null. Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.js deleted file mode 100644 index 29316c9abc..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A2_T3; - * @section: 12.13; - * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; - * @description: Throwing boolean; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A2_T3", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.js", - -assertion: "\"throw Expression\" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression", - -description: "Throwing boolean", - -test: function testcase() { - // CHECK#1 -try{ - throw true; -} -catch(e){ - if (e!==true) $ERROR('#1: Exception ===true. Actual: Exception ==='+ e ); -} - -// CHECK#2 -try{ - throw false; -} -catch(e){ - if (e!==false) $ERROR('#2: Exception ===false. Actual: Exception ==='+ e ); -} - -// CHECK#3 -var b=false; -try{ - throw b; -} -catch(e){ - if (e!==false) $ERROR('#3: Exception ===false. Actual: Exception ==='+ e ); -} - -// CHECK#4 -var b=true; -try{ - throw b; -} -catch(e){ - if (e!==true) $ERROR('#4: Exception ===true. Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.js deleted file mode 100644 index c22de14931..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A2_T4; - * @section: 12.13; - * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; - * @description: Throwing string; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A2_T4", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.js", - -assertion: "\"throw Expression\" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression", - -description: "Throwing string", - -test: function testcase() { - // CHECK#1 -try{ - throw "exception #1"; -} -catch(e){ - if (e!=="exception #1") $ERROR('#1: Exception ==="exception #1". Actual: Exception ==='+ e ); -} - -// CHECK#2 -var b="exception #1"; -try{ - throw b; -} -catch(e){ - if (e!=="exception #1") $ERROR('#2: Exception ==="exception #1". Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.js deleted file mode 100644 index a62f2add88..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.js +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A2_T5; - * @section: 12.13; - * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; - * @description: Throwing number; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A2_T5", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.js", - -assertion: "\"throw Expression\" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression", - -description: "Throwing number", - -test: function testcase() { - // CHECK#1 -try{ - throw 13; -} -catch(e){ - if (e!==13) $ERROR('#1: Exception ===13. Actual: Exception ==='+ e ); -} - -// CHECK#2 -var b=13; -try{ - throw b; -} -catch(e){ - if (e!==13) $ERROR('#2: Exception ===13. Actual: Exception ==='+ e ); -} - -// CHECK#3 -try{ - throw 2.13; -} -catch(e){ - if (e!==2.13) $ERROR('#3: Exception ===2.13. Actual: Exception ==='+ e ); -} - -// CHECK#4 -try{ - throw NaN; -} -catch(e){ - if (!isNaN(e)) $ERROR('#4: Exception is NaN'); -} - -// CHECK#5 -try{ - throw +Infinity; -} -catch(e){ - if (e!==+Infinity) $ERROR('#5: Exception ===+Infinity. Actual: Exception ==='+ e ); -} - -// CHECK#6 -try{ - throw -Infinity; -} -catch(e){ - if (e!==-Infinity) $ERROR('#6: Exception ===-Infinity. Actual: Exception ==='+ e ); -} - -// CHECK#7 -try{ - throw +0; -} -catch(e){ - if (e!==+0) $ERROR('#7: Exception ===+0. Actual: Exception ==='+ e ); -} - -// CHECK#8 -try{ - throw -0; -} -catch(e){ - if (e!==-0) $ERROR('#8: Exception ===-0. Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.js deleted file mode 100644 index 300672cd76..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A2_T6; - * @section: 12.13; - * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; - * @description: Throwing object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A2_T6", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.js", - -assertion: "\"throw Expression\" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression", - -description: "Throwing object", - -test: function testcase() { - var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';}, - i:7 -} - -try{ - throw myObj; -} -catch(e){ -// CHECK#1 - if (e.p1!=="a") $ERROR('#1: e.p1 === "a". Actual: e.p1 ==='+ e.p1 ); -// CHECK#2 - if (e.value!=='myObj_value') $ERROR('#2: e.p1 === \'myObj_value\'. Actual: e.p1 ==='+ e.p1 ); -// CHECK#3 - if (e.eval()!=='obj_eval') $ERROR('#3: e.p1 === \'obj_eval\'. Actual: e.p1 ==='+ e.p1 ); -} - -// CHECK#4 -myObj.i=6 -try{ - throw myObj; -} -catch(e){} -if (myObj.i!==6) $ERROR('#4: Handling of catch must be correct'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.js deleted file mode 100644 index 252fb9d2c3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A2_T7; - * @section: 12.13; - * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; - * @description: Throwing Array; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A2_T7", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.js", - -assertion: "\"throw Expression\" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression", - -description: "Throwing Array", - -test: function testcase() { - var mycars = new Array(); -mycars[0] = "Saab"; -mycars[1] = "Volvo"; -mycars[2] = "BMW"; - -var mycars2 = new Array(); -mycars2[0] = "Mercedes"; -mycars2[1] = "Jeep"; -mycars2[2] = "Suzuki"; - -// CHECK#1 -try{ - throw mycars; -} -catch(e){ - for (var i=0;i<3;i++){ - if (e[i]!==mycars[i]) $ERROR('#1.'+i+': Exception['+i+'] === mycars['+i+']. Actual: Exception['+i+'] ==='+ e[i] ); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.js deleted file mode 100644 index e7efe73e5a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A3_T1; - * @section: 12.13; - * @assertion: 1. Evaluate Expression; - * @description: Evaluating boolean expression; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A3_T1", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.js", - -assertion: "1. Evaluate Expression", - -description: "Evaluating boolean expression", - -test: function testcase() { - // CHECK#1 -var b=true; -try{ - throw b&&false; -} -catch(e){ - if (e!==false) $ERROR('#1: Exception === false(operaton &&). Actual: Exception ==='+ e ); -} - -// CHECK#2 -var b=true; -try{ - throw b||false; -} -catch(e){ - if (e!==true) $ERROR('#2: Exception === true(operaton ||). Actual: Exception ==='+ e ); -} - -// CHECK#3 -try{ - throw !false; -} -catch(e){ - if (e!==true) $ERROR('#3: Exception === true(operaton !). Actual: Exception ==='+ e ); -} - -// CHECK#4 -var b=true; -try{ - throw !(b&&false); -} -catch(e){ - if (e!==true) $ERROR('#4: Exception === true(operaton &&). Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.js deleted file mode 100644 index 70414f043b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A3_T2; - * @section: 12.13; - * @assertion: 1. Evaluate Expression; - * @description: Evaluating string expression; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A3_T2", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.js", - -assertion: "1. Evaluate Expression", - -description: "Evaluating string expression", - -test: function testcase() { - // CHECK#1 -try{ - throw "exception"+" #1"; -} -catch(e){ - if (e!=="exception #1") $ERROR('#1: Exception === "exception #1"(operaton +). Actual: Exception ==='+ e ); -} - -// CHECK#2 -var b="exception" -var a=" #1"; -try{ - throw b+a; -} -catch(e){ - if (e!=="exception #1") $ERROR('#2: Exception === "exception #1"(operaton +). Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.js deleted file mode 100644 index f226aa59b4..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.js +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A3_T3; - * @section: 12.13; - * @assertion: 1. Evaluate Expression; - * @description: Evaluating number expression; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A3_T3", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.js", - -assertion: "1. Evaluate Expression", - -description: "Evaluating number expression", - -test: function testcase() { - // CHECK#1 -try{ - throw 10+3; -} -catch(e){ - if (e!==13) $ERROR('#1: Exception ===13(operaton +). Actual: Exception ==='+ e); -} - -// CHECK#2 -var b=10; -var a=3; -try{ - throw a+b; -} -catch(e){ - if (e!==13) $ERROR('#2: Exception ===13(operaton +). Actual: Exception ==='+ e); -} - -// CHECK#3 -try{ - throw 3.15-1.02; -} -catch(e){ - if (e!==2.13) $ERROR('#3: Exception ===2.13(operaton -). Actual: Exception ==='+ e); -} - -// CHECK#4 -try{ - throw 2*2; -} -catch(e){ - if (e!==4) $ERROR('#4: Exception ===4(operaton *). Actual: Exception ==='+ e); -} - -// CHECK#5 -try{ - throw 1+Infinity; -} -catch(e){ - if (e!==+Infinity) $ERROR('#5: Exception ===+Infinity(operaton +). Actual: Exception ==='+ e); -} - -// CHECK#6 -try{ - throw 1-Infinity; -} -catch(e){ - if (e!==-Infinity) $ERROR('#6: Exception ===-Infinity(operaton -). Actual: Exception ==='+ e); -} - -// CHECK#7 -try{ - throw 10/5; -} -catch(e){ - if (e!==2) $ERROR('#7: Exception ===2(operaton /). Actual: Exception ==='+ e); -} - -// CHECK#8 -try{ - throw 8>>2; -} -catch(e){ - if (e!==2) $ERROR('#8: Exception ===2(operaton >>). Actual: Exception ==='+ e); -} - -// CHECK#9 -try{ - throw 2<<2; -} -catch(e){ - if (e!==8) $ERROR('#9: Exception ===8(operaton <<). Actual: Exception ==='+ e); -} - -// CHECK#10 -try{ - throw 123%100; -} -catch(e){ - if (e!==23) $ERROR('#10: Exception ===23(operaton %). Actual: Exception ==='+ e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.js deleted file mode 100644 index d3caa76a57..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A3_T4; - * @section: 12.13; - * @assertion: 1. Evaluate Expression; - * @description: Evaluating array expression; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A3_T4", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.js", - -assertion: "1. Evaluate Expression", - -description: "Evaluating array expression", - -test: function testcase() { - var mycars = new Array(); -mycars[0] = "Saab"; -mycars[1] = "Volvo"; -mycars[2] = "BMW"; - -var mycars2 = new Array(); -mycars2[0] = "Mercedes"; -mycars2[1] = "Jeep"; -mycars2[2] = "Suzuki"; - -// CHECK#1 -try{ - throw mycars.concat(mycars2); -} -catch(e){ - for (var i=0;i<3;i++){ - if (e[i]!==mycars[i]) $ERROR('#1.'+i+': Exception['+i+']===mycars['+i+'](operation .concat). Actual: Exception['+i+']==='+ e[i] ); - } - for (var i=3;i<6;i++){ - if (e[i]!==mycars2[i-3]) $ERROR('#1.'+i+': Exception['+i+']===mycars2['+(i-3)+'](operation .concat). Actual: Exception['+i+']==='+ e[i] ); - } -} - -// CHECK#2 -try{ - throw new Array("Mercedes","Jeep","Suzuki"); -} -catch(e){ - for (var i=0;i<3;i++){ - if (e[i]!==mycars2[i]) $ERROR('#2.'+i+': Exception['+i+']===mycars2['+i+'](operation new). Actual: Exception['+i+']==='+ e[i] ); - } -} - -// CHECK#3 -try{ - throw mycars.concat(new Array("Mercedes","Jeep","Suzuki")); -} -catch(e){ - for (var i=0;i<3;i++){ - if (e[i]!==mycars[i]) $ERROR('#3.'+i+': Exception['+i+']===mycars['+i+'](operation .concat(new)). Actual: Exception['+i+']==='+ e[i] ); - } - for (var i=3;i<6;i++){ - if (e[i]!==mycars2[i-3]) $ERROR('#3.'+i+': Exception['+i+']===mycars2['+(i-3)+'](operation .concat(new)). Actual: Exception['+i+']==='+ e[i] ); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.js deleted file mode 100644 index acf7262a77..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A3_T5; - * @section: 12.13; - * @assertion: 1. Evaluate Expression; - * @description: Evaluating equation expression; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A3_T5", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.js", - -assertion: "1. Evaluate Expression", - -description: "Evaluating equation expression", - -test: function testcase() { - // CHECK#1 -var a=true; -var b=false; -try{ - throw ((a&&(!b))?"exception":" #1"); -} -catch(e){ - if (e!=="exception") $ERROR('#1: Exception ==="exception"(operaton ? , ). Actual: Exception ==='+e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.js b/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.js deleted file mode 100644 index c6114efcac..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.13_A3_T6; - * @section: 12.13; - * @assertion: 1. Evaluate Expression; - * @description: Evaluating functions; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.13_A3_T6", - -path: "TestCases/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.js", - -assertion: "1. Evaluate Expression", - -description: "Evaluating functions", - -test: function testcase() { - // CHECK#1 -var i=0; -function adding1(){ - i++; - return 1; -} -try{ - throw (adding1()); -} -catch(e){ - if (e!==1) $ERROR('#1: Exception ===1. Actual: Exception ==='+ e); -} - -// CHECK#2 -var i=0; -function adding2(){ - i++; - return i; -} -try{ - throw adding2(); -} -catch(e){} -if (i!==1) $ERROR('#2: i===1. Actual: i==='+ i); - -// CHECK#3 -var i=0; -function adding3(){ - i++; -} -try{ - throw adding3(); -} -catch(e){} -if (i!==1) $ERROR('#3: i===1. Actual: i==='+i); - -// CHECK#4 -function adding4(i){ - i++; - return i; -} -try{ - throw (adding4(1)); -} -catch(e){ - if (e!==2) $ERROR('#4: Exception ===2. Actual: Exception ==='+ e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A1.js deleted file mode 100644 index 0f65646a31..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A1; - * @section: 12.14; - * @assertion: The production TryStatement : try Block Catch is evaluated as follows: 2. If Result(1).type is not throw, return Result(1); - * @description: Executing TryStatement : try Block Catch. The statements doesn't cause actual exceptions; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A1", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A1.js", - -assertion: "The production TryStatement : try Block Catch is evaluated as follows: 2. If Result(1).type is not throw, return Result(1)", - -description: "Executing TryStatement : try Block Catch. The statements doesn\'t cause actual exceptions", - -test: function testcase() { - // CHECK#1 -try { - var x=0; -} -catch (e) { - $ERROR('#1: If Result(1).type is not throw, return Result(1). Actual: 4 Return(Result(3))'); -} - -// CHECK#2 -var c1=0; -try{ - var x1=1; -} -finally -{ - c1=1; -} -if(x1!==1){ - $ERROR('#2.1: "try" block must be evaluated. Actual: try Block has not been evaluated'); -} -if (c1!==1){ - $ERROR('#2.2: "finally" block must be evaluated. Actual: finally Block has not been evaluated'); -} - -// CHECK#3 -var c2=0; -try{ - var x2=1; -} -catch(e){ - $ERROR('#3.1: If Result(1).type is not throw, return Result(1). Actual: 4 Return(Result(3))'); -} -finally{ - c2=1; -} -if(x2!==1){ - $ERROR('#3.2: "try" block must be evaluated. Actual: try Block has not been evaluated'); -} -if (c2!==1){ - $ERROR('#3.3: "finally" block must be evaluated. Actual: finally Block has not been evaluated'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.js deleted file mode 100644 index 9c97602b3e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A10_T1; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; - * @description: Throwing exception while executing iteration statement placed into try Block; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A10_T1", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"while\" statement", - -description: "Throwing exception while executing iteration statement placed into try Block", - -test: function testcase() { - // CHECK#1 -var i=0; -try{ -while(i<10){ - if(i===5) throw i; - i++; -} -} -catch(e){ - if(e!==5)$ERROR('#1: Exception === 5. Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.js deleted file mode 100644 index d354638df9..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.js +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A10_T2; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; - * @description: Try statement inside loop, where use continue loop; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A10_T2", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"while\" statement", - -description: "Try statement inside loop, where use continue loop", - -test: function testcase() { - // CHECK#1 -var c1=0,fin=0; -while(c1<2){ - try{ - c1+=1; - continue; - } - catch(er1){} - finally{ - fin=1; - } - fin=-1; -}; -if(fin!==1){ - $ERROR('#1: "finally" block must be evaluated at "try{continue} catch finally" construction'); -} - -// CHECK#2 -var c2=0,fin2=0; -while(c2<2){ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - continue; - } - finally{ - fin2=1; - } - fin2=-1; -} -if(fin2!==1){ - $ERROR('#2: "finally" block must be evaluated at "try catch{continue} finally" construction'); -} - -// CHECK#3 -var c3=0,fin3=0; -while(c3<2){ - try{ - throw "ex1"; - } - catch(er1){ - c3+=1; - } - finally{ - fin3=1; - continue; - } - fin3=0; -} -if(fin3!==1){ - $ERROR('#3: "finally" block must be evaluated at "try catch finally{continue}" construction'); -} - -// CHECK#4 -var c4=0,fin4=0; -while(c4<2){ - try{ - c4+=1; - continue; - } - finally{ - fin4=1; - } - fin4=-1; -}; -if(fin4!==1){ - $ERROR('#4: "finally" block must be evaluated at "try{continue} finally" construction'); -} - -// CHECK#5 -var c5=0; -while(c5<2){ - try{ - throw "ex1"; - } - catch(er1){ - c5+=1; - continue; - } -} -if(c5!==2){ - $ERROR('#5: "try catch{continue}" must work correctly'); -} - -// CHECK#6 -var c6=0,fin6=0; -while(c6<2){ - try{ - c6+=1; - throw "ex1" - } - finally{ - fin6=1; - continue; - } - fin6=-1; -} -if(fin6!==1){ - $ERROR('#6.1: "finally" block must be evaluated'); -} -if(c6!==2){ - $ERROR('#6.2: "try finally{continue}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.js deleted file mode 100644 index aa59d9a665..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.js +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A10_T3; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; - * @description: Try statement inside loop, where use break; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A10_T3", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"while\" statement", - -description: "Try statement inside loop, where use break", - -test: function testcase() { - // CHECK#1 -var c1=0,fin=0; -while(c1<2){ - try{ - c1+=1; - break; - } - catch(er1){} - finally{ - fin=1; - } - fin=-1; - c1+=2; -} -if(fin!==1){ - $ERROR('#1.1: "finally" block must be evaluated'); -} -if(c1!==1){ - $ERROR('#1.2: "try{break}catch finally" must work correctly'); -} - -// CHECK#2 -var c2=0,fin2=0; -while(c2<2){ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - break; - } - finally{ - fin2=1; - } - c2+=2; - fin2=-1; -} -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==1){ - $ERROR('#2.2: "try catch{break} finally" must work correctly'); -} - -// CHECK#3 -var c3=0,fin3=0; -while(c3<2){ - try{ - throw "ex1"; - } - catch(er1){ - c3+=1; - } - finally{ - fin3=1; - break; - } - c3+=2; - fin3=0; -} -if(fin3!==1){ - $ERROR('#3.1: "finally" block must be evaluated'); -} -if(c3!==1){ - $ERROR('#3.2: "try catch finally{break}" must work correctly'); -} - -// CHECK#4 -var c4=0,fin4=0; -while(c4<2){ - try{ - c4+=1; - break; - } - finally{ - fin4=1; - } - fin4=-1; - c4+=2; -} -if(fin4!==1){ - $ERROR('#4.1: "finally" block must be evaluated'); -} -if(c4!==1){ - $ERROR('#4.2: "try{break} finally" must work correctly'); -} - -// CHECK#5 -var c5=0; -while(c5<2){ - try{ - throw "ex1"; - } - catch(er1){ - break; - } -} -if(c5!==0){ - $ERROR('#5: "try catch{break}" must work correctly'); -} - -// CHECK#6 -var c6=0; -while(c6<2){ - try{ - c6+=1; - break; - } - catch(er1){} - c6+=2; -} -if(c6!==1){ - $ERROR('#6: "try{break} catch" must work correctly'); -} - -// CHECK#7 -var c7=0,fin7=0; -try{ - while(c7<2){ - try{ - c7+=1; - throw "ex1"; - } - finally{ - fin7=1; - break; - } - fin7=-1; - c7+=2; - } -} -catch(ex1){ - c7=10; -} -if(fin7!==1){ - $ERROR('#7.1: "finally" block must be evaluated'); -} -if(c7!==1){ - $ERROR('#7.2: "try finally{break}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.js deleted file mode 100644 index 441ee56580..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A10_T4; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; - * @description: Try statement inside loop, where combinate using break and continue; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A10_T4", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"while\" statement", - -description: "Try statement inside loop, where combinate using break and continue", - -test: function testcase() { - // CHECK#1 -var c1=0,fin=0; -while(c1<2){ - try{ - c1+=1; - break; - } - catch(er1){} - finally{ - fin=1; - continue; - } - fin=-1; - c1+=2; -} -if(fin!==1){ - $ERROR('#1.1: "finally" block must be evaluated'); -} -if(c1!==2){ - $ERROR('#1.2: "try{break} catch finally{continue}" must work correctly'); -} - -// CHECK#2 -var c2=0,fin2=0; -while(c2<2){ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - break; - } - finally{ - fin2=1; - continue; - } - c2+=2; - fin2=-1; -} -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==2){ - $ERROR('#2.2: "try catch{break} finally{continue} must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.js deleted file mode 100644 index 1cd50950cb..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A10_T5; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; - * @description: Throw some exceptions from different place of loop body; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A10_T5", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"while\" statement", - -description: "Throw some exceptions from different place of loop body", - -test: function testcase() { - // CHECK#1 -var c=0, i=0; -var fin=0; -while(i<10){ - i+=1; - try{ - if(c===0){ - throw "ex1"; - $ERROR('#1.1: throw "ex1" lead to throwing exception'); - } - c+=2; - if(c===1){ - throw "ex2"; - $ERROR('#1.2: throw "ex2" lead to throwing exception'); - } - } - catch(er1){ - c-=1; - continue; - $ERROR('#1.3: "try catch{continue} finally" must work correctly'); - } - finally{ - fin+=1; - } -} -if(fin!==10){ - $ERROR('#1.4: "finally" block must be evaluated'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.js deleted file mode 100644 index 7985f320d8..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A11_T1; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "for" statement; - * @description: Loop inside try Block, where throw exception; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A11_T1", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"for\" statement", - -description: "Loop inside try Block, where throw exception", - -test: function testcase() { - // CHECK#1 -try{ - for(var i=0;i<10;i++){ - if(i===5) throw i; - } -} -catch(e){ - if(e!==5)$ERROR('#1: Exception === 5. Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.js deleted file mode 100644 index 7910dae6a7..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.js +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A11_T2; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "for" statement; - * @description: Try statement inside loop, where use continue loop; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A11_T2", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"for\" statement", - -description: "Try statement inside loop, where use continue loop", - -test: function testcase() { - // CHECK#1 -var fin=0; -for(var i=0;i<5;i++){ - try{ - i+=1; - continue; - } - catch(er1){} - finally{ - fin=1; - } - fin=-1; -} -if(fin!==1){ - $ERROR('#1: "finally" block must be evaluated at "try{continue} catch finally" construction'); -} - -// CHECK#2 -var c2=0,fin2=0; -for(var i=0;i<5;i++){ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - continue; - } - finally{ - fin2=1; - } - fin2=-1; -} -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==5){ - $ERROR('#2.1: "try catch{continue} finally" must work correctly'); -} - -// CHECK#3 -var c3=0,fin3=0; -for(var i=0;i<5;i++){ - try{ - throw "ex1"; - } - catch(er1){ - c3+=1; - } - finally{ - fin3=1; - continue; - } - fin3=0; -} -if(fin3!==1){ - $ERROR('#3.1: "finally" block must be evaluated'); -} -if(c3!==5){ - $ERROR('#3.2: "try catch finally{continue}" must work correctly'); -} - -// CHECK#4 -var fin=0; -for(var i=0;i<5;i++){ - try{ - i+=1; - continue; - } - finally{ - fin=1; - } - fin=-1; -}; -if(fin!==1){ - $ERROR('#4: "finally" block must be evaluated at "try{continue} finally" construction'); -} - -// CHECK#5 -var c5=0; -for(var c5=0;c5<10;){ - try{ - throw "ex1"; - } - catch(er1){ - c5+=1; - continue; - } - c5+=12; -}; -if(c5!==10){ - $ERROR('#5: "try catch{continue} must work correctly'); -} - -// CHECK#6 -var c6=0,fin6=0; -for(var c6=0;c6<10;){ - try{ - c6+=1; - throw "ex1" - } - finally{ - fin6=1; - continue; - } - fin6=-1; -}; -if(fin6!==1){ - $ERROR('#6.1: "finally" block must be evaluated'); -} -if(c6!==10){ - $ERROR('#6.2: "try finally{continue}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.js deleted file mode 100644 index e07a50004f..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.js +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A11_T3; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "for" statement; - * @description: Try statement inside loop, where use break; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A11_T3", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"for\" statement", - -description: "Try statement inside loop, where use break", - -test: function testcase() { - // CHECK#1 -var c1=0,fin=0; -for(var i=0;i<5;i++){ - try{ - c1+=1; - break; - } - catch(er1){} - finally{ - fin=1; - } - fin=-1; - c1+=2; -}; -if(fin!==1){ - $ERROR('#1.1: "finally" block must be evaluated'); -} -if(c1!==1){ - $ERROR('#1.2: "try{break}catch finally" must work correctly'); -} - -// CHECK#2 -var c2=0,fin2=0; -for(var i=0;i<5;i++){ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - break; - } - finally{ - fin2=1; - } - c2+=2; - fin2=-1; -}; -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==1){ - $ERROR('#2.2: "try catch{break} finally" must work correctly'); -} - -// CHECK#3 -var c3=0,fin3=0; -for(var i=0;i<5;i++){ - try{ - throw "ex1"; - } - catch(er1){ - c3+=1; - } - finally{ - fin3=1; - break; - } - c3+=2; - fin3=0; -}; -if(fin3!==1){ - $ERROR('#3.1: "finally" block must be evaluated'); -} -if(c3!==1){ - $ERROR('#3.2: "try catch finally{break}" must work correctly'); -} - -// CHECK#4 -var c4=0,fin4=0; -for(var i=0;i<5;i++){ - try{ - c4+=1; - break; - } - finally{ - fin4=1; - } - fin4=-1; - c4+=2; -}; -if(fin4!==1){ - $ERROR('#4.1: "finally" block must be evaluated'); -} -if(c4!==1){ - $ERROR('#4.2: "try{break} finally" must work correctly'); -} - -// CHECK#5 -for(var i=0;i<5;i++){ - try{ - throw "ex1"; - } - catch(er1){ - break; - } -}; -if(i!==0){ - $ERROR('#5: "try catch{break}" must work correctly'); -} - -// CHECK#6 -var c6=0; -for(var c6=0;c6<5;){ - try{ - c6+=1; - break; - } - catch(er1){} - c6+=2; -}; -if(c6!==1){ - $ERROR('#6: "try{break} catch" must work correctly'); -} - -// CHECK#7 -var c7=0,fin7=0; -try{ - for(var c7=0;c7<5;){ - try{ - c7+=1; - throw "ex1"; - } - finally{ - fin7=1; - break; - } - fin7=-1; - c7+=2; - } -} -catch(ex1){ - c7=10; -} -if(fin7!==1){ - $ERROR('#7.1: "finally" block must be evaluated'); -} -if(c7!==1){ - $ERROR('#7.2: "try finally{break}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.js deleted file mode 100644 index 499bb7667e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A11_T4; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "for" statement; - * @description: Try statement inside loop, where combinate using break and continue; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A11_T4", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"for\" statement", - -description: "Try statement inside loop, where combinate using break and continue", - -test: function testcase() { - // CHECK#1 -var c1=0,fin=0; -for(var i=0;i<5;i++){ - try{ - c1+=1; - break; - } - catch(er1){} - finally{ - fin=1; - continue; - } - fin=-1; - c1+=2; -} -if(fin!==1){ - $ERROR('#1.1: "finally" block must be evaluated'); -} -if(c1!==5){ - $ERROR('#1.2: "try{break} catch finally{continue}" must work correctly'); -} - -// CHECK#2 -var c2=0,fin2=0; -for(var i=0;i<5;i++){ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - break; - } - finally{ - fin2=1; - continue; - } - c2+=2; - fin2=-1; -} -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==5){ - $ERROR('#2.2: "try catch{break} finally{continue}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js deleted file mode 100644 index ad456c84cc..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A12_T1; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "for-in" statement; - * @description: Loop inside try Block, where throw exception; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A12_T1", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"for-in\" statement", - -description: "Loop inside try Block, where throw exception", - -test: function testcase() { - var x; -var mycars = new Array(); -mycars[0] = "Saab"; -mycars[1] = "Volvo"; -mycars[2] = "BMW"; - -// CHECK#1 -try{ - for (x in mycars){ - if (mycars[x]==="BMW") throw "ex"; - } -} -catch(e){ - if(e!=="ex")$ERROR('#1: Exception ==="ex". Actual: Exception ==='+ e ); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.js deleted file mode 100644 index f8c4d3084e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.js +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A12_T2; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "for-in" statement; - * @description: Try statement inside loop, where use continue loop; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A12_T2", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"for-in\" statement", - -description: "Try statement inside loop, where use continue loop", - -test: function testcase() { - var x; -var mycars = new Array(); -mycars[0] = "Saab"; -mycars[1] = "Volvo"; -mycars[2] = "BMW"; - -// CHECK#1 -var fin=0; -var i=0; -for (x in mycars){ - try{ - i+=1; - continue; - } - catch(er1){} - finally{ - fin=1; - } - fin=-1; -} -if(fin!==1){ - $ERROR('#1.1: "finally" block must be evaluated'); -} -if(i!==3){ - $ERROR('#1.2: "try{continue} catch finally" must work correctly'); -} - -// CHECK#2 -var c2=0,fin2=0; -for (x in mycars){ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - continue; - } - finally{ - fin2=1; - } - fin2=-1; -} -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==3){ - $ERROR('#2.1: "try catch{continue} finally" must work correctly'); -} - -// CHECK#3 -var c3=0,fin3=0; -for (x in mycars){ - try{ - throw "ex1"; - } - catch(er1){ - c3+=1; - } - finally{ - fin3=1; - continue; - } - fin3=0; -} -if(c3!==3){ - $ERROR('#3.1: "finally" block must be evaluated'); -} -if(fin3!==1){ - $ERROR('#3.2: "try catch finally{continue}" must work correctly'); -} - -// CHECK#4 -var fin=0; -for (x in mycars){ - try{ - continue; - } - finally{ - fin=1; - } - fin=-1; -} -if(fin!==1){ - $ERROR('#4: "finally" block must be evaluated at "try{continue} finally" construction'); -} - -// CHECK#5 -var c5=0; -for (x in mycars){ - try{ - throw "ex1"; - } - catch(er1){ - c5+=1; - continue; - } - c5+=12; -} -if(c5!==3){ - $ERROR('#5: "try catch{continue}" must work correctly'); -} - -// CHECK#6 -var c6=0,fin6=0; -for (x in mycars){ - try{ - c6+=1; - throw "ex1"; - } - finally{ - fin6=1; - continue; - } - fin6=-1; -} -if(fin6!==1){ - $ERROR('#6.1: "finally" block must be evaluated'); -} -if(c6!==3){ - $ERROR('#6.2: "try finally{continue}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.js deleted file mode 100644 index 8335b5b5bb..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.js +++ /dev/null @@ -1,178 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A12_T3; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "for-in" statement; - * @description: Try statement inside loop, where use break; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A12_T3", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"for-in\" statement", - -description: "Try statement inside loop, where use break", - -test: function testcase() { - var x; -var mycars = new Array(); -mycars[0] = "Saab"; -mycars[1] = "Volvo"; -mycars[2] = "BMW"; - -// CHECK#1 -var c1=0,fin=0; -for (x in mycars){ - try{ - c1+=1; - break; - } - catch(er1){ - c1+=1; - } - finally{ - fin=1; - } - fin=-1; - c1+=2; -}; -if(fin!==1){ - $ERROR('#1.1: "finally" block must be evaluated'); -} -if(c1!==1){ - $ERROR('#1.2: "try{break}catch finally" must work correctly'); -} - -// CHECK#2 -var c2=0,fin2=0; -for (x in mycars){ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - break; - } - finally{ - fin2=1; - } - c2+=2; - fin2=-1; -} -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==1){ - $ERROR('#2.2: "try catch{break} finally" must work correctly'); -} - -// CHECK#3 -var c3=0,fin3=0; -for (x in mycars){ - try{ - throw "ex1"; - } - catch(er1){ - c3+=1; - } - finally{ - fin3=1; - break; - } - c3+=2; - fin3=0; -} -if(fin3!==1){ - $ERROR('#3.1: "finally" block must be evaluated'); -} -if(c3!==1){ - $ERROR('#3.2: "try catch finally{break}" must work correctly'); -} - -// CHECK#4 -var c4=0,fin4=0; -for (x in mycars){ - try{ - c4+=1; - break; - } - finally{ - fin4=1; - } - fin4=-1; - c4+=2; -} -if(fin4!==1){ - $ERROR('#4.1: "finally" block must be evaluated'); -} -if(c4!==1){ - $ERROR('#4.2: "try{break} finally" must work correctly'); -} - -// CHECK#5 -var c5=0; -for (x in mycars){ - try{ - throw "ex1"; - c5++; - } - catch(er1){ - break; - c5++; - } - c5++; -} -if(c5!==0){ - $ERROR('#5: "try catch{break}" must work correctly'); -} - -// CHECK#6 -var c6=0; -for (x in mycars){ - try{ - c6+=1; - break; - } - catch(er1){} - c6+=2; -} -if(c6!==1){ - $ERROR('#6: "try{break} catch" must work correctly'); -} - -// CHECK#7 -var c7=0,fin7=0; -try{ - for (x in mycars){ - try{ - c7+=1; - throw "ex1"; - } - finally{ - fin7=1; - break; - } - fin7=-1; - c7+=2; - } -} -catch(ex1){ - c7=10; -} -if(fin7!==1){ - $ERROR('#7.1: "finally" block must be evaluated'); -} -if(c7!==1){ - $ERROR('#7.2: "try finally{break}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.js deleted file mode 100644 index e50bd482d7..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.js +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A12_T4; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "for-in" statement; - * @description: Try statement inside loop, where combinate using break and continue; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A12_T4", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"for-in\" statement", - -description: "Try statement inside loop, where combinate using break and continue", - -test: function testcase() { - var x; -var mycars = new Array(); -mycars[0] = "Saab"; -mycars[1] = "Volvo"; -mycars[2] = "BMW"; - -// CHECK#1 -var c1=0,fin=0; -for (x in mycars){ - try{ - c1+=1; - break; - } - catch(er1){} - finally{ - fin=1; - continue; - } - fin=-1; - c1+=2; -} -if(fin!==1){ - $ERROR('#1.1: "finally" block must be evaluated'); -} -if(c1!==3){ - $ERROR('#1.2: "try{break} catch finally{continue}" must work correctly'); -} - -// CHECK#2 -var c2=0,fin2=0; -for (x in mycars){ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - break; - } - finally{ - fin2=1; - continue; - } - c2+=2; - fin2=-1; -} -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==3){ - $ERROR('#2.2: "try catch{break} finally{continue}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.js deleted file mode 100644 index 46307d511e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A13_T1; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement with a "return" statement; - * @description: Using try/catch syntax construction; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A13_T1", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement with a \"return\" statement", - -description: "Using try/catch syntax construction", - -test: function testcase() { - // CHECK#1 -function myFunction1(){ - try{ - return 1; - } - catch(err){ - $ERROR('#1.1: "return 1" inside function does not lead to throwing exception'); - return 0; - } - return 2; -} -var x1=myFunction1(); -if(x1!==1){ - $ERROR('#1.2: x1===1. Actual: x1==='+x1); -} - -// CHECK#2 -function myFunction2(){ - try{ - throw "exc"; - return 1; - }catch(err){ - return 2; - } - return 3; -} -var x2=myFunction2(); -if (x2!==2){ - $ERROR('#2: x2===2. Actual: x2==='+x2); -} - -// CHECK#3 -function myFunction3(){ - try{ - return someValue; - }catch(err){ - return 1; - } - return 2; -} -var x3=myFunction3(); -if (x3!==1){ - $ERROR('#3: x3===1. Actual: x3==='+x3); -} - -// CHECK#4 -function myFunction4(){ - try{ - throw "ex1"; - return 1; - }catch(err){ - throw "ex2" - return 0; - } - return 2; -} -try{ - var x4=myFunction4(); - $ERROR('#4.1: Throwing exception inside function lead to throwing exception outside this function'); -} -catch(e){ - if(e==="ex1"){ - $ERROR('#4.2: Exception !=="ex1". Actual: catch previous exception'); - } - if(e!=="ex2"){ - $ERROR('#4.3: Exception ==="ex2". Actual: Exception ==='+ e ); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.js deleted file mode 100644 index ed629b1459..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.js +++ /dev/null @@ -1,198 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A13_T2; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement with a "return" statement; - * @description: Using try/finally syntax construction; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A13_T2", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement with a \"return\" statement", - -description: "Using try/finally syntax construction", - -test: function testcase() { - // CHECK#1 -var c1=0; -function myFunction1(){ - try{ - return 1; - }finally{ - c1=1; - } - return 2; -} -var x1=myFunction1(); -if(x1!==1){ - $ERROR('#1.1: x1===1. Actual: x1==='+x1); -} -if (c1!==1){ - $ERROR('#1.2: "finally" block must be evaluated'); -} - -// CHECK#2 -var c2=0; -function myFunction2(){ - try{ - throw "exc"; - return 1; - }finally{ - c2=1; - } - return 2; -} -try{ - var x2=myFunction2(); - $ERROR('#2.1: Throwing exception inside function lead to throwing exception outside this function'); -} -catch(e){ - if (c2!==1){ - $ERROR('#2.2: "finally" block must be evaluated'); - } -} - -// CHECK#3 -var c3=0; -function myFunction3(){ - try{ - return someValue; - }finally{ - c3=1; - } - return 2; -} -try{ - var x3=myFunction3(); - $ERROR('#3.1: Throwing exception inside function lead to throwing exception outside this function'); -} -catch(e){ - if (c3!==1){ - $ERROR('#3.2: "finally" block must be evaluated'); - } -} - -// CHECK#4 -var c4=0; -function myFunction4(){ - try{ - return 1; - }finally{ - c4=1; - throw "exc"; - return 0; - } - return 2; -} -try{ - var x4=myFunction4(); - $ERROR('#4.2: Throwing exception inside function lead to throwing exception outside this function'); -} -catch(e){ - if (c4!==1){ - $ERROR('#4.3: "finally" block must be evaluated'); - } -} - -// CHECK#5 -var c5=0; -function myFunction5(){ - try{ - return 1; - }finally{ - c5=1; - return someValue; - return 0; - } - return 2; -} -try{ - var x5=myFunction5(); - $ERROR('#5.2: Throwing exception inside function lead to throwing exception outside this function'); -} -catch(e){ - if (c5!==1){ - $ERROR('#5.3: "finally" block must be evaluated'); - } -} - -// CHECK#6 -var c6=0; -function myFunction6(){ - try{ - throw "ex1"; - return 1; - }finally{ - c6=1; - throw "ex2"; - return 2; - } - return 3; -} -try{ - var x6=myFunction6(); - $ERROR('#6.1: Throwing exception inside function lead to throwing exception outside this function'); -} -catch(e){ - if(e==="ex1"){ - $ERROR('#6.2: Exception !=="ex1". Actual: catch previous exception'); - } - if(e!=="ex2"){ - $ERROR('#6.3: Exception !=="ex1". Actual: '+e); - } - if (c6!==1){ - $ERROR('#6.4: "finally" block must be evaluated'); - } -} - -// CHECK#7 -var c7=0; -function myFunction7(){ - try{ - return 1; - }finally{ - c7=1; - return 2; - } - return 3; -} -var x7=myFunction7(); -if(x7!==2){ - $ERROR('#7.1: "catch" block must be evaluated'); -} -if (c7!==1){ - $ERROR('#7.2: "finally" block must be evaluated'); -} - -// CHECK#8 -var c8=0; -function myFunction8(){ - try{ - throw "ex1"; - }finally{ - c8=1; - return 2; - } - return 3; -} -try{ - var x8=myFunction8(); -} -catch(ex1){ - c8=10; -} -if (c8!==1){ - $ERROR('#8: "finally" block must be evaluated'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.js deleted file mode 100644 index 658c7e7392..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.js +++ /dev/null @@ -1,202 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A13_T3; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement with a "return" statement; - * @description: Using try/catch/finally syntax construction; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A13_T3", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement with a \"return\" statement", - -description: "Using try/catch/finally syntax construction", - -test: function testcase() { - // CHECK#1 -var c1=0; -function myFunction1(){ - try{ - return 1; - }catch(err){ - $ERROR('#1.1: "return 1" inside function does not lead to throwing exception'); - return 0; - }finally{ - c1=1; - } - return 2; -} -var x1=myFunction1(); -if(x1!==1){ - $ERROR('#1.3: x1===1. Actual: x1==='+x1); -} -if (c1!==1){ - $ERROR('#1.4: "finally" block must be evaluated'); -} - -// CHECK#2 -var c2=0; -function myFunction2(){ - try{ - throw "exc"; - return 1; - }catch(err){ - return 0; - }finally{ - c2=1; - } - return 2; -} -var x2=myFunction2(); -if (c2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if (x2!==0){ - $ERROR('#2.2: x2===0. Actual: x2==='+x2); -} - -// CHECK#3 -var c3=0; -function myFunction3(){ - try{ - return someValue; - }catch(err){ - return 1; - }finally{ - c3=1; - } - return 2; -} -var x3=myFunction3(); -if (c3!==1){ - $ERROR('#3.1: "finally" block must be evaluated'); -} -if (x3!==1){ - $ERROR('#3.2: x3===1. Actual: x3==='+x3); -} - -// CHECK#4 -var c4=0; -function myFunction4(){ - try{ - throw "ex1"; - return 1; - }catch(err){ - throw "ex2" - return 0; - }finally{ - c4=1; - } - return 2; -} -try{ - var x4=myFunction4(); - $ERROR('#4.1: Throwing exception inside function lead to throwing exception outside this function'); -} -catch(e){ - if(e==="ex1"){ - $ERROR('#4.2: Exception !== "ex1". Actual: catch previous exception'); - } - if(e!=="ex2"){ - $ERROR('#4.3: Exception === "ex2". Actual: Exception ==='+ e ); - } - if (c4!==1){ - $ERROR('#4.4: "finally" block must be evaluated'); - } -} - -// CHECK#5 -var c5=0; -function myFunction5(){ - try{ - throw "ex1"; - return 1; - }catch(err){ - return 0; - }finally{ - c5=1; - throw "ex2"; - } - return 2; -} -try{ - var x5=myFunction5(); - $ERROR('#5.1: Throwing exception inside function lead to throwing exception outside this function'); -} -catch(e){ - if(e==="ex1"){ - $ERROR('#5.2: Exception !== "ex1". Actual: catch previous exception'); - } - if(e!=="ex2"){ - $ERROR('#5.3: Exception === "ex2". Actual: Exception ==='+ e ); - } - if (c5!==1){ - $ERROR('#5.4: "finally" block must be evaluated'); - } -} - -// CHECK#6 -var c6=0; -function myFunction6(){ - try{ - throw "ex1"; - return 1; - }catch(err){ - throw "ex2"; - return 0; - }finally{ - c6=1; - throw "ex3"; - } - return 2; -} -try{ - var x6=myFunction6(); - $ERROR('#6.1: Throwing exception inside function lead to throwing exception outside this function'); -} -catch(e){ - if(e==="ex1"){ - $ERROR('#6.2: Exception !== "ex1". Actual: catch previous exception'); - } - if(e==="ex2"){ - $ERROR('#6.3: Exception !== "ex2". Actual: catch previous exception'); - } - if(e!=="ex3"){ - $ERROR('#6.4: Exception === "ex3". Actual: Exception ==='+ e ); - } - if(c6!==1) $ERROR('#6.5: "finally" block must be evaluated'); -} - -// CHECK#7 -var c7=0; -function myFunction7(){ - try{ - throw "ex1"; - return 1; - }catch(err){ - throw "ex2"; - return 0; - }finally{ - c7=1; - return 2; - } - return 3; -} -try{ - var x7=myFunction7(); - if(x7!==2) $ERROR('#7.1: x7===2. Actual: x7==='+x7); -} -catch(e){} -if(c7!==1) $ERROR('#7.2: "finally" block must be evaluated'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A14.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A14.js deleted file mode 100644 index 17c1596f6e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A14.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A14; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "with" statement; - * @description: Using try/catch/finally in With and With in try/catch/finally; - * @strict_mode_negative SyntaxError; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A14", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A14.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"with\" statement", - -description: "Using try/catch/finally in With and With in try/catch/finally", - -test: function testcase() { - var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';} -} - -// CHECK#1 -try{ - with(myObj){ - throw "ex"; - } -} -catch(e){ - if (e!=="ex") $ERROR('#1: Exception ==="ex". Actual: Exception ==='+ e ); -} - -// CHECK#2 -with(myObj){ - try{ - throw p1; - } - catch(e){ - if (e!=="a") $ERROR('#2.1: Exception ==="a". Actual: Exception ==='+ e ); - p1='pass'; - } -} -if(myObj.p1!=='pass') $ERROR('#2.2: "throw p1" lead to throwing exception'); - -// CHECK#3 -with(myObj){ - try{ - p1='fail'; - throw p2; - } - catch(e){ - if (e!=="b") $ERROR('#3.1: Exception ==="b". Actual: Exception ==='+ e ); - p1='pass'; - } - finally{ - p2='pass'; - } -} -if(myObj.p1!=='pass') $ERROR('#3.2: "throw p2" lead to throwing exception'); -if(myObj.p2!=='pass') $ERROR('#3.3: "finally" block must be evaluated'); - -// CHECK#4 -myObj.p1='fail'; -try{ - with(myObj){ - try{ - throw p3; - } - finally{ - p1='pass'; - } - } -} -catch(e){} -if(myObj.p1!=='pass') $ERROR('#4: "finally" block must be evaluated'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A15.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A15.js deleted file mode 100644 index 06d9e01660..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A15.js +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A15; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement within/without a "switch" statement; - * @description: Insert try/catch/finally to switch statement; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A15", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A15.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"switch\" statement", - -description: "Insert try/catch/finally to switch statement", - -test: function testcase() { - // CHECK#1 -function SwitchTest1(value){ - var result = 0; - try{ - switch(value) { - case 1: - result += 4; - throw result; - break; - default: - result += 32; - break; - case 4: - result += 64; - throw "ex"; - } - return result; - } - catch(e){ - if ((value===1)&&(e!==4)) $ERROR('#1.1: Exception ===4. Actual: Exception ==='+ e ); - if ((value===4)&&(e!=="ex")) $ERROR('#1.2: Exception ==="ex". Actual: Exception ==='+ e ); - } - finally{ - return result; - } -} -if (SwitchTest1(1)!==4) $ERROR('#1.3: SwitchTest1(1)===4. Actual: SwitchTest1(1)==='+ SwitchTest1(1) ); -if (SwitchTest1(4)!==64) $ERROR('#1.4: SwitchTest1(4)===64. Actual: SwitchTest1(4)==='+ SwitchTest1(4) ); - -// CHECK#2 -var c2=0; -function SwitchTest2(value){ - var result = 0; - switch(value) { - case 0: - try{ - result += 2; - break; - } - finally{ - c2=1; - } - case 1: - result += 4; - break; - default: - result += 32; - break; - } - return result; -} -if (SwitchTest2(1)!==4) $ERROR('#2.1: SwitchTest1(1)===4. Actual: SwitchTest1(1)==='+ SwitchTest1(1) ); -if (c2===1) $ERROR('#2.2: Evaluate finally block'); -if (SwitchTest2(0)!==2) $ERROR('#2.3: SwitchTest1(0)===2. Actual: SwitchTest1(0)==='+ SwitchTest1(0) ); -if (c2!==1) $ERROR('#2.4: "finally" block must be evaluated'); - -// CHECK#3 -function SwitchTest3(value){ - var result = 0; - switch(value) { - case 0: - try{ - result += 2; - throw "ex"; - } - finally{ - break; - } - default: - result += 32; - break; - } - return result; -} -try{ - var x3=SwitchTest3(0); - if (x3!==2) $ERROR('#3.1: x3===2. Actual: x3==='+x3); -} -catch(e){ - $ERROR('#3.2: Catching exception inside function does not lead to throwing exception outside this function'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.js deleted file mode 100644 index 0b430d7c0b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.js deleted file mode 100644 index 5f6348f535..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try{} -catch(){} -finally{} - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.js deleted file mode 100644 index 5dd52723fe..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try{ - { - } - catch(e){} - finally{} -} - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.js deleted file mode 100644 index 920b67dd84..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try -{ - try - { - } -} -catch(e1){} -catch(e2){} - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.js deleted file mode 100644 index 3600545b0a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try -{ -} -catch("22") -{ -} - - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.js deleted file mode 100644 index 1ab88f3a6a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try(e1){ -} -catch(e){} - - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.js deleted file mode 100644 index aa3cf36376..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try{ -} -finally(e){} - - - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.js deleted file mode 100644 index d474d4c5e6..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -catch - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.js deleted file mode 100644 index ddc1f79a78..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -finally - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.js deleted file mode 100644 index 8c461a2303..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try{} -catch{} - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.js deleted file mode 100644 index d4cbcc5e79..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try{} -catch() - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.js deleted file mode 100644 index 4a5cdca0a1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try{ -catch(){} - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.js deleted file mode 100644 index 5c63924c79..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try{} -catch(){ - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.js deleted file mode 100644 index b7472c240e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -try{} -catch(){ -finally{} - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.js deleted file mode 100644 index 45886c62e2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - // CHECK#1 -catch(){} -finally{} - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A17.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A17.js deleted file mode 100644 index 7f7bbe2986..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A17.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A17; - * @section: 12.14; - * @assertion: Using "try" with "catch" or "finally" statement in a constructor; - * @description: Creating exceptions within constructor; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A17", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A17.js", - -assertion: "Using \"try\" with \"catch\" or \"finally\" statement in a constructor", - -description: "Creating exceptions within constructor", - -test: function testcase() { - var i=1; -function Integer( value, exception ) { - try{ - this.value = checkValue( value ); - if(exception) $ERROR('#'+i+'.1: Must be exception'); - } - catch(e){ - this.value = e.toString(); - if(!exception) $ERROR('#'+i+'.2: Don`t must be exception'); - } - i++; -} - -function checkValue(value){ - if(Math.floor(value)!=value||isNaN(value)){ - throw (INVALID_INTEGER_VALUE +": " + value); - } - else{ - return value; - } -} - -// CHECK#1 -new Integer(13, false); -// CHECK#2 -new Integer(NaN, true); -// CHECK#3 -new Integer(0, false); -// CHECK#4 -new Integer(Infinity, false); -// CHECK#5 -new Integer(-1.23, true); -// CHECK#6 -new Integer(Math.LN2, true); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.js deleted file mode 100644 index d0bb80326c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A18_T1; - * @section: 12.14, 12.13; - * @assertion: Catching objects with try/catch/finally statement; - * @description: Catching undefined; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A18_T1", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.js", - -assertion: "Catching objects with try/catch/finally statement", - -description: "Catching undefined", - -test: function testcase() { - // CHECK#1 -try{ - throw undefined; -} -catch(e){ - if (e!==undefined) $ERROR('#1: Exception === undefined. Actual: '+e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.js deleted file mode 100644 index af4693457d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A18_T2; - * @section: 12.14, 12.13; - * @assertion: Catching objects with try/catch/finally statement; - * @description: Catching null; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A18_T2", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.js", - -assertion: "Catching objects with try/catch/finally statement", - -description: "Catching null", - -test: function testcase() { - // CHECK#1 -try{ - throw null; -} -catch(e){ - if (e!==null) $ERROR('#1: Exception ===null. Actual: '+e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.js deleted file mode 100644 index a5de1697d5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.js +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A18_T3; - * @section: 12.14, 12.13; - * @assertion: Catching objects with try/catch/finally statement; - * @description: Catching boolean; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A18_T3", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.js", - -assertion: "Catching objects with try/catch/finally statement", - -description: "Catching boolean", - -test: function testcase() { - // CHECK#1 -try{ - throw true; -} -catch(e){ - if (e!==true) $ERROR('#1: Exception ===true. Actual: Exception ==='+ e ); -} - -// CHECK#2 -try{ - throw false; -} -catch(e){ - if (e!==false) $ERROR('#2: Exception ===false. Actual: Exception ==='+ e ); -} - -// CHECK#3 -var b=false; -try{ - throw b; -} -catch(e){ - if (e!==false) $ERROR('#3: Exception ===false. Actual: Exception ==='+ e ); -} - -// CHECK#4 -var b=true; -try{ - throw b; -} -catch(e){ - if (e!==true) $ERROR('#4: Exception ===true. Actual: Exception ==='+ e ); -} - -// CHECK#5 -var b=true; -try{ - throw b&&false; -} -catch(e){ - if (e!==false) $ERROR('#5: Exception ===false. Actual: Exception ==='+ e ); -} - -// CHECK#5 -var b=true; -try{ - throw b||false; -} -catch(e){ - if (e!==true) $ERROR('#6: Exception ===true. Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.js deleted file mode 100644 index 29727fcec4..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A18_T4; - * @section: 12.14, 12.13; - * @assertion: Catching objects with try/catch/finally statement; - * @description: Catching string; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A18_T4", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.js", - -assertion: "Catching objects with try/catch/finally statement", - -description: "Catching string", - -test: function testcase() { - // CHECK#1 -try{ - throw "exception #1"; -} -catch(e){ - if (e!=="exception #1") $ERROR('#1: Exception ==="exception #1". Actual: Exception ==='+ e ); -} - -// CHECK#2 -try{ - throw "exception"+" #1"; -} -catch(e){ - if (e!=="exception #1") $ERROR('#2: Exception ==="exception #1". Actual: Exception ==='+ e ); -} - -// CHECK#3 -var b="exception #1"; -try{ - throw b; -} -catch(e){ - if (e!=="exception #1") $ERROR('#3: Exception ==="exception #1". Actual: Exception ==='+ e ); -} - -// CHECK#4 -var a="exception"; -var b=" #1"; -try{ - throw a+b; -} -catch(e){ - if (e!=="exception #1") $ERROR('#4: Exception ==="exception #1". Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.js deleted file mode 100644 index 77cb3b9e87..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.js +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A18_T5; - * @section: 12.14, 12.13; - * @assertion: Catching objects with try/catch/finally statement; - * @description: Catching Number; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A18_T5", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.js", - -assertion: "Catching objects with try/catch/finally statement", - -description: "Catching Number", - -test: function testcase() { - // CHECK#1 -try{ - throw 13; -} -catch(e){ - if (e!==13) $ERROR('#1: Exception ===13. Actual: Exception ==='+ e ); -} - -// CHECK#2 -try{ - throw 10+3; -} -catch(e){ - if (e!==13) $ERROR('#2: Exception ===13. Actual: Exception ==='+ e ); -} - -// CHECK#3 -var b=13; -try{ - throw b; -} -catch(e){ - if (e!==13) $ERROR('#3: Exception ===13. Actual: Exception ==='+ e ); -} - -// CHECK#4 -var a=3; -var b=10; -try{ - throw a+b; -} -catch(e){ - if (e!==13) $ERROR('#4: Exception ===13. Actual: Exception ==='+ e ); -} - -// CHECK#5 -try{ - throw 2.13; -} -catch(e){ - if (e!==2.13) $ERROR('#5: Exception ===2.13. Actual: Exception ==='+ e ); -} - -// CHECK#6 -var ex=2/3; -try{ - throw 2/3; -} -catch(e){ - if (e!==ex) $ERROR('#6: Exception ===2/3. Actual: Exception ==='+ e ); -} - -// CHECK#7 -try{ - throw NaN; -} -catch(e){ - if (!isNaN(e)) $ERROR('#7: Exception is NaN'); -} - -// CHECK#8 -try{ - throw +Infinity; -} -catch(e){ - if (e!==+Infinity) $ERROR('#8: Exception ===+Infinity. Actual: Exception ==='+ e ); -} - -// CHECK#9 -try{ - throw -Infinity; -} -catch(e){ - if (e!==-Infinity) $ERROR('#9: Exception ===-Infinity. Actual: Exception ==='+ e ); -} - -// CHECK#10 -try{ - throw +0; -} -catch(e){ - if (e!==+0) $ERROR('#10: Exception ===+0. Actual: Exception ==='+ e ); -} - -// CHECK#11 -try{ - throw -0; -} -catch(e){ - if (e!==-0) $ERROR('#11: Exception ===-0. Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.js deleted file mode 100644 index 1194d9c3df..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A18_T6; - * @section: 12.14, 12.13; - * @assertion: Catching objects with try/catch/finally statement; - * @description: Catching Object; - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A18_T6", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.js", - -assertion: "Catching objects with try/catch/finally statement", - -description: "Catching Object", - -test: function testcase() { - var myObj = {p1: 'a', - p2: 'b', - p3: 'c', - value: 'myObj_value', - valueOf : function(){return 'obj_valueOf';}, - parseInt : function(){return 'obj_parseInt';}, - NaN : 'obj_NaN', - Infinity : 'obj_Infinity', - eval : function(){return 'obj_eval';}, - parseFloat : function(){return 'obj_parseFloat';}, - isNaN : function(){return 'obj_isNaN';}, - isFinite : function(){return 'obj_isFinite';}, - i:7, -} - -try{ - throw myObj; -} -catch(e){ -// CHECK#1 - if (e.p1!=="a") $ERROR('#1: e.p1==="a". Actual: e.p1==='+ e.p1 ); -// CHECK#2 - if (e.value!=='myObj_value') $ERROR('#2: e.value===\'myObj_value\'. Actual: e.value==='+ e.value ); -// CHECK#3 - if (e.eval()!=='obj_eval') $ERROR('#3: e.eval()===\'obj_eval\'. Actual: e.eval()==='+ e.eval() ); -} - -// CHECK#4 -myObj.i=6; -try{ - throw myObj; -} -catch(e){} -if (myObj.i!==6) $ERROR('#4: Handling of catch must be correct'); - -// CHECK#5 -myObj.i=6; -try{ - throw myObj; -} -catch(e){ - e.i=10; -} -if (myObj.i!==10) $ERROR('#5: Handling of catch must be correct'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.js deleted file mode 100644 index 1442831a6c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A18_T7; - * @section: 12.14, 12.13; - * @assertion: Catching objects with try/catch/finally statement; - * @description: Catching Array; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A18_T7", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.js", - -assertion: "Catching objects with try/catch/finally statement", - -description: "Catching Array", - -test: function testcase() { - var mycars = new Array(); -mycars[0] = "Saab"; -mycars[1] = "Volvo"; -mycars[2] = "BMW"; - -var mycars2 = new Array(); -mycars2[0] = "Mercedes"; -mycars2[1] = "Jeep"; -mycars2[2] = "Suzuki"; - -// CHECK#1 -try{ - throw mycars; -} -catch(e){ - for (var i=0;i<3;i++){ - if (e[i]!==mycars[i]) $ERROR('#1.'+i+': Exception['+i+']===mycars['+i+']. Actual: Exception['+i+']==='+ e[i] ); - } -} - -// CHECK#2 -try{ - throw mycars.concat(mycars2); -} -catch(e){ - for (var i=0;i<3;i++){ - if (e[i]!==mycars[i]) $ERROR('#2.'+i+': Exception['+i+']===mycars['+i+']. Actual: Exception['+i+']==='+ e[i] ); - } - for (var i=3;i<6;i++){ - if (e[i]!==mycars2[i-3]) $ERROR('#2.'+i+': Exception['+i+']===mycars2['+i+']. Actual: Exception['+i+']==='+ e[i] ); - } -} - -// CHECK#3 -try{ - throw new Array("Mercedes","Jeep","Suzuki"); -} -catch(e){ - for (var i=0;i<3;i++){ - if (e[i]!==mycars2[i]) $ERROR('#3.'+i+': Exception['+i+']===mycars2['+i+']. Actual: Exception['+i+']==='+ e[i]); - } -} - -// CHECK#4 -try{ - throw mycars.concat(new Array("Mercedes","Jeep","Suzuki")); -} -catch(e){ - for (var i=0;i<3;i++){ - if (e[i]!==mycars[i]) $ERROR('#4.'+i+': Exception['+i+']===mycars['+i+']. Actual: Exception['+i+']==='+ e[i] ); - } - for (var i=3;i<6;i++){ - if (e[i]!==mycars2[i-3]) $ERROR('#4.'+i+': Exception['+i+']===mycars2['+(i-3)+']. Actual: Exception['+i+']==='+ e[i]); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.js deleted file mode 100644 index 1b45e103e0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.js +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A19_T1; - * @section: 12.14, 15.11, 16; - * @assertion: Catching system exceptions of different types with try statement; - * @description: Testing try/catch syntax construction; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A19_T1", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.js", - -assertion: "Catching system exceptions of different types with try statement", - -description: "Testing try/catch syntax construction", - -test: function testcase() { - // CHECK#1 -try{ - throw (Error("hello")); -} -catch(e){ - if (e.toString()!=="Error: hello") $ERROR('#1: Exception.toString()==="Error: hello". Actual: Exception is '+e); -} - -// CHECK#2 -try{ - throw (new Error("hello")); -} -catch(e){ - if (e.toString()!=="Error: hello") $ERROR('#2: Exception.toString()==="Error: hello". Actual: Exception is '+e); -} - -// CHECK#3 -var c3=0; -try{ - throw EvalError(1); -} -catch(e){ - if (e.toString()!=="EvalError: 1") $ERROR('#3: Exception.toString()==="EvalError: 1". Actual: Exception is '+e); -} - -// CHECK#4 -try{ - throw RangeError(1); -} -catch(e){ - if (e.toString()!=="RangeError: 1") $ERROR('#4: Exception.toString()==="RangeError: 1". Actual: Exception is '+e); -} - -// CHECK#5 -try{ - throw ReferenceError(1); -} -catch(e){ - if (e.toString()!=="ReferenceError: 1") $ERROR('#5: Exception.toString()==="ReferenceError: 1". Actual: Exception is '+e); -} - -// CHECK#6 -var c6=0; -try{ - throw TypeError(1); -} -catch(e){ - if (e.toString()!=="TypeError: 1") $ERROR('#6: Exception.toString()==="TypeError: 1". Actual: Exception is '+e); -} - -// CHECK#7 -try{ - throw URIError("message", "fileName", "1"); -} -catch(e){ - if (e.toString()!=="URIError: message") $ERROR('#7: Exception.toString()==="URIError: message". Actual: Exception is '+e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.js deleted file mode 100644 index 2bc1a504c8..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.js +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A19_T2; - * @section: 12.14; - * @assertion: Catching system exceptions of different types with try statement; - * @description: Testing try/catch/finally syntax construction; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A19_T2", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.js", - -assertion: "Catching system exceptions of different types with try statement", - -description: "Testing try/catch/finally syntax construction", - -test: function testcase() { - var fin=0; -// CHECK#1 -try{ - throw (Error("hello")); -} -catch(e){ - if (e.toString()!=="Error: hello") $ERROR('#1.1: Exception.toString()==="Error: hello". Actual: Exception is '+e); -} -finally{ - fin=1; -} -if (fin!==1) $ERROR('#1.2: "finally" block must be evaluated'); - -// CHECK#2 -fin=0; -try{ - throw (new Error("hello")); -} -catch(e){ - if (e.toString()!=="Error: hello") $ERROR('#2.1: Exception.toString()==="Error: hello". Actual: Exception is '+e); -} -finally{ - fin=1; -} -if (fin!==1) $ERROR('#2.2: "finally" block must be evaluated'); - -// CHECK#3 -fin=0; -var c3=0; -try{ - throw EvalError(1); -} -catch(e){ - if (e.toString()!=="EvalError: 1") $ERROR('#3.1: Exception.toString()==="EvalError: 1". Actual: Exception is '+e); -} -finally{ - fin=1; -} -if (fin!==1) $ERROR('#3.2: "finally" block must be evaluated'); - -// CHECK#4 -fin=0; -try{ - throw RangeError(1); -} -catch(e){ - if (e.toString()!=="RangeError: 1") $ERROR('#4.1: Exception.toString()==="RangeError: 1". Actual: Exception is '+e); -} -finally{ - fin=1; -} -if (fin!==1) $ERROR('#4.2: "finally" block must be evaluated'); - -// CHECK#5 -fin=0; -try{ - throw ReferenceError(1); -} -catch(e){ - if (e.toString()!=="ReferenceError: 1") $ERROR('#5.1: Exception.toString()==="ReferenceError: 1". Actual: Exception is '+e); -} -finally{ - fin=1; -} -if (fin!==1) $ERROR('#5.2: "finally" block must be evaluated'); - -// CHECK#6 -fin=0; -try{ - throw TypeError(1); -} -catch(e){ - if (e.toString()!=="TypeError: 1") $ERROR('#6.1: Exception.toString()==="TypeError: 1". Actual: Exception is '+e); -} -finally{ - fin=1; -} -if (fin!==1) $ERROR('#6.2: "finally" block must be evaluated'); - -// CHECK#7 -fin=0; -try{ - throw URIError("message", "fileName", "1"); -} -catch(e){ - if (e.toString()!=="URIError: message") $ERROR('#7.1: Exception.toString()==="URIError: message". Actual: Exception is '+e); -} -finally{ - fin=1; -} -if (fin!==1) $ERROR('#7.2: "finally" block must be evaluated'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A2.js deleted file mode 100644 index f3bf7777b5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A2.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A2; - * @section: 12.14; - * @assertion: Throwing exception with "throw" and catching it with "try" statement; - * @description: Checking if execution of "catch" catches an exception thrown with "throw"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A2", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A2.js", - -assertion: "Throwing exception with \"throw\" and catching it with \"try\" statement", - -description: "Checking if execution of \"catch\" catches an exception thrown with \"throw\"", - -test: function testcase() { - // CHECK#1 -try { - throw "catchme"; - $ERROR('#1: throw "catchme" lead to throwing exception'); -} -catch(e){} - -// CHECK#2 -var c2=0; -try{ - try{ - throw "exc"; - $ERROR('#2.1: throw "exc" lead to throwing exception'); - }finally{ - c2=1; - } -} -catch(e){ - if (c2!==1){ - $ERROR('#2.2: "finally" block must be evaluated'); - } -} - -// CHECK#3 -var c3=0; -try{ - throw "exc"; - $ERROR('#3.1: throw "exc" lead to throwing exception'); -} -catch(err){ - var x3=1; -} -finally{ - c3=1; -} -if (x3!==1){ - $ERROR('#3.2: "catch" block must be evaluated'); -} -if (c3!==1){ - $ERROR('#3.3: "finally" block must be evaluated'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A3.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A3.js deleted file mode 100644 index 7c4eec8f6d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A3.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A3; - * @section: 12.14; - * @assertion: Catching system exception with "try" statement; - * @description: Checking if execution of "catch" catches system exceptions; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A3", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A3.js", - -assertion: "Catching system exception with \"try\" statement", - -description: "Checking if execution of \"catch\" catches system exceptions", - -test: function testcase() { - // CHECK#1 -try{ - y; - $ERROR('#1: "y" lead to throwing exception'); -} -catch(e){} - -// CHECK#2 -var c2=0; -try{ - try{ - someValue; - $ERROR('#3.1: "someValues" lead to throwing exception'); - } - finally{ - c2=1; - } -} -catch(e){ - if (c2!==1){ - $ERROR('#3.2: "finally" block must be evaluated'); - } -} - -// CHECK#3 -var c3=0,x3=0; -try{ - x3=someValue; - $ERROR('#3.1: "x3=someValues" lead to throwing exception'); -} -catch(err){ - x3=1; -} -finally{ - c3=1; -} -if (x3!==1){ - $ERROR('#3.2: "catch" block must be evaluated'); -} -if (c3!==1){ - $ERROR('#3.3: "finally" block must be evaluated'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A4.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A4.js deleted file mode 100644 index d55ab7d492..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A4.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A4; - * @section: 12.14; - * @assertion: Sanity test for "catch(Indetifier) statement"; - * @description: Checking if deleting an exception fails; - * @strict_mode_negative SyntaxError; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A4", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A4.js", - -assertion: "Sanity test for \"catch(Indetifier) statement\"", - -description: "Checking if deleting an exception fails", - -test: function testcase() { - // CHECK#1 -try { - throw "catchme"; - $ERROR('#1.1: throw "catchme" lead to throwing exception'); -} -catch (e) { - if (delete e){ - $ERROR('#1.2: Exception has DontDelete property'); - } - if (e!=="catchme") { - $ERROR('#1.3: Exception === "catchme". Actual: Exception ==='+ e ); - } -} - -// CHECK#2 -try { - throw "catchme"; - $ERROR('#2.1: throw "catchme" lead to throwing exception'); -} -catch(e){} -try{ - e; - $ERROR('#2.2: Deleting catching exception after ending "catch" block'); -} -catch(err){} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A5.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A5.js deleted file mode 100644 index 66623acb3a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A5.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A5; - * @section: 12.14; - * @assertion: The production TryStatement: "try Block Finally" and the production TryStatement: "try Block Catch Finally"; - * @description: Checking "catch" catches the Identifier in appropriate way; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A5", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A5.js", - -assertion: "The production TryStatement: \"try Block Finally\" and the production TryStatement: \"try Block Catch Finally\"", - -description: "Checking \"catch\" catches the Identifier in appropriate way", - -test: function testcase() { - // CHECK#1 -try { - throw "catchme"; - throw "dontcatchme"; - $ERROR('#1.1: throw "catchme" lead to throwing exception'); -} -catch (e) { - if(e==="dontcatchme"){ - $ERROR('#1.2: Exception !== "dontcatchme"'); - } - if (e!=="catchme") { - $ERROR('#1.3: Exception === "catchme". Actual: Exception ==='+ e ); - } -} - -// CHECK#2 -function SwitchTest1(value){ - var result = 0; - try{ - switch(value) { - case 1: - result += 4; - throw result; - break; - case 4: - result += 64; - throw "ex"; - } - return result; - } - catch(e){ - if ((value===1)&&(e!==4)) $ERROR('#2.1: Exception === 4. Actual: '+e); - if ((value===4)&&(e!=="ex"))$ERROR('#2.2: Exception === "ex". Actual: '+e); - } - finally{ - return result; - } -} -if (SwitchTest1(1)!==4) $ERROR('#2.3: "finally" block must be evaluated'); -if (SwitchTest1(4)!==64)$ERROR('#2.4: "finally" block must be evaluated'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A6.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A6.js deleted file mode 100644 index e2ec41c396..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A6.js +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A6; - * @section: 12.14; - * @assertion: The production TryStatement: "try Block Catch Finally"; - * @description: Executing sequence of "try" statements, using counters with varying values within; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A6", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A6.js", - -assertion: "The production TryStatement: \"try Block Catch Finally\"", - -description: "Executing sequence of \"try\" statements, using counters with varying values within", - -test: function testcase() { - // CHECK#1 -var c1=0; -try { - c1+=1; - y; - $ERROR('#1.1: "y" lead to throwing exception'); -} -catch (e) { - c1*=2; -} -if (c1!==2){ - $ERROR('#1.2: Sequence evaluation of commands try/catch is 1. try, 2. catch'); -} - -// CHECK#2 -var c2=0; -try{ - c2+=1; -} -finally{ - c2*=2; -} -if (c2!==2){ - $ERROR('#2: Sequence evaluation of commands try/finally is 1. try, 2. finally'); -} - -// CHECK#3 -var c3=0; -try{ - c3=1; - z; -} -catch(err){ - c3*=2; -} -finally{ - c3+=1; -} -if (c3!==3){ - $ERROR('#3: Sequence evaluation of commands try/catch/finally(with exception) is 1. try, 2. catch, 3. finally'); -} - -// CHECK#4 -var c4=0; -try{ - c4=1; -} -catch(err){ - c4*=3; -} -finally{ - c4+=1; -} -if (c4!==2){ - $ERROR('#4: Sequence evaluation of commands try/catch/finally(without exception) is 1. try, 2. finally'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.js deleted file mode 100644 index 488a144870..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.js +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A7_T1; - * @section: 12.14; - * @assertion: Evaluating the nested productions TryStatement; - * @description: Checking if the production of nested TryStatement statements evaluates correct; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A7_T1", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.js", - -assertion: "Evaluating the nested productions TryStatement", - -description: "Checking if the production of nested TryStatement statements evaluates correct", - -test: function testcase() { - // CHECK#1 -try{ - try{ - throw "ex2"; - } - catch(er2){ - if (er2!=="ex2") - $ERROR('#1.1: Exception === "ex2". Actual: Exception ==='+ e ); - throw "ex1"; - } - } - catch(er1){ - if (er1!=="ex1") $ERROR('#1.2: Exception === "ex1". Actual: '+er1); - if (er1==="ex2") $ERROR('#1.3: Exception !== "ex2". Actual: catch previous embedded exception'); -} - -// CHECK#2 -try{ - throw "ex1"; -} -catch(er1){ - try{ - throw "ex2"; - } - catch(er1){ - if (er1==="ex1") $ERROR('#2.1: Exception !== "ex1". Actual: catch previous catching exception'); - if (er1!=="ex2") $ERROR('#2.2: Exception === "ex2". Actual: Exception ==='+ er1 ); - } - if (er1!=="ex1") $ERROR('#2.3: Exception === "ex1". Actual: Exception ==='+ er1 ); - if (er1==="ex2") $ERROR('#2.4: Exception !== "ex2". Actual: catch previous catching exception'); -} - -// CHECK#3 -try{ - throw "ex1"; -} -catch(er1){ - if (er1!=="ex1") $ERROR('#3.1: Exception ==="ex1". Actual: Exception ==='+ er1 ); -} -finally{ - try{ - throw "ex2"; - } - catch(er1){ - if (er1==="ex1") $ERROR('#3.2: Exception !=="ex1". Actual: catch previous embedded exception'); - if (er1!=="ex2") $ERROR('#3.3: Exception ==="ex2". Actual: Exception ==='+ er1 ); - } -} - -// CHECK#4 -var c4=0; -try{ - throw "ex1"; -} -catch(er1){ - try{ - throw "ex2"; - } - catch(er1){ - if (er1==="ex1") $ERROR('#4.1: Exception !=="ex1". Actual: catch previous catching exception'); - if (er1!=="ex2") $ERROR('#4.2: Exception ==="ex2". Actual: Exception ==='+ er1 ); - } - if (er1!=="ex1") $ERROR('#4.3: Exception ==="ex1". Actual: Exception ==='+ er1 ); - if (er1==="ex2") $ERROR('#4.4: Exception !=="ex2". Actual: Catch previous embedded exception'); -} -finally{ - c4=1; -} -if (c4!==1) $ERROR('#4.5: "finally" block must be evaluated'); - -// CHECK#5 -var c5=0; -try{ - try{ - throw "ex2"; - } - catch(er1){ - if (er1!=="ex2") $ERROR('#5.1: Exception ==="ex2". Actual: Exception ==='+ er1 ); - } - throw "ex1"; -} -catch(er1){ - if (er1!=="ex1") $ERROR('#5.2: Exception ==="ex1". Actual: Exception ==='+ er1 ); - if (er1==="ex2") $ERROR('#5.3: Exception !=="ex2". Actual: catch previous embedded exception'); -} -finally{ - c5=1; -} -if (c5!==1) $ERROR('#5.4: "finally" block must be evaluated'); - -// CHECK#6 -var c6=0; -try{ - try{ - throw "ex1"; - } - catch(er1){ - if (er1!=="ex1") $ERROR('#6.1: Exception ==="ex1". Actual: Exception ==='+ er1 ); - } -} -finally{ - c6=1; -} -if (c6!==1) $ERROR('#6.2: "finally" block must be evaluated'); - -// CHECK#7 -var c7=0; -try{ - try{ - throw "ex1"; - } - finally{ - try{ - c7=1; - throw "ex2"; - } - catch(er1){ - if (er1!=="ex2") $ERROR('#7.1: Exception ==="ex2". Actual: Exception ==='+ er1 ); - if (er1==="ex1") $ERROR('#7.2: Exception !=="ex1". Actual: catch previous embedded exception'); - c7++; - } - } -} -catch(er1){ - if (er1!=="ex1") $ERROR('#7.3: Exception ==="ex1". Actual: Exception ==='+ er1 ); -} -if (c7!==2) $ERROR('#7.4: "finally" block must be evaluated'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.js deleted file mode 100644 index 5e490b713d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.js +++ /dev/null @@ -1,168 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A7_T2; - * @section: 12.14; - * @assertion: Evaluating the nested productions TryStatement; - * @description: Checking if the production of nested TryStatement statements evaluates correct; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A7_T2", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.js", - -assertion: "Evaluating the nested productions TryStatement", - -description: "Checking if the production of nested TryStatement statements evaluates correct", - -test: function testcase() { - // CHECK#1 -try{ - try{ - throw "ex2"; - } - finally{ - throw "ex1"; - } -} -catch(er1){ - if (er1!=="ex1") $ERROR('#1.2: Exception === "ex1". Actual: Exception ==='+er1 ); - if (er1==="ex2") $ERROR('#1.3: Exception !== "ex2". Actual: catch previous embedded exception'); -} - -// CHECK#2 -try{ - try{ - throw "ex1"; - } - catch(er1){ - if (er1!=="ex1") $ERROR('#2.1: Exception === "ex1". Actual: Exception ==='+er1 ); - try{ - throw "ex2"; - } - finally{ - throw "ex3"; - } - $ERROR('#2.2: throw "ex1" lead to throwing exception'); - } -} -catch(er1){ - if (er1!=="ex3") $ERROR('#2.3: Exception === "ex3". Actual: Exception ==='+er1 ); -} - -// CHECK#3 -try{ - try{ - throw "ex1"; - } - catch(er1){ - if (er1!=="ex1") $ERROR('#3.1: Exception === "ex1". Actual: Exception ==='+er1 ); - } - finally{ - try{ - throw "ex2"; - } - finally{ - throw "ex3"; - } - } -} -catch(er1){ - if (er1!=="ex3") $ERROR('#3.2: Exception === "ex3". Actual: Exception ==='+er1 ); -} - -// CHECK#4 -var c4=0; -try{ - try{ - throw "ex1"; - } - catch(er1){ - if (er1!=="ex1") $ERROR('#4.1: Exception === "ex1". Actual: Exception ==='+er1 ); - try{ - throw "ex2"; - } - finally{ - throw "ex3"; - } - } - finally{ - c4=1; - } -} -catch(er1){ - if (er1!=="ex3") $ERROR('#4.2: Exception === "ex3". Actual: Exception ==='+er1 ); -} -if (c4!==1) $ERROR('#4.3: "finally" block must be evaluated'); - -// CHECK#5 -var c5=0; -try{ - try{ - throw "ex2"; - } - finally{ - throw "ex3"; - } - throw "ex1"; -} -catch(er1){ - if (er1!=="ex3") $ERROR('#5.1: Exception === "ex3". Actual: Exception ==='+er1 ); - if (er1==="ex2") $ERROR('#5.2: Exception !== "ex2". Actual: catch previous embedded exception'); - if (er1==="ex1") $ERROR('#5.3: Exception !=="ex1". Actual: catch previous embedded exception'); -} -finally{ - c5=1; -} -if (c5!==1) $ERROR('#5.4: "finally" block must be evaluated'); - -// CHECK#6 -var c6=0; -try{ - try{ - try{ - throw "ex1"; - } - finally{ - throw "ex2"; - } - } - finally{ - c6=1; - } -} -catch(er1){ - if (er1!=="ex2") $ERROR('#6.1: Exception === "ex2". Actual: Exception ==='+er1 ); -} -if (c6!==1) $ERROR('#6.2: "finally" block must be evaluated'); - -// CHECK#7 -var c7=0; -try{ - try{ - throw "ex1"; - } - finally{ - try{ - c7=1; - throw "ex2"; - } - finally{ - c7++; - throw "ex3"; - } - } -} -catch(er1){ - if (er1!=="ex3") $ERROR('#7.1: Exception === "ex3". Actual: Exception ==='+er1 ); -} -if (c7!==2) $ERROR('#7.2: Embedded "try/finally" blocks must be evaluated'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.js deleted file mode 100644 index b8f0808c31..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.js +++ /dev/null @@ -1,185 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A7_T3; - * @section: 12.14; - * @assertion: Evaluating the nested productions TryStatement; - * @description: Checking if the production of nested TryStatement statements evaluates correct; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A7_T3", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.js", - -assertion: "Evaluating the nested productions TryStatement", - -description: "Checking if the production of nested TryStatement statements evaluates correct", - -test: function testcase() { - // CHECK#1 -try{ - try{ - throw "ex2"; - } - catch(er2){ - if (er2!=="ex2") $ERROR('#1.1: Exception === "ex2". Actual: Exception ==='+er2); - throw "ex1"; - } - finally{ - throw "ex3"; - } -} -catch(er1){ - if (er1!=="ex3") $ERROR('#1.2: Exception === "ex3". Actual: Exception ==='+er1); - if (er1==="ex2") $ERROR('#1.3: Exception !=="ex2". Actual: catch previous catched exception'); - if (er1==="ex1") $ERROR('#1.4: Exception !=="ex1". Actual: catch previous embedded exception'); -} - -// CHECK#2 -var c2=0; -try{ - throw "ex1"; -} -catch(er1){ - try{ - throw "ex2"; - } - catch(er1){ - if (er1==="ex1") $ERROR('#2.1: Exception !=="ex1". Actual: catch previous catched exception'); - if (er1!=="ex2") $ERROR('#2.2: Exception === "ex2". Actual: Exception ==='+er1); - } - finally{ - c2=1; - } - if (er1!=="ex1") $ERROR('#2.3: Exception === "ex1". Actual: Exception ==='+er1); - if (er1==="ex2") $ERROR('#2.4: Exception !== "ex2". Actual: catch previous embedded exception'); -} -if (c2!==1) $ERROR('#2.5: "finally" block must be evaluated'); - -// CHECK#3 -var c3=0; -try{ - throw "ex1"; -} -catch(er1){ - if (er1!=="ex1") $ERROR('#3.1: Exception === "ex1". Actual: Exception ==='+er1); -} -finally{ - try{ - throw "ex2"; - } - catch(er1){ - if (er1==="ex1") $ERROR('#3.2: Exception !=="ex1". Actual: catch previous catched exception'); - if (er1!=="ex2") $ERROR('#3.3: Exception === "ex2". Actual: Exception ==='+er1); - } - finally{ - c3=1; - } -} -if (c3!==1) $ERROR('#3.4: "finally" block must be evaluated'); - -// CHECK#4 -var c4=0; -try{ - try{ - throw "ex1"; - } - catch(er1){ - try{ - throw "ex2"; - } - catch(er1){ - if (er1==="ex1") $ERROR('#4.1: Exception !=="ex2". Actual: catch previous catched exception'); - if (er1!=="ex2") $ERROR('#4.2: Exception === "ex2". Actual: Exception ==='+er1); - } - finally{ - c4=2; - throw "ex3"; - } - if (er1!=="ex1") $ERROR('#4.3: Exception === "ex2". Actual: Exception ==='+er1); - if (er1==="ex2") $ERROR('#4.4: Exception !=="ex2". Actual: catch previous catched exception'); - if (er1==="ex3") $ERROR('#4.5: Exception !=="ex3". Actual: Catch previous embedded exception'); - } - finally{ - c4*=2; - } -} -catch(er1){} -if (c4!==4) $ERROR('#4.6: "finally" block must be evaluated'); - -// CHECK#5 -var c5=0; -try{ - try{ - throw "ex2"; - } - catch(er1){ - if (er1!=="ex2") $ERROR('#5.1: Exception === "ex2". Actual: Exception ==='+er1); - } - finally{ - throw "ex3"; - } - throw "ex1"; -} -catch(er1){ - if (er1!=="ex3") $ERROR('#5.2: Exception === "ex3". Actual: Exception ==='+er1); - if (er1==="ex2") $ERROR('#5.3: Exception !=="ex2". Actual: catch previous catched exception'); - if (er1==="ex1") $ERROR('#5.4: Exception !=="ex1". Actual: catch previous embedded exception'); -} -finally{ - c5=1; -} -if (c5!==1) $ERROR('#5.5: "finally" block must be evaluated'); - -// CHECK#6 -var c6=0; -try{ - try{ - throw "ex1"; - } - catch(er1){ - if (er1!=="ex1") $ERROR('#6.1: Exception === "ex1". Actual: Exception ==='+er1); - } - finally{ - c6=2; - } -} -finally{ - c6*=2; -} -if (c6!==4) $ERROR('#6.2: "finally" block must be evaluated'); - -// CHECK#7 -var c7=0; -try{ - try{ - throw "ex1"; - } - finally{ - try{ - c7=1; - throw "ex2"; - } - catch(er1){ - if (er1!=="ex2") $ERROR('#7.1: Exception === "ex2". Actual: Exception ==='+er1); - if (er1==="ex1") $ERROR('#7.2: Exception !=="ex2". Actual: catch previous catched exception'); - c7++; - } - finally{ - c7*=2; - } - } -} -catch(er1){ - if (er1!=="ex1") $ERROR('#7.3: Exception === "ex1". Actual: Exception ==='+er1); -} -if (c7!==4) $ERROR('#7.4: "finally" block must be evaluated'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A8.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A8.js deleted file mode 100644 index 1946cd4df3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A8.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A8; - * @section: 12.14; - * @assertion: "try" with "catch" or "finally" statement within/without an "if" statement; - * @description: Throwing exception within an "if" statement; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A8", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A8.js", - -assertion: "\"try\" with \"catch\" or \"finally\" statement within/without an \"if\" statement", - -description: "Throwing exception within an \"if\" statement", - -test: function testcase() { - // CHECK#1 -var c1=1; -try{ - if(c1===1){ - throw "ex1"; - $ERROR('#1.1: throw "ex1" lead to throwing exception'); - } - $ERROR('#1.2: throw "ex1" inside the "if" statement lead to throwing exception'); -} -catch(er1){ - if (er1!=="ex1") $ERROR('#1.3: Exception ==="ex1". Actual: Exception ==='+er1); -} - -// CHECK#2 -var c2=1; -if(c2===1){ - try{ - throw "ex1"; - $ERROR('#2.1: throw "ex1" lead to throwing exception'); - } - catch(er1){ - if(er1!="ex1") $ERROR('#2.2: Exception ==="ex1". Actual: Exception ==='+er1); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.js deleted file mode 100644 index a0ed1d4fab..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A9_T1; - * @section: 12.14; - * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; - * @description: Loop within a "try" Block, from where exception is thrown; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A9_T1", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.js", - -assertion: "\"try\" with \"catch\" or \"finally\" statement within/without an \"do while\" statement", - -description: "Loop within a \"try\" Block, from where exception is thrown", - -test: function testcase() { - // CHECK#1 -var i=0; -try{ - do{ - if(i===5) throw i; - i++; - } - while(i<10); -} -catch(e){ - if(e!==5)$ERROR('#1: Exception ===5. Actual: Exception ==='+ e ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.js deleted file mode 100644 index 4d20d00058..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.js +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A9_T2; - * @section: 12.14; - * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; - * @description: "try" statement within a loop, the statement contains "continue" statement; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A9_T2", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.js", - -assertion: "\"try\" with \"catch\" or \"finally\" statement within/without an \"do while\" statement", - -description: "\"try\" statement within a loop, the statement contains \"continue\" statement", - -test: function testcase() { - // CHECK#1 -var c1=0,fin=0; -do{ - try{ - c1+=1; - continue; - } - catch(er1){} - finally{ - fin=1; - } - fin=-1; -} -while(c1<2); -if(fin!==1){ - $ERROR('#1: "finally" block must be evaluated at "try{continue} catch finally" construction'); -} - -// CHECK#2 -var c2=0,fin2=0; -do{ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - continue; - } - finally{ - fin2=1; - } - fin2=-1; -} -while(c2<2); -if(fin2!==1){ - $ERROR('#2: "finally" block must be evaluated at "try catch{continue} finally" construction'); -} - -// CHECK#3 -var c3=0,fin3=0; -do{ - try{ - throw "ex1"; - } - catch(er1){ - c3+=1; - } - finally{ - fin3=1; - continue; - } - fin3=0; -} -while(c3<2); -if(fin3!==1){ - $ERROR('#3: "finally" block must be evaluated at "try catch finally{continue}" construction'); -} - -// CHECK#4 -var c4=0,fin4=0; -do{ - try{ - c4+=1; - continue; - } - finally{ - fin4=1; - } - fin4=-1; -} -while(c4<2); -if(fin4!==1){ - $ERROR('#4: "finally" block must be evaluated at "try{continue} finally" construction'); -} - -// CHECK#5 -var c5=0; -do{ - try{ - throw "ex1"; - } - catch(er1){ - c5+=1; - continue; - } -} -while(c5<2); -if(c5!==2){ - $ERROR('#5: "try catch{continue}" must work correctly'); -} - -// CHECK#6 -var c6=0,fin6=0; -do{ - try{ - c6+=1; - throw "ex1" - } - finally{ - fin6=1; - continue; - } - fin6=-1; -} -while(c6<2); -if(fin6!==1){ - $ERROR('#6.1: "finally" block must be evaluated'); -} -if(c6!==2){ - $ERROR('#6.2: "try finally{continue}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.js deleted file mode 100644 index 790ca63ad5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.js +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A9_T3; - * @section: 12.14; - * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; - * @description: "try" statement within a loop, the statement contains "break" statement; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A9_T3", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.js", - -assertion: "\"try\" with \"catch\" or \"finally\" statement within/without an \"do while\" statement", - -description: "\"try\" statement within a loop, the statement contains \"break\" statement", - -test: function testcase() { - // CHECK#1 -var c1=0,fin=0; -do{ - try{ - c1+=1; - break; - } - catch(er1){} - finally{ - fin=1; - } - fin=-1; - c1+=2; -} -while(c1<2); -if(fin!==1){ - $ERROR('#1.1: "finally" block must be evaluated'); -} -if(c1!==1){ - $ERROR('#1.2: "try{break}catch finally" must work correctly'); -} - -// CHECK#2 -var c2=0,fin2=0; -do{ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - break; - } - finally{ - fin2=1; - } - c2+=2; - fin2=-1; -} -while(c2<2); -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==1){ - $ERROR('#2.2: "try catch{break} finally" must work correctly'); -} - -// CHECK#3 -var c3=0,fin3=0; -do{ - try{ - throw "ex1"; - } - catch(er1){ - c3+=1; - } - finally{ - fin3=1; - break; - } - c3+=2; - fin3=0; -} -while(c3<2); -if(fin3!==1){ - $ERROR('#3.1: "finally" block must be evaluated'); -} -if(c3!==1){ - $ERROR('#3.2: "try catch finally{break}" must work correctly'); -} - -// CHECK#4 -var c4=0,fin4=0; -do{ - try{ - c4+=1; - break; - } - finally{ - fin4=1; - } - fin4=-1; - c4+=2; -} -while(c4<2); -if(fin4!==1){ - $ERROR('#4.1: "finally" block must be evaluated'); -} -if(c4!==1){ - $ERROR('#4.2: "try{break} finally" must work correctly'); -} - -// CHECK#5 -var c5=0; -do{ - try{ - throw "ex1"; - } - catch(er1){ - break; - } -} -while(c5<2); -if(c5!==0){ - $ERROR('#5: "try catch{break}" must work correctly'); -} - -// CHECK#6 -var c6=0; -do{ - try{ - c6+=1; - break; - } - catch(er1){} - c6+=2; -} -while(c6<2); -if(c6!==1){ - $ERROR('#6: "try{break} catch" must work correctly'); -} - -// CHECK#7 -var c7=0,fin7=0; -try{ - do{ - try{ - c7+=1; - throw "ex1"; - } - finally{ - fin7=1; - break; - } - fin7=-1; - c7+=2; - } - while(c7<2); -} -catch(ex1){ - c7=10; -} -if(fin7!==1){ - $ERROR('#7.1: "finally" block must be evaluated'); -} -if(c7!==1){ - $ERROR('#7.2: try finally{break} error'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.js deleted file mode 100644 index 9a440c6991..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A9_T4; - * @section: 12.14; - * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; - * @description: "try" statement within a loop, the statement contains "continue" and "break" statements; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A9_T4", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.js", - -assertion: "\"try\" with \"catch\" or \"finally\" statement within/without an \"do while\" statement", - -description: "\"try\" statement within a loop, the statement contains \"continue\" and \"break\" statements", - -test: function testcase() { - // CHECK#1 -var c1=0,fin=0; -do{ - try{ - c1+=1; - break; - } - catch(er1){} - finally{ - fin=1; - continue; - } - fin=-1; - c1+=2; -} -while(c1<2); -if(fin!==1){ - $ERROR('#1.1: "finally" block must be evaluated'); -} -if(c1!==2){ - $ERROR('#1.2: "try{break} catch finally{continue}" must work correctly'); -} - -// CHECK#2 -var c2=0,fin2=0; -do{ - try{ - throw "ex1"; - } - catch(er1){ - c2+=1; - break; - } - finally{ - fin2=1; - continue; - } - c2+=2; - fin2=-1; -} -while(c2<2); -if(fin2!==1){ - $ERROR('#2.1: "finally" block must be evaluated'); -} -if(c2!==2){ - $ERROR('#2.2: "try catch{break} finally{continue}" must work correctly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.js deleted file mode 100644 index e830235a52..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.14_A9_T5; - * @section: 12.14; - * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; - * @description: Checking if exceptions are thrown correctly from wherever of loop body; - */ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.14_A9_T5", - -path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.js", - -assertion: "\"try\" with \"catch\" or \"finally\" statement within/without an \"do while\" statement", - -description: "Checking if exceptions are thrown correctly from wherever of loop body", - -test: function testcase() { - // CHECK#1 -var c=0, i=0; -var fin=0; -do{ - i+=1; - try{ - if(c===0){ - throw "ex1"; - $ERROR('#1.1: throw "ex1" lead to throwing exception'); - } - c+=2; - if(c===1){ - throw "ex2"; - $ERROR('#1.2: throw "ex2" lead to throwing exception'); - } - } - catch(er1){ - c-=1; - continue; - $ERROR('#1.3: "try catch{continue} finally" must work correctly'); - } - finally{ - fin+=1; - } -} -while(i<10); -if(fin!==10){ - $ERROR('#1.4: "finally" block must be evaluated'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A1.js b/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A1.js deleted file mode 100644 index 612157e745..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A1.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - -"use strict"; -{ - function __func(){} -} - - diff --git a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A2.js b/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A2.js deleted file mode 100644 index f21613cd2f..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A2.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.1_A2; -* @section: 12.1; -* @assertion: The production StatementList Statement is evaluated as follows -* 1. Evaluate Statement. -* 2. If an exception was thrown, return (throw, V, empty) where V is the exception; -* @description: Throwing exception within a Block; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.1_A2", - -path: "TestCases/12_Statement/12.1_Block/S12.1_A2.js", - -assertion: "The production StatementList Statement is evaluated as follows", - -description: "Throwing exception within a Block", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - x(); - $ERROR('#1: "x()" lead to throwing exception'); -} catch (e) { - $PRINT(e.message); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - throw "catchme"; - $ERROR('#2: throw "catchme" lead to throwing exception'); -} catch (e) { - if (e!=="catchme") { - $ERROR('#2.1: Exception === "catchme". Actual: Exception ==='+ e ); - } -} - -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A4_T1.js b/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A4_T1.js deleted file mode 100644 index 4f918d8788..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A4_T1.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function __func(){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -y={__func}(); -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A4_T2.js b/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A4_T2.js deleted file mode 100644 index 312af4b408..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A4_T2.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - x=1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -y={x}; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js b/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js deleted file mode 100644 index 7fafe03117..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.1_A5; -* @section: 12.1; -* @assertion: StatementList: StatementList Statement inside the Block is evaluated from left to right; -* @description: Throwing exceptions within embedded/sequence Blocks; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.1_A5", - -path: "TestCases/12_Statement/12.1_Block/S12.1_A5.js", - -assertion: "StatementList: StatementList Statement inside the Block is evaluated from left to right", - -description: "Throwing exceptions within embedded/sequence Blocks", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - throw 1; - throw 2; - throw 3; - $ERROR('1.1: throw 1 lead to throwing exception'); -} catch (e) { - if (e!==1) { - $ERROR('#1.2: Exception === 1. Actual: Exception ==='+ e); - } -} -//////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - { - throw 1; - throw 2; - } - throw 3; - $ERROR('#2.1: throw 1 lead to throwing exception'); -} catch (e) { - if (e!==1) { - $ERROR('#2.2: Exception === 1. Actual: Exception ==='+ e); - } -} -//////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try { - throw 1; - { - throw 2; - throw 3; - } - $ERROR('#3.1: throw 1 lead to throwing exception'); -} catch (e) { - if (e!==1) { - $ERROR('#3.2: Exception === 1. Actual: Exception ==='+ e); - } -} -//////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A1.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A1.js deleted file mode 100644 index 1b14eb556a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A1.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A1; -* @section: 12.2; -* @assertion: Variables are created when the program is entered. Variables are initialised to "undefined" -* when created. A variable with an Initialiser is assigned the value of its AssignmentExpression when the -* VariableStatement is executed, not when the variable is created; -* @description: Creating variables after entering the execution scope; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A1", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A1.js", - -assertion: "Variables are created when the program is entered. Variables are initialised to \"undefined\"", - -description: "Creating variables after entering the execution scope", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - __x = __x; - __y = __x ? "good fellow" : "liar"; // __y assigned to "liar" since __x undefined - __z = __z === __x ? 1 : 0; // __z assigned to 1 since both __x and __z are undefined -} catch (e) { - $ERROR('#1: Using declarated variable before it declaration is admitted'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try{ - __something__undefined = __something__undefined; - $ERROR('#2: "__something__undefined = __something__undefined" lead to throwing exception'); -} catch(e){ - $PRINT(e.message); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ((__y !== "liar")&(__z !== 1)) { - $ERROR('#3: (__y === "liar") and (__z === 1). Actual: __y ==='+__y+' and __z ==='+__z ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __x, __y = true, __z = __y ? "smeagol" : "golum"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (!__y&!(__z = "smeagol")) { - $ERROR('#4: A variable with an Initialiser is assigned the value of its AssignmentExpression when the VariableStatement is executed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A10.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A10.js deleted file mode 100644 index ae6a951ad7..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A10; -* @section: 12.2; -* @assertion: "var" statement within "for" statement is allowed; -* @description: Declaring variable within a "for" IterationStatement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A10", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A10.js", - -assertion: "\"var\" statement within \"for\" statement is allowed", - -description: "Declaring variable within a \"for\" IterationStatement", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - __ind=__ind; -} catch (e) { - $ERROR('#1: var inside "for" is admitted '+e.message); -} -// -////////////////////////////////////////////////////////////////////////////// - -for (var __ind;;){ - break; -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A11.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A11.js deleted file mode 100644 index 33e8d1399c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A11.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A11; -* @section: 12.2; -* @assertion: When using property attributes, {ReadOnly} is not used; -* @description: Changing variable value using property attributes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A11", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A11.js", - -assertion: "When using property attributes, {ReadOnly} is not used", - -description: "Changing variable value using property attributes", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -this['__declared__var'] = "baloon"; -if (this['__declared__var'] !== "baloon") { - $ERROR('#1: this[\'__declared__var\'] === "baloon". Actual: this[\'__declared__var\'] ==='+ this['__declared__var'] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__declared__var !== "baloon") { - $ERROR('#2: __declared__var === "baloon". Actual: __declared__var ==='+ __declared__var ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __declared__var; - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js deleted file mode 100644 index 940febc49d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A12; -* @section: 12.2; -* @assertion: VariableDeclaration within "do-while" loop is allowed; -* @description: Declaring variable within "do-while" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A12", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A12.js", - -assertion: "VariableDeclaration within \"do-while\" loop is allowed", - -description: "Declaring variable within \"do-while\" statement", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - x=x; -} catch (e) { - $ERROR('#1: Declaration variable inside "do-while" statement is admitted'); -} -// -////////////////////////////////////////////////////////////////////////////// - -do var x; while (false); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A2.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A2.js deleted file mode 100644 index cf5d1f9303..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A2.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A2; -* @section: 12.2; -* @assertion: Variables are defined with global scope (that is, they are created as members of the global object, as described in 10.1.3) using property attributes { DontDelete}; -* @description: Checking if deleting global variables that have the attributes {DontDelete} fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A2", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A2.js", - -assertion: "Variables are defined with global scope (that is, they are created as members of the global object, as described in 10.1.3) using property attributes { DontDelete}", - -description: "Checking if deleting global variables that have the attributes {DontDelete} fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete(__variable)) { - $ERROR('#1: delete(__variable)===false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (delete(this["__variable"])) { - $ERROR('#2: delete(this["__variable"])===false'); -} -// -////////////////////////////////////////////////////////////////////////////// - - -var __variable; -var __variable = "defined"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (delete(__variable) | delete(this["__variable"])) { - $ERROR('#3: (delete(__variable) | delete(this["__variable"]))===false' ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if ((__variable !== "defined")|(this["__variable"] !=="defined")) { - $ERROR('#4: __variable === "defined" and this["__variable"] ==="defined"'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A3.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A3.js deleted file mode 100644 index ab5ef783e9..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A3.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A3; -* @section: 12.2; -* @assertion: FunctionDeclaration produces a new scope; -* @description: Using Global scope and Function scope together; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A3", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A3.js", - -assertion: "FunctionDeclaration produces a new scope", - -description: "Using Global scope and Function scope together", - -test: function testcase() { - var __var = "OUT"; - -(function(){ - var __var ="IN"; - (function(){__var = "INNER_SPACE";})(); - (function(){var __var = "INNER_SUN";})(); - ////////////////////////////////////////////////////////////////////////////// - //CHECK#1 - if (__var !== "INNER_SPACE") { - $ERROR('#1: __var === "INNER_SPACE". Actual: __var ==='+ __var ); - } - // - ////////////////////////////////////////////////////////////////////////////// -})(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__var !== "OUT") { - $ERROR('#2: __var === "OUT". Actual: __var ==='+ __var ); -} -// -////////////////////////////////////////////////////////////////////////////// - - -(function(){ - __var ="IN"; - (function(){__var = "INNERED"})(); - (function(){var __var = "INNAGER"})(); - ////////////////////////////////////////////////////////////////////////////// - //CHECK#3 - if (__var!=="INNERED") { - $ERROR('#3: __var==="INNERED". Actual: __var==='+ __var ); - } - // - ////////////////////////////////////////////////////////////////////////////// -})(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__var!=="INNERED") { - $ERROR('#4: __var==="INNERED". Actual: __var==='+ __var ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A4.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A4.js deleted file mode 100644 index b26b70f70c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A4; -* @section: 12.2; -* @assertion: Unicode characters in variable Identifier are allowed; -* @description: Create and use unicode characters in variable Identifier; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A4", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A4.js", - -assertion: "Unicode characters in variable Identifier are allowed", - -description: "Create and use unicode characters in variable Identifier", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - __var=__var; -} catch (e) { - $ERROR('#1: Unicode characters in variable Identifier allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - -var \u005f\u005f\u0076\u0061\u0072 = 1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__var !== 1) { - $ERROR('#2: __var === 1. Actual: __var ==='+ __var ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A5.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A5.js deleted file mode 100644 index bdfb076adb..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A5.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A5; -* @section: 12.2; -* @assertion: VariableDeclaration within Eval statement is initialized as the program reaches the eval statement; -* @description: Executing eval("var x"); -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A5", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A5.js", - -assertion: "VariableDeclaration within Eval statement is initialized as the program reaches the eval statement", - -description: "Executing eval(\"var x\")", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - x=x; - $ERROR('#1: "x=x" lead to throwing exception'); -}catch(e){ - $PRINT(e.message); -}; -// -////////////////////////////////////////////////////////////////////////////// - -eval("var x"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try{ - x=x; -}catch(e){ - $ERROR('#2: VariableDeclaration inside Eval statement is initialized when program reaches the eval statement '+e.message); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.js deleted file mode 100644 index 68e02c8c60..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A6_T1; -* @section: 12.2; -* @assertion: VariableDeclaration within "try-catch" statement is allowed; -* @description: Declaring variable within "try-catch" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A6_T1", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.js", - -assertion: "VariableDeclaration within \"try-catch\" statement is allowed", - -description: "Declaring variable within \"try-catch\" statement", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - intry__var=intry__var; -}catch(e){ - $ERROR('#1: Variable declaration inside "try" block is admitted'); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try{ - incatch__var=incatch__var; -}catch(e){ - $ERROR('#2: Variable declaration inside "catch" block is admitted'); -}; -// -////////////////////////////////////////////////////////////////////////////// - -try{ - var intry__var; -}catch(e){ - var incatch__var; -}; - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js deleted file mode 100644 index 72c961c69d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A6_T2; -* @section: 12.2; -* @assertion: VariableDeclaration within "try-catch" statement is allowed; -* @description: Declaring variables within "try-catch" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A6_T2", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js", - -assertion: "VariableDeclaration within \"try-catch\" statement is allowed", - -description: "Declaring variables within \"try-catch\" statement", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - intry__intry__var=intry__intry__var; - intry__incatch__var=intry__incatch__var; - incatch__intry__var=incatch__intry__var; - incatch__incatch__var=incatch__incatch__var; -}catch(e){ - $ERROR('#1: Variable declaration inside "try-catch" block is admitted'); -}; -// -////////////////////////////////////////////////////////////////////////////// - -try{ - try { - var intry__intry__var; - } catch (e) { - var intry__incatch__var; - } -}catch(e){ - try { - var incatch__intry__var; - } catch (e) { - var incatch__incatch__var; - } - -}; - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A7.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A7.js deleted file mode 100644 index 9424a254e2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A7.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A7; -* @section: 12.2; -* @assertion: VariableDeclaration within "for" statement is allowed; -* @description: Declaring variable within "for" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A7", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A7.js", - -assertion: "VariableDeclaration within \"for\" statement is allowed", - -description: "Declaring variable within \"for\" statement", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - infor_var = infor_var; -}catch(e){ - $ERROR('#1: Variable declaration inside "for" loop is admitted'); -}; -// -////////////////////////////////////////////////////////////////////////////// - -for (;;){ - break; - var infor_var; -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.js deleted file mode 100644 index 2be27ce829..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x += 1; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.js deleted file mode 100644 index 416dde6bfd..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x | true; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.js deleted file mode 100644 index e786ea1704..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x && 1; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.js deleted file mode 100644 index a2d33ced93..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x++; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.js deleted file mode 100644 index 6ecf3d8efc..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var --x; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.js deleted file mode 100644 index 6a4514d100..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x*1; -// -////////////////////////////////////////////////////////////////////////////// - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.js deleted file mode 100644 index a30976a609..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x>>1; -// -////////////////////////////////////////////////////////////////////////////// - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.js deleted file mode 100644 index 2f812f5d07..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - __arr = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x in __arr; -// -////////////////////////////////////////////////////////////////////////////// - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A9.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A9.js deleted file mode 100644 index 7241ecc913..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.2_A9; -* @section: 12.2; -* @assertion: When using property attributes, {DontEnum} is not used; -* @description: Enumerating property attributes of "this" and then searching for the declared variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.2_A9", - -path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A9.js", - -assertion: "When using property attributes, {DontEnum} is not used", - -description: "Enumerating property attributes of \"this\" and then searching for the declared variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for (__prop in this){ - if (__prop === "__declared__var") - enumed=true; -} -if (!(enumed)) { - $ERROR('#1: When using property attributes, {DontEnum} not used'); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __declared__var; - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.3_Empty_Statement/S12.3_A1.js b/test/suite/sputnik_converted/12_Statement/12.3_Empty_Statement/S12.3_A1.js deleted file mode 100644 index 6b62ecd663..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.3_Empty_Statement/S12.3_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.3_A1; -* @section: 12.3; -* @assertion: The production EmptyStatement ; is evaluated as follows Return (normal, empty, empty); -* @description: Using EmptyStatement ;; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.3_A1", - -path: "TestCases/12_Statement/12.3_Empty_Statement/S12.3_A1.js", - -assertion: "The production EmptyStatement ; is evaluated as follows Return (normal, empty, empty)", - -description: "Using EmptyStatement", - -test: function testcase() { - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;;;;; ;;;;;; ;; ;; ;;;;;; ;;;;;;;; ;; ;; ;;;;; -;;;;; ;; ;;;; ;;;; ;; ;; ;; ;; ;; ;;;;; -;;;;; ;;;; ;; ;;;; ;; ;;;;;; ;; ;;;; ;;;;; -;;;;; ;; ;; ;; ;; ;; ;; ;; ;;;;; -;;;;; ;;;;;; ;; ;; ;; ;; ;; ;;;;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A1.js b/test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A1.js deleted file mode 100644 index 2bb02fb1bd..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -function(){}(); -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.js b/test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.js deleted file mode 100644 index ddd1c1530a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.4_A2_T1; -* @section: 12.4; -* @assertion: The production ExpressionStatement : [lookahead \notin {{, function}] Expression; is evaluated as follows: -* 1. Evaluate Expression. -* 2. Call GetValue(Result(1)). -* 3. Return (normal, Result(2), empty); -* @description: Checking by using eval "(eval("x+1+x==1"))"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.4_A2_T1", - -path: "TestCases/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.js", - -assertion: "The production ExpressionStatement : [lookahead \\notin {{, function}] Expression; is evaluated as follows:", - -description: "Checking by using eval \"(eval(\"x+1+x==1\"))\"", - -test: function testcase() { - x=1; - -__evaluated = eval("x+1+x==1"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__evaluated !== false) { - $ERROR('#1: __evaluated === false. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__evaluated = eval("1+1+1==1"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__evaluated !== false) { - $ERROR('#2: __evaluated === false. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.js b/test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.js deleted file mode 100644 index 4004f58b94..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.4_A2_T2; -* @section: 12.4; -* @assertion: The production ExpressionStatement : [lookahead \notin {{, function}] Expression; is evaluated as follows: -* 1. Evaluate Expression. -* 2. Call GetValue(Result(1)). -* 3. Return (normal, Result(2), empty); -* @description: Checking by using eval(eval(x), where x is any string); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.4_A2_T2", - -path: "TestCases/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.js", - -assertion: "The production ExpressionStatement : [lookahead \\notin {{, function}] Expression; is evaluated as follows:", - -description: "Checking by using eval(eval(x), where x is any string)", - -test: function testcase() { - x="5+1|0===0"; - -__evaluated = eval(x); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__evaluated !== 7) { - $ERROR('#1: __evaluated === 7. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__evaluated = eval("2*"+x+">-1"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__evaluated !== 11) { - $ERROR('#2: __evaluated === 11. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.js deleted file mode 100644 index e4f76b84ac..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A1.1_T1; -* @section: 12.5; -* @assertion: 0, null, undefined, false, empty string, NaN in expression is evaluated to false; -* @description: Using "if" without "else" construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A1.1_T1", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.js", - -assertion: "0, null, undefined, false, empty string, NaN in expression is evaluated to false", - -description: "Using \"if\" without \"else\" construction", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 - -if(0) - $ERROR('#1: 0 in expression is evaluated to false '); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(false) - $ERROR('#2: false in expression is evaluated to false '); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(null) - $ERROR('#3: null in expression is evaluated to false '); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(undefined) - $ERROR('#4: undefined in expression is evaluated to false '); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if("") - $ERROR('#5: empty string in expression is evaluated to false '); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if(NaN) - $ERROR('#5: NaN in expression is evaluated to false '); -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.js deleted file mode 100644 index cb99c8e789..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A1.1_T2; -* @section: 12.5; -* @assertion: 0, null, undefined, false, empty string, NaN in expression is evaluated to false; -* @description: Using "if/else" construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A1.1_T2", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.js", - -assertion: "0, null, undefined, false, empty string, NaN in expression is evaluated to false", - -description: "Using \"if/else\" construction", - -test: function testcase() { - var c=0; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(0) - $ERROR('#1.1: 0 in expression is evaluated to false '); -else - c++; -if (c!=1) $ERROR('#1.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(false) - $ERROR('#2.1: false in expression is evaluated to false '); -else - c++; -if (c!=2) $ERROR('#2.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(null) - $ERROR('#3.1: null in expression is evaluated to false '); -else - c++; -if (c!=3) $ERROR('#3.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(undefined) - $ERROR('#4.1: undefined in expression is evaluated to false '); -else - c++; -if (c!=4) $ERROR('#4.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if("") - $ERROR('#5.1: empty string in expression is evaluated to false '); -else - c++; -if (c!=5) $ERROR('#5.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if(NaN) - $ERROR('#6.1: NaN in expression is evaluated to false '); -else - c++; -if (c!=6) $ERROR('#6.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.js deleted file mode 100644 index 52c509dd3b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A1.2_T1; -* @section: 12.5; -* @assertion: 1, true, non-empty string and others in expression is evaluated to true when using operator "new"; -* @description: Using "if" without "else" construction; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A1.2_T1", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.js", - -assertion: "1, true, non-empty string and others in expression is evaluated to true when using operator \"new\"", - -description: "Using \"if\" without \"else\" construction", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(!(new Number(1))) - $ERROR('#1: new 1 in expression is evaluated to true'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(!(new Boolean(true))) - $ERROR('#2: new true in expression is evaluated to true'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(!(new String("1"))) - $ERROR('#3: new "1" in expression is evaluated to true'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(!(new String("A"))) - $ERROR('#4: new "A" in expression is evaluated to true'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if(!(new Boolean(false))) - $ERROR('#2: new false in expression is evaluated to true '); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if(!(new Number(NaN))) - $ERROR('#6: new NaN in expression is evaluated to true '); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -if(!(new Number(null))) - $ERROR('#7: new null in expression is evaluated to true '); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#8 -if(!(new String(undefined))) - $ERROR('#8: new undefined in expression is evaluated to true '); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#9 -if(!(new String(""))) - $ERROR('#9: new empty string in expression is evaluated to true '); -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.js deleted file mode 100644 index d18ad794c2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.js +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A1.2_T2; -* @section: 12.5; -* @assertion: 1, true, non-empty string and others in expression is evaluated to true when using operator "new"; -* @description: Using "if/else" construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A1.2_T2", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.js", - -assertion: "1, true, non-empty string and others in expression is evaluated to true when using operator \"new\"", - -description: "Using \"if/else\" construction", - -test: function testcase() { - var c=0; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(!(new Number(1))) - $ERROR('#1.1: new 1 in expression is evaluated to true'); -else - c++; -if (c!=1) $ERROR('#1.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(!(new Boolean(true))) - $ERROR('#2.1: new true in expression is evaluated to true'); -else - c++; -if (c!=2) $ERROR('#2.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(!(new String("1"))) - $ERROR('#3.1: new "1" in expression is evaluated to true'); -else - c++; -if (c!=3) $ERROR('#3.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(!(new String("A"))) - $ERROR('#4.1: new "A" in expression is evaluated to true'); -else - c++; -if (c!=4) $ERROR('#4.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if(!(new Boolean(false))) - $ERROR('#5.1: new false in expression is evaluated to true '); -else - c++; -if (c!=5) $ERROR('#5.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if(!(new Number(NaN))) - $ERROR('#6.1: new NaN in expression is evaluated to true '); -else - c++; -if (c!=6) $ERROR('#6.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -if(!(new Number(null))) - $ERROR('#7.1: new null in expression is evaluated to true '); -else - c++; -if (c!=7) $ERROR('#7.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#8 -if(!(new String(undefined))) - $ERROR('#8.1: new undefined in expression is evaluated to true '); -else - c++; -if (c!=8) $ERROR('#8.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#9 -if(!(new String(""))) - $ERROR('#9.1: new empty string in expression is evaluated to true '); -else - c++; -if (c!=9) $ERROR('#9.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.js deleted file mode 100644 index f86456c6e5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A10_T1; -* @section: 12.5; -* @assertion: Function expession inside the "if" expression is allowed; -* @description: Using function expession(function __func(){return 0;}) inside the "if" expression ; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A10_T1", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.js", - -assertion: "Function expession inside the \"if\" expression is allowed", - -description: "Using function expession(function __func(){return 0;}) inside the \"if\" expression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -if(function __func(){return 0;}){ - ; -}else { - $ERROR('#1: Function expession inside the "if" expression is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.js deleted file mode 100644 index 95228d57d4..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A10_T2; -* @section: 12.5; -* @assertion: Function expession inside the "if" expression is allowed; -* @description: Using function expession "function __func(){return 0;}()" within "if" expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A10_T2", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.js", - -assertion: "Function expession inside the \"if\" expression is allowed", - -description: "Using function expession \"function __func(){return 0;}()\" within \"if\" expression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -if(function __func(){return 0;}()){ - $ERROR('#1: Function expession inside the if expression is allowed'); -}else { - ; -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A11.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A11.js deleted file mode 100644 index e5406eae7b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A11.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -if({1}) - { - ; - }else - { - ; - } -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.js deleted file mode 100644 index bd33f5ade2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A12_T1; -* @section: 12.5; -* @assertion: Embedded "if/else" constructions are allowed; -* @description: Using embedded "if/else" into "if/else" constructions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A12_T1", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.js", - -assertion: "Embedded \"if/else\" constructions are allowed", - -description: "Using embedded \"if/else\" into \"if/else\" constructions", - -test: function testcase() { - //CHECK# 1 -if(true) - if (false) - $ERROR('#1.1: At embedded "if/else" constructions engine must select right branches'); - else - ; -else - if (true) - $ERROR('#1.2: At embedded "if/else" constructions engine must select right branches'); - else - $ERROR('#1.3: At embedded "if/else" constructions engine must select right branches'); - -//CHECK# 2 -if(true) - if (true) - ; - else - $ERROR('#2.1: At embedded "if/else" constructions engine must select right branches'); -else - if (true) - $ERROR('#2.2: At embedded "if/else" constructions engine must select right branches'); - else - $ERROR('#2.3: At embedded "if/else" constructions engine must select right branches'); - -//CHECK# 3 -if(false) - if (true) - $ERROR('#3.1: At embedded "if/else" constructions engine must select right branches'); - else - $ERROR('#3.2: At embedded "if/else" constructions engine must select right branches'); -else - if (true) - ; - else - $ERROR('#3.3: At embedded "if/else" constructions engine must select right branches'); - -//CHECK# 4 -if(false) - if (true) - $ERROR('#4.1: At embedded "if/else" constructions engine must select right branches'); - else - $ERROR('#4.2: At embedded "if/else" constructions engine must select right branches'); -else - if (false) - $ERROR('#4.3: At embedded "if/else" constructions engine must select right branches'); - else - ; - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.js deleted file mode 100644 index aa1d5925be..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A12_T2; -* @section: 12.5; -* @assertion: Embedded "if/else" constructions are allowed; -* @description: Using embedded "if" into "if/else" constructions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A12_T2", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.js", - -assertion: "Embedded \"if/else\" constructions are allowed", - -description: "Using embedded \"if\" into \"if/else\" constructions", - -test: function testcase() { - //CHECK# 1 -if(true){ - if (false) - $ERROR('#1.1: At embedded "if/else" constructions engine must select right branches'); -} -else{ - if (true) - $ERROR('#1.2: At embedded "if/else" constructions engine must select right branches'); -} - -//CHECK# 2 -if(true){ - if (true) - ; -} -else{ - if (true) - $ERROR('#2.2: At embedded "if/else" constructions engine must select right branches'); -} - -//CHECK# 3 -if(false){ - if (true) - $ERROR('#3.1: At embedded "if/else" constructions engine must select right branches'); -} -else{ - if (true) - ; -} - -//CHECK# 4 -if(false){ - if (true) - $ERROR('#4.1: At embedded "if/else" constructions engine must select right branches'); -} -else{ - if (false) - $ERROR('#4.3: At embedded "if/else" constructions engine must select right branches'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.js deleted file mode 100644 index 39519eb1e8..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A12_T3; -* @section: 12.5; -* @assertion: Embedded "if/else" constructions are allowed; -* @description: Using embedded "if/else" into "if" without "else" constructions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A12_T3", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.js", - -assertion: "Embedded \"if/else\" constructions are allowed", - -description: "Using embedded \"if/else\" into \"if\" without \"else\" constructions", - -test: function testcase() { - //CHECK# 1 -if(true) - if (false) - $ERROR('#1.1: At embedded "if/else" constructions engine must select right branches'); - else - ; - -//CHECK# 2 -if(true) - if (true) - ; - else - $ERROR('#2.1: At embedded "if/else" constructions engine must select right branches'); - -//CHECK# 3 -if(false) - if (true) - $ERROR('#3.1: At embedded "if/else" constructions engine must select right branches'); - else - $ERROR('#3.2: At embedded "if/else" constructions engine must select right branches'); - -//CHECK# 4 -if(false) - if (true) - $ERROR('#4.1: At embedded "if/else" constructions engine must select right branches'); - else - $ERROR('#4.2: At embedded "if/else" constructions engine must select right branches'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.js deleted file mode 100644 index f3b8c3271f..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A12_T4; -* @section: 12.5; -* @assertion: Embedded "if/else" constructions are allowed; -* @description: Using embedded "if" into "if" constructions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A12_T4", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.js", - -assertion: "Embedded \"if/else\" constructions are allowed", - -description: "Using embedded \"if\" into \"if\" constructions", - -test: function testcase() { - //CHECK# 1 -if(true) - if (false) - $ERROR('#1.1: At embedded "if/else" constructions engine must select right branches'); - -//CHECK# 2 -var c=0; -if(true) - if (true) - c=2; -if (c!==2) - $ERROR('#2: At embedded "if/else" constructions engine must select right branches'); - -//CHECK# 3 -if(false) - if (true) - $ERROR('#3.1: At embedded "if/else" constructions engine must select right branches'); - -//CHECK# 4 -if(false) - if (true) - $ERROR('#4.1: At embedded "if/else" constructions engine must select right branches'); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.js deleted file mode 100644 index 581c9fa44e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A1_T1; -* @section: 12.5; -* @assertion: 1, true, non-empty string in expression is evaluated to true; -* @description: Using "if" without "else" construction; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A1_T1", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.js", - -assertion: "1, true, non-empty string in expression is evaluated to true", - -description: "Using \"if\" without \"else\" construction", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(!(1)) - $ERROR('#1: 1 in expression is evaluated to true'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(!(true)) - $ERROR('#2: true in expression is evaluated to true'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(!("1")) - $ERROR('#3: "1" in expression is evaluated to true'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(!("A")) - $ERROR('#4: "A" in expression is evaluated to true'); -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.js deleted file mode 100644 index e2c4220026..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A1_T2; -* @section: 12.5; -* @assertion: 1, true, non-empty string in expression is evaluated to true; -* @description: Using "if/else" construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A1_T2", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.js", - -assertion: "1, true, non-empty string in expression is evaluated to true", - -description: "Using \"if/else\" construction", - -test: function testcase() { - var c=0; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(!(1)) - $ERROR('#1.1: 1 in expression is evaluated to true'); -else - c++; -if (c!=1) $ERROR('#1.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(!(true)) - $ERROR('#2.1: true in expression is evaluated to true'); -else - c++; -if (c!=2) $ERROR('#2.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if(!("1")) - $ERROR('#3.1: "1" in expression is evaluated to true'); -else - c++; -if (c!=3) $ERROR('#3.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if(!("A")) - $ERROR('#4.1: "A" in expression is evaluated to true'); -else - c++; -if (c!=4) $ERROR('#4.2: else branch don`t execute'); -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A2.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A2.js deleted file mode 100644 index 72e3ab8fb0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - if (eval("true")) $FAIL('#1: In the "if" Statement eval as Expression is admitted'); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A3.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A3.js deleted file mode 100644 index 903e7267f1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A3; -* @section: 12.5; -* @assertion: When the production "IfStatement: if ( Expression ) Statement else Statement" is evaluated, Expression is evaluated first; -* @description: The Expression is "(function(){throw 1})()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A3", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A3.js", - -assertion: "When the production \"IfStatement: if ( Expression ) Statement else Statement\" is evaluated, Expression is evaluated first", - -description: "The Expression is \"(function(){throw 1})()\"", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - if ((function(){throw 1})()) abracadabra -} catch (e) { - if (e !== 1) { - $ERROR('#1: Exception === 1. Actual: Exception ==='+ e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - if ((function(){throw 1})()) abracadabra; else blablachat; -} catch (e) { - if (e !== 1) { - $ERROR('#2: Exception === 1. Actual: Exception ==='+ e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A4.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A4.js deleted file mode 100644 index c772249834..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A4.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A4; -* @section: 12.5; -* @assertion: When the production "IfStatement: if ( Expression ) Statement else Statement" is evaluated, Statement(s) is(are) evaluated second; -* @description: The first statement is "(function(){throw "instatement"})()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A4", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A4.js", - -assertion: "When the production \"IfStatement: if ( Expression ) Statement else Statement\" is evaluated, Statement(s) is(are) evaluated second", - -description: "The first statement is \"(function(){throw \"instatement\"})()\"", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - if (true) (function(){throw "instatement"})(); - $FAIL("#1 failed") -} catch (e) { - if (e !== "instatement") { - $ERROR('#1: Exception === "instatement". Actual: Exception ==='+ e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - if (false) (function(){throw "truebranch"})(); (function(){throw "missbranch"})(); - $FAIL("#2 failed") -} catch (e) { - if (e !== "missbranch") { - $ERROR('#2: Exception === "missbranch". Actual: Exception ==='+ e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A5.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A5.js deleted file mode 100644 index d39a5c3658..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A5.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A5; -* @section: 12.5; -* @assertion: FunctionDeclaration inside the "if" Expression is evaluated as true and function will not be declarated; -* @description: The "if" Expression is "function __func(){throw "FunctionExpression";}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A5", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A5.js", - -assertion: "FunctionDeclaration inside the \"if\" Expression is evaluated as true and function will not be declarated", - -description: "The \"if\" Expression is \"function __func(){throw \"FunctionExpression\";}\"", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - __func=__func; - $ERROR('#1: "__func=__func" lead to throwing exception'); -} catch (e) { - ; -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - if(function __func(){throw "FunctionExpression";}) (function(){throw "TrueBranch"})(); else (function(){"MissBranch"})(); -} catch (e) { - if (e !== "TrueBranch") { - $ERROR('#2: Exception ==="TrueBranch". Actual: Exception ==='+ e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try { - __func=__func; - $ERROR('#3: "__func=__func" lead to throwing exception'); -} catch (e) { - ; -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.js deleted file mode 100644 index 795d4b8728..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if true; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.js deleted file mode 100644 index e7110d009b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if false; -// -////////////////////////////////////////////////////////////////////////////// - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A7.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A7.js deleted file mode 100644 index 34b1870209..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A7.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A7; -* @section: 12.5; -* @assertion: In the "if" statement empty statement is allowed and is evaluated to "undefined"; -* @description: Checking by using eval "eval("if(1);"))"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.5_A7", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A7.js", - -assertion: "In the \"if\" statement empty statement is allowed and is evaluated to \"undefined\"", - -description: "Checking by using eval \"eval(\"if(1);\"))\"", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var __evaluated = eval("if(1);"); - if (__evaluated !== undefined) { - $ERROR('#1: __evaluated === undefined. Actual: __evaluated ==='+ __evaluated ); - } - -} catch (e) { - $ERROR('#1.1: "__evaluated = eval("if(1);")" does not lead to throwing exception'); - -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A8.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A8.js deleted file mode 100644 index fa762ebfd1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A8.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(); -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js deleted file mode 100644 index c52ee92bef..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - -"use strict"; -if (true) { - function __func(){}; -} else { - function __func(){}; -} - - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js deleted file mode 100644 index 6ebf28c922..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - (function(){ -"use strict"; - -if (true) { - function __func(){}; -} else { - function __func(){}; -} - -}); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.js deleted file mode 100644 index 5c499b8034..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function(){ - -if (true) { - function __func(){}; -} else { - function __func(){}; -} - -}; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.js deleted file mode 100644 index b429ca0789..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A1; -* @section: 12.6.1; -* @assertion: When the production "do Statement while ( Expression )" is evaluated, Statement is evaluated first; -* @description: Evaluating various Expressions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.js", - -assertion: "When the production \"do Statement while ( Expression )\" is evaluated, Statement is evaluated first", - -description: "Evaluating various Expressions", - -test: function testcase() { - var __in__do; - -do __in__do=1; while ( false ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do!==1) { - $ERROR('#1: false evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -do __in__do=2; while ( 0 ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__in__do!==2) { - $ERROR('#2: 0 evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -do __in__do=3; while ( "" ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__in__do!==3) { - $ERROR('#3: "" evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.js deleted file mode 100644 index 8b8551acc8..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A10; -* @section: 12.6.1, 13; -* @assertion: FunctionExpression within a "do-while" statement is allowed, but no function with the given name will appear in the global context; -* @description: Also this a test on FunctionExpression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A10", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.js", - -assertion: "FunctionExpression within a \"do-while\" statement is allowed, but no function with the given name will appear in the global context", - -description: "Also this a test on FunctionExpression", - -test: function testcase() { - var check = 0; -do { - if(typeof(f) === "function"){ - check = -1; - break; - } else { - check = 1; - break; - } -} while(function f(){}); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (check !== 1) { - $ERROR('#1: FunctionExpression within a "do-while" statement is allowed, but no function with the given name will appear in the global context'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.js deleted file mode 100644 index e8620d168e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A11; -* @section: 12.6.1; -* @assertion: Block "{}" in a "do-while" Expression is evaluated to true; -* @description: Checking if execution of "do {} while({})" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A11", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.js", - -assertion: "Block \"{}\" in a \"do-while\" Expression is evaluated to true", - -description: "Checking if execution of \"do {} while({})\" passes", - -test: function testcase() { - do { - var __in__do=1; - if(__in__do)break; -} while({}); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do !== 1) { - $ERROR('#1: "{}" in do-while expression evaluates to true'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.js deleted file mode 100644 index 4af5029a93..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -do var x=1; var y =2; while (0); -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js deleted file mode 100644 index 48794205f3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - -"use strict"; - -do{ - function __func(){}; -} while(0); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js deleted file mode 100644 index aaeb813f1d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - (function(){ -"use strict"; -do{ - function __func(){}; -}while(0); - -}); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.js deleted file mode 100644 index 27703d0b14..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function(){ - -do{ - function __func(){}; -}while(0); - -}; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.js deleted file mode 100644 index e0050cd335..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A14_T1; -* @section: 12.6.1, 13; -* @assertion: FunctionExpression within a "do-while" Expression is allowed; -* @description: Using FunctionExpression "function __func(){return 0;}" as an Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A14_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.js", - -assertion: "FunctionExpression within a \"do-while\" Expression is allowed", - -description: "Using FunctionExpression \"function __func(){return 0;}\" as an Expression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -do{ - var __reached = 1; - break; -}while(function __func(){return 0;}); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__reached !== 1) { - $ERROR('#2: function expession inside of do-while expression is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.js deleted file mode 100644 index 7edb6ceb4b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A14_T2; -* @section: 12.6.1; -* @assertion: FunctionExpression within a "do-while" Expression is allowed; -* @description: Using FunctionExpression "function __func(){return 0;}()" as an Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A14_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.js", - -assertion: "FunctionExpression within a \"do-while\" Expression is allowed", - -description: "Using FunctionExpression \"function __func(){return 0;}()\" as an Expression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -do{ - var __reached = 1; - break; -}while(function __func(){return 0;}()); -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__reached !== 1) { - $ERROR('#2: function expession inside of do-while expression is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.js deleted file mode 100644 index cd2d5601a8..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -do{ - ; -}while({0}); -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.js deleted file mode 100644 index 4ceb6de170..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A2; -* @section: 12.6.1; -* @assertion: While evaluating "do Statement while ( Expression )", Statement is evaluated first and only after it is done Expression is checked; -* @description: Evaluating Statement with error Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.js", - -assertion: "While evaluating \"do Statement while ( Expression )\", Statement is evaluated first and only after it is done Expression is checked", - -description: "Evaluating Statement with error Expression", - -test: function testcase() { - try { - do __in__do = "reached"; while (abbracadabra); - $ERROR('#1: \'do __in__do = "reached"; while (abbracadabra)\' lead to throwing exception'); -} catch (e) {} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do !== "reached") { - $ERROR('#1.1: __in__do === "reached". Actual: __in__do ==='+ __in__do ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.js deleted file mode 100644 index 6b6cf6f23a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A3; -* @section: 12.6.1; -* @assertion: When the production "do Statement while ( Expression )" is evaluated, then (normal, V, empty) is returned; -* @description: Using eval "eval("do __in__do=1; while (false)")"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A3", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.js", - -assertion: "When the production \"do Statement while ( Expression )\" is evaluated, then (normal, V, empty) is returned", - -description: "Using eval \"eval(\"do __in__do=1; while (false)\")\"", - -test: function testcase() { - __evaluated = eval("do __in__do=1; while (false)"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__in__do !== 1) { - $ERROR('#1: __in__do === 1. Actual: __in__do ==='+ __in__do ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__evaluated !== 1) { - $ERROR('#2: __evaluated === 1. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.js deleted file mode 100644 index c473a796c1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A4_T1; -* @section: 12.6.1, 12.8; -* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; -* @description: Using "break" within a "do-while" loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A4_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.js", - -assertion: "\"break\" within a \"do-while\" Statement is allowed and performed as described in 12.8", - -description: "Using \"break\" within a \"do-while\" loop", - -test: function testcase() { - do { - __in__do__before__break="reached"; - break; - __in__do__after__break="where am i"; -} while(2===1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do__before__break !== "reached") { - $ERROR('#1: __in__do__before__break === "reached". Actual: __in__do__before__break ==='+ __in__do__before__break ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __in__do__after__break !== "undefined") { - $ERROR('#2: typeof __in__do__after__break === "undefined". Actual: typeof __in__do__after__break ==='+ typeof __in__do__after__break ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.js deleted file mode 100644 index 191ae857ee..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A4_T2; -* @section: 12.6.1, 12.8; -* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; -* @description: "break" and VariableDeclaration within a "do-while" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A4_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.js", - -assertion: "\"break\" within a \"do-while\" Statement is allowed and performed as described in 12.8", - -description: "\"break\" and VariableDeclaration within a \"do-while\" statement", - -test: function testcase() { - do_out : do { - var __in__do__before__break="black"; - do_in : do { - var __in__do__IN__before__break="hole"; - break do_in; - var __in__do__IN__after__break="sun"; - } while (0); - var __in__do__after__break="won't you come"; -} while(2==1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)) { - $ERROR('#1: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)===true. Actual: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)==='+ (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.js deleted file mode 100644 index 7b70178290..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A4_T3; -* @section: 12.6.1, 12.2, 12.8; -* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; -* @description: "break" and VariableDeclaration within a "do-while" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A4_T3", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.js", - -assertion: "\"break\" within a \"do-while\" Statement is allowed and performed as described in 12.8", - -description: "\"break\" and VariableDeclaration within a \"do-while\" statement", - -test: function testcase() { - do_out : do { - var __in__do__before__break="once"; - do_in : do { - var __in__do__IN__before__break="in"; - break do_out; - var __in__do__IN__after__break="the"; - } while (0); - var __in__do__after__break="lifetime"; -} while(2===1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break)) { - $ERROR('#1: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break)===true. Actual: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break)==='+ (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.js deleted file mode 100644 index 805b076f3c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A4_T4; -* @section: 12.6.1, 12.8; -* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; -* @description: "break" and VariableDeclaration within a "do-while" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A4_T4", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.js", - -assertion: "\"break\" within a \"do-while\" Statement is allowed and performed as described in 12.8", - -description: "\"break\" and VariableDeclaration within a \"do-while\" statement", - -test: function testcase() { - do_out : do { - var __in__do__before__break="reached"; - do_in : do { - var __in__do__IN__before__break="reached"; - break; - var __in__do__IN__after__break="where am i"; - } while (0); - var __in__do__after__break="where am i"; -} while(2===1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)) { - $ERROR('#1: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)===true. Actual: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)==='+ (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.js deleted file mode 100644 index 1e0a470417..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A4_T5; -* @section: 12.6.1, 12.8; -* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; -* @description: Using labeled "break" in order to continue a loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A4_T5", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.js", - -assertion: "\"break\" within a \"do-while\" Statement is allowed and performed as described in 12.8", - -description: "Using labeled \"break\" in order to continue a loop", - -test: function testcase() { - //CHECK#1 -var i=0; -woohoo:{ - do{ - i++; - if ( ! (i < 10) ) { - break woohoo; - $ERROR('#1.1: "break woohoo" must break loop'); - } - } while ( true ); - if (i!==10) $ERROR('#1.2: i===10. Actual: i==='+ i ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.js deleted file mode 100644 index 87a3dd4d9d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A5; -* @section: 12.6.1; -* @assertion: After "do-while" is broken, (normal, V, empty) is returned; -* @description: Using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A5", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.js", - -assertion: "After \"do-while\" is broken, (normal, V, empty) is returned", - -description: "Using eval", - -test: function testcase() { - __evaluated = eval("do {__in__do__before__break=1; break; __in__do__after__break=2;} while(0)"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do__before__break !== 1) { - $ERROR('#1: __in__do__before__break === 1. Actual: __in__do__before__break ==='+ __in__do__before__break ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __in__do__after__break !== "undefined") { - $ERROR('#2: typeof __in__do__after__break === "undefined". Actual: typeof __in__do__after__break ==='+ typeof __in__do__after__break ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__evaluated !== 1) { - $ERROR('#3: __evaluated === 1. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.js deleted file mode 100644 index 2a310aa2e4..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -do break; while 1; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.js deleted file mode 100644 index 9767b854aa..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -do break; while 0; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.js deleted file mode 100644 index 9ac1bad1b7..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -do break; while true; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.js deleted file mode 100644 index 4d1f658fc1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -do break; while false; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5.js deleted file mode 100644 index f2fc8caec5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -do break; while ''; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6.js deleted file mode 100644 index 6fd8ea8cce..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -do break; while 'hood'; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7.js deleted file mode 100644 index 4750fc1f87..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A7; -* @section: 12.6.1; -* @assertion: The "do-while" Statement is evaluted according to 12.6.1 and returns (normal, V, empty); -* @description: Using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A7", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7.js", - -assertion: "The \"do-while\" Statement is evaluted according to 12.6.1 and returns (normal, V, empty)", - -description: "Using eval", - -test: function testcase() { - var __condition=0 - -__evaluated = eval("do eval(\"__condition++\"); while (__condition<5)"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__condition !== 5) { - $ERROR('#1: The "do-while" statement is evaluted according to the Standard '); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__evaluated !== 4) { - $ERROR('#2: The "do-while" statement returns (normal, V, empty)'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8.js deleted file mode 100644 index a8434e4d91..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A8; -* @section: 12.6.1; -* @assertion: "continue" statement within a "do-while" Statement is allowed; -* @description: Using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A8", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8.js", - -assertion: "\"continue\" statement within a \"do-while\" Statement is allowed", - -description: "Using eval", - -test: function testcase() { - var __condition = 0, __odds=0; - -__evaluated = eval("do { __condition++; if (((''+__condition/2).split('.')).length>1) continue; __odds++;} while(__condition < 10)"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__odds !== 5) { - $ERROR('#1: __odds === 5. Actual: __odds ==='+ __odds ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__evaluated !== 4) { - $ERROR('#2: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9.js deleted file mode 100644 index 2116208074..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A9; -* @section: 12.6.1; -* @assertion: "do-while" Statement is evaluated without syntax checks; -* @description: Throwing system exception whithin a "do-while" loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.1_A9", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9.js", - -assertion: "\"do-while\" Statement is evaluated without syntax checks", - -description: "Throwing system exception whithin a \"do-while\" loop", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - do { - var x = 1; - abaracadabara; - } while(0); - $ERROR('#1: "abbracadabra" lead to throwing exception'); - -} catch (e) {} - -if (x !== 1) { - $ERROR('#1.1: x === 1. Actual: x ==='+ x ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1.js deleted file mode 100644 index 500cdd7ba9..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1.js +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A1; -* @section: 12.6.2; -* @assertion: Expression from "while" IterationStatement is evaluated first; "false", "0", "null", "undefined" and "empty" strings used as the Expression are evaluated to "false"; -* @description: Evaluating various Expressions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1.js", - -assertion: "Expression from \"while\" IterationStatement is evaluated first; \"false\", \"0\", \"null\", \"undefined\" and \"empty\" strings used as the Expression are evaluated to \"false\"", - -description: "Evaluating various Expressions", - -test: function testcase() { - var __in__do; - -while ( false ) __in__do=1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do !== undefined) { - $ERROR('#1: false evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -while ( 0 ) __in__do=2; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__in__do !== undefined) { - $ERROR('#2: 0 evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -while ( "" ) __in__do=3; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__in__do !== undefined) { - $ERROR('#3: empty string evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -while ( null ) __in__do=4; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__in__do !== undefined) { - $ERROR('#4: null evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -while ( undefined ) __in__do=35; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__in__do !== undefined) { - $ERROR('#5: undefined evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10.js deleted file mode 100644 index d580c678ac..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A10; -* @section: 12.6.2, 13.2; -* @assertion: FunctionExpression within a "while" IterationStatement is allowed, but no function with the given name will appear in the global context; -* @description: Testing FunctionExpression too; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A10", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10.js", - -assertion: "FunctionExpression within a \"while\" IterationStatement is allowed, but no function with the given name will appear in the global context", - -description: "Testing FunctionExpression too", - -test: function testcase() { - var check=0; -while(function f(){}){ - if(typeof(f) === "function") { - check = -1; - break; - } else { - check = 1; - break; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (check !== 1) { - $ERROR('#1: FunctionExpression inside while construction expression allowed but function not declare'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11.js deleted file mode 100644 index 361e8636db..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A11; -* @section: 12.6.2; -* @assertion: "{}" Block within a "while" Expression is evaluated to true; -* @description: Checking if execution of "while({}){}" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A11", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11.js", - -assertion: "\"{}\" Block within a \"while\" Expression is evaluated to true", - -description: "Checking if execution of \"while({}){}\" passes", - -test: function testcase() { - while({}){ - var __in__do=1; - if(__in__do)break; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do !== 1) { - $ERROR('#1: "{}" in while expression evaluates to true'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1.js deleted file mode 100644 index fa9de642ae..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - while(0){ - function __func(){}; -}; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2.js deleted file mode 100644 index 77dcbc7bc6..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - (function(){ - -while(0){ - function __func(){}; -}; - -})(); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3.js deleted file mode 100644 index 99680309c6..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function(){ - -while(0){ - function __func(){}; -}; - -}; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1.js deleted file mode 100644 index 8d691f0a63..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A14_T1; -* @section: 12.6.2; -* @assertion: FunctionExpression within a "while" Expression is allowed; -* @description: Using "function __func(){return 0;}" as an Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A14_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1.js", - -assertion: "FunctionExpression within a \"while\" Expression is allowed", - -description: "Using \"function __func(){return 0;}\" as an Expression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -while(function __func(){return 0;}){ - var __reached = 1; - break; -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__reached !== 1) { - $ERROR('#2: function expression inside of while expression is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2.js deleted file mode 100644 index 054f638b33..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A14_T2; -* @section: 12.6.2; -* @assertion: FunctionExpression within a "while" Expression is allowed; -* @description: Using function call as an Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A14_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2.js", - -assertion: "FunctionExpression within a \"while\" Expression is allowed", - -description: "Using function call as an Expression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -while(function __func(){return 1;}()){ - var __reached = 1; - break; -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__reached !== 1) { - $ERROR('#2: function expression inside of while expression is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15.js deleted file mode 100644 index 5932dc7407..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -while({1}){ - break ; -}; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2.js deleted file mode 100644 index 64df6e609e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A2; -* @section: 12.6.2; -* @assertion: While evaluating The production IterationStatement: "while ( Expression ) Statement", Expression is evaluated first; -* @description: Evaluating Statement with error Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2.js", - -assertion: "While evaluating The production IterationStatement: \"while ( Expression ) Statement\", Expression is evaluated first", - -description: "Evaluating Statement with error Expression", - -test: function testcase() { - try { - while ((function(){throw 1})()) __in__while = "reached"; - $ERROR('#1: \'while ((function(){throw 1})()) __in__while = "reached"\' lead to throwing exception'); -} catch (e) { - if (e !== 1) { - $ERROR('#1: Exception === 1. Actual: Exception ==='+e); - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __in__while !== "undefined") { - $ERROR('#1.1: typeof __in__while === "undefined". Actual: typeof __in__while ==='+typeof __in__while); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3.js deleted file mode 100644 index 22c34014ab..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A3; -* @section: 12.6.2; -* @assertion: When "while" IterationStatement is evaluated, (normal, V, empty) is returned; -* @description: Using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A3", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3.js", - -assertion: "When \"while\" IterationStatement is evaluated, (normal, V, empty) is returned", - -description: "Using eval", - -test: function testcase() { - var __in__do; - -__evaluated = eval("while (false) __in__do=1;"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__in__do !== undefined) { - $ERROR('#1: __in__do === undefined. Actual: __in__do ==='+ __in__do ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__evaluated !== undefined) { - $ERROR('#2: __evaluated === undefined. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js deleted file mode 100644 index 751a39a533..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A4_T1; -* @section: 12.6.2, 12.8; -* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; -* @description: "break" within a "while" Statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A4_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js", - -assertion: "\"break\" within a \"while\" Statement is allowed and performed as described in 12.8", - -description: "\"break\" within a \"while\" Statement", - -test: function testcase() { - while(1===1){ - __in__do__before__break="reached"; - break; - __in__do__after__break="where am i"; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do__before__break !== "reached") { - $ERROR('#1: __in__do__before__break === "reached". Actual: __in__do__before__break ==='+ __in__do__before__break ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __in__do__after__break !== "undefined") { - $ERROR('#2: typeof __in__do__after__break === "undefined". Actual: typeof __in__do__after__break ==='+ typeof __in__do__after__break ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2.js deleted file mode 100644 index 80c2e5b2f3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A4_T2; -* @section: 12.6.2; -* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; -* @description: "break" and VariableDeclaration within a "while" Statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A4_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2.js", - -assertion: "\"break\" within a \"while\" Statement is allowed and performed as described in 12.8", - -description: "\"break\" and VariableDeclaration within a \"while\" Statement", - -test: function testcase() { - do_out : while(1===1) { - if (__in__do__before__break) break; - var __in__do__before__break="black"; - do_in : while (1) { - var __in__do__IN__before__break="hole"; - break do_in; - var __in__do__IN__after__break="sun"; - } ; - var __in__do__after__break="won't you come"; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)) { - $ERROR('#1: Break inside do-while is allowed as its described at standard'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3.js deleted file mode 100644 index cc94a4c097..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A4_T3; -* @section: 12.6.2, 12.2; -* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; -* @description: "break" and VariableDeclaration within a "while" Statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A4_T3", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3.js", - -assertion: "\"break\" within a \"while\" Statement is allowed and performed as described in 12.8", - -description: "\"break\" and VariableDeclaration within a \"while\" Statement", - -test: function testcase() { - do_out : while(1===1) { - if (__in__do__before__break) break; - var __in__do__before__break="once"; - do_in : while (1) { - var __in__do__IN__before__break="in"; - break do_out; - var __in__do__IN__after__break="the"; - } ; - var __in__do__after__break="lifetime"; -} ; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break)) { - $ERROR('#1: Break inside do-while is allowed as its described at standard'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4.js deleted file mode 100644 index f172ced8bf..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A4_T4; -* @section: 12.6.2; -* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; -* @description: "break" and VariableDeclaration within a "while" Statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A4_T4", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4.js", - -assertion: "\"break\" within a \"while\" Statement is allowed and performed as described in 12.8", - -description: "\"break\" and VariableDeclaration within a \"while\" Statement", - -test: function testcase() { - do_out : while(1===1) { - if(__in__do__before__break)break; - var __in__do__before__break="can't"; - do_in : while (1) { - var __in__do__IN__before__break="get"; - break; - var __in__do__IN__after__break="no"; - } ; - var __in__do__after__break="Satisfaction"; -} ; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)) { - $ERROR('#1: Break inside do-while is allowed as its described at standard'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5.js deleted file mode 100644 index 3757d080ac..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A4_T5; -* @section: 12.6.2; -* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; -* @description: Using labeled "break" in order to continue a "while" loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A4_T5", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5.js", - -assertion: "\"break\" within a \"while\" Statement is allowed and performed as described in 12.8", - -description: "Using labeled \"break\" in order to continue a \"while\" loop", - -test: function testcase() { - //CHECK#1 -var i=0; -woohoo:{ - while(true){ - i++; - if ( ! (i < 10) ) { - break woohoo; - $ERROR('#1.1: "break woohoo" must break loop'); - } - } - if (i!==10) $ERROR('#1.2: i===10. Actual: i==='+ i ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5.js deleted file mode 100644 index 3cd22d1b5a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A5; -* @section: 12.6.2; -* @assertion: While using "while" within an eval statement, source "break" is allowed and (normal, V, empty) is returned; -* @description: Using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A5", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5.js", - -assertion: "While using \"while\" within an eval statement, source \"break\" is allowed and (normal, V, empty) is returned", - -description: "Using eval", - -test: function testcase() { - __evaluated = eval("while(1) {__in__do__before__break=1; break; __in__do__after__break=2;}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do__before__break !== 1) { - $ERROR('#1: __in__do__before__break === 1. Actual: __in__do__before__break ==='+ __in__do__before__break ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __in__do__after__break !== "undefined") { - $ERROR('#2: typeof __in__do__after__break === "undefined". Actual: typeof __in__do__after__break ==='+ typeof __in__do__after__break ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__evaluated !== 1) { - $ERROR('#3: __evaluated === 1. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1.js deleted file mode 100644 index 7e95041458..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -while 1 break; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.js deleted file mode 100644 index 4e042fabdd..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -while 0 break; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3.js deleted file mode 100644 index 3ebffdf142..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -while true break; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js deleted file mode 100644 index 3fb522d7b8..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -while false break; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5.js deleted file mode 100644 index 80b4b21c43..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -while '' break; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6.js deleted file mode 100644 index 01ff099fce..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -while 'hood' break; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7.js deleted file mode 100644 index ae1d5b17be..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A7; -* @section: 12.6.2; -* @assertion: The "while" Statement is evaluted according to 12.6.2 and returns (normal, V, empty); -* @description: using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A7", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7.js", - -assertion: "The \"while\" Statement is evaluted according to 12.6.2 and returns (normal, V, empty)", - -description: "using eval", - -test: function testcase() { - var __condition=0 - -__evaluated = eval("while (__condition<5) eval(\"__condition++\");"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__condition !== 5) { - $ERROR('#1: The "while" statement is evaluated as described in the Standard'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__evaluated !== 4) { - $ERROR('#2: The "while" statement returns (normal, V, empty)'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js deleted file mode 100644 index 9423fe963b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A8; -* @section: 12.6.2; -* @assertion: "continue" statement within a "while" Statement is allowed; -* @description: using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A8", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js", - -assertion: "\"continue\" statement within a \"while\" Statement is allowed", - -description: "using eval", - -test: function testcase() { - var __condition = 0, __odds=0; - -__evaluated = eval("while(__condition < 10) { __condition++; if (((''+__condition/2).split('.')).length>1) continue; __odds++;}"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__odds !== 5) { - $ERROR('#1: __odds === 5. Actual: __odds ==='+ __odds ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__evaluated !== 4) { - $ERROR('#2: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9.js deleted file mode 100644 index 688f391e13..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.2_A9; -* @section: 12.6.2; -* @assertion: "while" Statement is evaluated without syntax checks; -* @description: Throwing system exception inside "while" loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.2_A9", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9.js", - -assertion: "\"while\" Statement is evaluated without syntax checks", - -description: "Throwing system exception inside \"while\" loop", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - while(x!=1) { - var x = 1; - abaracadabara; - }; - $ERROR('#1: "abbracadabra" lead to throwing exception'); - -} catch (e) {} - -if (x !== 1) { - $ERROR('#1.1: while statement evaluates as is, without syntax checks'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1.js deleted file mode 100644 index 070d19ea1d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A1; -* @section: 12.6.3; -* @assertion: The "for {;;}" for Statement with empty expressions is allowed and leads to performing an infinite loop; -* @description: Breaking an infinite loop by throwing exception; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1.js", - -assertion: "The \"for {;;}\" for Statement with empty expressions is allowed and leads to performing an infinite loop", - -description: "Breaking an infinite loop by throwing exception", - -test: function testcase() { - var __in__for = 0; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - for (;;){ - //__in__for++; - if(++__in__for>100)throw 1; -} -} catch (e) { - if (e !== 1) { - $ERROR('#1: for {;;} is admitted and leads to infinite loop'); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__in__for !== 101) { - $ERROR('#2: __in__for === 101. Actual: __in__for ==='+ __in__for ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1.js deleted file mode 100644 index 4ca751012e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1.js +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A10.1; -* @section: 12.6.3; -* @assertion: Nested "var-loops" nine blocks depth is evaluated properly; -* @description: Checking if executing nested "var-loops" nine blocks depth is evaluated properly; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A10.1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1.js", - -assertion: "Nested \"var-loops\" nine blocks depth is evaluated properly", - -description: "Checking if executing nested \"var-loops\" nine blocks depth is evaluated properly", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - __in__deepest__loop=__in__deepest__loop; -} catch (e) { - $ERROR('#1: "__in__deepest__loop=__in__deepest__loop" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - index0=index0; -} catch (e) { - $ERROR('#2: "index0=index0" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try { - index1=index1; -} catch (e) { - $ERROR('#3: "index1=index1" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -try { - index4=index4; -} catch (e) { - $ERROR('#4: "index4=index4" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -try { - index5=index5; -} catch (e) { - $ERROR('#4: "index5=index5" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -try { - index7=index7; -} catch (e) { - $ERROR('#6: "index7=index7" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -try { - index8=index8; -} catch (e) { - $ERROR('#7: "index8=index8" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -for( var index0=0; index0<=1; index0++) { - for(var index1=0; index1<=index0; index1++) { - for( index2=0; index2<=index1; index2++) { - for( index3=0; index3<=index2; index3++) { - for(var index4=0; index4<=index3; index4++) { - for(var index5=0; index5<=index4; index5++) { - for( index6=0; index6<=index5; index6++) { - for(var index7=0; index7<=index6; index7++) { - for(var index8=0; index8<=index1; index8++) { - var __in__deepest__loop; - __str+=""+index0+index1+index2+index3+index4+index5+index6+index7+index8+'\n'; - } - } - } - } - } - } - } - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str!== "000000000\n100000000\n110000000\n110000001\n111000000\n111000001\n111100000\n111100001\n111110000\n111110001\n111111000\n111111001\n111111100\n111111101\n111111110\n111111111\n") { - $ERROR('#2: __str === "000000000\\n100000000\\n110000000\\n110000001\\n111000000\\n111000001\\n111100000\\n111100001\\n111110000\\n111110001\\n111111000\\n111111001\\n111111100\\n111111101\\n111111110\\n111111111\\n". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.js deleted file mode 100644 index b91f2b53d6..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A10; -* @section: 12.6.3; -* @assertion: Nested "var-loops" nine blocks depth is evaluated properly; -* @description: Checking if executing nested "var-loops" nine blocks depth is evaluated properly; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A10", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.js", - -assertion: "Nested \"var-loops\" nine blocks depth is evaluated properly", - -description: "Checking if executing nested \"var-loops\" nine blocks depth is evaluated properly", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -try { - __in__deepest__loop=__in__deepest__loop; -} catch (e) { - $ERROR('#1: "__in__deepest__loop=__in__deepest__loop" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -for( index0=0; index0<=1; index0++) { - for( index1=0; index1<=index0; index1++) { - for( index2=0; index2<=index1; index2++) { - for( index3=0; index3<=index2; index3++) { - for( index4=0; index4<=index3; index4++) { - for( index5=0; index5<=index4; index5++) { - for( index6=0; index6<=index5; index6++) { - for( index7=0; index7<=index6; index7++) { - for( index8=0; index8<=index1; index8++) { - var __in__deepest__loop; - __str+=""+index0+index1+index2+index3+index4+index5+index6+index7+index8+'\n'; - } - } - } - } - } - } - } - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str!== "000000000\n100000000\n110000000\n110000001\n111000000\n111000001\n111100000\n111100001\n111110000\n111110001\n111111000\n111111001\n111111100\n111111101\n111111110\n111111111\n") { - $ERROR('#2: __str === "000000000\\n100000000\\n110000000\\n110000001\\n111000000\\n111000001\\n111100000\\n111100001\\n111110000\\n111110001\\n111111000\\n111111001\\n111111100\\n111111101\\n111111110\\n111111111\\n". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1.js deleted file mode 100644 index 1ad7a4a85c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A11.1_T1; -* @section: 12.6.3; -* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks; -* @description: Using "continue" in order to continue a loop; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A11.1_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1.js", - -assertion: "If (Evaluate Statement).type is \"continue\" and (Evaluate Statement).target is in the current label set, iteration of labeled \"var-loop\" breaks", - -description: "Using \"continue\" in order to continue a loop", - -test: function testcase() { - __str="" - -for(var index=0; index<10; index+=1) { - if (index<5)continue; - __str+=index; -} - -if (__str!=="56789") { - $ERROR('#1: __str === "56789". Actual: __str ==='+ __str ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2.js deleted file mode 100644 index 2e574877df..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A11.1_T2; -* @section: 12.6.3; -* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks; -* @description: Embedded loops; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A11.1_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2.js", - -assertion: "If (Evaluate Statement).type is \"continue\" and (Evaluate Statement).target is in the current label set, iteration of labeled \"var-loop\" breaks", - -description: "Embedded loops", - -test: function testcase() { - __str=""; - -outer : for(var index=0; index<4; index+=1) { - nested : for(var index_n=0; index_n<=index; index_n++) { - if (index*index_n == 6)continue nested; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str !== "001011202122303133") { - $ERROR('#1: __str === "001011202122303133". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -outer : for(var index=0; index<4; index+=1) { - nested : for(var index_n=0; index_n<=index; index_n++) { - if (index*index_n == 6)continue outer; - __str+=""+index+index_n; - } -} -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "0010112021223031") { - $ERROR('#2: __str === "0010112021223031". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -outer : for(var index=0; index<4; index+=1) { - nested : for(var index_n=0; index_n<=index; index_n++) { - if (index*index_n == 6)continue ; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__str !== "001011202122303133") { - $ERROR('#3: __str === "001011202122303133". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3.js deleted file mode 100644 index b75c36b6f3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - __str=""; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -outer:for(var index=0;index<4;index+=1){ - nested:for(var index_n=0;index_n<=index;index_n++){ - if(index*index_n == 6)continue nonexist; - __str+=""+index+index_n; - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1.js deleted file mode 100644 index 04bfbcbe7b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A11_T1; -* @section: 12.6.3; -* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks; -* @description: Simple test of continue loop with using "continue"; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A11_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1.js", - -assertion: "If (Evaluate Statement).type is \"continue\" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks", - -description: "Simple test of continue loop with using \"continue\"", - -test: function testcase() { - __str="" - -for(index=0; index<10; index+=1) { - if (index<5)continue; - __str+=index; -} - -if (__str!=="56789") { - $ERROR('#1: __str === "56789". Actual: __str ==='+ __str ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2.js deleted file mode 100644 index 8ad3a8dfc2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A11_T2; -* @section: 12.6.3; -* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks; -* @description: Embedded loops; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A11_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2.js", - -assertion: "If (Evaluate Statement).type is \"continue\" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks", - -description: "Embedded loops", - -test: function testcase() { - __str=""; - -outer : for(index=0; index<4; index+=1) { - nested : for(index_n=0; index_n<=index; index_n++) { - if (index*index_n == 6)continue nested; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str !== "001011202122303133") { - $ERROR('#1: __str === "001011202122303133". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -outer : for(index=0; index<4; index+=1) { - nested : for(index_n=0; index_n<=index; index_n++) { - if (index*index_n == 6)continue outer; - __str+=""+index+index_n; - } -} -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "0010112021223031") { - $ERROR('#2: __str === "0010112021223031". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -outer : for(index=0; index<4; index+=1) { - nested : for(index_n=0; index_n<=index; index_n++) { - if (index*index_n == 6)continue ; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__str !== "001011202122303133") { - $ERROR('#3: __str === "001011202122303133". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3.js deleted file mode 100644 index 15f275eb15..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - __str=""; - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -outer:for(index=0;index<4;index+=1){ - nested:for(index_n=0;index_n<=index;index_n++){ - if(index*index_n == 6)continue nonexist; - __str+=""+index+index_n; - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1.js deleted file mode 100644 index e8b6056211..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A12.1_T1; -* @section: 12.6.3; -* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"; -* @description: Breaking a loop with "break"; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A12.1_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1.js", - -assertion: "If (Evaluate Statement).type is \"break\" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a \"var-loop\"", - -description: "Breaking a loop with \"break\"", - -test: function testcase() { - __str="" - -for(var index=0; index<10; index+=1) { - if (index>5)break; - __str+=index; -} - -if (__str!=="012345") { - $ERROR('#1: __str === "012345". Actual: __str ==='+ __str ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2.js deleted file mode 100644 index 0f30b3aa3a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A12.1_T2; -* @section: 12.6.3; -* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"; -* @description: Embedded loops; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A12.1_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2.js", - -assertion: "If (Evaluate Statement).type is \"break\" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a \"var-loop\"", - -description: "Embedded loops", - -test: function testcase() { - __str=""; - -outer : for(var index=0; index<4; index+=1) { - nested : for(var index_n=0; index_n<=index; index_n++) { - if (index*index_n >= 4)break nested; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str !== "00101120213031") { - $ERROR('#1: __str === "00101120213031". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -outer : for(var index=0; index<4; index+=1) { - nested : for(var index_n=0; index_n<=index; index_n++) { - if (index*index_n >= 4)break outer; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "0010112021") { - $ERROR('#2: __str === "0010112021". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -outer : for(var index=0; index<4; index+=1) { - nested : for(var index_n=0; index_n<=index; index_n++) { - if (index*index_n >= 4)break ; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__str !== "00101120213031") { - $ERROR('#3: __str === "00101120213031". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3.js deleted file mode 100644 index bfe42c88df..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - __str=""; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -outer:for(var index=0;index<4;index+=1){ - nested:for(var index_n=0;index_n<=index;index_n++){ - if(index*index_n >= 4)break nonexist; - __str+=""+index+index_n; - } -} -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1.js deleted file mode 100644 index 25b1a46e70..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A12_T1; -* @section: 12.6.3; -* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop; -* @description: Breaking a loop with "break"; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A12_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1.js", - -assertion: "If (Evaluate Statement).type is \"break\" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop", - -description: "Breaking a loop with \"break\"", - -test: function testcase() { - __str="" - -for(index=0; index<10; index+=1) { - if (index>5)break; - __str+=index; -} - -if (__str!=="012345") { - $ERROR('#1:__str === "012345". Actual: __str ==='+__str ); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2.js deleted file mode 100644 index 0c992a143d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A12_T2; -* @section: 12.6.3; -* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop; -* @description: Embedded loops; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A12_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2.js", - -assertion: "If (Evaluate Statement).type is \"break\" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop", - -description: "Embedded loops", - -test: function testcase() { - __str=""; - -outer : for(index=0; index<4; index+=1) { - nested : for(index_n=0; index_n<=index; index_n++) { - if (index*index_n >= 4)break nested; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str !== "00101120213031") { - $ERROR('#1: __str === "00101120213031". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -outer : for(index=0; index<4; index+=1) { - nested : for(index_n=0; index_n<=index; index_n++) { - if (index*index_n >= 4)break outer; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "0010112021") { - $ERROR('#2: __str === "0010112021". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str=""; - -outer : for(index=0; index<4; index+=1) { - nested : for(index_n=0; index_n<=index; index_n++) { - if (index*index_n >= 4)break ; - __str+=""+index+index_n; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__str !== "00101120213031") { - $ERROR('#3: __str === "00101120213031". Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3.js deleted file mode 100644 index 204b23bf54..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - __str=""; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -outer:for(index=0;index<4;index+=1){ - nested:for(index_n=0;index_n<=index;index_n++){ - if(index*index_n >= 4)break nonexist; - __str+=""+index+index_n; - } -}; -// -////////////////////////////////////////////////////////////////////////////// - - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13.js deleted file mode 100644 index cb374837d3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A13; -* @section: 12.6.3; -* @assertion: VariableDeclaration in "var VariableDeclarationListNoIn" of for IterationStatement is allowed; -* @description: Declaring variable in "for" ExpressionNoIn; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A13", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13.js", - -assertion: "VariableDeclaration in \"var VariableDeclarationListNoIn\" of for IterationStatement is allowed", - -description: "Declaring variable in \"for\" ExpressionNoIn", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - index = index; -} catch (e) { - $ERROR('#1: VariableDeclaration in "var VariableDeclarationListNoIn" of for IterationStatement is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - -for(var index=0; index<6; index++) { - ; -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14.js deleted file mode 100644 index 9ebe312351..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A14; -* @section: 12.6.3; -* @assertion: The production IterationStatement: "for (var VariableDeclarationListNoIn; Expression; Expression) Statement"; -* @description: Using +,*,/, as the second Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A14", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationListNoIn; Expression; Expression) Statement\"", - -description: "Using +,*,/, as the second Expression", - -test: function testcase() { - //CHECK#1 -for(var i=0;i<10;i++){} -if (i!==10) $ERROR('#1: i === 10. Actual: i ==='+ i ); - -//CHECK#2 -var j=0; -for(var i=1;i<10;i*=2){ - j++; -} -if (i!==16) $ERROR('#2.1: i === 16. Actual: i ==='+ i ); -if (j!==4) $ERROR('#2.2: j === 4. Actual: j ==='+ j ); - -//CHECK#3 -var j=0; -for(var i=16;i>1;i=i/2){ - j++; -} -if (i!==1) $ERROR('#3.1: i === 1. Actual: i ==='+ i ); -if (j!==4) $ERROR('#3.2: j === 4. Actual: j ==='+ j ); - -//CHECK#4 -var j=0; -for(var i=10;i>1;i--){ - j++; -} -if (i!==1) $ERROR('#4.1: i === 1. Actual: i ==='+ i ); -if (j!==9) $ERROR('#4.2: j === 9. Actual: j ==='+ j ); - -//CHECK#5 -var j=0; -for(var i=2;i<10;i*=i){ - j++; -} -if (i!==16) $ERROR('#5.1: i === 16. Actual: i ==='+ i ); -if (j!==2) $ERROR('#5.2: j === 2. Actual: j ==='+ j ); - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js deleted file mode 100644 index 4fcd04f7a5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A15; -* @section: 12.6.3; -* @assertion: The production IterationStatement: "for (var VariableDeclarationListNoIn; Expression; Expression) Statement"; -* @description: Statement must be evaluated before second Expression is evaluated; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A15", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationListNoIn; Expression; Expression) Statement\"", - -description: "Statement must be evaluated before second Expression is evaluated", - -test: function testcase() { - //CHECK#1 -for(var i=0;i<10;i++){ - i*=2; - break; -} -if (i!==0) $ERROR('#1: i === 0. Actual: i ==='+ i ); - -//CHECK#2 -for(var i=0;i<10;i++){ - i*=2; - if (i===3) $ERROR('#2: i !== 3'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1.js deleted file mode 100644 index 911d148cf2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A2.1; -* @section: 12.6.3; -* @assertion: While evaluating "for (ExpressionNoIn ; ; Expression) Statement", Statement is evaulated first; -* @description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A2.1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1.js", - -assertion: "While evaluating \"for (ExpressionNoIn ; ; Expression) Statement\", Statement is evaulated first", - -description: "Using \"(function(){throw \"NoInExpression\"})()\" as ExpressionNoIn", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - for((function(){throw "NoInExpression"})(); ;(function(){throw "SecondExpression"})()) { - throw "Statement"; - } - $ERROR('#1: (function(){throw "NoInExpression"})() lead to throwing exception'); -} catch (e) { - if (e !== "NoInExpression") { - $ERROR('#2: When for (ExpressionNoIn ; ; Expression) Statement is evaluated NoInExpression evaluates first'); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2.js deleted file mode 100644 index b755cb4c14..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A2.2; -* @section: 12.6.3; -* @assertion: While evaluating "for (ExpressionNoIn;;) Statement", Statement is evaulated first; -* @description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A2.2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2.js", - -assertion: "While evaluating \"for (ExpressionNoIn;;) Statement\", Statement is evaulated first", - -description: "Using \"(function(){throw \"NoInExpression\"})()\" as ExpressionNoIn", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - for((function(){throw "NoInExpression"})();;) { - throw "Statement"; - } - $ERROR('#1: (function(){throw "NoInExpression"})() lead to throwing exception'); -} catch (e) { - if (e !== "NoInExpression") { - $ERROR('#1: When for (ExpressionNoIn ; ; ) Statement is evaluated NoInExpression evaluates first'); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.js deleted file mode 100644 index 9635b8908d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A2; -* @section: 12.6.3; -* @assertion: While evaluating "for (ExpressionNoIn; Expression; Expression) Statement", ExpressionNoIn is evaulated first; -* @description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.js", - -assertion: "While evaluating \"for (ExpressionNoIn; Expression; Expression) Statement\", ExpressionNoIn is evaulated first", - -description: "Using \"(function(){throw \"NoInExpression\"})()\" as ExpressionNoIn", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - for((function(){throw "NoInExpression";})(); (function(){throw "FirstExpression";})(); (function(){throw "SecondExpression";})()) { - var in_for = "reached"; - } - $ERROR('#1: (function(){throw "NoInExpression";})() lead to throwing exception'); -} catch (e) { - if (e !== "NoInExpression") { - $ERROR('#1: When for (ExpressionNoIn ; Expression ; Expression) Statement is evaluated ExpressionNoIn evaluates first'); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (in_for !== undefined) { - $ERROR('#2: in_for === undefined. Actual: in_for ==='+ in_for ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3.js deleted file mode 100644 index 1eccff0518..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A3; -* @section: 12.6.3; -* @assertion: While evaluating "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement", ExpressionNoIn is evaulated first, FirstExpressoin is evaluated second; -* @description: Using "(function(){throw "FirstExpression"})()" as FirstExpression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A3", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3.js", - -assertion: "While evaluating \"for (ExpressionNoIn; FirstExpression; SecondExpression) Statement\", ExpressionNoIn is evaulated first, FirstExpressoin is evaluated second", - -description: "Using \"(function(){throw \"FirstExpression\"})()\" as FirstExpression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - for((function(){__in__NotInExpression__ = "checked";__in__NotInExpression__2 = "passed";})(); (function(){throw "FirstExpression"})(); (function(){throw "SecondExpression"})()) { - __in__for="reached"; - } - $ERROR('#1: (function(){throw "SecondExpression"} lead to throwing exception'); -} catch (e) { - if (e !== "FirstExpression") { - $ERROR('#1: When for (ExpressionNoIn ; FirstExpression ; SecondExpression) Statement is evaluated first evaluates ExpressionNoIn then FirstExpression'); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if ((__in__NotInExpression__ !== "checked")&(__in__NotInExpression__2!=="passed")) { - $ERROR('#2: (__in__NotInExpression__ === "checked")&(__in__NotInExpression__2==="passed")'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __in__for !== "undefined") { - $ERROR('#3: typeof __in__for === "undefined". Actual: typeof __in__for ==='+ typeof __in__for ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1.js deleted file mode 100644 index fa22f3d285..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - arr = [1,2,3,4,5]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for (var a in arr;1;){ - break; -} -// -////////////////////////////////////////////////////////////////////////////// - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1.js deleted file mode 100644 index 37e8e83fe3..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - arr = [1,2,3,4,5]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for (a in arr;1;){ - break; -} -// -////////////////////////////////////////////////////////////////////////////// - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2.js deleted file mode 100644 index f0bbffe01d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - arr = [1,2,3,4,5]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(1 in arr;1;) { - break; -} -// -////////////////////////////////////////////////////////////////////////////// - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5.js deleted file mode 100644 index a2921e6193..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A5; -* @section: 12.6.3; -* @assertion: "in"-expression wrapped into "eval" statement is allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement; -* @description: Using eval "for(eval("i in arr");1;)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A5", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5.js", - -assertion: "\"in\"-expression wrapped into \"eval\" statement is allowed as a ExpressionNoIn in \"for (ExpressionNoIn; FirstExpression; SecondExpression) Statement\" IterationStatement", - -description: "Using eval \"for(eval(\"i in arr\");1;)\"", - -test: function testcase() { - arr = [1,2,3,4,5]; -i = 1; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - for(eval("i in arr");1;) {break;}; -} catch (e) { - $ERROR('#1.1: for(eval("i in arr");1;) {break;}; does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - for(eval("var i = 1 in arr");1;) {break;}; -} catch (e) { - $ERROR('#2.1: for(eval("var i = 1 in arr");1;) {break;}; does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try { - for(eval("1 in arr");1;) {break;}; -} catch (e) { - $ERROR('#3.1: for(eval("1 in arr");1;) {break;}; does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6.js deleted file mode 100644 index f1469bfbcd..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A6; -* @section: 12.6.3; -* @assertion: While evaluating "for ( ; ; Expression) Statement", Statement is evaluated first and then Expression is evaluated; -* @description: Using "(function(){throw "SecondExpression";})()" as an Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A6", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6.js", - -assertion: "While evaluating \"for ( ; ; Expression) Statement\", Statement is evaluated first and then Expression is evaluated", - -description: "Using \"(function(){throw \"SecondExpression\";})()\" as an Expression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - for(;;(function(){throw "SecondExpression";})()){ - var __in__for = "reached"; - } - $ERROR('#1: (function(){throw "SecondExpression"}() lead to throwing exception'); -} catch (e) { - if (e !== "SecondExpression") { - $ERROR('#1: When for ( ; ; Expression) Statement is evaluated Statement evaluates first then Expression evaluates'); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__in__for !== "reached") { - $ERROR('#2: __in__for === "reached". Actual: __in__for ==='+ __in__for ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1.js deleted file mode 100644 index 409acf4075..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(var index=0; index<10; index++; index--); -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2.js deleted file mode 100644 index c0078cfeb5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(var index=0; index<10; index+=4; index++; index--) ; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1.js deleted file mode 100644 index e69353a3fe..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(index=0; index<10; index++; index--) ; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2.js deleted file mode 100644 index dee4b4942d..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(index=0; index<10; index+=4; index++; index--) ; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1.js deleted file mode 100644 index b780b783a2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var arr = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(var index=0; index<100; {index++; index*2;}) { arr.add(""+index);}; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2.js deleted file mode 100644 index 7f4f1d03a1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var arr = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(var index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}; -// -////////////////////////////////////////////////////////////////////////////// - - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3.js deleted file mode 100644 index 2e624ca95e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var arr = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for({var index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}; -// -////////////////////////////////////////////////////////////////////////////// - - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1.js deleted file mode 100644 index 51c965775e..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var arr = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(index=0; index<100; {index++; index*2;}) { arr.add(""+index);}; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2.js deleted file mode 100644 index 2190147abe..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var arr = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3.js deleted file mode 100644 index c52de2ac4f..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var arr = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for({index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}; -// -////////////////////////////////////////////////////////////////////////////// - - - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1.js deleted file mode 100644 index ccb94a242f..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A9.1; -* @section: 12.6.3; -* @assertion: The result of evaluating "for( ExpNoIn;Exp;Exp)" loop is returning (normal, evalValue, empty); -* @description: Using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A9.1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1.js", - -assertion: "The result of evaluating \"for( ExpNoIn;Exp;Exp)\" loop is returning (normal, evalValue, empty)", - -description: "Using eval", - -test: function testcase() { - supreme=5; - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -try { - var __evaluated = eval("for(count=0;;) {if (count===supreme)break;else count++; }"); - if (__evaluated !== 4) { - $ERROR('#1: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); - } -} catch (e) { - $ERROR('#1: var __evaluated = eval("for(count=0;;) {if (count===supreme)break;else count++; }"); does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js deleted file mode 100644 index 8a90ec0523..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.3_A9; -* @section: 12.6.3; -* @assertion: The result of evaluating "for(var ExpNoIn;Exp;Exp)" loop is returning (normal, evalValue, empty); -* @description: Using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.3_A9", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js", - -assertion: "The result of evaluating \"for(var ExpNoIn;Exp;Exp)\" loop is returning (normal, evalValue, empty)", - -description: "Using eval", - -test: function testcase() { - supreme=5; - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -try { - var __evaluated = eval("for(var count=0;;) {if (count===supreme)break;else count++; }"); - if (__evaluated !== 4) { - $ERROR('#1: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); - } -} catch (e) { - $ERROR('#1: var __evaluated = eval("for(var count=0;;) {if (count===supreme)break;else count++; }"); does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1.js deleted file mode 100644 index 2bc09e3fb6..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A1; -* @section: 12.6.4; -* @assertion: "for(key in undefined)" Statement is allowed; -* @description: Checking if execution of "for(key in undefined)" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1.js", - -assertion: "\"for(key in undefined)\" Statement is allowed", - -description: "Checking if execution of \"for(key in undefined)\" passes", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - for(__key in undefined){ - var key=__key; - }; -} catch (e) { - $ERROR('#1: "for(key in undefined){}" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (key!==undefined) { - $ERROR('#2: key === undefined. Actual: key === '+key); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1.js deleted file mode 100644 index 38fdcbd487..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - for(x in this){ - function __func(){}; -}; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2.js deleted file mode 100644 index fc88002492..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - (function(){ - -for(x in this){ - function __func(){}; -}; - -})(); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3.js deleted file mode 100644 index a8c1671403..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function(){ - -for(x in this){ - function __func(){}; -}; - -}; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js deleted file mode 100644 index d79d2c0b78..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A14_T1; -* @section: 12.6.4; -* @assertion: FunctionExpession within a "for-in" Expression is allowed; -* @description: Using "function __func(){return 0;}" as Expession; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A14_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js", - -assertion: "FunctionExpession within a \"for-in\" Expression is allowed", - -description: "Using \"function __func(){return 0;}\" as Expession", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -for(x in function __func(){return 0;}){ - if (x=="prototype") - var __reached = 1; -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__reached !== 1) { - $ERROR('#2: function expession inside of for-in expression is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js deleted file mode 100644 index 2e79abeec1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A14_T2; -* @section: 12.6.4; -* @assertion: FunctionExpession within a "for-in" Expression is allowed; -* @description: Using "function __func(){return {a:1};}()" as Expession; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A14_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js", - -assertion: "FunctionExpession within a \"for-in\" Expression is allowed", - -description: "Using \"function __func(){return {a:1};}()\" as Expession", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -for(x in function __func(){return {a:1};}()){ - var __reached = x; -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__reached !== "a") { - $ERROR('#2: function expession inside of for-in expression allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15.js deleted file mode 100644 index 394d996e37..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var __arr=[1,2,3]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -for(x in {__arr}){ - break ; -}; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2.js deleted file mode 100644 index 8d5b5c0726..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A2; -* @section: 12.6.4; -* @assertion: "for(key in null)" Expression is allowed; -* @description: Checking if execution of "for(key in null)" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2.js", - -assertion: "\"for(key in null)\" Expression is allowed", - -description: "Checking if execution of \"for(key in null)\" passes", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK# -try { - for(__key in null){ - var key=__key; - }; -} catch (e) { - $ERROR('#1: "for(__key in null){}" does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (key!==undefined) { - $ERROR('#2: key === undefined. Actual: key ==='+key); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1.js deleted file mode 100644 index dd36570678..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A3.1; -* @section: 12.6.4; -* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; -* @description: Using an array as an Expression is appropriate. Here Expression is an array of numbers; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A3.1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationNoIn in Expression) Statement\"", - -description: "Using an array as an Expression is appropriate. Here Expression is an array of numbers", - -test: function testcase() { - __str=""; - -__evaluated = eval("for(var ind in (arr=[2,1,4,3]))__str+=arr[ind]"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__evaluated !== __str) { - $ERROR('#1: __evaluated === __str. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!( (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")!==-1)&&(__str.indexOf("3")!==-1) )) { - $ERROR('#2: (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")!==-1)&&(__str.indexOf("3")!==-1)'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.js deleted file mode 100644 index a65645c571..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A3; -* @section: 12.6.4; -* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; -* @description: Using an array as an Expression is appropriate. Here Expression is an array of numbers. Eval is used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A3", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationNoIn in Expression) Statement\"", - -description: "Using an array as an Expression is appropriate. Here Expression is an array of numbers. Eval is used", - -test: function testcase() { - __str=""; - -__evaluated = eval("for(ind in (arr=[2,1,4,3]))__str+=arr[ind]"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__evaluated !== __str) { - $ERROR('#1: __evaluated === __str. Actual: __evaluated ==='+ __evaluated ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!( (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")!==-1)&&(__str.indexOf("3")!==-1) )) { - $ERROR('#2: (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")!==-1)&&(__str.indexOf("3")!==-1)'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1.js deleted file mode 100644 index c7276f46aa..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A4.1; -* @section: 12.6.4; -* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; -* @description: Using Object as an Expression is appropriate. Eval is used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A4.1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationNoIn in Expression) Statement\"", - -description: "Using Object as an Expression is appropriate. Eval is used", - -test: function testcase() { - __str=""; - -__evaluated = eval("for(var ind in (hash={2:'b',1:'a',4:'d',3:'c'}))__str+=hash[ind]"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ( !( (__evaluated.indexOf("a")!==-1)& (__evaluated.indexOf("b")!==-1)& (__evaluated.indexOf("c")!==-1)&(__evaluated.indexOf("d")!==-1) ) ) { - $ERROR('#1: (__evaluated.indexOf("a")!==-1)& (__evaluated.indexOf("b")!==-1)& (__evaluated.indexOf("c")!==-1)&(__evaluated.indexOf("d")!==-1)'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== __evaluated) { - $ERROR('#2: __str === __evaluated. Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.js deleted file mode 100644 index d55bd5de0b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A4; -* @section: 12.6.4; -* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; -* @description: Using Object as an Expression is appropriate. Eval is used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A4", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationNoIn in Expression) Statement\"", - -description: "Using Object as an Expression is appropriate. Eval is used", - -test: function testcase() { - __str=""; - -__evaluated = eval("for(ind in (hash={2:'b',1:'a',4:'d',3:'c'}))__str+=hash[ind]"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ( !( (__evaluated.indexOf("a")!==-1)& (__evaluated.indexOf("b")!==-1)& (__evaluated.indexOf("c")!==-1)&(__evaluated.indexOf("d")!==-1) ) ) { - $ERROR('#1: (__evaluated.indexOf("a")!==-1)& (__evaluated.indexOf("b")!==-1)& (__evaluated.indexOf("c")!==-1)&(__evaluated.indexOf("d")!==-1)'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== __evaluated) { - $ERROR('#2: __str === __evaluated. Actual: __str ==='+ __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1.js deleted file mode 100644 index b144eff3b8..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A5.1; -* @section: 12.6.4; -* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; -* @description: Using hierarchical Object as an Expression is appropriate. The depth is two; -*/ - - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A5.1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationNoIn in Expression) Statement\"", - -description: "Using hierarchical Object as an Expression is appropriate. The depth is two", - -test: function testcase() { - __hash__map={a:{aa:1,ab:2,ac:3,ad:4},b:{ba:1,bb:2,bc:3,bd:4},c:{ca:1,cb:2,cc:3,cd:4},d:{da:1,db:2,dc:3,dd:4}}; - -__arr = ""; - -for(var __key in __hash__map){ - for (var __ind in __hash__map[__key]){ - __arr+=("" + __ind + __hash__map[__key][__ind]); - } -} - -if(!( -(__arr.indexOf("aa1")!==-1)& -(__arr.indexOf("ab2")!==-1)& -(__arr.indexOf("ac3")!==-1)& -(__arr.indexOf("ad4")!==-1)& -(__arr.indexOf("ba1")!==-1)& -(__arr.indexOf("bb2")!==-1)& -(__arr.indexOf("bc3")!==-1)& -(__arr.indexOf("bd4")!==-1)& -(__arr.indexOf("ca1")!==-1)& -(__arr.indexOf("cb2")!==-1)& -(__arr.indexOf("cc3")!==-1)& -(__arr.indexOf("cd4")!==-1)& -(__arr.indexOf("da1")!==-1)& -(__arr.indexOf("db2")!==-1)& -(__arr.indexOf("dc3")!==-1)& -(__arr.indexOf("dd4")!==-1) -)) $ERROR('#1: The nested for-in Statement applied to hierarchial object works properly as described in the Standard'); - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.js deleted file mode 100644 index 7c15b3ee6a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A5; -* @section: 12.6.4; -* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; -* @description: Using hierarchical Object as an Expression is appropriate. The depth is two; -*/ - - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A5", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationNoIn in Expression) Statement\"", - -description: "Using hierarchical Object as an Expression is appropriate. The depth is two", - -test: function testcase() { - __hash__map={a:{aa:1,ab:2,ac:3,ad:4},b:{ba:1,bb:2,bc:3,bd:4},c:{ca:1,cb:2,cc:3,cd:4},d:{da:1,db:2,dc:3,dd:4}}; - -__arr = ""; - -for(__key in __hash__map){ - for (__ind in __hash__map[__key]){ - __arr+=("" + __ind + __hash__map[__key][__ind]); - } -} - -if(!( -(__arr.indexOf("aa1")!==-1)& -(__arr.indexOf("ab2")!==-1)& -(__arr.indexOf("ac3")!==-1)& -(__arr.indexOf("ad4")!==-1)& -(__arr.indexOf("ba1")!==-1)& -(__arr.indexOf("bb2")!==-1)& -(__arr.indexOf("bc3")!==-1)& -(__arr.indexOf("bd4")!==-1)& -(__arr.indexOf("ca1")!==-1)& -(__arr.indexOf("cb2")!==-1)& -(__arr.indexOf("cc3")!==-1)& -(__arr.indexOf("cd4")!==-1)& -(__arr.indexOf("da1")!==-1)& -(__arr.indexOf("db2")!==-1)& -(__arr.indexOf("dc3")!==-1)& -(__arr.indexOf("dd4")!==-1) -)) $ERROR('#1: The nested for-in Statement applied to hierarchial object works properly as described in the Standard'); - - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1.js deleted file mode 100644 index 88398c74fc..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A6.1; -* @section: 12.6.4; -* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; -* @description: Using Object with custom prototype as an Expression is appropriate. The prototype is "{feat:2,hint:"protohint"}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A6.1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationNoIn in Expression) Statement\"", - -description: "Using Object with custom prototype as an Expression is appropriate. The prototype is \"{feat:2,hint:\"protohint\"}\"", - -test: function testcase() { - function FACTORY(){this.prop=1;this.hint="hinted"}; - -FACTORY.prototype = {feat:2,hint:"protohint"}; - -var __instance = new FACTORY; - -__accum=""; - -for (var key in __instance){ - __accum+=(key + __instance[key]); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!((__accum.indexOf("prop1")!==-1)&&(__accum.indexOf("feat2")!==-1)&&(__accum.indexOf("hinthinted")!==-1))) { - $ERROR('#1: (__accum.indexOf("prop1")!==-1)&&(__accum.indexOf("feat2")!==-1)&&(__accum.indexOf("hinthinted")!==-1)'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__accum.indexOf("hintprotohint")!==-1) { - $ERROR('#2: __accum.indexOf("hintprotohint") === -1. Actual: __accum.indexOf("hintprotohint") ==='+ __accum.indexOf("hintprotohint") ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.js deleted file mode 100644 index b2c8010b01..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A6; -* @section: 12.6.4; -* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; -* @description: Using Object with custom prototype as an Expression is appropriate. The prototype is "{feat:2,hint:"protohint"}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A6", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.js", - -assertion: "The production IterationStatement: \"for (var VariableDeclarationNoIn in Expression) Statement\"", - -description: "Using Object with custom prototype as an Expression is appropriate. The prototype is \"{feat:2,hint:\"protohint\"}\"", - -test: function testcase() { - function FACTORY(){this.prop=1;this.hint="hinted"}; - -FACTORY.prototype = {feat:2,hint:"protohint"}; - -var __instance = new FACTORY; - -__accum=""; - -for (key in __instance){ - __accum+=(key + __instance[key]); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!((__accum.indexOf("prop1")!==-1)&&(__accum.indexOf("feat2")!==-1)&&(__accum.indexOf("hinthinted")!==-1))) { - $ERROR('#1: (__accum.indexOf("prop1")!==-1)&&(__accum.indexOf("feat2")!==-1)&&(__accum.indexOf("hinthinted")!==-1)'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__accum.indexOf("hintprotohint")!==-1) { - $ERROR('#2: __accum.indexOf("hintprotohint") === -1. Actual: __accum.indexOf("hintprotohint") ==='+ __accum.indexOf("hintprotohint") ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1.js deleted file mode 100644 index c6475c6167..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A7_T1; -* @section: 12.6.4; -* @assertion: Properties of the object being enumerated may be deleted during enumeration; -* @description: Checking "for (LeftHandSideExpression in Expression) Statement" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A7_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1.js", - -assertion: "Properties of the object being enumerated may be deleted during enumeration", - -description: "Checking \"for (LeftHandSideExpression in Expression) Statement\" case", - -test: function testcase() { - __obj={aa:1,ba:2,ca:3}; - -__accum=""; - -for (__key in __obj){ - - erasator_T_1000(__obj,"b"); - - __accum+=(__key+__obj[__key]); - -} - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!((__accum.indexOf("aa1")!==-1)&&(__accum.indexOf("ca3")!==-1))) { - $ERROR('#1: (__accum.indexOf("aa1")!==-1)&&(__accum.indexOf("ca3")!==-1)'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__accum.indexOf("ba2")!==-1) { - $ERROR('#2: __accum.indexOf("ba2") === -1. Actual: __accum.indexOf("ba2") ==='+ __accum.indexOf("ba2") ); -} -// -////////////////////////////////////////////////////////////////////////////// - - -// erasator is the hash map terminator -function erasator_T_1000(hash_map, charactr){ - for (key in hash_map){ - if (key.indexOf(charactr)===0) { - delete hash_map[key]; - }; - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2.js deleted file mode 100644 index 43ba442834..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.4_A7_T2; -* @section: 12.6.4; -* @assertion: Properties of the object being enumerated may be deleted during enumeration; -* @description: Checking "for (var VariableDeclarationNoIn in Expression) Statement" case; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.6.4_A7_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2.js", - -assertion: "Properties of the object being enumerated may be deleted during enumeration", - -description: "Checking \"for (var VariableDeclarationNoIn in Expression) Statement\" case", - -test: function testcase() { - __obj={aa:1,ba:2,ca:3}; - -__accum=""; - -for (var __key in __obj){ - - erasator_T_1000(__obj,"b"); - - __accum+=(__key+__obj[__key]); - -} - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!((__accum.indexOf("aa1")!==-1)&&(__accum.indexOf("ca3")!==-1))) { - $ERROR('#1: (__accum.indexOf("aa1")!==-1)&&(__accum.indexOf("ca3")!==-1)'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__accum.indexOf("ba2")!==-1) { - $ERROR('#2: __accum.indexOf("ba2") === -1. Actual: __accum.indexOf("ba2") ==='+ __accum.indexOf("ba2") ); -} -// -////////////////////////////////////////////////////////////////////////////// - - -// erasator is the hash map terminator -function erasator_T_1000(hash_map, charactr){ - for (key in hash_map){ - if (key.indexOf(charactr)===0) { - delete hash_map[key]; - }; - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1.js deleted file mode 100644 index 65e116fe83..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x=1; -continue; -var y=2; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2.js deleted file mode 100644 index aee59a8341..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - LABEL : x=3.14; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x=1; -continue LABEL; -var y=2; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3.js deleted file mode 100644 index 26b017aee2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - LABEL : x=3.14; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -{ - var x=1; - continue LABEL; - var y=2; -} -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4.js deleted file mode 100644 index a930483dbb..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -{ - var x=1; - continue; - var y=2; -} -// -////////////////////////////////////////////////////////////////////////////// - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A2.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A2.js deleted file mode 100644 index d8809eac54..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A2.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.7_A2; -* @section: 12.7; -* @assertion: Since LineTerminator between "continue" and Identifier is not allowed, "continue" is evaluated without label; -* @description: Checking by using eval, inserting LineTerminator between continue and Identifier; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.7_A2", - -path: "TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A2.js", - -assertion: "Since LineTerminator between \"continue\" and Identifier is not allowed, \"continue\" is evaluated without label", - -description: "Checking by using eval, inserting LineTerminator between continue and Identifier", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - eval("FOR1 : for(var i=1;i<2;i++){FOR1NESTED : for(var j=1;j<2;j++) { continue\u000AFOR1; } while(0);}"); - if (j!==2) { - $ERROR('#1: Since LineTerminator(U-000A) between continue and Identifier not allowed continue evaluates without label'); - } -} catch(e){ - $ERROR('#1.1: eval("FOR1 : for(var i=1;i<2;i++){FOR1NESTED : for(var j=1;j<2;j++) { continue\\u000AFOR1; } while(0);}") does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try{ - eval("FOR2 : for(var i=1;i<2;i++){FOR2NESTED : for(var j=1;j<2;j++) { continue\u000DFOR2; } while(0);}"); - if (j!==2) { - $ERROR('#2: Since LineTerminator(U-000D) between continue and Identifier not allowed continue evaluates without label'); - } -} catch(e){ - $ERROR('#2.1: eval("FOR2 : for(var i=1;i<2;i++){FOR2NESTED : for(var j=1;j<2;j++) { continue\\u000DFOR2; } while(0);}") does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try{ - eval("FOR3 : for(var i=1;i<2;i++){FOR3NESTED : for(var j=1;j<2;j++) { continue\u2028FOR3; } while(0);}"); - if (j!==2) { - $ERROR('#3: Since LineTerminator(U-2028) between continue and Identifier not allowed continue evaluates without label'); - } -} catch(e){ - $ERROR('#3.1: eval("FOR3 : for(var i=1;i<2;i++){FOR3NESTED : for(var j=1;j<2;j++) { continue\\u2028FOR3; } while(0);}") does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -try{ - eval("FOR4 : for(var i=1;i<2;i++){FOR4NESTED : for(var j=1;j<2;j++) { continue\u2029FOR4; } while(0);}"); - if (j!==2) { - $ERROR('#4: Since LineTerminator(U-2029) between continue and Identifier not allowed continue evaluates without label'); - } -} catch(e){ - $ERROR('#4.1: eval("FOR4 : for(var i=1;i<2;i++){FOR4NESTED : for(var j=1;j<2;j++) { continue\\u2029FOR4; } while(0);}"); does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A3.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A3.js deleted file mode 100644 index 0662dc9ab7..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A3.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.7_A3; -* @section: 12.7; -* @assertion: When "continue Identifier" is evaluated (continue, empty, empty) is returned; -* @description: Simple using continue without Identifier and labeled loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.7_A3", - -path: "TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A3.js", - -assertion: "When \"continue Identifier\" is evaluated (continue, empty, empty) is returned", - -description: "Simple using continue without Identifier and labeled loop", - -test: function testcase() { - LABEL_OUT : var x=0, y=0; - -LABEL_DO_LOOP : do { - LABEL_IN : x=2; - continue ; - LABEL_IN_2 : var y=2; - - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==2)&&(y!==0)) { - $ERROR('#1: x === 2 and y === 0. Actual: x ==='+x+' and y ==='+ y ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1.js deleted file mode 100644 index c778735a06..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.7_A4_T1; -* @section: 12.7; -* @assertion: When "continue Identifier" is evaluated (continue, empty, Identifier) is returned; -* @description: Simple using continue Identifier construction; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.7_A4_T1", - -path: "TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1.js", - -assertion: "When \"continue Identifier\" is evaluated (continue, empty, Identifier) is returned", - -description: "Simple using continue Identifier construction", - -test: function testcase() { - LABEL_OUT : var x=0, y=0; - -LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10)break; - continue LABEL_DO_LOOP; - LABEL_IN_2 : y++; - - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==1)&&(y!==0)) { - $ERROR('#1: x===1 and y === 0. Actual: x==='+x+' and y ==='+y); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2.js deleted file mode 100644 index 225c051bd0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.7_A4_T2; -* @section: 12.7; -* @assertion: When "continue Identifier" is evaluated (continue, empty, Identifier) is returned; -* @description: Using embedded and labeled loops, continue to nested loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.7_A4_T2", - -path: "TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2.js", - -assertion: "When \"continue Identifier\" is evaluated (continue, empty, Identifier) is returned", - -description: "Using embedded and labeled loops, continue to nested loop", - -test: function testcase() { - LABEL_OUT : var x=0, y=0, xx=0, yy=0; - -LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10)break; - LABEL_NESTED_LOOP : do { - LABEL_IN_NESTED : xx++; - if(xx===10)break; - continue LABEL_NESTED_LOOP; - LABEL_IN_NESTED_2 : yy++; - } while (0); - - LABEL_IN_2 : y++; - - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==1)&&(y!==1)&&(xx!==1)&(yy!==0)) { - $ERROR('#1: (x===1) and (y===1) and (xx===1) and (yy===0). Actual: x==='+x+' and y==='+y+' and xx==='+xx+' and yy==='+yy ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3.js deleted file mode 100644 index 1a475f2239..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.7_A4_T3; -* @section: 12.7; -* @assertion: When "continue Identifier" is evaluated (continue, empty, Identifier) is returned; -* @description: Using embedded and labeled loops, continue to outer loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.7_A4_T3", - -path: "TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3.js", - -assertion: "When \"continue Identifier\" is evaluated (continue, empty, Identifier) is returned", - -description: "Using embedded and labeled loops, continue to outer loop", - -test: function testcase() { - LABEL_OUT : var x=0, y=0, xx=0, yy=0; - -LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10)break; - LABEL_NESTED_LOOP : do { - LABEL_IN_NESTED : xx++; - if(xx===10)break; - continue LABEL_DO_LOOP; - LABEL_IN_NESTED_2 : yy++; - } while (0); - - LABEL_IN_2 : y++; - - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==1)&&(y!==0)&&(xx!==1)&(yy!==0)) { - $ERROR('#1: (x===1) and (y===0) and (xx===1) and (yy===0). Actual: x==='+x+' and y==='+y+' and xx==='+xx+' and yy==='+yy ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1.js deleted file mode 100644 index 0719e7a9bf..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1.js +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - LABEL_OUT : var x=0, y=0; -LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10)break; - continue LABEL_ANOTHER_LOOP; - LABEL_IN_2 : y++; - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2.js deleted file mode 100644 index 4bc64e4ed1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2.js +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - LABEL_OUT : var x=0, y=0; -LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10)break; - continue IN_DO_FUNC; - LABEL_IN_2 : y++; - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){}; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3.js deleted file mode 100644 index 188fe26713..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - LABEL_OUT : var x=0, y=0; - -LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10)break; - continue LABEL_IN; - LABEL_IN_2 : y++; - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A6.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A6.js deleted file mode 100644 index 68b8656499..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A6.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var x=0,y=0; - -LABEL1 : do { - x++; - (function(){continue LABEL1;})(); - y++; -} while(0); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A7.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A7.js deleted file mode 100644 index 6718e10307..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A7.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.7_A7; -* @section: 12.7; -* @assertion: Appearing of continue within eval statement that is within an IterationStatement yields SyntaxError; -* @description: Using eval "eval("continue LABEL1")"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.7_A7", - -path: "TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A7.js", - -assertion: "Appearing of continue within eval statement that is within an IterationStatement yields SyntaxError", - -description: "Using eval \"eval(\"continue LABEL1\")\"", - -test: function testcase() { - var x=0,y=0; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - LABEL1 : do { - x++; - eval("continue LABEL1"); - y++; - } while(0); - $ERROR('#1: eval("continue LABEL1") does not lead to throwing exception'); -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR("1.1: Appearing of continue within eval statement inside of IterationStatement yields SyntaxError"); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1.js deleted file mode 100644 index 181e9a023c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var x=0,y=0; - -try{ - LABEL1 : do { - x++; - throw "gonna leave it"; - y++; - } while(0); - $ERROR('#1: throw "gonna leave it" lead to throwing exception'); -} catch(e){ - continue LABEL2; - LABEL2 : do { - x++; - y++; - } while(0); -}; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2.js deleted file mode 100644 index 6737e2dfbd..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var x=0,y=0; - -try{ - LABEL1 : do { - x++; - throw "gonna leave it"; - y++; - } while(0); - $ERROR('#1: throw "gonna leave it" lead to throwing exception'); -} catch(e){ - continue; - LABEL2 : do { - x++; - y++; - } while(0); -}; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1.js deleted file mode 100644 index 84853f06ea..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.7_A9_T1; -* @section: 12.7; -* @assertion: Continue inside of try-catch nested in a loop is allowed; -* @description: Using "continue Identifier" within catch Block that is within a loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.7_A9_T1", - -path: "TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1.js", - -assertion: "Continue inside of try-catch nested in a loop is allowed", - -description: "Using \"continue Identifier\" within catch Block that is within a loop", - -test: function testcase() { - var x=0,y=0; - -(function(){ -FOR : for(;;){ - try{ - x++; - if(x===10)return; - throw 1; - } catch(e){ - continue FOR; - } -} -})(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x!==10) { - $ERROR('#1: Continue inside of try-catch nested in loop is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2.js b/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2.js deleted file mode 100644 index ce5c9142cb..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.7_A9_T2; -* @section: 12.7; -* @assertion: Continue inside of try-catch nested in a loop is allowed; -* @description: Using "continue" within catch Block that is within a loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.7_A9_T2", - -path: "TestCases/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2.js", - -assertion: "Continue inside of try-catch nested in a loop is allowed", - -description: "Using \"continue\" within catch Block that is within a loop", - -test: function testcase() { - var x=0,y=0; - -(function(){ -FOR : for(;;){ - try{ - x++; - if(x===10)return; - throw 1; - } catch(e){ - continue; - } -} -})(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x!==10) { - $ERROR('#1: Continue inside of try-catch nested in loop is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T1.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T1.js deleted file mode 100644 index 0a39c95ea2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T1.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x=1; -break; -var y=2; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T2.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T2.js deleted file mode 100644 index cbc61abc07..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T2.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - LABEL : x=3.14; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x=1; -break LABEL; -var y=2; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T3.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T3.js deleted file mode 100644 index 9b6e714783..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T3.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -{ - var x=1; - break; - var y=2; -} -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T4.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T4.js deleted file mode 100644 index 7d8cf2cb53..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A1_T4.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - LABEL : x=3.14; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -{ - var x=1; - break LABEL; - var y=2; -} -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A2.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A2.js deleted file mode 100644 index be95270fce..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A2.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.8_A2; -* @section: 12.8; -* @assertion: Since LineTerminator between "break" and Identifier is not allowed, "break" is evaluated without label; -* @description: Checking by using eval, inserting LineTerminator between break and Identifier; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.8_A2", - -path: "TestCases/12_Statement/12.8_The_break_Statement/S12.8_A2.js", - -assertion: "Since LineTerminator between \"break\" and Identifier is not allowed, \"break\" is evaluated without label", - -description: "Checking by using eval, inserting LineTerminator between break and Identifier", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - eval("FOR1 : for(var i=1;i<2;i++){ LABEL1 : do {var x =1;break\u000AFOR1;var y=2;} while(0);}"); - if (i!==2) { - $ERROR('#1: Since LineTerminator(U-000A) between break and Identifier not allowed break evaluates without label'); - } -} catch(e){ - $ERROR('#1.1: eval("FOR1 : for(var i=1;i<2;i++){ LABEL1 : do {var x =1;break\\u000AFOR1;var y=2;} while(0);}") does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try{ - eval("FOR2 : for(var i=1;i<2;i++){ LABEL2 : do {var x =1;break\u000DFOR2;var y=2;} while(0);}"); - if (i!==2) { - $ERROR('#2: Since LineTerminator(U-000D) between break and Identifier not allowed break evaluates without label'); - } -} catch(e){ - $ERROR('#2.1: eval("FOR2 : for(var i=1;i<2;i++){ LABEL2 : do {var x =1;break\\u000DFOR2;var y=2;} while(0);}") does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try{ - eval("FOR3 : for(var i=1;i<2;i++){ LABEL3 : do {var x =1;break\u2028FOR3;var y=2;} while(0);}"); - if (i!==2) { - $ERROR('#3: Since LineTerminator(U-2028) between break and Identifier not allowed break evaluates without label'); - } -} catch(e){ - $ERROR('#3.1: eval("FOR3 : for(var i=1;i<2;i++){ LABEL3 : do {var x =1;break\\u2028FOR3;var y=2;} while(0);}") does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -try{ - eval("FOR4 : for(var i=1;i<2;i++){ LABEL4 : do {var x =1;break\u2029FOR4;var y=2;} while(0);}"); - if (i!==2) { - $ERROR('#4: Since LineTerminator(U-2029) between break and Identifier not allowed break evaluates without label'); - } -} catch(e){ - $ERROR('#4.1: eval("FOR4 : for(var i=1;i<2;i++){ LABEL4 : do {var x =1;break\\u2029FOR4;var y=2;} while(0);}") does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A3.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A3.js deleted file mode 100644 index 1886157a9b..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A3.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.8_A3; -* @section: 12.8; -* @assertion: When "break" is evaluated, (break, empty, empty) is returned; -* @description: Using "break" without Identifier within labeled loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.8_A3", - -path: "TestCases/12_Statement/12.8_The_break_Statement/S12.8_A3.js", - -assertion: "When \"break\" is evaluated, (break, empty, empty) is returned", - -description: "Using \"break\" without Identifier within labeled loop", - -test: function testcase() { - LABEL_OUT : var x=0, y=0; - -LABEL_DO_LOOP : do { - LABEL_IN : x=2; - break ; - LABEL_IN_2 : var y=2; - - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==2)&&(y!==0)) { - $ERROR('#1: x === 2 and y === 0. Actual: x ==='+x+' and y ==='+y); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T1.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T1.js deleted file mode 100644 index 218e1fcecd..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.8_A4_T1; -* @section: 12.8; -* @assertion: When "break Identifier" is evaluated, (break, empty, Identifier) is returned; -* @description: Using "break Identifier" within labaeled loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.8_A4_T1", - -path: "TestCases/12_Statement/12.8_The_break_Statement/S12.8_A4_T1.js", - -assertion: "When \"break Identifier\" is evaluated, (break, empty, Identifier) is returned", - -description: "Using \"break Identifier\" within labaeled loop", - -test: function testcase() { - LABEL_OUT : var x=0, y=0; -(function(){ -LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10)return; - break LABEL_DO_LOOP; - LABEL_IN_2 : y++; - - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} -})(); -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==1)&&(y!==0)) { - $ERROR('#1: x === 1 and y === 0. Actual: x === '+x+' and y ==='+ y ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T2.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T2.js deleted file mode 100644 index c26bc35948..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.8_A4_T2; -* @section: 12.8; -* @assertion: When "break Identifier" is evaluated, (break, empty, Identifier) is returned; -* @description: Using embedded and labeled loops, breaking to nested loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.8_A4_T2", - -path: "TestCases/12_Statement/12.8_The_break_Statement/S12.8_A4_T2.js", - -assertion: "When \"break Identifier\" is evaluated, (break, empty, Identifier) is returned", - -description: "Using embedded and labeled loops, breaking to nested loop", - -test: function testcase() { - LABEL_OUT : var x=0, y=0, xx=0, yy=0; -(function(){ -LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10)return; - LABEL_NESTED_LOOP : do { - LABEL_IN_NESTED : xx++; - if(xx===10)return; - break LABEL_NESTED_LOOP; - LABEL_IN_NESTED_2 : yy++; - } while (0); - - LABEL_IN_2 : y++; - - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} -})(); -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==1)&&(y!==1)&&(xx!==1)&(yy!==0)) { - $ERROR('#1: x === 1 and y === 1 and xx === 1 and yy === 0. Actual: x==='+x+' and y==='+y+' and xx==='+xx+' and yy==='+yy ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T3.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T3.js deleted file mode 100644 index c76a02050c..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A4_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.8_A4_T3; -* @section: 12.8; -* @assertion: When "break Identifier" is evaluated, (break, empty, Identifier) is returned; -* @description: Using embedded and labeled loops, breaking to outer loop; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.8_A4_T3", - -path: "TestCases/12_Statement/12.8_The_break_Statement/S12.8_A4_T3.js", - -assertion: "When \"break Identifier\" is evaluated, (break, empty, Identifier) is returned", - -description: "Using embedded and labeled loops, breaking to outer loop", - -test: function testcase() { - LABEL_OUT : var x=0, y=0, xx=0, yy=0; -(function(){ -LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10)return; - LABEL_NESTED_LOOP : do { - LABEL_IN_NESTED : xx++; - if(xx===10)return; - break LABEL_DO_LOOP; - LABEL_IN_NESTED_2 : yy++; - } while (0); - - LABEL_IN_2 : y++; - - function IN_DO_FUNC(){} -} while(0); - -LABEL_ANOTHER_LOOP : do { - ; -} while(0); - -function OUT_FUNC(){} -})(); -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((x!==1)&&(y!==0)&&(xx!==1)&(yy!==0)) { - $ERROR('#1: x === 1 and y === 0 and xx === 1 and yy === 0. Actual: x==='+x+' and y==='+y+' and xx==='+xx+' and yy==='+yy ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T1.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T1.js deleted file mode 100644 index cf99751d44..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T1.js +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - (function(){ - LABEL_OUT : var x=0, y=0; - LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10) - return; - break LABEL_ANOTHER_LOOP; - LABEL_IN_2 : y++; - function IN_DO_FUNC(){} - } while(0); - - LABEL_ANOTHER_LOOP : do { - ; - } while(0); - - function OUT_FUNC(){} -})(); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T2.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T2.js deleted file mode 100644 index 413daab83f..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T2.js +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - (function(){ - LABEL_OUT : var x=0, y=0; - LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10) - return; - break IN_DO_FUNC; - LABEL_IN_2 : y++; - function IN_DO_FUNC(){} - } while(0); - - LABEL_ANOTHER_LOOP : do { - ; - } while(0); - - function OUT_FUNC(){} -})(); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T3.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T3.js deleted file mode 100644 index d41542793f..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A5_T3.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - (function(){ - LABEL_OUT : var x=0, y=0; - LABEL_DO_LOOP : do { - LABEL_IN : x++; - if(x===10) - return; - break LABEL_IN; - LABEL_IN_2 : y++; - - function IN_DO_FUNC(){} - - } while(0); - - LABEL_ANOTHER_LOOP : do { - ; - } while(0); - - function OUT_FUNC(){} - -})(); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A6.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A6.js deleted file mode 100644 index fa00c45971..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A6.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var x=0,y=0; - -LABEL1 : do { - x++; - (function(){break LABEL1;})(); - y++; -} while(0); - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A7.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A7.js deleted file mode 100644 index 80f6ede25a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A7.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.8_A7; -* @section: 12.8; -* @assertion: Appearing of "break" within eval statement that is nested in an IterationStatement yields SyntaxError; -* @description: Using eval "eval("break LABEL1")"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.8_A7", - -path: "TestCases/12_Statement/12.8_The_break_Statement/S12.8_A7.js", - -assertion: "Appearing of \"break\" within eval statement that is nested in an IterationStatement yields SyntaxError", - -description: "Using eval \"eval(\"break LABEL1\")\"", - -test: function testcase() { - var x=0,y=0; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - LABEL1 : do { - x++; - eval("break LABEL1"); - y++; - } while(0); - $ERROR('#1: eval("break LABEL1") does not lead to throwing exception'); -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR("1.1: Appearing of break within eval statement inside of IterationStatement yields SyntaxError"); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A8_T1.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A8_T1.js deleted file mode 100644 index 4b2abf9bdf..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A8_T1.js +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var x=0,y=0; - -try{ - LABEL1 : do { - x++; - throw "gonna leave it"; - y++; - } while(0); - $ERROR('#1: throw "gonna leave it" lead to throwing exception'); -} catch(e){ - break LABEL2; - LABEL2 : do { - x++; - y++; - } while(0); -} - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A8_T2.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A8_T2.js deleted file mode 100644 index 0c8e7ab8a0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A8_T2.js +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var x=0,y=0; - -try{ - LABEL1 : do { - x++; - throw "gonna leave it"; - y++; - } while(0); - $ERROR('#1: throw "gonna leave it" lead to throwing exception'); -} catch(e){ - break; - LABEL2 : do { - x++; - y++; - } while(0); -} - - - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T1.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T1.js deleted file mode 100644 index 2a2b2fe7bd..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.8_A9_T1; -* @section: 12.8; -* @assertion: Using "break" within "try/catch" statement that is nested in a loop is allowed; -* @description: Using "continue Identifier" within "catch" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.8_A9_T1", - -path: "TestCases/12_Statement/12.8_The_break_Statement/S12.8_A9_T1.js", - -assertion: "Using \"break\" within \"try/catch\" statement that is nested in a loop is allowed", - -description: "Using \"continue Identifier\" within \"catch\" statement", - -test: function testcase() { - var x=0,y=0; - -(function(){ -FOR : for(;;){ - try{ - x++; - if(x===10)return; - throw 1; - } catch(e){ - break FOR; - } -} -})(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x!==1) { - $ERROR('#1: break inside of try-catch nested in loop is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js deleted file mode 100644 index 3364913926..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.8_A9_T2; -* @section: 12.8; -* @assertion: Using "break" within "try/catch" statement that is nested in a loop is allowed; -* @description: Using "continue Identifier" within "catch" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.8_A9_T2", - -path: "TestCases/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js", - -assertion: "Using \"break\" within \"try/catch\" statement that is nested in a loop is allowed", - -description: "Using \"continue Identifier\" within \"catch\" statement", - -test: function testcase() { - var x=0,y=0; - -(function(){ -FOR : for(;;){ - try{ - x++; - if(x===10)return; - throw 1; - } catch(e){ - break ; - } -} -})(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x!==1) { - $ERROR('#1: break inside of try-catch nested in loop is allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T1.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T1.js deleted file mode 100644 index a360fb68f8..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T1.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x=1; -return; -var y=2; - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T10.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T10.js deleted file mode 100644 index ae8388c9ec..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T10.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -return (0); -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T2.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T2.js deleted file mode 100644 index 7604fac042..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T2.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x=1; -return x; -var y=2; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T3.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T3.js deleted file mode 100644 index dddb50ab23..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T3.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - return 1; -} catch(e){ - return 1; -} -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T4.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T4.js deleted file mode 100644 index 8c5b53d28a..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T4.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -return; -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T5.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T5.js deleted file mode 100644 index 1cc3a44cd4..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T5.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -{ - var x=1; - return; - var y=2; -} -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T6.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T6.js deleted file mode 100644 index 4892d29cf5..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T6.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -do { - var x=1; - return; - var y=2; -} while(0); -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T7.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T7.js deleted file mode 100644 index 67940552e2..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T7.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -{ - var x=1; - return x; - var y=2; -} -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T8.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T8.js deleted file mode 100644 index 2ec5c62c67..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T8.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -do { - var x=1; - return x; - var y=2; -} while(0); -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T9.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T9.js deleted file mode 100644 index e0f23c22fb..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A1_T9.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - throw 1; -} catch(e){ - return e; -} -// -////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A2.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A2.js deleted file mode 100644 index 73269a97a0..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A2.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S12.9_A2; - * @section: 12.9; - * @assertion: LineTerminator between return and Identifier_opt yields return without Identifier_opt; - * @description: Checking by using eval, inserting LineTerminator between return and Variable; - */ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.9_A2", - -path: "TestCases/12_Statement/12.9_The_return_Statement/S12.9_A2.js", - -assertion: "LineTerminator between return and Identifier_opt yields return without Identifier_opt", - -description: "Checking by using eval, inserting LineTerminator between return and Variable", - -test: function testcase() { - //CHECK#1 -try{ - if (eval("(function(){var x = 1;return\u000Ax;var y=2;})()") !== undefined) { - $ERROR("#1: LineTerminator(U-000A) between return and Identifier_opt yields return without Identifier_opt"); - } -} catch(e){ - $ERROR('#1: eval("(function(){var x = 1;return\\u000Ax;var y=2;})()") does not lead to throwing exception'); -} - - - - -//CHECK#2 -try{ - if (eval("(function(){var x = 1;return\u000Dx;var y=2;})()") !== undefined) { - $ERROR("#1: LineTerminator(U-000D) between return and Identifier_opt yields return without Identifier_opt"); - } -} catch(e){ - $ERROR('#2: eval("(function(){var x = 1;return\\u000Dx;var y=2;})()") does not lead to throwing exception'); -} - - - - -//CHECK#3 -try{ - if (eval("(function(){var x = 1;return\u2028x;var y=2;})()") !== undefined) { - $ERROR("#1: LineTerminator(U-2028) between return and Identifier_opt yields return without Identifier_opt"); - } -} catch(e){ - $ERROR('#3: eval("(function(){var x = 1;return\\u2028x;var y=2;})()") does not lead to throwing exception'); -} - - - - -//CHECK#4 -try{ - if (eval("(function(){var x =1;return\u2029x;var y=2;})()") !== undefined) { - $ERROR("#1: LineTerminator(U-2029) between return and Identifier_opt yields return without Identifier_opt"); - } -} catch(e){ - $ERROR('#4: eval("(function(){var x =1;return\\u2029x;var y=2;})()") does not lead to throwing exception'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A3.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A3.js deleted file mode 100644 index cf7aa4f860..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.9_A3; -* @section: 12.9; -* @assertion: If Expression is omitted, the return value is undefined; -* @description: Return without Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.9_A3", - -path: "TestCases/12_Statement/12.9_The_return_Statement/S12.9_A3.js", - -assertion: "If Expression is omitted, the return value is undefined", - -description: "Return without Expression", - -test: function testcase() { - __evaluated = (function (){return;})(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__evaluated !== undefined) { - $ERROR('#1: If Expression is omitted, the return value is undefined'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A4.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A4.js deleted file mode 100644 index c9158e76d1..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A4.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.9_A4; -* @section: 12.9; -* @assertion: The production ReturnStatement : return Expression; is evaluated as: -* i) Evaluate Expression. -* ii) Call GetValue(Result(2)). -* iii) Return (return, Result(3), empty); -* @description: Return very sophisticated expression and function; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.9_A4", - -path: "TestCases/12_Statement/12.9_The_return_Statement/S12.9_A4.js", - -assertion: "The production ReturnStatement : return Expression; is evaluated as:", - -description: "Return very sophisticated expression and function", - -test: function testcase() { - // second derivative -function DD_operator(f, delta){return function(x){return (f(x+delta)-2*f(x)+f(x-delta))/(delta*delta)};} - -DDsin = DD_operator(Math.sin, 0.00001); - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -// ((sin(x))')' = -sin(x) -if (DDsin( Math.PI/2 ) + Math.sin( Math.PI/2 ) > 0.00001) { - $ERROR('#1: return Expression yields to Return (return, GetValue(Evaluate Expression), empty)'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A5.js b/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A5.js deleted file mode 100644 index a202ca6d51..0000000000 --- a/test/suite/sputnik_converted/12_Statement/12.9_The_return_Statement/S12.9_A5.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.9_A5; -* @section: 12.9; -* @assertion: Code after ReturnStatement is not evaluated; -* @description: Using code after Return statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S12.9_A5", - -path: "TestCases/12_Statement/12.9_The_return_Statement/S12.9_A5.js", - -assertion: "Code after ReturnStatement is not evaluated", - -description: "Using code after Return statement", - -test: function testcase() { - //CHECK#1 -var x1=1; -function myfunc1(){ - x1++; - return; - x1*=2; -} -myfunc1(); -if (x1!==2) $ERROR('#1: x1 === 2. Actual: x1 ==='+ x1 ); - -//CHECK#2 -var x2=1; -function myfunc2(){ - x2++; - return x2; - x2*=2; -} -myfunc2(); -if (x2!==2) $ERROR('#2: x2 === 2. Actual: x2 ==='+ x2 ); - -//CHECK#3 -var x3=1; -function myfunc3(){ - x3++; - return; - return x3; - x3*=2; -} -if (myfunc3()!==undefined) $ERROR('#3: myfunc3() === undefined. Actual: myfunc3() ==='+ myfunc3() ); - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A1.js deleted file mode 100644 index f8a1749a7c..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A1; -* @section: 13; -* @assertion: "x=function y(){}" statement does not store a reference to the new function in the varaible y(Identifier); -* @description: Checking the type of y; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A1.js", - -assertion: "\"x=function y(){}\" statement does not store a reference to the new function in the varaible y(Identifier)", - -description: "Checking the type of y", - -test: function testcase() { - var __func = function __exp__func(){return 0;}; - -//////////////////////////////////////////////// -// ////////////////////////////// -//CHECK#1 -if (typeof __func !== "function") { - $ERROR('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __exp__func !== "undefined"){ - $ERROR('#2: typeof __exp__func === "undefined". Actual: typeof __exp__func ==='+typeof __exp__func); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A10.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A10.js deleted file mode 100644 index 5451f4ff75..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A10.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A10; -* @section: 13; -* @assertion: Function is a data; -* @description: Using function as a property of an object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A10", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A10.js", - -assertion: "Function is a data", - -description: "Using function as a property of an object", - -test: function testcase() { - function __ziggy__func(){return "ziggy stardust"} - -var __music_box={}; - -__music_box.ziggy = __ziggy__func; - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (typeof __music_box.ziggy !== "function") { - $ERROR('#1: typeof __music_box.ziggy === "function". Actual: typeof __music_box.ziggy ==='+typeof __music_box.ziggy); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__music_box.ziggy() !== "ziggy stardust") { - $ERROR('#2: __music_box.ziggy() === "ziggy stardust". Actual: __music_box.ziggy() ==='+__music_box.ziggy()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T1.js deleted file mode 100644 index 68601090a3..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A11_T1; -* @section: 13; -* @assertion: Since arguments property has attribute { DontDelete }, only its elements can be deleted; -* @description: Returning result of "delete arguments"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A11_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A11_T1.js", - -assertion: "Since arguments property has attribute { DontDelete }, only its elements can be deleted", - -description: "Returning result of \"delete arguments\"", - -test: function testcase() { - function __func(){ return delete arguments;} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func("A","B",1,2)) { - $ERROR('#1: arguments property has attribute { DontDelete }'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T2.js deleted file mode 100644 index 124200d986..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A11_T2; -* @section: 13; -* @assertion: Since arguments property has attribute { DontDelete }, only its elements can be deleted; -* @description: Checking if deleting the arguments property fails and then returning it; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A11_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A11_T2.js", - -assertion: "Since arguments property has attribute { DontDelete }, only its elements can be deleted", - -description: "Checking if deleting the arguments property fails and then returning it", - -test: function testcase() { - function __func(){ - delete arguments; - return arguments; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func("A","B",1,2) !== "object") { - $ERROR('#1: arguments property has attribute { DontDelete }'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T3.js deleted file mode 100644 index 04b0da21df..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A11_T3; -* @section: 13; -* @assertion: Since arguments property has attribute { DontDelete }, only its elements can be deleted; -* @description: Deleting arguments[i] and returning result of the operation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A11_T3", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A11_T3.js", - -assertion: "Since arguments property has attribute { DontDelete }, only its elements can be deleted", - -description: "Deleting arguments[i] and returning result of the operation", - -test: function testcase() { - function __func(){ - was_del=false; - for (i=0; i < arguments.length; i++) - was_del= was_del || delete arguments[i]; - return was_del; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!__func("A","B",1,2)) { - $ERROR('#1: Since arguments property has attribute { DontDelete } elements of arguments can be deleted'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T4.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T4.js deleted file mode 100644 index 17c4fbb041..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A11_T4.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A11_T4; -* @section: 13; -* @assertion: Since arguments property has attribute { DontDelete }, only its elements can be deleted; -* @description: Deleting arguments[i] and checking the type of arguments[i]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A11_T4", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A11_T4.js", - -assertion: "Since arguments property has attribute { DontDelete }, only its elements can be deleted", - -description: "Deleting arguments[i] and checking the type of arguments[i]", - -test: function testcase() { - function __func(){ - is_undef=true; - for (i=0; i < arguments.length; i++) - { - delete arguments[i]; - is_undef= is_undef && (typeof arguments[i] === "undefined"); - }; - return is_undef; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!__func("A","B",1,2)) { - $ERROR('#1: Since arguments property has attribute { DontDelete }, but elements of arguments can be deleted'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A12_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A12_T1.js deleted file mode 100644 index a9179c3cda..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A12_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A12_T1; -* @section: 13; -* @assertion: Function declarations in global or function scope are {DontDelete}; -* @description: Checking if deleting a function that is declared in global scope fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A12_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A12_T1.js", - -assertion: "Function declarations in global or function scope are {DontDelete}", - -description: "Checking if deleting a function that is declared in global scope fails", - -test: function testcase() { - ALIVE="Letov is alive" - -function __func(){ - return ALIVE; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete __func) { - $ERROR('#1: delete __func returning false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func() !== ALIVE) { - $ERROR('#2: __func() === ALIVE. Actual: __func() ==='+__func()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A12_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A12_T2.js deleted file mode 100644 index 769ce21a5c..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A12_T2.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A12_T2; -* @section: 13; -* @assertion: Function declarations in global or function scope are {DontDelete}; -* @description: Checking if deleting a function that is declared in function scope fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A12_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A12_T2.js", - -assertion: "Function declarations in global or function scope are {DontDelete}", - -description: "Checking if deleting a function that is declared in function scope fails", - -test: function testcase() { - ALIVE="Letov is alive" - -function __cont(){ - - function __func(){ - return ALIVE; - }; - - ////////////////////////////////////////////////////////////////////////////// - //CHECK#1 - if (delete __func) { - $ERROR('#1: delete __func returning false'); - } - // - ////////////////////////////////////////////////////////////////////////////// - - ////////////////////////////////////////////////////////////////////////////// - //CHECK#2 - if (__func() !== ALIVE) { - $ERROR('#2: __func() === ALIVE. Actual: __func() ==='+__func()); - } - // - ////////////////////////////////////////////////////////////////////////////// -}; - -__cont(); - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T1.js deleted file mode 100644 index 84fed8ee2d..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A13_T1; -* @section: 13; -* @assertion: Deleting arguments[i] leads to breaking the connection to local reference; -* @description: Deleting arguments[i]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A13_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A13_T1.js", - -assertion: "Deleting arguments[i] leads to breaking the connection to local reference", - -description: "Deleting arguments[i]", - -test: function testcase() { - function __func(__arg){ - delete arguments[0]; - if (arguments[0] !== undefined) { - $ERROR('#1.1: arguments[0] === undefined'); - } - return __arg; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func(1) !== 1) { - $ERROR('#1.2: __func(1) === 1. Actual: __func(1) ==='+__func(1)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T2.js deleted file mode 100644 index 788ed74608..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A13_T2; -* @section: 13; -* @assertion: Deleting arguments[i] leads to breaking the connection to local reference; -* @description: Changing arguments value and then deleting the argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A13_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A13_T2.js", - -assertion: "Deleting arguments[i] leads to breaking the connection to local reference", - -description: "Changing arguments value and then deleting the argument", - -test: function testcase() { - function __func(__arg){ - __arg = 2; - delete arguments[0]; - if (arguments[0] !== undefined) { - $ERROR('#1.1: arguments[0] === undefined'); - } - return __arg; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func(1) !== 2) { - $ERROR('#1.2: __func(1) === 2. Actual: __func(1) ==='+__func(1)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T3.js deleted file mode 100644 index 6dafadc66d..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A13_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A13_T3; -* @section: 13; -* @assertion: Deleting arguments[i] leads to breaking the connection to local reference; -* @description: Changing argument value, deleting the argument and then defining a new value for arguments[i]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A13_T3", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A13_T3.js", - -assertion: "Deleting arguments[i] leads to breaking the connection to local reference", - -description: "Changing argument value, deleting the argument and then defining a new value for arguments[i]", - -test: function testcase() { - function __func(__arg){ - __arg = 2; - delete arguments[0]; - if (arguments[0] !== undefined) { - $ERROR('#1.1: arguments[0] === undefined'); - } - arguments[0] = "A"; - if (arguments[0] !== "A") { - $ERROR('#1.2: arguments[0] === "A"'); - } - return __arg; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func(1) !== 2) { - $ERROR('#1.3: __func(1) === 2. Actual: __func(1) ==='+__func(1)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A14.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A14.js deleted file mode 100644 index e2b79117b4..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A14.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A14; -* @section: 13; -* @assertion: Unicode symbols in function name are allowed; -* @description: Defining function name with unicode symbols; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A14", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A14.js", - -assertion: "Unicode symbols in function name are allowed", - -description: "Defining function name with unicode symbols", - -test: function testcase() { - eval("function __func\u0041(__arg){return __arg;};"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __funcA !== "function") { - $ERROR('#1: unicode symbols in function name are allowed'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T1.js deleted file mode 100644 index 504443d155..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A15_T1; -* @section: 13; -* @assertion: ''arguments'' variable overrides ActivationObject.arguments; -* @description: Declaring a function with "__func(arguments)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A15_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A15_T1.js", - -assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments", - -description: "Declaring a function with \"__func(arguments)\"", - -test: function testcase() { - function __func(arguments){ - return arguments; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func(42) !== 42) { - $ERROR('#1: "arguments" variable overrides ActivationObject.arguments'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T2.js deleted file mode 100644 index c7c48299c9..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A15_T2; -* @section: 13; -* @assertion: ''arguments'' variable overrides ActivationObject.arguments; -* @description: Overriding arguments within functions body; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A15_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A15_T2.js", - -assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments", - -description: "Overriding arguments within functions body", - -test: function testcase() { - THE_ANSWER="Answer to Life, the Universe, and Everything"; - -function __func(){ - var arguments = THE_ANSWER; - return arguments; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func(42,42,42) !== THE_ANSWER) { - $ERROR('#1: "arguments" variable overrides ActivationObject.arguments'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T3.js deleted file mode 100644 index 1931370f61..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A15_T3; -* @section: 13; -* @assertion: ''arguments'' variable overrides ActivationObject.arguments; -* @description: Declaring a variable named with "arguments" without a function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A15_T3", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A15_T3.js", - -assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments", - -description: "Declaring a variable named with \"arguments\" without a function", - -test: function testcase() { - THE_ANSWER="Answer to Life, the Universe, and Everything"; - -var arguments = THE_ANSWER; - -function __func(arguments){ - return arguments; - -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func() !== "undefined") { - $ERROR('#1: typeof __func() === "undefined". Actual: typeof __func() ==='+typeof __func()); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func("The Ultimate Question") !== "The Ultimate Question") { - $ERROR('#2: __func("The Ultimate Question") === "The Ultimate Question". Actual: __func("The Ultimate Question")==='+__func("The Ultimate Question")); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T4.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T4.js deleted file mode 100644 index 65fa3dfc63..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A15_T4; -* @section: 13; -* @assertion: ''arguments'' variable overrides ActivationObject.arguments; -* @description: Declaring a variable named with "arguments" and following a "return" statement within a function body; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A15_T4", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A15_T4.js", - -assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments", - -description: "Declaring a variable named with \"arguments\" and following a \"return\" statement within a function body", - -test: function testcase() { - THE_ANSWER="Answer to Life, the Universe, and Everything"; - -function __func(){ - return typeof arguments; - var arguments = THE_ANSWER; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func(42,42,42) !== "object") { - $ERROR('#1: __func(42,42,42) === "object". Actual: __func(42,42,42)==='+__func(42,42,42)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T5.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T5.js deleted file mode 100644 index b54c36f253..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A15_T5.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A15_T5; -* @section: 13; -* @assertion: ''arguments'' variable overrides ActivationObject.arguments; -* @description: Creating a variable named with "arguments" without a function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A15_T5", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A15_T5.js", - -assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments", - -description: "Creating a variable named with \"arguments\" without a function", - -test: function testcase() { - THE_ANSWER="Answer to Life, the Universe, and Everything"; - -var arguments = THE_ANSWER; - -function __func(){ - return arguments; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ( __func() === THE_ANSWER) { - $ERROR('#1: __func() !== THE_ANSWER'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func("The Ultimate Question") === "The Ultimate Question") { - $ERROR('#2: __func("The Ultimate Question") !== "The Ultimate Question"'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A16.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A16.js deleted file mode 100644 index d5b2fb831f..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A16.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A16; -* @section: 13; -* @assertion: Any separators are admitted between declaration chunks; -* @description: Inserting separators between declaration chunks; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A16", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A16.js", - -assertion: "Any separators are admitted between declaration chunks", - -description: "Inserting separators between declaration chunks", - -test: function testcase() { - function -x -( -) -{ -} -; - -x(); - -function y ( ) {}; - -y(); - -function - -z - -( - -) - -{ - -} - -; - -z(); - -eval("function\u0009\u2029w(\u000C)\u00A0{\u000D};"); - -w(); - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A17_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A17_T1.js deleted file mode 100644 index 2674bd0899..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A17_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A17_T1; -* @section: 13; -* @assertion: Function call cannot appear in the program before the FunctionExpression appears; -* @description: Trying to call a function before the FunctionExpression appears; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A17_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A17_T1.js", - -assertion: "Function call cannot appear in the program before the FunctionExpression appears", - -description: "Trying to call a function before the FunctionExpression appears", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - var __result = __func(); - $FAIL("#1.1: var __result = __func() lead to throwing exception"); -} catch(e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: func should throw a TypeError Actual: ' + (e)); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var __func = function (){return "ONE";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -var __result = __func(); -if (__result !== "ONE") { - $ERROR('#2: __result === "ONE". Actual: __result ==='+__result); -} -// -////////////////////////////////////////////////////////////////////////////// - -__func = function (){return "TWO";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -var __result = __func(); -if (__result !== "TWO") { - $ERROR('#3: __result === "TWO". Actual: __result ==='+__result); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A17_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A17_T2.js deleted file mode 100644 index a6f95d8309..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A17_T2.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A17_T2; -* @section: 13; -* @assertion: Function call cannot appear in the program before the FunctionExpression appears; -* @description: Trying to call a function before the FunctionExpression appears and then using the FunctionExpression one more time; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A17_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A17_T2.js", - -assertion: "Function call cannot appear in the program before the FunctionExpression appears", - -description: "Trying to call a function before the FunctionExpression appears and then using the FunctionExpression one more time", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - var __result = __func(); - $ERROR("#1: var __result = __func() lead to throwing exception"); -} catch(e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: func should throw a TypeError Actual: ' + (e)); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -// now we reach the __func overwriting by new expression -var __func = function __func(){return "ONE";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -var __result = __func(); -if (__result !== "ONE") { - $ERROR('#2: __result === "ONE". Actual: __result ==='+__result); -} -// -////////////////////////////////////////////////////////////////////////////// - -__func = function __func(){return "TWO";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -var __result = __func(); -if (__result !== "TWO") { - $ERROR('#3: __result === "TWO". Actual: __result ==='+__result); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A18.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A18.js deleted file mode 100644 index 0d8fc9edfd..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A18.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A18; -* @section: 13; -* @assertion: Closures are admitted; -* @description: Using a function declaration as a function parameter; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A18", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A18.js", - -assertion: "Closures are admitted", - -description: "Using a function declaration as a function parameter", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof sinx !== 'undefined') { - $ERROR('#1: typeof sinx === \'undefined\'. Actual: typeof sinx ==='+typeof sinx); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __val = function derivative(f, dx) { - return function(x) { - return (f(x + dx) - f(x)) / dx; - }; -}(function sinx(x){return Math.sin(x);},.0001)(0.5); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof sinx !== 'undefined') { - $ERROR('#2: typeof sinx === \'undefined\'. Actual: typeof sinx ==='+typeof sinx); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A19_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A19_T1.js deleted file mode 100644 index 3afef13b6d..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A19_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A19_T1; -* @section: 13,13.2; -* @assertion: "var" does not override function declaration; -* @description: Creating a function and a variable with identical Identifiers in global scope; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A19_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A19_T1.js", - -assertion: "\"var\" does not override function declaration", - -description: "Creating a function and a variable with identical Identifiers in global scope", - -test: function testcase() { - // since "var" does not override function declaration __decl is set to function -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __decl !== "function") { - $ERROR('#1: typeof __decl === "function". Actual: typeof __decl ==='+typeof __decl); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __decl = 1; - -//since statement was evaluted __decl turns to 1 from function -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__decl !== 1) { - $ERROR('#2: __decl === 1. Actual: __decl ==='+__decl); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __decl(){return 1;} - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A19_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A19_T2.js deleted file mode 100644 index 8d41121fb6..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A19_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A19_T2; -* @section: 13,13.2; -* @assertion: "var" does not override function declaration; -* @description: Creating a function and a variable with identical Identifiers within function scope; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A19_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A19_T2.js", - -assertion: "\"var\" does not override function declaration", - -description: "Creating a function and a variable with identical Identifiers within function scope", - -test: function testcase() { - (function (){ - - // since "var" does not override function declaration __decl is set to function - ////////////////////////////////////////////////////////////////////////////// - //CHECK#1 - if (typeof __decl !== "function") { - $ERROR('#1: typeof __decl === "function". Actual: typeof __decl ==='+typeof __decl); - } - // - ////////////////////////////////////////////////////////////////////////////// - - var __decl = 1; - - //since statement was evaluted __decl turns to 1 from function - ////////////////////////////////////////////////////////////////////////////// - //CHECK#2 - if (__decl !== 1) { - $ERROR('#2: __decl === 1. Actual: __decl ==='+__decl); - } - // - ////////////////////////////////////////////////////////////////////////////// - - function __decl(){return 1;} -})(); - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T1.js deleted file mode 100644 index 23342f323b..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A2_T1; -* @section: 13; -* @assertion: function must be evaluated inside the expression; -* @description: Defining function body with "return arg"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A2_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A2_T1.js", - -assertion: "function must be evaluated inside the expression", - -description: "Defining function body with \"return arg\"", - -test: function testcase() { - var x = (function __func(arg){return arg})(1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x !== 1) { - $ERROR('#1: x === 1. Actual: x ==='+x); -} - -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __func !== 'undefined') { - $ERROR('#2: typeof __func === \'undefined\'. Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T2.js deleted file mode 100644 index 4cb17ce675..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A2_T2; -* @section: 13; -* @assertion: function must be evaluated inside the expression; -* @description: Defining function body with "return arg + arguments[1]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A2_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A2_T2.js", - -assertion: "function must be evaluated inside the expression", - -description: "Defining function body with \"return arg + arguments[1]\"", - -test: function testcase() { - var x = (function __func(arg){return arg + arguments[1]})(1,"1"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x !== "11") { - $ERROR('#1: x === "11". Actual: x ==='+x); -} - -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __func !== 'undefined') { - $ERROR('#2: typeof __func === \'undefined\'. Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T3.js deleted file mode 100644 index d4ecad3814..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A2_T3.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A2_T3; -* @section: 13; -* @assertion: function must be evaluated inside the expression; -* @description: Defining function body with "return arguments[0] +"-"+ arguments[1]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A2_T3", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A2_T3.js", - -assertion: "function must be evaluated inside the expression", - -description: "Defining function body with \"return arguments[0] +\"-\"+ arguments[1]\"", - -test: function testcase() { - var x = (function __func(){return arguments[0] +"-"+ arguments[1]})("Obi","Wan"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x !== "Obi-Wan") { - $ERROR('#1: x === "Obi-Wan". Actual: x ==='+x); -} - -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __func !== 'undefined') { - $ERROR('#2: typeof __func === \'undefined\'. Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T1.js deleted file mode 100644 index 4f4939853d..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A3_T1; -* @section: 13; -* @assertion: The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression's FunctionBody to allow the function calling itself recursively; -* @description: Creating a recursive function that calculates factorial, as a variable. -* Function call itself by it`s name; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A3_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A3_T1.js", - -assertion: "The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression\'s FunctionBody to allow the function calling itself recursively", - -description: "Creating a recursive function that calculates factorial, as a variable.", - -test: function testcase() { - var __func = function __exp__func(arg){ - if (arg === 1) { - return arg; - } else { - return __exp__func(arg-1)*arg; - } -}; - -var fact_of_3 = __func(3); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (fact_of_3 !== 6) { - $ERROR("#1: fact_of_3 === 6. Actual: fact_of_3 ==="+fact_of_3); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T2.js deleted file mode 100644 index 76af1d2c45..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A3_T2; -* @section: 13; -* @assertion: The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression's FunctionBody to allow the function calling itself recursively; -* @description: Creating a recursive function that calculates factorial, as a variable. -* Function calls itself by the name of the variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A3_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A3_T2.js", - -assertion: "The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression\'s FunctionBody to allow the function calling itself recursively", - -description: "Creating a recursive function that calculates factorial, as a variable.", - -test: function testcase() { - var __func = function (arg){ - if (arg === 1) { - return arg; - } else { - return __func(arg-1)*arg; - } -}; - -var fact_of_3 = __func(3); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (fact_of_3 !== 6) { - $ERROR("#1: fact_of_3 === 6. Actual: fact_of_3 ==="+fact_of_3); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T3.js deleted file mode 100644 index 7346ff3d7a..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A3_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A3_T3; -* @section: 13; -* @assertion: The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression's FunctionBody to allow the function calling itself recursively; -* @description: Creating simple recursive function that calculates factorial; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A3_T3", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A3_T3.js", - -assertion: "The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression\'s FunctionBody to allow the function calling itself recursively", - -description: "Creating simple recursive function that calculates factorial", - -test: function testcase() { - function __func(arg){ - if (arg === 1) { - return arg; - } else { - return __func(arg-1)*arg; - } -}; - -var fact_of_3 = __func(3); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (fact_of_3 !== 6) { - $ERROR("#1: fact_of_3 === 6. Actual: fact_of_3 ==="+fact_of_3); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T1.js deleted file mode 100644 index 44825e9566..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A4_T1; -* @section: 13; -* @assertion: The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations; -* @description: Declaring a function that returns string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A4_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A4_T1.js", - -assertion: "The production FunctionDeclaration: \"function Identifier ( FormalParameterList_opt ) { FunctionBody }\" is processed by function declarations", - -description: "Declaring a function that returns string", - -test: function testcase() { - function __func(){return "zig-zig-sputnik";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func !== "function") { - $ERROR('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func() !== "zig-zig-sputnik") { - $ERROR('#2: __func() === "zig-zig-sputnik". Actual: __func() ==='+__func()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T2.js deleted file mode 100644 index 134cf8dbce..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A4_T2; -* @section: 13; -* @assertion: The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations; -* @description: Declaring a function that uses prefix increment operator within its "return" Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A4_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A4_T2.js", - -assertion: "The production FunctionDeclaration: \"function Identifier ( FormalParameterList_opt ) { FunctionBody }\" is processed by function declarations", - -description: "Declaring a function that uses prefix increment operator within its \"return\" Expression", - -test: function testcase() { - function __func(arg){return ++arg;}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func !== "function") { - $ERROR('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func(1) !== 2) { - $ERROR('#2: __func(1) === 2. Actual: __func(1) ==='+__func(1)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T3.js deleted file mode 100644 index 0cd0c95dfc..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A4_T3; -* @section: 13; -* @assertion: The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations; -* @description: Declaring a function that uses arithmetical operators within its "return" Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A4_T3", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A4_T3.js", - -assertion: "The production FunctionDeclaration: \"function Identifier ( FormalParameterList_opt ) { FunctionBody }\" is processed by function declarations", - -description: "Declaring a function that uses arithmetical operators within its \"return\" Expression", - -test: function testcase() { - function __func(arg1, arg2, arg3){return arg1+=(arg2+=arg3);}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func !== "function") { - $ERROR('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func(10, 20, 30) !== 60) { - $ERROR('#2: __func(10, 20, 30) === 60. Actual: __func(10,20,30) ==='+__func(10,20,30)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T4.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T4.js deleted file mode 100644 index b0a992afc7..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A4_T4.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A4_T4; -* @section: 13; -* @assertion: The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations; -* @description: Declaring a function that uses strings concatenaion opeator within its "return" Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A4_T4", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A4_T4.js", - -assertion: "The production FunctionDeclaration: \"function Identifier ( FormalParameterList_opt ) { FunctionBody }\" is processed by function declarations", - -description: "Declaring a function that uses strings concatenaion opeator within its \"return\" Expression", - -test: function testcase() { - function __func(){return arguments[0].name + " " + arguments[0].surname;}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func !== "function") { - $ERROR('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func({name:'fox', surname:'malder'}) !== "fox malder") { - $ERROR('#2: __func({name:\'fox\', surname:\'malder\'}) === "fox malder". Actual: __func({name:\'fox\', surname:\'malder\'}) ==='+__func({name:'fox', surname:'malder'})); -} -// -////////////////////////////////////////////////////////////////////////////// - -function func__(arg){return arg.name + " " + arg.surname;}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof func__ !== "function") { - $ERROR('#3: typeof func__ === "function". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (func__({name:'john', surname:'lennon'}) !== "john lennon") { - $ERROR('#4: func__({name:\'john\', surname:\'lennon\'}) === "john lennon". Actual: __func({name:\'john\', surname:\'lennon\'}) ==='+__func({name:'john', surname:'lennon'})); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A5.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A5.js deleted file mode 100644 index 7eee7545d2..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A5.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A5; -* @section: 13, 10.1.2; -* @assertion: Only FormalParameterList as arguments list is allowed; -* @description: Trying to use [arg1, arg2, arg3], (arg1, arg2, arg3), etc. as a FormalParameterList; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A5", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A5.js", - -assertion: "Only FormalParameterList as arguments list is allowed", - -description: "Trying to use [arg1, arg2, arg3], (arg1, arg2, arg3), etc. as a FormalParameterList", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - eval("function __func([arg1, arg2, arg3]){return arguments.length;}"); - $ERROR('#1: eval("function __func([arg1, arg2, arg3]){return arguments.length;}") lead to throwing exception'); -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR('#1.1: eval("function __func([arg1, arg2, arg3]){return arguments.length;}") lead to throwing exception of SyntaxError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try{ - eval("function __func((arg1, arg2, arg3)){return arguments.length;}"); - $ERROR('#2: eval("function __func((arg1, arg2, arg3)){return arguments.length;}") lead to throwing exception') -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR('#2.1: eval("function __func((arg1, arg2, arg3)){return arguments.length;}") lead to throwing exception of SyntaxError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try{ - eval("function __func(arg1, arg2, arg3,){return arguments.length;}"); - $ERROR('#3: eval("function __func(arg1, arg2, arg3,){return arguments.length;}") lead to throwing exception') -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR('#3.1: eval("function __func(arg1, arg2, arg3,){return arguments.length;}") lead to throwing exception of SyntaxError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A6_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A6_T1.js deleted file mode 100644 index 612fcf968d..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A6_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A6_T1; -* @section: 13; -* @assertion: FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier; -* @description: Duplicating function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A6_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A6_T1.js", - -assertion: "FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier", - -description: "Duplicating function declaration", - -test: function testcase() { - function __func(){return 1}; - -var __store__func = __func; - -var __1 = __func(); - - function __func(){return 'A'}; - -var __A = __func(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__store__func !== __func) { - $ERROR('#1: __store__func === __func. Actual: __store__func ==='+__store__func); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__1 !== __A) { - $ERROR('#2: __1 === __A. Actual: __1 ==='+__1); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A6_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A6_T2.js deleted file mode 100644 index 23614b2fb3..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A6_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A6_T2; -* @section: 13; -* @assertion: FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier; -* @description: Calling a function before it is declared one more time; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A6_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A6_T2.js", - -assertion: "FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier", - -description: "Calling a function before it is declared one more time", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - var __result = __func(); -} catch(e) { - $FAIL("#1: Function call can appears in the program before the FunctionDeclaration appears"); -} -if (__result !== "SECOND") { - $ERROR('#1.1: __result === "SECOND". Actual: __result ==='+__result); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func(){return "FIRST";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -__result = __func(); -if (__result !== "SECOND") { - $ERROR('#2: __result === "SECOND". Actual: __result ==='+__result); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func(){return "SECOND";}; - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T1.js deleted file mode 100644 index 8aefbf56a8..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T1.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A7_T1; -* @section: 13; -* @assertion: The FunctionBody must be SourceElements; -* @description: Using only SourceElements within the FunctionBody; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A7_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A7_T1.js", - -assertion: "The FunctionBody must be SourceElements", - -description: "Using only SourceElements within the FunctionBody", - -test: function testcase() { - function __func(){'ground control to major tom'}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func !== "function") { - $ERROR('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func__2(){b}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __func__2 !== "function") { - $ERROR('#2: typeof __func__2 === "function". Actual: typeof __func__2 ==='+typeof __func__2); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func__3(){1}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __func__3 !== "function") { - $ERROR('#3: typeof __func__3 === "function". Actual: typeof __func__3 ==='+typeof __func__3); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func__4(){1+c}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (typeof __func__4 !== "function") { - $ERROR('#4: typeof __func__4 === "function". Actual: typeof __func__4 ==='+typeof __func__4); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func__5(){inc(d)}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof __func__5 !== "function") { - $ERROR('#5: typeof __func__5 === "function". Actual: typeof __func__5 ==='+typeof __func__5); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func__6(){var \u0042 = 1;}; -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (typeof __func__6 !== "function") { - $ERROR('#6: typeof __func__6 === "function". Actual: typeof __func__6 ==='+typeof __func__6); -} -// -////////////////////////////////////////////////////////////////////////////// - -//function __func__7(){var \u003d = 1;}; -//////////////////////////////////////////////////////////////////////////////// -////CHECK#7 -//if (typeof __func__7 !== "function") { -// $ERROR('#7: The FunctionBody must be SourceElements'); -//} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T2.js deleted file mode 100644 index e0be8db540..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T2.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A7_T2; -* @section: 13; -* @assertion: The FunctionBody must be SourceElements; -* @description: Inserting elements that is different from SourceElements into the FunctionBody; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A7_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A7_T2.js", - -assertion: "The FunctionBody must be SourceElements", - -description: "Inserting elements that is different from SourceElements into the FunctionBody", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - eval("function __func(){/ ABC}"); - $ERROR('#1: eval("function __func(){/ ABC}") lead to throwing exception'); -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR('#1.1: eval("function __func(){/ ABC}") lead to throwing exception of SyntaxError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try{ - eval("function __func(){&1}"); - $ERROR('#3: eval("function __func(){&1}") lead to throwing exception'); -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR('#3.1: eval("function __func(){&1}") lead to throwing exception of SyntaxError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -try{ - eval("function __func(){# ABC}"); - $ERROR('#4: eval("function __func(){# ABC}") lead to throwing exception'); -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR('#4.1: eval("function __func(){# ABC}") lead to throwing exception of SyntaxError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T3.js deleted file mode 100644 index 7e1f5eadbf..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A7_T3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function __func(){\A\B\C}; - - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A8_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A8_T1.js deleted file mode 100644 index 5220f91309..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A8_T1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A8_T1; -* @section: 13; -* @assertion: Arguments property of activation object contains real params to be passed; -* @description: Creating a function declared with "function __func(param1, param2, param3)" and using arguments.length property in order to perform the test; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A8_T1", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A8_T1.js", - -assertion: "Arguments property of activation object contains real params to be passed", - -description: "Creating a function declared with \"function __func(param1, param2, param3)\" and using arguments.length property in order to perform the test", - -test: function testcase() { - function __func(param1, param2, param3) { - return arguments.length; - } - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func('A') !== 1) { - $ERROR('#1: __func(\'A\') === 1. Actual: __func(\'A\') ==='+__func('A')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func('A', 'B', 1, 2,__func) !== 5) { - $ERROR('#2: __func(\'A\', \'B\', 1, 2,__func) === 5. Actual: __func(\'A\', \'B\', 1, 2,__func) ==='+__func('A', 'B', 1, 2,__func)); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A8_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A8_T2.js deleted file mode 100644 index c581976a4a..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A8_T2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A8_T2; -* @section: 13; -* @assertion: Arguments property of activation object contains real params to be passed; -* @description: Creating a function with no parameters and using arguments.length property in order to perform the test; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A8_T2", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A8_T2.js", - -assertion: "Arguments property of activation object contains real params to be passed", - -description: "Creating a function with no parameters and using arguments.length property in order to perform the test", - -test: function testcase() { - function __func() { - return arguments.length; - } - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func('A') !== 1) { - $ERROR('#1: __func(\'A\') === 1. Actual: __func(\'A\') ==='+__func('A')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func('A', 'B', 1, 2,__func) !== 5) { - $ERROR('#2: __func(\'A\', \'B\', 1, 2,__func) === 5. Actual: __func(\'A\', \'B\', 1, 2,__func) ==='+__func('A', 'B', 1, 2,__func)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__func() !== 0) { - $ERROR('#3: __func() === 0. Actual: __func() ==='+__func()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A9.js b/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A9.js deleted file mode 100644 index 0cd3d72508..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A9.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A9; -* @section: 13; -* @assertion: Function can be passed as argument; -* @description: Using function as argument of another function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.0_A9", - -path: "TestCases/13_Function_Definition/13.0_Chapter/S13.0_A9.js", - -assertion: "Function can be passed as argument", - -description: "Using function as argument of another function", - -test: function testcase() { - function __func__INC(arg){return arg + 1;}; -function __func__MULT(incrementator, arg, mult){ return incrementator(arg)*mult; }; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func__MULT(__func__INC, 2, 2) !== 6) { - $ERROR('#1: function can be passed as argument'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1.js deleted file mode 100644 index d4323a8303..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A1_T1; -* @section: 13.2.1; -* @assertion: The depth of nested function calls reaches 32; -* @description: Creating function calls 32 elements depth; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A1_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1.js", - -assertion: "The depth of nested function calls reaches 32", - -description: "Creating function calls 32 elements depth", - -test: function testcase() { - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){ - (function(){})() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() - })() -})() - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1.js deleted file mode 100644 index 86623bbe0c..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A4_T1; -* @section: 13.2.1; -* @assertion: Objects as arguments are passed by reference; -* @description: Adding new number property to a function argument within the function body, -* where explicit argument is an object defined with "var __obj={}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A4_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1.js", - -assertion: "Objects as arguments are passed by reference", - -description: "Adding new number property to a function argument within the function body,", - -test: function testcase() { - function __func(__arg){ - __arg.foo=7; -} - -var __obj={}; - -__func(__obj); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.foo !== 7) { - $ERROR('#1: __obj.foo === 7. Actual: __obj.foo ==='+__obj.foo); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2.js deleted file mode 100644 index 07f630fcf8..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A4_T2; -* @section: 13.2.1; -* @assertion: Objects as arguments are passed by reference; -* @description: Adding new string property to a function argument within the function body, -* where explicit argument is an object defined with "__obj={}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A4_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2.js", - -assertion: "Objects as arguments are passed by reference", - -description: "Adding new string property to a function argument within the function body,", - -test: function testcase() { - function __func(__arg){ - __arg.foo="whiskey gogo"; -} - -var __obj={}; - - __func(__obj); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.foo !== "whiskey gogo") { - $ERROR('#1: __obj.foo === "whiskey gogo". Actual: __obj.foo ==='+__obj.foo); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3.js deleted file mode 100644 index 3c8d4bbbe5..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A4_T3; -* @section: 13.2.1; -* @assertion: Objects as arguments are passed by reference; -* @description: Adding new number property to a function argument within the function body, -* where array element "arguments[0]" is an object defined with "__obj={}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A4_T3", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3.js", - -assertion: "Objects as arguments are passed by reference", - -description: "Adding new number property to a function argument within the function body,", - -test: function testcase() { - function __func(){ - arguments[0]["PI"]=3.14; -} - -var __obj={}; - -__func(__obj); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.PI !== 3.14) { - $ERROR('#1: __obj.PI === 3.14. Actual: __obj.PI ==='+__obj.PI); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4.js deleted file mode 100644 index 5f0fd3cef8..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A4_T4; -* @section: 13.2.1; -* @assertion: Objects as arguments are passed by reference; -* @description: Adding new number property to a function argument within the function body, -* where array element "arguments[0]" is an object defined with "var __obj={}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A4_T4", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4.js", - -assertion: "Objects as arguments are passed by reference", - -description: "Adding new number property to a function argument within the function body,", - -test: function testcase() { - function __func(){ - arguments[0]["E"]=2.74; -} - -var __obj={}; - -__func(__obj); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.E !== 2.74) { - $ERROR('#1: __obj.E === 2.74. Actual: __obj.E ==='+__obj.E); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1.js deleted file mode 100644 index 194aa3a1f7..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A5_T1; -* @section: 13.2.1; -* @assertion: Closures are admitted; -* @description: Sorting with closure; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A5_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1.js", - -assertion: "Closures are admitted", - -description: "Sorting with closure", - -test: function testcase() { - var __arr = [4,3,2,1,4,3,2,1,4,3,2,1]; -//Sort uses closure -// -__arr.sort( - function(x,y) { - if (x>y){return -1;} - if (x= 1/65536.0) { - $ERROR('#1: Math.abs(derivative(Math.sin, 0.0001)(0) - derivative(Math.sin, 0.0001)(2*Math.PI)) <= 1/65536.0'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1.js deleted file mode 100644 index d1c29025f1..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A6_T1; -* @section: 13.2.1; -* @assertion: Primitive types are passed by value; -* @description: Declaring a function with "function __func(arg1, arg2)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A6_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1.js", - -assertion: "Primitive types are passed by value", - -description: "Declaring a function with \"function __func(arg1, arg2)\"", - -test: function testcase() { - function __func(arg1, arg2){ - arg1++; - arg2+="BA"; -}; - -var x=1; -y=2; -var a="AB" -b="SAM"; - -__func(x,a); -__func(y,b); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x!==1 || y!==2 || a!=="AB" || b!=="SAM") { - $ERROR('#1: x === 1 and y === 2 and a === "AB" and b === "SAM". Actual: x ==='+x+' and y ==='+y+' and a ==='+a+' and b ==='+b); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2.js deleted file mode 100644 index 26de13729f..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A6_T2; -* @section: 13.2.1; -* @assertion: Primitive types are passed by value; -* @description: Declaring a function with "__func = function(arg1, arg2)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A6_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2.js", - -assertion: "Primitive types are passed by value", - -description: "Declaring a function with \"__func = function(arg1, arg2)\"", - -test: function testcase() { - __func = function(arg1, arg2){ - arg1++; - arg2+="BA"; -}; - -var x=1; -y=2; -var a="AB" -b="SAM"; - -__func(x,a); -__func(y,b); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (x!==1 || y!==2 || a!=="AB" || b!=="SAM") { - $ERROR('#1: x === 1 and y === 2 and a === "AB" and b === "SAM". Actual: x ==='+x+' and y ==='+y+' and a ==='+a+' and b ==='+b); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1.js deleted file mode 100644 index 9cb012989e..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A7_T1; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: -* 2. Evaluate F's FunctionBody; -* if Result.type is returned then Result.value is returned too; -* @description: Returning null. Declaring a function with "function __func()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A7_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1.js", - -assertion: "When the [[Call]] property for a Function object F is called, the following steps are taken:", - -description: "Returning null. Declaring a function with \"function __func()\"", - -test: function testcase() { - function __func(){ - var x = null; - return x; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - var x=__func(); -} catch(e){ - $ERROR('#1: var x=__func() does not lead to throwing exception. Actual: exception is '+e); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2.js deleted file mode 100644 index be0438e144..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A7_T2; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: -* 2. Evaluate F's FunctionBody; -* if Result.type is returned then Result.value is returned too; -* @description: Returning null. Declaring a function with "var __func = function ()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A7_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2.js", - -assertion: "When the [[Call]] property for a Function object F is called, the following steps are taken:", - -description: "Returning null. Declaring a function with \"var __func = function ()\"", - -test: function testcase() { - var __func = function (){ - var x = null; - return x; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - var x=__func(); -} catch(e){ - $ERROR('#1: var x=__func() does not lead to throwing exception. Actual: exception is '+e); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3.js deleted file mode 100644 index ceb9d37940..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A7_T3; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: -* 2. Evaluate F's FunctionBody; -* if Result.type is returned then Result.value is returned too; -* @description: Returning number. Declaring a function with "function __func()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A7_T3", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3.js", - -assertion: "When the [[Call]] property for a Function object F is called, the following steps are taken:", - -description: "Returning number. Declaring a function with \"function __func()\"", - -test: function testcase() { - function __func(){ - x = 1; - return x; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -try { - x=x; - $ERROR('#0: "x=x" lead to throwing exception'); -} catch (e) {} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - var __x=__func() -} catch(e){ - $ERROR('#1: var __x=__func() does not lead to throwing exception. Actual: exception is '+e); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__x !== 1) { - $ERROR('#2: __x === 1. Actual: __x ==='+__x); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (x !== 1) { - $ERROR('#3: x === 1. Actual: x ==='+x); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4.js deleted file mode 100644 index 1011266536..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A7_T4; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: -* 2. Evaluate F's FunctionBody; -* if Result.type is returned then Result.value is returned too; -* @description: Returning boolean. Declaring a function with "function __func()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A7_T4", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4.js", - -assertion: "When the [[Call]] property for a Function object F is called, the following steps are taken:", - -description: "Returning boolean. Declaring a function with \"function __func()\"", - -test: function testcase() { - function __func(){ - var x = true; - return x; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -try { - x=x; - $ERROR('#0: "x=x" lead to throwing exception'); -} catch (e) {} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - var __x=__func() -} catch(e){ - $ERROR('#1: var __x=__func() does not lead to throwing exception. Actual: exception is '+e); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(__x)) { - $ERROR('#2: __x === true. Actual: __x ==='+__x); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try { - x=x; - $ERROR('#3: "x=x" lead to throwing exception'); -} catch (e) {} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1.js deleted file mode 100644 index 3b2e0836ca..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A8_T1; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: -* 2. Evaluate F's FunctionBody; -* if Result.type is thrown then Result.value is thrown too; -* @description: Throwing an exception within a function body. Declaring function with "function __func()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A8_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1.js", - -assertion: "When the [[Call]] property for a Function object F is called, the following steps are taken:", - -description: "Throwing an exception within a function body. Declaring function with \"function __func()\"", - -test: function testcase() { - function __func(){ - var x = 1; - throw ("Catch Me If You Can") - return x; -} - -try{ - var x=__func() - $ERROR('#0: var x=__func() lead to throwing exception'); -} catch(e){ - if (e !== "Catch Me If You Can") { - $ERROR('#1: Exception === "Catch Me If You Can". Actual: exception ==='+e); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2.js deleted file mode 100644 index 7fd86c4e9d..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A8_T2; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: -* 2. Evaluate F's FunctionBody; -* if Result.type is thrown then Result.value is thrown too; -* @description: Throwing an exception within a function body. Declaring function with "var __func = function (message)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A8_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2.js", - -assertion: "When the [[Call]] property for a Function object F is called, the following steps are taken:", - -description: "Throwing an exception within a function body. Declaring function with \"var __func = function (message)\"", - -test: function testcase() { - var CATCH_ME_IF_YOU_CAN = true; - -var __func = function (message){ - var x = 1; - throw (message) - return x; -} - -try{ - var x=__func(CATCH_ME_IF_YOU_CAN) - $ERROR('#0: var x=__func(CATCH_ME_IF_YOU_CAN) lead to throwing exception'); -} catch(e){ - if (!e) { - $ERROR('#1: Exception === true. Actual: exception ==='+e); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1.js deleted file mode 100644 index 31b80e2920..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A9.1_T1; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object is called, -* the body is evaluated and if evaluation result has type "normal", then "undefined" is returned; -* @description: Declaring a function with "function __func()" and no "return" in the function body; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A9.1_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1.js", - -assertion: "When the [[Call]] property for a Function object is called,", - -description: "Declaring a function with \"function __func()\" and no \"return\" in the function body", - -test: function testcase() { - var x; - -function __func(){ - x = true; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func() !== undefined) { - $ERROR('#1: __func() === undefined. Actual: __func() ==='+__func()); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!x) { - $ERROR('#2: x === true. Actual: x === '+x); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2.js deleted file mode 100644 index 73fae6b9ba..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A9.1_T2; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object is called, -* the body is evaluated and if evaluation result has type "normal", then "undefined" is returned; -* @description: Declaring a function with "var __func = function()" and no "return" in the function body; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A9.1_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2.js", - -assertion: "When the [[Call]] property for a Function object is called,", - -description: "Declaring a function with \"var __func = function()\" and no \"return\" in the function body", - -test: function testcase() { - var x; - -var __func = function(){ - x = true; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func() !== undefined) { - $ERROR('#1: __func() === undefined. Actual: __func() ==='+__func()); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!x) { - $ERROR('#2: x === true. Actual: x === '+x); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1.js deleted file mode 100644 index 6106b4128d..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A9_T1; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object is called, -* the body is evaluated and if evaluation result has type "return" its value is not defined, then "undefined" is returned; -* @description: Using "return" with no expression. Declaring a function with "function __func()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A9_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1.js", - -assertion: "When the [[Call]] property for a Function object is called,", - -description: "Using \"return\" with no expression. Declaring a function with \"function __func()\"", - -test: function testcase() { - var x; - -function __func(){ - x = 1; - return; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func() !== undefined) { - $ERROR('#1: __func() === undefined. Actual: __func() ==='+__func()); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (x!==1) { - $ERROR('#2: x === 1. Actual: x === '+x); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2.js deleted file mode 100644 index 5f7cd383be..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.1_A9_T2; -* @section: 13.2.1; -* @assertion: When the [[Call]] property for a Function object is called, -* the body is evaluated and if evaluation result has type "return" its value is not defined, then "undefined" is returned; -* @description: Using "return" with no expression. Declaring a function with "var __func = function()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.1_A9_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2.js", - -assertion: "When the [[Call]] property for a Function object is called,", - -description: "Using \"return\" with no expression. Declaring a function with \"var __func = function()\"", - -test: function testcase() { - var x; - -var __func = function(){ - x = 1; - return; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func() !== undefined) { - $ERROR('#1: __func() === undefined. Actual: __func() ==='+__func()); -}; -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (x!==1) { - $ERROR('#2: x === 1. Actual: x === '+x); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10.js deleted file mode 100644 index 5a125bd32a..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A10; -* @section: 13.2.2; -* @assertion: Calling a function as a constructor is possible as long as this.any_Function is declared; -* @description: Calling a function as a constructor after it has been declared; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A10", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10.js", - -assertion: "Calling a function as a constructor is possible as long as this.any_Function is declared", - -description: "Calling a function as a constructor after it has been declared", - -test: function testcase() { - function FACTORY(){ - this.id = 0; - - this.func = function (){ - return 5; - } - - this.id = this.func(); - -} -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var obj = new FACTORY(); -} catch (e) { - $ERROR('#1: var obj = new FACTORY() does not lead to throwing exception. Actual: Exception is '+e); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (obj.id !== 5) { - $ERROR('#2: obj.id === 5. Actual: obj.id ==='+obj.id); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11.js deleted file mode 100644 index 864eb84fd8..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A11; -* @section: 13.2.2; -* @assertion: Calling a function as a constructor is possible as long as this.any_Function is declared and called; -* @description: Calling a function as a constructor after it has been declared with "function func()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A11", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11.js", - -assertion: "Calling a function as a constructor is possible as long as this.any_Function is declared and called", - -description: "Calling a function as a constructor after it has been declared with \"function func()\"", - -test: function testcase() { - function FACTORY(){ - this.id = 0; - - this.id = this.func(); - - function func(){ - return "id_string"; - } - -} -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var obj = new FACTORY(); - $ERROR('#1: var obj = new FACTORY() lead to throwing exception'); -} catch (e) {} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12.js deleted file mode 100644 index 74131fb543..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A12; -* @section: 13.2.2; -* @assertion: Calling a function as a constructor is possible as long as this.any_Function is declared and called; -* @description: Calling a function as a constructor after it has been declared with "function func()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A12", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12.js", - -assertion: "Calling a function as a constructor is possible as long as this.any_Function is declared and called", - -description: "Calling a function as a constructor after it has been declared with \"function func()\"", - -test: function testcase() { - function FACTORY(){ - this.id = 0; - - this.id = func(); - - function func(){ - return "id_string"; - } - -} -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var obj = new FACTORY(); -} catch (e) { - $ERROR('#1: var obj = new FACTORY() does not lead to throwing exception. Actual: Exception is '+e); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (obj.id !== "id_string") { - $ERROR('#2: obj.id === "id_string". Actual: obj.id ==='+obj.id); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13.js deleted file mode 100644 index 6383100134..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A13; -* @section: 13.2.2; -* @assertion: Calling a function as a constructor is inadmissible as long as this.any_Function is declared by eval and called; -* @description: Calling a function as a constructor after it has been declared by eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A13", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13.js", - -assertion: "Calling a function as a constructor is inadmissible as long as this.any_Function is declared by eval and called", - -description: "Calling a function as a constructor after it has been declared by eval", - -test: function testcase() { - function FACTORY(){ - this.id = 0; - - this.id = func(); - - eval("function func(){return \"id_string\";}"); - -} -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var obj = new FACTORY(); - $ERROR('#1: var obj = new FACTORY() lead to throwing exception'); -} catch (e) {} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14.js deleted file mode 100644 index 468abe6f4d..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A14; -* @section: 13.2.2; -* @assertion: Calling a function as a constructor is inadmissible as long as this.any_Function is declared by eval and called; -* @description: Calling a function as a constructor after it has been declared by eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A14", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14.js", - -assertion: "Calling a function as a constructor is inadmissible as long as this.any_Function is declared by eval and called", - -description: "Calling a function as a constructor after it has been declared by eval", - -test: function testcase() { - function FACTORY(){ - this.id = 0; - - eval("function func(){return \"id_string\";}"); - - this.id = func(); - -} -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var obj = new FACTORY(); -} catch (e) { - $ERROR('#1: var obj = new FACTORY() does not lead to throwing exception'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1.js deleted file mode 100644 index 00a2433121..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A15_T1; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called, -* and the object created in the function is returned, the object (declared with "this" within a function) will be strong and healthy; -* @description: Function declared at the end of the program and "obj" property is declared with "var obj = {}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A15_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1.js", - -assertion: "When the [[Construct]] property for a Function object F is called,", - -description: "Function declared at the end of the program and \"obj\" property is declared with \"var obj = {}\"", - -test: function testcase() { - var __obj = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof obj !== "undefined") { - $ERROR('#1: typeof obj === "undefined". Actual: typeof obj ==='+typeof obj); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.prop !== "A") { - $ERROR('#2: __obj.prop === "A". Actual: __obj.prop ==='+__obj.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__obj.slot.prop !==1) { - $ERROR('#3: __obj.slot.prop ===1. Actual: __obj.slot.prop ==='+__obj.slot.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __FACTORY(){ - this.prop = 1; - var obj = {}; - obj.prop = "A"; - obj.slot = this; - return obj; -} - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2.js deleted file mode 100644 index 43856ae4b9..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A15_T2; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called, -* and the object created in the function is returned, the object (declared with "this" within a function) will be strong and healthy; -* @description: Function declared at the end of the program and "obj" property is declared with "obj = {}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A15_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2.js", - -assertion: "When the [[Construct]] property for a Function object F is called,", - -description: "Function declared at the end of the program and \"obj\" property is declared with \"obj = {}\"", - -test: function testcase() { - var __obj = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (obj.prop !== "A") { - $ERROR('#1: obj.prop === "A". Actual: obj.prop ==='+obj.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.prop !== "A") { - $ERROR('#2: __obj.prop === "A". Actual: __obj.prop ==='+__obj.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__obj.slot.prop !==1) { - $ERROR('#3: __obj.slot.prop === 1. Actual: __obj.slot.prop ==='+__obj.slot.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __FACTORY(){ - this.prop = 1; - obj = {}; - obj.prop = "A"; - obj.slot = this; - return obj; -} - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3.js deleted file mode 100644 index d3e328e630..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A15_T3; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called, -* and the object created in the function is returned, the object (declared with "this" within a function) will be strong and healthy; -* @description: Function declared at the end of the program and "obj" property is declared with "var obj = {}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A15_T3", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3.js", - -assertion: "When the [[Construct]] property for a Function object F is called,", - -description: "Function declared at the end of the program and \"obj\" property is declared with \"var obj = {}\"", - -test: function testcase() { - __FACTORY = function (){ - this.prop = 1; - var obj = {}; - obj.prop = "A"; - obj.slot = this; - return obj; -} - -__obj = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof obj !== "undefined") { - $ERROR('#1: typeof obj === "undefined". Actual: typeof obj ==='+typeof obj); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.prop !== "A") { - $ERROR('#2: __obj.prop === "A". Actual: __obj.prop ==='+__obj.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__obj.slot.prop !==1) { - $ERROR('#3: __obj.slot.prop ===1. Actual: __obj.slot.prop ==='+__obj.slot.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4.js deleted file mode 100644 index f240b027ac..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A15_T4; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called, -* and the object created in the function is returned, the object (declared with "this" within a function) will be strong and healthy; -* @description: Function declared at the end of the program and "obj" property is declared with "obj = {}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A15_T4", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4.js", - -assertion: "When the [[Construct]] property for a Function object F is called,", - -description: "Function declared at the end of the program and \"obj\" property is declared with \"obj = {}\"", - -test: function testcase() { - __FACTORY = function(){ - this.prop = 1; - obj = {}; - obj.prop = "A"; - obj.slot = this; - return obj; -} - -__obj = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (obj.prop !== "A") { - $ERROR('#1: obj.prop === "A". Actual: obj.prop ==='+obj.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.prop !== "A") { - $ERROR('#2: __obj.prop === "A". Actual: __obj.prop ==='+obj.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__obj.slot.prop !==1) { - $ERROR('#3: __obj.slot.prop ===1. Actual: __obj.slot.prop ==='+obj.slot.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1.js deleted file mode 100644 index 8765e6d1e0..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A16_T1; -* @section: 13.2.2; -* @assertion: FunctionExpression within a new statement is admitted; -* @description: Using "is __obj = new function __func(){this.prop=1;}" as FunctionExpression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A16_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1.js", - -assertion: "FunctionExpression within a new statement is admitted", - -description: "Using \"is __obj = new function __func(){this.prop=1;}\" as FunctionExpression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func !== "undefined") { - $ERROR('#1: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = new function __func(){this.prop=1;}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.prop !== 1) { - $ERROR('#2: __obj.prop === 1. Actual: __obj.prop ==='+__obj.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof __func !== "undefined") { - $ERROR('#5: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2.js deleted file mode 100644 index 43c83448ad..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A16_T2; -* @section: 13.2.2; -* @assertion: FunctionExpression within a new statement is admitted; -* @description: Using "var __obj = new function __func(arg){this.prop=arg;}(5)" as FunctionExpression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A16_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2.js", - -assertion: "FunctionExpression within a new statement is admitted", - -description: "Using \"var __obj = new function __func(arg){this.prop=arg;}(5)\" as FunctionExpression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func !== "undefined") { - $ERROR('#1: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = new function __func(arg){this.prop=arg;}(5); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.prop !== 5) { - $ERROR('#2: __obj.prop === 5. Actual: __obj.prop ==='+__obj.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __func !== "undefined") { - $ERROR('#3: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3.js deleted file mode 100644 index 95d01914e4..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A16_T3; -* @section: 13.2.2; -* @assertion: FunctionExpression within a new statement is admitted; -* @description: Using "is __obj = new function __func(arg){this.prop=arg; return {feat: ++arg}}(5)" as FunctionExpression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A16_T3", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3.js", - -assertion: "FunctionExpression within a new statement is admitted", - -description: "Using \"is __obj = new function __func(arg){this.prop=arg; return {feat: ++arg}}(5)\" as FunctionExpression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func !== "undefined") { - $ERROR('#1: typeof __func === "undefined"'); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = new function __func(arg){this.prop=arg; return {feat: ++arg}}(5); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.prop !== undefined) { - $ERROR('#2: __obj.prop === undefined. Actual: __obj.prop ==='+__obj.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__obj.feat !== 6) { - $ERROR('#3: __obj.feat === 6. Actual: __obj.feat ==='+__obj.feat); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (typeof __func !== "undefined") { - $ERROR('#4: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1.js deleted file mode 100644 index 775512090a..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A17_T1; -* @section: 13.2.2; -* @assertion: FunctionExpression containing "with" statement is admitted; -* @description: Using "with" statement within a function body; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A17_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1.js", - -assertion: "FunctionExpression containing \"with\" statement is admitted", - -description: "Using \"with\" statement within a function body", - -test: function testcase() { - var p1="alert"; - -var __obj={p1:1,getRight:function(){return "right";}}; - -this.getRight=function(){return "napravo";}; - -(function(){ - with(__obj){ - p1="w1"; - function getRight(){return false;} - } -})(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (p1!=="alert") { - $ERROR('#1: p1 === "alert". Actual: p1==='+p1); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (getRight()!=="napravo") { - $ERROR('#2: getRight() === "napravo". Actual: getRight() === '+getRight()); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__obj.p1!=="w1") { - $ERROR('#3: __obj.p1 === "w1". Actual: __obj.p1 ==='+__obj.p1); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__obj.getRight()!=="right") { - $ERROR('#4: __obj.getRight() === "right". Actual: __obj.getRight() ==='+__obj.getRight()); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2.js deleted file mode 100644 index e4134a510a..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A17_T2; -* @section: 13.2.2; -* @assertion: FunctionExpression containing "with" statement is admitted; -* @description: Throwing an exception within "with" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A17_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2.js", - -assertion: "FunctionExpression containing \"with\" statement is admitted", - -description: "Throwing an exception within \"with\" statement", - -test: function testcase() { - this.p1="alert"; - -__obj={p1:1,getRight:function(){return "right";}}; - -getRight=function(){return "napravo";}; - -try { - (function(){ - with(__obj){ - p1="w1"; - getRight=function(){return false;} - throw p1; - } - })(); -} catch (e) { - resukt = p1; -} - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (p1!=="alert") { - $ERROR('#1: p1 === "alert". Actual: p1==='+p1); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (getRight()!=="napravo") { - $ERROR('#2: getRight() === "napravo". Actual: getRight() === '+getRight()); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__obj.p1!=="w1") { - $ERROR('#3: __obj.p1 === "w1". Actual: __obj.p1 ==='+__obj.p1); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__obj.getRight()!==false) { - $ERROR('#4: __obj.getRight() === false. Actual: __obj.getRight() === '+__obj.getRight()); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (resukt !== "alert") { - $ERROR('#5: resukt === "alert". Actual: resukt ==='+resukt); -} -// -////////////////////////////////////////////////////////////////////////////// - -var resukt; - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3.js deleted file mode 100644 index 4b386cbf79..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3.js +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A17_T3; -* @section: 13.2.2; -* @assertion: FunctionExpression containing "with" statement is admitted; -* @description: In the check 4 we populate field getRight in __obj object since var getRight declaration adds variable to function scope -* but getRight in statement resolves within with(__obj) scope and searchs getRight in __obj first; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A17_T3", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3.js", - -assertion: "FunctionExpression containing \"with\" statement is admitted", - -description: "In the check 4 we populate field getRight in __obj object since var getRight declaration adds variable to function scope", - -test: function testcase() { - p1="alert"; - -this.__obj={p1:1,getRight:function(){return "right";}}; - -var getRight=function(){return "napravo";}; - -resukt=(function(){ - with(__obj){ - p1="w1"; - var getRight=function(){return false;}; - return p1; - } -})(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (p1!=="alert") { - $ERROR('#1: p1 === "alert". Actual: p1==='+p1); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (getRight()!=="napravo") { - $ERROR('#2: getRight() === "napravo". Actual: getRight()==='+getRight()); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__obj.p1!=="w1") { - $ERROR('#3: __obj.p1 === "w1". Actual: __obj.p1 ==='+__obj.p1); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__obj.getRight()!==false) { - $ERROR('#4: __obj.getRight() === false. Actual: __obj.getRight()==='+__obj.getRight()); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (resukt !== "w1") { - $ERROR('#5: resukt === "w1". Actual: resukt ==='+resukt); -} -// -////////////////////////////////////////////////////////////////////////////// - -var resukt; - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1.js deleted file mode 100644 index 1e7a491b67..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A18_T1; -* @section: 13.2.2; -* @assertion: Using arguments object within a "with" Expression that is nested in a function is admitted; -* @description: Object is declared with "var __obj={callee:"a"}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A18_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1.js", - -assertion: "Using arguments object within a \"with\" Expression that is nested in a function is admitted", - -description: "Object is declared with \"var __obj={callee:\"a\"}\"", - -test: function testcase() { - var callee=0, b; - -var __obj={callee:"a"}; - -result=(function(){ - with (arguments){ - callee=1; - b=true; - } - return arguments; -})(__obj); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (callee !== 0) { - $ERROR('#1: callee === 0. Actual: callee ==='+callee); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.callee !== "a") { - $ERROR('#2: __obj.callee === "a". Actual: __obj.callee==='+__obj.callee); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (result.callee !== 1) { - $ERROR('#3: result.callee === 1. Actual: result.callee ==='+result.callee); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (!(this.b)) { - $ERROR('#4: this.b === true. Actual: this.b ==='+this.b); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2.js deleted file mode 100644 index bb62a291ca..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A18_T2; -* @section: 13.2.2; -* @assertion: Using arguments object within a "with" Expression that is nested in a function is admitted; -* @description: Object is declared with "__obj={callee:"a"}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A18_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2.js", - -assertion: "Using arguments object within a \"with\" Expression that is nested in a function is admitted", - -description: "Object is declared with \"__obj={callee:\"a\"}\"", - -test: function testcase() { - this.callee = 0; -var b; - -__obj={callee:"a"}; - -function f(){ - with (arguments){ - callee=1; - b=true; - return arguments; - } -}; - -result=f(__obj); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (callee !== 0) { - $ERROR('#1: callee === 0. Actual: callee ==='+callee); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.callee !== "a") { - $ERROR('#2: __obj.callee === "a". Actual: __obj.callee ==='+__obj.callee); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (result.callee !== 1) { - $ERROR('#3: result.callee === 1. Actual: result.callee ==='+result.callee); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (!(this.b)) { - $ERROR('#4: this.b === true. Actual: this.b ==='+this.b); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1.js deleted file mode 100644 index a68f56dd3c..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A19_T1; -* @section: 13.2.2; -* @assertion: Function's scope chain is started when it is declared; -* @description: Function is declared in the global scope; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A19_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1.js", - -assertion: "Function\'s scope chain is started when it is declared", - -description: "Function is declared in the global scope", - -test: function testcase() { - var a = 1; - -var __func= function(){return a;}; - -var __obj = {a:2}; - -with (__obj) -{ - result = __func(); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (result !== 1) { - $ERROR('#1: result === 1. Actual: result ==='+result); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2.js deleted file mode 100644 index e586560218..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A19_T2; -* @section: 13.2.2; -* @assertion: Function's scope chain is started when it is declared; -* @description: Function is declared in the object scope. Using "with" statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A19_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2.js", - -assertion: "Function\'s scope chain is started when it is declared", - -description: "Function is declared in the object scope. Using \"with\" statement", - -test: function testcase() { - var a = 1; - -var __obj = {a:2}; - -with (__obj) -{ - result = (function(){return a;})(); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (result !== 2) { - $ERROR('#1: result === 2. Actual: result ==='+result); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3.js deleted file mode 100644 index ebac507abc..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A19_T3; -* @section: 13.2.2; -* @assertion: Function's scope chain is started when it is declared; -* @description: Function is declared in the object scope and then an exception is thrown; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A19_T3", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3.js", - -assertion: "Function\'s scope chain is started when it is declared", - -description: "Function is declared in the object scope and then an exception is thrown", - -test: function testcase() { - var a = 1; - -var __obj = {a:2}; - -try { - with (__obj) - { - var __func = function (){return a;}; - throw 3; - } -} catch (e) { - ; -} - -result = __func(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (result !== 2) { - $ERROR('#1: result === 2. Actual: result ==='+result); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js deleted file mode 100644 index 7d0d6c17a5..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A19_T4; -* @section: 13.2.2; -* @assertion: Function's scope chain is started when it is declared; -* @description: Function is declared in the hierarchical object scope and then an exception is thrown; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A19_T4", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js", - -assertion: "Function\'s scope chain is started when it is declared", - -description: "Function is declared in the hierarchical object scope and then an exception is thrown", - -test: function testcase() { - var a = 1; - -var __obj = {a:2,__obj:{a:3}}; - -try { - with (__obj) - { - with(__obj){ - var __func = function(){return a;}; - throw 5; - } - } -} catch (e) { - ; -} - -result = __func(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (result !== 3) { - $ERROR('#1: result === 3. Actual: result ==='+result); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5.js deleted file mode 100644 index ecca6de75c..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A19_T5; -* @section: 13.2.2; -* @assertion: Function's scope chain is started when it is declared; -* @description: Function is declared in the object scope, then an exception is thrown and the object is deleted; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A19_T5", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5.js", - -assertion: "Function\'s scope chain is started when it is declared", - -description: "Function is declared in the object scope, then an exception is thrown and the object is deleted", - -test: function testcase() { - var a = 1; - -var __obj = {a:2}; - -with (__obj) -{ - try { - - var __func = function() - { - return a; - } - throw 3; - } catch (e) { - ; - } -} - -delete __obj; - -result = __func(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (result !== 2) { - $ERROR('#1: result === 2. Actual: result ==='+result); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js deleted file mode 100644 index 52578d3ddb..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A19_T6; -* @section: 13.2.2; -* @assertion: Function's scope chain is started when it is declared; -* @description: Function is declared in the "object->do-while" scope, then the object is deleted and another object with the same name is declared; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A19_T6", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js", - -assertion: "Function\'s scope chain is started when it is declared", - -description: "Function is declared in the \"object->do-while\" scope, then the object is deleted and another object with the same name is declared", - -test: function testcase() { - var a = 1; - -var __obj = {a:2}; - -with (__obj) -{ - do { - var __func = function() - { - return a; - } - } while(0); -} - -delete __obj; - -var __obj = {a:3}; - -with (__obj) -{ - result = __func(); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (result !== 2) { - $ERROR('#1: result === 2. Actual: result ==='+result); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7.js deleted file mode 100644 index 44b29d6bd8..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A19_T7; -* @section: 13.2.2; -* @assertion: Function's scope chain is started when it is declared; -* @description: Function is declared in the object scope as a variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A19_T7", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7.js", - -assertion: "Function\'s scope chain is started when it is declared", - -description: "Function is declared in the object scope as a variable", - -test: function testcase() { - var a = 1; - -var __obj = {a:2}; - -with (__obj) -{ - var __func = function() - { - return a; - } -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.hasOwnProperty('__func')) { - $ERROR('#1: __obj.hasOwnProperty(\'__func\') === false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -///////////////////////////////////// ///////////////////////////////////////// -//CHECK#2 -if (!(this.hasOwnProperty('__func'))) { - $ERROR('#2: this.hasOwnProperty(\'__func\') === true'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__func in __obj) { - $ERROR('#3: (__func in __obj) === false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (this.__func === undefined) { - $ERROR('#4: this.__func !== undefined'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8.js deleted file mode 100644 index 7728c7078b..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A19_T8; -* @section: 13.2.2; -* @assertion: Function's scope chain is started when it is declared; -* @description: Function is declared multiply times; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A19_T8", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8.js", - -assertion: "Function\'s scope chain is started when it is declared", - -description: "Function is declared multiply times", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (typeof __func !== "undefined") { - $ERROR('#0: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); -} -// -////////////////////////////////////////////////////////////////////////////// - -var a = 1, b = "a"; - -var __obj = {a:2}; - -with (__obj) -{ - while(1){ - var __func = function() - { - return a; - } - break; - } -} - -delete __obj; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func() !== 2) { - $ERROR('#1: __func() === 2. Actual: __func() ==='+__func()); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = {a:3,b:"b"}; - -with (__obj) -{ - var __func = function() - { - return b; - } -} - -delete __obj; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func()!=="b") { - $ERROR('#2: __func()==="b". Actual: __func()==='+__func()); -} -// -////////////////////////////////////////////////////////////////////////////// - -with ({a:99,b:"c"}) -{ - ////////////////////////////////////////////////////////////////////////////// - //CHECK#3 - if (__func() !== "b") { - $ERROR('#3: __func()==="b". Actual: __func()==='+__func()); - } - // - ////////////////////////////////////////////////////////////////////////////// -} - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1.js deleted file mode 100644 index 7ac3ac1582..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A1_T1; -* @section: 13.2.2; -* @assertion: Since a function is an object, it might be set to [[Prototype]] property of a new created object through [[Construct]] property; -* @description: Declaring a function with "function __func()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A1_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1.js", - -assertion: "Since a function is an object, it might be set to [[Prototype]] property of a new created object through [[Construct]] property", - -description: "Declaring a function with \"function __func()\"", - -test: function testcase() { - var __MONSTER="monster"; -var __PREDATOR="predator"; - -function __PROTO(){}; - -try{ - __PROTO.type=__MONSTER; -} -catch(e){ - $ERROR('#0: __PROTO.type=__MONSTER does not lead to throwing exception') -} - -function __FACTORY(){this.name=__PREDATOR}; - -__FACTORY.prototype=__PROTO; - -var __monster = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__PROTO.isPrototypeOf(__monster))) { - $ERROR('#1: __PROTO.isPrototypeOf(__monster) must be true'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__monster.type !==__MONSTER) { - $ERROR('#2: __monster.type ===__MONSTER. Actual: __monster.type ==='+__monster.type); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2.js deleted file mode 100644 index 240f1e30c9..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A1_T2; -* @section: 13.2.2; -* @assertion: Since a function is an object, it might be set to [[Prototype]] property of a new created object through [[Construct]] property; -* @description: Declaring a function with "var __PROTO = function()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A1_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2.js", - -assertion: "Since a function is an object, it might be set to [[Prototype]] property of a new created object through [[Construct]] property", - -description: "Declaring a function with \"var __PROTO = function()\"", - -test: function testcase() { - var __MONSTER="monster"; -var __PREDATOR="predator"; - -var __PROTO = function(){}; - -try{ - __PROTO.type=__MONSTER; -} -catch(e){ - $FAIL('#0: __PROTO.type=__MONSTER does not lead to throwing exception') -} - -var __FACTORY = function(){this.name=__PREDATOR}; - -__FACTORY.prototype=__PROTO; - -var __monster = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__PROTO.isPrototypeOf(__monster))) { - $ERROR('#1: __PROTO.isPrototypeOf(__monster) must be true'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__monster.type !==__MONSTER) { - $ERROR('#2: __monster.type ===__MONSTER. Actual: __monster.type ==='+__monster.type); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2.js deleted file mode 100644 index 77b18ae395..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A2; -* @section: 13.2.2; -* @assertion: Since a function is an object, it might be set to [[Prototype]] property of a new created object through [[Construct]] property, -* but [[call]] property must fail with TypeError error; -* @description: Trying to [[call]] this function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2.js", - -assertion: "Since a function is an object, it might be set to [[Prototype]] property of a new created object through [[Construct]] property,", - -description: "Trying to [[call]] this function", - -test: function testcase() { - var __PLANT="flower"; -var __ROSE="rose"; - -function __PROTO(){}; - -try{ - __PROTO.type=__PLANT; -} -catch(e){ - $ERROR('#0: __PROTO.type=__PLANT does not lead to throwing exception') -} - -function __FACTORY(){this.name=__ROSE}; - -__FACTORY.prototype=__PROTO; - -var __rose = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - __rose(); - $ERROR('#1: __rose() lead to throwing exception'); -} catch(e){ - if (!(e instanceof TypeError)) { - $ERROR('#2: Exception Type is TypeError. Actual: exception ==='+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1.js deleted file mode 100644 index 55c0a1643c..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A3_T1; -* @section: 13.2.2, 15.2.3.1; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* It gets the value of the [[Prototype]] property of the F(Denote it PROTO_VAL). -* If PROTO_VAL is not an object, sets the [[Prototype]] property of native ECMAScript object just created -* to the original Object prototype object as described in 15.2.3.1; -* @description: Declaring a function with "function __FACTORY()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A3_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a function with \"function __FACTORY()\"", - -test: function testcase() { - function __FACTORY(){}; -__FACTORY.prototype=1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __FACTORY.prototype !== 'number') { - $ERROR('#1: typeof __FACTORY.prototype === \'number\'. Actual: typeof __FACTORY.prototype ==='+(typeof __FACTORY.prototype)); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __device = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(Object.prototype.isPrototypeOf(__device))) { - $ERROR('#2: Object.prototype.isPrototypeOf(__device) === true'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2.js deleted file mode 100644 index 37423e4133..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A3_T2; -* @section: 13.2.2, 15.2.3.1; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* It gets the value of the [[Prototype]] property of the F(Denote it PROTO_VAL). -* If PROTO_VAL is not an object, sets the [[Prototype]] property of native ECMAScript object just created -* to the original Object prototype object as described in 15.2.3.1; -* @description: Declaring a function with "var __FACTORY = function()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A3_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a function with \"var __FACTORY = function()\"", - -test: function testcase() { - var __FACTORY = function(){}; -__FACTORY.prototype=1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __FACTORY.prototype !== 'number') { - $ERROR('#1: typeof __FACTORY.prototype === \'number\'. Actual: typeof __FACTORY.prototype ==='+(typeof __FACTORY.prototype)); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __device = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(Object.prototype.isPrototypeOf(__device))) { - $ERROR('#2: Object.prototype.isPrototypeOf(__device) === true'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1.js deleted file mode 100644 index d940dde9e0..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A4_T1; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Gets the value of the [[Prototype]] property of the F(Denote it PROTO_VAL). -* If PROTO_VAL is an object, sets the [[Prototype]] property of native ECMAScript object just created -* to the PROTO_VAL; -* @description: Declaring a function with "function __FACTORY()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A4_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a function with \"function __FACTORY()\"", - -test: function testcase() { - var __CUBE="cube"; - -function __FACTORY(){ -}; -__FACTORY.prototype={ shape:__CUBE, printShape:function(){return this.shape;} }; - -var __device = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__device.printShape === undefined) { - $ERROR('#1: __device.printShape !== undefined. Actual: __device.printShape ==='+__device.printShape); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__device.printShape() !== __CUBE) { - $ERROR('#2: __device.printShape() === __CUBE. Actual: __device.printShape() ==='+__device.printShape()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2.js deleted file mode 100644 index be1eb14239..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A4_T2; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Gets the value of the [[Prototype]] property of the F(Denote it PROTO_VAL). -* If PROTO_VAL is an object, sets the [[Prototype]] property of native ECMAScript object just created -* to the PROTO_VAL; -* @description: Declaring a function with "__FACTORY = function()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A4_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a function with \"__FACTORY = function()\"", - -test: function testcase() { - __CUBE="cube"; - -__FACTORY = function(){}; - -__FACTORY.prototype={ shape:__CUBE, printShape:function(){return this.shape;} }; - -__device = new __FACTORY(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__device.printShape === undefined) { - $ERROR('#1: __device.printShape !== undefined. Actual: __device.printShape ==='+__device.printShape); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__device.printShape() !== __CUBE) { - $ERROR('#2: __device.printShape() === __CUBE. Actual: __device.printShape() ==='+__device.printShape()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1.js deleted file mode 100644 index 7ba29aefc1..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A5_T1; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Invoke the [[Call]] property of F, providing native ECMAScript object just created as the this value and -* providing the argument list passed into [[Construct]] as the argument values; -* @description: Declaring a function with "function __FACTORY(arg1, arg2)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A5_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a function with \"function __FACTORY(arg1, arg2)\"", - -test: function testcase() { - __VOLUME=8; -__RED="red"; -__ID=12342; -__TOP=1.1; -__BOTTOM=0.0; -__LEFT=0.0; - - -function __FACTORY(arg1, arg2){ - this.volume=__VOLUME; - color=__RED; - this.id=arg1; - top=arg2; - this.bottom=arguments[3]; - left=arguments[4]; -}; - -__device = new __FACTORY(__ID, __TOP, __BOTTOM, __LEFT); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__device.color !== undefined) { - $ERROR('#1: __device.color === undefined. Actual: __device.color ==='+__device.color); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__device.volume !== __VOLUME) { - $ERROR('#2: __device.volume === __VOLUME. Actual: __device.volume ==='+__device.volume); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__device.top !== undefined) { - $ERROR('#3: __device.top === undefined. Actual: __device.top ==='+__device.top); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__device.id !== __ID) { - $ERROR('#4: __device.id === __ID. Actual: __device.id ==='+__device.id); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__device.left !== undefined) { - $ERROR('#5: __device.left === undefined. Actual: __device.left ==='+__device.left); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__device.bottom !== __BOTTOM) { - $ERROR('#6: __device.bottom === __BOTTOM. Actual: __device.bottom ==='+__device.bottom); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2.js deleted file mode 100644 index 857730f5a2..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A5_T2; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Invoke the [[Call]] property of F, providing native ECMAScript object just created as the this value and -* providing the argument list passed into [[Construct]] as the argument values; -* @description: Declaring a function with "__FACTORY = function(arg1, arg2)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A5_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a function with \"__FACTORY = function(arg1, arg2)\"", - -test: function testcase() { - __VOLUME=8; -__RED="red"; -__ID=12342; -__TOP=1.1; -__BOTTOM=0.0; -__LEFT=0.0; - - -__FACTORY = function(arg1, arg2){ - this.volume=__VOLUME; - color=__RED; - this.id=arg1; - top=arg2; - this.bottom=arguments[3]; - left=arguments[4]; -}; - -__device = new __FACTORY(__ID, __TOP, __BOTTOM, __LEFT); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__device.color !== undefined) { - $ERROR('#1: __device.color === undefined. Actual: __device.color ==='+__device.color); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__device.volume !== __VOLUME) { - $ERROR('#2: __device.volume === __VOLUME. Actual: __device.volume ==='+__device.volume); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__device.top !== undefined) { - $ERROR('#3: __device.top === undefined. Actual: __device.top ==='+__device.top); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__device.id !== __ID) { - $ERROR('#4: __device.id === __ID. Actual: __device.id ==='+__device.id); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__device.left !== undefined) { - $ERROR('#5: __device.left === undefined. Actual: __device.left ==='+__device.left); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__device.bottom !== __BOTTOM) { - $ERROR('#6: __device.bottom === __BOTTOM. Actual: __device.bottom ==='+__device.bottom); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1.js deleted file mode 100644 index 6e2192133c..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A6_T1; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument -* list passed into [[Construct]] as the argument values. -* If Type( [[Call]] returned) is not Object then return passed as this into [[Call]] object; -* @description: Declaring a function with "__func = function(arg)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A6_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a function with \"__func = function(arg)\"", - -test: function testcase() { - __FOO="fooValue"; -__BAR="barValue"; - -__func = function(arg){ - this.foo=arg; - return 0; - this.bar=arguments[1]; -}; - -__obj = new __func(__FOO, __BAR); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.foo!==__FOO) { - $ERROR('#1: __obj.foo === __FOO. Actual: __obj.foo==='+__obj.foo); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.bar!==undefined) { - $ERROR('#2: __obj.bar === undefined. Actual: __obj.bar==='+__obj.bar); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2.js deleted file mode 100644 index 807b7c567c..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A6_T2; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument -* list passed into [[Construct]] as the argument values. -* If Type( [[Call]] returned) is not Object then return passed as this into [[Call]] object; -* @description: Declaring a function with "function __func (arg)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A6_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a function with \"function __func (arg)\"", - -test: function testcase() { - var __FOO="fooValue"; -var __BAR="barValue"; - -function __func (arg){ - this.foo=arg; - return true; - this.bar=arguments[1]; -}; - -var __obj = new __func(__FOO, __BAR); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.foo!==__FOO) { - $ERROR('#1: __obj.foo === __FOO. Actual: __obj.foo==='+__obj.foo); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.bar!==undefined) { - $ERROR('#2: __obj.bar === undefined. Actual: __obj.bar==='+__obj.bar); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1.js deleted file mode 100644 index add51518b8..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A7_T1; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument -* list passed into [[Construct]] as the argument values. -* If Type( [[Call]] returned) is an Object then return this just as obtained object; -* @description: Declaring a function with "as __func = function(arg)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A7_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a function with \"as __func = function(arg)\"", - -test: function testcase() { - var __FRST="one"; -var __SCND="two"; - -function __func (arg1, arg2){ - this.first=arg1; - var __obj={second:arg2}; - return __obj; - -}; - -var __obj__ = new __func(__FRST, __SCND); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj__.first !== undefined) { - $ERROR('#1: __obj__.first === undefined. Actual: __obj__.first==='+__obj__.first); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj__.second !== __SCND) { - $ERROR('#2: __obj__.second === __SCND. Actual: __obj__.second ==='+__obj__.second); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2.js deleted file mode 100644 index 1a2796f277..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A7_T2; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument -* list passed into [[Construct]] as the argument values. -* If Type( [[Call]] returned) is an Object then return this just as obtained object; -* @description: Declaring a "function as function __func (arg)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A7_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Declaring a \"function as function __func (arg)\"", - -test: function testcase() { - __FRST="one"; -__SCND="two"; - -__func = function(arg1, arg2){ - this.first=arg1; - var __obj={second:arg2}; - return __obj; - -}; - -__obj__ = new __func(__FRST, __SCND); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj__.first !== undefined) { - $ERROR('#1: __obj__.first === undefined. Actual: __obj__.first==='+__obj__.first); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj__.second !== __SCND) { - $ERROR('#2: __obj__.second === __SCND. Actual: __obj__.second ==='+__obj__.second); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1.js deleted file mode 100644 index 7becdb50ad..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A8_T1; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument -* list passed into [[Construct]] as the argument values. -* If Type( [[Call]] returned) is an Function then return this just as obtained function; -* @description: Creating a function whose prototype contains "return" followed by declaration of another function -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A8_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Creating a function whose prototype contains \"return\" followed by declaration of another function", - -test: function testcase() { - var __FRST="one"; -var __SCND="two"; - -var __func = function(arg1, arg2){ - this.first=arg1; - - __gunc.prop=arg2; - return __gunc; - // function declaration - function __gunc(arg){return ++arg}; - -}; - -var __instance = new __func(__FRST, __SCND); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.first !== undefined) { - $ERROR('#1: __instance.first === undefined. Actual: __instance.first ==='+__instance.first); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__instance.prop!==__SCND) { - $ERROR('#2: __instance.prop === __SCND. Actual: __instance.prop ==='+__instance.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__instance(1)!== 2) { - $ERROR('#2: __instance(1)=== 2. Actual: __instance(1) ==='+__instance(1)); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2.js deleted file mode 100644 index f0a940c92a..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A8_T2; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument -* list passed into [[Construct]] as the argument values. -* If Type( [[Call]] returned) is an Function then return this just as obtained function; -* @description: Creating a function whose prototype contains declaration of another function declared as a variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A8_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Creating a function whose prototype contains declaration of another function declared as a variable", - -test: function testcase() { - var __FRST="one"; -var __SCND="two"; - -var __func = function(arg1, arg2){ - this.first=arg1; - var __gunc = function(arg){return arg+="BA"}; - __gunc.prop=arg2; - return __gunc; - -}; - -var __instance = new __func(__FRST, __SCND); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.first !== undefined) { - $ERROR('#1: __instance.first === undefined. Actual: __instance.first ==='+__instance.first); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__instance.prop!==__SCND) { - $ERROR('#2: __instance.prop === __SCND. Actual: __instance.prop ==='+__instance.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__instance("SAM")!== "SAMBA") { - $ERROR('#2: __instance("SAM") === "SAMBA". Actual: __instance("SAM") ==='+__instance("SAM")); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3.js deleted file mode 100644 index e0c58102ec..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A8_T3; -* @section: 13.2.2; -* @assertion: When the [[Construct]] property for a Function object F is called: -* A new native ECMAScript object is created. -* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument -* list passed into [[Construct]] as the argument values. -* If Type( [[Call]] returned) is an Function then return this just as obtained function; -* @description: Creating a function whose prototype contains declaration of another function defined by using Function.call method; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A8_T3", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3.js", - -assertion: "When the [[Construct]] property for a Function object F is called:", - -description: "Creating a function whose prototype contains declaration of another function defined by using Function.call method", - -test: function testcase() { - var __FRST="one"; -var __SCND="two"; - -var __func = function(arg1, arg2){ - this.first=arg1; - var __gunc = Function.call(this,"arg","return ++arg;"); - __gunc.prop=arg2; - return __gunc; - -}; - -var __instance = new __func(__FRST, __SCND); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.first !== undefined) { - $ERROR('#1: __instance.first === undefined. Actual: __instance.first ==='+__instance.first); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__instance.prop!==__SCND) { - $ERROR('#2: __instance.prop === __SCND. Actual: __instance.prop ==='+__instance.prop); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__instance(1)!== 2) { - $ERROR('#2: __instance(1)=== 2. Actual: __instance(1) ==='+__instance(1)); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9.js deleted file mode 100644 index 430c3a2a9c..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2.2_A9; -* @section: 13.2.2; -* @assertion: Calling a function as a constructor is inadmissible as long as this.any_Function is called before it is declared; -* @description: Calling a function as a constructor -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2.2_A9", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9.js", - -assertion: "Calling a function as a constructor is inadmissible as long as this.any_Function is called before it is declared", - -description: "Calling a function as a constructor", - -test: function testcase() { - function FACTORY(){ - this.id = 0; - - this.id = this.func(); - - this.func = function (){ - return 5; - } - -} -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var obj = new FACTORY(); - $ERROR('#1: var obj = new FACTORY() lead to throwing exception'); -} catch (e) {} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1.js deleted file mode 100644 index 7f591dfb81..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2_A1_T1; -* @section: 13.2; -* @assertion: A "prototype" property is automatically created for every function; -* @description: Using "function __func(){}" as a FunctionDeclaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2_A1_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1.js", - -assertion: "A \"prototype\" property is automatically created for every function", - -description: "Using \"function __func(){}\" as a FunctionDeclaration", - -test: function testcase() { - function __func(){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func.prototype === undefined) { - $ERROR('#1: __func.prototype !== undefined'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2.js deleted file mode 100644 index 487d03a2bd..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2_A1_T2; -* @section: 13.2; -* @assertion: A "prototype" property is automatically created for every function; -* @description: Using "var __func = function(){}" as a FunctionDeclaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2_A1_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2.js", - -assertion: "A \"prototype\" property is automatically created for every function", - -description: "Using \"var __func = function(){}\" as a FunctionDeclaration", - -test: function testcase() { - var __func = function(){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func.prototype === undefined) { - $ERROR('#1: __func.prototype !== undefined'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1.js deleted file mode 100644 index c8e35e0429..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2_A2_T1; -* @section: 13.2; -* @assertion: Nested function are admitted; -* @description: Nesting level is two; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2_A2_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1.js", - -assertion: "Nested function are admitted", - -description: "Nesting level is two", - -test: function testcase() { - var __JEDI="jedi"; - -function __FUNC(){ - function __GUNC(){ - return arguments[0]; - }; - - return __GUNC; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__FUNC()(__JEDI) !== __JEDI) { - $ERROR('#1: __FUNC()(__JEDI) === __JEDI. Actual: __FUNC()(__JEDI) ==='+__FUNC()(__JEDI)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2.js deleted file mode 100644 index 4b6af9b9a9..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2_A2_T2; -* @section: 13.2; -* @assertion: Nested function are admitted; -* @description: Nesting level is three; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2_A2_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2.js", - -assertion: "Nested function are admitted", - -description: "Nesting level is three", - -test: function testcase() { - var __ROBOT="C3PO"; - -function __FUNC(){ - function __GUNC(){ - return arguments[0]; - }; - function __HUNC(){ - return __GUNC; - }; - return __HUNC; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__FUNC()()(__ROBOT) !== __ROBOT) { - $ERROR('#1: __FUNC()()(__ROBOT) === __ROBOT. Actual: __FUNC()()(__ROBOT) ==='+__FUNC()()(__ROBOT)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3.js deleted file mode 100644 index b6d645ef34..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2_A3; -* @section: 13.2; -* @assertion: When Function object(F) is constructed the length property of F is set to the number of formal properties specified in FormalParameterList; -* @description: Creating functions with various FormalParameterList and checking their lengths; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2_A3", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3.js", - -assertion: "When Function object(F) is constructed the length property of F is set to the number of formal properties specified in FormalParameterList", - -description: "Creating functions with various FormalParameterList and checking their lengths", - -test: function testcase() { - function __func(){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func.length !== 0) { - $ERROR('#1: __func.length === 0. Actual: __func.length ==='+__func.length); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __gunc(a,b,c){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__gunc.length !== 3) { - $ERROR('#2: __gunc.length === 3. Actual: __gunc.length ==='+__gunc.length); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1.js deleted file mode 100644 index e02affcf03..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2_A4_T1; -* @section: 13.2; -* @assertion: When Function object(F) is constructed the following steps from 9 to 11 take place -* 9.Create a new object as would be constructed by the expression new Object(). -* 10. Set the constructor property of Result(9) to F. This property is given attributes { DontEnum }. -* 11. Set the "prototype" property of F to Result(9).; -* @description: Checking prototype, prototype.constructor properties and {DontEnum} property of a constructor. -* Using "function __func(){}" as a FunctionDeclaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2_A4_T1", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1.js", - -assertion: "When Function object(F) is constructed the following steps from 9 to 11 take place", - -description: "Checking prototype, prototype.constructor properties and {DontEnum} property of a constructor.", - -test: function testcase() { - function __func(){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func.prototype !== 'object') { - $ERROR('#1: typeof __func.prototype === \'object\'. Actual: typeof __gunc.prototype ==='+typeof __gunc.prototype); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func.prototype.constructor !== __func) { - $ERROR('#2: __func.prototype.constructor === __func. Actual: __gunc.prototype.constructor ==='+__gunc.prototype.constructor); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __constructor_was__enumed; - -for (__prop in __func.prototype){ - if (__prop = 'constructor') - __constructor_was__enumed = true; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__constructor_was__enumed) { - $ERROR('#3: __constructor_was__enumed === false. Actual: __constructor_was__enumed ==='+__constructor_was__enumed); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2.js deleted file mode 100644 index 6374e7cdd5..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2_A4_T2; -* @section: 13.2; -* @assertion: When Function object(F) is constructed the following steps from 9 to 11 take place -* 9.Create a new object as would be constructed by the expression new Object(). -* 10. Set the constructor property of Result(9) to F. This property is given attributes { DontEnum }. -* 11. Set the "prototype" property of F to Result(9).; -* @description: Checking prototype, prototype.constructor properties and {DontEnum} property of a constructor. -* Using "var __gunc = function(){}" as a FunctionDeclaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2_A4_T2", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2.js", - -assertion: "When Function object(F) is constructed the following steps from 9 to 11 take place", - -description: "Checking prototype, prototype.constructor properties and {DontEnum} property of a constructor.", - -test: function testcase() { - var __gunc = function(){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __gunc.prototype !== 'object') { - $ERROR('#1: typeof __gunc.prototype === \'object\'. Actual: typeof __gunc.prototype ==='+typeof __gunc.prototype); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__gunc.prototype.constructor !== __gunc) { - $ERROR('#2: __gunc.prototype.constructor === __gunc. Actual: __gunc.prototype.constructor ==='+__gunc.prototype.constructor); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __constructor_was__enumed; - -for (__prop in __gunc.prototype){ - if (__prop = 'constructor') - __constructor_was__enumed = true; -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__constructor_was__enumed) { - $ERROR('#3: __constructor_was__enumed === false. Actual: __constructor_was__enumed ==='+__constructor_was__enumed); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5.js deleted file mode 100644 index dde15b5738..0000000000 --- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13.2_A5; -* @section: 13.2, 15.3.3.1; -* @assertion: When Function object(F) is constructed -* the [[Prototype]] property of F is set to the original Function prototype object as specified in 15.3.3.1; -* @description: Function.prototype.isPrototypeOf() is used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S13.2_A5", - -path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5.js", - -assertion: "When Function object(F) is constructed", - -description: "Function.prototype.isPrototypeOf() is used", - -test: function testcase() { - function __func(){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(Function.prototype.isPrototypeOf(__func))) { - $ERROR('#1: Function.prototype.isPrototypeOf(__func)'); -} -// -////////////////////////////////////////////////////////////////////////////// - - -var __gunc = function(){}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(Function.prototype.isPrototypeOf(__gunc))) { - $ERROR('#1: Function.prototype.isPrototypeOf(__gunc)'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A1.js b/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A1.js deleted file mode 100644 index 847d092b84..0000000000 --- a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S14_A1; -* @section: 14; -* @assertion: FunctionExpression must be localed in a reacheable fragment of the program; -* @description: Declaring a function within an "if" Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S14.0_A1", - -path: "TestCases/14_Program/14.0_Chapter/S14.0_A1.js", - -assertion: "FunctionExpression must be localed in a reacheable fragment of the program", - -description: "Declaring a function within an \"if\" Expression", - -test: function testcase() { - var THERE = "I'm there"; -var HERE = "I'm here"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ( __func !== undefined) { - $ERROR('#1: __func === undefined. Actual: __func ==='+ __func ); -} -// -////////////////////////////////////////////////////////////////////////////// - -if (true){ - var __func = function(){return HERE;}; -} else { - var __func = function (){return THERE;}; -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__func() !== HERE) { - $ERROR('#2: __func() === HERE. Actual: __func() ==='+ __func() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A2.js b/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A2.js deleted file mode 100644 index 5f45a76c93..0000000000 --- a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S14_A2; -* @section: 14; -* @assertion: FunctionDeclaration cannot be localed inside an Expression; -* @description: Declaring a function within an "if" Expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S14.0_A2", - -path: "TestCases/14_Program/14.0_Chapter/S14.0_A2.js", - -assertion: "FunctionDeclaration cannot be localed inside an Expression", - -description: "Declaring a function within an \"if\" Expression", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof f !== 'undefined') { - $ERROR('#1: typeof f === \'undefined\'. Actual: typeof f ==='+ typeof f ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (function f(arg){ - if (arg===0) - return 1; - else - return f(arg-1)*arg; -}(3)!==6) { - $ERROR('#2: FunctionDeclaration cannot be localed inside an Expression'); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A3.js b/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A3.js deleted file mode 100644 index d30d6a9112..0000000000 --- a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S14_A3; -* @section: 14; -* @assertion: Global FunctionDeclaration cannot be defined within the body of another FunctionDeclaration; -* @description: Declaring a function within the body of another function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S14.0_A3", - -path: "TestCases/14_Program/14.0_Chapter/S14.0_A3.js", - -assertion: "Global FunctionDeclaration cannot be defined within the body of another FunctionDeclaration", - -description: "Declaring a function within the body of another function", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __func !== "function") { - $ERROR('#1: typeof __func === "function". Actual: typeof __func ==='+ typeof __func ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (typeof __gunc !== "undefined") { - $ERROR('#2: typeof __gunc === "undefined". Actual: typeof __gunc ==='+ typeof __gunc ); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func(){ - function __gunc(){return true}; -} - - } -}); - diff --git a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A5_T1.js b/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A5_T1.js deleted file mode 100644 index d35b87005e..0000000000 --- a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A5_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S14_A5_T1; -* @section: 14; -* @assertion: The Identifer within a FunctionDeclaration can be written in both letters and unicode; -* @description: Declaring a function with "function __\u0066\u0075\u006e\u0063(){return "both"}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S14.0_A5_T1", - -path: "TestCases/14_Program/14.0_Chapter/S14.0_A5_T1.js", - -assertion: "The Identifer within a FunctionDeclaration can be written in both letters and unicode", - -description: "Declaring a function with \"function __\\u0066\\u0075\\u006e\\u0063(){return \"both\"}\"", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func() !== "both") { - $ERROR('#1: __func() === "both". Actual: __func() ==='+ __func() ); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func(){return "ascii"}; -function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"};//__func in unicode -function __\u0066\u0075\u006e\u0063(){return "both"};//__func in unicode - - } -}); - diff --git a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A5_T2.js b/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A5_T2.js deleted file mode 100644 index 7cd91178fd..0000000000 --- a/test/suite/sputnik_converted/14_Program/14.0_Chapter/S14.0_A5_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S14_A5_T2; -* @section: 14; -* @assertion: The Identifer within a FunctionDeclaration can be written in both letters and unicode; -* @description: Declaring a function with "function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S14.0_A5_T2", - -path: "TestCases/14_Program/14.0_Chapter/S14.0_A5_T2.js", - -assertion: "The Identifer within a FunctionDeclaration can be written in both letters and unicode", - -description: "Declaring a function with \"function \\u005f\\u005f\\u0066\\u0075\\u006e\\u0063(){return \"unicode\"}\"", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func() !== "unicode") { - $ERROR('#1: __func() === "unicode". Actual: __func() ==='+ __func() ); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func(){return "ascii"}; -function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"};//__func in unicode - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T1.js deleted file mode 100644 index ac59e82037..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T1; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "a**"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T1.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"a**\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("a**") throw SyntaxError. Actual: ' + (new RegExp("a**"))); -} catch (e) { - if ((e instanceof SyntaxError !== true)) { - $ERROR('#1.2: new RegExp("a**") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T10.js deleted file mode 100644 index 96bcb70623..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T10.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T10; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "++a"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T10.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"++a\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("++a") throw SyntaxError. Actual: ' + (new RegExp("++a"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("++a") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T11.js deleted file mode 100644 index 0c04fe59fc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T11.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T11; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "?a"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T11.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"?a\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("?a") throw SyntaxError. Actual: ' + (new RegExp("?a"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("?a") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T12.js deleted file mode 100644 index 6ed747309b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T12.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T12; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "??a"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T12.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"??a\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("??a") throw SyntaxError. Actual: ' + (new RegExp("??a"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("??a") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T13.js deleted file mode 100644 index 5bc2d21150..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T13.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T13; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "x{1}{1,}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T13.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"x{1}{1,}\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("x{1}{1,}") throw SyntaxError. Actual: ' + (new RegExp("x{1}{1,}"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("x{1}{1,}") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T14.js deleted file mode 100644 index d93375f496..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T14.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T14; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "x{1,2}{1}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T14.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"x{1,2}{1}\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("x{1,2}{1}") throw SyntaxError. Actual: ' + (new RegExp("x{1,2}{1}"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("x{1,2}{1}") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T15.js deleted file mode 100644 index 38bd44e62d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T15.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T15; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "x{1,}{1}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T15", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T15.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"x{1,}{1}\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("x{1,}{1}") throw SyntaxError. Actual: ' + (new RegExp("x{1,}{1}"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("x{1,}{1}") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T16.js deleted file mode 100644 index a37098d665..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T16.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T16; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "x{0,1}{1,}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T16", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T16.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"x{0,1}{1,}\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("x{0,1}{1,}") throw SyntaxError. Actual: ' + (new RegExp("x{0,1}{1,}"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("x{0,1}{1,}") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T2.js deleted file mode 100644 index dbb524623a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T2; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "a***"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T2.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"a***\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("a***") throw SyntaxError. Actual: ' + (new RegExp("a***"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("a***") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T3.js deleted file mode 100644 index 3fa2a3d36d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T3; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "a++"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T3.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"a++\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("a++") throw SyntaxError. Actual: ' + (new RegExp("a++"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("a++") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T4.js deleted file mode 100644 index 3226b5eac5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T4; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "a+++"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T4.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"a+++\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("a+++") throw SyntaxError. Actual: ' + (new RegExp("a+++"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("a+++") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T5.js deleted file mode 100644 index 1cb2acee7b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T5; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "a???"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T5.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"a???\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("a???") throw SyntaxError. Actual: ' + (new RegExp("a???"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("a???") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T6.js deleted file mode 100644 index 36074b1856..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T6; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "a????"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T6.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"a????\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("a????") throw SyntaxError. Actual: ' + (new RegExp("a????"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("a????") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T7.js deleted file mode 100644 index 341a1d0cdd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T7; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "*a"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T7.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"*a\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("*a") throw SyntaxError. Actual: ' + (new RegExp("*a"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("*a") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T8.js deleted file mode 100644 index d98c66e025..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T8; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "**a"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T8.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"**a\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("**a") throw SyntaxError. Actual: ' + (new RegExp("**a"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("**a") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T9.js deleted file mode 100644 index 88785f247a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T9.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.1_A1_T9; -* @section: 15.10.1; -* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; -* @description: Tested RegExp is "+a"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.1_A1_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T9.js", - -assertion: "RegExp syntax errors must be caught when matcher(s) compiles", - -description: "Tested RegExp is \"+a\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("+a") throw SyntaxError. Actual: ' + (new RegExp("+a"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("+a") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1.js deleted file mode 100644 index 1270051827..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A1.1_T1; -* @section: 15.10.2.10; -* @assertion: The production CharacterEscape :: t evaluates by returning -* the character \u0009; -* @description: Use \t in RegExp and \u0009 in tested string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A1.1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1.js", - -assertion: "The production CharacterEscape :: t evaluates by returning", - -description: "Use \\t in RegExp and \\u0009 in tested string", - -test: function testcase() { - //CHECK#1 -var arr = /\t/.exec("\u0009"); -if ((arr === null) || (arr[0] !== "\u0009")) { - $ERROR('#1: var arr = /\\t/.exec("\\u0009"); arr[0] === "\\u0009". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = /\t\t/.exec("a\u0009\u0009b"); -if ((arr === null) || (arr[0] !== "\u0009\u0009")) { - $ERROR('#2: var arr = /\\t\\t/.exec("a\\u0009\\u0009b"); arr[0] === "\\u0009\\u0009". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1.js deleted file mode 100644 index e92bb3bb7b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A1.2_T1; -* @section: 15.10.2.10; -* @assertion: The production CharacterEscape :: n evaluates by returning -* the character \u000A; -* @description: Use \n in RegExp and \u000A in tested string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A1.2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1.js", - -assertion: "The production CharacterEscape :: n evaluates by returning", - -description: "Use \\n in RegExp and \\u000A in tested string", - -test: function testcase() { - //CHECK#1 -var arr = /\n/.exec("\u000A"); -if ((arr === null) || (arr[0] !== "\u000A")) { - $ERROR('#1: var arr = /\\n/.exec("\\u000A"); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = /\n\n/.exec("a\u000A\u000Ab"); -if ((arr === null) || (arr[0] !== "\u000A\u000A")) { - $ERROR('#2: var arr = /\\n\\n/.exec("a\\u000A\\u000Ab"); arr[0] === "\\u000A\\u000A". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1.js deleted file mode 100644 index a6fe28027a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A1.3_T1; -* @section: 15.10.2.10; -* @assertion: The production CharacterEscape :: v evaluates by returning -* the character \u000B; -* @description: Use \v in RegExp and \u000B in tested string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A1.3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1.js", - -assertion: "The production CharacterEscape :: v evaluates by returning", - -description: "Use \\v in RegExp and \\u000B in tested string", - -test: function testcase() { - //CHECK#1 -var arr = /\v/.exec("\u000B"); -if ((arr === null) || (arr[0] !== "\u000B")) { - $ERROR('#1: var arr = /\\v/.exec("\\u000B"); arr[0] === "\\u000B". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = /\v\v/.exec("a\u000B\u000Bb"); -if ((arr === null) || (arr[0] !== "\u000B\u000B")) { - $ERROR('#2: var arr = /\\v\\v/.exec("a\\u000B\\u000Bb"); arr[0] === "\\u000B\\u000B". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1.js deleted file mode 100644 index 634456ad6a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A1.4_T1; -* @section: 15.10.2.10; -* @assertion: The production CharacterEscape :: f evaluates by returning -* the character \u000C; -* @description: Use \f in RegExp and \u000C in tested string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A1.4_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1.js", - -assertion: "The production CharacterEscape :: f evaluates by returning", - -description: "Use \\f in RegExp and \\u000C in tested string", - -test: function testcase() { - //CHECK#1 -var arr = /\f/.exec("\u000C"); -if ((arr === null) || (arr[0] !== "\u000C")) { - $ERROR('#1: var arr = /\\f/.exec("\\u000C"); arr[0] === "\\u000C". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = /\f\f/.exec("a\u000C\u000Cb"); -if ((arr === null) || (arr[0] !== "\u000C\u000C")) { - $ERROR('#2: var arr = /\\f\\f/.exec("a\\u000C\\u000Cb"); arr[0] === "\\u000C\\u000C". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1.js deleted file mode 100644 index dea09fa341..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A1.5_T1; -* @section: 15.10.2.10; -* @assertion: The production CharacterEscape :: r evaluates by returning -* the character \u000D; -* @description: Use \r in RegExp and \u000D in tested string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A1.5_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1.js", - -assertion: "The production CharacterEscape :: r evaluates by returning", - -description: "Use \\r in RegExp and \\u000D in tested string", - -test: function testcase() { - //CHECK#1 -var arr = /\r/.exec("\u000D"); -if ((arr === null) || (arr[0] !== "\u000D")) { - $ERROR('#1: var arr = /\\r/.exec("\\u000D"); arr[0] === "\\u000D". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = /\r\r/.exec("a\u000D\u000Db"); -if ((arr === null) || (arr[0] !== "\u000D\u000D")) { - $ERROR('#2: var arr = /\\r\\r/.exec("a\\u000D\\u000Db"); arr[0] === "\\u000D\\u000D". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1.js deleted file mode 100644 index 825d983800..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A2.1_T1; -* @section: 15.10.2.10; -* @assertion: CharacterEscape :: c ControlLetter; -* @description: ControlLetter :: A - Z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A2.1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1.js", - -assertion: "CharacterEscape :: c ControlLetter", - -description: "ControlLetter :: A - Z", - -test: function testcase() { - //CHECK#0041-005A -var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { - str = String.fromCharCode(alpha % 32); - arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: CharacterEscape :: c A - Z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2.js deleted file mode 100644 index 29d1759527..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A2.1_T2; -* @section: 15.10.2.10; -* @assertion: CharacterEscape :: c ControlLetter; -* @description: ControlLetter :: a - z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A2.1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2.js", - -assertion: "CharacterEscape :: c ControlLetter", - -description: "ControlLetter :: a - z", - -test: function testcase() { - //CHECK#0061-007A -var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { - str = String.fromCharCode(alpha % 32); - arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: CharacterEscape :: c a - z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3.js deleted file mode 100644 index 6ecfddabce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A2.1_T3; -* @section: 15.10.2.10; -* @assertion: CharacterEscape :: c ControlLetter; -* @description: ControlLetter :: RUSSIAN ALPHABET is incorrect; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A2.1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3.js", - -assertion: "CharacterEscape :: c ControlLetter", - -description: "ControlLetter :: RUSSIAN ALPHABET is incorrect", - -test: function testcase() { - //CHECK#0410-042F -var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - str = String.fromCharCode(alpha % 32); - arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); - if (arr !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: RUSSIAN CAPITAL ALPHABET is incorrect'); -} - -//CHECK#0430-044F -var result = true; -for (alpha = 0x0430; alpha <= 0x044F; alpha++) { - str = String.fromCharCode(alpha % 32); - arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); - if (arr !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: russian small alphabet is incorrect'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1.js deleted file mode 100644 index 166e848f14..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A3.1_T1; -* @section: 15.10.2.10; -* @assertion: CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit; -* @description: Tested string include equal unicode symbols; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A3.1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1.js", - -assertion: "CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit", - -description: "Tested string include equal unicode symbols", - -test: function testcase() { - //CHECK#0 -var arr = /\x00/.exec("\u0000"); -if ((arr === null) || (arr[0] !== "\u0000")) { - $ERROR('#0: var arr = /\\x00/.exec(\\u0000); arr[0] === "\\u0000". Actual. ' + (arr && arr[0])); -} - -//CHECK#1 -var arr = /\x01/.exec("\u0001"); -if ((arr === null) || (arr[0] !== "\u0001")) { - $ERROR('#1: var arr = /\\x01/.exec(\\u0001); arr[0] === "\\u0001". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = /\x0A/.exec("\u000A"); -if ((arr === null) || (arr[0] !== "\u000A")) { - $ERROR('#2: var arr = /\\x0A/.exec(\\u000A); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); -} - -//CHECK#3 -var arr = /\xFF/.exec("\u00FF"); -if ((arr === null) || (arr[0] !== "\u00FF")) { - $ERROR('#3: var arr = /\\xFF/.exec(\\u00FF); arr[0] === "\\u00FF". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2.js deleted file mode 100644 index 293c4256a8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A3.1_T2; -* @section: 15.10.2.10; -* @assertion: CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit; -* @description: Checking ENGLISH CAPITAL ALPHABET and english small alphabet; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A3.1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2.js", - -assertion: "CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit", - -description: "Checking ENGLISH CAPITAL ALPHABET and english small alphabet", - -test: function testcase() { - //CHECK#41-5A -hex = ["\\x41", "\\x42", "\\x43", "\\x44", "\\x45", "\\x46", "\\x47", "\\x48", "\\x49", "\\x4A", "\\x4B", "\\x4C", "\\x4D", "\\x4E", "\\x4F", "\\x50", "\\x51", "\\x52", "\\x53", "\\x54", "\\x55", "\\x56", "\\x57", "\\x58", "\\x59", "\\x5A"]; -character = ["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"]; -var result = true; -for (index = 0; index < hex.length; index++) { - arr = (new RegExp(hex[index])).exec(character[index]); - if ((arr === null) || (arr[0] !== character[index])) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: ENGLISH CAPITAL ALPHABET'); -} - -//CHECK#61-7A -hex = ["\\x61", "\\x62", "\\x63", "\\x64", "\\x65", "\\x66", "\\x67", "\\x68", "\\x69", "\\x6A", "\\x6B", "\\x6C", "\\x6D", "\\x6E", "\\x6F", "\\x70", "\\x71", "\\x72", "\\x73", "\\x74", "\\x75", "\\x76", "\\x77", "\\x78", "\\x79", "\\x7A"]; -character = ["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"]; -var result = true; -for (index = 0; index < hex.length; index++) { - arr = (new RegExp(hex[index])).exec(character[index]); - if ((arr === null) || (arr[0] !== character[index])) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: english small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1.js deleted file mode 100644 index 633db1dc98..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A4.1_T1; -* @section: 15.10.2.10; -* @assertion: CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; -* @description: RegExp and tested string include uncode symbols; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A4.1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1.js", - -assertion: "CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit", - -description: "RegExp and tested string include uncode symbols", - -test: function testcase() { - //CHECK#0 -var arr = /\u0000/.exec("\u0000"); -if ((arr === null) || (arr[0] !== "\u0000")) { - $ERROR('#0: var arr = /\\u0000/.exec(\\u0000); arr[0] === "\\u0000". Actual. ' + (arr && arr[0])); -} - -//CHECK#1 -var arr = /\u0001/.exec("\u0001"); -if ((arr === null) || (arr[0] !== "\u0001")) { - $ERROR('#1: var arr = /\\u0001/.exec(\\u0001); arr[0] === "\\u0001". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = /\u000A/.exec("\u000A"); -if ((arr === null) || (arr[0] !== "\u000A")) { - $ERROR('#2: var arr = /\\u000A/.exec(\\u000A); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); -} - -//CHECK#3 -var arr = /\u00FF/.exec("\u00FF"); -if ((arr === null) || (arr[0] !== "\u00FF")) { - $ERROR('#3: var arr = /\\u00FF/.exec(\\u00FF); arr[0] === "\\u00FF". Actual. ' + (arr && arr[0])); -} - -//CHECK#4 -var arr = /\u0FFF/.exec("\u0FFF"); -if ((arr === null) || (arr[0] !== "\u0FFF")) { - $ERROR('#4: var arr = /\\u0FFF/.exec(\\u0FFF); arr[0] === "\\u0FFF". Actual. ' + (arr && arr[0])); -} - -//CHECK#5 -var arr = /\uFFFF/.exec("\uFFFF"); -if ((arr === null) || (arr[0] !== "\uFFFF")) { - $ERROR('#5: var arr = /\\uFFFF/.exec(\\uFFFF); arr[0] === "\\uFFFF". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2.js deleted file mode 100644 index 49d1b213e2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A4.1_T2; -* @section: 15.10.2.10; -* @assertion: CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; -* @description: Tested string include ENGLISH CAPITAL ALPHABET and english small alphabet; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A4.1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2.js", - -assertion: "CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit", - -description: "Tested string include ENGLISH CAPITAL ALPHABET and english small alphabet", - -test: function testcase() { - //CHECK#41-5A -hex = ["\\u0041", "\\u0042", "\\u0043", "\\u0044", "\\u0045", "\\u0046", "\\u0047", "\\u0048", "\\u0049", "\\u004A", "\\u004B", "\\u004C", "\\u004D", "\\u004E", "\\u004F", "\\u0050", "\\u0051", "\\u0052", "\\u0053", "\\u0054", "\\u0055", "\\u0056", "\\u0057", "\\u0058", "\\u0059", "\\u005A"]; -character = ["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"]; -var result = true; -for (index = 0; index < hex.length; index++) { - arr = (new RegExp(hex[index])).exec(character[index]); - if ((arr === null) || (arr[0] !== character[index])) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: ENGLISH CAPITAL ALPHABET'); -} - -//CHECK#61-7A -hex = ["\\u0061", "\\u0062", "\\u0063", "\\u0064", "\\u0065", "\\u0066", "\\u0067", "\\u0068", "\\u0069", "\\u006A", "\\u006B", "\\u006C", "\\u006D", "\\u006E", "\\u006F", "\\u0070", "\\u0071", "\\u0072", "\\u0073", "\\u0074", "\\u0075", "\\u0076", "\\u0077", "\\u0078", "\\u0079", "\\u007A"]; -character = ["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"]; -var result = true; -for (index = 0; index < hex.length; index++) { - arr = (new RegExp(hex[index])).exec(character[index]); - if ((arr === null) || (arr[0] !== character[index])) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: english small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3.js deleted file mode 100644 index d96712e6aa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A4.1_T3; -* @section: 15.10.2.10; -* @assertion: CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; -* @description: Tested string include RUSSIAN CAPITAL ALPHABET and russian small alphabet in unicode notation; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A4.1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3.js", - -assertion: "CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit", - -description: "Tested string include RUSSIAN CAPITAL ALPHABET and russian small alphabet in unicode notation", - -test: function testcase() { - //CHECK#0410-042F, 0401 -hex = ["\\u0410", "\\u0411", "\\u0412", "\\u0413", "\\u0414", "\\u0415", "\\u0416", "\\u0417", "\\u0418", "\\u0419", "\\u041A", "\\u041B", "\\u041C", "\\u041D", "\\u041E", "\\u041F", "\\u0420", "\\u0421", "\\u0422", "\\u0423", "\\u0424", "\\u0425", "\\u0426", "\\u0427", "\\u0428", "\\u0429", "\\u042A", "\\u042B", "\\u042C", "\\u042D", "\\u042E", "\\u042F", "\\u0401"]; -character = ["\u0410", "\u0411", "\u0412", "\u0413", "\u0414", "\u0415", "\u0416", "\u0417", "\u0418", "\u0419", "\u041A", "\u041B", "\u041C", "\u041D", "\u041E", "\u041F", "\u0420", "\u0421", "\u0422", "\u0423", "\u0424", "\u0425", "\u0426", "\u0427", "\u0428", "\u0429", "\u042A", "\u042B", "\u042C", "\u042D", "\u042E", "\u042F", "\u0401"]; -var result = true; -for (index = 0; index < hex.length; index++) { - arr = (new RegExp(hex[index])).exec(character[index]); - if ((arr === null) || (arr[0] !== character[index])) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: RUSSIAN CAPITAL ALPHABET'); -} - -//CHECK#0430-044F, 0451 -hex = ["\\u0430", "\\u0431", "\\u0432", "\\u0433", "\\u0434", "\\u0435", "\\u0436", "\\u0437", "\\u0438", "\\u0439", "\\u043A", "\\u043B", "\\u043C", "\\u043D", "\\u043E", "\\u043F", "\\u0440", "\\u0441", "\\u0442", "\\u0443", "\\u0444", "\\u0445", "\\u0446", "\\u0447", "\\u0448", "\\u0449", "\\u044A", "\\u044B", "\\u044C", "\\u044D", "\\u044E", "\\u044F", "\\u0451"]; -character = ["\u0430", "\u0431", "\u0432", "\u0433", "\u0434", "\u0435", "\u0436", "\u0437", "\u0438", "\u0439", "\u043A", "\u043B", "\u043C", "\u043D", "\u043E", "\u043F", "\u0440", "\u0441", "\u0442", "\u0443", "\u0444", "\u0445", "\u0446", "\u0447", "\u0448", "\u0449", "\u044A", "\u044B", "\u044C", "\u044D", "\u044E", "\u044F", "\u0451"]; -var result = true; -for (index = 0; index < hex.length; index++) { - arr = (new RegExp(hex[index])).exec(character[index]); - if ((arr === null) || (arr[0] !== character[index])) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: russian small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1.js deleted file mode 100644 index f0e44f419c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.10_A5.1_T1; -* @section: 15.10.2.10; -* @assertion: CharacterEscape :: IdentityEscapeSequence :: SourceCharacter but not IdentifierPart; -* @description: Tested string is "~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.10_A5.1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1.js", - -assertion: "CharacterEscape :: IdentityEscapeSequence :: SourceCharacter but not IdentifierPart", - -description: "Tested string is \"~`!@#$%^&*()-+={[}]|\\\\:;\'<,>./?\" + \'\"\'", - -test: function testcase() { - //CHECK#1 -var non_ident = "~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; -var k = -1; -do { - k++; - arr = new RegExp("\\" + non_ident[k], "g").exec(non_ident); -} while ((arr !== null) && (arr[0] === non_ident[k])) - -if (non_ident.length !== k) { - $ERROR('#1: IdentityEscapeSequence :: SourceCharacter but not IdentifierPart'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1.js deleted file mode 100644 index caae0f9ee6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.10.2.11_A1_T1; - * @section: 15.10.2.11; - * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; - * @description: DecimalEscape :: 0. If i is zero, return the EscapeValue consisting of a character (Unicodevalue0000); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.11_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1.js", - -assertion: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]", - -description: "DecimalEscape :: 0. If i is zero, return the EscapeValue consisting of a character (Unicodevalue0000)", - -test: function testcase() { - //CHECK#1 -var arr = /\0/.exec("\u0000"); -if ((arr === null) || (arr[0] !== "\u0000")) { - $ERROR('#1: var arr = /\\0/.exec(\\u0000); arr[0] === "\\u0000". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = (new RegExp("\\0")).exec("\u0000"); -if ((arr === null) || (arr[0] !== "\u0000")) { - $ERROR('#2: var arr = (new RegExp("\\0")).exec(\\u0000); arr[0] === "\\u0000". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js deleted file mode 100644 index d1ccbe5284..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - /\1/.exec(""); -/\2/.exec(""); -/\3/.exec(""); -/\4/.exec(""); -/\5/.exec(""); -/\6/.exec(""); -/\7/.exec(""); -/\8/.exec(""); -/\9/.exec(""); -/\10/.exec(""); - - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js deleted file mode 100644 index 1df60fa79d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - /(?:A)\2/.exec("AA"); - - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4.js deleted file mode 100644 index 012d993af9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.10.2.11_A1_T4; - * @section: 15.10.2.11, 15.10.2.9; - * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; - * @description: DecimalIntegerLiteral is not 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.11_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4.js", - -assertion: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]", - -description: "DecimalIntegerLiteral is not 0", - -test: function testcase() { - var arr = /(A)\1/.exec("AA"); - -//CHECK#1 -if ((arr === null) || (arr[0] !== "AA")) { - $ERROR('#1: var arr = (/(A)\\1/.exec("AA")); arr[0] === "AA". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -if ((arr === null) || (arr[1] !== "A")) { - $ERROR('#2: var arr = (/(A)\\1/.exec("AA")); arr[1] === "A". Actual. ' + (arr && arr[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5.js deleted file mode 100644 index a6ac41edfe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.10.2.11_A1_T5; - * @section: 15.10.2.11, 15.10.2.9; - * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; - * @description: DecimalIntegerLiteral is not 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.11_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5.js", - -assertion: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]", - -description: "DecimalIntegerLiteral is not 0", - -test: function testcase() { - var arr = /\1(A)/.exec("AA"); - -//CHECK#1 -if ((arr === null) || (arr[0] !== "A")) { - $ERROR('#1: var arr = (/\\1(A)/.exec("AA")); arr[0] === "A". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -if ((arr === null) || (arr[1] !== "A")) { - $ERROR('#2: var arr = (/\\1(A)/.exec("AA")); arr[1] === "A". Actual. ' + (arr && arr[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6.js deleted file mode 100644 index bbf4af2d82..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.10.2.11_A1_T6; - * @section: 15.10.2.11, 15.10.2.9; - * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; - * @description: DecimalIntegerLiteral is not 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.11_A1_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6.js", - -assertion: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]", - -description: "DecimalIntegerLiteral is not 0", - -test: function testcase() { - var arr = /(A)\1(B)\2/.exec("AABB"); - -//CHECK#1 -if ((arr === null) || (arr[0] !== "AABB")) { - $ERROR('#1: var arr = /(A)\\1(B)\\2/.exec("AABB"); arr[0] === "AABB". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -if ((arr === null) || (arr[1] !== "A")) { - $ERROR('#2: var arr = /(A)\\1(B)\\2/.exec("AABB"); arr[1] === "A". Actual. ' + (arr && arr[1])); -} - -//CHECK#3 -if ((arr === null) || (arr[2] !== "B")) { - $ERROR('#3: var arr = /(A)\\1(B)\\2/.exec("AABB"); arr[2] === "B". Actual. ' + (arr && arr[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7.js deleted file mode 100644 index c2b25d13bd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.10.2.11_A1_T7; - * @section: 15.10.2.11, 15.10.2.9; - * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; - * @description: DecimalIntegerLiteral is not 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.11_A1_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7.js", - -assertion: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]", - -description: "DecimalIntegerLiteral is not 0", - -test: function testcase() { - var arr = /\1(A)(B)\2/.exec("ABB"); - -//CHECK#1 -if ((arr === null) || (arr[0] !== "ABB")) { - $ERROR('#1: var arr = /\\1(A)(B)\\2/.exec("ABB"); arr[0] === "ABB". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -if ((arr === null) || (arr[1] !== "A")) { - $ERROR('#2: var arr = /\\1(A)(B)\\2/.exec("ABB"); arr[1] === "A". Actual. ' + (arr && arr[1])); -} - -//CHECK#3 -if ((arr === null) || (arr[2] !== "B")) { - $ERROR('#3: var arr = /\\1(A)(B)\\2/.exec("ABB"); arr[2] === "B". Actual. ' + (arr && arr[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8.js deleted file mode 100644 index adecacd4c1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.10.2.11_A1_T8; - * @section: 15.10.2.11, 15.10.2.9; - * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; - * @description: DecimalIntegerLiteral is not 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.11_A1_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8.js", - -assertion: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]", - -description: "DecimalIntegerLiteral is not 0", - -test: function testcase() { - var arr = /((((((((((A))))))))))\1\2\3\4\5\6\7\8\9\10/.exec("AAAAAAAAAAA"); - -//CHECK#1 -if ((arr === null) || (arr[0] !== "AAAAAAAAAAA")) { - $ERROR('#1: var arr = /((((((((((A))))))))))\\1\\2\\3\\4\\5\\6\\7\\8\\9\\10/.exec("AAAAAAAAAAA"); arr[0] === "AAAAAAAAAAA". Actual. ' + (arr && arr[0])); -} - -for (i = 1; i <= 10; i++) { - //CHECK#i - if ((arr === null) || (arr[i] !== "A")) { - $ERROR('#2: var arr = /((((((((((A))))))))))\\1\\2\\3\\4\\5\\6\\7\\8\\9\\10/.exec("AAAAAAAAAAA"); arr[' + i + '] === "A". Actual. ' + (arr && arr[i])); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9.js deleted file mode 100644 index d85d9af93e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.10.2.11_A1_T9; - * @section: 15.10.2.11, 15.10.2.9; - * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; - * @description: DecimalIntegerLiteral is not 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.11_A1_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9.js", - -assertion: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]", - -description: "DecimalIntegerLiteral is not 0", - -test: function testcase() { - var arr = /((((((((((A))))))))))\10\9\8\7\6\5\4\3\2\1/.exec("AAAAAAAAAAA"); - -//CHECK#1 -if ((arr === null) || (arr[0] !== "AAAAAAAAAAA")) { - $ERROR('#1: var arr = /((((((((((A))))))))))\\10\\9\\8\\7\\6\\5\\4\\3\\2\\1/.exec("AAAAAAAAAAA"); arr[0] === "AAAAAAAAAAA". Actual. ' + (arr && arr[0])); -} - -for (i = 1; i <= 10; i++) { - //CHECK#i - if ((arr === null) || (arr[i] !== "A")) { - $ERROR('#2: var arr = /((((((((((A))))))))))\\10\\9\\8\\7\\6\\5\\4\\3\\2\\1/.exec("AAAAAAAAAAA"); arr[' + i + '] === "A". Actual. ' + (arr && arr[i])); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1.js deleted file mode 100644 index 72dc312489..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1.js +++ /dev/null @@ -1,539 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A1_T1; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters -* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; -* @description: WhiteSpace -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1.js", - -assertion: "The production CharacterClassEscape :: s evaluates by returning the set of characters", - -description: "WhiteSpace", - -test: function testcase() { - var i0 = ""; -for (var j = 0; j < 1024; j++) - i0 += String.fromCharCode(j); -var o0 = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\u0021\u0022\u0023\u0024\u0025\u0026\u0027\u0028\u0029\u002A\u002B\u002C\u002D\u002E\u002F\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u003A\u003B\u003C\u003D\u003E\u003F\u0040\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004A\u004B\u004C\u004D\u004E\u004F\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005A\u005B\u005C\u005D\u005E\u005F\u0060\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006A\u006B\u006C\u006D\u006E\u006F\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007A\u007B\u007C\u007D\u007E\u007F\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\u008A\u008B\u008C\u008D\u008E\u008F\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009A\u009B\u009C\u009D\u009E\u009F\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AD\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF\u0100\u0101\u0102\u0103\u0104\u0105\u0106\u0107\u0108\u0109\u010A\u010B\u010C\u010D\u010E\u010F\u0110\u0111\u0112\u0113\u0114\u0115\u0116\u0117\u0118\u0119\u011A\u011B\u011C\u011D\u011E\u011F\u0120\u0121\u0122\u0123\u0124\u0125\u0126\u0127\u0128\u0129\u012A\u012B\u012C\u012D\u012E\u012F\u0130\u0131\u0132\u0133\u0134\u0135\u0136\u0137\u0138\u0139\u013A\u013B\u013C\u013D\u013E\u013F\u0140\u0141\u0142\u0143\u0144\u0145\u0146\u0147\u0148\u0149\u014A\u014B\u014C\u014D\u014E\u014F\u0150\u0151\u0152\u0153\u0154\u0155\u0156\u0157\u0158\u0159\u015A\u015B\u015C\u015D\u015E\u015F\u0160\u0161\u0162\u0163\u0164\u0165\u0166\u0167\u0168\u0169\u016A\u016B\u016C\u016D\u016E\u016F\u0170\u0171\u0172\u0173\u0174\u0175\u0176\u0177\u0178\u0179\u017A\u017B\u017C\u017D\u017E\u017F\u0180\u0181\u0182\u0183\u0184\u0185\u0186\u0187\u0188\u0189\u018A\u018B\u018C\u018D\u018E\u018F\u0190\u0191\u0192\u0193\u0194\u0195\u0196\u0197\u0198\u0199\u019A\u019B\u019C\u019D\u019E\u019F\u01A0\u01A1\u01A2\u01A3\u01A4\u01A5\u01A6\u01A7\u01A8\u01A9\u01AA\u01AB\u01AC\u01AD\u01AE\u01AF\u01B0\u01B1\u01B2\u01B3\u01B4\u01B5\u01B6\u01B7\u01B8\u01B9\u01BA\u01BB\u01BC\u01BD\u01BE\u01BF\u01C0\u01C1\u01C2\u01C3\u01C4\u01C5\u01C6\u01C7\u01C8\u01C9\u01CA\u01CB\u01CC\u01CD\u01CE\u01CF\u01D0\u01D1\u01D2\u01D3\u01D4\u01D5\u01D6\u01D7\u01D8\u01D9\u01DA\u01DB\u01DC\u01DD\u01DE\u01DF\u01E0\u01E1\u01E2\u01E3\u01E4\u01E5\u01E6\u01E7\u01E8\u01E9\u01EA\u01EB\u01EC\u01ED\u01EE\u01EF\u01F0\u01F1\u01F2\u01F3\u01F4\u01F5\u01F6\u01F7\u01F8\u01F9\u01FA\u01FB\u01FC\u01FD\u01FE\u01FF\u0200\u0201\u0202\u0203\u0204\u0205\u0206\u0207\u0208\u0209\u020A\u020B\u020C\u020D\u020E\u020F\u0210\u0211\u0212\u0213\u0214\u0215\u0216\u0217\u0218\u0219\u021A\u021B\u021C\u021D\u021E\u021F\u0220\u0221\u0222\u0223\u0224\u0225\u0226\u0227\u0228\u0229\u022A\u022B\u022C\u022D\u022E\u022F\u0230\u0231\u0232\u0233\u0234\u0235\u0236\u0237\u0238\u0239\u023A\u023B\u023C\u023D\u023E\u023F\u0240\u0241\u0242\u0243\u0244\u0245\u0246\u0247\u0248\u0249\u024A\u024B\u024C\u024D\u024E\u024F\u0250\u0251\u0252\u0253\u0254\u0255\u0256\u0257\u0258\u0259\u025A\u025B\u025C\u025D\u025E\u025F\u0260\u0261\u0262\u0263\u0264\u0265\u0266\u0267\u0268\u0269\u026A\u026B\u026C\u026D\u026E\u026F\u0270\u0271\u0272\u0273\u0274\u0275\u0276\u0277\u0278\u0279\u027A\u027B\u027C\u027D\u027E\u027F\u0280\u0281\u0282\u0283\u0284\u0285\u0286\u0287\u0288\u0289\u028A\u028B\u028C\u028D\u028E\u028F\u0290\u0291\u0292\u0293\u0294\u0295\u0296\u0297\u0298\u0299\u029A\u029B\u029C\u029D\u029E\u029F\u02A0\u02A1\u02A2\u02A3\u02A4\u02A5\u02A6\u02A7\u02A8\u02A9\u02AA\u02AB\u02AC\u02AD\u02AE\u02AF\u02B0\u02B1\u02B2\u02B3\u02B4\u02B5\u02B6\u02B7\u02B8\u02B9\u02BA\u02BB\u02BC\u02BD\u02BE\u02BF\u02C0\u02C1\u02C2\u02C3\u02C4\u02C5\u02C6\u02C7\u02C8\u02C9\u02CA\u02CB\u02CC\u02CD\u02CE\u02CF\u02D0\u02D1\u02D2\u02D3\u02D4\u02D5\u02D6\u02D7\u02D8\u02D9\u02DA\u02DB\u02DC\u02DD\u02DE\u02DF\u02E0\u02E1\u02E2\u02E3\u02E4\u02E5\u02E6\u02E7\u02E8\u02E9\u02EA\u02EB\u02EC\u02ED\u02EE\u02EF\u02F0\u02F1\u02F2\u02F3\u02F4\u02F5\u02F6\u02F7\u02F8\u02F9\u02FA\u02FB\u02FC\u02FD\u02FE\u02FF\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030A\u030B\u030C\u030D\u030E\u030F\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031A\u031B\u031C\u031D\u031E\u031F\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032A\u032B\u032C\u032D\u032E\u032F\u0330\u0331\u0332\u0333\u0334\u0335\u0336\u0337\u0338\u0339\u033A\u033B\u033C\u033D\u033E\u033F\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034A\u034B\u034C\u034D\u034E\u034F\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035A\u035B\u035C\u035D\u035E\u035F\u0360\u0361\u0362\u0363\u0364\u0365\u0366\u0367\u0368\u0369\u036A\u036B\u036C\u036D\u036E\u036F\u0370\u0371\u0372\u0373\u0374\u0375\u0376\u0377\u0378\u0379\u037A\u037B\u037C\u037D\u037E\u037F\u0380\u0381\u0382\u0383\u0384\u0385\u0386\u0387\u0388\u0389\u038A\u038B\u038C\u038D\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\u03A2\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\u03CF\u03D0\u03D1\u03D2\u03D3\u03D4\u03D5\u03D6\u03D7\u03D8\u03D9\u03DA\u03DB\u03DC\u03DD\u03DE\u03DF\u03E0\u03E1\u03E2\u03E3\u03E4\u03E5\u03E6\u03E7\u03E8\u03E9\u03EA\u03EB\u03EC\u03ED\u03EE\u03EF\u03F0\u03F1\u03F2\u03F3\u03F4\u03F5\u03F6\u03F7\u03F8\u03F9\u03FA\u03FB\u03FC\u03FD\u03FE\u03FF"; -if (i0.replace(/\s+/g, "") !== o0) { - $ERROR("#0: Error matching character class \s between character 0 and 3ff"); -} - -var i1 = ""; -for (var j = 1024; j < 2048; j++) - i1 += String.fromCharCode(j); -var o1 = i1; -if (i1.replace(/\s+/g, "") !== o1) { - $ERROR("#1: Error matching character class \s between character 400 and 7ff"); -} - -var i2 = ""; -for (var j = 2048; j < 3072; j++) - i2 += String.fromCharCode(j); -var o2 = i2; -if (i2.replace(/\s+/g, "") !== o2) { - $ERROR("#2: Error matching character class \s between character 800 and bff"); -} - -var i3 = ""; -for (var j = 3072; j < 4096; j++) - i3 += String.fromCharCode(j); -var o3 = i3; -if (i3.replace(/\s+/g, "") !== o3) { - $ERROR("#3: Error matching character class \s between character c00 and fff"); -} - -var i4 = ""; -for (var j = 4096; j < 5120; j++) - i4 += String.fromCharCode(j); -var o4 = i4; -if (i4.replace(/\s+/g, "") !== o4) { - $ERROR("#4: Error matching character class \s between character 1000 and 13ff"); -} - -var i5 = ""; -for (var j = 5120; j < 6144; j++) - i5 += String.fromCharCode(j); -var o5 = "\u1400\u1401\u1402\u1403\u1404\u1405\u1406\u1407\u1408\u1409\u140A\u140B\u140C\u140D\u140E\u140F\u1410\u1411\u1412\u1413\u1414\u1415\u1416\u1417\u1418\u1419\u141A\u141B\u141C\u141D\u141E\u141F\u1420\u1421\u1422\u1423\u1424\u1425\u1426\u1427\u1428\u1429\u142A\u142B\u142C\u142D\u142E\u142F\u1430\u1431\u1432\u1433\u1434\u1435\u1436\u1437\u1438\u1439\u143A\u143B\u143C\u143D\u143E\u143F\u1440\u1441\u1442\u1443\u1444\u1445\u1446\u1447\u1448\u1449\u144A\u144B\u144C\u144D\u144E\u144F\u1450\u1451\u1452\u1453\u1454\u1455\u1456\u1457\u1458\u1459\u145A\u145B\u145C\u145D\u145E\u145F\u1460\u1461\u1462\u1463\u1464\u1465\u1466\u1467\u1468\u1469\u146A\u146B\u146C\u146D\u146E\u146F\u1470\u1471\u1472\u1473\u1474\u1475\u1476\u1477\u1478\u1479\u147A\u147B\u147C\u147D\u147E\u147F\u1480\u1481\u1482\u1483\u1484\u1485\u1486\u1487\u1488\u1489\u148A\u148B\u148C\u148D\u148E\u148F\u1490\u1491\u1492\u1493\u1494\u1495\u1496\u1497\u1498\u1499\u149A\u149B\u149C\u149D\u149E\u149F\u14A0\u14A1\u14A2\u14A3\u14A4\u14A5\u14A6\u14A7\u14A8\u14A9\u14AA\u14AB\u14AC\u14AD\u14AE\u14AF\u14B0\u14B1\u14B2\u14B3\u14B4\u14B5\u14B6\u14B7\u14B8\u14B9\u14BA\u14BB\u14BC\u14BD\u14BE\u14BF\u14C0\u14C1\u14C2\u14C3\u14C4\u14C5\u14C6\u14C7\u14C8\u14C9\u14CA\u14CB\u14CC\u14CD\u14CE\u14CF\u14D0\u14D1\u14D2\u14D3\u14D4\u14D5\u14D6\u14D7\u14D8\u14D9\u14DA\u14DB\u14DC\u14DD\u14DE\u14DF\u14E0\u14E1\u14E2\u14E3\u14E4\u14E5\u14E6\u14E7\u14E8\u14E9\u14EA\u14EB\u14EC\u14ED\u14EE\u14EF\u14F0\u14F1\u14F2\u14F3\u14F4\u14F5\u14F6\u14F7\u14F8\u14F9\u14FA\u14FB\u14FC\u14FD\u14FE\u14FF\u1500\u1501\u1502\u1503\u1504\u1505\u1506\u1507\u1508\u1509\u150A\u150B\u150C\u150D\u150E\u150F\u1510\u1511\u1512\u1513\u1514\u1515\u1516\u1517\u1518\u1519\u151A\u151B\u151C\u151D\u151E\u151F\u1520\u1521\u1522\u1523\u1524\u1525\u1526\u1527\u1528\u1529\u152A\u152B\u152C\u152D\u152E\u152F\u1530\u1531\u1532\u1533\u1534\u1535\u1536\u1537\u1538\u1539\u153A\u153B\u153C\u153D\u153E\u153F\u1540\u1541\u1542\u1543\u1544\u1545\u1546\u1547\u1548\u1549\u154A\u154B\u154C\u154D\u154E\u154F\u1550\u1551\u1552\u1553\u1554\u1555\u1556\u1557\u1558\u1559\u155A\u155B\u155C\u155D\u155E\u155F\u1560\u1561\u1562\u1563\u1564\u1565\u1566\u1567\u1568\u1569\u156A\u156B\u156C\u156D\u156E\u156F\u1570\u1571\u1572\u1573\u1574\u1575\u1576\u1577\u1578\u1579\u157A\u157B\u157C\u157D\u157E\u157F\u1580\u1581\u1582\u1583\u1584\u1585\u1586\u1587\u1588\u1589\u158A\u158B\u158C\u158D\u158E\u158F\u1590\u1591\u1592\u1593\u1594\u1595\u1596\u1597\u1598\u1599\u159A\u159B\u159C\u159D\u159E\u159F\u15A0\u15A1\u15A2\u15A3\u15A4\u15A5\u15A6\u15A7\u15A8\u15A9\u15AA\u15AB\u15AC\u15AD\u15AE\u15AF\u15B0\u15B1\u15B2\u15B3\u15B4\u15B5\u15B6\u15B7\u15B8\u15B9\u15BA\u15BB\u15BC\u15BD\u15BE\u15BF\u15C0\u15C1\u15C2\u15C3\u15C4\u15C5\u15C6\u15C7\u15C8\u15C9\u15CA\u15CB\u15CC\u15CD\u15CE\u15CF\u15D0\u15D1\u15D2\u15D3\u15D4\u15D5\u15D6\u15D7\u15D8\u15D9\u15DA\u15DB\u15DC\u15DD\u15DE\u15DF\u15E0\u15E1\u15E2\u15E3\u15E4\u15E5\u15E6\u15E7\u15E8\u15E9\u15EA\u15EB\u15EC\u15ED\u15EE\u15EF\u15F0\u15F1\u15F2\u15F3\u15F4\u15F5\u15F6\u15F7\u15F8\u15F9\u15FA\u15FB\u15FC\u15FD\u15FE\u15FF\u1600\u1601\u1602\u1603\u1604\u1605\u1606\u1607\u1608\u1609\u160A\u160B\u160C\u160D\u160E\u160F\u1610\u1611\u1612\u1613\u1614\u1615\u1616\u1617\u1618\u1619\u161A\u161B\u161C\u161D\u161E\u161F\u1620\u1621\u1622\u1623\u1624\u1625\u1626\u1627\u1628\u1629\u162A\u162B\u162C\u162D\u162E\u162F\u1630\u1631\u1632\u1633\u1634\u1635\u1636\u1637\u1638\u1639\u163A\u163B\u163C\u163D\u163E\u163F\u1640\u1641\u1642\u1643\u1644\u1645\u1646\u1647\u1648\u1649\u164A\u164B\u164C\u164D\u164E\u164F\u1650\u1651\u1652\u1653\u1654\u1655\u1656\u1657\u1658\u1659\u165A\u165B\u165C\u165D\u165E\u165F\u1660\u1661\u1662\u1663\u1664\u1665\u1666\u1667\u1668\u1669\u166A\u166B\u166C\u166D\u166E\u166F\u1670\u1671\u1672\u1673\u1674\u1675\u1676\u1677\u1678\u1679\u167A\u167B\u167C\u167D\u167E\u167F\u1681\u1682\u1683\u1684\u1685\u1686\u1687\u1688\u1689\u168A\u168B\u168C\u168D\u168E\u168F\u1690\u1691\u1692\u1693\u1694\u1695\u1696\u1697\u1698\u1699\u169A\u169B\u169C\u169D\u169E\u169F\u16A0\u16A1\u16A2\u16A3\u16A4\u16A5\u16A6\u16A7\u16A8\u16A9\u16AA\u16AB\u16AC\u16AD\u16AE\u16AF\u16B0\u16B1\u16B2\u16B3\u16B4\u16B5\u16B6\u16B7\u16B8\u16B9\u16BA\u16BB\u16BC\u16BD\u16BE\u16BF\u16C0\u16C1\u16C2\u16C3\u16C4\u16C5\u16C6\u16C7\u16C8\u16C9\u16CA\u16CB\u16CC\u16CD\u16CE\u16CF\u16D0\u16D1\u16D2\u16D3\u16D4\u16D5\u16D6\u16D7\u16D8\u16D9\u16DA\u16DB\u16DC\u16DD\u16DE\u16DF\u16E0\u16E1\u16E2\u16E3\u16E4\u16E5\u16E6\u16E7\u16E8\u16E9\u16EA\u16EB\u16EC\u16ED\u16EE\u16EF\u16F0\u16F1\u16F2\u16F3\u16F4\u16F5\u16F6\u16F7\u16F8\u16F9\u16FA\u16FB\u16FC\u16FD\u16FE\u16FF\u1700\u1701\u1702\u1703\u1704\u1705\u1706\u1707\u1708\u1709\u170A\u170B\u170C\u170D\u170E\u170F\u1710\u1711\u1712\u1713\u1714\u1715\u1716\u1717\u1718\u1719\u171A\u171B\u171C\u171D\u171E\u171F\u1720\u1721\u1722\u1723\u1724\u1725\u1726\u1727\u1728\u1729\u172A\u172B\u172C\u172D\u172E\u172F\u1730\u1731\u1732\u1733\u1734\u1735\u1736\u1737\u1738\u1739\u173A\u173B\u173C\u173D\u173E\u173F\u1740\u1741\u1742\u1743\u1744\u1745\u1746\u1747\u1748\u1749\u174A\u174B\u174C\u174D\u174E\u174F\u1750\u1751\u1752\u1753\u1754\u1755\u1756\u1757\u1758\u1759\u175A\u175B\u175C\u175D\u175E\u175F\u1760\u1761\u1762\u1763\u1764\u1765\u1766\u1767\u1768\u1769\u176A\u176B\u176C\u176D\u176E\u176F\u1770\u1771\u1772\u1773\u1774\u1775\u1776\u1777\u1778\u1779\u177A\u177B\u177C\u177D\u177E\u177F\u1780\u1781\u1782\u1783\u1784\u1785\u1786\u1787\u1788\u1789\u178A\u178B\u178C\u178D\u178E\u178F\u1790\u1791\u1792\u1793\u1794\u1795\u1796\u1797\u1798\u1799\u179A\u179B\u179C\u179D\u179E\u179F\u17A0\u17A1\u17A2\u17A3\u17A4\u17A5\u17A6\u17A7\u17A8\u17A9\u17AA\u17AB\u17AC\u17AD\u17AE\u17AF\u17B0\u17B1\u17B2\u17B3\u17B4\u17B5\u17B6\u17B7\u17B8\u17B9\u17BA\u17BB\u17BC\u17BD\u17BE\u17BF\u17C0\u17C1\u17C2\u17C3\u17C4\u17C5\u17C6\u17C7\u17C8\u17C9\u17CA\u17CB\u17CC\u17CD\u17CE\u17CF\u17D0\u17D1\u17D2\u17D3\u17D4\u17D5\u17D6\u17D7\u17D8\u17D9\u17DA\u17DB\u17DC\u17DD\u17DE\u17DF\u17E0\u17E1\u17E2\u17E3\u17E4\u17E5\u17E6\u17E7\u17E8\u17E9\u17EA\u17EB\u17EC\u17ED\u17EE\u17EF\u17F0\u17F1\u17F2\u17F3\u17F4\u17F5\u17F6\u17F7\u17F8\u17F9\u17FA\u17FB\u17FC\u17FD\u17FE\u17FF"; -if (i5.replace(/\s+/g, "") !== o5) { - $ERROR("#5: Error matching character class \s between character 1400 and 17ff"); -} - -var i6 = ""; -for (var j = 6144; j < 7168; j++) - i6 += String.fromCharCode(j); -var o6 = "\u1800\u1801\u1802\u1803\u1804\u1805\u1806\u1807\u1808\u1809\u180A\u180B\u180C\u180D\u180F\u1810\u1811\u1812\u1813\u1814\u1815\u1816\u1817\u1818\u1819\u181A\u181B\u181C\u181D\u181E\u181F\u1820\u1821\u1822\u1823\u1824\u1825\u1826\u1827\u1828\u1829\u182A\u182B\u182C\u182D\u182E\u182F\u1830\u1831\u1832\u1833\u1834\u1835\u1836\u1837\u1838\u1839\u183A\u183B\u183C\u183D\u183E\u183F\u1840\u1841\u1842\u1843\u1844\u1845\u1846\u1847\u1848\u1849\u184A\u184B\u184C\u184D\u184E\u184F\u1850\u1851\u1852\u1853\u1854\u1855\u1856\u1857\u1858\u1859\u185A\u185B\u185C\u185D\u185E\u185F\u1860\u1861\u1862\u1863\u1864\u1865\u1866\u1867\u1868\u1869\u186A\u186B\u186C\u186D\u186E\u186F\u1870\u1871\u1872\u1873\u1874\u1875\u1876\u1877\u1878\u1879\u187A\u187B\u187C\u187D\u187E\u187F\u1880\u1881\u1882\u1883\u1884\u1885\u1886\u1887\u1888\u1889\u188A\u188B\u188C\u188D\u188E\u188F\u1890\u1891\u1892\u1893\u1894\u1895\u1896\u1897\u1898\u1899\u189A\u189B\u189C\u189D\u189E\u189F\u18A0\u18A1\u18A2\u18A3\u18A4\u18A5\u18A6\u18A7\u18A8\u18A9\u18AA\u18AB\u18AC\u18AD\u18AE\u18AF\u18B0\u18B1\u18B2\u18B3\u18B4\u18B5\u18B6\u18B7\u18B8\u18B9\u18BA\u18BB\u18BC\u18BD\u18BE\u18BF\u18C0\u18C1\u18C2\u18C3\u18C4\u18C5\u18C6\u18C7\u18C8\u18C9\u18CA\u18CB\u18CC\u18CD\u18CE\u18CF\u18D0\u18D1\u18D2\u18D3\u18D4\u18D5\u18D6\u18D7\u18D8\u18D9\u18DA\u18DB\u18DC\u18DD\u18DE\u18DF\u18E0\u18E1\u18E2\u18E3\u18E4\u18E5\u18E6\u18E7\u18E8\u18E9\u18EA\u18EB\u18EC\u18ED\u18EE\u18EF\u18F0\u18F1\u18F2\u18F3\u18F4\u18F5\u18F6\u18F7\u18F8\u18F9\u18FA\u18FB\u18FC\u18FD\u18FE\u18FF\u1900\u1901\u1902\u1903\u1904\u1905\u1906\u1907\u1908\u1909\u190A\u190B\u190C\u190D\u190E\u190F\u1910\u1911\u1912\u1913\u1914\u1915\u1916\u1917\u1918\u1919\u191A\u191B\u191C\u191D\u191E\u191F\u1920\u1921\u1922\u1923\u1924\u1925\u1926\u1927\u1928\u1929\u192A\u192B\u192C\u192D\u192E\u192F\u1930\u1931\u1932\u1933\u1934\u1935\u1936\u1937\u1938\u1939\u193A\u193B\u193C\u193D\u193E\u193F\u1940\u1941\u1942\u1943\u1944\u1945\u1946\u1947\u1948\u1949\u194A\u194B\u194C\u194D\u194E\u194F\u1950\u1951\u1952\u1953\u1954\u1955\u1956\u1957\u1958\u1959\u195A\u195B\u195C\u195D\u195E\u195F\u1960\u1961\u1962\u1963\u1964\u1965\u1966\u1967\u1968\u1969\u196A\u196B\u196C\u196D\u196E\u196F\u1970\u1971\u1972\u1973\u1974\u1975\u1976\u1977\u1978\u1979\u197A\u197B\u197C\u197D\u197E\u197F\u1980\u1981\u1982\u1983\u1984\u1985\u1986\u1987\u1988\u1989\u198A\u198B\u198C\u198D\u198E\u198F\u1990\u1991\u1992\u1993\u1994\u1995\u1996\u1997\u1998\u1999\u199A\u199B\u199C\u199D\u199E\u199F\u19A0\u19A1\u19A2\u19A3\u19A4\u19A5\u19A6\u19A7\u19A8\u19A9\u19AA\u19AB\u19AC\u19AD\u19AE\u19AF\u19B0\u19B1\u19B2\u19B3\u19B4\u19B5\u19B6\u19B7\u19B8\u19B9\u19BA\u19BB\u19BC\u19BD\u19BE\u19BF\u19C0\u19C1\u19C2\u19C3\u19C4\u19C5\u19C6\u19C7\u19C8\u19C9\u19CA\u19CB\u19CC\u19CD\u19CE\u19CF\u19D0\u19D1\u19D2\u19D3\u19D4\u19D5\u19D6\u19D7\u19D8\u19D9\u19DA\u19DB\u19DC\u19DD\u19DE\u19DF\u19E0\u19E1\u19E2\u19E3\u19E4\u19E5\u19E6\u19E7\u19E8\u19E9\u19EA\u19EB\u19EC\u19ED\u19EE\u19EF\u19F0\u19F1\u19F2\u19F3\u19F4\u19F5\u19F6\u19F7\u19F8\u19F9\u19FA\u19FB\u19FC\u19FD\u19FE\u19FF\u1A00\u1A01\u1A02\u1A03\u1A04\u1A05\u1A06\u1A07\u1A08\u1A09\u1A0A\u1A0B\u1A0C\u1A0D\u1A0E\u1A0F\u1A10\u1A11\u1A12\u1A13\u1A14\u1A15\u1A16\u1A17\u1A18\u1A19\u1A1A\u1A1B\u1A1C\u1A1D\u1A1E\u1A1F\u1A20\u1A21\u1A22\u1A23\u1A24\u1A25\u1A26\u1A27\u1A28\u1A29\u1A2A\u1A2B\u1A2C\u1A2D\u1A2E\u1A2F\u1A30\u1A31\u1A32\u1A33\u1A34\u1A35\u1A36\u1A37\u1A38\u1A39\u1A3A\u1A3B\u1A3C\u1A3D\u1A3E\u1A3F\u1A40\u1A41\u1A42\u1A43\u1A44\u1A45\u1A46\u1A47\u1A48\u1A49\u1A4A\u1A4B\u1A4C\u1A4D\u1A4E\u1A4F\u1A50\u1A51\u1A52\u1A53\u1A54\u1A55\u1A56\u1A57\u1A58\u1A59\u1A5A\u1A5B\u1A5C\u1A5D\u1A5E\u1A5F\u1A60\u1A61\u1A62\u1A63\u1A64\u1A65\u1A66\u1A67\u1A68\u1A69\u1A6A\u1A6B\u1A6C\u1A6D\u1A6E\u1A6F\u1A70\u1A71\u1A72\u1A73\u1A74\u1A75\u1A76\u1A77\u1A78\u1A79\u1A7A\u1A7B\u1A7C\u1A7D\u1A7E\u1A7F\u1A80\u1A81\u1A82\u1A83\u1A84\u1A85\u1A86\u1A87\u1A88\u1A89\u1A8A\u1A8B\u1A8C\u1A8D\u1A8E\u1A8F\u1A90\u1A91\u1A92\u1A93\u1A94\u1A95\u1A96\u1A97\u1A98\u1A99\u1A9A\u1A9B\u1A9C\u1A9D\u1A9E\u1A9F\u1AA0\u1AA1\u1AA2\u1AA3\u1AA4\u1AA5\u1AA6\u1AA7\u1AA8\u1AA9\u1AAA\u1AAB\u1AAC\u1AAD\u1AAE\u1AAF\u1AB0\u1AB1\u1AB2\u1AB3\u1AB4\u1AB5\u1AB6\u1AB7\u1AB8\u1AB9\u1ABA\u1ABB\u1ABC\u1ABD\u1ABE\u1ABF\u1AC0\u1AC1\u1AC2\u1AC3\u1AC4\u1AC5\u1AC6\u1AC7\u1AC8\u1AC9\u1ACA\u1ACB\u1ACC\u1ACD\u1ACE\u1ACF\u1AD0\u1AD1\u1AD2\u1AD3\u1AD4\u1AD5\u1AD6\u1AD7\u1AD8\u1AD9\u1ADA\u1ADB\u1ADC\u1ADD\u1ADE\u1ADF\u1AE0\u1AE1\u1AE2\u1AE3\u1AE4\u1AE5\u1AE6\u1AE7\u1AE8\u1AE9\u1AEA\u1AEB\u1AEC\u1AED\u1AEE\u1AEF\u1AF0\u1AF1\u1AF2\u1AF3\u1AF4\u1AF5\u1AF6\u1AF7\u1AF8\u1AF9\u1AFA\u1AFB\u1AFC\u1AFD\u1AFE\u1AFF\u1B00\u1B01\u1B02\u1B03\u1B04\u1B05\u1B06\u1B07\u1B08\u1B09\u1B0A\u1B0B\u1B0C\u1B0D\u1B0E\u1B0F\u1B10\u1B11\u1B12\u1B13\u1B14\u1B15\u1B16\u1B17\u1B18\u1B19\u1B1A\u1B1B\u1B1C\u1B1D\u1B1E\u1B1F\u1B20\u1B21\u1B22\u1B23\u1B24\u1B25\u1B26\u1B27\u1B28\u1B29\u1B2A\u1B2B\u1B2C\u1B2D\u1B2E\u1B2F\u1B30\u1B31\u1B32\u1B33\u1B34\u1B35\u1B36\u1B37\u1B38\u1B39\u1B3A\u1B3B\u1B3C\u1B3D\u1B3E\u1B3F\u1B40\u1B41\u1B42\u1B43\u1B44\u1B45\u1B46\u1B47\u1B48\u1B49\u1B4A\u1B4B\u1B4C\u1B4D\u1B4E\u1B4F\u1B50\u1B51\u1B52\u1B53\u1B54\u1B55\u1B56\u1B57\u1B58\u1B59\u1B5A\u1B5B\u1B5C\u1B5D\u1B5E\u1B5F\u1B60\u1B61\u1B62\u1B63\u1B64\u1B65\u1B66\u1B67\u1B68\u1B69\u1B6A\u1B6B\u1B6C\u1B6D\u1B6E\u1B6F\u1B70\u1B71\u1B72\u1B73\u1B74\u1B75\u1B76\u1B77\u1B78\u1B79\u1B7A\u1B7B\u1B7C\u1B7D\u1B7E\u1B7F\u1B80\u1B81\u1B82\u1B83\u1B84\u1B85\u1B86\u1B87\u1B88\u1B89\u1B8A\u1B8B\u1B8C\u1B8D\u1B8E\u1B8F\u1B90\u1B91\u1B92\u1B93\u1B94\u1B95\u1B96\u1B97\u1B98\u1B99\u1B9A\u1B9B\u1B9C\u1B9D\u1B9E\u1B9F\u1BA0\u1BA1\u1BA2\u1BA3\u1BA4\u1BA5\u1BA6\u1BA7\u1BA8\u1BA9\u1BAA\u1BAB\u1BAC\u1BAD\u1BAE\u1BAF\u1BB0\u1BB1\u1BB2\u1BB3\u1BB4\u1BB5\u1BB6\u1BB7\u1BB8\u1BB9\u1BBA\u1BBB\u1BBC\u1BBD\u1BBE\u1BBF\u1BC0\u1BC1\u1BC2\u1BC3\u1BC4\u1BC5\u1BC6\u1BC7\u1BC8\u1BC9\u1BCA\u1BCB\u1BCC\u1BCD\u1BCE\u1BCF\u1BD0\u1BD1\u1BD2\u1BD3\u1BD4\u1BD5\u1BD6\u1BD7\u1BD8\u1BD9\u1BDA\u1BDB\u1BDC\u1BDD\u1BDE\u1BDF\u1BE0\u1BE1\u1BE2\u1BE3\u1BE4\u1BE5\u1BE6\u1BE7\u1BE8\u1BE9\u1BEA\u1BEB\u1BEC\u1BED\u1BEE\u1BEF\u1BF0\u1BF1\u1BF2\u1BF3\u1BF4\u1BF5\u1BF6\u1BF7\u1BF8\u1BF9\u1BFA\u1BFB\u1BFC\u1BFD\u1BFE\u1BFF"; -if (i6.replace(/\s+/g, "") !== o6) { - $ERROR("#6: Error matching character class \s between character 1800 and 1bff"); -} - -var i7 = ""; -for (var j = 7168; j < 8192; j++) - i7 += String.fromCharCode(j); -var o7 = i7; -if (i7.replace(/\s+/g, "") !== o7) { - $ERROR("#7: Error matching character class \s between character 1c00 and 1fff"); -} - -var i8 = ""; -for (var j = 8192; j < 9216; j++) - i8 += String.fromCharCode(j); -var o8 = "\u200B\u200C\u200D\u200E\u200F\u2010\u2011\u2012\u2013\u2014\u2015\u2016\u2017\u2018\u2019\u201A\u201B\u201C\u201D\u201E\u201F\u2020\u2021\u2022\u2023\u2024\u2025\u2026\u2027\u202A\u202B\u202C\u202D\u202E\u2030\u2031\u2032\u2033\u2034\u2035\u2036\u2037\u2038\u2039\u203A\u203B\u203C\u203D\u203E\u203F\u2040\u2041\u2042\u2043\u2044\u2045\u2046\u2047\u2048\u2049\u204A\u204B\u204C\u204D\u204E\u204F\u2050\u2051\u2052\u2053\u2054\u2055\u2056\u2057\u2058\u2059\u205A\u205B\u205C\u205D\u205E\u2060\u2061\u2062\u2063\u2064\u2065\u2066\u2067\u2068\u2069\u206A\u206B\u206C\u206D\u206E\u206F\u2070\u2071\u2072\u2073\u2074\u2075\u2076\u2077\u2078\u2079\u207A\u207B\u207C\u207D\u207E\u207F\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u208A\u208B\u208C\u208D\u208E\u208F\u2090\u2091\u2092\u2093\u2094\u2095\u2096\u2097\u2098\u2099\u209A\u209B\u209C\u209D\u209E\u209F\u20A0\u20A1\u20A2\u20A3\u20A4\u20A5\u20A6\u20A7\u20A8\u20A9\u20AA\u20AB\u20AC\u20AD\u20AE\u20AF\u20B0\u20B1\u20B2\u20B3\u20B4\u20B5\u20B6\u20B7\u20B8\u20B9\u20BA\u20BB\u20BC\u20BD\u20BE\u20BF\u20C0\u20C1\u20C2\u20C3\u20C4\u20C5\u20C6\u20C7\u20C8\u20C9\u20CA\u20CB\u20CC\u20CD\u20CE\u20CF\u20D0\u20D1\u20D2\u20D3\u20D4\u20D5\u20D6\u20D7\u20D8\u20D9\u20DA\u20DB\u20DC\u20DD\u20DE\u20DF\u20E0\u20E1\u20E2\u20E3\u20E4\u20E5\u20E6\u20E7\u20E8\u20E9\u20EA\u20EB\u20EC\u20ED\u20EE\u20EF\u20F0\u20F1\u20F2\u20F3\u20F4\u20F5\u20F6\u20F7\u20F8\u20F9\u20FA\u20FB\u20FC\u20FD\u20FE\u20FF\u2100\u2101\u2102\u2103\u2104\u2105\u2106\u2107\u2108\u2109\u210A\u210B\u210C\u210D\u210E\u210F\u2110\u2111\u2112\u2113\u2114\u2115\u2116\u2117\u2118\u2119\u211A\u211B\u211C\u211D\u211E\u211F\u2120\u2121\u2122\u2123\u2124\u2125\u2126\u2127\u2128\u2129\u212A\u212B\u212C\u212D\u212E\u212F\u2130\u2131\u2132\u2133\u2134\u2135\u2136\u2137\u2138\u2139\u213A\u213B\u213C\u213D\u213E\u213F\u2140\u2141\u2142\u2143\u2144\u2145\u2146\u2147\u2148\u2149\u214A\u214B\u214C\u214D\u214E\u214F\u2150\u2151\u2152\u2153\u2154\u2155\u2156\u2157\u2158\u2159\u215A\u215B\u215C\u215D\u215E\u215F\u2160\u2161\u2162\u2163\u2164\u2165\u2166\u2167\u2168\u2169\u216A\u216B\u216C\u216D\u216E\u216F\u2170\u2171\u2172\u2173\u2174\u2175\u2176\u2177\u2178\u2179\u217A\u217B\u217C\u217D\u217E\u217F\u2180\u2181\u2182\u2183\u2184\u2185\u2186\u2187\u2188\u2189\u218A\u218B\u218C\u218D\u218E\u218F\u2190\u2191\u2192\u2193\u2194\u2195\u2196\u2197\u2198\u2199\u219A\u219B\u219C\u219D\u219E\u219F\u21A0\u21A1\u21A2\u21A3\u21A4\u21A5\u21A6\u21A7\u21A8\u21A9\u21AA\u21AB\u21AC\u21AD\u21AE\u21AF\u21B0\u21B1\u21B2\u21B3\u21B4\u21B5\u21B6\u21B7\u21B8\u21B9\u21BA\u21BB\u21BC\u21BD\u21BE\u21BF\u21C0\u21C1\u21C2\u21C3\u21C4\u21C5\u21C6\u21C7\u21C8\u21C9\u21CA\u21CB\u21CC\u21CD\u21CE\u21CF\u21D0\u21D1\u21D2\u21D3\u21D4\u21D5\u21D6\u21D7\u21D8\u21D9\u21DA\u21DB\u21DC\u21DD\u21DE\u21DF\u21E0\u21E1\u21E2\u21E3\u21E4\u21E5\u21E6\u21E7\u21E8\u21E9\u21EA\u21EB\u21EC\u21ED\u21EE\u21EF\u21F0\u21F1\u21F2\u21F3\u21F4\u21F5\u21F6\u21F7\u21F8\u21F9\u21FA\u21FB\u21FC\u21FD\u21FE\u21FF\u2200\u2201\u2202\u2203\u2204\u2205\u2206\u2207\u2208\u2209\u220A\u220B\u220C\u220D\u220E\u220F\u2210\u2211\u2212\u2213\u2214\u2215\u2216\u2217\u2218\u2219\u221A\u221B\u221C\u221D\u221E\u221F\u2220\u2221\u2222\u2223\u2224\u2225\u2226\u2227\u2228\u2229\u222A\u222B\u222C\u222D\u222E\u222F\u2230\u2231\u2232\u2233\u2234\u2235\u2236\u2237\u2238\u2239\u223A\u223B\u223C\u223D\u223E\u223F\u2240\u2241\u2242\u2243\u2244\u2245\u2246\u2247\u2248\u2249\u224A\u224B\u224C\u224D\u224E\u224F\u2250\u2251\u2252\u2253\u2254\u2255\u2256\u2257\u2258\u2259\u225A\u225B\u225C\u225D\u225E\u225F\u2260\u2261\u2262\u2263\u2264\u2265\u2266\u2267\u2268\u2269\u226A\u226B\u226C\u226D\u226E\u226F\u2270\u2271\u2272\u2273\u2274\u2275\u2276\u2277\u2278\u2279\u227A\u227B\u227C\u227D\u227E\u227F\u2280\u2281\u2282\u2283\u2284\u2285\u2286\u2287\u2288\u2289\u228A\u228B\u228C\u228D\u228E\u228F\u2290\u2291\u2292\u2293\u2294\u2295\u2296\u2297\u2298\u2299\u229A\u229B\u229C\u229D\u229E\u229F\u22A0\u22A1\u22A2\u22A3\u22A4\u22A5\u22A6\u22A7\u22A8\u22A9\u22AA\u22AB\u22AC\u22AD\u22AE\u22AF\u22B0\u22B1\u22B2\u22B3\u22B4\u22B5\u22B6\u22B7\u22B8\u22B9\u22BA\u22BB\u22BC\u22BD\u22BE\u22BF\u22C0\u22C1\u22C2\u22C3\u22C4\u22C5\u22C6\u22C7\u22C8\u22C9\u22CA\u22CB\u22CC\u22CD\u22CE\u22CF\u22D0\u22D1\u22D2\u22D3\u22D4\u22D5\u22D6\u22D7\u22D8\u22D9\u22DA\u22DB\u22DC\u22DD\u22DE\u22DF\u22E0\u22E1\u22E2\u22E3\u22E4\u22E5\u22E6\u22E7\u22E8\u22E9\u22EA\u22EB\u22EC\u22ED\u22EE\u22EF\u22F0\u22F1\u22F2\u22F3\u22F4\u22F5\u22F6\u22F7\u22F8\u22F9\u22FA\u22FB\u22FC\u22FD\u22FE\u22FF\u2300\u2301\u2302\u2303\u2304\u2305\u2306\u2307\u2308\u2309\u230A\u230B\u230C\u230D\u230E\u230F\u2310\u2311\u2312\u2313\u2314\u2315\u2316\u2317\u2318\u2319\u231A\u231B\u231C\u231D\u231E\u231F\u2320\u2321\u2322\u2323\u2324\u2325\u2326\u2327\u2328\u2329\u232A\u232B\u232C\u232D\u232E\u232F\u2330\u2331\u2332\u2333\u2334\u2335\u2336\u2337\u2338\u2339\u233A\u233B\u233C\u233D\u233E\u233F\u2340\u2341\u2342\u2343\u2344\u2345\u2346\u2347\u2348\u2349\u234A\u234B\u234C\u234D\u234E\u234F\u2350\u2351\u2352\u2353\u2354\u2355\u2356\u2357\u2358\u2359\u235A\u235B\u235C\u235D\u235E\u235F\u2360\u2361\u2362\u2363\u2364\u2365\u2366\u2367\u2368\u2369\u236A\u236B\u236C\u236D\u236E\u236F\u2370\u2371\u2372\u2373\u2374\u2375\u2376\u2377\u2378\u2379\u237A\u237B\u237C\u237D\u237E\u237F\u2380\u2381\u2382\u2383\u2384\u2385\u2386\u2387\u2388\u2389\u238A\u238B\u238C\u238D\u238E\u238F\u2390\u2391\u2392\u2393\u2394\u2395\u2396\u2397\u2398\u2399\u239A\u239B\u239C\u239D\u239E\u239F\u23A0\u23A1\u23A2\u23A3\u23A4\u23A5\u23A6\u23A7\u23A8\u23A9\u23AA\u23AB\u23AC\u23AD\u23AE\u23AF\u23B0\u23B1\u23B2\u23B3\u23B4\u23B5\u23B6\u23B7\u23B8\u23B9\u23BA\u23BB\u23BC\u23BD\u23BE\u23BF\u23C0\u23C1\u23C2\u23C3\u23C4\u23C5\u23C6\u23C7\u23C8\u23C9\u23CA\u23CB\u23CC\u23CD\u23CE\u23CF\u23D0\u23D1\u23D2\u23D3\u23D4\u23D5\u23D6\u23D7\u23D8\u23D9\u23DA\u23DB\u23DC\u23DD\u23DE\u23DF\u23E0\u23E1\u23E2\u23E3\u23E4\u23E5\u23E6\u23E7\u23E8\u23E9\u23EA\u23EB\u23EC\u23ED\u23EE\u23EF\u23F0\u23F1\u23F2\u23F3\u23F4\u23F5\u23F6\u23F7\u23F8\u23F9\u23FA\u23FB\u23FC\u23FD\u23FE\u23FF"; -if (i8.replace(/\s+/g, "") !== o8) { - $ERROR("#8: Error matching character class \s between character 2000 and 23ff"); -} - -var i9 = ""; -for (var j = 9216; j < 10240; j++) - i9 += String.fromCharCode(j); -var o9 = i9; -if (i9.replace(/\s+/g, "") !== o9) { - $ERROR("#9: Error matching character class \s between character 2400 and 27ff"); -} - -var i10 = ""; -for (var j = 10240; j < 11264; j++) - i10 += String.fromCharCode(j); -var o10 = i10; -if (i10.replace(/\s+/g, "") !== o10) { - $ERROR("#10: Error matching character class \s between character 2800 and 2bff"); -} - -var i11 = ""; -for (var j = 11264; j < 12288; j++) - i11 += String.fromCharCode(j); -var o11 = i11; -if (i11.replace(/\s+/g, "") !== o11) { - $ERROR("#11: Error matching character class \s between character 2c00 and 2fff"); -} - -var i12 = ""; -for (var j = 12288; j < 13312; j++) - i12 += String.fromCharCode(j); -var o12 = "\u3001\u3002\u3003\u3004\u3005\u3006\u3007\u3008\u3009\u300A\u300B\u300C\u300D\u300E\u300F\u3010\u3011\u3012\u3013\u3014\u3015\u3016\u3017\u3018\u3019\u301A\u301B\u301C\u301D\u301E\u301F\u3020\u3021\u3022\u3023\u3024\u3025\u3026\u3027\u3028\u3029\u302A\u302B\u302C\u302D\u302E\u302F\u3030\u3031\u3032\u3033\u3034\u3035\u3036\u3037\u3038\u3039\u303A\u303B\u303C\u303D\u303E\u303F\u3040\u3041\u3042\u3043\u3044\u3045\u3046\u3047\u3048\u3049\u304A\u304B\u304C\u304D\u304E\u304F\u3050\u3051\u3052\u3053\u3054\u3055\u3056\u3057\u3058\u3059\u305A\u305B\u305C\u305D\u305E\u305F\u3060\u3061\u3062\u3063\u3064\u3065\u3066\u3067\u3068\u3069\u306A\u306B\u306C\u306D\u306E\u306F\u3070\u3071\u3072\u3073\u3074\u3075\u3076\u3077\u3078\u3079\u307A\u307B\u307C\u307D\u307E\u307F\u3080\u3081\u3082\u3083\u3084\u3085\u3086\u3087\u3088\u3089\u308A\u308B\u308C\u308D\u308E\u308F\u3090\u3091\u3092\u3093\u3094\u3095\u3096\u3097\u3098\u3099\u309A\u309B\u309C\u309D\u309E\u309F\u30A0\u30A1\u30A2\u30A3\u30A4\u30A5\u30A6\u30A7\u30A8\u30A9\u30AA\u30AB\u30AC\u30AD\u30AE\u30AF\u30B0\u30B1\u30B2\u30B3\u30B4\u30B5\u30B6\u30B7\u30B8\u30B9\u30BA\u30BB\u30BC\u30BD\u30BE\u30BF\u30C0\u30C1\u30C2\u30C3\u30C4\u30C5\u30C6\u30C7\u30C8\u30C9\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D0\u30D1\u30D2\u30D3\u30D4\u30D5\u30D6\u30D7\u30D8\u30D9\u30DA\u30DB\u30DC\u30DD\u30DE\u30DF\u30E0\u30E1\u30E2\u30E3\u30E4\u30E5\u30E6\u30E7\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EE\u30EF\u30F0\u30F1\u30F2\u30F3\u30F4\u30F5\u30F6\u30F7\u30F8\u30F9\u30FA\u30FB\u30FC\u30FD\u30FE\u30FF\u3100\u3101\u3102\u3103\u3104\u3105\u3106\u3107\u3108\u3109\u310A\u310B\u310C\u310D\u310E\u310F\u3110\u3111\u3112\u3113\u3114\u3115\u3116\u3117\u3118\u3119\u311A\u311B\u311C\u311D\u311E\u311F\u3120\u3121\u3122\u3123\u3124\u3125\u3126\u3127\u3128\u3129\u312A\u312B\u312C\u312D\u312E\u312F\u3130\u3131\u3132\u3133\u3134\u3135\u3136\u3137\u3138\u3139\u313A\u313B\u313C\u313D\u313E\u313F\u3140\u3141\u3142\u3143\u3144\u3145\u3146\u3147\u3148\u3149\u314A\u314B\u314C\u314D\u314E\u314F\u3150\u3151\u3152\u3153\u3154\u3155\u3156\u3157\u3158\u3159\u315A\u315B\u315C\u315D\u315E\u315F\u3160\u3161\u3162\u3163\u3164\u3165\u3166\u3167\u3168\u3169\u316A\u316B\u316C\u316D\u316E\u316F\u3170\u3171\u3172\u3173\u3174\u3175\u3176\u3177\u3178\u3179\u317A\u317B\u317C\u317D\u317E\u317F\u3180\u3181\u3182\u3183\u3184\u3185\u3186\u3187\u3188\u3189\u318A\u318B\u318C\u318D\u318E\u318F\u3190\u3191\u3192\u3193\u3194\u3195\u3196\u3197\u3198\u3199\u319A\u319B\u319C\u319D\u319E\u319F\u31A0\u31A1\u31A2\u31A3\u31A4\u31A5\u31A6\u31A7\u31A8\u31A9\u31AA\u31AB\u31AC\u31AD\u31AE\u31AF\u31B0\u31B1\u31B2\u31B3\u31B4\u31B5\u31B6\u31B7\u31B8\u31B9\u31BA\u31BB\u31BC\u31BD\u31BE\u31BF\u31C0\u31C1\u31C2\u31C3\u31C4\u31C5\u31C6\u31C7\u31C8\u31C9\u31CA\u31CB\u31CC\u31CD\u31CE\u31CF\u31D0\u31D1\u31D2\u31D3\u31D4\u31D5\u31D6\u31D7\u31D8\u31D9\u31DA\u31DB\u31DC\u31DD\u31DE\u31DF\u31E0\u31E1\u31E2\u31E3\u31E4\u31E5\u31E6\u31E7\u31E8\u31E9\u31EA\u31EB\u31EC\u31ED\u31EE\u31EF\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3200\u3201\u3202\u3203\u3204\u3205\u3206\u3207\u3208\u3209\u320A\u320B\u320C\u320D\u320E\u320F\u3210\u3211\u3212\u3213\u3214\u3215\u3216\u3217\u3218\u3219\u321A\u321B\u321C\u321D\u321E\u321F\u3220\u3221\u3222\u3223\u3224\u3225\u3226\u3227\u3228\u3229\u322A\u322B\u322C\u322D\u322E\u322F\u3230\u3231\u3232\u3233\u3234\u3235\u3236\u3237\u3238\u3239\u323A\u323B\u323C\u323D\u323E\u323F\u3240\u3241\u3242\u3243\u3244\u3245\u3246\u3247\u3248\u3249\u324A\u324B\u324C\u324D\u324E\u324F\u3250\u3251\u3252\u3253\u3254\u3255\u3256\u3257\u3258\u3259\u325A\u325B\u325C\u325D\u325E\u325F\u3260\u3261\u3262\u3263\u3264\u3265\u3266\u3267\u3268\u3269\u326A\u326B\u326C\u326D\u326E\u326F\u3270\u3271\u3272\u3273\u3274\u3275\u3276\u3277\u3278\u3279\u327A\u327B\u327C\u327D\u327E\u327F\u3280\u3281\u3282\u3283\u3284\u3285\u3286\u3287\u3288\u3289\u328A\u328B\u328C\u328D\u328E\u328F\u3290\u3291\u3292\u3293\u3294\u3295\u3296\u3297\u3298\u3299\u329A\u329B\u329C\u329D\u329E\u329F\u32A0\u32A1\u32A2\u32A3\u32A4\u32A5\u32A6\u32A7\u32A8\u32A9\u32AA\u32AB\u32AC\u32AD\u32AE\u32AF\u32B0\u32B1\u32B2\u32B3\u32B4\u32B5\u32B6\u32B7\u32B8\u32B9\u32BA\u32BB\u32BC\u32BD\u32BE\u32BF\u32C0\u32C1\u32C2\u32C3\u32C4\u32C5\u32C6\u32C7\u32C8\u32C9\u32CA\u32CB\u32CC\u32CD\u32CE\u32CF\u32D0\u32D1\u32D2\u32D3\u32D4\u32D5\u32D6\u32D7\u32D8\u32D9\u32DA\u32DB\u32DC\u32DD\u32DE\u32DF\u32E0\u32E1\u32E2\u32E3\u32E4\u32E5\u32E6\u32E7\u32E8\u32E9\u32EA\u32EB\u32EC\u32ED\u32EE\u32EF\u32F0\u32F1\u32F2\u32F3\u32F4\u32F5\u32F6\u32F7\u32F8\u32F9\u32FA\u32FB\u32FC\u32FD\u32FE\u32FF\u3300\u3301\u3302\u3303\u3304\u3305\u3306\u3307\u3308\u3309\u330A\u330B\u330C\u330D\u330E\u330F\u3310\u3311\u3312\u3313\u3314\u3315\u3316\u3317\u3318\u3319\u331A\u331B\u331C\u331D\u331E\u331F\u3320\u3321\u3322\u3323\u3324\u3325\u3326\u3327\u3328\u3329\u332A\u332B\u332C\u332D\u332E\u332F\u3330\u3331\u3332\u3333\u3334\u3335\u3336\u3337\u3338\u3339\u333A\u333B\u333C\u333D\u333E\u333F\u3340\u3341\u3342\u3343\u3344\u3345\u3346\u3347\u3348\u3349\u334A\u334B\u334C\u334D\u334E\u334F\u3350\u3351\u3352\u3353\u3354\u3355\u3356\u3357\u3358\u3359\u335A\u335B\u335C\u335D\u335E\u335F\u3360\u3361\u3362\u3363\u3364\u3365\u3366\u3367\u3368\u3369\u336A\u336B\u336C\u336D\u336E\u336F\u3370\u3371\u3372\u3373\u3374\u3375\u3376\u3377\u3378\u3379\u337A\u337B\u337C\u337D\u337E\u337F\u3380\u3381\u3382\u3383\u3384\u3385\u3386\u3387\u3388\u3389\u338A\u338B\u338C\u338D\u338E\u338F\u3390\u3391\u3392\u3393\u3394\u3395\u3396\u3397\u3398\u3399\u339A\u339B\u339C\u339D\u339E\u339F\u33A0\u33A1\u33A2\u33A3\u33A4\u33A5\u33A6\u33A7\u33A8\u33A9\u33AA\u33AB\u33AC\u33AD\u33AE\u33AF\u33B0\u33B1\u33B2\u33B3\u33B4\u33B5\u33B6\u33B7\u33B8\u33B9\u33BA\u33BB\u33BC\u33BD\u33BE\u33BF\u33C0\u33C1\u33C2\u33C3\u33C4\u33C5\u33C6\u33C7\u33C8\u33C9\u33CA\u33CB\u33CC\u33CD\u33CE\u33CF\u33D0\u33D1\u33D2\u33D3\u33D4\u33D5\u33D6\u33D7\u33D8\u33D9\u33DA\u33DB\u33DC\u33DD\u33DE\u33DF\u33E0\u33E1\u33E2\u33E3\u33E4\u33E5\u33E6\u33E7\u33E8\u33E9\u33EA\u33EB\u33EC\u33ED\u33EE\u33EF\u33F0\u33F1\u33F2\u33F3\u33F4\u33F5\u33F6\u33F7\u33F8\u33F9\u33FA\u33FB\u33FC\u33FD\u33FE\u33FF"; -if (i12.replace(/\s+/g, "") !== o12) { - $ERROR("#12: Error matching character class \s between character 3000 and 33ff"); -} - -var i13 = ""; -for (var j = 13312; j < 14336; j++) - i13 += String.fromCharCode(j); -var o13 = i13; -if (i13.replace(/\s+/g, "") !== o13) { - $ERROR("#13: Error matching character class \s between character 3400 and 37ff"); -} - -var i14 = ""; -for (var j = 14336; j < 15360; j++) - i14 += String.fromCharCode(j); -var o14 = i14; -if (i14.replace(/\s+/g, "") !== o14) { - $ERROR("#14: Error matching character class \s between character 3800 and 3bff"); -} - -var i15 = ""; -for (var j = 15360; j < 16384; j++) - i15 += String.fromCharCode(j); -var o15 = i15; -if (i15.replace(/\s+/g, "") !== o15) { - $ERROR("#15: Error matching character class \s between character 3c00 and 3fff"); -} - -var i16 = ""; -for (var j = 16384; j < 17408; j++) - i16 += String.fromCharCode(j); -var o16 = i16; -if (i16.replace(/\s+/g, "") !== o16) { - $ERROR("#16: Error matching character class \s between character 4000 and 43ff"); -} - -var i17 = ""; -for (var j = 17408; j < 18432; j++) - i17 += String.fromCharCode(j); -var o17 = i17; -if (i17.replace(/\s+/g, "") !== o17) { - $ERROR("#17: Error matching character class \s between character 4400 and 47ff"); -} - -var i18 = ""; -for (var j = 18432; j < 19456; j++) - i18 += String.fromCharCode(j); -var o18 = i18; -if (i18.replace(/\s+/g, "") !== o18) { - $ERROR("#18: Error matching character class \s between character 4800 and 4bff"); -} - -var i19 = ""; -for (var j = 19456; j < 20480; j++) - i19 += String.fromCharCode(j); -var o19 = i19; -if (i19.replace(/\s+/g, "") !== o19) { - $ERROR("#19: Error matching character class \s between character 4c00 and 4fff"); -} - -var i20 = ""; -for (var j = 20480; j < 21504; j++) - i20 += String.fromCharCode(j); -var o20 = i20; -if (i20.replace(/\s+/g, "") !== o20) { - $ERROR("#20: Error matching character class \s between character 5000 and 53ff"); -} - -var i21 = ""; -for (var j = 21504; j < 22528; j++) - i21 += String.fromCharCode(j); -var o21 = i21; -if (i21.replace(/\s+/g, "") !== o21) { - $ERROR("#21: Error matching character class \s between character 5400 and 57ff"); -} - -var i22 = ""; -for (var j = 22528; j < 23552; j++) - i22 += String.fromCharCode(j); -var o22 = i22; -if (i22.replace(/\s+/g, "") !== o22) { - $ERROR("#22: Error matching character class \s between character 5800 and 5bff"); -} - -var i23 = ""; -for (var j = 23552; j < 24576; j++) - i23 += String.fromCharCode(j); -var o23 = i23; -if (i23.replace(/\s+/g, "") !== o23) { - $ERROR("#23: Error matching character class \s between character 5c00 and 5fff"); -} - -var i24 = ""; -for (var j = 24576; j < 25600; j++) - i24 += String.fromCharCode(j); -var o24 = i24; -if (i24.replace(/\s+/g, "") !== o24) { - $ERROR("#24: Error matching character class \s between character 6000 and 63ff"); -} - -var i25 = ""; -for (var j = 25600; j < 26624; j++) - i25 += String.fromCharCode(j); -var o25 = i25; -if (i25.replace(/\s+/g, "") !== o25) { - $ERROR("#25: Error matching character class \s between character 6400 and 67ff"); -} - -var i26 = ""; -for (var j = 26624; j < 27648; j++) - i26 += String.fromCharCode(j); -var o26 = i26; -if (i26.replace(/\s+/g, "") !== o26) { - $ERROR("#26: Error matching character class \s between character 6800 and 6bff"); -} - -var i27 = ""; -for (var j = 27648; j < 28672; j++) - i27 += String.fromCharCode(j); -var o27 = i27; -if (i27.replace(/\s+/g, "") !== o27) { - $ERROR("#27: Error matching character class \s between character 6c00 and 6fff"); -} - -var i28 = ""; -for (var j = 28672; j < 29696; j++) - i28 += String.fromCharCode(j); -var o28 = i28; -if (i28.replace(/\s+/g, "") !== o28) { - $ERROR("#28: Error matching character class \s between character 7000 and 73ff"); -} - -var i29 = ""; -for (var j = 29696; j < 30720; j++) - i29 += String.fromCharCode(j); -var o29 = i29; -if (i29.replace(/\s+/g, "") !== o29) { - $ERROR("#29: Error matching character class \s between character 7400 and 77ff"); -} - -var i30 = ""; -for (var j = 30720; j < 31744; j++) - i30 += String.fromCharCode(j); -var o30 = i30; -if (i30.replace(/\s+/g, "") !== o30) { - $ERROR("#30: Error matching character class \s between character 7800 and 7bff"); -} - -var i31 = ""; -for (var j = 31744; j < 32768; j++) - i31 += String.fromCharCode(j); -var o31 = i31; -if (i31.replace(/\s+/g, "") !== o31) { - $ERROR("#31: Error matching character class \s between character 7c00 and 7fff"); -} - -var i32 = ""; -for (var j = 32768; j < 33792; j++) - i32 += String.fromCharCode(j); -var o32 = i32; -if (i32.replace(/\s+/g, "") !== o32) { - $ERROR("#32: Error matching character class \s between character 8000 and 83ff"); -} - -var i33 = ""; -for (var j = 33792; j < 34816; j++) - i33 += String.fromCharCode(j); -var o33 = i33; -if (i33.replace(/\s+/g, "") !== o33) { - $ERROR("#33: Error matching character class \s between character 8400 and 87ff"); -} - -var i34 = ""; -for (var j = 34816; j < 35840; j++) - i34 += String.fromCharCode(j); -var o34 = i34; -if (i34.replace(/\s+/g, "") !== o34) { - $ERROR("#34: Error matching character class \s between character 8800 and 8bff"); -} - -var i35 = ""; -for (var j = 35840; j < 36864; j++) - i35 += String.fromCharCode(j); -var o35 = i35; -if (i35.replace(/\s+/g, "") !== o35) { - $ERROR("#35: Error matching character class \s between character 8c00 and 8fff"); -} - -var i36 = ""; -for (var j = 36864; j < 37888; j++) - i36 += String.fromCharCode(j); -var o36 = i36; -if (i36.replace(/\s+/g, "") !== o36) { - $ERROR("#36: Error matching character class \s between character 9000 and 93ff"); -} - -var i37 = ""; -for (var j = 37888; j < 38912; j++) - i37 += String.fromCharCode(j); -var o37 = i37; -if (i37.replace(/\s+/g, "") !== o37) { - $ERROR("#37: Error matching character class \s between character 9400 and 97ff"); -} - -var i38 = ""; -for (var j = 38912; j < 39936; j++) - i38 += String.fromCharCode(j); -var o38 = i38; -if (i38.replace(/\s+/g, "") !== o38) { - $ERROR("#38: Error matching character class \s between character 9800 and 9bff"); -} - -var i39 = ""; -for (var j = 39936; j < 40960; j++) - i39 += String.fromCharCode(j); -var o39 = i39; -if (i39.replace(/\s+/g, "") !== o39) { - $ERROR("#39: Error matching character class \s between character 9c00 and 9fff"); -} - -var i40 = ""; -for (var j = 40960; j < 41984; j++) - i40 += String.fromCharCode(j); -var o40 = i40; -if (i40.replace(/\s+/g, "") !== o40) { - $ERROR("#40: Error matching character class \s between character a000 and a3ff"); -} - -var i41 = ""; -for (var j = 41984; j < 43008; j++) - i41 += String.fromCharCode(j); -var o41 = i41; -if (i41.replace(/\s+/g, "") !== o41) { - $ERROR("#41: Error matching character class \s between character a400 and a7ff"); -} - -var i42 = ""; -for (var j = 43008; j < 44032; j++) - i42 += String.fromCharCode(j); -var o42 = i42; -if (i42.replace(/\s+/g, "") !== o42) { - $ERROR("#42: Error matching character class \s between character a800 and abff"); -} - -var i43 = ""; -for (var j = 44032; j < 45056; j++) - i43 += String.fromCharCode(j); -var o43 = i43; -if (i43.replace(/\s+/g, "") !== o43) { - $ERROR("#43: Error matching character class \s between character ac00 and afff"); -} - -var i44 = ""; -for (var j = 45056; j < 46080; j++) - i44 += String.fromCharCode(j); -var o44 = i44; -if (i44.replace(/\s+/g, "") !== o44) { - $ERROR("#44: Error matching character class \s between character b000 and b3ff"); -} - -var i45 = ""; -for (var j = 46080; j < 47104; j++) - i45 += String.fromCharCode(j); -var o45 = i45; -if (i45.replace(/\s+/g, "") !== o45) { - $ERROR("#45: Error matching character class \s between character b400 and b7ff"); -} - -var i46 = ""; -for (var j = 47104; j < 48128; j++) - i46 += String.fromCharCode(j); -var o46 = i46; -if (i46.replace(/\s+/g, "") !== o46) { - $ERROR("#46: Error matching character class \s between character b800 and bbff"); -} - -var i47 = ""; -for (var j = 48128; j < 49152; j++) - i47 += String.fromCharCode(j); -var o47 = i47; -if (i47.replace(/\s+/g, "") !== o47) { - $ERROR("#47: Error matching character class \s between character bc00 and bfff"); -} - -var i48 = ""; -for (var j = 49152; j < 50176; j++) - i48 += String.fromCharCode(j); -var o48 = i48; -if (i48.replace(/\s+/g, "") !== o48) { - $ERROR("#48: Error matching character class \s between character c000 and c3ff"); -} - -var i49 = ""; -for (var j = 50176; j < 51200; j++) - i49 += String.fromCharCode(j); -var o49 = i49; -if (i49.replace(/\s+/g, "") !== o49) { - $ERROR("#49: Error matching character class \s between character c400 and c7ff"); -} - -var i50 = ""; -for (var j = 51200; j < 52224; j++) - i50 += String.fromCharCode(j); -var o50 = i50; -if (i50.replace(/\s+/g, "") !== o50) { - $ERROR("#50: Error matching character class \s between character c800 and cbff"); -} - -var i51 = ""; -for (var j = 52224; j < 53248; j++) - i51 += String.fromCharCode(j); -var o51 = i51; -if (i51.replace(/\s+/g, "") !== o51) { - $ERROR("#51: Error matching character class \s between character cc00 and cfff"); -} - -var i52 = ""; -for (var j = 53248; j < 54272; j++) - i52 += String.fromCharCode(j); -var o52 = i52; -if (i52.replace(/\s+/g, "") !== o52) { - $ERROR("#52: Error matching character class \s between character d000 and d3ff"); -} - -var i53 = ""; -for (var j = 54272; j < 55296; j++) - i53 += String.fromCharCode(j); -var o53 = i53; -if (i53.replace(/\s+/g, "") !== o53) { - $ERROR("#53: Error matching character class \s between character d400 and d7ff"); -} - -var i54 = ""; -for (var j = 55296; j < 56320; j++) - i54 += String.fromCharCode(j); -var o54 = i54; -if (i54.replace(/\s+/g, "") !== o54) { - $ERROR("#54: Error matching character class \s between character d800 and dbff"); -} - -var i55 = ""; -for (var j = 56320; j < 57344; j++) - i55 += String.fromCharCode(j); -var o55 = i55; -if (i55.replace(/\s+/g, "") !== o55) { - $ERROR("#55: Error matching character class \s between character dc00 and dfff"); -} - -var i56 = ""; -for (var j = 57344; j < 58368; j++) - i56 += String.fromCharCode(j); -var o56 = i56; -if (i56.replace(/\s+/g, "") !== o56) { - $ERROR("#56: Error matching character class \s between character e000 and e3ff"); -} - -var i57 = ""; -for (var j = 58368; j < 59392; j++) - i57 += String.fromCharCode(j); -var o57 = i57; -if (i57.replace(/\s+/g, "") !== o57) { - $ERROR("#57: Error matching character class \s between character e400 and e7ff"); -} - -var i58 = ""; -for (var j = 59392; j < 60416; j++) - i58 += String.fromCharCode(j); -var o58 = i58; -if (i58.replace(/\s+/g, "") !== o58) { - $ERROR("#58: Error matching character class \s between character e800 and ebff"); -} - -var i59 = ""; -for (var j = 60416; j < 61440; j++) - i59 += String.fromCharCode(j); -var o59 = i59; -if (i59.replace(/\s+/g, "") !== o59) { - $ERROR("#59: Error matching character class \s between character ec00 and efff"); -} - -var i60 = ""; -for (var j = 61440; j < 62464; j++) - i60 += String.fromCharCode(j); -var o60 = i60; -if (i60.replace(/\s+/g, "") !== o60) { - $ERROR("#60: Error matching character class \s between character f000 and f3ff"); -} - -var i61 = ""; -for (var j = 62464; j < 63488; j++) - i61 += String.fromCharCode(j); -var o61 = i61; -if (i61.replace(/\s+/g, "") !== o61) { - $ERROR("#61: Error matching character class \s between character f400 and f7ff"); -} - -var i62 = ""; -for (var j = 63488; j < 64512; j++) - i62 += String.fromCharCode(j); -var o62 = i62; -if (i62.replace(/\s+/g, "") !== o62) { - $ERROR("#62: Error matching character class \s between character f800 and fbff"); -} - -var i63 = ""; -for (var j = 64512; j < 65536; j++) - i63 += String.fromCharCode(j); -var o63 = i63; -if (i63.replace(/\s+/g, "") !== o63) { - $ERROR("#63: Error matching character class \s between character fc00 and ffff"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2.js deleted file mode 100644 index 06be0faf04..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A1_T2; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters -* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; -* @description: LineTerminator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2.js", - -assertion: "The production CharacterClassEscape :: s evaluates by returning the set of characters", - -description: "LineTerminator", - -test: function testcase() { - //CHECK#1 -var arr = /\s/.exec("\u000A"); -if ((arr === null) || (arr[0] !== "\u000A")) { - $ERROR('#1: var arr = /\\s/.exec("\\u000A"); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = /\s/.exec("\u000D"); -if ((arr === null) || (arr[0] !== "\u000D")) { - $ERROR('#2: var arr = /\\s/.exec("\\u000D"); arr[0] === "\\u000D". Actual. ' + (arr && arr[0])); -} - -//CHECK#3 -var arr = /\s/.exec("\u2028"); -if ((arr === null) || (arr[0] !== "\u2028")) { - $ERROR('#3: var arr = /\\s/.exec("\\u2028"); arr[0] === "\\u2028". Actual. ' + (arr && arr[0])); -} - -//CHECK#4 -var arr = /\s/.exec("\u2029"); -if ((arr === null) || (arr[0] !== "\u2029")) { - $ERROR('#4: var arr = /\\s/.exec("\\u2029"); arr[0] === "\\u2029". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3.js deleted file mode 100644 index 5ac6268b32..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A1_T3; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters -* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; -* @description: ENGLISH ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3.js", - -assertion: "The production CharacterClassEscape :: s evaluates by returning the set of characters", - -description: "ENGLISH ALPHABET", - -test: function testcase() { - var regexp_s = /\s/; - -//CHECK#0041-005A -var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { - if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: ENGLISH CAPITAL ALPHABET'); -} - -//CHECK#0061-007A -var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { - if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: english small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4.js deleted file mode 100644 index 73578b19b2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A1_T4; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters -* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; -* @description: RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4.js", - -assertion: "The production CharacterClassEscape :: s evaluates by returning the set of characters", - -description: "RUSSIAN ALPHABET", - -test: function testcase() { - var regexp_s = /\s/; - -//CHECK#0410-042F -var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: RUSSIAN CAPITAL ALPHABET'); -} - -//CHECK#0430-044F -var result = true; -for (alpha = 0x0430; alpha <= 0x044F; alpha++) { - if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: russian small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5.js deleted file mode 100644 index 93578d76de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A1_T5; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters -* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; -* @description: Tested string is "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5.js", - -assertion: "The production CharacterClassEscape :: s evaluates by returning the set of characters", - -description: "Tested string is \"0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\\\:;\'<,>./?\" + \'\"\'", - -test: function testcase() { - //CHECK#1 -var non_s = "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; -if (/\s/.exec(non_s) !== null) { - $ERROR('#1: non-s'); -} - -//CHECK#2 -var non_S = '\f\n\r\t\v '; -var regexp_s = /\s/g; -var k = 0; -while (regexp_s.exec(non_S) !== null) { - k++; -} - -if (non_S.length !== k) { - $ERROR('#2: non-S'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1.js deleted file mode 100644 index c3ef69dfce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1.js +++ /dev/null @@ -1,540 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A2_T1; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: S evaluates by returning -* the set of all characters not included in the set returned by -* CharacterClassEscape :: s; -* @description: WhiteSpace -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1.js", - -assertion: "The production CharacterClassEscape :: S evaluates by returning", - -description: "WhiteSpace", - -test: function testcase() { - var i0 = ""; -for (var j = 0; j < 1024; j++) - i0 += String.fromCharCode(j); -var o0 = "\u0009\u000A\u000B\u000C\u000D\u0020\u00A0"; -if (i0.replace(/\S+/g, "") !== o0) { - $ERROR("#0: Error matching character class \S between character 0 and 3ff"); -} - -var i1 = ""; -for (var j = 1024; j < 2048; j++) - i1 += String.fromCharCode(j); -var o1 = ""; -if (i1.replace(/\S+/g, "") !== o1) { - $ERROR("#1: Error matching character class \S between character 400 and 7ff"); -} - -var i2 = ""; -for (var j = 2048; j < 3072; j++) - i2 += String.fromCharCode(j); -var o2 = ""; -if (i2.replace(/\S+/g, "") !== o2) { - $ERROR("#2: Error matching character class \S between character 800 and bff"); -} - -var i3 = ""; -for (var j = 3072; j < 4096; j++) - i3 += String.fromCharCode(j); -var o3 = ""; -if (i3.replace(/\S+/g, "") !== o3) { - $ERROR("#3: Error matching character class \S between character c00 and fff"); -} - -var i4 = ""; -for (var j = 4096; j < 5120; j++) - i4 += String.fromCharCode(j); -var o4 = ""; -if (i4.replace(/\S+/g, "") !== o4) { - $ERROR("#4: Error matching character class \S between character 1000 and 13ff"); -} - -var i5 = ""; -for (var j = 5120; j < 6144; j++) - i5 += String.fromCharCode(j); -var o5 = "\u1680"; -if (i5.replace(/\S+/g, "") !== o5) { - $ERROR("#5: Error matching character class \S between character 1400 and 17ff"); -} - -var i6 = ""; -for (var j = 6144; j < 7168; j++) - i6 += String.fromCharCode(j); -var o6 = "\u180E"; -if (i6.replace(/\S+/g, "") !== o6) { - $ERROR("#6: Error matching character class \S between character 1800 and 1bff"); -} - -var i7 = ""; -for (var j = 7168; j < 8192; j++) - i7 += String.fromCharCode(j); -var o7 = ""; -if (i7.replace(/\S+/g, "") !== o7) { - $ERROR("#7: Error matching character class \S between character 1c00 and 1fff"); -} - -var i8 = ""; -for (var j = 8192; j < 9216; j++) - i8 += String.fromCharCode(j); -var o8 = "\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F"; -if (i8.replace(/\S+/g, "") !== o8) { - $ERROR("#8: Error matching character class \S between character 2000 and 23ff"); -} - -var i9 = ""; -for (var j = 9216; j < 10240; j++) - i9 += String.fromCharCode(j); -var o9 = ""; -if (i9.replace(/\S+/g, "") !== o9) { - $ERROR("#9: Error matching character class \S between character 2400 and 27ff"); -} - -var i10 = ""; -for (var j = 10240; j < 11264; j++) - i10 += String.fromCharCode(j); -var o10 = ""; -if (i10.replace(/\S+/g, "") !== o10) { - $ERROR("#10: Error matching character class \S between character 2800 and 2bff"); -} - -var i11 = ""; -for (var j = 11264; j < 12288; j++) - i11 += String.fromCharCode(j); -var o11 = ""; -if (i11.replace(/\S+/g, "") !== o11) { - $ERROR("#11: Error matching character class \S between character 2c00 and 2fff"); -} - -var i12 = ""; -for (var j = 12288; j < 13312; j++) - i12 += String.fromCharCode(j); -var o12 = "\u3000"; -if (i12.replace(/\S+/g, "") !== o12) { - $ERROR("#12: Error matching character class \S between character 3000 and 33ff"); -} - -var i13 = ""; -for (var j = 13312; j < 14336; j++) - i13 += String.fromCharCode(j); -var o13 = ""; -if (i13.replace(/\S+/g, "") !== o13) { - $ERROR("#13: Error matching character class \S between character 3400 and 37ff"); -} - -var i14 = ""; -for (var j = 14336; j < 15360; j++) - i14 += String.fromCharCode(j); -var o14 = ""; -if (i14.replace(/\S+/g, "") !== o14) { - $ERROR("#14: Error matching character class \S between character 3800 and 3bff"); -} - -var i15 = ""; -for (var j = 15360; j < 16384; j++) - i15 += String.fromCharCode(j); -var o15 = ""; -if (i15.replace(/\S+/g, "") !== o15) { - $ERROR("#15: Error matching character class \S between character 3c00 and 3fff"); -} - -var i16 = ""; -for (var j = 16384; j < 17408; j++) - i16 += String.fromCharCode(j); -var o16 = ""; -if (i16.replace(/\S+/g, "") !== o16) { - $ERROR("#16: Error matching character class \S between character 4000 and 43ff"); -} - -var i17 = ""; -for (var j = 17408; j < 18432; j++) - i17 += String.fromCharCode(j); -var o17 = ""; -if (i17.replace(/\S+/g, "") !== o17) { - $ERROR("#17: Error matching character class \S between character 4400 and 47ff"); -} - -var i18 = ""; -for (var j = 18432; j < 19456; j++) - i18 += String.fromCharCode(j); -var o18 = ""; -if (i18.replace(/\S+/g, "") !== o18) { - $ERROR("#18: Error matching character class \S between character 4800 and 4bff"); -} - -var i19 = ""; -for (var j = 19456; j < 20480; j++) - i19 += String.fromCharCode(j); -var o19 = ""; -if (i19.replace(/\S+/g, "") !== o19) { - $ERROR("#19: Error matching character class \S between character 4c00 and 4fff"); -} - -var i20 = ""; -for (var j = 20480; j < 21504; j++) - i20 += String.fromCharCode(j); -var o20 = ""; -if (i20.replace(/\S+/g, "") !== o20) { - $ERROR("#20: Error matching character class \S between character 5000 and 53ff"); -} - -var i21 = ""; -for (var j = 21504; j < 22528; j++) - i21 += String.fromCharCode(j); -var o21 = ""; -if (i21.replace(/\S+/g, "") !== o21) { - $ERROR("#21: Error matching character class \S between character 5400 and 57ff"); -} - -var i22 = ""; -for (var j = 22528; j < 23552; j++) - i22 += String.fromCharCode(j); -var o22 = ""; -if (i22.replace(/\S+/g, "") !== o22) { - $ERROR("#22: Error matching character class \S between character 5800 and 5bff"); -} - -var i23 = ""; -for (var j = 23552; j < 24576; j++) - i23 += String.fromCharCode(j); -var o23 = ""; -if (i23.replace(/\S+/g, "") !== o23) { - $ERROR("#23: Error matching character class \S between character 5c00 and 5fff"); -} - -var i24 = ""; -for (var j = 24576; j < 25600; j++) - i24 += String.fromCharCode(j); -var o24 = ""; -if (i24.replace(/\S+/g, "") !== o24) { - $ERROR("#24: Error matching character class \S between character 6000 and 63ff"); -} - -var i25 = ""; -for (var j = 25600; j < 26624; j++) - i25 += String.fromCharCode(j); -var o25 = ""; -if (i25.replace(/\S+/g, "") !== o25) { - $ERROR("#25: Error matching character class \S between character 6400 and 67ff"); -} - -var i26 = ""; -for (var j = 26624; j < 27648; j++) - i26 += String.fromCharCode(j); -var o26 = ""; -if (i26.replace(/\S+/g, "") !== o26) { - $ERROR("#26: Error matching character class \S between character 6800 and 6bff"); -} - -var i27 = ""; -for (var j = 27648; j < 28672; j++) - i27 += String.fromCharCode(j); -var o27 = ""; -if (i27.replace(/\S+/g, "") !== o27) { - $ERROR("#27: Error matching character class \S between character 6c00 and 6fff"); -} - -var i28 = ""; -for (var j = 28672; j < 29696; j++) - i28 += String.fromCharCode(j); -var o28 = ""; -if (i28.replace(/\S+/g, "") !== o28) { - $ERROR("#28: Error matching character class \S between character 7000 and 73ff"); -} - -var i29 = ""; -for (var j = 29696; j < 30720; j++) - i29 += String.fromCharCode(j); -var o29 = ""; -if (i29.replace(/\S+/g, "") !== o29) { - $ERROR("#29: Error matching character class \S between character 7400 and 77ff"); -} - -var i30 = ""; -for (var j = 30720; j < 31744; j++) - i30 += String.fromCharCode(j); -var o30 = ""; -if (i30.replace(/\S+/g, "") !== o30) { - $ERROR("#30: Error matching character class \S between character 7800 and 7bff"); -} - -var i31 = ""; -for (var j = 31744; j < 32768; j++) - i31 += String.fromCharCode(j); -var o31 = ""; -if (i31.replace(/\S+/g, "") !== o31) { - $ERROR("#31: Error matching character class \S between character 7c00 and 7fff"); -} - -var i32 = ""; -for (var j = 32768; j < 33792; j++) - i32 += String.fromCharCode(j); -var o32 = ""; -if (i32.replace(/\S+/g, "") !== o32) { - $ERROR("#32: Error matching character class \S between character 8000 and 83ff"); -} - -var i33 = ""; -for (var j = 33792; j < 34816; j++) - i33 += String.fromCharCode(j); -var o33 = ""; -if (i33.replace(/\S+/g, "") !== o33) { - $ERROR("#33: Error matching character class \S between character 8400 and 87ff"); -} - -var i34 = ""; -for (var j = 34816; j < 35840; j++) - i34 += String.fromCharCode(j); -var o34 = ""; -if (i34.replace(/\S+/g, "") !== o34) { - $ERROR("#34: Error matching character class \S between character 8800 and 8bff"); -} - -var i35 = ""; -for (var j = 35840; j < 36864; j++) - i35 += String.fromCharCode(j); -var o35 = ""; -if (i35.replace(/\S+/g, "") !== o35) { - $ERROR("#35: Error matching character class \S between character 8c00 and 8fff"); -} - -var i36 = ""; -for (var j = 36864; j < 37888; j++) - i36 += String.fromCharCode(j); -var o36 = ""; -if (i36.replace(/\S+/g, "") !== o36) { - $ERROR("#36: Error matching character class \S between character 9000 and 93ff"); -} - -var i37 = ""; -for (var j = 37888; j < 38912; j++) - i37 += String.fromCharCode(j); -var o37 = ""; -if (i37.replace(/\S+/g, "") !== o37) { - $ERROR("#37: Error matching character class \S between character 9400 and 97ff"); -} - -var i38 = ""; -for (var j = 38912; j < 39936; j++) - i38 += String.fromCharCode(j); -var o38 = ""; -if (i38.replace(/\S+/g, "") !== o38) { - $ERROR("#38: Error matching character class \S between character 9800 and 9bff"); -} - -var i39 = ""; -for (var j = 39936; j < 40960; j++) - i39 += String.fromCharCode(j); -var o39 = ""; -if (i39.replace(/\S+/g, "") !== o39) { - $ERROR("#39: Error matching character class \S between character 9c00 and 9fff"); -} - -var i40 = ""; -for (var j = 40960; j < 41984; j++) - i40 += String.fromCharCode(j); -var o40 = ""; -if (i40.replace(/\S+/g, "") !== o40) { - $ERROR("#40: Error matching character class \S between character a000 and a3ff"); -} - -var i41 = ""; -for (var j = 41984; j < 43008; j++) - i41 += String.fromCharCode(j); -var o41 = ""; -if (i41.replace(/\S+/g, "") !== o41) { - $ERROR("#41: Error matching character class \S between character a400 and a7ff"); -} - -var i42 = ""; -for (var j = 43008; j < 44032; j++) - i42 += String.fromCharCode(j); -var o42 = ""; -if (i42.replace(/\S+/g, "") !== o42) { - $ERROR("#42: Error matching character class \S between character a800 and abff"); -} - -var i43 = ""; -for (var j = 44032; j < 45056; j++) - i43 += String.fromCharCode(j); -var o43 = ""; -if (i43.replace(/\S+/g, "") !== o43) { - $ERROR("#43: Error matching character class \S between character ac00 and afff"); -} - -var i44 = ""; -for (var j = 45056; j < 46080; j++) - i44 += String.fromCharCode(j); -var o44 = ""; -if (i44.replace(/\S+/g, "") !== o44) { - $ERROR("#44: Error matching character class \S between character b000 and b3ff"); -} - -var i45 = ""; -for (var j = 46080; j < 47104; j++) - i45 += String.fromCharCode(j); -var o45 = ""; -if (i45.replace(/\S+/g, "") !== o45) { - $ERROR("#45: Error matching character class \S between character b400 and b7ff"); -} - -var i46 = ""; -for (var j = 47104; j < 48128; j++) - i46 += String.fromCharCode(j); -var o46 = ""; -if (i46.replace(/\S+/g, "") !== o46) { - $ERROR("#46: Error matching character class \S between character b800 and bbff"); -} - -var i47 = ""; -for (var j = 48128; j < 49152; j++) - i47 += String.fromCharCode(j); -var o47 = ""; -if (i47.replace(/\S+/g, "") !== o47) { - $ERROR("#47: Error matching character class \S between character bc00 and bfff"); -} - -var i48 = ""; -for (var j = 49152; j < 50176; j++) - i48 += String.fromCharCode(j); -var o48 = ""; -if (i48.replace(/\S+/g, "") !== o48) { - $ERROR("#48: Error matching character class \S between character c000 and c3ff"); -} - -var i49 = ""; -for (var j = 50176; j < 51200; j++) - i49 += String.fromCharCode(j); -var o49 = ""; -if (i49.replace(/\S+/g, "") !== o49) { - $ERROR("#49: Error matching character class \S between character c400 and c7ff"); -} - -var i50 = ""; -for (var j = 51200; j < 52224; j++) - i50 += String.fromCharCode(j); -var o50 = ""; -if (i50.replace(/\S+/g, "") !== o50) { - $ERROR("#50: Error matching character class \S between character c800 and cbff"); -} - -var i51 = ""; -for (var j = 52224; j < 53248; j++) - i51 += String.fromCharCode(j); -var o51 = ""; -if (i51.replace(/\S+/g, "") !== o51) { - $ERROR("#51: Error matching character class \S between character cc00 and cfff"); -} - -var i52 = ""; -for (var j = 53248; j < 54272; j++) - i52 += String.fromCharCode(j); -var o52 = ""; -if (i52.replace(/\S+/g, "") !== o52) { - $ERROR("#52: Error matching character class \S between character d000 and d3ff"); -} - -var i53 = ""; -for (var j = 54272; j < 55296; j++) - i53 += String.fromCharCode(j); -var o53 = ""; -if (i53.replace(/\S+/g, "") !== o53) { - $ERROR("#53: Error matching character class \S between character d400 and d7ff"); -} - -var i54 = ""; -for (var j = 55296; j < 56320; j++) - i54 += String.fromCharCode(j); -var o54 = ""; -if (i54.replace(/\S+/g, "") !== o54) { - $ERROR("#54: Error matching character class \S between character d800 and dbff"); -} - -var i55 = ""; -for (var j = 56320; j < 57344; j++) - i55 += String.fromCharCode(j); -var o55 = ""; -if (i55.replace(/\S+/g, "") !== o55) { - $ERROR("#55: Error matching character class \S between character dc00 and dfff"); -} - -var i56 = ""; -for (var j = 57344; j < 58368; j++) - i56 += String.fromCharCode(j); -var o56 = ""; -if (i56.replace(/\S+/g, "") !== o56) { - $ERROR("#56: Error matching character class \S between character e000 and e3ff"); -} - -var i57 = ""; -for (var j = 58368; j < 59392; j++) - i57 += String.fromCharCode(j); -var o57 = ""; -if (i57.replace(/\S+/g, "") !== o57) { - $ERROR("#57: Error matching character class \S between character e400 and e7ff"); -} - -var i58 = ""; -for (var j = 59392; j < 60416; j++) - i58 += String.fromCharCode(j); -var o58 = ""; -if (i58.replace(/\S+/g, "") !== o58) { - $ERROR("#58: Error matching character class \S between character e800 and ebff"); -} - -var i59 = ""; -for (var j = 60416; j < 61440; j++) - i59 += String.fromCharCode(j); -var o59 = ""; -if (i59.replace(/\S+/g, "") !== o59) { - $ERROR("#59: Error matching character class \S between character ec00 and efff"); -} - -var i60 = ""; -for (var j = 61440; j < 62464; j++) - i60 += String.fromCharCode(j); -var o60 = ""; -if (i60.replace(/\S+/g, "") !== o60) { - $ERROR("#60: Error matching character class \S between character f000 and f3ff"); -} - -var i61 = ""; -for (var j = 62464; j < 63488; j++) - i61 += String.fromCharCode(j); -var o61 = ""; -if (i61.replace(/\S+/g, "") !== o61) { - $ERROR("#61: Error matching character class \S between character f400 and f7ff"); -} - -var i62 = ""; -for (var j = 63488; j < 64512; j++) - i62 += String.fromCharCode(j); -var o62 = ""; -if (i62.replace(/\S+/g, "") !== o62) { - $ERROR("#62: Error matching character class \S between character f800 and fbff"); -} - -var i63 = ""; -for (var j = 64512; j < 65536; j++) - i63 += String.fromCharCode(j); -var o63 = ""; -if (i63.replace(/\S+/g, "") !== o63) { - $ERROR("#63: Error matching character class \S between character fc00 and ffff"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2.js deleted file mode 100644 index ebfe9b67bf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A2_T2; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: S evaluates by returning -* the set of all characters not included in the set returned by -* CharacterClassEscape :: s; -* @description: LineTerminator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2.js", - -assertion: "The production CharacterClassEscape :: S evaluates by returning", - -description: "LineTerminator", - -test: function testcase() { - //CHECK#1 -var arr = /\S/.exec("\u000A"); -if (arr !== null) { - $ERROR('#1: var arr = /\\S/.exec("\\u000A"); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); -} - -//CHECK#2 -var arr = /\S/.exec("\u000D"); -if (arr !== null) { - $ERROR('#2: var arr = /\\S/.exec("\\u000D"); arr[0] === "\\u000D". Actual. ' + (arr && arr[0])); -} - -//CHECK#3 -var arr = /\S/.exec("\u2028"); -if (arr !== null) { - $ERROR('#3: var arr = /\\S/.exec("\\u2028"); arr[0] === "\\u2028". Actual. ' + (arr && arr[0])); -} - -//CHECK#4 -var arr = /\S/.exec("\u2029"); -if (arr !== null) { - $ERROR('#4: var arr = /\\S/.exec("\\u2029"); arr[0] === "\\u2029". Actual. ' + (arr && arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3.js deleted file mode 100644 index dc850c3902..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A2_T3; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: S evaluates by returning -* the set of all characters not included in the set returned by -* CharacterClassEscape :: s; -* @description: ENGLISH ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A2_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3.js", - -assertion: "The production CharacterClassEscape :: S evaluates by returning", - -description: "ENGLISH ALPHABET", - -test: function testcase() { - var regexp_S = /\S/; - -//CHECK#0041-005A -var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_S.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: ENGLISH CAPITAL ALPHABET'); -} - -//CHECK#0061-007A -var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_S.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: english small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4.js deleted file mode 100644 index 9ffd6587c1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A2_T4; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: S evaluates by returning -* the set of all characters not included in the set returned by -* CharacterClassEscape :: s; -* @description: RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A2_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4.js", - -assertion: "The production CharacterClassEscape :: S evaluates by returning", - -description: "RUSSIAN ALPHABET", - -test: function testcase() { - var regexp_S = /\S/; - -//CHECK#0410-042F -var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_S.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: RUSSIAN CAPITAL ALPHABET'); -} - -//CHECK#0430-044F -var result = true; -for (alpha = 0x0430; alpha <= 0x044F; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_S.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: russian small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5.js deleted file mode 100644 index de27d0b638..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A2_T5; -* @section: 15.10.2.12, 7.2, 7.3; -* @assertion: The production CharacterClassEscape :: S evaluates by returning -* the set of all characters not included in the set returned by -* CharacterClassEscape :: s; -* @description: Tested string is "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A2_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5.js", - -assertion: "The production CharacterClassEscape :: S evaluates by returning", - -description: "Tested string is \"0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\\\:;\'<,>./?\" + \'\"\'", - -test: function testcase() { - //CHECK#1 -var non_s = "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; -var regexp_S = /\S/g; -var k = 0; -while (regexp_S.exec(non_s) !== null) { - k++; -} - -if (non_s.length !== k) { - $ERROR('#1: non-s'); -} - -//CHECK#2 -var non_S = '\f\n\r\t\v '; -if (/\S/.exec(non_S) !== null) { - $ERROR('#2: non-S'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1.js deleted file mode 100644 index 0a477fb5d4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1.js +++ /dev/null @@ -1,2075 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A3_T1; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: -* a - z, A - Z, 0 - 9, _; -* @description: A - Z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1.js", - -assertion: "The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters:", - -description: "A - Z", - -test: function testcase() { - var i0 = ""; -for (var j = 0; j < 256; j++) - i0 += String.fromCharCode(j); -var o0 = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u0009\u000A\u000B\u000C\u000D\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\u0020\u0021\u0022\u0023\u0024\u0025\u0026\u0027\u0028\u0029\u002A\u002B\u002C\u002D\u002E\u002F\u003A\u003B\u003C\u003D\u003E\u003F\u0040\u005B\u005C\u005D\u005E\u0060\u007B\u007C\u007D\u007E\u007F\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\u008A\u008B\u008C\u008D\u008E\u008F\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009A\u009B\u009C\u009D\u009E\u009F\u00A0\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AD\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF"; -if (i0.replace(/\w+/g, "") !== o0) { - $ERROR("#0: Error matching character class \w between character 0 and ff"); -} - -var i1 = ""; -for (var j = 256; j < 512; j++) - i1 += String.fromCharCode(j); -var o1 = i1; -if (i1.replace(/\w+/g, "") !== o1) { - $ERROR("#1: Error matching character class \w between character 100 and 1ff"); -} - -var i2 = ""; -for (var j = 512; j < 768; j++) - i2 += String.fromCharCode(j); -var o2 = i2; -if (i2.replace(/\w+/g, "") !== o2) { - $ERROR("#2: Error matching character class \w between character 200 and 2ff"); -} - -var i3 = ""; -for (var j = 768; j < 1024; j++) - i3 += String.fromCharCode(j); -var o3 = i3; -if (i3.replace(/\w+/g, "") !== o3) { - $ERROR("#3: Error matching character class \w between character 300 and 3ff"); -} - -var i4 = ""; -for (var j = 1024; j < 1280; j++) - i4 += String.fromCharCode(j); -var o4 = i4; -if (i4.replace(/\w+/g, "") !== o4) { - $ERROR("#4: Error matching character class \w between character 400 and 4ff"); -} - -var i5 = ""; -for (var j = 1280; j < 1536; j++) - i5 += String.fromCharCode(j); -var o5 = i5; -if (i5.replace(/\w+/g, "") !== o5) { - $ERROR("#5: Error matching character class \w between character 500 and 5ff"); -} - -var i6 = ""; -for (var j = 1536; j < 1792; j++) - i6 += String.fromCharCode(j); -var o6 = i6; -if (i6.replace(/\w+/g, "") !== o6) { - $ERROR("#6: Error matching character class \w between character 600 and 6ff"); -} - -var i7 = ""; -for (var j = 1792; j < 2048; j++) - i7 += String.fromCharCode(j); -var o7 = i7; -if (i7.replace(/\w+/g, "") !== o7) { - $ERROR("#7: Error matching character class \w between character 700 and 7ff"); -} - -var i8 = ""; -for (var j = 2048; j < 2304; j++) - i8 += String.fromCharCode(j); -var o8 = i8; -if (i8.replace(/\w+/g, "") !== o8) { - $ERROR("#8: Error matching character class \w between character 800 and 8ff"); -} - -var i9 = ""; -for (var j = 2304; j < 2560; j++) - i9 += String.fromCharCode(j); -var o9 = i9; -if (i9.replace(/\w+/g, "") !== o9) { - $ERROR("#9: Error matching character class \w between character 900 and 9ff"); -} - -var i10 = ""; -for (var j = 2560; j < 2816; j++) - i10 += String.fromCharCode(j); -var o10 = i10; -if (i10.replace(/\w+/g, "") !== o10) { - $ERROR("#10: Error matching character class \w between character a00 and aff"); -} - -var i11 = ""; -for (var j = 2816; j < 3072; j++) - i11 += String.fromCharCode(j); -var o11 = i11; -if (i11.replace(/\w+/g, "") !== o11) { - $ERROR("#11: Error matching character class \w between character b00 and bff"); -} - -var i12 = ""; -for (var j = 3072; j < 3328; j++) - i12 += String.fromCharCode(j); -var o12 = i12; -if (i12.replace(/\w+/g, "") !== o12) { - $ERROR("#12: Error matching character class \w between character c00 and cff"); -} - -var i13 = ""; -for (var j = 3328; j < 3584; j++) - i13 += String.fromCharCode(j); -var o13 = i13; -if (i13.replace(/\w+/g, "") !== o13) { - $ERROR("#13: Error matching character class \w between character d00 and dff"); -} - -var i14 = ""; -for (var j = 3584; j < 3840; j++) - i14 += String.fromCharCode(j); -var o14 = i14; -if (i14.replace(/\w+/g, "") !== o14) { - $ERROR("#14: Error matching character class \w between character e00 and eff"); -} - -var i15 = ""; -for (var j = 3840; j < 4096; j++) - i15 += String.fromCharCode(j); -var o15 = i15; -if (i15.replace(/\w+/g, "") !== o15) { - $ERROR("#15: Error matching character class \w between character f00 and fff"); -} - -var i16 = ""; -for (var j = 4096; j < 4352; j++) - i16 += String.fromCharCode(j); -var o16 = i16; -if (i16.replace(/\w+/g, "") !== o16) { - $ERROR("#16: Error matching character class \w between character 1000 and 10ff"); -} - -var i17 = ""; -for (var j = 4352; j < 4608; j++) - i17 += String.fromCharCode(j); -var o17 = i17; -if (i17.replace(/\w+/g, "") !== o17) { - $ERROR("#17: Error matching character class \w between character 1100 and 11ff"); -} - -var i18 = ""; -for (var j = 4608; j < 4864; j++) - i18 += String.fromCharCode(j); -var o18 = i18; -if (i18.replace(/\w+/g, "") !== o18) { - $ERROR("#18: Error matching character class \w between character 1200 and 12ff"); -} - -var i19 = ""; -for (var j = 4864; j < 5120; j++) - i19 += String.fromCharCode(j); -var o19 = i19; -if (i19.replace(/\w+/g, "") !== o19) { - $ERROR("#19: Error matching character class \w between character 1300 and 13ff"); -} - -var i20 = ""; -for (var j = 5120; j < 5376; j++) - i20 += String.fromCharCode(j); -var o20 = i20; -if (i20.replace(/\w+/g, "") !== o20) { - $ERROR("#20: Error matching character class \w between character 1400 and 14ff"); -} - -var i21 = ""; -for (var j = 5376; j < 5632; j++) - i21 += String.fromCharCode(j); -var o21 = i21; -if (i21.replace(/\w+/g, "") !== o21) { - $ERROR("#21: Error matching character class \w between character 1500 and 15ff"); -} - -var i22 = ""; -for (var j = 5632; j < 5888; j++) - i22 += String.fromCharCode(j); -var o22 = i22; -if (i22.replace(/\w+/g, "") !== o22) { - $ERROR("#22: Error matching character class \w between character 1600 and 16ff"); -} - -var i23 = ""; -for (var j = 5888; j < 6144; j++) - i23 += String.fromCharCode(j); -var o23 = i23; -if (i23.replace(/\w+/g, "") !== o23) { - $ERROR("#23: Error matching character class \w between character 1700 and 17ff"); -} - -var i24 = ""; -for (var j = 6144; j < 6400; j++) - i24 += String.fromCharCode(j); -var o24 = i24; -if (i24.replace(/\w+/g, "") !== o24) { - $ERROR("#24: Error matching character class \w between character 1800 and 18ff"); -} - -var i25 = ""; -for (var j = 6400; j < 6656; j++) - i25 += String.fromCharCode(j); -var o25 = i25; -if (i25.replace(/\w+/g, "") !== o25) { - $ERROR("#25: Error matching character class \w between character 1900 and 19ff"); -} - -var i26 = ""; -for (var j = 6656; j < 6912; j++) - i26 += String.fromCharCode(j); -var o26 = i26; -if (i26.replace(/\w+/g, "") !== o26) { - $ERROR("#26: Error matching character class \w between character 1a00 and 1aff"); -} - -var i27 = ""; -for (var j = 6912; j < 7168; j++) - i27 += String.fromCharCode(j); -var o27 = i27; -if (i27.replace(/\w+/g, "") !== o27) { - $ERROR("#27: Error matching character class \w between character 1b00 and 1bff"); -} - -var i28 = ""; -for (var j = 7168; j < 7424; j++) - i28 += String.fromCharCode(j); -var o28 = i28; -if (i28.replace(/\w+/g, "") !== o28) { - $ERROR("#28: Error matching character class \w between character 1c00 and 1cff"); -} - -var i29 = ""; -for (var j = 7424; j < 7680; j++) - i29 += String.fromCharCode(j); -var o29 = i29; -if (i29.replace(/\w+/g, "") !== o29) { - $ERROR("#29: Error matching character class \w between character 1d00 and 1dff"); -} - -var i30 = ""; -for (var j = 7680; j < 7936; j++) - i30 += String.fromCharCode(j); -var o30 = i30; -if (i30.replace(/\w+/g, "") !== o30) { - $ERROR("#30: Error matching character class \w between character 1e00 and 1eff"); -} - -var i31 = ""; -for (var j = 7936; j < 8192; j++) - i31 += String.fromCharCode(j); -var o31 = i31; -if (i31.replace(/\w+/g, "") !== o31) { - $ERROR("#31: Error matching character class \w between character 1f00 and 1fff"); -} - -var i32 = ""; -for (var j = 8192; j < 8448; j++) - i32 += String.fromCharCode(j); -var o32 = i32; -if (i32.replace(/\w+/g, "") !== o32) { - $ERROR("#32: Error matching character class \w between character 2000 and 20ff"); -} - -var i33 = ""; -for (var j = 8448; j < 8704; j++) - i33 += String.fromCharCode(j); -var o33 = i33; -if (i33.replace(/\w+/g, "") !== o33) { - $ERROR("#33: Error matching character class \w between character 2100 and 21ff"); -} - -var i34 = ""; -for (var j = 8704; j < 8960; j++) - i34 += String.fromCharCode(j); -var o34 = i34; -if (i34.replace(/\w+/g, "") !== o34) { - $ERROR("#34: Error matching character class \w between character 2200 and 22ff"); -} - -var i35 = ""; -for (var j = 8960; j < 9216; j++) - i35 += String.fromCharCode(j); -var o35 = i35; -if (i35.replace(/\w+/g, "") !== o35) { - $ERROR("#35: Error matching character class \w between character 2300 and 23ff"); -} - -var i36 = ""; -for (var j = 9216; j < 9472; j++) - i36 += String.fromCharCode(j); -var o36 = i36; -if (i36.replace(/\w+/g, "") !== o36) { - $ERROR("#36: Error matching character class \w between character 2400 and 24ff"); -} - -var i37 = ""; -for (var j = 9472; j < 9728; j++) - i37 += String.fromCharCode(j); -var o37 = i37; -if (i37.replace(/\w+/g, "") !== o37) { - $ERROR("#37: Error matching character class \w between character 2500 and 25ff"); -} - -var i38 = ""; -for (var j = 9728; j < 9984; j++) - i38 += String.fromCharCode(j); -var o38 = i38; -if (i38.replace(/\w+/g, "") !== o38) { - $ERROR("#38: Error matching character class \w between character 2600 and 26ff"); -} - -var i39 = ""; -for (var j = 9984; j < 10240; j++) - i39 += String.fromCharCode(j); -var o39 = i39; -if (i39.replace(/\w+/g, "") !== o39) { - $ERROR("#39: Error matching character class \w between character 2700 and 27ff"); -} - -var i40 = ""; -for (var j = 10240; j < 10496; j++) - i40 += String.fromCharCode(j); -var o40 = i40; -if (i40.replace(/\w+/g, "") !== o40) { - $ERROR("#40: Error matching character class \w between character 2800 and 28ff"); -} - -var i41 = ""; -for (var j = 10496; j < 10752; j++) - i41 += String.fromCharCode(j); -var o41 = i41; -if (i41.replace(/\w+/g, "") !== o41) { - $ERROR("#41: Error matching character class \w between character 2900 and 29ff"); -} - -var i42 = ""; -for (var j = 10752; j < 11008; j++) - i42 += String.fromCharCode(j); -var o42 = i42; -if (i42.replace(/\w+/g, "") !== o42) { - $ERROR("#42: Error matching character class \w between character 2a00 and 2aff"); -} - -var i43 = ""; -for (var j = 11008; j < 11264; j++) - i43 += String.fromCharCode(j); -var o43 = i43; -if (i43.replace(/\w+/g, "") !== o43) { - $ERROR("#43: Error matching character class \w between character 2b00 and 2bff"); -} - -var i44 = ""; -for (var j = 11264; j < 11520; j++) - i44 += String.fromCharCode(j); -var o44 = i44; -if (i44.replace(/\w+/g, "") !== o44) { - $ERROR("#44: Error matching character class \w between character 2c00 and 2cff"); -} - -var i45 = ""; -for (var j = 11520; j < 11776; j++) - i45 += String.fromCharCode(j); -var o45 = i45; -if (i45.replace(/\w+/g, "") !== o45) { - $ERROR("#45: Error matching character class \w between character 2d00 and 2dff"); -} - -var i46 = ""; -for (var j = 11776; j < 12032; j++) - i46 += String.fromCharCode(j); -var o46 = i46; -if (i46.replace(/\w+/g, "") !== o46) { - $ERROR("#46: Error matching character class \w between character 2e00 and 2eff"); -} - -var i47 = ""; -for (var j = 12032; j < 12288; j++) - i47 += String.fromCharCode(j); -var o47 = i47; -if (i47.replace(/\w+/g, "") !== o47) { - $ERROR("#47: Error matching character class \w between character 2f00 and 2fff"); -} - -var i48 = ""; -for (var j = 12288; j < 12544; j++) - i48 += String.fromCharCode(j); -var o48 = i48; -if (i48.replace(/\w+/g, "") !== o48) { - $ERROR("#48: Error matching character class \w between character 3000 and 30ff"); -} - -var i49 = ""; -for (var j = 12544; j < 12800; j++) - i49 += String.fromCharCode(j); -var o49 = i49; -if (i49.replace(/\w+/g, "") !== o49) { - $ERROR("#49: Error matching character class \w between character 3100 and 31ff"); -} - -var i50 = ""; -for (var j = 12800; j < 13056; j++) - i50 += String.fromCharCode(j); -var o50 = i50; -if (i50.replace(/\w+/g, "") !== o50) { - $ERROR("#50: Error matching character class \w between character 3200 and 32ff"); -} - -var i51 = ""; -for (var j = 13056; j < 13312; j++) - i51 += String.fromCharCode(j); -var o51 = i51; -if (i51.replace(/\w+/g, "") !== o51) { - $ERROR("#51: Error matching character class \w between character 3300 and 33ff"); -} - -var i52 = ""; -for (var j = 13312; j < 13568; j++) - i52 += String.fromCharCode(j); -var o52 = i52; -if (i52.replace(/\w+/g, "") !== o52) { - $ERROR("#52: Error matching character class \w between character 3400 and 34ff"); -} - -var i53 = ""; -for (var j = 13568; j < 13824; j++) - i53 += String.fromCharCode(j); -var o53 = i53; -if (i53.replace(/\w+/g, "") !== o53) { - $ERROR("#53: Error matching character class \w between character 3500 and 35ff"); -} - -var i54 = ""; -for (var j = 13824; j < 14080; j++) - i54 += String.fromCharCode(j); -var o54 = i54; -if (i54.replace(/\w+/g, "") !== o54) { - $ERROR("#54: Error matching character class \w between character 3600 and 36ff"); -} - -var i55 = ""; -for (var j = 14080; j < 14336; j++) - i55 += String.fromCharCode(j); -var o55 = i55; -if (i55.replace(/\w+/g, "") !== o55) { - $ERROR("#55: Error matching character class \w between character 3700 and 37ff"); -} - -var i56 = ""; -for (var j = 14336; j < 14592; j++) - i56 += String.fromCharCode(j); -var o56 = i56; -if (i56.replace(/\w+/g, "") !== o56) { - $ERROR("#56: Error matching character class \w between character 3800 and 38ff"); -} - -var i57 = ""; -for (var j = 14592; j < 14848; j++) - i57 += String.fromCharCode(j); -var o57 = i57; -if (i57.replace(/\w+/g, "") !== o57) { - $ERROR("#57: Error matching character class \w between character 3900 and 39ff"); -} - -var i58 = ""; -for (var j = 14848; j < 15104; j++) - i58 += String.fromCharCode(j); -var o58 = i58; -if (i58.replace(/\w+/g, "") !== o58) { - $ERROR("#58: Error matching character class \w between character 3a00 and 3aff"); -} - -var i59 = ""; -for (var j = 15104; j < 15360; j++) - i59 += String.fromCharCode(j); -var o59 = i59; -if (i59.replace(/\w+/g, "") !== o59) { - $ERROR("#59: Error matching character class \w between character 3b00 and 3bff"); -} - -var i60 = ""; -for (var j = 15360; j < 15616; j++) - i60 += String.fromCharCode(j); -var o60 = i60; -if (i60.replace(/\w+/g, "") !== o60) { - $ERROR("#60: Error matching character class \w between character 3c00 and 3cff"); -} - -var i61 = ""; -for (var j = 15616; j < 15872; j++) - i61 += String.fromCharCode(j); -var o61 = i61; -if (i61.replace(/\w+/g, "") !== o61) { - $ERROR("#61: Error matching character class \w between character 3d00 and 3dff"); -} - -var i62 = ""; -for (var j = 15872; j < 16128; j++) - i62 += String.fromCharCode(j); -var o62 = i62; -if (i62.replace(/\w+/g, "") !== o62) { - $ERROR("#62: Error matching character class \w between character 3e00 and 3eff"); -} - -var i63 = ""; -for (var j = 16128; j < 16384; j++) - i63 += String.fromCharCode(j); -var o63 = i63; -if (i63.replace(/\w+/g, "") !== o63) { - $ERROR("#63: Error matching character class \w between character 3f00 and 3fff"); -} - -var i64 = ""; -for (var j = 16384; j < 16640; j++) - i64 += String.fromCharCode(j); -var o64 = i64; -if (i64.replace(/\w+/g, "") !== o64) { - $ERROR("#64: Error matching character class \w between character 4000 and 40ff"); -} - -var i65 = ""; -for (var j = 16640; j < 16896; j++) - i65 += String.fromCharCode(j); -var o65 = i65; -if (i65.replace(/\w+/g, "") !== o65) { - $ERROR("#65: Error matching character class \w between character 4100 and 41ff"); -} - -var i66 = ""; -for (var j = 16896; j < 17152; j++) - i66 += String.fromCharCode(j); -var o66 = i66; -if (i66.replace(/\w+/g, "") !== o66) { - $ERROR("#66: Error matching character class \w between character 4200 and 42ff"); -} - -var i67 = ""; -for (var j = 17152; j < 17408; j++) - i67 += String.fromCharCode(j); -var o67 = i67; -if (i67.replace(/\w+/g, "") !== o67) { - $ERROR("#67: Error matching character class \w between character 4300 and 43ff"); -} - -var i68 = ""; -for (var j = 17408; j < 17664; j++) - i68 += String.fromCharCode(j); -var o68 = i68; -if (i68.replace(/\w+/g, "") !== o68) { - $ERROR("#68: Error matching character class \w between character 4400 and 44ff"); -} - -var i69 = ""; -for (var j = 17664; j < 17920; j++) - i69 += String.fromCharCode(j); -var o69 = i69; -if (i69.replace(/\w+/g, "") !== o69) { - $ERROR("#69: Error matching character class \w between character 4500 and 45ff"); -} - -var i70 = ""; -for (var j = 17920; j < 18176; j++) - i70 += String.fromCharCode(j); -var o70 = i70; -if (i70.replace(/\w+/g, "") !== o70) { - $ERROR("#70: Error matching character class \w between character 4600 and 46ff"); -} - -var i71 = ""; -for (var j = 18176; j < 18432; j++) - i71 += String.fromCharCode(j); -var o71 = i71; -if (i71.replace(/\w+/g, "") !== o71) { - $ERROR("#71: Error matching character class \w between character 4700 and 47ff"); -} - -var i72 = ""; -for (var j = 18432; j < 18688; j++) - i72 += String.fromCharCode(j); -var o72 = i72; -if (i72.replace(/\w+/g, "") !== o72) { - $ERROR("#72: Error matching character class \w between character 4800 and 48ff"); -} - -var i73 = ""; -for (var j = 18688; j < 18944; j++) - i73 += String.fromCharCode(j); -var o73 = i73; -if (i73.replace(/\w+/g, "") !== o73) { - $ERROR("#73: Error matching character class \w between character 4900 and 49ff"); -} - -var i74 = ""; -for (var j = 18944; j < 19200; j++) - i74 += String.fromCharCode(j); -var o74 = i74; -if (i74.replace(/\w+/g, "") !== o74) { - $ERROR("#74: Error matching character class \w between character 4a00 and 4aff"); -} - -var i75 = ""; -for (var j = 19200; j < 19456; j++) - i75 += String.fromCharCode(j); -var o75 = i75; -if (i75.replace(/\w+/g, "") !== o75) { - $ERROR("#75: Error matching character class \w between character 4b00 and 4bff"); -} - -var i76 = ""; -for (var j = 19456; j < 19712; j++) - i76 += String.fromCharCode(j); -var o76 = i76; -if (i76.replace(/\w+/g, "") !== o76) { - $ERROR("#76: Error matching character class \w between character 4c00 and 4cff"); -} - -var i77 = ""; -for (var j = 19712; j < 19968; j++) - i77 += String.fromCharCode(j); -var o77 = i77; -if (i77.replace(/\w+/g, "") !== o77) { - $ERROR("#77: Error matching character class \w between character 4d00 and 4dff"); -} - -var i78 = ""; -for (var j = 19968; j < 20224; j++) - i78 += String.fromCharCode(j); -var o78 = i78; -if (i78.replace(/\w+/g, "") !== o78) { - $ERROR("#78: Error matching character class \w between character 4e00 and 4eff"); -} - -var i79 = ""; -for (var j = 20224; j < 20480; j++) - i79 += String.fromCharCode(j); -var o79 = i79; -if (i79.replace(/\w+/g, "") !== o79) { - $ERROR("#79: Error matching character class \w between character 4f00 and 4fff"); -} - -var i80 = ""; -for (var j = 20480; j < 20736; j++) - i80 += String.fromCharCode(j); -var o80 = i80; -if (i80.replace(/\w+/g, "") !== o80) { - $ERROR("#80: Error matching character class \w between character 5000 and 50ff"); -} - -var i81 = ""; -for (var j = 20736; j < 20992; j++) - i81 += String.fromCharCode(j); -var o81 = i81; -if (i81.replace(/\w+/g, "") !== o81) { - $ERROR("#81: Error matching character class \w between character 5100 and 51ff"); -} - -var i82 = ""; -for (var j = 20992; j < 21248; j++) - i82 += String.fromCharCode(j); -var o82 = i82; -if (i82.replace(/\w+/g, "") !== o82) { - $ERROR("#82: Error matching character class \w between character 5200 and 52ff"); -} - -var i83 = ""; -for (var j = 21248; j < 21504; j++) - i83 += String.fromCharCode(j); -var o83 = i83; -if (i83.replace(/\w+/g, "") !== o83) { - $ERROR("#83: Error matching character class \w between character 5300 and 53ff"); -} - -var i84 = ""; -for (var j = 21504; j < 21760; j++) - i84 += String.fromCharCode(j); -var o84 = i84; -if (i84.replace(/\w+/g, "") !== o84) { - $ERROR("#84: Error matching character class \w between character 5400 and 54ff"); -} - -var i85 = ""; -for (var j = 21760; j < 22016; j++) - i85 += String.fromCharCode(j); -var o85 = i85; -if (i85.replace(/\w+/g, "") !== o85) { - $ERROR("#85: Error matching character class \w between character 5500 and 55ff"); -} - -var i86 = ""; -for (var j = 22016; j < 22272; j++) - i86 += String.fromCharCode(j); -var o86 = i86; -if (i86.replace(/\w+/g, "") !== o86) { - $ERROR("#86: Error matching character class \w between character 5600 and 56ff"); -} - -var i87 = ""; -for (var j = 22272; j < 22528; j++) - i87 += String.fromCharCode(j); -var o87 = i87; -if (i87.replace(/\w+/g, "") !== o87) { - $ERROR("#87: Error matching character class \w between character 5700 and 57ff"); -} - -var i88 = ""; -for (var j = 22528; j < 22784; j++) - i88 += String.fromCharCode(j); -var o88 = i88; -if (i88.replace(/\w+/g, "") !== o88) { - $ERROR("#88: Error matching character class \w between character 5800 and 58ff"); -} - -var i89 = ""; -for (var j = 22784; j < 23040; j++) - i89 += String.fromCharCode(j); -var o89 = i89; -if (i89.replace(/\w+/g, "") !== o89) { - $ERROR("#89: Error matching character class \w between character 5900 and 59ff"); -} - -var i90 = ""; -for (var j = 23040; j < 23296; j++) - i90 += String.fromCharCode(j); -var o90 = i90; -if (i90.replace(/\w+/g, "") !== o90) { - $ERROR("#90: Error matching character class \w between character 5a00 and 5aff"); -} - -var i91 = ""; -for (var j = 23296; j < 23552; j++) - i91 += String.fromCharCode(j); -var o91 = i91; -if (i91.replace(/\w+/g, "") !== o91) { - $ERROR("#91: Error matching character class \w between character 5b00 and 5bff"); -} - -var i92 = ""; -for (var j = 23552; j < 23808; j++) - i92 += String.fromCharCode(j); -var o92 = i92; -if (i92.replace(/\w+/g, "") !== o92) { - $ERROR("#92: Error matching character class \w between character 5c00 and 5cff"); -} - -var i93 = ""; -for (var j = 23808; j < 24064; j++) - i93 += String.fromCharCode(j); -var o93 = i93; -if (i93.replace(/\w+/g, "") !== o93) { - $ERROR("#93: Error matching character class \w between character 5d00 and 5dff"); -} - -var i94 = ""; -for (var j = 24064; j < 24320; j++) - i94 += String.fromCharCode(j); -var o94 = i94; -if (i94.replace(/\w+/g, "") !== o94) { - $ERROR("#94: Error matching character class \w between character 5e00 and 5eff"); -} - -var i95 = ""; -for (var j = 24320; j < 24576; j++) - i95 += String.fromCharCode(j); -var o95 = i95; -if (i95.replace(/\w+/g, "") !== o95) { - $ERROR("#95: Error matching character class \w between character 5f00 and 5fff"); -} - -var i96 = ""; -for (var j = 24576; j < 24832; j++) - i96 += String.fromCharCode(j); -var o96 = i96; -if (i96.replace(/\w+/g, "") !== o96) { - $ERROR("#96: Error matching character class \w between character 6000 and 60ff"); -} - -var i97 = ""; -for (var j = 24832; j < 25088; j++) - i97 += String.fromCharCode(j); -var o97 = i97; -if (i97.replace(/\w+/g, "") !== o97) { - $ERROR("#97: Error matching character class \w between character 6100 and 61ff"); -} - -var i98 = ""; -for (var j = 25088; j < 25344; j++) - i98 += String.fromCharCode(j); -var o98 = i98; -if (i98.replace(/\w+/g, "") !== o98) { - $ERROR("#98: Error matching character class \w between character 6200 and 62ff"); -} - -var i99 = ""; -for (var j = 25344; j < 25600; j++) - i99 += String.fromCharCode(j); -var o99 = i99; -if (i99.replace(/\w+/g, "") !== o99) { - $ERROR("#99: Error matching character class \w between character 6300 and 63ff"); -} - -var i100 = ""; -for (var j = 25600; j < 25856; j++) - i100 += String.fromCharCode(j); -var o100 = i100; -if (i100.replace(/\w+/g, "") !== o100) { - $ERROR("#100: Error matching character class \w between character 6400 and 64ff"); -} - -var i101 = ""; -for (var j = 25856; j < 26112; j++) - i101 += String.fromCharCode(j); -var o101 = i101; -if (i101.replace(/\w+/g, "") !== o101) { - $ERROR("#101: Error matching character class \w between character 6500 and 65ff"); -} - -var i102 = ""; -for (var j = 26112; j < 26368; j++) - i102 += String.fromCharCode(j); -var o102 = i102; -if (i102.replace(/\w+/g, "") !== o102) { - $ERROR("#102: Error matching character class \w between character 6600 and 66ff"); -} - -var i103 = ""; -for (var j = 26368; j < 26624; j++) - i103 += String.fromCharCode(j); -var o103 = i103; -if (i103.replace(/\w+/g, "") !== o103) { - $ERROR("#103: Error matching character class \w between character 6700 and 67ff"); -} - -var i104 = ""; -for (var j = 26624; j < 26880; j++) - i104 += String.fromCharCode(j); -var o104 = i104; -if (i104.replace(/\w+/g, "") !== o104) { - $ERROR("#104: Error matching character class \w between character 6800 and 68ff"); -} - -var i105 = ""; -for (var j = 26880; j < 27136; j++) - i105 += String.fromCharCode(j); -var o105 = i105; -if (i105.replace(/\w+/g, "") !== o105) { - $ERROR("#105: Error matching character class \w between character 6900 and 69ff"); -} - -var i106 = ""; -for (var j = 27136; j < 27392; j++) - i106 += String.fromCharCode(j); -var o106 = i106; -if (i106.replace(/\w+/g, "") !== o106) { - $ERROR("#106: Error matching character class \w between character 6a00 and 6aff"); -} - -var i107 = ""; -for (var j = 27392; j < 27648; j++) - i107 += String.fromCharCode(j); -var o107 = i107; -if (i107.replace(/\w+/g, "") !== o107) { - $ERROR("#107: Error matching character class \w between character 6b00 and 6bff"); -} - -var i108 = ""; -for (var j = 27648; j < 27904; j++) - i108 += String.fromCharCode(j); -var o108 = i108; -if (i108.replace(/\w+/g, "") !== o108) { - $ERROR("#108: Error matching character class \w between character 6c00 and 6cff"); -} - -var i109 = ""; -for (var j = 27904; j < 28160; j++) - i109 += String.fromCharCode(j); -var o109 = i109; -if (i109.replace(/\w+/g, "") !== o109) { - $ERROR("#109: Error matching character class \w between character 6d00 and 6dff"); -} - -var i110 = ""; -for (var j = 28160; j < 28416; j++) - i110 += String.fromCharCode(j); -var o110 = i110; -if (i110.replace(/\w+/g, "") !== o110) { - $ERROR("#110: Error matching character class \w between character 6e00 and 6eff"); -} - -var i111 = ""; -for (var j = 28416; j < 28672; j++) - i111 += String.fromCharCode(j); -var o111 = i111; -if (i111.replace(/\w+/g, "") !== o111) { - $ERROR("#111: Error matching character class \w between character 6f00 and 6fff"); -} - -var i112 = ""; -for (var j = 28672; j < 28928; j++) - i112 += String.fromCharCode(j); -var o112 = i112; -if (i112.replace(/\w+/g, "") !== o112) { - $ERROR("#112: Error matching character class \w between character 7000 and 70ff"); -} - -var i113 = ""; -for (var j = 28928; j < 29184; j++) - i113 += String.fromCharCode(j); -var o113 = i113; -if (i113.replace(/\w+/g, "") !== o113) { - $ERROR("#113: Error matching character class \w between character 7100 and 71ff"); -} - -var i114 = ""; -for (var j = 29184; j < 29440; j++) - i114 += String.fromCharCode(j); -var o114 = i114; -if (i114.replace(/\w+/g, "") !== o114) { - $ERROR("#114: Error matching character class \w between character 7200 and 72ff"); -} - -var i115 = ""; -for (var j = 29440; j < 29696; j++) - i115 += String.fromCharCode(j); -var o115 = i115; -if (i115.replace(/\w+/g, "") !== o115) { - $ERROR("#115: Error matching character class \w between character 7300 and 73ff"); -} - -var i116 = ""; -for (var j = 29696; j < 29952; j++) - i116 += String.fromCharCode(j); -var o116 = i116; -if (i116.replace(/\w+/g, "") !== o116) { - $ERROR("#116: Error matching character class \w between character 7400 and 74ff"); -} - -var i117 = ""; -for (var j = 29952; j < 30208; j++) - i117 += String.fromCharCode(j); -var o117 = i117; -if (i117.replace(/\w+/g, "") !== o117) { - $ERROR("#117: Error matching character class \w between character 7500 and 75ff"); -} - -var i118 = ""; -for (var j = 30208; j < 30464; j++) - i118 += String.fromCharCode(j); -var o118 = i118; -if (i118.replace(/\w+/g, "") !== o118) { - $ERROR("#118: Error matching character class \w between character 7600 and 76ff"); -} - -var i119 = ""; -for (var j = 30464; j < 30720; j++) - i119 += String.fromCharCode(j); -var o119 = i119; -if (i119.replace(/\w+/g, "") !== o119) { - $ERROR("#119: Error matching character class \w between character 7700 and 77ff"); -} - -var i120 = ""; -for (var j = 30720; j < 30976; j++) - i120 += String.fromCharCode(j); -var o120 = i120; -if (i120.replace(/\w+/g, "") !== o120) { - $ERROR("#120: Error matching character class \w between character 7800 and 78ff"); -} - -var i121 = ""; -for (var j = 30976; j < 31232; j++) - i121 += String.fromCharCode(j); -var o121 = i121; -if (i121.replace(/\w+/g, "") !== o121) { - $ERROR("#121: Error matching character class \w between character 7900 and 79ff"); -} - -var i122 = ""; -for (var j = 31232; j < 31488; j++) - i122 += String.fromCharCode(j); -var o122 = i122; -if (i122.replace(/\w+/g, "") !== o122) { - $ERROR("#122: Error matching character class \w between character 7a00 and 7aff"); -} - -var i123 = ""; -for (var j = 31488; j < 31744; j++) - i123 += String.fromCharCode(j); -var o123 = i123; -if (i123.replace(/\w+/g, "") !== o123) { - $ERROR("#123: Error matching character class \w between character 7b00 and 7bff"); -} - -var i124 = ""; -for (var j = 31744; j < 32000; j++) - i124 += String.fromCharCode(j); -var o124 = i124; -if (i124.replace(/\w+/g, "") !== o124) { - $ERROR("#124: Error matching character class \w between character 7c00 and 7cff"); -} - -var i125 = ""; -for (var j = 32000; j < 32256; j++) - i125 += String.fromCharCode(j); -var o125 = i125; -if (i125.replace(/\w+/g, "") !== o125) { - $ERROR("#125: Error matching character class \w between character 7d00 and 7dff"); -} - -var i126 = ""; -for (var j = 32256; j < 32512; j++) - i126 += String.fromCharCode(j); -var o126 = i126; -if (i126.replace(/\w+/g, "") !== o126) { - $ERROR("#126: Error matching character class \w between character 7e00 and 7eff"); -} - -var i127 = ""; -for (var j = 32512; j < 32768; j++) - i127 += String.fromCharCode(j); -var o127 = i127; -if (i127.replace(/\w+/g, "") !== o127) { - $ERROR("#127: Error matching character class \w between character 7f00 and 7fff"); -} - -var i128 = ""; -for (var j = 32768; j < 33024; j++) - i128 += String.fromCharCode(j); -var o128 = i128; -if (i128.replace(/\w+/g, "") !== o128) { - $ERROR("#128: Error matching character class \w between character 8000 and 80ff"); -} - -var i129 = ""; -for (var j = 33024; j < 33280; j++) - i129 += String.fromCharCode(j); -var o129 = i129; -if (i129.replace(/\w+/g, "") !== o129) { - $ERROR("#129: Error matching character class \w between character 8100 and 81ff"); -} - -var i130 = ""; -for (var j = 33280; j < 33536; j++) - i130 += String.fromCharCode(j); -var o130 = i130; -if (i130.replace(/\w+/g, "") !== o130) { - $ERROR("#130: Error matching character class \w between character 8200 and 82ff"); -} - -var i131 = ""; -for (var j = 33536; j < 33792; j++) - i131 += String.fromCharCode(j); -var o131 = i131; -if (i131.replace(/\w+/g, "") !== o131) { - $ERROR("#131: Error matching character class \w between character 8300 and 83ff"); -} - -var i132 = ""; -for (var j = 33792; j < 34048; j++) - i132 += String.fromCharCode(j); -var o132 = i132; -if (i132.replace(/\w+/g, "") !== o132) { - $ERROR("#132: Error matching character class \w between character 8400 and 84ff"); -} - -var i133 = ""; -for (var j = 34048; j < 34304; j++) - i133 += String.fromCharCode(j); -var o133 = i133; -if (i133.replace(/\w+/g, "") !== o133) { - $ERROR("#133: Error matching character class \w between character 8500 and 85ff"); -} - -var i134 = ""; -for (var j = 34304; j < 34560; j++) - i134 += String.fromCharCode(j); -var o134 = i134; -if (i134.replace(/\w+/g, "") !== o134) { - $ERROR("#134: Error matching character class \w between character 8600 and 86ff"); -} - -var i135 = ""; -for (var j = 34560; j < 34816; j++) - i135 += String.fromCharCode(j); -var o135 = i135; -if (i135.replace(/\w+/g, "") !== o135) { - $ERROR("#135: Error matching character class \w between character 8700 and 87ff"); -} - -var i136 = ""; -for (var j = 34816; j < 35072; j++) - i136 += String.fromCharCode(j); -var o136 = i136; -if (i136.replace(/\w+/g, "") !== o136) { - $ERROR("#136: Error matching character class \w between character 8800 and 88ff"); -} - -var i137 = ""; -for (var j = 35072; j < 35328; j++) - i137 += String.fromCharCode(j); -var o137 = i137; -if (i137.replace(/\w+/g, "") !== o137) { - $ERROR("#137: Error matching character class \w between character 8900 and 89ff"); -} - -var i138 = ""; -for (var j = 35328; j < 35584; j++) - i138 += String.fromCharCode(j); -var o138 = i138; -if (i138.replace(/\w+/g, "") !== o138) { - $ERROR("#138: Error matching character class \w between character 8a00 and 8aff"); -} - -var i139 = ""; -for (var j = 35584; j < 35840; j++) - i139 += String.fromCharCode(j); -var o139 = i139; -if (i139.replace(/\w+/g, "") !== o139) { - $ERROR("#139: Error matching character class \w between character 8b00 and 8bff"); -} - -var i140 = ""; -for (var j = 35840; j < 36096; j++) - i140 += String.fromCharCode(j); -var o140 = i140; -if (i140.replace(/\w+/g, "") !== o140) { - $ERROR("#140: Error matching character class \w between character 8c00 and 8cff"); -} - -var i141 = ""; -for (var j = 36096; j < 36352; j++) - i141 += String.fromCharCode(j); -var o141 = i141; -if (i141.replace(/\w+/g, "") !== o141) { - $ERROR("#141: Error matching character class \w between character 8d00 and 8dff"); -} - -var i142 = ""; -for (var j = 36352; j < 36608; j++) - i142 += String.fromCharCode(j); -var o142 = i142; -if (i142.replace(/\w+/g, "") !== o142) { - $ERROR("#142: Error matching character class \w between character 8e00 and 8eff"); -} - -var i143 = ""; -for (var j = 36608; j < 36864; j++) - i143 += String.fromCharCode(j); -var o143 = i143; -if (i143.replace(/\w+/g, "") !== o143) { - $ERROR("#143: Error matching character class \w between character 8f00 and 8fff"); -} - -var i144 = ""; -for (var j = 36864; j < 37120; j++) - i144 += String.fromCharCode(j); -var o144 = i144; -if (i144.replace(/\w+/g, "") !== o144) { - $ERROR("#144: Error matching character class \w between character 9000 and 90ff"); -} - -var i145 = ""; -for (var j = 37120; j < 37376; j++) - i145 += String.fromCharCode(j); -var o145 = i145; -if (i145.replace(/\w+/g, "") !== o145) { - $ERROR("#145: Error matching character class \w between character 9100 and 91ff"); -} - -var i146 = ""; -for (var j = 37376; j < 37632; j++) - i146 += String.fromCharCode(j); -var o146 = i146; -if (i146.replace(/\w+/g, "") !== o146) { - $ERROR("#146: Error matching character class \w between character 9200 and 92ff"); -} - -var i147 = ""; -for (var j = 37632; j < 37888; j++) - i147 += String.fromCharCode(j); -var o147 = i147; -if (i147.replace(/\w+/g, "") !== o147) { - $ERROR("#147: Error matching character class \w between character 9300 and 93ff"); -} - -var i148 = ""; -for (var j = 37888; j < 38144; j++) - i148 += String.fromCharCode(j); -var o148 = i148; -if (i148.replace(/\w+/g, "") !== o148) { - $ERROR("#148: Error matching character class \w between character 9400 and 94ff"); -} - -var i149 = ""; -for (var j = 38144; j < 38400; j++) - i149 += String.fromCharCode(j); -var o149 = i149; -if (i149.replace(/\w+/g, "") !== o149) { - $ERROR("#149: Error matching character class \w between character 9500 and 95ff"); -} - -var i150 = ""; -for (var j = 38400; j < 38656; j++) - i150 += String.fromCharCode(j); -var o150 = i150; -if (i150.replace(/\w+/g, "") !== o150) { - $ERROR("#150: Error matching character class \w between character 9600 and 96ff"); -} - -var i151 = ""; -for (var j = 38656; j < 38912; j++) - i151 += String.fromCharCode(j); -var o151 = i151; -if (i151.replace(/\w+/g, "") !== o151) { - $ERROR("#151: Error matching character class \w between character 9700 and 97ff"); -} - -var i152 = ""; -for (var j = 38912; j < 39168; j++) - i152 += String.fromCharCode(j); -var o152 = i152; -if (i152.replace(/\w+/g, "") !== o152) { - $ERROR("#152: Error matching character class \w between character 9800 and 98ff"); -} - -var i153 = ""; -for (var j = 39168; j < 39424; j++) - i153 += String.fromCharCode(j); -var o153 = i153; -if (i153.replace(/\w+/g, "") !== o153) { - $ERROR("#153: Error matching character class \w between character 9900 and 99ff"); -} - -var i154 = ""; -for (var j = 39424; j < 39680; j++) - i154 += String.fromCharCode(j); -var o154 = i154; -if (i154.replace(/\w+/g, "") !== o154) { - $ERROR("#154: Error matching character class \w between character 9a00 and 9aff"); -} - -var i155 = ""; -for (var j = 39680; j < 39936; j++) - i155 += String.fromCharCode(j); -var o155 = i155; -if (i155.replace(/\w+/g, "") !== o155) { - $ERROR("#155: Error matching character class \w between character 9b00 and 9bff"); -} - -var i156 = ""; -for (var j = 39936; j < 40192; j++) - i156 += String.fromCharCode(j); -var o156 = i156; -if (i156.replace(/\w+/g, "") !== o156) { - $ERROR("#156: Error matching character class \w between character 9c00 and 9cff"); -} - -var i157 = ""; -for (var j = 40192; j < 40448; j++) - i157 += String.fromCharCode(j); -var o157 = i157; -if (i157.replace(/\w+/g, "") !== o157) { - $ERROR("#157: Error matching character class \w between character 9d00 and 9dff"); -} - -var i158 = ""; -for (var j = 40448; j < 40704; j++) - i158 += String.fromCharCode(j); -var o158 = i158; -if (i158.replace(/\w+/g, "") !== o158) { - $ERROR("#158: Error matching character class \w between character 9e00 and 9eff"); -} - -var i159 = ""; -for (var j = 40704; j < 40960; j++) - i159 += String.fromCharCode(j); -var o159 = i159; -if (i159.replace(/\w+/g, "") !== o159) { - $ERROR("#159: Error matching character class \w between character 9f00 and 9fff"); -} - -var i160 = ""; -for (var j = 40960; j < 41216; j++) - i160 += String.fromCharCode(j); -var o160 = i160; -if (i160.replace(/\w+/g, "") !== o160) { - $ERROR("#160: Error matching character class \w between character a000 and a0ff"); -} - -var i161 = ""; -for (var j = 41216; j < 41472; j++) - i161 += String.fromCharCode(j); -var o161 = i161; -if (i161.replace(/\w+/g, "") !== o161) { - $ERROR("#161: Error matching character class \w between character a100 and a1ff"); -} - -var i162 = ""; -for (var j = 41472; j < 41728; j++) - i162 += String.fromCharCode(j); -var o162 = i162; -if (i162.replace(/\w+/g, "") !== o162) { - $ERROR("#162: Error matching character class \w between character a200 and a2ff"); -} - -var i163 = ""; -for (var j = 41728; j < 41984; j++) - i163 += String.fromCharCode(j); -var o163 = i163; -if (i163.replace(/\w+/g, "") !== o163) { - $ERROR("#163: Error matching character class \w between character a300 and a3ff"); -} - -var i164 = ""; -for (var j = 41984; j < 42240; j++) - i164 += String.fromCharCode(j); -var o164 = i164; -if (i164.replace(/\w+/g, "") !== o164) { - $ERROR("#164: Error matching character class \w between character a400 and a4ff"); -} - -var i165 = ""; -for (var j = 42240; j < 42496; j++) - i165 += String.fromCharCode(j); -var o165 = i165; -if (i165.replace(/\w+/g, "") !== o165) { - $ERROR("#165: Error matching character class \w between character a500 and a5ff"); -} - -var i166 = ""; -for (var j = 42496; j < 42752; j++) - i166 += String.fromCharCode(j); -var o166 = i166; -if (i166.replace(/\w+/g, "") !== o166) { - $ERROR("#166: Error matching character class \w between character a600 and a6ff"); -} - -var i167 = ""; -for (var j = 42752; j < 43008; j++) - i167 += String.fromCharCode(j); -var o167 = i167; -if (i167.replace(/\w+/g, "") !== o167) { - $ERROR("#167: Error matching character class \w between character a700 and a7ff"); -} - -var i168 = ""; -for (var j = 43008; j < 43264; j++) - i168 += String.fromCharCode(j); -var o168 = i168; -if (i168.replace(/\w+/g, "") !== o168) { - $ERROR("#168: Error matching character class \w between character a800 and a8ff"); -} - -var i169 = ""; -for (var j = 43264; j < 43520; j++) - i169 += String.fromCharCode(j); -var o169 = i169; -if (i169.replace(/\w+/g, "") !== o169) { - $ERROR("#169: Error matching character class \w between character a900 and a9ff"); -} - -var i170 = ""; -for (var j = 43520; j < 43776; j++) - i170 += String.fromCharCode(j); -var o170 = i170; -if (i170.replace(/\w+/g, "") !== o170) { - $ERROR("#170: Error matching character class \w between character aa00 and aaff"); -} - -var i171 = ""; -for (var j = 43776; j < 44032; j++) - i171 += String.fromCharCode(j); -var o171 = i171; -if (i171.replace(/\w+/g, "") !== o171) { - $ERROR("#171: Error matching character class \w between character ab00 and abff"); -} - -var i172 = ""; -for (var j = 44032; j < 44288; j++) - i172 += String.fromCharCode(j); -var o172 = i172; -if (i172.replace(/\w+/g, "") !== o172) { - $ERROR("#172: Error matching character class \w between character ac00 and acff"); -} - -var i173 = ""; -for (var j = 44288; j < 44544; j++) - i173 += String.fromCharCode(j); -var o173 = i173; -if (i173.replace(/\w+/g, "") !== o173) { - $ERROR("#173: Error matching character class \w between character ad00 and adff"); -} - -var i174 = ""; -for (var j = 44544; j < 44800; j++) - i174 += String.fromCharCode(j); -var o174 = i174; -if (i174.replace(/\w+/g, "") !== o174) { - $ERROR("#174: Error matching character class \w between character ae00 and aeff"); -} - -var i175 = ""; -for (var j = 44800; j < 45056; j++) - i175 += String.fromCharCode(j); -var o175 = i175; -if (i175.replace(/\w+/g, "") !== o175) { - $ERROR("#175: Error matching character class \w between character af00 and afff"); -} - -var i176 = ""; -for (var j = 45056; j < 45312; j++) - i176 += String.fromCharCode(j); -var o176 = i176; -if (i176.replace(/\w+/g, "") !== o176) { - $ERROR("#176: Error matching character class \w between character b000 and b0ff"); -} - -var i177 = ""; -for (var j = 45312; j < 45568; j++) - i177 += String.fromCharCode(j); -var o177 = i177; -if (i177.replace(/\w+/g, "") !== o177) { - $ERROR("#177: Error matching character class \w between character b100 and b1ff"); -} - -var i178 = ""; -for (var j = 45568; j < 45824; j++) - i178 += String.fromCharCode(j); -var o178 = i178; -if (i178.replace(/\w+/g, "") !== o178) { - $ERROR("#178: Error matching character class \w between character b200 and b2ff"); -} - -var i179 = ""; -for (var j = 45824; j < 46080; j++) - i179 += String.fromCharCode(j); -var o179 = i179; -if (i179.replace(/\w+/g, "") !== o179) { - $ERROR("#179: Error matching character class \w between character b300 and b3ff"); -} - -var i180 = ""; -for (var j = 46080; j < 46336; j++) - i180 += String.fromCharCode(j); -var o180 = i180; -if (i180.replace(/\w+/g, "") !== o180) { - $ERROR("#180: Error matching character class \w between character b400 and b4ff"); -} - -var i181 = ""; -for (var j = 46336; j < 46592; j++) - i181 += String.fromCharCode(j); -var o181 = i181; -if (i181.replace(/\w+/g, "") !== o181) { - $ERROR("#181: Error matching character class \w between character b500 and b5ff"); -} - -var i182 = ""; -for (var j = 46592; j < 46848; j++) - i182 += String.fromCharCode(j); -var o182 = i182; -if (i182.replace(/\w+/g, "") !== o182) { - $ERROR("#182: Error matching character class \w between character b600 and b6ff"); -} - -var i183 = ""; -for (var j = 46848; j < 47104; j++) - i183 += String.fromCharCode(j); -var o183 = i183; -if (i183.replace(/\w+/g, "") !== o183) { - $ERROR("#183: Error matching character class \w between character b700 and b7ff"); -} - -var i184 = ""; -for (var j = 47104; j < 47360; j++) - i184 += String.fromCharCode(j); -var o184 = i184; -if (i184.replace(/\w+/g, "") !== o184) { - $ERROR("#184: Error matching character class \w between character b800 and b8ff"); -} - -var i185 = ""; -for (var j = 47360; j < 47616; j++) - i185 += String.fromCharCode(j); -var o185 = i185; -if (i185.replace(/\w+/g, "") !== o185) { - $ERROR("#185: Error matching character class \w between character b900 and b9ff"); -} - -var i186 = ""; -for (var j = 47616; j < 47872; j++) - i186 += String.fromCharCode(j); -var o186 = i186; -if (i186.replace(/\w+/g, "") !== o186) { - $ERROR("#186: Error matching character class \w between character ba00 and baff"); -} - -var i187 = ""; -for (var j = 47872; j < 48128; j++) - i187 += String.fromCharCode(j); -var o187 = i187; -if (i187.replace(/\w+/g, "") !== o187) { - $ERROR("#187: Error matching character class \w between character bb00 and bbff"); -} - -var i188 = ""; -for (var j = 48128; j < 48384; j++) - i188 += String.fromCharCode(j); -var o188 = i188; -if (i188.replace(/\w+/g, "") !== o188) { - $ERROR("#188: Error matching character class \w between character bc00 and bcff"); -} - -var i189 = ""; -for (var j = 48384; j < 48640; j++) - i189 += String.fromCharCode(j); -var o189 = i189; -if (i189.replace(/\w+/g, "") !== o189) { - $ERROR("#189: Error matching character class \w between character bd00 and bdff"); -} - -var i190 = ""; -for (var j = 48640; j < 48896; j++) - i190 += String.fromCharCode(j); -var o190 = i190; -if (i190.replace(/\w+/g, "") !== o190) { - $ERROR("#190: Error matching character class \w between character be00 and beff"); -} - -var i191 = ""; -for (var j = 48896; j < 49152; j++) - i191 += String.fromCharCode(j); -var o191 = i191; -if (i191.replace(/\w+/g, "") !== o191) { - $ERROR("#191: Error matching character class \w between character bf00 and bfff"); -} - -var i192 = ""; -for (var j = 49152; j < 49408; j++) - i192 += String.fromCharCode(j); -var o192 = i192; -if (i192.replace(/\w+/g, "") !== o192) { - $ERROR("#192: Error matching character class \w between character c000 and c0ff"); -} - -var i193 = ""; -for (var j = 49408; j < 49664; j++) - i193 += String.fromCharCode(j); -var o193 = i193; -if (i193.replace(/\w+/g, "") !== o193) { - $ERROR("#193: Error matching character class \w between character c100 and c1ff"); -} - -var i194 = ""; -for (var j = 49664; j < 49920; j++) - i194 += String.fromCharCode(j); -var o194 = i194; -if (i194.replace(/\w+/g, "") !== o194) { - $ERROR("#194: Error matching character class \w between character c200 and c2ff"); -} - -var i195 = ""; -for (var j = 49920; j < 50176; j++) - i195 += String.fromCharCode(j); -var o195 = i195; -if (i195.replace(/\w+/g, "") !== o195) { - $ERROR("#195: Error matching character class \w between character c300 and c3ff"); -} - -var i196 = ""; -for (var j = 50176; j < 50432; j++) - i196 += String.fromCharCode(j); -var o196 = i196; -if (i196.replace(/\w+/g, "") !== o196) { - $ERROR("#196: Error matching character class \w between character c400 and c4ff"); -} - -var i197 = ""; -for (var j = 50432; j < 50688; j++) - i197 += String.fromCharCode(j); -var o197 = i197; -if (i197.replace(/\w+/g, "") !== o197) { - $ERROR("#197: Error matching character class \w between character c500 and c5ff"); -} - -var i198 = ""; -for (var j = 50688; j < 50944; j++) - i198 += String.fromCharCode(j); -var o198 = i198; -if (i198.replace(/\w+/g, "") !== o198) { - $ERROR("#198: Error matching character class \w between character c600 and c6ff"); -} - -var i199 = ""; -for (var j = 50944; j < 51200; j++) - i199 += String.fromCharCode(j); -var o199 = i199; -if (i199.replace(/\w+/g, "") !== o199) { - $ERROR("#199: Error matching character class \w between character c700 and c7ff"); -} - -var i200 = ""; -for (var j = 51200; j < 51456; j++) - i200 += String.fromCharCode(j); -var o200 = i200; -if (i200.replace(/\w+/g, "") !== o200) { - $ERROR("#200: Error matching character class \w between character c800 and c8ff"); -} - -var i201 = ""; -for (var j = 51456; j < 51712; j++) - i201 += String.fromCharCode(j); -var o201 = i201; -if (i201.replace(/\w+/g, "") !== o201) { - $ERROR("#201: Error matching character class \w between character c900 and c9ff"); -} - -var i202 = ""; -for (var j = 51712; j < 51968; j++) - i202 += String.fromCharCode(j); -var o202 = i202; -if (i202.replace(/\w+/g, "") !== o202) { - $ERROR("#202: Error matching character class \w between character ca00 and caff"); -} - -var i203 = ""; -for (var j = 51968; j < 52224; j++) - i203 += String.fromCharCode(j); -var o203 = i203; -if (i203.replace(/\w+/g, "") !== o203) { - $ERROR("#203: Error matching character class \w between character cb00 and cbff"); -} - -var i204 = ""; -for (var j = 52224; j < 52480; j++) - i204 += String.fromCharCode(j); -var o204 = i204; -if (i204.replace(/\w+/g, "") !== o204) { - $ERROR("#204: Error matching character class \w between character cc00 and ccff"); -} - -var i205 = ""; -for (var j = 52480; j < 52736; j++) - i205 += String.fromCharCode(j); -var o205 = i205; -if (i205.replace(/\w+/g, "") !== o205) { - $ERROR("#205: Error matching character class \w between character cd00 and cdff"); -} - -var i206 = ""; -for (var j = 52736; j < 52992; j++) - i206 += String.fromCharCode(j); -var o206 = i206; -if (i206.replace(/\w+/g, "") !== o206) { - $ERROR("#206: Error matching character class \w between character ce00 and ceff"); -} - -var i207 = ""; -for (var j = 52992; j < 53248; j++) - i207 += String.fromCharCode(j); -var o207 = i207; -if (i207.replace(/\w+/g, "") !== o207) { - $ERROR("#207: Error matching character class \w between character cf00 and cfff"); -} - -var i208 = ""; -for (var j = 53248; j < 53504; j++) - i208 += String.fromCharCode(j); -var o208 = i208; -if (i208.replace(/\w+/g, "") !== o208) { - $ERROR("#208: Error matching character class \w between character d000 and d0ff"); -} - -var i209 = ""; -for (var j = 53504; j < 53760; j++) - i209 += String.fromCharCode(j); -var o209 = i209; -if (i209.replace(/\w+/g, "") !== o209) { - $ERROR("#209: Error matching character class \w between character d100 and d1ff"); -} - -var i210 = ""; -for (var j = 53760; j < 54016; j++) - i210 += String.fromCharCode(j); -var o210 = i210; -if (i210.replace(/\w+/g, "") !== o210) { - $ERROR("#210: Error matching character class \w between character d200 and d2ff"); -} - -var i211 = ""; -for (var j = 54016; j < 54272; j++) - i211 += String.fromCharCode(j); -var o211 = i211; -if (i211.replace(/\w+/g, "") !== o211) { - $ERROR("#211: Error matching character class \w between character d300 and d3ff"); -} - -var i212 = ""; -for (var j = 54272; j < 54528; j++) - i212 += String.fromCharCode(j); -var o212 = i212; -if (i212.replace(/\w+/g, "") !== o212) { - $ERROR("#212: Error matching character class \w between character d400 and d4ff"); -} - -var i213 = ""; -for (var j = 54528; j < 54784; j++) - i213 += String.fromCharCode(j); -var o213 = i213; -if (i213.replace(/\w+/g, "") !== o213) { - $ERROR("#213: Error matching character class \w between character d500 and d5ff"); -} - -var i214 = ""; -for (var j = 54784; j < 55040; j++) - i214 += String.fromCharCode(j); -var o214 = i214; -if (i214.replace(/\w+/g, "") !== o214) { - $ERROR("#214: Error matching character class \w between character d600 and d6ff"); -} - -var i215 = ""; -for (var j = 55040; j < 55296; j++) - i215 += String.fromCharCode(j); -var o215 = i215; -if (i215.replace(/\w+/g, "") !== o215) { - $ERROR("#215: Error matching character class \w between character d700 and d7ff"); -} - -var i216 = ""; -for (var j = 55296; j < 55552; j++) - i216 += String.fromCharCode(j); -var o216 = i216; -if (i216.replace(/\w+/g, "") !== o216) { - $ERROR("#216: Error matching character class \w between character d800 and d8ff"); -} - -var i217 = ""; -for (var j = 55552; j < 55808; j++) - i217 += String.fromCharCode(j); -var o217 = i217; -if (i217.replace(/\w+/g, "") !== o217) { - $ERROR("#217: Error matching character class \w between character d900 and d9ff"); -} - -var i218 = ""; -for (var j = 55808; j < 56064; j++) - i218 += String.fromCharCode(j); -var o218 = i218; -if (i218.replace(/\w+/g, "") !== o218) { - $ERROR("#218: Error matching character class \w between character da00 and daff"); -} - -var i219 = ""; -for (var j = 56064; j < 56320; j++) - i219 += String.fromCharCode(j); -var o219 = i219; -if (i219.replace(/\w+/g, "") !== o219) { - $ERROR("#219: Error matching character class \w between character db00 and dbff"); -} - -var i220 = ""; -for (var j = 56320; j < 56576; j++) - i220 += String.fromCharCode(j); -var o220 = i220; -if (i220.replace(/\w+/g, "") !== o220) { - $ERROR("#220: Error matching character class \w between character dc00 and dcff"); -} - -var i221 = ""; -for (var j = 56576; j < 56832; j++) - i221 += String.fromCharCode(j); -var o221 = i221; -if (i221.replace(/\w+/g, "") !== o221) { - $ERROR("#221: Error matching character class \w between character dd00 and ddff"); -} - -var i222 = ""; -for (var j = 56832; j < 57088; j++) - i222 += String.fromCharCode(j); -var o222 = i222; -if (i222.replace(/\w+/g, "") !== o222) { - $ERROR("#222: Error matching character class \w between character de00 and deff"); -} - -var i223 = ""; -for (var j = 57088; j < 57344; j++) - i223 += String.fromCharCode(j); -var o223 = i223; -if (i223.replace(/\w+/g, "") !== o223) { - $ERROR("#223: Error matching character class \w between character df00 and dfff"); -} - -var i224 = ""; -for (var j = 57344; j < 57600; j++) - i224 += String.fromCharCode(j); -var o224 = i224; -if (i224.replace(/\w+/g, "") !== o224) { - $ERROR("#224: Error matching character class \w between character e000 and e0ff"); -} - -var i225 = ""; -for (var j = 57600; j < 57856; j++) - i225 += String.fromCharCode(j); -var o225 = i225; -if (i225.replace(/\w+/g, "") !== o225) { - $ERROR("#225: Error matching character class \w between character e100 and e1ff"); -} - -var i226 = ""; -for (var j = 57856; j < 58112; j++) - i226 += String.fromCharCode(j); -var o226 = i226; -if (i226.replace(/\w+/g, "") !== o226) { - $ERROR("#226: Error matching character class \w between character e200 and e2ff"); -} - -var i227 = ""; -for (var j = 58112; j < 58368; j++) - i227 += String.fromCharCode(j); -var o227 = i227; -if (i227.replace(/\w+/g, "") !== o227) { - $ERROR("#227: Error matching character class \w between character e300 and e3ff"); -} - -var i228 = ""; -for (var j = 58368; j < 58624; j++) - i228 += String.fromCharCode(j); -var o228 = i228; -if (i228.replace(/\w+/g, "") !== o228) { - $ERROR("#228: Error matching character class \w between character e400 and e4ff"); -} - -var i229 = ""; -for (var j = 58624; j < 58880; j++) - i229 += String.fromCharCode(j); -var o229 = i229; -if (i229.replace(/\w+/g, "") !== o229) { - $ERROR("#229: Error matching character class \w between character e500 and e5ff"); -} - -var i230 = ""; -for (var j = 58880; j < 59136; j++) - i230 += String.fromCharCode(j); -var o230 = i230; -if (i230.replace(/\w+/g, "") !== o230) { - $ERROR("#230: Error matching character class \w between character e600 and e6ff"); -} - -var i231 = ""; -for (var j = 59136; j < 59392; j++) - i231 += String.fromCharCode(j); -var o231 = i231; -if (i231.replace(/\w+/g, "") !== o231) { - $ERROR("#231: Error matching character class \w between character e700 and e7ff"); -} - -var i232 = ""; -for (var j = 59392; j < 59648; j++) - i232 += String.fromCharCode(j); -var o232 = i232; -if (i232.replace(/\w+/g, "") !== o232) { - $ERROR("#232: Error matching character class \w between character e800 and e8ff"); -} - -var i233 = ""; -for (var j = 59648; j < 59904; j++) - i233 += String.fromCharCode(j); -var o233 = i233; -if (i233.replace(/\w+/g, "") !== o233) { - $ERROR("#233: Error matching character class \w between character e900 and e9ff"); -} - -var i234 = ""; -for (var j = 59904; j < 60160; j++) - i234 += String.fromCharCode(j); -var o234 = i234; -if (i234.replace(/\w+/g, "") !== o234) { - $ERROR("#234: Error matching character class \w between character ea00 and eaff"); -} - -var i235 = ""; -for (var j = 60160; j < 60416; j++) - i235 += String.fromCharCode(j); -var o235 = i235; -if (i235.replace(/\w+/g, "") !== o235) { - $ERROR("#235: Error matching character class \w between character eb00 and ebff"); -} - -var i236 = ""; -for (var j = 60416; j < 60672; j++) - i236 += String.fromCharCode(j); -var o236 = i236; -if (i236.replace(/\w+/g, "") !== o236) { - $ERROR("#236: Error matching character class \w between character ec00 and ecff"); -} - -var i237 = ""; -for (var j = 60672; j < 60928; j++) - i237 += String.fromCharCode(j); -var o237 = i237; -if (i237.replace(/\w+/g, "") !== o237) { - $ERROR("#237: Error matching character class \w between character ed00 and edff"); -} - -var i238 = ""; -for (var j = 60928; j < 61184; j++) - i238 += String.fromCharCode(j); -var o238 = i238; -if (i238.replace(/\w+/g, "") !== o238) { - $ERROR("#238: Error matching character class \w between character ee00 and eeff"); -} - -var i239 = ""; -for (var j = 61184; j < 61440; j++) - i239 += String.fromCharCode(j); -var o239 = i239; -if (i239.replace(/\w+/g, "") !== o239) { - $ERROR("#239: Error matching character class \w between character ef00 and efff"); -} - -var i240 = ""; -for (var j = 61440; j < 61696; j++) - i240 += String.fromCharCode(j); -var o240 = i240; -if (i240.replace(/\w+/g, "") !== o240) { - $ERROR("#240: Error matching character class \w between character f000 and f0ff"); -} - -var i241 = ""; -for (var j = 61696; j < 61952; j++) - i241 += String.fromCharCode(j); -var o241 = i241; -if (i241.replace(/\w+/g, "") !== o241) { - $ERROR("#241: Error matching character class \w between character f100 and f1ff"); -} - -var i242 = ""; -for (var j = 61952; j < 62208; j++) - i242 += String.fromCharCode(j); -var o242 = i242; -if (i242.replace(/\w+/g, "") !== o242) { - $ERROR("#242: Error matching character class \w between character f200 and f2ff"); -} - -var i243 = ""; -for (var j = 62208; j < 62464; j++) - i243 += String.fromCharCode(j); -var o243 = i243; -if (i243.replace(/\w+/g, "") !== o243) { - $ERROR("#243: Error matching character class \w between character f300 and f3ff"); -} - -var i244 = ""; -for (var j = 62464; j < 62720; j++) - i244 += String.fromCharCode(j); -var o244 = i244; -if (i244.replace(/\w+/g, "") !== o244) { - $ERROR("#244: Error matching character class \w between character f400 and f4ff"); -} - -var i245 = ""; -for (var j = 62720; j < 62976; j++) - i245 += String.fromCharCode(j); -var o245 = i245; -if (i245.replace(/\w+/g, "") !== o245) { - $ERROR("#245: Error matching character class \w between character f500 and f5ff"); -} - -var i246 = ""; -for (var j = 62976; j < 63232; j++) - i246 += String.fromCharCode(j); -var o246 = i246; -if (i246.replace(/\w+/g, "") !== o246) { - $ERROR("#246: Error matching character class \w between character f600 and f6ff"); -} - -var i247 = ""; -for (var j = 63232; j < 63488; j++) - i247 += String.fromCharCode(j); -var o247 = i247; -if (i247.replace(/\w+/g, "") !== o247) { - $ERROR("#247: Error matching character class \w between character f700 and f7ff"); -} - -var i248 = ""; -for (var j = 63488; j < 63744; j++) - i248 += String.fromCharCode(j); -var o248 = i248; -if (i248.replace(/\w+/g, "") !== o248) { - $ERROR("#248: Error matching character class \w between character f800 and f8ff"); -} - -var i249 = ""; -for (var j = 63744; j < 64000; j++) - i249 += String.fromCharCode(j); -var o249 = i249; -if (i249.replace(/\w+/g, "") !== o249) { - $ERROR("#249: Error matching character class \w between character f900 and f9ff"); -} - -var i250 = ""; -for (var j = 64000; j < 64256; j++) - i250 += String.fromCharCode(j); -var o250 = i250; -if (i250.replace(/\w+/g, "") !== o250) { - $ERROR("#250: Error matching character class \w between character fa00 and faff"); -} - -var i251 = ""; -for (var j = 64256; j < 64512; j++) - i251 += String.fromCharCode(j); -var o251 = i251; -if (i251.replace(/\w+/g, "") !== o251) { - $ERROR("#251: Error matching character class \w between character fb00 and fbff"); -} - -var i252 = ""; -for (var j = 64512; j < 64768; j++) - i252 += String.fromCharCode(j); -var o252 = i252; -if (i252.replace(/\w+/g, "") !== o252) { - $ERROR("#252: Error matching character class \w between character fc00 and fcff"); -} - -var i253 = ""; -for (var j = 64768; j < 65024; j++) - i253 += String.fromCharCode(j); -var o253 = i253; -if (i253.replace(/\w+/g, "") !== o253) { - $ERROR("#253: Error matching character class \w between character fd00 and fdff"); -} - -var i254 = ""; -for (var j = 65024; j < 65280; j++) - i254 += String.fromCharCode(j); -var o254 = i254; -if (i254.replace(/\w+/g, "") !== o254) { - $ERROR("#254: Error matching character class \w between character fe00 and feff"); -} - -var i255 = ""; -for (var j = 65280; j < 65536; j++) - i255 += String.fromCharCode(j); -var o255 = i255; -if (i255.replace(/\w+/g, "") !== o255) { - $ERROR("#255: Error matching character class \w between character ff00 and ffff"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2.js deleted file mode 100644 index 18a1509945..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A3_T2; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: -* a - z, A - Z, 0 - 9, _; -* @description: a - z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A3_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2.js", - -assertion: "The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters:", - -description: "a - z", - -test: function testcase() { - var regexp_w = /\w/; - -//CHECK#0061-007A -var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_w.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: a - z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3.js deleted file mode 100644 index 3e3d603937..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A3_T3; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: -* a - z, A - Z, 0 - 9, _; -* @description: 0 - 9, _; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A3_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3.js", - -assertion: "The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters:", - -description: "0 - 9, _", - -test: function testcase() { - var regexp_w = /\w/; - -//CHECK#0030-0039 -var result = true; -for (alpha = 0x0030; alpha <= 0x0039; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_w.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: 0 - 9'); -} - -//CHECK#005F -var arr = regexp_w.exec("_"); -if ((arr === null) || (arr[0] !== "\u005F")) { - $ERROR('#2: _'); -} - -//CHECK#0020 -if (regexp_w.exec(" ") !== null) { - $ERROR('#3: '); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4.js deleted file mode 100644 index 2e4c48482f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A3_T4; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: -* a - z, A - Z, 0 - 9, _; -* @description: RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A3_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4.js", - -assertion: "The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters:", - -description: "RUSSIAN ALPHABET", - -test: function testcase() { - var regexp_w = /\w/; - -//CHECK#0410-042F -var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - if (regexp_w.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: RUSSIAN CAPITAL ALPHABET'); -} - -//CHECK#0430-044F -var result = true; -for (alpha = 0x0430; alpha <= 0x044F; alpha++) { - if (regexp_w.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: russian small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5.js deleted file mode 100644 index dff9e64d16..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A3_T5; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: -* a - z, A - Z, 0 - 9, _; -* @description: non-w; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A3_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5.js", - -assertion: "The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters:", - -description: "non-w", - -test: function testcase() { - //CHECK#1 -var non_w = "\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; -if (/\w/.exec(non_w) !== null) { - $ERROR('#1: non-w'); -} - -//CHECK#2 -var non_W = "_0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; -var regexp_w = /\w/g; -var k = 0; -while (regexp_w.exec(non_W) !== null) { - k++; -} - -if (non_W.length !== k) { - $ERROR('#2: non-W'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1.js deleted file mode 100644 index 30e9a35a55..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1.js +++ /dev/null @@ -1,539 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A4_T1; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not -* included in the set returned by CharacterClassEscape :: w; -* @description: A - Z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A4_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1.js", - -assertion: "The production CharacterClassEscape :: W evaluates by returning the set of all characters not", - -description: "A - Z", - -test: function testcase() { - var i0 = ""; -for (var j = 0; j < 1024; j++) - i0 += String.fromCharCode(j); -var o0 = "\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004A\u004B\u004C\u004D\u004E\u004F\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005A\u005F\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006A\u006B\u006C\u006D\u006E\u006F\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007A"; -if (i0.replace(/\W+/g, "") !== o0) { - $ERROR("#0: Error matching character class \W between character 0 and 3ff"); -} - -var i1 = ""; -for (var j = 1024; j < 2048; j++) - i1 += String.fromCharCode(j); -var o1 = ""; -if (i1.replace(/\W+/g, "") !== o1) { - $ERROR("#1: Error matching character class \W between character 400 and 7ff"); -} - -var i2 = ""; -for (var j = 2048; j < 3072; j++) - i2 += String.fromCharCode(j); -var o2 = ""; -if (i2.replace(/\W+/g, "") !== o2) { - $ERROR("#2: Error matching character class \W between character 800 and bff"); -} - -var i3 = ""; -for (var j = 3072; j < 4096; j++) - i3 += String.fromCharCode(j); -var o3 = ""; -if (i3.replace(/\W+/g, "") !== o3) { - $ERROR("#3: Error matching character class \W between character c00 and fff"); -} - -var i4 = ""; -for (var j = 4096; j < 5120; j++) - i4 += String.fromCharCode(j); -var o4 = ""; -if (i4.replace(/\W+/g, "") !== o4) { - $ERROR("#4: Error matching character class \W between character 1000 and 13ff"); -} - -var i5 = ""; -for (var j = 5120; j < 6144; j++) - i5 += String.fromCharCode(j); -var o5 = ""; -if (i5.replace(/\W+/g, "") !== o5) { - $ERROR("#5: Error matching character class \W between character 1400 and 17ff"); -} - -var i6 = ""; -for (var j = 6144; j < 7168; j++) - i6 += String.fromCharCode(j); -var o6 = ""; -if (i6.replace(/\W+/g, "") !== o6) { - $ERROR("#6: Error matching character class \W between character 1800 and 1bff"); -} - -var i7 = ""; -for (var j = 7168; j < 8192; j++) - i7 += String.fromCharCode(j); -var o7 = ""; -if (i7.replace(/\W+/g, "") !== o7) { - $ERROR("#7: Error matching character class \W between character 1c00 and 1fff"); -} - -var i8 = ""; -for (var j = 8192; j < 9216; j++) - i8 += String.fromCharCode(j); -var o8 = ""; -if (i8.replace(/\W+/g, "") !== o8) { - $ERROR("#8: Error matching character class \W between character 2000 and 23ff"); -} - -var i9 = ""; -for (var j = 9216; j < 10240; j++) - i9 += String.fromCharCode(j); -var o9 = ""; -if (i9.replace(/\W+/g, "") !== o9) { - $ERROR("#9: Error matching character class \W between character 2400 and 27ff"); -} - -var i10 = ""; -for (var j = 10240; j < 11264; j++) - i10 += String.fromCharCode(j); -var o10 = ""; -if (i10.replace(/\W+/g, "") !== o10) { - $ERROR("#10: Error matching character class \W between character 2800 and 2bff"); -} - -var i11 = ""; -for (var j = 11264; j < 12288; j++) - i11 += String.fromCharCode(j); -var o11 = ""; -if (i11.replace(/\W+/g, "") !== o11) { - $ERROR("#11: Error matching character class \W between character 2c00 and 2fff"); -} - -var i12 = ""; -for (var j = 12288; j < 13312; j++) - i12 += String.fromCharCode(j); -var o12 = ""; -if (i12.replace(/\W+/g, "") !== o12) { - $ERROR("#12: Error matching character class \W between character 3000 and 33ff"); -} - -var i13 = ""; -for (var j = 13312; j < 14336; j++) - i13 += String.fromCharCode(j); -var o13 = ""; -if (i13.replace(/\W+/g, "") !== o13) { - $ERROR("#13: Error matching character class \W between character 3400 and 37ff"); -} - -var i14 = ""; -for (var j = 14336; j < 15360; j++) - i14 += String.fromCharCode(j); -var o14 = ""; -if (i14.replace(/\W+/g, "") !== o14) { - $ERROR("#14: Error matching character class \W between character 3800 and 3bff"); -} - -var i15 = ""; -for (var j = 15360; j < 16384; j++) - i15 += String.fromCharCode(j); -var o15 = ""; -if (i15.replace(/\W+/g, "") !== o15) { - $ERROR("#15: Error matching character class \W between character 3c00 and 3fff"); -} - -var i16 = ""; -for (var j = 16384; j < 17408; j++) - i16 += String.fromCharCode(j); -var o16 = ""; -if (i16.replace(/\W+/g, "") !== o16) { - $ERROR("#16: Error matching character class \W between character 4000 and 43ff"); -} - -var i17 = ""; -for (var j = 17408; j < 18432; j++) - i17 += String.fromCharCode(j); -var o17 = ""; -if (i17.replace(/\W+/g, "") !== o17) { - $ERROR("#17: Error matching character class \W between character 4400 and 47ff"); -} - -var i18 = ""; -for (var j = 18432; j < 19456; j++) - i18 += String.fromCharCode(j); -var o18 = ""; -if (i18.replace(/\W+/g, "") !== o18) { - $ERROR("#18: Error matching character class \W between character 4800 and 4bff"); -} - -var i19 = ""; -for (var j = 19456; j < 20480; j++) - i19 += String.fromCharCode(j); -var o19 = ""; -if (i19.replace(/\W+/g, "") !== o19) { - $ERROR("#19: Error matching character class \W between character 4c00 and 4fff"); -} - -var i20 = ""; -for (var j = 20480; j < 21504; j++) - i20 += String.fromCharCode(j); -var o20 = ""; -if (i20.replace(/\W+/g, "") !== o20) { - $ERROR("#20: Error matching character class \W between character 5000 and 53ff"); -} - -var i21 = ""; -for (var j = 21504; j < 22528; j++) - i21 += String.fromCharCode(j); -var o21 = ""; -if (i21.replace(/\W+/g, "") !== o21) { - $ERROR("#21: Error matching character class \W between character 5400 and 57ff"); -} - -var i22 = ""; -for (var j = 22528; j < 23552; j++) - i22 += String.fromCharCode(j); -var o22 = ""; -if (i22.replace(/\W+/g, "") !== o22) { - $ERROR("#22: Error matching character class \W between character 5800 and 5bff"); -} - -var i23 = ""; -for (var j = 23552; j < 24576; j++) - i23 += String.fromCharCode(j); -var o23 = ""; -if (i23.replace(/\W+/g, "") !== o23) { - $ERROR("#23: Error matching character class \W between character 5c00 and 5fff"); -} - -var i24 = ""; -for (var j = 24576; j < 25600; j++) - i24 += String.fromCharCode(j); -var o24 = ""; -if (i24.replace(/\W+/g, "") !== o24) { - $ERROR("#24: Error matching character class \W between character 6000 and 63ff"); -} - -var i25 = ""; -for (var j = 25600; j < 26624; j++) - i25 += String.fromCharCode(j); -var o25 = ""; -if (i25.replace(/\W+/g, "") !== o25) { - $ERROR("#25: Error matching character class \W between character 6400 and 67ff"); -} - -var i26 = ""; -for (var j = 26624; j < 27648; j++) - i26 += String.fromCharCode(j); -var o26 = ""; -if (i26.replace(/\W+/g, "") !== o26) { - $ERROR("#26: Error matching character class \W between character 6800 and 6bff"); -} - -var i27 = ""; -for (var j = 27648; j < 28672; j++) - i27 += String.fromCharCode(j); -var o27 = ""; -if (i27.replace(/\W+/g, "") !== o27) { - $ERROR("#27: Error matching character class \W between character 6c00 and 6fff"); -} - -var i28 = ""; -for (var j = 28672; j < 29696; j++) - i28 += String.fromCharCode(j); -var o28 = ""; -if (i28.replace(/\W+/g, "") !== o28) { - $ERROR("#28: Error matching character class \W between character 7000 and 73ff"); -} - -var i29 = ""; -for (var j = 29696; j < 30720; j++) - i29 += String.fromCharCode(j); -var o29 = ""; -if (i29.replace(/\W+/g, "") !== o29) { - $ERROR("#29: Error matching character class \W between character 7400 and 77ff"); -} - -var i30 = ""; -for (var j = 30720; j < 31744; j++) - i30 += String.fromCharCode(j); -var o30 = ""; -if (i30.replace(/\W+/g, "") !== o30) { - $ERROR("#30: Error matching character class \W between character 7800 and 7bff"); -} - -var i31 = ""; -for (var j = 31744; j < 32768; j++) - i31 += String.fromCharCode(j); -var o31 = ""; -if (i31.replace(/\W+/g, "") !== o31) { - $ERROR("#31: Error matching character class \W between character 7c00 and 7fff"); -} - -var i32 = ""; -for (var j = 32768; j < 33792; j++) - i32 += String.fromCharCode(j); -var o32 = ""; -if (i32.replace(/\W+/g, "") !== o32) { - $ERROR("#32: Error matching character class \W between character 8000 and 83ff"); -} - -var i33 = ""; -for (var j = 33792; j < 34816; j++) - i33 += String.fromCharCode(j); -var o33 = ""; -if (i33.replace(/\W+/g, "") !== o33) { - $ERROR("#33: Error matching character class \W between character 8400 and 87ff"); -} - -var i34 = ""; -for (var j = 34816; j < 35840; j++) - i34 += String.fromCharCode(j); -var o34 = ""; -if (i34.replace(/\W+/g, "") !== o34) { - $ERROR("#34: Error matching character class \W between character 8800 and 8bff"); -} - -var i35 = ""; -for (var j = 35840; j < 36864; j++) - i35 += String.fromCharCode(j); -var o35 = ""; -if (i35.replace(/\W+/g, "") !== o35) { - $ERROR("#35: Error matching character class \W between character 8c00 and 8fff"); -} - -var i36 = ""; -for (var j = 36864; j < 37888; j++) - i36 += String.fromCharCode(j); -var o36 = ""; -if (i36.replace(/\W+/g, "") !== o36) { - $ERROR("#36: Error matching character class \W between character 9000 and 93ff"); -} - -var i37 = ""; -for (var j = 37888; j < 38912; j++) - i37 += String.fromCharCode(j); -var o37 = ""; -if (i37.replace(/\W+/g, "") !== o37) { - $ERROR("#37: Error matching character class \W between character 9400 and 97ff"); -} - -var i38 = ""; -for (var j = 38912; j < 39936; j++) - i38 += String.fromCharCode(j); -var o38 = ""; -if (i38.replace(/\W+/g, "") !== o38) { - $ERROR("#38: Error matching character class \W between character 9800 and 9bff"); -} - -var i39 = ""; -for (var j = 39936; j < 40960; j++) - i39 += String.fromCharCode(j); -var o39 = ""; -if (i39.replace(/\W+/g, "") !== o39) { - $ERROR("#39: Error matching character class \W between character 9c00 and 9fff"); -} - -var i40 = ""; -for (var j = 40960; j < 41984; j++) - i40 += String.fromCharCode(j); -var o40 = ""; -if (i40.replace(/\W+/g, "") !== o40) { - $ERROR("#40: Error matching character class \W between character a000 and a3ff"); -} - -var i41 = ""; -for (var j = 41984; j < 43008; j++) - i41 += String.fromCharCode(j); -var o41 = ""; -if (i41.replace(/\W+/g, "") !== o41) { - $ERROR("#41: Error matching character class \W between character a400 and a7ff"); -} - -var i42 = ""; -for (var j = 43008; j < 44032; j++) - i42 += String.fromCharCode(j); -var o42 = ""; -if (i42.replace(/\W+/g, "") !== o42) { - $ERROR("#42: Error matching character class \W between character a800 and abff"); -} - -var i43 = ""; -for (var j = 44032; j < 45056; j++) - i43 += String.fromCharCode(j); -var o43 = ""; -if (i43.replace(/\W+/g, "") !== o43) { - $ERROR("#43: Error matching character class \W between character ac00 and afff"); -} - -var i44 = ""; -for (var j = 45056; j < 46080; j++) - i44 += String.fromCharCode(j); -var o44 = ""; -if (i44.replace(/\W+/g, "") !== o44) { - $ERROR("#44: Error matching character class \W between character b000 and b3ff"); -} - -var i45 = ""; -for (var j = 46080; j < 47104; j++) - i45 += String.fromCharCode(j); -var o45 = ""; -if (i45.replace(/\W+/g, "") !== o45) { - $ERROR("#45: Error matching character class \W between character b400 and b7ff"); -} - -var i46 = ""; -for (var j = 47104; j < 48128; j++) - i46 += String.fromCharCode(j); -var o46 = ""; -if (i46.replace(/\W+/g, "") !== o46) { - $ERROR("#46: Error matching character class \W between character b800 and bbff"); -} - -var i47 = ""; -for (var j = 48128; j < 49152; j++) - i47 += String.fromCharCode(j); -var o47 = ""; -if (i47.replace(/\W+/g, "") !== o47) { - $ERROR("#47: Error matching character class \W between character bc00 and bfff"); -} - -var i48 = ""; -for (var j = 49152; j < 50176; j++) - i48 += String.fromCharCode(j); -var o48 = ""; -if (i48.replace(/\W+/g, "") !== o48) { - $ERROR("#48: Error matching character class \W between character c000 and c3ff"); -} - -var i49 = ""; -for (var j = 50176; j < 51200; j++) - i49 += String.fromCharCode(j); -var o49 = ""; -if (i49.replace(/\W+/g, "") !== o49) { - $ERROR("#49: Error matching character class \W between character c400 and c7ff"); -} - -var i50 = ""; -for (var j = 51200; j < 52224; j++) - i50 += String.fromCharCode(j); -var o50 = ""; -if (i50.replace(/\W+/g, "") !== o50) { - $ERROR("#50: Error matching character class \W between character c800 and cbff"); -} - -var i51 = ""; -for (var j = 52224; j < 53248; j++) - i51 += String.fromCharCode(j); -var o51 = ""; -if (i51.replace(/\W+/g, "") !== o51) { - $ERROR("#51: Error matching character class \W between character cc00 and cfff"); -} - -var i52 = ""; -for (var j = 53248; j < 54272; j++) - i52 += String.fromCharCode(j); -var o52 = ""; -if (i52.replace(/\W+/g, "") !== o52) { - $ERROR("#52: Error matching character class \W between character d000 and d3ff"); -} - -var i53 = ""; -for (var j = 54272; j < 55296; j++) - i53 += String.fromCharCode(j); -var o53 = ""; -if (i53.replace(/\W+/g, "") !== o53) { - $ERROR("#53: Error matching character class \W between character d400 and d7ff"); -} - -var i54 = ""; -for (var j = 55296; j < 56320; j++) - i54 += String.fromCharCode(j); -var o54 = ""; -if (i54.replace(/\W+/g, "") !== o54) { - $ERROR("#54: Error matching character class \W between character d800 and dbff"); -} - -var i55 = ""; -for (var j = 56320; j < 57344; j++) - i55 += String.fromCharCode(j); -var o55 = ""; -if (i55.replace(/\W+/g, "") !== o55) { - $ERROR("#55: Error matching character class \W between character dc00 and dfff"); -} - -var i56 = ""; -for (var j = 57344; j < 58368; j++) - i56 += String.fromCharCode(j); -var o56 = ""; -if (i56.replace(/\W+/g, "") !== o56) { - $ERROR("#56: Error matching character class \W between character e000 and e3ff"); -} - -var i57 = ""; -for (var j = 58368; j < 59392; j++) - i57 += String.fromCharCode(j); -var o57 = ""; -if (i57.replace(/\W+/g, "") !== o57) { - $ERROR("#57: Error matching character class \W between character e400 and e7ff"); -} - -var i58 = ""; -for (var j = 59392; j < 60416; j++) - i58 += String.fromCharCode(j); -var o58 = ""; -if (i58.replace(/\W+/g, "") !== o58) { - $ERROR("#58: Error matching character class \W between character e800 and ebff"); -} - -var i59 = ""; -for (var j = 60416; j < 61440; j++) - i59 += String.fromCharCode(j); -var o59 = ""; -if (i59.replace(/\W+/g, "") !== o59) { - $ERROR("#59: Error matching character class \W between character ec00 and efff"); -} - -var i60 = ""; -for (var j = 61440; j < 62464; j++) - i60 += String.fromCharCode(j); -var o60 = ""; -if (i60.replace(/\W+/g, "") !== o60) { - $ERROR("#60: Error matching character class \W between character f000 and f3ff"); -} - -var i61 = ""; -for (var j = 62464; j < 63488; j++) - i61 += String.fromCharCode(j); -var o61 = ""; -if (i61.replace(/\W+/g, "") !== o61) { - $ERROR("#61: Error matching character class \W between character f400 and f7ff"); -} - -var i62 = ""; -for (var j = 63488; j < 64512; j++) - i62 += String.fromCharCode(j); -var o62 = ""; -if (i62.replace(/\W+/g, "") !== o62) { - $ERROR("#62: Error matching character class \W between character f800 and fbff"); -} - -var i63 = ""; -for (var j = 64512; j < 65536; j++) - i63 += String.fromCharCode(j); -var o63 = ""; -if (i63.replace(/\W+/g, "") !== o63) { - $ERROR("#63: Error matching character class \W between character fc00 and ffff"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2.js deleted file mode 100644 index 7d384b249e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A4_T2; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not -* included in the set returned by CharacterClassEscape :: w; -* @description: a - z; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A4_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2.js", - -assertion: "The production CharacterClassEscape :: W evaluates by returning the set of all characters not", - -description: "a - z", - -test: function testcase() { - var regexp_W = /\W/; - -//CHECK#0061-007A -var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { - if (regexp_W.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: a - z'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js deleted file mode 100644 index 7ffdc6ceda..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A4_T3; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not -* included in the set returned by CharacterClassEscape :: w; -* @description: 0 - 9; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A4_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js", - -assertion: "The production CharacterClassEscape :: W evaluates by returning the set of all characters not", - -description: "0 - 9", - -test: function testcase() { - var regexp_W = /\W/; - -//CHECK#0030-0039 -var result = true; -for (alpha = 0x0030; alpha <= 0x0039; alpha++) { - if (regexp_W.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: 0 - 9'); -} - -//CHECK#005F -if (regexp_W.exec("_") !== null) { - $ERROR('#2: _'); -} - -//CHECK#0020 -var arr = regexp_W.exec(" "); -if ((arr === null) || (arr[0] !== "\u0020")) { - $ERROR('#2: '); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4.js deleted file mode 100644 index 3ace543120..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A4_T4; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not -* included in the set returned by CharacterClassEscape :: w; -* @description: RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A4_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4.js", - -assertion: "The production CharacterClassEscape :: W evaluates by returning the set of all characters not", - -description: "RUSSIAN ALPHABET", - -test: function testcase() { - var regexp_W = /\W/; - -//CHECK#0410-042F -var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_W.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: RUSSIAN CAPITAL ALPHABET'); -} - -//CHECK#0430-044F -var result = true; -for (alpha = 0x0430; alpha <= 0x044F; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_W.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: russian small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5.js deleted file mode 100644 index d1a44cd0ac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A4_T5; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not -* included in the set returned by CharacterClassEscape :: w; -* @description: non-w; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A4_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5.js", - -assertion: "The production CharacterClassEscape :: W evaluates by returning the set of all characters not", - -description: "non-w", - -test: function testcase() { - //CHECK#1 -var non_w = "\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; -var regexp_W = /\W/g; -var k = 0; -while (regexp_W.exec(non_w) !== null) { - k++; -} - -if (non_w.length !== k) { - $ERROR('#1: non-w'); -} - -//CHECK#2 -var non_W = "_0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; -if (/\W/.exec(non_W) !== null) { - $ERROR('#2: non-W'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1.js deleted file mode 100644 index e2a9aa7cc5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1.js +++ /dev/null @@ -1,538 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A5_T1; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive; -* @description: 0 - 9; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A5_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1.js", - -assertion: "The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive", - -description: "0 - 9", - -test: function testcase() { - var i0 = ""; -for (var j = 0; j < 1024; j++) - i0 += String.fromCharCode(j); -var o0 = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u0009\u000A\u000B\u000C\u000D\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\u0020\u0021\u0022\u0023\u0024\u0025\u0026\u0027\u0028\u0029\u002A\u002B\u002C\u002D\u002E\u002F\u003A\u003B\u003C\u003D\u003E\u003F\u0040\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004A\u004B\u004C\u004D\u004E\u004F\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005A\u005B\u005C\u005D\u005E\u005F\u0060\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006A\u006B\u006C\u006D\u006E\u006F\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007A\u007B\u007C\u007D\u007E\u007F\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\u008A\u008B\u008C\u008D\u008E\u008F\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009A\u009B\u009C\u009D\u009E\u009F\u00A0\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AD\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF\u0100\u0101\u0102\u0103\u0104\u0105\u0106\u0107\u0108\u0109\u010A\u010B\u010C\u010D\u010E\u010F\u0110\u0111\u0112\u0113\u0114\u0115\u0116\u0117\u0118\u0119\u011A\u011B\u011C\u011D\u011E\u011F\u0120\u0121\u0122\u0123\u0124\u0125\u0126\u0127\u0128\u0129\u012A\u012B\u012C\u012D\u012E\u012F\u0130\u0131\u0132\u0133\u0134\u0135\u0136\u0137\u0138\u0139\u013A\u013B\u013C\u013D\u013E\u013F\u0140\u0141\u0142\u0143\u0144\u0145\u0146\u0147\u0148\u0149\u014A\u014B\u014C\u014D\u014E\u014F\u0150\u0151\u0152\u0153\u0154\u0155\u0156\u0157\u0158\u0159\u015A\u015B\u015C\u015D\u015E\u015F\u0160\u0161\u0162\u0163\u0164\u0165\u0166\u0167\u0168\u0169\u016A\u016B\u016C\u016D\u016E\u016F\u0170\u0171\u0172\u0173\u0174\u0175\u0176\u0177\u0178\u0179\u017A\u017B\u017C\u017D\u017E\u017F\u0180\u0181\u0182\u0183\u0184\u0185\u0186\u0187\u0188\u0189\u018A\u018B\u018C\u018D\u018E\u018F\u0190\u0191\u0192\u0193\u0194\u0195\u0196\u0197\u0198\u0199\u019A\u019B\u019C\u019D\u019E\u019F\u01A0\u01A1\u01A2\u01A3\u01A4\u01A5\u01A6\u01A7\u01A8\u01A9\u01AA\u01AB\u01AC\u01AD\u01AE\u01AF\u01B0\u01B1\u01B2\u01B3\u01B4\u01B5\u01B6\u01B7\u01B8\u01B9\u01BA\u01BB\u01BC\u01BD\u01BE\u01BF\u01C0\u01C1\u01C2\u01C3\u01C4\u01C5\u01C6\u01C7\u01C8\u01C9\u01CA\u01CB\u01CC\u01CD\u01CE\u01CF\u01D0\u01D1\u01D2\u01D3\u01D4\u01D5\u01D6\u01D7\u01D8\u01D9\u01DA\u01DB\u01DC\u01DD\u01DE\u01DF\u01E0\u01E1\u01E2\u01E3\u01E4\u01E5\u01E6\u01E7\u01E8\u01E9\u01EA\u01EB\u01EC\u01ED\u01EE\u01EF\u01F0\u01F1\u01F2\u01F3\u01F4\u01F5\u01F6\u01F7\u01F8\u01F9\u01FA\u01FB\u01FC\u01FD\u01FE\u01FF\u0200\u0201\u0202\u0203\u0204\u0205\u0206\u0207\u0208\u0209\u020A\u020B\u020C\u020D\u020E\u020F\u0210\u0211\u0212\u0213\u0214\u0215\u0216\u0217\u0218\u0219\u021A\u021B\u021C\u021D\u021E\u021F\u0220\u0221\u0222\u0223\u0224\u0225\u0226\u0227\u0228\u0229\u022A\u022B\u022C\u022D\u022E\u022F\u0230\u0231\u0232\u0233\u0234\u0235\u0236\u0237\u0238\u0239\u023A\u023B\u023C\u023D\u023E\u023F\u0240\u0241\u0242\u0243\u0244\u0245\u0246\u0247\u0248\u0249\u024A\u024B\u024C\u024D\u024E\u024F\u0250\u0251\u0252\u0253\u0254\u0255\u0256\u0257\u0258\u0259\u025A\u025B\u025C\u025D\u025E\u025F\u0260\u0261\u0262\u0263\u0264\u0265\u0266\u0267\u0268\u0269\u026A\u026B\u026C\u026D\u026E\u026F\u0270\u0271\u0272\u0273\u0274\u0275\u0276\u0277\u0278\u0279\u027A\u027B\u027C\u027D\u027E\u027F\u0280\u0281\u0282\u0283\u0284\u0285\u0286\u0287\u0288\u0289\u028A\u028B\u028C\u028D\u028E\u028F\u0290\u0291\u0292\u0293\u0294\u0295\u0296\u0297\u0298\u0299\u029A\u029B\u029C\u029D\u029E\u029F\u02A0\u02A1\u02A2\u02A3\u02A4\u02A5\u02A6\u02A7\u02A8\u02A9\u02AA\u02AB\u02AC\u02AD\u02AE\u02AF\u02B0\u02B1\u02B2\u02B3\u02B4\u02B5\u02B6\u02B7\u02B8\u02B9\u02BA\u02BB\u02BC\u02BD\u02BE\u02BF\u02C0\u02C1\u02C2\u02C3\u02C4\u02C5\u02C6\u02C7\u02C8\u02C9\u02CA\u02CB\u02CC\u02CD\u02CE\u02CF\u02D0\u02D1\u02D2\u02D3\u02D4\u02D5\u02D6\u02D7\u02D8\u02D9\u02DA\u02DB\u02DC\u02DD\u02DE\u02DF\u02E0\u02E1\u02E2\u02E3\u02E4\u02E5\u02E6\u02E7\u02E8\u02E9\u02EA\u02EB\u02EC\u02ED\u02EE\u02EF\u02F0\u02F1\u02F2\u02F3\u02F4\u02F5\u02F6\u02F7\u02F8\u02F9\u02FA\u02FB\u02FC\u02FD\u02FE\u02FF\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030A\u030B\u030C\u030D\u030E\u030F\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031A\u031B\u031C\u031D\u031E\u031F\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032A\u032B\u032C\u032D\u032E\u032F\u0330\u0331\u0332\u0333\u0334\u0335\u0336\u0337\u0338\u0339\u033A\u033B\u033C\u033D\u033E\u033F\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034A\u034B\u034C\u034D\u034E\u034F\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035A\u035B\u035C\u035D\u035E\u035F\u0360\u0361\u0362\u0363\u0364\u0365\u0366\u0367\u0368\u0369\u036A\u036B\u036C\u036D\u036E\u036F\u0370\u0371\u0372\u0373\u0374\u0375\u0376\u0377\u0378\u0379\u037A\u037B\u037C\u037D\u037E\u037F\u0380\u0381\u0382\u0383\u0384\u0385\u0386\u0387\u0388\u0389\u038A\u038B\u038C\u038D\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\u03A2\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\u03CF\u03D0\u03D1\u03D2\u03D3\u03D4\u03D5\u03D6\u03D7\u03D8\u03D9\u03DA\u03DB\u03DC\u03DD\u03DE\u03DF\u03E0\u03E1\u03E2\u03E3\u03E4\u03E5\u03E6\u03E7\u03E8\u03E9\u03EA\u03EB\u03EC\u03ED\u03EE\u03EF\u03F0\u03F1\u03F2\u03F3\u03F4\u03F5\u03F6\u03F7\u03F8\u03F9\u03FA\u03FB\u03FC\u03FD\u03FE\u03FF"; -if (i0.replace(/\d+/g, "") !== o0) { - $ERROR("#0: Error matching character class \d between character 0 and 3ff"); -} - -var i1 = ""; -for (var j = 1024; j < 2048; j++) - i1 += String.fromCharCode(j); -var o1 = i1; -if (i1.replace(/\d+/g, "") !== o1) { - $ERROR("#1: Error matching character class \d between character 400 and 7ff"); -} - -var i2 = ""; -for (var j = 2048; j < 3072; j++) - i2 += String.fromCharCode(j); -var o2 = i2; -if (i2.replace(/\d+/g, "") !== o2) { - $ERROR("#2: Error matching character class \d between character 800 and bff"); -} - -var i3 = ""; -for (var j = 3072; j < 4096; j++) - i3 += String.fromCharCode(j); -var o3 = i3; -if (i3.replace(/\d+/g, "") !== o3) { - $ERROR("#3: Error matching character class \d between character c00 and fff"); -} - -var i4 = ""; -for (var j = 4096; j < 5120; j++) - i4 += String.fromCharCode(j); -var o4 = i4; -if (i4.replace(/\d+/g, "") !== o4) { - $ERROR("#4: Error matching character class \d between character 1000 and 13ff"); -} - -var i5 = ""; -for (var j = 5120; j < 6144; j++) - i5 += String.fromCharCode(j); -var o5 = i5; -if (i5.replace(/\d+/g, "") !== o5) { - $ERROR("#5: Error matching character class \d between character 1400 and 17ff"); -} - -var i6 = ""; -for (var j = 6144; j < 7168; j++) - i6 += String.fromCharCode(j); -var o6 = i6; -if (i6.replace(/\d+/g, "") !== o6) { - $ERROR("#6: Error matching character class \d between character 1800 and 1bff"); -} - -var i7 = ""; -for (var j = 7168; j < 8192; j++) - i7 += String.fromCharCode(j); -var o7 = i7; -if (i7.replace(/\d+/g, "") !== o7) { - $ERROR("#7: Error matching character class \d between character 1c00 and 1fff"); -} - -var i8 = ""; -for (var j = 8192; j < 9216; j++) - i8 += String.fromCharCode(j); -var o8 = i8; -if (i8.replace(/\d+/g, "") !== o8) { - $ERROR("#8: Error matching character class \d between character 2000 and 23ff"); -} - -var i9 = ""; -for (var j = 9216; j < 10240; j++) - i9 += String.fromCharCode(j); -var o9 = i9; -if (i9.replace(/\d+/g, "") !== o9) { - $ERROR("#9: Error matching character class \d between character 2400 and 27ff"); -} - -var i10 = ""; -for (var j = 10240; j < 11264; j++) - i10 += String.fromCharCode(j); -var o10 = i10; -if (i10.replace(/\d+/g, "") !== o10) { - $ERROR("#10: Error matching character class \d between character 2800 and 2bff"); -} - -var i11 = ""; -for (var j = 11264; j < 12288; j++) - i11 += String.fromCharCode(j); -var o11 = i11; -if (i11.replace(/\d+/g, "") !== o11) { - $ERROR("#11: Error matching character class \d between character 2c00 and 2fff"); -} - -var i12 = ""; -for (var j = 12288; j < 13312; j++) - i12 += String.fromCharCode(j); -var o12 = i12; -if (i12.replace(/\d+/g, "") !== o12) { - $ERROR("#12: Error matching character class \d between character 3000 and 33ff"); -} - -var i13 = ""; -for (var j = 13312; j < 14336; j++) - i13 += String.fromCharCode(j); -var o13 = i13; -if (i13.replace(/\d+/g, "") !== o13) { - $ERROR("#13: Error matching character class \d between character 3400 and 37ff"); -} - -var i14 = ""; -for (var j = 14336; j < 15360; j++) - i14 += String.fromCharCode(j); -var o14 = i14; -if (i14.replace(/\d+/g, "") !== o14) { - $ERROR("#14: Error matching character class \d between character 3800 and 3bff"); -} - -var i15 = ""; -for (var j = 15360; j < 16384; j++) - i15 += String.fromCharCode(j); -var o15 = i15; -if (i15.replace(/\d+/g, "") !== o15) { - $ERROR("#15: Error matching character class \d between character 3c00 and 3fff"); -} - -var i16 = ""; -for (var j = 16384; j < 17408; j++) - i16 += String.fromCharCode(j); -var o16 = i16; -if (i16.replace(/\d+/g, "") !== o16) { - $ERROR("#16: Error matching character class \d between character 4000 and 43ff"); -} - -var i17 = ""; -for (var j = 17408; j < 18432; j++) - i17 += String.fromCharCode(j); -var o17 = i17; -if (i17.replace(/\d+/g, "") !== o17) { - $ERROR("#17: Error matching character class \d between character 4400 and 47ff"); -} - -var i18 = ""; -for (var j = 18432; j < 19456; j++) - i18 += String.fromCharCode(j); -var o18 = i18; -if (i18.replace(/\d+/g, "") !== o18) { - $ERROR("#18: Error matching character class \d between character 4800 and 4bff"); -} - -var i19 = ""; -for (var j = 19456; j < 20480; j++) - i19 += String.fromCharCode(j); -var o19 = i19; -if (i19.replace(/\d+/g, "") !== o19) { - $ERROR("#19: Error matching character class \d between character 4c00 and 4fff"); -} - -var i20 = ""; -for (var j = 20480; j < 21504; j++) - i20 += String.fromCharCode(j); -var o20 = i20; -if (i20.replace(/\d+/g, "") !== o20) { - $ERROR("#20: Error matching character class \d between character 5000 and 53ff"); -} - -var i21 = ""; -for (var j = 21504; j < 22528; j++) - i21 += String.fromCharCode(j); -var o21 = i21; -if (i21.replace(/\d+/g, "") !== o21) { - $ERROR("#21: Error matching character class \d between character 5400 and 57ff"); -} - -var i22 = ""; -for (var j = 22528; j < 23552; j++) - i22 += String.fromCharCode(j); -var o22 = i22; -if (i22.replace(/\d+/g, "") !== o22) { - $ERROR("#22: Error matching character class \d between character 5800 and 5bff"); -} - -var i23 = ""; -for (var j = 23552; j < 24576; j++) - i23 += String.fromCharCode(j); -var o23 = i23; -if (i23.replace(/\d+/g, "") !== o23) { - $ERROR("#23: Error matching character class \d between character 5c00 and 5fff"); -} - -var i24 = ""; -for (var j = 24576; j < 25600; j++) - i24 += String.fromCharCode(j); -var o24 = i24; -if (i24.replace(/\d+/g, "") !== o24) { - $ERROR("#24: Error matching character class \d between character 6000 and 63ff"); -} - -var i25 = ""; -for (var j = 25600; j < 26624; j++) - i25 += String.fromCharCode(j); -var o25 = i25; -if (i25.replace(/\d+/g, "") !== o25) { - $ERROR("#25: Error matching character class \d between character 6400 and 67ff"); -} - -var i26 = ""; -for (var j = 26624; j < 27648; j++) - i26 += String.fromCharCode(j); -var o26 = i26; -if (i26.replace(/\d+/g, "") !== o26) { - $ERROR("#26: Error matching character class \d between character 6800 and 6bff"); -} - -var i27 = ""; -for (var j = 27648; j < 28672; j++) - i27 += String.fromCharCode(j); -var o27 = i27; -if (i27.replace(/\d+/g, "") !== o27) { - $ERROR("#27: Error matching character class \d between character 6c00 and 6fff"); -} - -var i28 = ""; -for (var j = 28672; j < 29696; j++) - i28 += String.fromCharCode(j); -var o28 = i28; -if (i28.replace(/\d+/g, "") !== o28) { - $ERROR("#28: Error matching character class \d between character 7000 and 73ff"); -} - -var i29 = ""; -for (var j = 29696; j < 30720; j++) - i29 += String.fromCharCode(j); -var o29 = i29; -if (i29.replace(/\d+/g, "") !== o29) { - $ERROR("#29: Error matching character class \d between character 7400 and 77ff"); -} - -var i30 = ""; -for (var j = 30720; j < 31744; j++) - i30 += String.fromCharCode(j); -var o30 = i30; -if (i30.replace(/\d+/g, "") !== o30) { - $ERROR("#30: Error matching character class \d between character 7800 and 7bff"); -} - -var i31 = ""; -for (var j = 31744; j < 32768; j++) - i31 += String.fromCharCode(j); -var o31 = i31; -if (i31.replace(/\d+/g, "") !== o31) { - $ERROR("#31: Error matching character class \d between character 7c00 and 7fff"); -} - -var i32 = ""; -for (var j = 32768; j < 33792; j++) - i32 += String.fromCharCode(j); -var o32 = i32; -if (i32.replace(/\d+/g, "") !== o32) { - $ERROR("#32: Error matching character class \d between character 8000 and 83ff"); -} - -var i33 = ""; -for (var j = 33792; j < 34816; j++) - i33 += String.fromCharCode(j); -var o33 = i33; -if (i33.replace(/\d+/g, "") !== o33) { - $ERROR("#33: Error matching character class \d between character 8400 and 87ff"); -} - -var i34 = ""; -for (var j = 34816; j < 35840; j++) - i34 += String.fromCharCode(j); -var o34 = i34; -if (i34.replace(/\d+/g, "") !== o34) { - $ERROR("#34: Error matching character class \d between character 8800 and 8bff"); -} - -var i35 = ""; -for (var j = 35840; j < 36864; j++) - i35 += String.fromCharCode(j); -var o35 = i35; -if (i35.replace(/\d+/g, "") !== o35) { - $ERROR("#35: Error matching character class \d between character 8c00 and 8fff"); -} - -var i36 = ""; -for (var j = 36864; j < 37888; j++) - i36 += String.fromCharCode(j); -var o36 = i36; -if (i36.replace(/\d+/g, "") !== o36) { - $ERROR("#36: Error matching character class \d between character 9000 and 93ff"); -} - -var i37 = ""; -for (var j = 37888; j < 38912; j++) - i37 += String.fromCharCode(j); -var o37 = i37; -if (i37.replace(/\d+/g, "") !== o37) { - $ERROR("#37: Error matching character class \d between character 9400 and 97ff"); -} - -var i38 = ""; -for (var j = 38912; j < 39936; j++) - i38 += String.fromCharCode(j); -var o38 = i38; -if (i38.replace(/\d+/g, "") !== o38) { - $ERROR("#38: Error matching character class \d between character 9800 and 9bff"); -} - -var i39 = ""; -for (var j = 39936; j < 40960; j++) - i39 += String.fromCharCode(j); -var o39 = i39; -if (i39.replace(/\d+/g, "") !== o39) { - $ERROR("#39: Error matching character class \d between character 9c00 and 9fff"); -} - -var i40 = ""; -for (var j = 40960; j < 41984; j++) - i40 += String.fromCharCode(j); -var o40 = i40; -if (i40.replace(/\d+/g, "") !== o40) { - $ERROR("#40: Error matching character class \d between character a000 and a3ff"); -} - -var i41 = ""; -for (var j = 41984; j < 43008; j++) - i41 += String.fromCharCode(j); -var o41 = i41; -if (i41.replace(/\d+/g, "") !== o41) { - $ERROR("#41: Error matching character class \d between character a400 and a7ff"); -} - -var i42 = ""; -for (var j = 43008; j < 44032; j++) - i42 += String.fromCharCode(j); -var o42 = i42; -if (i42.replace(/\d+/g, "") !== o42) { - $ERROR("#42: Error matching character class \d between character a800 and abff"); -} - -var i43 = ""; -for (var j = 44032; j < 45056; j++) - i43 += String.fromCharCode(j); -var o43 = i43; -if (i43.replace(/\d+/g, "") !== o43) { - $ERROR("#43: Error matching character class \d between character ac00 and afff"); -} - -var i44 = ""; -for (var j = 45056; j < 46080; j++) - i44 += String.fromCharCode(j); -var o44 = i44; -if (i44.replace(/\d+/g, "") !== o44) { - $ERROR("#44: Error matching character class \d between character b000 and b3ff"); -} - -var i45 = ""; -for (var j = 46080; j < 47104; j++) - i45 += String.fromCharCode(j); -var o45 = i45; -if (i45.replace(/\d+/g, "") !== o45) { - $ERROR("#45: Error matching character class \d between character b400 and b7ff"); -} - -var i46 = ""; -for (var j = 47104; j < 48128; j++) - i46 += String.fromCharCode(j); -var o46 = i46; -if (i46.replace(/\d+/g, "") !== o46) { - $ERROR("#46: Error matching character class \d between character b800 and bbff"); -} - -var i47 = ""; -for (var j = 48128; j < 49152; j++) - i47 += String.fromCharCode(j); -var o47 = i47; -if (i47.replace(/\d+/g, "") !== o47) { - $ERROR("#47: Error matching character class \d between character bc00 and bfff"); -} - -var i48 = ""; -for (var j = 49152; j < 50176; j++) - i48 += String.fromCharCode(j); -var o48 = i48; -if (i48.replace(/\d+/g, "") !== o48) { - $ERROR("#48: Error matching character class \d between character c000 and c3ff"); -} - -var i49 = ""; -for (var j = 50176; j < 51200; j++) - i49 += String.fromCharCode(j); -var o49 = i49; -if (i49.replace(/\d+/g, "") !== o49) { - $ERROR("#49: Error matching character class \d between character c400 and c7ff"); -} - -var i50 = ""; -for (var j = 51200; j < 52224; j++) - i50 += String.fromCharCode(j); -var o50 = i50; -if (i50.replace(/\d+/g, "") !== o50) { - $ERROR("#50: Error matching character class \d between character c800 and cbff"); -} - -var i51 = ""; -for (var j = 52224; j < 53248; j++) - i51 += String.fromCharCode(j); -var o51 = i51; -if (i51.replace(/\d+/g, "") !== o51) { - $ERROR("#51: Error matching character class \d between character cc00 and cfff"); -} - -var i52 = ""; -for (var j = 53248; j < 54272; j++) - i52 += String.fromCharCode(j); -var o52 = i52; -if (i52.replace(/\d+/g, "") !== o52) { - $ERROR("#52: Error matching character class \d between character d000 and d3ff"); -} - -var i53 = ""; -for (var j = 54272; j < 55296; j++) - i53 += String.fromCharCode(j); -var o53 = i53; -if (i53.replace(/\d+/g, "") !== o53) { - $ERROR("#53: Error matching character class \d between character d400 and d7ff"); -} - -var i54 = ""; -for (var j = 55296; j < 56320; j++) - i54 += String.fromCharCode(j); -var o54 = i54; -if (i54.replace(/\d+/g, "") !== o54) { - $ERROR("#54: Error matching character class \d between character d800 and dbff"); -} - -var i55 = ""; -for (var j = 56320; j < 57344; j++) - i55 += String.fromCharCode(j); -var o55 = i55; -if (i55.replace(/\d+/g, "") !== o55) { - $ERROR("#55: Error matching character class \d between character dc00 and dfff"); -} - -var i56 = ""; -for (var j = 57344; j < 58368; j++) - i56 += String.fromCharCode(j); -var o56 = i56; -if (i56.replace(/\d+/g, "") !== o56) { - $ERROR("#56: Error matching character class \d between character e000 and e3ff"); -} - -var i57 = ""; -for (var j = 58368; j < 59392; j++) - i57 += String.fromCharCode(j); -var o57 = i57; -if (i57.replace(/\d+/g, "") !== o57) { - $ERROR("#57: Error matching character class \d between character e400 and e7ff"); -} - -var i58 = ""; -for (var j = 59392; j < 60416; j++) - i58 += String.fromCharCode(j); -var o58 = i58; -if (i58.replace(/\d+/g, "") !== o58) { - $ERROR("#58: Error matching character class \d between character e800 and ebff"); -} - -var i59 = ""; -for (var j = 60416; j < 61440; j++) - i59 += String.fromCharCode(j); -var o59 = i59; -if (i59.replace(/\d+/g, "") !== o59) { - $ERROR("#59: Error matching character class \d between character ec00 and efff"); -} - -var i60 = ""; -for (var j = 61440; j < 62464; j++) - i60 += String.fromCharCode(j); -var o60 = i60; -if (i60.replace(/\d+/g, "") !== o60) { - $ERROR("#60: Error matching character class \d between character f000 and f3ff"); -} - -var i61 = ""; -for (var j = 62464; j < 63488; j++) - i61 += String.fromCharCode(j); -var o61 = i61; -if (i61.replace(/\d+/g, "") !== o61) { - $ERROR("#61: Error matching character class \d between character f400 and f7ff"); -} - -var i62 = ""; -for (var j = 63488; j < 64512; j++) - i62 += String.fromCharCode(j); -var o62 = i62; -if (i62.replace(/\d+/g, "") !== o62) { - $ERROR("#62: Error matching character class \d between character f800 and fbff"); -} - -var i63 = ""; -for (var j = 64512; j < 65536; j++) - i63 += String.fromCharCode(j); -var o63 = i63; -if (i63.replace(/\d+/g, "") !== o63) { - $ERROR("#63: Error matching character class \d between character fc00 and ffff"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2.js deleted file mode 100644 index 01d01d1773..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A5_T2; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive; -* @description: ENGLISH ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A5_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2.js", - -assertion: "The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive", - -description: "ENGLISH ALPHABET", - -test: function testcase() { - var regexp_d = /\d/; - -//CHECK#0041-005A -var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { - if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: ENGLISH CAPITAL ALPHABET'); -} - -//CHECK#0061-007A -var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { - if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: english small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3.js deleted file mode 100644 index 669969b77c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A5_T3; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive; -* @description: RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A5_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3.js", - -assertion: "The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive", - -description: "RUSSIAN ALPHABET", - -test: function testcase() { - var regexp_d = /\d/; - -//CHECK#0410-042F -var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: RUSSIAN CAPITAL ALPHABET'); -} - -//CHECK#0430-044F -var result = true; -for (alpha = 0x0430; alpha <= 0x044F; alpha++) { - if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: russian small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4.js deleted file mode 100644 index 9d8c4830a5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A5_T4; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive; -* @description: non-d; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A5_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4.js", - -assertion: "The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive", - -description: "non-d", - -test: function testcase() { - //CHECK#1 -var non_d = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; -if (/\d/.exec(non_d) !== null) { - $ERROR('#1: non-d'); -} - -//CHECK#2 -var non_D = '0123456789'; -var regexp_d = /\d/g; -var k = 0; -while (regexp_d.exec(non_D) !== null) { - k++; -} - -if (non_D.length !== k) { - $ERROR('#2: non-D'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1.js deleted file mode 100644 index 3a2c94d848..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1.js +++ /dev/null @@ -1,539 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A6_T1; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: D evaluates by returning the set of all characters not -* included in the set returned by CharacterClassEscape :: d; -* @description: 0 - 9; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A6_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1.js", - -assertion: "The production CharacterClassEscape :: D evaluates by returning the set of all characters not", - -description: "0 - 9", - -test: function testcase() { - var i0 = ""; -for (var j = 0; j < 1024; j++) - i0 += String.fromCharCode(j); -var o0 = "\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039"; -if (i0.replace(/\D+/g, "") !== o0) { - $ERROR("#0: Error matching character class \D between character 0 and 3ff"); -} - -var i1 = ""; -for (var j = 1024; j < 2048; j++) - i1 += String.fromCharCode(j); -var o1 = ""; -if (i1.replace(/\D+/g, "") !== o1) { - $ERROR("#1: Error matching character class \D between character 400 and 7ff"); -} - -var i2 = ""; -for (var j = 2048; j < 3072; j++) - i2 += String.fromCharCode(j); -var o2 = ""; -if (i2.replace(/\D+/g, "") !== o2) { - $ERROR("#2: Error matching character class \D between character 800 and bff"); -} - -var i3 = ""; -for (var j = 3072; j < 4096; j++) - i3 += String.fromCharCode(j); -var o3 = ""; -if (i3.replace(/\D+/g, "") !== o3) { - $ERROR("#3: Error matching character class \D between character c00 and fff"); -} - -var i4 = ""; -for (var j = 4096; j < 5120; j++) - i4 += String.fromCharCode(j); -var o4 = ""; -if (i4.replace(/\D+/g, "") !== o4) { - $ERROR("#4: Error matching character class \D between character 1000 and 13ff"); -} - -var i5 = ""; -for (var j = 5120; j < 6144; j++) - i5 += String.fromCharCode(j); -var o5 = ""; -if (i5.replace(/\D+/g, "") !== o5) { - $ERROR("#5: Error matching character class \D between character 1400 and 17ff"); -} - -var i6 = ""; -for (var j = 6144; j < 7168; j++) - i6 += String.fromCharCode(j); -var o6 = ""; -if (i6.replace(/\D+/g, "") !== o6) { - $ERROR("#6: Error matching character class \D between character 1800 and 1bff"); -} - -var i7 = ""; -for (var j = 7168; j < 8192; j++) - i7 += String.fromCharCode(j); -var o7 = ""; -if (i7.replace(/\D+/g, "") !== o7) { - $ERROR("#7: Error matching character class \D between character 1c00 and 1fff"); -} - -var i8 = ""; -for (var j = 8192; j < 9216; j++) - i8 += String.fromCharCode(j); -var o8 = ""; -if (i8.replace(/\D+/g, "") !== o8) { - $ERROR("#8: Error matching character class \D between character 2000 and 23ff"); -} - -var i9 = ""; -for (var j = 9216; j < 10240; j++) - i9 += String.fromCharCode(j); -var o9 = ""; -if (i9.replace(/\D+/g, "") !== o9) { - $ERROR("#9: Error matching character class \D between character 2400 and 27ff"); -} - -var i10 = ""; -for (var j = 10240; j < 11264; j++) - i10 += String.fromCharCode(j); -var o10 = ""; -if (i10.replace(/\D+/g, "") !== o10) { - $ERROR("#10: Error matching character class \D between character 2800 and 2bff"); -} - -var i11 = ""; -for (var j = 11264; j < 12288; j++) - i11 += String.fromCharCode(j); -var o11 = ""; -if (i11.replace(/\D+/g, "") !== o11) { - $ERROR("#11: Error matching character class \D between character 2c00 and 2fff"); -} - -var i12 = ""; -for (var j = 12288; j < 13312; j++) - i12 += String.fromCharCode(j); -var o12 = ""; -if (i12.replace(/\D+/g, "") !== o12) { - $ERROR("#12: Error matching character class \D between character 3000 and 33ff"); -} - -var i13 = ""; -for (var j = 13312; j < 14336; j++) - i13 += String.fromCharCode(j); -var o13 = ""; -if (i13.replace(/\D+/g, "") !== o13) { - $ERROR("#13: Error matching character class \D between character 3400 and 37ff"); -} - -var i14 = ""; -for (var j = 14336; j < 15360; j++) - i14 += String.fromCharCode(j); -var o14 = ""; -if (i14.replace(/\D+/g, "") !== o14) { - $ERROR("#14: Error matching character class \D between character 3800 and 3bff"); -} - -var i15 = ""; -for (var j = 15360; j < 16384; j++) - i15 += String.fromCharCode(j); -var o15 = ""; -if (i15.replace(/\D+/g, "") !== o15) { - $ERROR("#15: Error matching character class \D between character 3c00 and 3fff"); -} - -var i16 = ""; -for (var j = 16384; j < 17408; j++) - i16 += String.fromCharCode(j); -var o16 = ""; -if (i16.replace(/\D+/g, "") !== o16) { - $ERROR("#16: Error matching character class \D between character 4000 and 43ff"); -} - -var i17 = ""; -for (var j = 17408; j < 18432; j++) - i17 += String.fromCharCode(j); -var o17 = ""; -if (i17.replace(/\D+/g, "") !== o17) { - $ERROR("#17: Error matching character class \D between character 4400 and 47ff"); -} - -var i18 = ""; -for (var j = 18432; j < 19456; j++) - i18 += String.fromCharCode(j); -var o18 = ""; -if (i18.replace(/\D+/g, "") !== o18) { - $ERROR("#18: Error matching character class \D between character 4800 and 4bff"); -} - -var i19 = ""; -for (var j = 19456; j < 20480; j++) - i19 += String.fromCharCode(j); -var o19 = ""; -if (i19.replace(/\D+/g, "") !== o19) { - $ERROR("#19: Error matching character class \D between character 4c00 and 4fff"); -} - -var i20 = ""; -for (var j = 20480; j < 21504; j++) - i20 += String.fromCharCode(j); -var o20 = ""; -if (i20.replace(/\D+/g, "") !== o20) { - $ERROR("#20: Error matching character class \D between character 5000 and 53ff"); -} - -var i21 = ""; -for (var j = 21504; j < 22528; j++) - i21 += String.fromCharCode(j); -var o21 = ""; -if (i21.replace(/\D+/g, "") !== o21) { - $ERROR("#21: Error matching character class \D between character 5400 and 57ff"); -} - -var i22 = ""; -for (var j = 22528; j < 23552; j++) - i22 += String.fromCharCode(j); -var o22 = ""; -if (i22.replace(/\D+/g, "") !== o22) { - $ERROR("#22: Error matching character class \D between character 5800 and 5bff"); -} - -var i23 = ""; -for (var j = 23552; j < 24576; j++) - i23 += String.fromCharCode(j); -var o23 = ""; -if (i23.replace(/\D+/g, "") !== o23) { - $ERROR("#23: Error matching character class \D between character 5c00 and 5fff"); -} - -var i24 = ""; -for (var j = 24576; j < 25600; j++) - i24 += String.fromCharCode(j); -var o24 = ""; -if (i24.replace(/\D+/g, "") !== o24) { - $ERROR("#24: Error matching character class \D between character 6000 and 63ff"); -} - -var i25 = ""; -for (var j = 25600; j < 26624; j++) - i25 += String.fromCharCode(j); -var o25 = ""; -if (i25.replace(/\D+/g, "") !== o25) { - $ERROR("#25: Error matching character class \D between character 6400 and 67ff"); -} - -var i26 = ""; -for (var j = 26624; j < 27648; j++) - i26 += String.fromCharCode(j); -var o26 = ""; -if (i26.replace(/\D+/g, "") !== o26) { - $ERROR("#26: Error matching character class \D between character 6800 and 6bff"); -} - -var i27 = ""; -for (var j = 27648; j < 28672; j++) - i27 += String.fromCharCode(j); -var o27 = ""; -if (i27.replace(/\D+/g, "") !== o27) { - $ERROR("#27: Error matching character class \D between character 6c00 and 6fff"); -} - -var i28 = ""; -for (var j = 28672; j < 29696; j++) - i28 += String.fromCharCode(j); -var o28 = ""; -if (i28.replace(/\D+/g, "") !== o28) { - $ERROR("#28: Error matching character class \D between character 7000 and 73ff"); -} - -var i29 = ""; -for (var j = 29696; j < 30720; j++) - i29 += String.fromCharCode(j); -var o29 = ""; -if (i29.replace(/\D+/g, "") !== o29) { - $ERROR("#29: Error matching character class \D between character 7400 and 77ff"); -} - -var i30 = ""; -for (var j = 30720; j < 31744; j++) - i30 += String.fromCharCode(j); -var o30 = ""; -if (i30.replace(/\D+/g, "") !== o30) { - $ERROR("#30: Error matching character class \D between character 7800 and 7bff"); -} - -var i31 = ""; -for (var j = 31744; j < 32768; j++) - i31 += String.fromCharCode(j); -var o31 = ""; -if (i31.replace(/\D+/g, "") !== o31) { - $ERROR("#31: Error matching character class \D between character 7c00 and 7fff"); -} - -var i32 = ""; -for (var j = 32768; j < 33792; j++) - i32 += String.fromCharCode(j); -var o32 = ""; -if (i32.replace(/\D+/g, "") !== o32) { - $ERROR("#32: Error matching character class \D between character 8000 and 83ff"); -} - -var i33 = ""; -for (var j = 33792; j < 34816; j++) - i33 += String.fromCharCode(j); -var o33 = ""; -if (i33.replace(/\D+/g, "") !== o33) { - $ERROR("#33: Error matching character class \D between character 8400 and 87ff"); -} - -var i34 = ""; -for (var j = 34816; j < 35840; j++) - i34 += String.fromCharCode(j); -var o34 = ""; -if (i34.replace(/\D+/g, "") !== o34) { - $ERROR("#34: Error matching character class \D between character 8800 and 8bff"); -} - -var i35 = ""; -for (var j = 35840; j < 36864; j++) - i35 += String.fromCharCode(j); -var o35 = ""; -if (i35.replace(/\D+/g, "") !== o35) { - $ERROR("#35: Error matching character class \D between character 8c00 and 8fff"); -} - -var i36 = ""; -for (var j = 36864; j < 37888; j++) - i36 += String.fromCharCode(j); -var o36 = ""; -if (i36.replace(/\D+/g, "") !== o36) { - $ERROR("#36: Error matching character class \D between character 9000 and 93ff"); -} - -var i37 = ""; -for (var j = 37888; j < 38912; j++) - i37 += String.fromCharCode(j); -var o37 = ""; -if (i37.replace(/\D+/g, "") !== o37) { - $ERROR("#37: Error matching character class \D between character 9400 and 97ff"); -} - -var i38 = ""; -for (var j = 38912; j < 39936; j++) - i38 += String.fromCharCode(j); -var o38 = ""; -if (i38.replace(/\D+/g, "") !== o38) { - $ERROR("#38: Error matching character class \D between character 9800 and 9bff"); -} - -var i39 = ""; -for (var j = 39936; j < 40960; j++) - i39 += String.fromCharCode(j); -var o39 = ""; -if (i39.replace(/\D+/g, "") !== o39) { - $ERROR("#39: Error matching character class \D between character 9c00 and 9fff"); -} - -var i40 = ""; -for (var j = 40960; j < 41984; j++) - i40 += String.fromCharCode(j); -var o40 = ""; -if (i40.replace(/\D+/g, "") !== o40) { - $ERROR("#40: Error matching character class \D between character a000 and a3ff"); -} - -var i41 = ""; -for (var j = 41984; j < 43008; j++) - i41 += String.fromCharCode(j); -var o41 = ""; -if (i41.replace(/\D+/g, "") !== o41) { - $ERROR("#41: Error matching character class \D between character a400 and a7ff"); -} - -var i42 = ""; -for (var j = 43008; j < 44032; j++) - i42 += String.fromCharCode(j); -var o42 = ""; -if (i42.replace(/\D+/g, "") !== o42) { - $ERROR("#42: Error matching character class \D between character a800 and abff"); -} - -var i43 = ""; -for (var j = 44032; j < 45056; j++) - i43 += String.fromCharCode(j); -var o43 = ""; -if (i43.replace(/\D+/g, "") !== o43) { - $ERROR("#43: Error matching character class \D between character ac00 and afff"); -} - -var i44 = ""; -for (var j = 45056; j < 46080; j++) - i44 += String.fromCharCode(j); -var o44 = ""; -if (i44.replace(/\D+/g, "") !== o44) { - $ERROR("#44: Error matching character class \D between character b000 and b3ff"); -} - -var i45 = ""; -for (var j = 46080; j < 47104; j++) - i45 += String.fromCharCode(j); -var o45 = ""; -if (i45.replace(/\D+/g, "") !== o45) { - $ERROR("#45: Error matching character class \D between character b400 and b7ff"); -} - -var i46 = ""; -for (var j = 47104; j < 48128; j++) - i46 += String.fromCharCode(j); -var o46 = ""; -if (i46.replace(/\D+/g, "") !== o46) { - $ERROR("#46: Error matching character class \D between character b800 and bbff"); -} - -var i47 = ""; -for (var j = 48128; j < 49152; j++) - i47 += String.fromCharCode(j); -var o47 = ""; -if (i47.replace(/\D+/g, "") !== o47) { - $ERROR("#47: Error matching character class \D between character bc00 and bfff"); -} - -var i48 = ""; -for (var j = 49152; j < 50176; j++) - i48 += String.fromCharCode(j); -var o48 = ""; -if (i48.replace(/\D+/g, "") !== o48) { - $ERROR("#48: Error matching character class \D between character c000 and c3ff"); -} - -var i49 = ""; -for (var j = 50176; j < 51200; j++) - i49 += String.fromCharCode(j); -var o49 = ""; -if (i49.replace(/\D+/g, "") !== o49) { - $ERROR("#49: Error matching character class \D between character c400 and c7ff"); -} - -var i50 = ""; -for (var j = 51200; j < 52224; j++) - i50 += String.fromCharCode(j); -var o50 = ""; -if (i50.replace(/\D+/g, "") !== o50) { - $ERROR("#50: Error matching character class \D between character c800 and cbff"); -} - -var i51 = ""; -for (var j = 52224; j < 53248; j++) - i51 += String.fromCharCode(j); -var o51 = ""; -if (i51.replace(/\D+/g, "") !== o51) { - $ERROR("#51: Error matching character class \D between character cc00 and cfff"); -} - -var i52 = ""; -for (var j = 53248; j < 54272; j++) - i52 += String.fromCharCode(j); -var o52 = ""; -if (i52.replace(/\D+/g, "") !== o52) { - $ERROR("#52: Error matching character class \D between character d000 and d3ff"); -} - -var i53 = ""; -for (var j = 54272; j < 55296; j++) - i53 += String.fromCharCode(j); -var o53 = ""; -if (i53.replace(/\D+/g, "") !== o53) { - $ERROR("#53: Error matching character class \D between character d400 and d7ff"); -} - -var i54 = ""; -for (var j = 55296; j < 56320; j++) - i54 += String.fromCharCode(j); -var o54 = ""; -if (i54.replace(/\D+/g, "") !== o54) { - $ERROR("#54: Error matching character class \D between character d800 and dbff"); -} - -var i55 = ""; -for (var j = 56320; j < 57344; j++) - i55 += String.fromCharCode(j); -var o55 = ""; -if (i55.replace(/\D+/g, "") !== o55) { - $ERROR("#55: Error matching character class \D between character dc00 and dfff"); -} - -var i56 = ""; -for (var j = 57344; j < 58368; j++) - i56 += String.fromCharCode(j); -var o56 = ""; -if (i56.replace(/\D+/g, "") !== o56) { - $ERROR("#56: Error matching character class \D between character e000 and e3ff"); -} - -var i57 = ""; -for (var j = 58368; j < 59392; j++) - i57 += String.fromCharCode(j); -var o57 = ""; -if (i57.replace(/\D+/g, "") !== o57) { - $ERROR("#57: Error matching character class \D between character e400 and e7ff"); -} - -var i58 = ""; -for (var j = 59392; j < 60416; j++) - i58 += String.fromCharCode(j); -var o58 = ""; -if (i58.replace(/\D+/g, "") !== o58) { - $ERROR("#58: Error matching character class \D between character e800 and ebff"); -} - -var i59 = ""; -for (var j = 60416; j < 61440; j++) - i59 += String.fromCharCode(j); -var o59 = ""; -if (i59.replace(/\D+/g, "") !== o59) { - $ERROR("#59: Error matching character class \D between character ec00 and efff"); -} - -var i60 = ""; -for (var j = 61440; j < 62464; j++) - i60 += String.fromCharCode(j); -var o60 = ""; -if (i60.replace(/\D+/g, "") !== o60) { - $ERROR("#60: Error matching character class \D between character f000 and f3ff"); -} - -var i61 = ""; -for (var j = 62464; j < 63488; j++) - i61 += String.fromCharCode(j); -var o61 = ""; -if (i61.replace(/\D+/g, "") !== o61) { - $ERROR("#61: Error matching character class \D between character f400 and f7ff"); -} - -var i62 = ""; -for (var j = 63488; j < 64512; j++) - i62 += String.fromCharCode(j); -var o62 = ""; -if (i62.replace(/\D+/g, "") !== o62) { - $ERROR("#62: Error matching character class \D between character f800 and fbff"); -} - -var i63 = ""; -for (var j = 64512; j < 65536; j++) - i63 += String.fromCharCode(j); -var o63 = ""; -if (i63.replace(/\D+/g, "") !== o63) { - $ERROR("#63: Error matching character class \D between character fc00 and ffff"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2.js deleted file mode 100644 index b56dd83eb8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A6_T2; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: D evaluates by returning the set of all characters not -* included in the set returned by CharacterClassEscape :: d; -* @description: ENGLISH ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A6_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2.js", - -assertion: "The production CharacterClassEscape :: D evaluates by returning the set of all characters not", - -description: "ENGLISH ALPHABET", - -test: function testcase() { - var regexp_D = /\D/; - -//CHECK#0041-005A -var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_D.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: ENGLISH CAPITAL ALPHABET'); -} - -//CHECK#0061-007A -var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_D.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: english small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3.js deleted file mode 100644 index a7593451c3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A6_T3; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: D evaluates by returning the set of all characters not -* included in the set returned by CharacterClassEscape :: d; -* @description: RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A6_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3.js", - -assertion: "The production CharacterClassEscape :: D evaluates by returning the set of all characters not", - -description: "RUSSIAN ALPHABET", - -test: function testcase() { - var regexp_D = /\D/; - -//CHECK#0410-042F -var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_D.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: RUSSIAN CAPITAL ALPHABET'); -} - -//CHECK#0430-044F -var result = true; -for (alpha = 0x0430; alpha <= 0x044F; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_D.exec(str); - if ((arr === null) || (arr[0] !== str)) { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: russian small alphabet'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4.js deleted file mode 100644 index 4602e1eab7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.12_A6_T4; -* @section: 15.10.2.12; -* @assertion: The production CharacterClassEscape :: D evaluates by returning the set of all characters not -* included in the set returned by CharacterClassEscape :: d; -* @description: RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.12_A6_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4.js", - -assertion: "The production CharacterClassEscape :: D evaluates by returning the set of all characters not", - -description: "RUSSIAN ALPHABET", - -test: function testcase() { - //CHECK#1 -var non_d = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; -var regexp_D = /\D/g; -var k = 0; -while (regexp_D.exec(non_d) !== null) { - k++; -} - -if (non_d.length !== k) { - $ERROR('#1: non-d'); -} - -//CHECK#2 -var non_d = '0123456789'; -if (/\D/.exec(non_d) !== null) { - $ERROR('#2: non-d'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1.js deleted file mode 100644 index 502d0c222e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T1; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /[]a/.test("\0a\0a") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /[]a/.test(\"\\0a\\0a\") and check results", - -test: function testcase() { - __executed = /[]a/.test("\0a\0a");; - -//CHECK#1 - if (__executed) { - $ERROR('#1: /[]a/.test("\\0a\\0a") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10.js deleted file mode 100644 index 9e40efa5a3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T10; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /[a-c\d]+/.exec("\n\n\abc324234\n") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /[a-c\\d]+/.exec(\"\\n\\n\\abc324234\\n\") and check results", - -test: function testcase() { - __executed = /[a-c\d]+/.exec("\n\n\abc324234\n"); - -__expected = ["abc324234"]; -__expected.index = 2; -__expected.input = "\n\n\abc324234\n"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[a-c\\d]+/.exec("\\n\\n\\abc324234\\n"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[a-c\\d]+/.exec("\\n\\n\\abc324234\\n"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[a-c\\d]+/.exec("\\n\\n\\abc324234\\n"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[a-c\\d]+/.exec("\\n\\n\\abc324234\\n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11.js deleted file mode 100644 index 3b24f18387..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T11; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /ab[.]?c/.exec("abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /ab[.]?c/.exec(\"abc\") and check results", - -test: function testcase() { - __executed = /ab[.]?c/.exec("abc"); - -__expected = ["abc"]; -__expected.index = 0; -__expected.input = "abc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /ab[.]?c/.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /ab[.]?c/.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /ab[.]?c/.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /ab[.]?c/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12.js deleted file mode 100644 index d062f35602..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T12; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /a[b]c/.exec("abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /a[b]c/.exec(\"abc\") and check results", - -test: function testcase() { - __executed = /a[b]c/.exec("abc"); - -__expected = ["abc"]; -__expected.index = 0; -__expected.input = "abc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a[b]c/.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a[b]c/.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a[b]c/.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a[b]c/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13.js deleted file mode 100644 index fc7c860d58..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T13; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /[a-z][^1-9][a-z]/.exec(\"a1b b2c c3d def f4g\") and check results", - -test: function testcase() { - __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); - -__expected = ["def"]; -__expected.index = 15; -__expected.input = "a1b b2c c3d def f4g"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14.js deleted file mode 100644 index 59d03b56a3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T14; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /[*&$]{3}/.exec("123*&$abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /[*&$]{3}/.exec(\"123*&$abc\") and check results", - -test: function testcase() { - __executed = /[*&$]{3}/.exec("123*&$abc"); - -__expected = ["*&$"]; -__expected.index = 3; -__expected.input = "123*&$abc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[*&$]{3}/.exec("123*&$abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[*&$]{3}/.exec("123*&$abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[*&$]{3}/.exec("123*&$abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[*&$]{3}/.exec("123*&$abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15.js deleted file mode 100644 index d39a565592..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T15; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /[\d][\n][^\d]/.exec("line1\nline2") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T15", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /[\\d][\\n][^\\d]/.exec(\"line1\\nline2\") and check results", - -test: function testcase() { - __executed = /[\d][\n][^\d]/.exec("line1\nline2"); - -__expected = ["1\nl"]; -__expected.index = 4; -__expected.input = "line1\nline2"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[\\d][\\n][^\\d]/.exec("line1\\nline2"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[\\d][\\n][^\\d]/.exec("line1\\nline2"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[\\d][\\n][^\\d]/.exec("line1\\nline2"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[\\d][\\n][^\\d]/.exec("line1\\nline2"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16.js deleted file mode 100644 index e2c9b027f3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T16; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /[\d][\12-\14]{1,}[^\d]/.exec("line1\n\n\n\n\nline2") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T16", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /[\\d][\\12-\\14]{1,}[^\\d]/.exec(\"line1\\n\\n\\n\\n\\nline2\") and check results", - -test: function testcase() { - __executed = /[\d][\12-\14]{1,}[^\d]/.exec("line1\n\n\n\n\nline2"); - -__expected = ["1\n\n\n\n\nl"]; -__expected.index = 4; -__expected.input = "line1\n\n\n\n\nline2"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[\\d][\\12-\\14]{1,}[^\\d]/.exec("line1\\n\\n\\n\\n\\nline2"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[\\d][\\12-\\14]{1,}[^\\d]/.exec("line1\\n\\n\\n\\n\\nline2"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[\\d][\\12-\\14]{1,}[^\\d]/.exec("line1\\n\\n\\n\\n\\nline2"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[\\d][\\12-\\14]{1,}[^\\d]/.exec("line1\\n\\n\\n\\n\\nline2"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17.js deleted file mode 100644 index c2bca6f68a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T17; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /[]/.exec("a[b\n[]\tc]d") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T17", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /[]/.exec(\"a[b\\n[]\\tc]d\") and check results", - -test: function testcase() { - __executed = /[]/.exec("a[b\n[]\tc]d"); - -//CHECK#1 -if (__executed !== null) { - $ERROR('#1: /[]/.exec("a[b\\n[]\\tc]d") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2.js deleted file mode 100644 index 364ce7c0cd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T2; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /a[]/.test("\0a\0a") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /a[]/.test(\"\\0a\\0a\") and check results", - -test: function testcase() { - __executed = /a[]/.test("\0a\0a");; - -//CHECK#1 -if (__executed) { - $ERROR('#1: /a[]/.test("\\0a\\0a") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3.js deleted file mode 100644 index 9ec8e70d59..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T3; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /q[ax-zb](?=\s+)/.exec("qYqy ") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /q[ax-zb](?=\\s+)/.exec(\"qYqy \") and check results", - -test: function testcase() { - __executed = /q[ax-zb](?=\s+)/.exec("qYqy "); - -__expected = ["qy"]; -__expected.index = 2; -__expected.input = "qYqy "; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /q[ax-zb](?=\\s+)/.exec("qYqy "); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /q[ax-zb](?=\\s+)/.exec("qYqy "); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /q[ax-zb](?=\\s+)/.exec("qYqy "); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /q[ax-zb](?=\\s+)/.exec("qYqy "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4.js deleted file mode 100644 index 09395dfaa2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T4; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /q[ax-zb](?=\s+)/.exec("tqaqy ") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /q[ax-zb](?=\\s+)/.exec(\"tqaqy \") and check results", - -test: function testcase() { - __executed = /q[ax-zb](?=\s+)/.exec("tqaqy "); - -__expected = ["qy"]; -__expected.index = 3; -__expected.input = "tqaqy "; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /q[ax-zb](?=\\s+)/.exec("tqaqy "); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /q[ax-zb](?=\\s+)/.exec("tqaqy "); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /q[ax-zb](?=\\s+)/.exec("tqaqy "); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /q[ax-zb](?=\\s+)/.exec("tqaqy "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5.js deleted file mode 100644 index 921650ce86..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T5; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /q[ax-zb](?=\s+)/.exec("tqa\t qy ") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /q[ax-zb](?=\\s+)/.exec(\"tqa\\t qy \") and check results", - -test: function testcase() { - __executed = /q[ax-zb](?=\s+)/.exec("tqa\t qy "); - -__expected = ["qa"]; -__expected.index = 1; -__expected.input = "tqa\t qy "; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /q[ax-zb](?=\\s+)/.exec("tqa\\t qy "); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /q[ax-zb](?=\\s+)/.exec("tqa\\t qy "); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /q[ax-zb](?=\\s+)/.exec("tqa\\t qy "); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /q[ax-zb](?=\\s+)/.exec("tqa\\t qy "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6.js deleted file mode 100644 index 4089e1d7b1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T6; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /ab[ercst]de/.exec("abcde") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /ab[ercst]de/.exec(\"abcde\") and check results", - -test: function testcase() { - __executed = /ab[ercst]de/.exec("abcde"); - -__expected = ["abcde"]; -__expected.index = 0; -__expected.input = "abcde"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /ab[ercst]de/.exec("abcde"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /ab[ercst]de/.exec("abcde"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /ab[ercst]de/.exec("abcde"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /ab[ercst]de/.exec("abcde"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7.js deleted file mode 100644 index e1b6b491a5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T7; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /ab[erst]de/.test("abcde") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /ab[erst]de/.test(\"abcde\") and check results", - -test: function testcase() { - __executed = /ab[erst]de/.test("abcde"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /ab[erst]de/.test("abcde") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8.js deleted file mode 100644 index a2eb5b7ca8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T8; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /[d-h]+/.exec("abcdefghijkl") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /[d-h]+/.exec(\"abcdefghijkl\") and check results", - -test: function testcase() { - __executed = /[d-h]+/.exec("abcdefghijkl"); - -__expected = ["defgh"]; -__expected.index = 3; -__expected.input = "abcdefghijkl"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[d-h]+/.exec("abcdefghijkl"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[d-h]+/.exec("abcdefghijkl"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[d-h]+/.exec("abcdefghijkl"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[d-h]+/.exec("abcdefghijkl"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9.js deleted file mode 100644 index 39d65fd638..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A1_T9; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; -* @description: Execute /[1234567].{2}/.exec("abc6defghijkl") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A1_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9.js", - -assertion: "The production CharacterClass :: [ [lookahead \\notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false", - -description: "Execute /[1234567].{2}/.exec(\"abc6defghijkl\") and check results", - -test: function testcase() { - __executed = /[1234567].{2}/.exec("abc6defghijkl"); - -__expected = ["6de"]; -__expected.index = 3; -__expected.input = "abc6defghijkl"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[1234567].{2}/.exec("abc6defghijkl"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[1234567].{2}/.exec("abc6defghijkl"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[1234567].{2}/.exec("abc6defghijkl"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[1234567].{2}/.exec("abc6defghijkl"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1.js deleted file mode 100644 index 984d2c03b6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A2_T1; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; -* @description: Execute /[^]a/m.exec("a\naba") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1.js", - -assertion: "The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true", - -description: "Execute /[^]a/m.exec(\"a\\naba\") and check results", - -test: function testcase() { - __executed = /[^]a/m.exec("a\naba"); - -__expected = ["\na"]; -__expected.index = 1; -__expected.input = "a\naba"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^]a/m.exec("a\\naba"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^]a/m.exec("a\\naba"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^]a/m.exec("a\\naba"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^]a/m.exec("a\\naba"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2.js deleted file mode 100644 index b1a19a86fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A2_T2; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; -* @description: Execute /a[^]/.exec(" a\t\n") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2.js", - -assertion: "The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true", - -description: "Execute /a[^]/.exec(\" a\\t\\n\") and check results", - -test: function testcase() { - __executed = /a[^]/.exec(" a\t\n"); - -__expected = ["a\t"]; -__expected.index = 3; -__expected.input = " a\t\n"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a[^]/.exec(" a\\t\\n"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a[^]/.exec(" a\\t\\n"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a[^]/.exec(" a\\t\\n"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a[^]/.exec(" a\\t\\n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3.js deleted file mode 100644 index a5f8ba7f1c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A2_T3; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; -* @description: Execute /a[^b-z]\s+/.exec("ab an az aY n") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A2_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3.js", - -assertion: "The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true", - -description: "Execute /a[^b-z]\\s+/.exec(\"ab an az aY n\") and check results", - -test: function testcase() { - __executed = /a[^b-z]\s+/.exec("ab an az aY n"); - -__expected = ["aY "]; -__expected.index = 9; -__expected.input = "ab an az aY n"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a[^b-z]\\s+/.exec("ab an az aY n"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a[^b-z]\\s+/.exec("ab an az aY n"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a[^b-z]\\s+/.exec("ab an az aY n"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a[^b-z]\\s+/.exec("ab an az aY n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4.js deleted file mode 100644 index 4f58fef512..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A2_T4; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; -* @description: Execute /[^\b]+/g.exec("easy\bto\u0008ride") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A2_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4.js", - -assertion: "The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true", - -description: "Execute /[^\\b]+/g.exec(\"easy\\bto\\u0008ride\") and check results", - -test: function testcase() { - __executed = /[^\b]+/g.exec("easy\bto\u0008ride"); - -__expected = ["easy"]; -__expected.index = 0; -__expected.input = "easy\bto\u0008ride"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^\\b]+/g.exec("easy\\bto\\u0008ride"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^\\b]+/g.exec("easy\\bto\\u0008ride"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^\\b]+/g.exec("easy\\bto\\u0008ride"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^\\b]+/g.exec("easy\\bto\\u0008ride"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T5.js deleted file mode 100644 index face44cf3a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A2_T5; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; -* @description: Execute /a[^1-9]c/.exec("abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A2_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T5.js", - -assertion: "The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true", - -description: "Execute /a[^1-9]c/.exec(\"abc\") and check results", - -test: function testcase() { - __executed = /a[^1-9]c/.exec("abc"); - -__expected = ["abc"]; -__expected.index = 0; -__expected.input = "abc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a[^1-9]c/.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a[^1-9]c/.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a[^1-9]c/.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a[^1-9]c/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T6.js deleted file mode 100644 index f510c73dc0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A2_T6; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; -* @description: Execute /a[^b]c/.test("abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A2_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T6.js", - -assertion: "The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true", - -description: "Execute /a[^b]c/.test(\"abc\") and check results", - -test: function testcase() { - __executed = /a[^b]c/.test("abc"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /a[^b]c/.test("abc") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T7.js deleted file mode 100644 index 22850589b8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T7.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A2_T7; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; -* @description: Execute /[^a-z]{4}/.exec("abc#$%def%&*@ghi") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A2_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T7.js", - -assertion: "The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true", - -description: "Execute /[^a-z]{4}/.exec(\"abc#$%def%&*@ghi\") and check results", - -test: function testcase() { - __executed = /[^a-z]{4}/.exec("abc#$%def%&*@ghi"); - -__expected = ["%&*@"]; -__expected.index = 9; -__expected.input = "abc#$%def%&*@ghi"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^a-z]{4}/.exec("abc#$%def%&*@ghi"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^a-z]{4}/.exec("abc#$%def%&*@ghi"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^a-z]{4}/.exec("abc#$%def%&*@ghi"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^a-z]{4}/.exec("abc#$%def%&*@ghi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T8.js deleted file mode 100644 index 1d5d596d58..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T8.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A2_T8; -* @section: 15.10.2.13; -* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; -* @description: Execute /[^]/.exec("abc#$%def%&*@ghi") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A2_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A2_T8.js", - -assertion: "The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true", - -description: "Execute /[^]/.exec(\"abc#$%def%&*@ghi\") and check results", - -test: function testcase() { - __executed = /[^]/.exec("abc#$%def%&*@ghi"); - -__expected = ["a"]; -__expected.index = 0; -__expected.input = "abc#$%def%&*@ghi"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^]/.exec("abc#$%def%&*@ghi"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^]/.exec("abc#$%def%&*@ghi"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^]/.exec("abc#$%def%&*@ghi"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^]/.exec("abc#$%def%&*@ghi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T1.js deleted file mode 100644 index 9cdf7ec0b1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A3_T1; -* @section: 15.10.2.13; -* @assertion: Inside a CharacterClass, \b means the backspace character; -* @description: Execute /.[\b]./.exec("abc\bdef") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T1.js", - -assertion: "Inside a CharacterClass, \\b means the backspace character", - -description: "Execute /.[\\b]./.exec(\"abc\\bdef\") and check results", - -test: function testcase() { - __executed = /.[\b]./.exec("abc\bdef"); - -__expected = ["c\bd"]; -__expected.index = 2; -__expected.input = "abc\bdef"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /.[\\b]./.exec("abc\\bdef"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /.[\\b]./.exec("abc\\bdef"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /.[\\b]./.exec("abc\\bdef"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /.[\\b]./.exec("abc\\bdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T2.js deleted file mode 100644 index ee2c23cc05..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A3_T2; -* @section: 15.10.2.13; -* @assertion: Inside a CharacterClass, \b means the backspace character; -* @description: Execute /c[\b]{3}d/.exec("abc\b\b\bdef") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A3_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T2.js", - -assertion: "Inside a CharacterClass, \\b means the backspace character", - -description: "Execute /c[\\b]{3}d/.exec(\"abc\\b\\b\\bdef\") and check results", - -test: function testcase() { - __executed = /c[\b]{3}d/.exec("abc\b\b\bdef"); - -__expected = ["c\b\b\bd"]; -__expected.index = 2; -__expected.input = "abc\b\b\bdef"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /c[\\b]{3}d/.exec("abc\\b\\b\\bdef"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /c[\\b]{3}d/.exec("abc\\b\\b\\bdef"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /c[\\b]{3}d/.exec("abc\\b\\b\\bdef"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /c[\\b]{3}d/.exec("abc\\b\\b\\bdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T3.js deleted file mode 100644 index 5f9ceb5c78..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A3_T3; -* @section: 15.10.2.13; -* @assertion: Inside a CharacterClass, \b means the backspace character; -* @description: Execute /[^\[\b\]]+/.exec("abc\bdef") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A3_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T3.js", - -assertion: "Inside a CharacterClass, \\b means the backspace character", - -description: "Execute /[^\\[\\b\\]]+/.exec(\"abc\\bdef\") and check results", - -test: function testcase() { - __executed = /[^\[\b\]]+/.exec("abc\bdef"); - -__expected = ["abc"]; -__expected.index = 0; -__expected.input = "abc\bdef"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^\\[\\b\\]]+/.exec("abc\\bdef"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^\\[\\b\\]]+/.exec("abc\\bdef"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^\\[\\b\\]]+/.exec("abc\\bdef"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^\\[\\b\\]]+/.exec("abc\\bdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T4.js deleted file mode 100644 index f3f38b08d7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.13_A3_T4; -* @section: 15.10.2.13; -* @assertion: Inside a CharacterClass, \b means the backspace character; -* @description: Execute /[^\[\b\]]+/.exec("abcdef") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.13_A3_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.13_CharacterClass/S15.10.2.13_A3_T4.js", - -assertion: "Inside a CharacterClass, \\b means the backspace character", - -description: "Execute /[^\\[\\b\\]]+/.exec(\"abcdef\") and check results", - -test: function testcase() { - __executed = /[^\[\b\]]+/.exec("abcdef"); - -__expected = ["abcdef"]; -__expected.index = 0; -__expected.input = "abcdef"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^\\[\\b\\]]+/.exec("abcdef"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^\\[\\b\\]]+/.exec("abcdef"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^\\[\\b\\]]+/.exec("abcdef"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^\\[\\b\\]]+/.exec("abcdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T1.js deleted file mode 100644 index 4c240b810c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T1; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[b-ac-e]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T1.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[b-ac-e]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[b-ac-e]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[b-ac-e]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[b-ac-e]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T10.js deleted file mode 100644 index 130b8adc30..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T10.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T10; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\10b-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T10.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\10b-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\10b-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\10b-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\10b-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T11.js deleted file mode 100644 index e77e90c3c3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T11.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T11; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\bd-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T11.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\bd-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\bd-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\bd-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\bd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T12.js deleted file mode 100644 index ec6996325c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T12.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T12; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\Bd-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T12.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\Bd-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\Bd-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\Bd-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\Bd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T13.js deleted file mode 100644 index c25cd09c9b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T13.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T13; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\td-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T13.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\td-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\td-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\td-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\td-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T14.js deleted file mode 100644 index 9121bbd6ae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T14.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T14; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\nd-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T14.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\nd-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\nd-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\nd-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\nd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T15.js deleted file mode 100644 index 6ed18708c9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T15.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T15; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\vd-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T15", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T15.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\vd-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\vd-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\vd-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\vd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T16.js deleted file mode 100644 index 74d704151f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T16.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T16; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\fd-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T16", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T16.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\fd-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\fd-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\fd-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\fd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T17.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T17.js deleted file mode 100644 index 1dc4f27491..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T17.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T17; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\rd-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T17", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T17.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\rd-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\rd-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\rd-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\rd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T18.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T18.js deleted file mode 100644 index 7a9823e048..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T18.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T18; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\c0001d-G]/.exec("1")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T18", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T18.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\c0001d-G]/.exec(\"1\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\c0001d-G]/.exec("1") throw SyntaxError. Actual: ' + (new RegExp("[\\c0001d-G]").exec("1"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\c0001d-G]/.exec("1") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T19.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T19.js deleted file mode 100644 index a0ddca8272..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T19.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T19; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\x0061d-G]/.exec("1")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T19", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T19.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\x0061d-G]/.exec(\"1\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\x0061d-G]/.exec("1") throw SyntaxError. Actual: ' + (new RegExp("[\\x0061d-G]").exec("1"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\x0061d-G]/.exec("1") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T2.js deleted file mode 100644 index 3912b36d1f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T2; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[a-dc-b]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T2.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[a-dc-b]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[a-dc-b]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[a-dc-b]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[a-dc-b]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T20.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T20.js deleted file mode 100644 index 61d0e2bdb4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T20.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T20; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\u0061d-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T20", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T20.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\u0061d-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\u0061d-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\u0061d-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\u0061d-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T21.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T21.js deleted file mode 100644 index 4f2f0a455c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T21.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T21; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\ad-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T21", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T21.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\ad-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\ad-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\ad-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\ad-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T22.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T22.js deleted file mode 100644 index 8365df8ae0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T22.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T22; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[c-eb-a]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T22", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T22.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[c-eb-a]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[c-eb-a]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[c-eb-a]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[c-eb-a]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T23.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T23.js deleted file mode 100644 index a0243e9793..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T23.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T23; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[b-G\d]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T23", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T23.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[b-G\\d]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[b-G\\d]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[b-G\\d]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[b-G\\d]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T24.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T24.js deleted file mode 100644 index 22c1680b26..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T24.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T24; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[b-G\D]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T24", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T24.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[b-G\\D]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[b-G\\D]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[b-G\\D]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[b-G\\D]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T25.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T25.js deleted file mode 100644 index c0538bf873..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T25.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T25; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[b-G\s]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T25", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T25.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[b-G\\s]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[b-G\\s]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[b-G\\s]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[b-G\\s]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T26.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T26.js deleted file mode 100644 index 53b4b88ed7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T26.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T26; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[b-G\S]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T26", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T26.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[b-G\\S]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[b-G\\S]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[b-G\\S]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[b-G\\S]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T27.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T27.js deleted file mode 100644 index 652205f117..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T27.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T27; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[b-G\w]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T27", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T27.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[b-G\\w]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[b-G\\w]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[b-G\\w]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[b-G\\w]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T28.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T28.js deleted file mode 100644 index ed9bf11501..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T28.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T28; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[b-G\W]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T28", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T28.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[b-G\\W]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[b-G\\W]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[b-G\\W]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[b-G\\W]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T29.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T29.js deleted file mode 100644 index 417384cfdc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T29.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T29; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[b-G\0]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T29", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T29.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[b-G\\0]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[b-G\\0]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[b-G\\0]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[b-G\\0]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T3.js deleted file mode 100644 index e8acf820b2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T3; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\db-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T3.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\db-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\db-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\db-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\db-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T30.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T30.js deleted file mode 100644 index db6729d936..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T30.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T30; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[b-G\10]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T30", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T30.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[b-G\\10]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[b-G\\10]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[b-G\\10]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[b-G\\10]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T31.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T31.js deleted file mode 100644 index 147e0ca9b3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T31.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T31; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\b]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T31", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T31.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\b]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\b]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\b]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\b]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T32.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T32.js deleted file mode 100644 index 7ab3d9a292..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T32.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T32; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\B]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T32", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T32.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\B]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\B]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\B]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\B]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T33.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T33.js deleted file mode 100644 index d6a9c4a4f2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T33.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T33; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\t]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T33", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T33.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\t]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\t]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\t]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\t]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T34.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T34.js deleted file mode 100644 index 3dcecd747d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T34.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T34; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\n]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T34", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T34.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\n]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\n]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\n]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\n]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T35.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T35.js deleted file mode 100644 index 424ead06a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T35.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T35; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\v]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T35", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T35.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\v]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\v]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\v]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\v]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T36.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T36.js deleted file mode 100644 index 8d12bb8ee8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T36.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T36; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\f]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T36", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T36.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\f]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\f]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\f]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\f]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T37.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T37.js deleted file mode 100644 index 7c049c4c28..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T37.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T37; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\r]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T37", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T37.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\r]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\r]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\r]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\r]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T38.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T38.js deleted file mode 100644 index fb09f6448e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T38.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T38; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\c0001]/.exec("1")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T38", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T38.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\c0001]/.exec(\"1\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\c0001]/.exec("1") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\c0001]").exec("1"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\c0001]/.exec("1") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T39.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T39.js deleted file mode 100644 index 8fb0c26f69..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T39.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T39; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\x0061]/.exec("1")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T39", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T39.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\x0061]/.exec(\"1\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\x0061]/.exec("1") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\x0061]").exec("1"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\x0061]/.exec("1") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T4.js deleted file mode 100644 index 88db6ec1bc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T4.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T4; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\Db-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T4.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\Db-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\Db-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\Db-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\Db-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T40.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T40.js deleted file mode 100644 index 13f195bc53..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T40.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T40; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\u0061]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T40", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T40.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\u0061]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\u0061]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\u0061]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\u0061]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T41.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T41.js deleted file mode 100644 index 82444915de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T41.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T41; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[d-G\a]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T41", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T41.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[d-G\\a]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[d-G\\a]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[d-G\\a]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[d-G\\a]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T5.js deleted file mode 100644 index 39fea7b85f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T5; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\sb-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T5.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\sb-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\sb-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\sb-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\sb-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T6.js deleted file mode 100644 index 92f80cf5af..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T6.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T6; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\Sb-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T6.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\Sb-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\Sb-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\Sb-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\Sb-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T7.js deleted file mode 100644 index 3dce2c5d84..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T7.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T7; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\wb-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T7.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\wb-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\wb-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\wb-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\wb-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T8.js deleted file mode 100644 index e3faf5eede..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T8.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T8; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\Wb-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T8.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\Wb-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\Wb-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\Wb-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\Wb-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T9.js deleted file mode 100644 index a03163d767..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T9.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.15_A1_T9; -* @section: 15.10.2.15; -* @assertion: The internal helper function CharacterRange takes two CharSet parameters A and B and performs the -* following: -* If A does not contain exactly one character or B does not contain exactly one character then throw -* a SyntaxError exception; -* @description: Checking if execution of "/[\0b-G]/.exec("a")" leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.15_A1_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.15_NonemptyClassRanges/S15.10.2.15_A1_T9.js", - -assertion: "The internal helper function CharacterRange takes two CharSet parameters A and B and performs the", - -description: "Checking if execution of \"/[\\0b-G]/.exec(\"a\")\" leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[\\0b-G]/.exec("a") throw SyntaxError. Actual: ' + (new RegExp("[\\0b-G]").exec("a"))); -} catch (e) { - if((e instanceof SyntaxError) !== true){ - $ERROR('#1.2: /[\\0b-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T1.js deleted file mode 100644 index af3e1fe97b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T1; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /a|ab/.exec("abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T1.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /a|ab/.exec(\"abc\") and check results", - -test: function testcase() { - __executed = /a|ab/.exec("abc"); - -__expected = ["a"]; -__expected.index = 0; -__expected.input = "abc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a|ab/.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a|ab/.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a|ab/.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a|ab/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T10.js deleted file mode 100644 index 07ed7d7c98..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T10.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T10; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /(?:ab|cd)+|ef/i.exec("AEKeFCDab") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T10.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /(?:ab|cd)+|ef/i.exec(\"AEKeFCDab\") and check results", - -test: function testcase() { - __executed = /(?:ab|cd)+|ef/i.exec("AEKeFCDab"); - -__expected = ["eF"]; -__expected.index = 3; -__expected.input = "AEKeFCDab"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(?:ab|cd)+|ef/i.exec("AEKeFCDab"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(?:ab|cd)+|ef/i.exec("AEKeFCDab"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(?:ab|cd)+|ef/i.exec("AEKeFCDab"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(?:ab|cd)+|ef/i.exec("AEKeFCDab"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T11.js deleted file mode 100644 index 1eb63cea3e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T11.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T11; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /11111|111/.exec("1111111111111111") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T11.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /11111|111/.exec(\"1111111111111111\") and check results", - -test: function testcase() { - __executed = /11111|111/.exec("1111111111111111"); - -__expected = ["11111"]; -__expected.index = 0; -__expected.input = "1111111111111111"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /11111|111/.exec("1111111111111111"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /11111|111/.exec("1111111111111111"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /11111|111/.exec("1111111111111111"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /11111|111/.exec("1111111111111111"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T12.js deleted file mode 100644 index b1056d8276..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T12.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T12; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /xyz|.../.exec("abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T12.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /xyz|.../.exec(\"abc\") and check results", - -test: function testcase() { - __executed = /xyz|.../.exec("abc"); - -__expected = ["abc"]; -__expected.index = 0; -__expected.input = "abc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /xyz|.../.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /xyz|.../.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /xyz|.../.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /xyz|.../.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T13.js deleted file mode 100644 index c617ea7335..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T13.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T13; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /(.)..|abc/.exec("abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T13.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /(.)..|abc/.exec(\"abc\") and check results", - -test: function testcase() { - __executed = /(.)..|abc/.exec("abc"); - -__expected = ["abc","a"]; -__expected.index = 0; -__expected.input = "abc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(.)..|abc/.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(.)..|abc/.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(.)..|abc/.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(.)..|abc/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T14.js deleted file mode 100644 index 73462331e8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T14.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T14; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /.+: gr(a|e)y/.exec("color: grey") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T14.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /.+: gr(a|e)y/.exec(\"color: grey\") and check results", - -test: function testcase() { - __executed = /.+: gr(a|e)y/.exec("color: grey"); - -__expected = ["color: grey","e"]; -__expected.index = 0; -__expected.input = "color: grey"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /.+: gr(a|e)y/.exec("color: grey"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /.+: gr(a|e)y/.exec("color: grey"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /.+: gr(a|e)y/.exec("color: grey"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /.+: gr(a|e)y/.exec("color: grey"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T15.js deleted file mode 100644 index 0534c90ec7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T15.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T15; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T15", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T15.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /(Rob)|(Bob)|(Robert)|(Bobby)/.exec(\"Hi Bob\") and check results", - -test: function testcase() { - __executed = /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob"); - -__expected = ["Bob",undefined,"Bob", undefined, undefined]; -__expected.index = 3; -__expected.input = "Hi Bob"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T16.js deleted file mode 100644 index 23db5cc31a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T16.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T16; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /()|/.exec("") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T16", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T16.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /()|/.exec(\"\") and check results", - -test: function testcase() { - __executed = /()|/.exec(""); - -__expected = ["",""]; -__expected.index = 0; -__expected.input = ""; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /()|/.exec(""); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /()|/.exec(""); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /()|/.exec(""); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /()|/.exec(""); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T17.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T17.js deleted file mode 100644 index c29c12d590..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T17.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T17; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /|()/.exec("") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T17", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T17.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /|()/.exec(\"\") and check results", - -test: function testcase() { - __executed = /|()/.exec(""); - -__expected = ["",undefined]; -__expected.index = 0; -__expected.input = ""; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /|()/.exec(""); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /|()/.exec(""); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /|()/.exec(""); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /|()/.exec(""); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T2.js deleted file mode 100644 index ba82e47582..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T2; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /((a)|(ab))((c)|(bc))/.exec("abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T2.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /((a)|(ab))((c)|(bc))/.exec(\"abc\") and check results", - -test: function testcase() { - __executed = /((a)|(ab))((c)|(bc))/.exec("abc"); - -__expected = ["abc", "a", "a", undefined, "bc", undefined, "bc"]; -__expected.index = 0; -__expected.input = "abc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /((a)|(ab))((c)|(bc))/.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /((a)|(ab))((c)|(bc))/.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /((a)|(ab))((c)|(bc))/.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /((a)|(ab))((c)|(bc))/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T3.js deleted file mode 100644 index 6060b17db7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T3; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T3.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /\\d{3}|[a-z]{4}/.exec(\"2, 12 and of course repeat 12\") and check results", - -test: function testcase() { - __executed = /\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12"); - -__expected = ["cour"]; -__expected.index = 13; -__expected.input = "2, 12 and of course repeat 12"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T4.js deleted file mode 100644 index 4a7f59acfb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T4.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T4; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T4.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /\\d{3}|[a-z]{4}/.exec(\"2, 12 and 234 AND of course repeat 12\") and check results", - -test: function testcase() { - __executed = /\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12"); - -__expected = ["234"]; -__expected.index = 10; -__expected.input = "2, 12 and 234 AND of course repeat 12"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T5.js deleted file mode 100644 index 553a001fe3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T5; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T5.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /\\d{3}|[a-z]{4}/.test(\"2, 12 and 23 AND 0.00.1\") and check results", - -test: function testcase() { - __executed = /\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /\\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T6.js deleted file mode 100644 index b4f603057f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T6.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T6; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /ab|cd|ef/i.exec("AEKFCD") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T6.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /ab|cd|ef/i.exec(\"AEKFCD\") and check results", - -test: function testcase() { - __executed = /ab|cd|ef/i.exec("AEKFCD"); - -__expected = ["CD"]; -__expected.index = 4; -__expected.input = "AEKFCD"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /ab|cd|ef/i.exec("AEKFCD"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /ab|cd|ef/i.exec("AEKFCD"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /ab|cd|ef/i.exec("AEKFCD"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /ab|cd|ef/i.exec("AEKFCD"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T7.js deleted file mode 100644 index 514ae37f95..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T7; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /ab|cd|ef/.test("AEKFCD") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T7.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /ab|cd|ef/.test(\"AEKFCD\") and check results", - -test: function testcase() { - __executed = /ab|cd|ef/.test("AEKFCD"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /ab|cd|ef/.test("AEKFCD") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T8.js deleted file mode 100644 index 0c59e23726..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T8; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /(?:ab|cd)+|ef/i.exec("AEKFCD") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T8.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /(?:ab|cd)+|ef/i.exec(\"AEKFCD\") and check results", - -test: function testcase() { - __executed = /(?:ab|cd)+|ef/i.exec("AEKFCD"); - -__expected = ["CD"]; -__expected.index = 4; -__expected.input = "AEKFCD"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCD"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCD"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCD"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCD"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T9.js deleted file mode 100644 index ca57bc646c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T9.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.3_A1_T9; -* @section: 15.10.2.3; -* @assertion: The | regular expression operator separates two alternatives. -* The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). -* If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression); -* @description: Execute /(?:ab|cd)+|ef/i.exec("AEKFCDab") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.3_A1_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.3_Disjunction/S15.10.2.3_A1_T9.js", - -assertion: "The | regular expression operator separates two alternatives.", - -description: "Execute /(?:ab|cd)+|ef/i.exec(\"AEKFCDab\") and check results", - -test: function testcase() { - __executed = /(?:ab|cd)+|ef/i.exec("AEKFCDab"); - -__expected = ["CDab"]; -__expected.index = 4; -__expected.input = "AEKFCDab"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCDab"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCDab"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCDab"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCDab"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T1.js deleted file mode 100644 index 3944e45122..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.5_A1_T1; -* @section: 15.10.2.5; -* @assertion: An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier; -* @description: Execute /a[a-z]{2,4}/.exec("abcdefghi") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.5_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T1.js", - -assertion: "An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier", - -description: "Execute /a[a-z]{2,4}/.exec(\"abcdefghi\") and check results", - -test: function testcase() { - __executed = /a[a-z]{2,4}/.exec("abcdefghi"); - -__expected = ["abcde"]; -__expected.index = 0; -__expected.input = "abcdefghi"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a[a-z]{2,4}/.exec("abcdefghi"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a[a-z]{2,4}/.exec("abcdefghi"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a[a-z]{2,4}/.exec("abcdefghi"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a[a-z]{2,4}/.exec("abcdefghi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T2.js deleted file mode 100644 index 57f136ceac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.5_A1_T2; -* @section: 15.10.2.5; -* @assertion: An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier; -* @description: Execute /a[a-z]{2,4}?/.exec("abcdefghi") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.5_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T2.js", - -assertion: "An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier", - -description: "Execute /a[a-z]{2,4}?/.exec(\"abcdefghi\") and check results", - -test: function testcase() { - __executed = /a[a-z]{2,4}?/.exec("abcdefghi"); - -__expected = ["abc"]; -__expected.index = 0; -__expected.input = "abcdefghi"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a[a-z]{2,4}?/.exec("abcdefghi"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a[a-z]{2,4}?/.exec("abcdefghi"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a[a-z]{2,4}?/.exec("abcdefghi"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a[a-z]{2,4}?/.exec("abcdefghi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T3.js deleted file mode 100644 index 1327bfc101..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.5_A1_T3; -* @section: 15.10.2.5; -* @assertion: An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier; -* @description: Execute /(aa|aabaac|ba|b|c)* /.exec("aabaac") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.5_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T3.js", - -assertion: "An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier", - -description: "Execute /(aa|aabaac|ba|b|c)* /.exec(\"aabaac\") and check results", - -test: function testcase() { - __executed = /(aa|aabaac|ba|b|c)*/.exec("aabaac"); - -__expected = ["aaba", "ba"]; -__expected.index = 0; -__expected.input = "aabaac"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(aa|aabaac|ba|b|c)*/.exec("aabaac"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(aa|aabaac|ba|b|c)*/.exec("aabaac"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(aa|aabaac|ba|b|c)*/.exec("aabaac"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(aa|aabaac|ba|b|c)*/.exec("aabaac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T4.js deleted file mode 100644 index 778027cb92..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.5_A1_T4; -* @section: 15.10.2.5; -* @assertion: An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier; -* @description: Execute /(z)((a+)?(b+)?(c))* /.exec("zaacbbbcac") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.5_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T4.js", - -assertion: "An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier", - -description: "Execute /(z)((a+)?(b+)?(c))* /.exec(\"zaacbbbcac\") and check results", - -test: function testcase() { - __executed = /(z)((a+)?(b+)?(c))*/.exec("zaacbbbcac"); - -__expected = ["zaacbbbcac", "z", "ac", "a", undefined, "c"]; -__expected.index = 0; -__expected.input = "zaacbbbcac"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(z)((a+)?(b+)?(c))*/.exec("zaacbbbcac"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(z)((a+)?(b+)?(c))*/.exec("zaacbbbcac"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(z)((a+)?(b+)?(c))*/.exec("zaacbbbcac"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(z)((a+)?(b+)?(c))*/.exec("zaacbbbcac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T5.js deleted file mode 100644 index 74a4464031..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.5_A1_T5; -* @section: 15.10.2.5; -* @assertion: An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier; -* @description: Execute /(a*)b\1+/.exec("baaaac") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.5_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.5_Term/S15.10.2.5_A1_T5.js", - -assertion: "An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier", - -description: "Execute /(a*)b\\1+/.exec(\"baaaac\") and check results", - -test: function testcase() { - __executed = /(a*)b\1+/.exec("baaaac"); - -__expected = ["b", ""]; -__expected.index = 0; -__expected.input = "baaaac"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(a*)b\\1+/.exec("baaaac"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(a*)b\\1+/.exec("baaaac"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(a*)b\\1+/.exec("baaaac"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(a*)b\\1+/.exec("baaaac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T1.js deleted file mode 100644 index 992033297e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A1_T1; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /s$/.test("pairs\nmakes\tdouble") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T1.js", - -assertion: "The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /s$/.test(\"pairs\\nmakes\\tdouble\") and check results", - -test: function testcase() { - __executed = /s$/.test("pairs\nmakes\tdouble"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /s$/.test("pairs\\nmakes\\tdouble") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T2.js deleted file mode 100644 index cffc37c020..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A1_T2; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /e$/.exec("pairs\nmakes\tdouble") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T2.js", - -assertion: "The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /e$/.exec(\"pairs\\nmakes\\tdouble\") and check results", - -test: function testcase() { - __executed = /e$/.exec("pairs\nmakes\tdouble"); - -__expected = ["e"]; -__expected.index = 17; -__expected.input = "pairs\nmakes\tdouble"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /e$/.exec("pairs\\nmakes\\tdouble"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /e$/.exec("pairs\\nmakes\\tdouble"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /e$/.exec("pairs\\nmakes\\tdouble"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /e$/.exec("pairs\\nmakes\\tdouble"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T3.js deleted file mode 100644 index e1e3c39a28..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A1_T3; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /s$/m.exec("pairs\nmakes\tdouble") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T3.js", - -assertion: "The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /s$/m.exec(\"pairs\\nmakes\\tdouble\") and check results", - -test: function testcase() { - __executed = /s$/m.exec("pairs\nmakes\tdouble"); - -__expected = ["s"]; -__expected.index = 4; -__expected.input = "pairs\nmakes\tdouble"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /s$/m.exec("pairs\\nmakes\\tdouble"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /s$/m.exec("pairs\\nmakes\\tdouble"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /s$/m.exec("pairs\\nmakes\\tdouble"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /s$/m.exec("pairs\\nmakes\\tdouble"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T4.js deleted file mode 100644 index 9d64a9641d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A1_T4; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /[^e]$/mg.exec("pairs\nmakes\tdouble") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T4.js", - -assertion: "The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /[^e]$/mg.exec(\"pairs\\nmakes\\tdouble\") and check results", - -test: function testcase() { - __executed = /[^e]$/mg.exec("pairs\nmakes\tdouble"); - -__expected = ["s"]; -__expected.index = 4; -__expected.input = "pairs\nmakes\tdouble"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^e]$/mg.exec("pairs\\nmakes\\tdouble"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^e]$/mg.exec("pairs\\nmakes\\tdouble"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^e]$/mg.exec("pairs\\nmakes\\tdouble"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^e]$/mg.exec("pairs\\nmakes\\tdouble"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T5.js deleted file mode 100644 index 0ad7625e35..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A1_T5; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /es$/mg.exec("pairs\nmakes\tdoubl\u0065s") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T5.js", - -assertion: "The production Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /es$/mg.exec(\"pairs\\nmakes\\tdoubl\\u0065s\") and check results", - -test: function testcase() { - __executed = /es$/mg.exec("pairs\nmakes\tdoubl\u0065s"); - -__expected = ["es"]; -__expected.index = 17; -__expected.input = "pairs\nmakes\tdoubles"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /es$/mg.exec("pairs\\nmakes\\tdoubl\\u0065s"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /es$/mg.exec("pairs\\nmakes\\tdoubl\\u0065s"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /es$/mg.exec("pairs\\nmakes\\tdoubl\\u0065s"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /es$/mg.exec("pairs\\nmakes\\tdoubl\\u0065s"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T1.js deleted file mode 100644 index 533c62de36..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T1; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^m/.test("pairs\nmakes\tdouble") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T1.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^m/.test(\"pairs\\nmakes\\tdouble\") and check results", - -test: function testcase() { - __executed = /^m/.test("pairs\nmakes\tdouble"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /^m/.test("pairs\\nmakes\\tdouble") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T10.js deleted file mode 100644 index 312d0febeb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T10.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T10; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^\d+/m.exec("abc\n123xyz") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T10.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^\\d+/m.exec(\"abc\\n123xyz\") and check results", - -test: function testcase() { - __executed = /^\d+/m.exec("abc\n123xyz"); - -__expected = ["123"]; -__expected.index = 4; -__expected.input = "abc\n123xyz"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^\\d+/m.exec("abc\\n123xyz"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^\\d+/m.exec("abc\\n123xyz"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^\\d+/m.exec("abc\\n123xyz"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^\\d+/m.exec("abc\\n123xyz"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T2.js deleted file mode 100644 index 962176af9d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T2; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^m/m.exec("pairs\nmakes\tdouble") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T2.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^m/m.exec(\"pairs\\nmakes\\tdouble\") and check results", - -test: function testcase() { - __executed = /^m/m.exec("pairs\nmakes\tdouble"); - -__expected = ["m"]; -__expected.index = 6; -__expected.input = "pairs\nmakes\tdouble"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^m/m.exec("pairs\\nmakes\\tdouble"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^m/m.exec("pairs\\nmakes\\tdouble"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^m/m.exec("pairs\\nmakes\\tdouble"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^m/m.exec("pairs\\nmakes\\tdouble"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T3.js deleted file mode 100644 index 7acf609388..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T3; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^p[a-z]/.exec("pairs\nmakes\tdouble\npesos") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T3.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^p[a-z]/.exec(\"pairs\\nmakes\\tdouble\\npesos\") and check results", - -test: function testcase() { - __executed = /^p[a-z]/.exec("pairs\nmakes\tdouble\npesos"); - -__expected = ["pa"]; -__expected.index = 0; -__expected.input = "pairs\nmakes\tdouble\npesos"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^p[a-z]/.exec("pairs\\nmakes\\tdouble\\npesos"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^p[a-z]/.exec("pairs\\nmakes\\tdouble\\npesos"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^p[a-z]/.exec("pairs\\nmakes\\tdouble\\npesos"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^p[a-z]/.exec("pairs\\nmakes\\tdouble\\npesos"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T4.js deleted file mode 100644 index 4953ea537f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T4; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^p[a-z]/m.exec("pairs\nmakes\tdouble\npesos") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T4.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^p[a-z]/m.exec(\"pairs\\nmakes\\tdouble\\npesos\") and check results", - -test: function testcase() { - __executed = /^p[b-z]/m.exec("pairs\nmakes\tdouble\npesos"); - -__expected = ["pe"]; -__expected.index = 19; -__expected.input = "pairs\nmakes\tdouble\npesos"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^p[b-z]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^p[b-z]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^p[b-z]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^p[b-z]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T5.js deleted file mode 100644 index 144fdf2d5e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T5; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^[^p]/m.exec("pairs\nmakes\tdouble\npesos") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T5.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^[^p]/m.exec(\"pairs\\nmakes\\tdouble\\npesos\") and check results", - -test: function testcase() { - __executed = /^[^p]/m.exec("pairs\nmakes\tdouble\npesos"); - -__expected = ["m"]; -__expected.index = 6; -__expected.input = "pairs\nmakes\tdouble\npesos"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^[^p]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^[^p]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^[^p]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^[^p]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T6.js deleted file mode 100644 index 858cd965e3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T6.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T6; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^ab/.exec("abcde") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T6.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^ab/.exec(\"abcde\") and check results", - -test: function testcase() { - __executed = /^ab/.exec("abcde"); - -__expected = ["ab"]; -__expected.index = 0; -__expected.input = "abcde"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^ab/.exec("abcde"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^ab/.exec("abcde"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^ab/.exec("abcde"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^ab/.exec("abcde"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T7.js deleted file mode 100644 index 291bec4122..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T7.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T7; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^..^e/.test("ab\ncde") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T7.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^..^e/.test(\"ab\\ncde\") and check results", - -test: function testcase() { - __executed = /^..^e/.test("ab\ncde"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /^..^e/.test("ab\\ncde") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T8.js deleted file mode 100644 index e7311b8478..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T8.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T8; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^xxx/.test("yyyyy") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T8.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^xxx/.test(\"yyyyy\") and check results", - -test: function testcase() { - __executed = /^xxx/.test("yyyyy"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /^xxx/.test("yyyyy") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T9.js deleted file mode 100644 index 00593edc50..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T9.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A2_T9; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /^\^+/.exec("^^^x") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A2_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A2_T9.js", - -assertion: "The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /^\\^+/.exec(\"^^^x\") and check results", - -test: function testcase() { - __executed = /^\^+/.exec("^^^x"); - -__expected = ["^^^"]; -__expected.index = 0; -__expected.input = "^^^x"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^\\^+/.exec("^^^x"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^\\^+/.exec("^^^x"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^\\^+/.exec("^^^x"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^\\^+/.exec("^^^x"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T1.js deleted file mode 100644 index 7b8ffa469e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T1; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\bp/.exec("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T1.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\bp/.exec(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /\bp/.exec("pilot\nsoviet robot\topenoffice"); - -__expected = ["p"]; -__expected.index = 0; -__expected.input = "pilot\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\bp/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\bp/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\bp/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\bp/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T10.js deleted file mode 100644 index 75e7fe9479..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T10.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T10; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\brobot\b/.exec("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T10.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\brobot\\b/.exec(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /\brobot\b/.exec("pilot\nsoviet robot\topenoffice"); - -__expected = ["robot"]; -__expected.index = 13; -__expected.input = "pilot\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\brobot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\brobot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\brobot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\brobot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T11.js deleted file mode 100644 index 0ad7586aee..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T11.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T11; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\b\w{5}\b/.exec("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T11.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\b\\w{5}\\b/.exec(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /\b\w{5}\b/.exec("pilot\nsoviet robot\topenoffice"); - -__expected = ["pilot"]; -__expected.index = 0; -__expected.input = "pilot\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\b\\w{5}\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\b\\w{5}\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\b\\w{5}\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\b\\w{5}\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T12.js deleted file mode 100644 index 9da25ff9f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T12.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T12; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\bop/.exec("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T12.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\bop/.exec(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /\bop/.exec("pilot\nsoviet robot\topenoffice"); - -__expected = ["op"]; -__expected.index = 19; -__expected.input = "pilot\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\bop/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\bop/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\bop/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\bop/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T13.js deleted file mode 100644 index ac8e4b39b8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T13.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T13; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /op\b/.test("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T13.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /op\\b/.test(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /op\b/.test("pilot\nsoviet robot\topenoffice"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /op\\b/.test("pilot\\nsoviet robot\\topenoffice") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T14.js deleted file mode 100644 index 53a54fc0ab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T14.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T14; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /e\b/.exec("pilot\nsoviet robot\topenoffic\u0065") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T14.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /e\\b/.exec(\"pilot\\nsoviet robot\\topenoffic\\u0065\") and check results", - -test: function testcase() { - __executed = /e\b/.exec("pilot\nsoviet robot\topenoffic\u0065"); - -__expected = ["e"]; -__expected.index = 28; -__expected.input = "pilot\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /e\\b/.exec("pilot\\nsoviet robot\\topenoffic\\u0065"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /e\\b/.exec("pilot\\nsoviet robot\\topenoffic\\u0065"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /e\\b/.exec("pilot\\nsoviet robot\\topenoffic\\u0065"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /e\\b/.exec("pilot\\nsoviet robot\\topenoffic\\u0065"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T15.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T15.js deleted file mode 100644 index 186648aec6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T15.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T15; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\be/.test("pilot\nsoviet robot\topenoffic\u0065") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T15", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T15.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\be/.test(\"pilot\\nsoviet robot\\topenoffic\\u0065\") and check results", - -test: function testcase() { - __executed = /\be/.test("pilot\nsoviet robot\topenoffic\u0065"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /\\be/.test("pilot\\nsoviet robot\\topenoffic\\u0065") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T2.js deleted file mode 100644 index a0421d6edd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T2; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /ot\b/.exec("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T2.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /ot\\b/.exec(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /ot\b/.exec("pilot\nsoviet robot\topenoffice"); - -__expected = ["ot"]; -__expected.index = 3; -__expected.input = "pilot\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /ot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /ot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /ot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /ot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T3.js deleted file mode 100644 index 824eadfb1d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T3; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\bot/.test("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T3.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\bot/.test(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /\bot/.test("pilot\nsoviet robot\topenoffice"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /\\bot/.test("pilot\\nsoviet robot\\topenoffice") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T4.js deleted file mode 100644 index f256919d6d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T4; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\bso/.exec("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T4.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\bso/.exec(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /\bso/.exec("pilot\nsoviet robot\topenoffice"); - -__expected = ["so"]; -__expected.index = 6; -__expected.input = "pilot\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\bso/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\bso/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\bso/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\bso/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T5.js deleted file mode 100644 index 8ce0bc2d94..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T5.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T5; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /so\b/.test("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T5.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /so\\b/.test(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /so\b/.test("pilot\nsoviet robot\topenoffice"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /so\\b/.test("pilot\\nsoviet robot\\topenoffice") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T6.js deleted file mode 100644 index 9b4bf77571..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T6.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T6; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /[^o]t\b/.exec("pilOt\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T6.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /[^o]t\\b/.exec(\"pilOt\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /[^o]t\b/.exec("pilOt\nsoviet robot\topenoffice"); - -__expected = ["Ot"]; -__expected.index = 3; -__expected.input = "pilOt\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^o]t\\b/.exec("pilOt\\nsoviet robot\\topenoffice"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^o]t\\b/.exec("pilOt\\nsoviet robot\\topenoffice"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^o]t\\b/.exec("pilOt\\nsoviet robot\\topenoffice"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^o]t\\b/.exec("pilOt\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T7.js deleted file mode 100644 index 9fc088fd32..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T7.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T7; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /[^o]t\b/i.exec("pilOt\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T7.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /[^o]t\\b/i.exec(\"pilOt\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /[^o]t\b/i.exec("pilOt\nsoviet robot\topenoffice"); - -__expected = ["et"]; -__expected.index = 10; -__expected.input = "pilOt\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^o]t\\b/i.exec("pilOt\\nsoviet robot\\topenoffice"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^o]t\\b/i.exec("pilOt\\nsoviet robot\\topenoffice"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^o]t\\b/i.exec("pilOt\\nsoviet robot\\topenoffice"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^o]t\\b/i.exec("pilOt\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T8.js deleted file mode 100644 index e4ce06d058..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T8.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T8; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\bro/.exec("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T8.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\bro/.exec(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /\bro/.exec("pilot\nsoviet robot\topenoffice"); - -__expected = ["ro"]; -__expected.index = 13; -__expected.input = "pilot\nsoviet robot\topenoffice"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\bro/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\bro/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\bro/.exec("pilot\\nsoviet robot\\topenoffice"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\bro/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T9.js deleted file mode 100644 index 6e9bb664c3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T9.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A3_T9; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /r\b/.exec("pilot\nsoviet robot\topenoffice") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A3_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A3_T9.js", - -assertion: "The production Assertion :: \\b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /r\\b/.exec(\"pilot\\nsoviet robot\\topenoffice\") and check results", - -test: function testcase() { - __executed = /r\b/.test("pilot\nsoviet robot\topenoffice"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /r\\b/.test("pilot\\nsoviet robot\\topenoffice") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T1.js deleted file mode 100644 index 1b52329c2c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A4_T1; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\Bevil\B/.exec("devils arise\tfor\nevil") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A4_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T1.js", - -assertion: "The production Assertion :: \\B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\Bevil\\B/.exec(\"devils arise\\tfor\\nevil\") and check results", - -test: function testcase() { - __executed = /\Bevil\B/.exec("devils arise\tfor\nevil"); - -__expected = ["evil"]; -__expected.index = 1; -__expected.input = "devils arise\tfor\nevil"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\Bevil\\B/.exec("devils arise\\tfor\\nevil"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\Bevil\\B/.exec("devils arise\\tfor\\nevil"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\Bevil\\B/.exec("devils arise\\tfor\\nevil"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\Bevil\\B/.exec("devils arise\\tfor\\nevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T2.js deleted file mode 100644 index 2450d83e56..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A4_T2; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /[f-z]e\B/.exec("devils arise\tfor\nevil") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A4_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T2.js", - -assertion: "The production Assertion :: \\B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /[f-z]e\\B/.exec(\"devils arise\\tfor\\nevil\") and check results", - -test: function testcase() { - __executed = /[f-z]e\B/.exec("devils arise\tfor\nrevil"); - -__expected = ["re"]; -__expected.index = 17; -__expected.input = "devils arise\tfor\nrevil"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[f-z]e\\B/.exec("devils arise\\tfor\\nrevil"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[f-z]e\\B/.exec("devils arise\\tfor\\nrevil"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[f-z]e\\B/.exec("devils arise\\tfor\\nrevil"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[f-z]e\\B/.exec("devils arise\\tfor\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T3.js deleted file mode 100644 index 00342d736c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A4_T3; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\Bo\B/.exec("devils arise\tfor\nevil") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A4_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T3.js", - -assertion: "The production Assertion :: \\B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\Bo\\B/.exec(\"devils arise\\tfor\\nevil\") and check results", - -test: function testcase() { - __executed = /\Bo\B/i.exec("devils arise\tfOr\nrevil"); - -__expected = ["O"]; -__expected.index = 14; -__expected.input = "devils arise\tfOr\nrevil"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\Bo\\B/i.exec("devils arise\\tfOr\\nrevil"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\Bo\\B/i.exec("devils arise\\tfOr\\nrevil"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\Bo\\B/i.exec("devils arise\\tfOr\\nrevil"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\Bo\\B/i.exec("devils arise\\tfOr\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T4.js deleted file mode 100644 index 2167c66cdb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A4_T4; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\B\w\B/.exec("devils arise\tfor\nevil") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A4_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T4.js", - -assertion: "The production Assertion :: \\B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\B\\w\\B/.exec(\"devils arise\\tfor\\nevil\") and check results", - -test: function testcase() { - __executed = /\B\w\B/.exec("devils arise\tfor\nrevil"); - -__expected = ["e"]; -__expected.index = 1; -__expected.input = "devils arise\tfor\nrevil"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\B\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\B\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\B\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\B\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T5.js deleted file mode 100644 index 4351779ece..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A4_T5; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\w\B/.exec("devils arise\tfor\nevil") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A4_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T5.js", - -assertion: "The production Assertion :: \\B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\w\\B/.exec(\"devils arise\\tfor\\nevil\") and check results", - -test: function testcase() { - __executed = /\w\B/.exec("devils arise\tfor\nrevil"); - -__expected = ["d"]; -__expected.index = 0; -__expected.input = "devils arise\tfor\nrevil"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T6.js deleted file mode 100644 index da5cb635ea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T6.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A4_T6; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\B\w/.exec("devils arise\tfor\nevil") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A4_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T6.js", - -assertion: "The production Assertion :: \\B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\B\\w/.exec(\"devils arise\\tfor\\nevil\") and check results", - -test: function testcase() { - __executed = /\B\w/.exec("devils arise\tfor\nrevil"); - -__expected = ["e"]; -__expected.index = 1; -__expected.input = "devils arise\tfor\nrevil"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\B\\w/.exec("devils arise\\tfor\\nrevil"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\B\\w/.exec("devils arise\\tfor\\nrevil"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\B\\w/.exec("devils arise\\tfor\\nrevil"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\B\\w/.exec("devils arise\\tfor\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T7.js deleted file mode 100644 index 7d09047837..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T7.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A4_T7; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\B\[^z]{4}\B/.test("devil arise\tforzzx\nevils") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A4_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T7.js", - -assertion: "The production Assertion :: \\B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\B\\[^z]{4}\\B/.test(\"devil arise\\tforzzx\\nevils\") and check results", - -test: function testcase() { - __executed = /\B\[^z]{4}\B/.test("devil arise\tforzzx\nevils"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /\\B\\[^z]{4}\\B/.test("devil arise\\tforzzx\\nevils") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T8.js deleted file mode 100644 index 07adc03427..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T8.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A4_T8; -* @section: 15.10.2.6; -* @assertion: The production Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...; -* @description: Execute /\B\w{4}\B/.exec("devil arise\tforzzx\nevils") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A4_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A4_T8.js", - -assertion: "The production Assertion :: \\B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...", - -description: "Execute /\\B\\w{4}\\B/.exec(\"devil arise\\tforzzx\\nevils\") and check results", - -test: function testcase() { - __executed = /\B\w{4}\B/.exec("devil arise\tforzzx\nevils"); - -__expected = ["orzz"]; -__expected.index = 13; -__expected.input = "devil arise\tforzzx\nevils"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\B\\w{4}\\B/.exec("devil arise\\tforzzx\\nevils"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\B\\w{4}\\B/.exec("devil arise\\tforzzx\\nevils"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\B\\w{4}\\B/.exec("devil arise\\tforzzx\\nevils"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\B\\w{4}\\B/.exec("devil arise\\tforzzx\\nevils"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T1.js deleted file mode 100644 index da7ad51121..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A5_T1; -* @section: 15.10.2.6; -* @assertion: Since assertion evaluating do not change endIndex repetition of assertion does the same result; -* @description: Execute /^^^^^^^robot$$$$/.exec("robot") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A5_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T1.js", - -assertion: "Since assertion evaluating do not change endIndex repetition of assertion does the same result", - -description: "Execute /^^^^^^^robot$$$$/.exec(\"robot\") and check results", - -test: function testcase() { - __executed = /^^^^^^^robot$$$$/.exec("robot"); - -__expected = ["robot"]; -__expected.index = 0; -__expected.input = "robot"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^^^^^^^robot$$$$/.exec("robot"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^^^^^^^robot$$$$/.exec("robot"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^^^^^^^robot$$$$/.exec("robot"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^^^^^^^robot$$$$/.exec("robot"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T2.js deleted file mode 100644 index f9bd93532d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A5_T2; -* @section: 15.10.2.6; -* @assertion: Since assertion evaluating do not change endIndex repetition of assertion does the same result; -* @description: Execute /\B\B\B\B\B\Bbot\b\b\b\b\b\b\b/.exec("robot wall-e") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A5_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A5_T2.js", - -assertion: "Since assertion evaluating do not change endIndex repetition of assertion does the same result", - -description: "Execute /\\B\\B\\B\\B\\B\\Bbot\\b\\b\\b\\b\\b\\b\\b/.exec(\"robot wall-e\") and check results", - -test: function testcase() { - __executed = /\B\B\B\B\B\Bbot\b\b\b\b\b\b\b/.exec("robot wall-e"); - -__expected = ["bot"]; -__expected.index = 2; -__expected.input = "robot wall-e"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\B\\B\\B\\B\\B\\Bbot\\b\\b\\b\\b\\b\\b\\b/.exec("robot wall-e"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\B\\B\\B\\B\\B\\Bbot\\b\\b\\b\\b\\b\\b\\b/.exec("robot wall-e"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\B\\B\\B\\B\\B\\Bbot\\b\\b\\b\\b\\b\\b\\b/.exec("robot wall-e"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\B\\B\\B\\B\\B\\Bbot\\b\\b\\b\\b\\b\\b\\b/.exec("robot wall-e"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T1.js deleted file mode 100644 index b792bf531d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A6_T1; -* @section: 15.10.2.6; -* @assertion: Assertions in combination; -* @description: while asterix is non greedy it is run till the end because of dollar assertion; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A6_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T1.js", - -assertion: "Assertions in combination", - -description: "while asterix is non greedy it is run till the end because of dollar assertion", - -test: function testcase() { - __executed = /^.*?$/.exec("Hello World"); - -__expected = ["Hello World"]; -__expected.index = 0; -__expected.input = "Hello World"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^.*?$/.exec("Hello World"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^.*?$/.exec("Hello World"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^.*?$/.exec("Hello World"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^.*?$/.exec("Hello World"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T2.js deleted file mode 100644 index c152d6597a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A6_T2; -* @section: 15.10.2.6; -* @assertion: Assertions in combination; -* @description: Execute /^.*?/.exec("Hello World") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A6_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T2.js", - -assertion: "Assertions in combination", - -description: "Execute /^.*?/.exec(\"Hello World\") and check results", - -test: function testcase() { - __executed = /^.*?/.exec("Hello World"); - -__expected = [""]; -__expected.index = 0; -__expected.input = "Hello World"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^.*?/.exec("Hello World"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^.*?/.exec("Hello World"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^.*?/.exec("Hello World"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^.*?/.exec("Hello World"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T3.js deleted file mode 100644 index eafbb35137..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A6_T3; -* @section: 15.10.2.6; -* @assertion: Assertions in combination; -* @description: while asterix is non greedy it is run till matches end or colon; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A6_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T3.js", - -assertion: "Assertions in combination", - -description: "while asterix is non greedy it is run till matches end or colon", - -test: function testcase() { - __executed = /^.*?(:|$)/.exec("Hello: World"); - -__expected = ["Hello:", ":"]; -__expected.index = 0; -__expected.input = "Hello: World"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^.*?(:|$)/.exec("Hello: World"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^.*?(:|$)/.exec("Hello: World"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^.*?(:|$)/.exec("Hello: World"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^.*?(:|$)/.exec("Hello: World"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T4.js deleted file mode 100644 index c22824b096..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.6_A6_T4; -* @section: 15.10.2.6; -* @assertion: Assertions in combination; -* @description: Execute /^.*(:|$)/.exec("Hello: World") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.6_A6_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A6_T4.js", - -assertion: "Assertions in combination", - -description: "Execute /^.*(:|$)/.exec(\"Hello: World\") and check results", - -test: function testcase() { - __executed = /^.*(:|$)/.exec("Hello: World"); - -__expected = ["Hello: World", ""]; -__expected.index = 0; -__expected.input = "Hello: World"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^.*(:|$)/.exec("Hello: World"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^.*(:|$)/.exec("Hello: World"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^.*(:|$)/.exec("Hello: World"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^.*(:|$)/.exec("Hello: World"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T1.js deleted file mode 100644 index 9adb81c58e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T1; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /\d{2,4}/.exec("the answer is 42") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T1.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /\\d{2,4}/.exec(\"the answer is 42\") and check results", - -test: function testcase() { - __executed = /\d{2,4}/.exec("the answer is 42"); - -__expected = ["42"]; -__expected.index = 14; -__expected.input = "the answer is 42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\d{2,4}/.exec("the answer is 42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\d{2,4}/.exec("the answer is 42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\d{2,4}/.exec("the answer is 42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\d{2,4}/.exec("the answer is 42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T10.js deleted file mode 100644 index 5a79b342eb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T10.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T10; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /b{0,93}c/.exec("aaabbbbcccddeeeefffff") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T10.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /b{0,93}c/.exec(\"aaabbbbcccddeeeefffff\") and check results", - -test: function testcase() { - __executed = /b{0,93}c/.exec("aaabbbbcccddeeeefffff"); - -__expected = ["bbbbc"]; -__expected.index = 3; -__expected.input = "aaabbbbcccddeeeefffff"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /b{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /b{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /b{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /b{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T11.js deleted file mode 100644 index 132e5ee227..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T11.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T11; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /bx{0,93}c/.exec("aaabbbbcccddeeeefffff") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T11.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /bx{0,93}c/.exec(\"aaabbbbcccddeeeefffff\") and check results", - -test: function testcase() { - __executed = /bx{0,93}c/.exec("aaabbbbcccddeeeefffff"); - -__expected = ["bc"]; -__expected.index = 6; -__expected.input = "aaabbbbcccddeeeefffff"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /bx{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /bx{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /bx{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /bx{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T12.js deleted file mode 100644 index f238b590e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T12.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T12; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /.{0,93}/.exec("weirwerdf") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T12.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /.{0,93}/.exec(\"weirwerdf\") and check results", - -test: function testcase() { - __executed = /.{0,93}/.exec("weirwerdf"); - -__expected = ["weirwerdf"]; -__expected.index = 0; -__expected.input = "weirwerdf"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /.{0,93}/.exec("weirwerdf"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /.{0,93}/.exec("weirwerdf"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /.{0,93}/.exec("weirwerdf"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /.{0,93}/.exec("weirwerdf"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T2.js deleted file mode 100644 index 0db9fe227c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T2; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /\d{2,4}/.test("the 7 movie") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T2.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /\\d{2,4}/.test(\"the 7 movie\") and check results", - -test: function testcase() { - __executed = /\d{2,4}/.test("the 7 movie"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /\\d{2,4}/.test("the 7 movie") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T3.js deleted file mode 100644 index ff8c0d2ab0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T3; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /\d{2,4}/.exec("the 20000 Leagues Under the Sea book") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T3.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /\\d{2,4}/.exec(\"the 20000 Leagues Under the Sea book\") and check results", - -test: function testcase() { - __executed = /\d{2,4}/.exec("the 20000 Leagues Under the Sea book"); - -__expected = ["2000"]; -__expected.index = 4; -__expected.input = "the 20000 Leagues Under the Sea book"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\d{2,4}/.exec("the 20000 Leagues Under the Sea book"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\d{2,4}/.exec("the 20000 Leagues Under the Sea book"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\d{2,4}/.exec("the 20000 Leagues Under the Sea book"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\d{2,4}/.exec("the 20000 Leagues Under the Sea book"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T4.js deleted file mode 100644 index 64fa5dd7b8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T4; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /\d{2,4}/.exec("the Fahrenheit 451 book") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T4.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /\\d{2,4}/.exec(\"the Fahrenheit 451 book\") and check results", - -test: function testcase() { - __executed = /\d{2,4}/.exec("the Fahrenheit 451 book"); - -__expected = ["451"]; -__expected.index = 15; -__expected.input = "the Fahrenheit 451 book"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\d{2,4}/.exec("the Fahrenheit 451 book"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\d{2,4}/.exec("the Fahrenheit 451 book"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\d{2,4}/.exec("the Fahrenheit 451 book"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\d{2,4}/.exec("the Fahrenheit 451 book"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T5.js deleted file mode 100644 index 6e323f5998..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T5; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /\d{2,4}/.exec("the 1984 novel") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T5.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /\\d{2,4}/.exec(\"the 1984 novel\") and check results", - -test: function testcase() { - __executed = /\d{2,4}/.exec("the 1984 novel"); - -__expected = ["1984"]; -__expected.index = 4; -__expected.input = "the 1984 novel"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\d{2,4}/.exec("the 1984 novel"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\d{2,4}/.exec("the 1984 novel"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\d{2,4}/.exec("the 1984 novel"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\d{2,4}/.exec("the 1984 novel"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T6.js deleted file mode 100644 index 80b5c4c743..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T6.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T6; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /\d{2,4}/.exec("0a0\u0031\u0031b") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T6.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /\\d{2,4}/.exec(\"0a0\\u0031\\u0031b\") and check results", - -test: function testcase() { - __executed = /\d{2,4}/.exec("0a0\u0031\u0031b"); - -__expected = ["011"]; -__expected.index = 2; -__expected.input = "0a011b"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u0031b"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u0031b"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u0031b"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u0031b"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T7.js deleted file mode 100644 index 30952a4406..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T7.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T7; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /\d{2,4}/.exec("0a0\u0031\u003122b") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T7.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /\\d{2,4}/.exec(\"0a0\\u0031\\u003122b\") and check results", - -test: function testcase() { - __executed = /\d{2,4}/.exec("0a0\u0031\u003122b"); - -__expected = ["0112"]; -__expected.index = 2; -__expected.input = "0a01122b"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u003122b"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u003122b"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u003122b"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u003122b"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T8.js deleted file mode 100644 index f835e2ac80..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T8.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T8; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /b{2,3}c/.exec("aaabbbbcccddeeeefffff") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T8.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /b{2,3}c/.exec(\"aaabbbbcccddeeeefffff\") and check results", - -test: function testcase() { - __executed = /b{2,3}c/.exec("aaabbbbcccddeeeefffff"); - -__expected = ["bbbc"]; -__expected.index = 4; -__expected.input = "aaabbbbcccddeeeefffff"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /b{2,3}c/.exec("aaabbbbcccddeeeefffff"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /b{2,3}c/.exec("aaabbbbcccddeeeefffff"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /b{2,3}c/.exec("aaabbbbcccddeeeefffff"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /b{2,3}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T9.js deleted file mode 100644 index 97f480bc87..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T9.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A1_T9; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...; -* @description: Execute /b{42,93}c/.exec("aaabbbbcccddeeeefffff") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A1_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A1_T9.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...", - -description: "Execute /b{42,93}c/.exec(\"aaabbbbcccddeeeefffff\") and check results", - -test: function testcase() { - __executed = /b{42,93}c/.test("aaabbbbcccddeeeefffff"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /b{42,93}c/.test("aaabbbbcccddeeeefffff") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T1.js deleted file mode 100644 index e451319765..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A2_T1; -* @section: 15.10.2.7; -* @assertion: i) The production QuantifierPrefix :: { DecimalDigits } evaluates... -* ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /\w{3}\d?/.exec("CE\uFFFFL\uFFDDbox127") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T1.js", - -assertion: "i) The production QuantifierPrefix :: { DecimalDigits } evaluates...", - -description: "Execute /\\w{3}\\d?/.exec(\"CE\\uFFFFL\\uFFDDbox127\") and check results", - -test: function testcase() { - __executed = /\w{3}\d?/.exec("CE\uFFFFL\uFFDDbox127"); - -__expected = ["box1"]; -__expected.index = 5; -__expected.input = "CE\uFFFFL\uFFDDbox127"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\w{3}\\d?/.exec("CE\\uFFFFL\\uFFDDbox127"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\w{3}\\d?/.exec("CE\\uFFFFL\\uFFDDbox127"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\w{3}\\d?/.exec("CE\\uFFFFL\\uFFDDbox127"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\w{3}\\d?/.exec("CE\\uFFFFL\\uFFDDbox127"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T2.js deleted file mode 100644 index 84f6221b2b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A2_T2; -* @section: 15.10.2.7; -* @assertion: i) The production QuantifierPrefix :: { DecimalDigits } evaluates... -* ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /\w{3}\d?/.exec("CELL\uFFDDbox127") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T2.js", - -assertion: "i) The production QuantifierPrefix :: { DecimalDigits } evaluates...", - -description: "Execute /\\w{3}\\d?/.exec(\"CELL\\uFFDDbox127\") and check results", - -test: function testcase() { - __executed = /\w{3}\d?/.exec("CELL\uFFDDbox127"); - -__expected = ["CEL"]; -__expected.index = 0; -__expected.input = "CELL\uFFDDbox127"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\w{3}\\d?/.exec("CELL\\uFFDDbox127"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\w{3}\\d?/.exec("CELL\\uFFDDbox127"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\w{3}\\d?/.exec("CELL\\uFFDDbox127"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\w{3}\\d?/.exec("CELL\\uFFDDbox127"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T3.js deleted file mode 100644 index ba88716cd0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A2_T3; -* @section: 15.10.2.7; -* @assertion: i) The production QuantifierPrefix :: { DecimalDigits } evaluates... -* ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /b{2}c/.exec("aaabbbbcccddeeeefffff") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A2_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T3.js", - -assertion: "i) The production QuantifierPrefix :: { DecimalDigits } evaluates...", - -description: "Execute /b{2}c/.exec(\"aaabbbbcccddeeeefffff\") and check results", - -test: function testcase() { - __executed = /b{2}c/.exec("aaabbbbcccddeeeefffff"); - -__expected = ["bbc"]; -__expected.index = 5; -__expected.input = "aaabbbbcccddeeeefffff"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /b{2}c/.exec("aaabbbbcccddeeeefffff"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /b{2}c/.exec("aaabbbbcccddeeeefffff"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /b{2}c/.exec("aaabbbbcccddeeeefffff"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /b{2}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T4.js deleted file mode 100644 index ba3cf3897f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A2_T4; -* @section: 15.10.2.7; -* @assertion: i) The production QuantifierPrefix :: { DecimalDigits } evaluates... -* ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /b{8}c/.test("aaabbbbcccddeeeefffff") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A2_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A2_T4.js", - -assertion: "i) The production QuantifierPrefix :: { DecimalDigits } evaluates...", - -description: "Execute /b{8}c/.test(\"aaabbbbcccddeeeefffff\") and check results", - -test: function testcase() { - __executed = /b{8}/.test("aaabbbbcccddeeeefffff"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /b{8}/.test("aaabbbbcccddeeeefffff") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T1.js deleted file mode 100644 index 3208fa8f32..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T1; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /\s+java\s+/.exec("language java\n") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T1.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /\\s+java\\s+/.exec(\"language java\\n\") and check results", - -test: function testcase() { - __executed = /\s+java\s+/.exec("language java\n"); - -__expected = [" java\n"]; -__expected.index = 8; -__expected.input = "language java\n"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\s+java\\s+/.exec("language java\\n"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\s+java\\s+/.exec("language java\\n"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\s+java\\s+/.exec("language java\\n"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\s+java\\s+/.exec("language java\\n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T10.js deleted file mode 100644 index 23e34b2e9b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T10.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T10; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /o+/.test("abcdefg") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T10.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /o+/.test(\"abcdefg\") and check results", - -test: function testcase() { - __executed = /o+/.test("abcdefg"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /o+/.test("abcdefg") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T11.js deleted file mode 100644 index bdfaa36111..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T11.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T11; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /d+/.exec("abcdefg") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T11.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /d+/.exec(\"abcdefg\") and check results", - -test: function testcase() { - __executed = /d+/.exec("abcdefg"); - -__expected = ["d"]; -__expected.index = 3; -__expected.input = "abcdefg"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /d+/.exec("abcdefg"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /d+/.exec("abcdefg"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /d+/.exec("abcdefg"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /d+/.exec("abcdefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T12.js deleted file mode 100644 index 759aad0518..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T12.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T12; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /(b+)(b+)(b+)/.exec("abbbbbbbc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T12.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /(b+)(b+)(b+)/.exec(\"abbbbbbbc\") and check results", - -test: function testcase() { - __executed = /(b+)(b+)(b+)/.exec("abbbbbbbc"); - -__expected = ["bbbbbbb","bbbbb","b","b"]; -__expected.index = 1; -__expected.input = "abbbbbbbc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(b+)(b+)(b+)/.exec("abbbbbbbc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(b+)(b+)(b+)/.exec("abbbbbbbc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(b+)(b+)(b+)/.exec("abbbbbbbc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(b+)(b+)(b+)/.exec("abbbbbbbc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T13.js deleted file mode 100644 index 3321dd104c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T13.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T13; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /(b+)(b*)/.exec("abbbbbbbc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T13.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /(b+)(b*)/.exec(\"abbbbbbbc\") and check results", - -test: function testcase() { - __executed = /(b+)(b*)/.exec("abbbbbbbc"); - -__expected = ["bbbbbbb","bbbbbbb",""]; -__expected.index = 1; -__expected.input = "abbbbbbbc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(b+)(b*)/.exec("abbbbbbbc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(b+)(b*)/.exec("abbbbbbbc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(b+)(b*)/.exec("abbbbbbbc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(b+)(b*)/.exec("abbbbbbbc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T14.js deleted file mode 100644 index f28349f78e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T14.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T14; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /b*b+/.exec("abbbbbbbc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T14.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /b*b+/.exec(\"abbbbbbbc\") and check results", - -test: function testcase() { - __executed = /b*b+/.exec("abbbbbbbc"); - -__expected = ["bbbbbbb"]; -__expected.index = 1; -__expected.input = "abbbbbbbc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /b*b+/.exec("abbbbbbbc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /b*b+/.exec("abbbbbbbc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /b*b+/.exec("abbbbbbbc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /b*b+/.exec("abbbbbbbc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T2.js deleted file mode 100644 index 9f4dde91dc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T2; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /\s+java\s+/.exec("\t java object") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T2.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /\\s+java\\s+/.exec(\"\\t java object\") and check results", - -test: function testcase() { - __executed = /\s+java\s+/.exec("\t java object"); - -__expected = ["\t java "]; -__expected.index = 0; -__expected.input = "\t java object"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\s+java\\s+/.exec("\\t java object"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\s+java\\s+/.exec("\\t java object"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\s+java\\s+/.exec("\\t java object"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\s+java\\s+/.exec("\\t java object"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T3.js deleted file mode 100644 index 2ec808f27d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T3; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /\s+java\s+/.test("\t javax package") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T3.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /\\s+java\\s+/.test(\"\\t javax package\") and check results", - -test: function testcase() { - __executed = /\s+java\s+/.test("\t javax package"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /\\s+java\\s+/.test("\\t javax package") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T4.js deleted file mode 100644 index f0af861be6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T4; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /\s+java\s+/.test("java\n\nobject") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T4.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /\\s+java\\s+/.test(\"java\\n\\nobject\") and check results", - -test: function testcase() { - __executed = /\s+java\s+/.test("java\n\nobject"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /\\s+java\\s+/.test("java\\n\\nobject") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T5.js deleted file mode 100644 index a15d764f75..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T5; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /[a-z]+\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T5.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /[a-z]+\\d+/.exec(\"x 2 ff 55 x2 as1 z12 abc12.0\") and check results", - -test: function testcase() { - __executed = /[a-z]+\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); - -__expected = ["x2"]; -__expected.index = 10; -__expected.input = "x 2 ff 55 x2 as1 z12 abc12.0"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[a-z]+\\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[a-z]+\\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[a-z]+\\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[a-z]+\\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T6.js deleted file mode 100644 index 7e085451cd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T6.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T6; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /[a-z]+\d+/.exec("__abc123.0") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T6.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /[a-z]+\\d+/.exec(\"__abc123.0\") and check results", - -test: function testcase() { - __executed = /[a-z]+\d+/.exec("__abc123.0"); - -__expected = ["abc123"]; -__expected.index = 2; -__expected.input = "__abc123.0"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[a-z]+\\d+/.exec("__abc123.0"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[a-z]+\\d+/.exec("__abc123.0"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[a-z]+\\d+/.exec("__abc123.0"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[a-z]+\\d+/.exec("__abc123.0"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T7.js deleted file mode 100644 index b6dea8056a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T7.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T7; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /[a-z]+(\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T7.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /[a-z]+(\\d+)/.exec(\"x 2 ff 55 x2 as1 z12 abc12.0\") and check results", - -test: function testcase() { - __executed = /[a-z]+(\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); - -__expected = ["x2","2"]; -__expected.index = 10; -__expected.input = "x 2 ff 55 x2 as1 z12 abc12.0"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[a-z]+(\\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[a-z]+(\\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[a-z]+(\\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[a-z]+(\\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T8.js deleted file mode 100644 index 5decc360c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T8.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T8; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /[a-z]+(\d+)/.exec("__abc123.0") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T8.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /[a-z]+(\\d+)/.exec(\"__abc123.0\") and check results", - -test: function testcase() { - __executed = /[a-z]+(\d+)/.exec("__abc123.0"); - -__expected = ["abc123","123"]; -__expected.index = 2; -__expected.input = "__abc123.0"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[a-z]+(\\d+)/.exec("__abc123.0"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[a-z]+(\\d+)/.exec("__abc123.0"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[a-z]+(\\d+)/.exec("__abc123.0"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[a-z]+(\\d+)/.exec("__abc123.0"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T9.js deleted file mode 100644 index 92d2f91d91..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T9.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A3_T9; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty; -* @description: Execute /d+/.exec("abcdddddefg") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A3_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A3_T9.js", - -assertion: "The production QuantifierPrefix :: + evaluates by returning the two results 1 and \\infty", - -description: "Execute /d+/.exec(\"abcdddddefg\") and check results", - -test: function testcase() { - __executed = /d+/.exec("abcdddddefg"); - -__expected = ["ddddd"]; -__expected.index = 3; -__expected.input = "abcdddddefg"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /d+/.exec("abcdddddefg"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /d+/.exec("abcdddddefg"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /d+/.exec("abcdddddefg"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /d+/.exec("abcdddddefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T1.js deleted file mode 100644 index 78b75452e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T1; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /[^"]* /.exec('"beast"-nickname') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T1.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[^\"]* /.exec(\'\"beast\"-nickname\') and check results", - -test: function testcase() { - __executed = /[^"]*/.exec('"beast"-nickname'); - -__expected = [""]; -__expected.index = 0; -__expected.input = '"beast"-nickname'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^"]*/.exec(\'"beast"-nickname\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^"]*/.exec(\'"beast"-nickname\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^"]*/.exec(\'"beast"-nickname\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^"]*/.exec(\'"beast"-nickname\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T10.js deleted file mode 100644 index 859ffefda8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T10.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T10; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /d* /.exec('abcddddefg') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T10.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /d* /.exec(\'abcddddefg\') and check results", - -test: function testcase() { - __executed = /d*/.exec('abcddddefg'); - -__expected = [""]; -__expected.index = 0; -__expected.input = 'abcddddefg'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /d*/.exec(\'abcddddefg\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /d*/.exec(\'abcddddefg\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /d*/.exec(\'abcddddefg\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /d*/.exec(\'abcddddefg\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T11.js deleted file mode 100644 index 6a94312acf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T11.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T11; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /cd* /.exec('abcddddefg') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T11.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /cd* /.exec(\'abcddddefg\') and check results", - -test: function testcase() { - __executed = /cd*/.exec('abcddddefg'); - -__expected = ["cdddd"]; -__expected.index = 2; -__expected.input = 'abcddddefg'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /cd*/.exec(\'abcddddefg\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /cd*/.exec(\'abcddddefg\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /cd*/.exec(\'abcddddefg\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /cd*/.exec(\'abcddddefg\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T12.js deleted file mode 100644 index 2d3d482c34..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T12.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T12; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /cx*d/.exec('abcdefg') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T12.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /cx*d/.exec(\'abcdefg\') and check results", - -test: function testcase() { - __executed = /cx*d/.exec('abcdefg'); - -__expected = ["cd"]; -__expected.index = 2; -__expected.input = 'abcdefg'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /cx*d/.exec(\'abcdefg\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /cx*d/.exec(\'abcdefg\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /cx*d/.exec(\'abcdefg\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /cx*d/.exec(\'abcdefg\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T13.js deleted file mode 100644 index 9fe5364109..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T13.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T13; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /(x*)(x+)/.exec('xxxxxxx') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T13.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /(x*)(x+)/.exec(\'xxxxxxx\') and check results", - -test: function testcase() { - __executed = /(x*)(x+)/.exec('xxxxxxx'); - -__expected = ["xxxxxxx","xxxxxx","x"]; -__expected.index = 0; -__expected.input = 'xxxxxxx'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(x*)(x+)/.exec(\'xxxxxxx\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(x*)(x+)/.exec(\'xxxxxxx\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(x*)(x+)/.exec(\'xxxxxxx\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(x*)(x+)/.exec(\'xxxxxxx\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T14.js deleted file mode 100644 index a1b462655d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T14.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T14; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /(\d*)(\d+)/.exec('1234567890') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T14.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /(\\d*)(\\d+)/.exec(\'1234567890\') and check results", - -test: function testcase() { - __executed = /(\d*)(\d+)/.exec('1234567890'); - -__expected = ["1234567890","123456789","0"]; -__expected.index = 0; -__expected.input = '1234567890'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(\\d*)(\\d+)/.exec(\'1234567890\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(\\d*)(\\d+)/.exec(\'1234567890\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(\\d*)(\\d+)/.exec(\'1234567890\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(\\d*)(\\d+)/.exec(\'1234567890\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T15.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T15.js deleted file mode 100644 index 750c2d4b72..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T15.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T15; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /(\d*)\d(\d+)/.exec('1234567890') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T15", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T15.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /(\\d*)\\d(\\d+)/.exec(\'1234567890\') and check results", - -test: function testcase() { - __executed = /(\d*)\d(\d+)/.exec('1234567890'); - -__expected = ["1234567890","12345678","0"]; -__expected.index = 0; -__expected.input = '1234567890'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(\\d*)\\d(\\d+)/.exec(\'1234567890\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(\\d*)\\d(\\d+)/.exec(\'1234567890\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(\\d*)\\d(\\d+)/.exec(\'1234567890\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(\\d*)\\d(\\d+)/.exec(\'1234567890\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T16.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T16.js deleted file mode 100644 index a2f30c70bf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T16.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T16; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /(x+)(x*)/.exec('xxxxxxx') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T16", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T16.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /(x+)(x*)/.exec(\'xxxxxxx\') and check results", - -test: function testcase() { - __executed = /(x+)(x*)/.exec('xxxxxxx'); - -__expected = ["xxxxxxx","xxxxxxx",""]; -__expected.index = 0; -__expected.input = 'xxxxxxx'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(x+)(x*)/.exec(\'xxxxxxx\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(x+)(x*)/.exec(\'xxxxxxx\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(x+)(x*)/.exec(\'xxxxxxx\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(x+)(x*)/.exec(\'xxxxxxx\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T17.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T17.js deleted file mode 100644 index afacf94b31..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T17.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T17; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /x*y+$/.exec('xxxxxxyyyyyy') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T17", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T17.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /x*y+$/.exec(\'xxxxxxyyyyyy\') and check results", - -test: function testcase() { - __executed = /x*y+$/.exec('xxxxxxyyyyyy'); - -__expected = ["xxxxxxyyyyyy"]; -__expected.index = 0; -__expected.input = 'xxxxxxyyyyyy'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /x*y+$/.exec(\'xxxxxxyyyyyy\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /x*y+$/.exec(\'xxxxxxyyyyyy\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /x*y+$/.exec(\'xxxxxxyyyyyy\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /x*y+$/.exec(\'xxxxxxyyyyyy\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T18.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T18.js deleted file mode 100644 index 428f3845f5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T18.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T18; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /[\d]*[\s]*bc./.exec('abcdef') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T18", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T18.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[\\d]*[\\s]*bc./.exec(\'abcdef\') and check results", - -test: function testcase() { - __executed = /[\d]*[\s]*bc./.exec('abcdef'); - -__expected = ["bcd"]; -__expected.index = 1; -__expected.input = 'abcdef'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[\\d]*[\\s]*bc./.exec(\'abcdef\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[\\d]*[\\s]*bc./.exec(\'abcdef\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[\\d]*[\\s]*bc./.exec(\'abcdef\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[\\d]*[\\s]*bc./.exec(\'abcdef\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T19.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T19.js deleted file mode 100644 index 4d472b10b7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T19.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T19; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /bc..[\d]*[\s]* /.exec('abcdef') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T19", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T19.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /bc..[\\d]*[\\s]* /.exec(\'abcdef\') and check results", - -test: function testcase() { - __executed = /bc..[\d]*[\s]*/.exec('abcdef'); - -__expected = ["bcde"]; -__expected.index = 1; -__expected.input = 'abcdef'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /bc..[\\d]*[\\s]*/.exec(\'abcdef\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /bc..[\\d]*[\\s]*/.exec(\'abcdef\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /bc..[\\d]*[\\s]*/.exec(\'abcdef\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /bc..[\\d]*[\\s]*/.exec(\'abcdef\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js deleted file mode 100644 index 183a6b9cca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T2; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /[^"]* /.exec('alice said: "don\'t"') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[^\"]* /.exec(\'alice said: \"don\\\'t\"\') and check results", - -test: function testcase() { - __executed = /[^"]*/.exec('alice said: "don\'t"'); - -__expected = ["alice said: "]; -__expected.index = 0; -__expected.input = 'alice said: "don\'t"'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^"]*/.exec(\'alice said: "don\'t"\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^"]*/.exec(\'alice said: "don\'t"\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^"]*/.exec(\'alice said: "don\'t"\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^"]*/.exec(\'alice said: "don\'t"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T20.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T20.js deleted file mode 100644 index cd2d9bd7bf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T20.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T20; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /.* /.exec('a1b2c3') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T20", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T20.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /.* /.exec(\'a1b2c3\') and check results", - -test: function testcase() { - __executed = /.*/.exec('a1b2c3'); - -__expected = ["a1b2c3"]; -__expected.index = 0; -__expected.input = 'a1b2c3'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /.*/.exec(\'a1b2c3\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /.*/.exec(\'a1b2c3\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /.*/.exec(\'a1b2c3\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /.*/.exec(\'a1b2c3\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T21.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T21.js deleted file mode 100644 index 2d7efef756..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T21.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T21; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /[xyz]*1/.test('a0.b2.c3') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T21", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T21.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[xyz]*1/.test(\'a0.b2.c3\') and check results", - -test: function testcase() { - __executed = /[xyz]*1/.test('a0.b2.c3'); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /[xyz]*1/.test(\'a0.b2.c3\') === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T3.js deleted file mode 100644 index b1d9f36bfb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T3; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /[^"]* /.exec("before\'i\'start") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T3.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[^\"]* /.exec(\"before\\\'i\\\'start\") and check results", - -test: function testcase() { - __executed = /[^"]*/.exec("before\'i\'start"); - -__expected = ["before\'i\'start"]; -__expected.index = 0; -__expected.input = "before\'i\'start"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^"]*/.exec("before\'i\'start"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^"]*/.exec("before\'i\'start"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^"]*/.exec("before\'i\'start"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^"]*/.exec("before\'i\'start"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T4.js deleted file mode 100644 index 338c12db1e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T4; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /[^"]* /.exec('alice \"sweep\": "don\'t"') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T4.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[^\"]* /.exec(\'alice \\\"sweep\\\": \"don\\\'t\"\') and check results", - -test: function testcase() { - __executed = /[^"]*/.exec('alice \"sweep\": "don\'t"'); - -__expected = ["alice "]; -__expected.index = 0; -__expected.input = 'alice \"sweep\": "don\'t"'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^"]*/.exec(\'alice \\"sweep\\": "don\'t"\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^"]*/.exec(\'alice \\"sweep\\": "don\'t"\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^"]*/.exec(\'alice \\"sweep\\": "don\'t"\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^"]*/.exec(\'alice \\"sweep\\": "don\'t"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T5.js deleted file mode 100644 index 631229616a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T5; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /[^"]* /.exec('alice \u0022sweep\u0022: "don\'t"') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T5.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[^\"]* /.exec(\'alice \\u0022sweep\\u0022: \"don\\\'t\"\') and check results", - -test: function testcase() { - __executed = /[^"]*/.exec('alice \u0022sweep\u0022: "don\'t"'); - -__expected = ["alice "]; -__expected.index = 0; -__expected.input = 'alice "sweep": "don\'t"'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[^"]*/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[^"]*/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[^"]*/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[^"]*/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T6.js deleted file mode 100644 index ef148a884b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T6.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T6; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /["'][^"']*["']/.exec('alice \u0022sweep\u0022: "don\'t"') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T6.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[\"\'][^\"\']*[\"\']/.exec(\'alice \\u0022sweep\\u0022: \"don\\\'t\"\') and check results", - -test: function testcase() { - __executed = /["'][^"']*["']/.exec('alice \u0022sweep\u0022: "don\'t"'); - -__expected = ["\"sweep\""]; -__expected.index = 6; -__expected.input = 'alice "sweep": "don\'t"'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /["\'][^"\']*["\']/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /["\'][^"\']*["\']/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /["\'][^"\']*["\']/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /["\'][^"\']*["\']/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T7.js deleted file mode 100644 index 011f7a64d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T7.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T7; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /["'][^"']*["']/.exec('alice cries out: \'don\'t\'') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T7.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[\"\'][^\"\']*[\"\']/.exec(\'alice cries out: \\\'don\\\'t\\\'\') and check results", - -test: function testcase() { - __executed = /["'][^"']*["']/.exec('alice cries out: \'don\'t\''); - -__expected = ["\'don\'"]; -__expected.index = 17; -__expected.input = 'alice cries out: \'don\'t\''; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out: \'don\'t\'\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out: \'don\'t\'\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out: \'don\'t\'\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out: \'don\'t\'\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T8.js deleted file mode 100644 index 212ea139b0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T8.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T8; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /["'][^"']*["']/.test('alice cries out: don\'t') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T8.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[\"\'][^\"\']*[\"\']/.test(\'alice cries out: don\\\'t\') and check results", - -test: function testcase() { - __executed = /["'][^"']*["']/.test('alice cries out: don\'t'); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /["\'][^"\']*["\']/.test(\'alice cries out: don\'t\') === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T9.js deleted file mode 100644 index f8401d61f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T9.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A4_T9; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /["'][^"']*["']/.exec('alice cries out:\"\"') and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A4_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T9.js", - -assertion: "The production QuantifierPrefix :: * evaluates by returning the two results 0 and \\infty", - -description: "Execute /[\"\'][^\"\']*[\"\']/.exec(\'alice cries out:\\\"\\\"\') and check results", - -test: function testcase() { - __executed = /["'][^"']*["']/.exec('alice cries out:\"\"'); - -__expected = ['\"\"']; -__expected.index = 16; -__expected.input = 'alice cries out:\"\"'; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out:\\"\\"\'); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out:\\"\\"\'); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out:\\"\\"\'); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out:\\"\\"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T1.js deleted file mode 100644 index 8fda15c852..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T1; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /java(script)?/.exec("state: javascript is extension of ecma script") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T1.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /java(script)?/.exec(\"state: javascript is extension of ecma script\") and check results", - -test: function testcase() { - __executed = /java(script)?/.exec("state: javascript is extension of ecma script"); - -__expected = ["javascript", "script"]; -__expected.index = 7; -__expected.input = "state: javascript is extension of ecma script"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /java(script)?/.exec("state: javascript is extension of ecma script"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /java(script)?/.exec("state: javascript is extension of ecma script"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /java(script)?/.exec("state: javascript is extension of ecma script"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /java(script)?/.exec("state: javascript is extension of ecma script"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T10.js deleted file mode 100644 index 5c1ec2d662..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T10.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T10; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /ab?c?d?x?y?z/.exec("123az789") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T10.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /ab?c?d?x?y?z/.exec(\"123az789\") and check results", - -test: function testcase() { - __executed = /ab?c?d?x?y?z/.exec("123az789"); - -__expected = ["az"]; -__expected.index = 3; -__expected.input = "123az789"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /ab?c?d?x?y?z/.exec("123az789"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /ab?c?d?x?y?z/.exec("123az789"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /ab?c?d?x?y?z/.exec("123az789"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /ab?c?d?x?y?z/.exec("123az789"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T11.js deleted file mode 100644 index 097482f0cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T11.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T11; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /\??\??\??\??\??/.exec("?????") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T11.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /\\??\\??\\??\\??\\??/.exec(\"?????\") and check results", - -test: function testcase() { - __executed = /\??\??\??\??\??/.exec("?????"); - -__expected = ["?????"]; -__expected.index = 0; -__expected.input = "?????"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\??\\??\\??\\??\\??/.exec("?????"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\??\\??\\??\\??\\??/.exec("?????"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\??\\??\\??\\??\\??/.exec("?????"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\??\\??\\??\\??\\??/.exec("?????"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T12.js deleted file mode 100644 index dc1ff396ea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T12.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T12; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /.?.?.?.?.?.?.?/.exec("test") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T12.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /.?.?.?.?.?.?.?/.exec(\"test\") and check results", - -test: function testcase() { - __executed = /.?.?.?.?.?.?.?/.exec("test"); - -__expected = ["test"]; -__expected.index = 0; -__expected.input = "test"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /.?.?.?.?.?.?.?/.exec("test"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /.?.?.?.?.?.?.?/.exec("test"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /.?.?.?.?.?.?.?/.exec("test"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /.?.?.?.?.?.?.?/.exec("test"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T2.js deleted file mode 100644 index 0ca441083e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T2; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /java(script)?/.exec("state: java and javascript are vastly different") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T2.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /java(script)?/.exec(\"state: java and javascript are vastly different\") and check results", - -test: function testcase() { - __executed = /java(script)?/.exec("state: java and javascript are vastly different"); - -__expected = ["java", undefined]; -__expected.index = 7; -__expected.input = "state: java and javascript are vastly different"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /java(script)?/.exec("state: java and javascript are vastly different"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /java(script)?/.exec("state: java and javascript are vastly different"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /java(script)?/.exec("state: java and javascript are vastly different"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /java(script)?/.exec("state: java and javascript are vastly different"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T3.js deleted file mode 100644 index e31da2c33c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T3; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /java(script)?/.test("state: both Java and JavaScript used in web development") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T3.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /java(script)?/.test(\"state: both Java and JavaScript used in web development\") and check results", - -test: function testcase() { - __executed = /java(script)?/.test("state: both Java and JavaScript used in web development"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /java(script)?/.test("state: both Java and JavaScript used in web development") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T4.js deleted file mode 100644 index 77109ac402..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T4; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /cd?e/.exec("abcdef") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T4.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /cd?e/.exec(\"abcdef\") and check results", - -test: function testcase() { - __executed = /cd?e/.exec("abcdef"); - -__expected = ["cde"]; -__expected.index = 2; -__expected.input = "abcdef"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /cd?e/.exec("abcdef"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /cd?e/.exec("abcdef"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /cd?e/.exec("abcdef"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /cd?e/.exec("abcdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T5.js deleted file mode 100644 index 6c815aa795..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T5; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /cdx?e/.exec("abcdef") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T5.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /cdx?e/.exec(\"abcdef\") and check results", - -test: function testcase() { - __executed = /cdx?e/.exec("abcdef"); - -__expected = ["cde"]; -__expected.index = 2; -__expected.input = "abcdef"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /cdx?e/.exec("abcdef"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /cdx?e/.exec("abcdef"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /cdx?e/.exec("abcdef"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /cdx?e/.exec("abcdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T6.js deleted file mode 100644 index 6e4b78e84d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T6.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T6; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /o?pqrst/.exec("pqrstuvw") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T6.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /o?pqrst/.exec(\"pqrstuvw\") and check results", - -test: function testcase() { - __executed = /o?pqrst/.exec("pqrstuvw"); - -__expected = ["pqrst"]; -__expected.index = 0; -__expected.input = "pqrstuvw"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /o?pqrst/.exec("pqrstuvw"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /o?pqrst/.exec("pqrstuvw"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /o?pqrst/.exec("pqrstuvw"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /o?pqrst/.exec("pqrstuvw"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T7.js deleted file mode 100644 index 8480cb4155..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T7.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T7; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /x?y?z?/.exec("abcd") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T7.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /x?y?z?/.exec(\"abcd\") and check results", - -test: function testcase() { - __executed = /x?y?z?/.exec("abcd"); - -__expected = [""]; -__expected.index = 0; -__expected.input = "abcd"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /x?y?z?/.exec("abcd"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /x?y?z?/.exec("abcd"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /x?y?z?/.exec("abcd"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /x?y?z?/.exec("abcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T8.js deleted file mode 100644 index 79e18c44df..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T8.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T8; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /x?ay?bz?c/.exec("abcd") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T8.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /x?ay?bz?c/.exec(\"abcd\") and check results", - -test: function testcase() { - __executed = /x?ay?bz?c/.exec("abcd"); - -__expected = ["abc"]; -__expected.index = 0; -__expected.input = "abcd"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /x?ay?bz?c/.exec("abcd"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /x?ay?bz?c/.exec("abcd"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /x?ay?bz?c/.exec("abcd"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /x?ay?bz?c/.exec("abcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T9.js deleted file mode 100644 index c98fa44807..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T9.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A5_T9; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1; -* @description: Execute /b?b?b?b/.exec("abbbbc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A5_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A5_T9.js", - -assertion: "The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1", - -description: "Execute /b?b?b?b/.exec(\"abbbbc\") and check results", - -test: function testcase() { - __executed = /b?b?b?b/.exec("abbbbc"); - -__expected = ["bbbb"]; -__expected.index = 1; -__expected.input = "abbbbc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /b?b?b?b/.exec("abbbbc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /b?b?b?b/.exec("abbbbc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /b?b?b?b/.exec("abbbbc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /b?b?b?b/.exec("abbbbc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T1.js deleted file mode 100644 index 3b43081120..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A6_T1; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: -* i) Let i be the MV of DecimalDigits -* ii) Return the two results i and \infty; -* @description: Execute /b{2,}c/.exec("aaabbbbcccddeeeefffff") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A6_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T1.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows:", - -description: "Execute /b{2,}c/.exec(\"aaabbbbcccddeeeefffff\") and check results", - -test: function testcase() { - __executed = /b{2,}c/.exec("aaabbbbcccddeeeefffff"); - -__expected = ["bbbbc"]; -__expected.index = 3; -__expected.input = "aaabbbbcccddeeeefffff"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /b{2,}c/.exec("aaabbbbcccddeeeefffff"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /b{2,}c/.exec("aaabbbbcccddeeeefffff"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /b{2,}c/.exec("aaabbbbcccddeeeefffff"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /b{2,}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T2.js deleted file mode 100644 index 58a31838ab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A6_T2; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: -* i) Let i be the MV of DecimalDigits -* ii) Return the two results i and \infty; -* @description: Execute /b{8,}c/.test("aaabbbbcccddeeeefffff") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A6_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T2.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows:", - -description: "Execute /b{8,}c/.test(\"aaabbbbcccddeeeefffff\") and check results", - -test: function testcase() { - __executed = /b{8,}c/.test("aaabbbbcccddeeeefffff"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /b{8,}c/.test("aaabbbbcccddeeeefffff") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T3.js deleted file mode 100644 index b90fdf6a33..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A6_T3; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: -* i) Let i be the MV of DecimalDigits -* ii) Return the two results i and \infty; -* @description: Execute /\d{1,}/.exec("wqe456646dsff") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A6_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T3.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows:", - -description: "Execute /\\d{1,}/.exec(\"wqe456646dsff\") and check results", - -test: function testcase() { - __executed = /\d{1,}/.exec("wqe456646dsff"); - -__expected = ["456646"]; -__expected.index = 3; -__expected.input = "wqe456646dsff"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\d{1,}/.exec("wqe456646dsff"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\d{1,}/.exec("wqe456646dsff"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\d{1,}/.exec("wqe456646dsff"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\d{1,}/.exec("wqe456646dsff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T4.js deleted file mode 100644 index 81572a1776..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T4.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A6_T4; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: -* i) Let i be the MV of DecimalDigits -* ii) Return the two results i and \infty; -* @description: Execute /(123){1,}/.exec("123123") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A6_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T4.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows:", - -description: "Execute /(123){1,}/.exec(\"123123\") and check results", - -test: function testcase() { - __executed = /(123){1,}/.exec("123123"); - -__expected = ["123123","123"]; -__expected.index = 0; -__expected.input = "123123"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(123){1,}/.exec("123123"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(123){1,}/.exec("123123"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(123){1,}/.exec("123123"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(123){1,}/.exec("123123"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T5.js deleted file mode 100644 index 2c1ad2496f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T5.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A6_T5; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: -* i) Let i be the MV of DecimalDigits -* ii) Return the two results i and \infty; -* @description: Execute /(123){1,}x\1/.exec("123123x123") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A6_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T5.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows:", - -description: "Execute /(123){1,}x\\1/.exec(\"123123x123\") and check results", - -test: function testcase() { - __executed = /(123){1,}x\1/.exec("123123x123"); - -__expected = ["123123x123","123"]; -__expected.index = 0; -__expected.input = "123123x123"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(123){1,}x\\1/.exec("123123x123"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(123){1,}x\\1/.exec("123123x123"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(123){1,}x\\1\\/.exec("123123x123"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(123){1,}x\\1/.exec("123123x123"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T6.js deleted file mode 100644 index f1cc1c0d33..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T6.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.7_A6_T6; -* @section: 15.10.2.7; -* @assertion: The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: -* i) Let i be the MV of DecimalDigits -* ii) Return the two results i and \infty; -* @description: Execute /x{1,2}x{1,}/.exec("xxxxxxx") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.7_A6_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T6.js", - -assertion: "The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows:", - -description: "Execute /x{1,2}x{1,}/.exec(\"xxxxxxx\") and check results", - -test: function testcase() { - __executed = /x{1,2}x{1,}/.exec("xxxxxxx"); - -__expected = ["xxxxxxx"]; -__expected.index = 0; -__expected.input = "xxxxxxx"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /x{1,2}x{1,}/.exec("xxxxxxx"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /x{1,2}x{1,}/.exec("xxxxxxx"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /x{1,2}x{1,}/.exec("xxxxxxx"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /x{1,2}x{1,}/.exec("xxxxxxx"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T1.js deleted file mode 100644 index 111654a4db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A1_T1; -* @section: 15.10.2.8; -* @assertion: The form (?= Disjunction ) specifies a zero-width positive lookahead. -* In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. -* If Disjunction can match at the current position in several ways, only the first one is tried; -* @description: Execute /(?=(a+))/.exec("baaabac") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T1.js", - -assertion: "The form (?= Disjunction ) specifies a zero-width positive lookahead.", - -description: "Execute /(?=(a+))/.exec(\"baaabac\") and check results", - -test: function testcase() { - __executed = /(?=(a+))/.exec("baaabac"); - -__expected = ["", "aaa"]; -__expected.index = 1; -__expected.input = "baaabac"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(?=(a+))/.exec("baaabac"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(?=(a+))/.exec("baaabac"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(?=(a+))/.exec("baaabac"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(?=(a+))/.exec("baaabac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T2.js deleted file mode 100644 index 7be4a5f9bf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A1_T2; -* @section: 15.10.2.8; -* @assertion: The form (?= Disjunction ) specifies a zero-width positive lookahead. -* In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. -* If Disjunction can match at the current position in several ways, only the first one is tried; -* @description: Execute /(?=(a+))a*b\1/.exec("baaabac") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T2.js", - -assertion: "The form (?= Disjunction ) specifies a zero-width positive lookahead.", - -description: "Execute /(?=(a+))a*b\\1/.exec(\"baaabac\") and check results", - -test: function testcase() { - __executed = /(?=(a+))a*b\1/.exec("baaabac"); - -__expected = ["aba", "a"]; -__expected.index = 3; -__expected.input = "baaabac"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(?=(a+))a*b\\1/.exec("baaabac"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(?=(a+))a*b\\1/.exec("baaabac"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(?=(a+))a*b\\1/.exec("baaabac"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(?=(a+))a*b\\1/.exec("baaabac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T3.js deleted file mode 100644 index 4e2ca354c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A1_T3; -* @section: 15.10.2.8; -* @assertion: The form (?= Disjunction ) specifies a zero-width positive lookahead. -* In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. -* If Disjunction can match at the current position in several ways, only the first one is tried; -* @description: Execute /[Jj]ava([Ss]cript)?(?=\:)/.exec("just Javascript: the way af jedi") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T3.js", - -assertion: "The form (?= Disjunction ) specifies a zero-width positive lookahead.", - -description: "Execute /[Jj]ava([Ss]cript)?(?=\\:)/.exec(\"just Javascript: the way af jedi\") and check results", - -test: function testcase() { - __executed = /[Jj]ava([Ss]cript)?(?=\:)/.exec("just Javascript: the way af jedi"); - -__expected = ["Javascript", "script"]; -__expected.index = 5; -__expected.input = "just Javascript: the way af jedi"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("just Javascript: the way af jedi"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("just Javascript: the way af jedi"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("just Javascript: the way af jedi"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("just Javascript: the way af jedi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T4.js deleted file mode 100644 index 3e8bfdfaca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T4.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A1_T4; -* @section: 15.10.2.8; -* @assertion: The form (?= Disjunction ) specifies a zero-width positive lookahead. -* In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. -* If Disjunction can match at the current position in several ways, only the first one is tried; -* @description: Execute /[Jj]ava([Ss]cript)?(?=\:)/.exec("taste of java: the cookbook ") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T4.js", - -assertion: "The form (?= Disjunction ) specifies a zero-width positive lookahead.", - -description: "Execute /[Jj]ava([Ss]cript)?(?=\\:)/.exec(\"taste of java: the cookbook \") and check results", - -test: function testcase() { - __executed = /[Jj]ava([Ss]cript)?(?=\:)/.exec("taste of java: the cookbook "); - -__expected = ["java", undefined]; -__expected.index = 9; -__expected.input = "taste of java: the cookbook "; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("taste of java: the cookbook "); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("taste of java: the cookbook "); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("taste of java: the cookbook "); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("taste of java: the cookbook "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T5.js deleted file mode 100644 index 72b9a65b05..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A1_T5; -* @section: 15.10.2.8; -* @assertion: The form (?= Disjunction ) specifies a zero-width positive lookahead. -* In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. -* If Disjunction can match at the current position in several ways, only the first one is tried; -* @description: Execute /[Jj]ava([Ss]cript)?(?=\:)/.test("rhino is JavaScript engine") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A1_T5.js", - -assertion: "The form (?= Disjunction ) specifies a zero-width positive lookahead.", - -description: "Execute /[Jj]ava([Ss]cript)?(?=\\:)/.test(\"rhino is JavaScript engine\") and check results", - -test: function testcase() { - __executed = /[Jj]ava([Ss]cript)?(?=\:)/.test("rhino is JavaScript engine"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /[Jj]ava([Ss]cript)?(?=\\:)/.test("rhino is JavaScript engine") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T1.js deleted file mode 100644 index 8864062bbe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T1; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /(.*?)a(?!(a+)b\2c)\2(.*)/.exec("baaabaac") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T1.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /(.*?)a(?!(a+)b\\2c)\\2(.*)/.exec(\"baaabaac\") and check results", - -test: function testcase() { - __executed = /(.*?)a(?!(a+)b\2c)\2(.*)/.exec("baaabaac"); - -__expected = ["baaabaac", "ba", undefined, "abaac"]; -__expected.index = 0; -__expected.input = "baaabaac"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(.*?)a(?!(a+)b\\2c)\\2(.*)/.exec("baaabaac"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(.*?)a(?!(a+)b\\2c)\\2(.*)/.exec("baaabaac"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(.*?)a(?!(a+)b\\2c)\\2(.*)/.exec("baaabaac"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(.*?)a(?!(a+)b\\2c)\\2(.*)/.exec("baaabaac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T10.js deleted file mode 100644 index 008f41cf62..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T10.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T10; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /(?!a|b)|c/.exec("bc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T10.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /(?!a|b)|c/.exec(\"bc\") and check results", - -test: function testcase() { - __executed = /(?!a|b)|c/.exec("bc"); - -__expected = [""]; -__expected.index = 1; -__expected.input = "bc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(?!a|b)|c/.exec("bc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(?!a|b)|c/.exec("bc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(?!a|b)|c/.exec("bc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(?!a|b)|c/.exec("bc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T11.js deleted file mode 100644 index f6cd4fbeba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T11.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T11; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /(?!a|b)|c/.exec("d") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T11.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /(?!a|b)|c/.exec(\"d\") and check results", - -test: function testcase() { - __executed = /(?!a|b)|c/.exec("d"); - -__expected = [""]; -__expected.index = 0; -__expected.input = "d"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(?!a|b)|c/.exec("d"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(?!a|b)|c/.exec("d"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(?!a|b)|c/.exec("d"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(?!a|b)|c/.exec("d"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T2.js deleted file mode 100644 index 2f857e42e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T2; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /Java(?!Script)([A-Z]\w*)/.exec("using of JavaBeans technology") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T2.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /Java(?!Script)([A-Z]\\w*)/.exec(\"using of JavaBeans technology\") and check results", - -test: function testcase() { - __executed = /Java(?!Script)([A-Z]\w*)/.exec("using of JavaBeans technology"); - -__expected = ["JavaBeans", "Beans"]; -__expected.index = 9; -__expected.input = "using of JavaBeans technology"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("using of JavaBeans technology"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("using of JavaBeans technology"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("using of JavaBeans technology"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("using of JavaBeans technology"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T3.js deleted file mode 100644 index 64511b74d1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T3; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /Java(?!Script)([A-Z]\w*)/.test("using of Java language") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T3.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /Java(?!Script)([A-Z]\\w*)/.test(\"using of Java language\") and check results", - -test: function testcase() { - __executed = /Java(?!Script)([A-Z]\w*)/.test("using of Java language"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /Java(?!Script)([A-Z]\\w*)/.test("using of Java language") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T4.js deleted file mode 100644 index 8800af5c03..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T4; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /Java(?!Script)([A-Z]\w*)/.test("i'm a JavaScripter ") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T4.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /Java(?!Script)([A-Z]\\w*)/.test(\"i\'m a JavaScripter \") and check results", - -test: function testcase() { - __executed = /Java(?!Script)([A-Z]\w*)/.test("i'm a JavaScripter "); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /Java(?!Script)([A-Z]\\w*)/.test("i\'m a JavaScripter ") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T5.js deleted file mode 100644 index fe8d20c8d6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T5.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T5; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /Java(?!Script)([A-Z]\w*)/.exec("JavaScr oops ipt ") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T5.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /Java(?!Script)([A-Z]\\w*)/.exec(\"JavaScr oops ipt \") and check results", - -test: function testcase() { - __executed = /Java(?!Script)([A-Z]\w*)/.exec("JavaScr oops ipt "); - -__expected = ["JavaScr", "Scr"]; -__expected.index = 0; -__expected.input = "JavaScr oops ipt "; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("JavaScr oops ipt "); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("JavaScr oops ipt "); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("JavaScr oops ipt "); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("JavaScr oops ipt "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T6.js deleted file mode 100644 index 854d641cc1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T6.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T6; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /(\.(?!com|org)|\/)/.exec("ah.info") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T6.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /(\\.(?!com|org)|\\/)/.exec(\"ah.info\") and check results", - -test: function testcase() { - __executed = /(\.(?!com|org)|\/)/.exec("ah.info"); - -__expected = ['.', '.']; -__expected.index = 2; -__expected.input = "ah.info"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(\\.(?!com|org)|\\/)/.exec("ah.info"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(\\.(?!com|org)|\\/)/.exec("ah.info"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(\\.(?!com|org)|\\/)/.exec("ah.info"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(\\.(?!com|org)|\\/)/.exec("ah.info"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T7.js deleted file mode 100644 index e267481338..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T7.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T7; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /(\.(?!com|org)|\/)/.exec("ah/info") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T7.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /(\\.(?!com|org)|\\/)/.exec(\"ah/info\") and check results", - -test: function testcase() { - __executed = /(\.(?!com|org)|\/)/.exec("ah/info"); - -__expected = ['/', '/']; -__expected.index = 2; -__expected.input = "ah/info"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(\\.(?!com|org)|\\/)/.exec("ah/info"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(\\.(?!com|org)|\\/)/.exec("ah/info"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(\\.(?!com|org)|\\/)/.exec("ah/info"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(\\.(?!com|org)|\\/)/.exec("ah/info"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T8.js deleted file mode 100644 index b87b44c144..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T8; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /(\.(?!com|org)|\/)/.test("ah.com") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T8.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /(\\.(?!com|org)|\\/)/.test(\"ah.com\") and check results", - -test: function testcase() { - __executed = /(\.(?!com|org)|\/)/.test("ah.com"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /(\\.(?!com|org)|\\/)/.test("ah.com") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T9.js deleted file mode 100644 index 72442d0711..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T9.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A2_T9; -* @section: 15.10.2.8; -* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead. -* In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. -* The current position is not advanced before matching the sequel; -* @description: Execute /(?!a|b)|c/.exec("") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A2_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A2_T9.js", - -assertion: "The form (?! Disjunction ) specifies a zero-width negative lookahead.", - -description: "Execute /(?!a|b)|c/.exec(\"\") and check results", - -test: function testcase() { - __executed = /(?!a|b)|c/.exec(""); - -__expected = [""]; -__expected.index = 0; -__expected.input = ""; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(?!a|b)|c/.exec(""); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(?!a|b)|c/.exec(""); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(?!a|b)|c/.exec(""); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(?!a|b)|c/.exec(""); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T1.js deleted file mode 100644 index 6d7c855a39..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T1.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T1; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Learning javaScript is funny, really") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T1.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec(\"Learning javaScript is funny, really\") and check results", - -test: function testcase() { - __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Learning javaScript is funny, really"); - -__expected = ["javaScript is funny","javaScript","Script","funny"]; -__expected.index = 9; -__expected.input = "Learning javaScript is funny, really"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Learning javaScript is funny, really"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Learning javaScript is funny, really"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Learning javaScript is funny, really"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Learning javaScript is funny, really"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T10.js deleted file mode 100644 index 358e743bb7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T10.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T10; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(\d{3})(\d{3})\1\2/.exec("123456123456") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T10.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(\\d{3})(\\d{3})\\1\\2/.exec(\"123456123456\") and check results", - -test: function testcase() { - __executed = /(\d{3})(\d{3})\1\2/.exec("123456123456"); - -__expected = ["123456123456","123","456"]; -__expected.index = 0; -__expected.input = "123456123456"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(\\d{3})(\\d{3})\\1\\2/.exec("123456123456"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(\\d{3})(\\d{3})\\1\\2/.exec("123456123456"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(\\d{3})(\\d{3})\\1\\2/.exec("123456123456"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(\\d{3})(\\d{3})\\1\\2/.exec("123456123456"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T11.js deleted file mode 100644 index c7762e887d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T11.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T11; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /a(..(..)..)/.exec("abcdefgh") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T11.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /a(..(..)..)/.exec(\"abcdefgh\") and check results", - -test: function testcase() { - __executed = /a(..(..)..)/.exec("abcdefgh"); - -__expected = ["abcdefg","bcdefg","de"]; -__expected.index = 0; -__expected.input = "abcdefgh"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a(..(..)..)/.exec("abcdefgh"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a(..(..)..)/.exec("abcdefgh"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a(..(..)..)/.exec("abcdefgh"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a(..(..)..)/.exec("abcdefgh"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T12.js deleted file mode 100644 index 5c2a5cf798..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T12.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T12; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(a(b(c)))(d(e(f)))/.exec("xabcdefg") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T12.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(a(b(c)))(d(e(f)))/.exec(\"xabcdefg\") and check results", - -test: function testcase() { - __executed = /(a(b(c)))(d(e(f)))/.exec("xabcdefg"); - -__expected = ["abcdef","abc","bc","c","def","ef","f"]; -__expected.index = 1; -__expected.input = "xabcdefg"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(a(b(c)))(d(e(f)))/.exec("xabcdefg"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(a(b(c)))(d(e(f)))/.exec("xabcdefg"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(a(b(c)))(d(e(f)))/.exec("xabcdefg"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(a(b(c)))(d(e(f)))/.exec("xabcdefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T13.js deleted file mode 100644 index d41c35ef24..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T13.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T13; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(a(b(c)))(d(e(f)))\2\5/.exec("xabcdefbcefg") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T13.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(a(b(c)))(d(e(f)))\\2\\5/.exec(\"xabcdefbcefg\") and check results", - -test: function testcase() { - __executed = /(a(b(c)))(d(e(f)))\2\5/.exec("xabcdefbcefg"); - -__expected = ["abcdefbcef","abc","bc","c","def","ef","f"]; -__expected.index = 1; -__expected.input = "xabcdefbcefg"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(a(b(c)))(d(e(f)))\\2\\5/.exec("xabcdefbcefg"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(a(b(c)))(d(e(f)))\\2\\5/.exec("xabcdefbcefg"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(a(b(c)))(d(e(f)))\\2\\5/.exec("xabcdefbcefg"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(a(b(c)))(d(e(f)))\\2\\5/.exec("xabcdefbcefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T14.js deleted file mode 100644 index 1b69b052b9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T14.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T14; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /a(.?)b\1c\1d\1/.exec("abcd") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T14.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /a(.?)b\\1c\\1d\\1/.exec(\"abcd\") and check results", - -test: function testcase() { - __executed = /a(.?)b\1c\1d\1/.exec("abcd"); - -__expected = ["abcd",""]; -__expected.index = 0; -__expected.input = "abcd"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a(.?)b\\1c\\1d\\1/.exec("abcd"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a(.?)b\\1c\\1d\\1/.exec("abcd"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a(.?)b\\1c\\1d\\1/.exec("abcd"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a(.?)b\\1c\\1d\\1/.exec("abcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T15.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T15.js deleted file mode 100644 index 5331e2b8b3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T15.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T15; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: see bug http:bugzilla.mozilla.org/show_bug.cgi?id=119909; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T15", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T15.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=119909", - -test: function testcase() { - __strOriginal = "hello"; -__openParen = '('; -__closeParen = ')'; -__pattern = ''; - numParens = 200; - -for (var i=0; i((.*\n?)*?)<\/body>/i.exec(__html); - -__expected = [__body, '\n

Kibology for all

\n

All for Kibology

\n', '

All for Kibology

\n']; -__expected.index = 7; -__expected.input = __html; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /((.*\\n?)*?)<\\/body>/i.exec(__html); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /((.*\\n?)*?)<\\/body>/i.exec(__html); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /((.*\\n?)*?)<\\/body>/i.exec(__html); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /((.*\\n?)*?)<\\/body>/i.exec(__html); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T18.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T18.js deleted file mode 100644 index 0450f3243c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T18.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T18; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: see bug http:bugzilla.mozilla.org/show_bug.cgi?id=169534; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T18", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T18.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=169534", - -test: function testcase() { - __replaced = "To sign up click |here|https:www.xxxx.org/subscribe.htm|".replace(/(\|)([\w\x81-\xff ]*)(\|)([\/a-z][\w:\/\.]*\.[a-z]{3,4})(\|)/ig, '$2'); - -__expected = 'To sign up click here'; - -//CHECK#1 -if (__replaced !== __expected) { - $ERROR('#1: __replaced = "To sign up click |here|https:www.xxxx.org/subscribe.htm|".replace(/(\\|)([\\w\\x81-\\xff ]*)(\\|)([\\/a-z][\\w:\\/\\.]*\\.[a-z]{3,4})(\\|)/ig, \'$2\'); __replaced === ' + __expected + '. Actual: ' + __replaced); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T19.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T19.js deleted file mode 100644 index fee15ed24a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T19.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T19; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /([\S]+([ \t]+[\S]+)*)[ \t]*=[ \t]*[\S]+/.exec("Course_Creator = Test") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T19", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T19.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /([\\S]+([ \\t]+[\\S]+)*)[ \\t]*=[ \\t]*[\\S]+/.exec(\"Course_Creator = Test\") and check results", - -test: function testcase() { - __executed = /([\S]+([ \t]+[\S]+)*)[ \t]*=[ \t]*[\S]+/.exec("Course_Creator = Test"); - -__expected = ["Course_Creator = Test","Course_Creator",undefined]; -__expected.index = 0; -__expected.input = "Course_Creator = Test"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /([\\S]+([ \\t]+[\\S]+)*)[ \\t]*=[ \\t]*[\\S]+/.exec("Course_Creator = Test"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /([\\S]+([ \\t]+[\\S]+)*)[ \\t]*=[ \\t]*[\\S]+/.exec("Course_Creator = Test"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /([\\S]+([ \\t]+[\\S]+)*)[ \\t]*=[ \\t]*[\\S]+/.exec("Course_Creator = Test"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /([\\S]+([ \\t]+[\\S]+)*)[ \\t]*=[ \\t]*[\\S]+/.exec("Course_Creator = Test"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T2.js deleted file mode 100644 index a003f9d9f2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T2.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T2; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Developing with Java is fun, try it") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T2.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec(\"Developing with Java is fun, try it\") and check results", - -test: function testcase() { - __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Developing with Java is fun, try it"); - -__expected = ["Java is fun","Java",undefined,"fun"]; -__expected.index = 16; -__expected.input = "Developing with Java is fun, try it"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Developing with Java is fun, try it"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Developing with Java is fun, try it"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Developing with Java is fun, try it"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Developing with Java is fun, try it"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T20.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T20.js deleted file mode 100644 index 10dfb9b366..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T20.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T20; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /^(A)?(A.*)$/.exec("AAA") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T20", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T20.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /^(A)?(A.*)$/.exec(\"AAA\") and check results", - -test: function testcase() { - __executed = /^(A)?(A.*)$/.exec("AAA"); - -__expected = ["AAA","A","AA"]; -__expected.index = 0; -__expected.input = "AAA"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^(A)?(A.*)$/.exec("AAA"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^(A)?(A.*)$/.exec("AAA"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^(A)?(A.*)$/.exec("AAA"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^(A)?(A.*)$/.exec("AAA"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T21.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T21.js deleted file mode 100644 index 98e7ddeaed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T21.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T21; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /^(A)?(A.*)$/.exec("AA") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T21", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T21.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /^(A)?(A.*)$/.exec(\"AA\") and check results", - -test: function testcase() { - __executed = /^(A)?(A.*)$/.exec("AA"); - -__expected = ["AA","A","A"]; -__expected.index = 0; -__expected.input = "AA"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^(A)?(A.*)$/.exec("AA"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^(A)?(A.*)$/.exec("AA"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^(A)?(A.*)$/.exec("AA"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^(A)?(A.*)$/.exec("AA"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T22.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T22.js deleted file mode 100644 index e4106bfbad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T22.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T22; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /^(A)?(A.*)$/.exec("A") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T22", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T22.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /^(A)?(A.*)$/.exec(\"A\") and check results", - -test: function testcase() { - __executed = /^(A)?(A.*)$/.exec("A"); - -__expected = ["A",undefined,"A"]; -__expected.index = 0; -__expected.input = "A"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /^(A)?(A.*)$/.exec("A"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /^(A)?(A.*)$/.exec("A"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /^(A)?(A.*)$/.exec("A"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /^(A)?(A.*)$/.exec("A"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T23.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T23.js deleted file mode 100644 index 43861d5449..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T23.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T23; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(A)?(A.*)/.exec("zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T23", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T23.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(A)?(A.*)/.exec(\"zxcasd;fl\\\\\\ ^AAAaaAAaaaf;lrlrzs\") and check results", - -test: function testcase() { - __string = "zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs"; - -__executed = /(A)?(A.*)/.exec(__string); - -__expected = ["AAAaaAAaaaf;lrlrzs","A","AAaaAAaaaf;lrlrzs"]; -__expected.index = 13; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T24.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T24.js deleted file mode 100644 index 6dec4be038..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T24.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T24; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(A)?(A.*)/.exec("zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T24", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T24.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(A)?(A.*)/.exec(\"zxcasd;fl\\\\\\ ^AAaaAAaaaf;lrlrzs\") and check results", - -test: function testcase() { - __string = "zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs"; - -__executed = /(A)?(A.*)/.exec(__string); - -__expected = ["AAaaAAaaaf;lrlrzs","A","AaaAAaaaf;lrlrzs"]; -__expected.index = 13; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T25.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T25.js deleted file mode 100644 index 6722c9a6f9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T25.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T25; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(A)?(A.*)/.exec("zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T25", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T25.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(A)?(A.*)/.exec(\"zxcasd;fl\\\\\\ ^AaaAAaaaf;lrlrzs\") and check results", - -test: function testcase() { - __string = "zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs"; - -__executed = /(A)?(A.*)/.exec(__string); - -__expected = ["AaaAAaaaf;lrlrzs",undefined,"AaaAAaaaf;lrlrzs"]; -__expected.index = 13; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T26.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T26.js deleted file mode 100644 index b2eed774f8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T26.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T26; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(a)?a/.exec("a") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T26", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T26.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(a)?a/.exec(\"a\") and check results", - -test: function testcase() { - __string = "a"; - -__executed = /(a)?a/.exec(__string); - -__expected = ["a",undefined]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "a"; __executed = /(a)?a/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "a"; __executed = /(a)?a/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "a"; __executed = /(a)?a/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "a"; __executed = /(a)?a/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T27.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T27.js deleted file mode 100644 index b533658d00..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T27.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T27; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /a|(b)/.exec("a") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T27", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T27.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /a|(b)/.exec(\"a\") and check results", - -test: function testcase() { - __string = "a"; - -__executed = /a|(b)/.exec(__string); - -__expected = ["a",undefined]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "a"; __executed = /a|(b)/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "a"; __executed = /a|(b)/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "a"; __executed = /a|(b)/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "a"; __executed = /a|(b)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T28.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T28.js deleted file mode 100644 index 7ec125e2d2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T28.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T28; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(a)?(a)/.exec("a") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T28", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T28.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(a)?(a)/.exec(\"a\") and check results", - -test: function testcase() { - __string = "a"; - -__executed = /(a)?(a)/.exec(__string); - -__expected = ['a', undefined, 'a']; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "a"; __executed = /(a)?(a)/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "a"; __executed = /(a)?(a)/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "a"; __executed = /(a)?(a)/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "a"; __executed = /(a)?(a)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T29.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T29.js deleted file mode 100644 index 7796893911..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T29.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T29; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T29", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T29.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353", - -test: function testcase() { - __string = "a"; - -__executed = /^([a-z]+)*[a-z]$/.exec(__string); - -__expected = ['a', undefined]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "a"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "a"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "a"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "a"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T3.js deleted file mode 100644 index 327703e7b8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T3; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.test("Developing with JavaScript is dangerous, do not try it without assistance") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T3.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.test(\"Developing with JavaScript is dangerous, do not try it without assistance\") and check results", - -test: function testcase() { - __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.test("Developing with JavaScript is dangerous, do not try it without assistance"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.test("Developing with JavaScript is dangerous, do not try it without assistance") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T30.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T30.js deleted file mode 100644 index c228f4871b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T30.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T30; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T30", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T30.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353", - -test: function testcase() { - __string = "ab"; - -__executed = /^([a-z]+)*[a-z]$/.exec(__string); - -__expected = ['ab', "a"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "ab"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "ab"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "ab"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "ab"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T31.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T31.js deleted file mode 100644 index 6dd6c14eb8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T31.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T31; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T31", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T31.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353", - -test: function testcase() { - __string = "abc"; - -__executed = /^([a-z]+)*[a-z]$/.exec(__string); - -__expected = ['abc', "ab"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "abc"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "abc"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "abc"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "abc"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T32.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T32.js deleted file mode 100644 index bc9886305e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T32.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T32; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T32", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T32.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353", - -test: function testcase() { - __string = "www.netscape.com"; - -__executed = /^(([a-z]+)*[a-z]\.)+[a-z]{2,}$/.exec(__string); - -__expected = ['www.netscape.com', 'netscape.', 'netscap']; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "www.netscape.com"; __executed = /^(([a-z]+)*[a-z]\\.)+[a-z]{2,}$/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "www.netscape.com"; __executed = /^(([a-z]+)*[a-z]\\.)+[a-z]{2,}$/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "www.netscape.com"; __executed = /^(([a-z]+)*[a-z]\\.)+[a-z]{2,}$/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "www.netscape.com"; __executed = /^(([a-z]+)*[a-z]\\.)+[a-z]{2,}$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T33.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T33.js deleted file mode 100644 index 6f6c69cad0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T33.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T33; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T33", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T33.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353", - -test: function testcase() { - __string = "www.netscape.com"; - -__executed = /^(([a-z]+)*([a-z])\.)+[a-z]{2,}$/.exec(__string); - -__expected = ['www.netscape.com', 'netscape.', 'netscap', 'e']; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "www.netscape.com"; __executed = /^(([a-z]+)*([a-z])\\.)+[a-z]{2,}$/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "www.netscape.com"; __executed = /^(([a-z]+)*([a-z])\\.)+[a-z]{2,}$/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "www.netscape.com"; __executed = /^(([a-z]+)*([a-z])\\.)+[a-z]{2,}$/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "www.netscape.com"; __executed = /^(([a-z]+)*([a-z])\\.)+[a-z]{2,}$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T4.js deleted file mode 100644 index bc50b0fa18..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T4.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T4; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(abc)/.exec("abc") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T4.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(abc)/.exec(\"abc\") and check results", - -test: function testcase() { - __executed = /(abc)/.exec("abc"); - -__expected = ["abc","abc"]; -__expected.index = 0; -__expected.input = "abc"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(abc)/.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(abc)/.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(abc)/.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(abc)/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T5.js deleted file mode 100644 index baf4de438e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T5.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T5; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /a(bc)d(ef)g/.exec("abcdefg") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T5.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /a(bc)d(ef)g/.exec(\"abcdefg\") and check results", - -test: function testcase() { - __executed = /a(bc)d(ef)g/.exec("abcdefg"); - -__expected = ["abcdefg","bc","ef"]; -__expected.index = 0; -__expected.input = "abcdefg"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a(bc)d(ef)g/.exec("abcdefg"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a(bc)d(ef)g/.exec("abcdefg"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a(bc)d(ef)g/.exec("abcdefg"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a(bc)d(ef)g/.exec("abcdefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T6.js deleted file mode 100644 index 1a42e31741..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T6.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T6; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(.{3})(.{4})/.exec("abcdefgh") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T6.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(.{3})(.{4})/.exec(\"abcdefgh\") and check results", - -test: function testcase() { - __executed = /(.{3})(.{4})/.exec("abcdefgh"); - -__expected = ["abcdefg","abc","defg"]; -__expected.index = 0; -__expected.input = "abcdefgh"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(.{3})(.{4})/.exec("abcdefgh"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(.{3})(.{4})/.exec("abcdefgh"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(.{3})(.{4})/.exec("abcdefgh"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(.{3})(.{4})/.exec("abcdefgh"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T7.js deleted file mode 100644 index cdd8124440..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T7.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T7; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(aa)bcd\1/.exec("aabcdaabcd") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T7.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(aa)bcd\\1/.exec(\"aabcdaabcd\") and check results", - -test: function testcase() { - __executed = /(aa)bcd\1/.exec("aabcdaabcd"); - -__expected = ["aabcdaa","aa"]; -__expected.index = 0; -__expected.input = "aabcdaabcd"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(aa)bcd\\1/.exec("aabcdaabcd"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(aa)bcd\\1/.exec("aabcdaabcd"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(aa)bcd\\1/.exec("aabcdaabcd"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(aa)bcd\\1/.exec("aabcdaabcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T8.js deleted file mode 100644 index 881aa17a62..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T8.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T8; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(aa).+\1/.exec("aabcdaabcd") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T8.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(aa).+\\1/.exec(\"aabcdaabcd\") and check results", - -test: function testcase() { - __executed = /(aa).+\1/.exec("aabcdaabcd"); - -__expected = ["aabcdaa","aa"]; -__expected.index = 0; -__expected.input = "aabcdaabcd"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(aa).+\\1/.exec("aabcdaabcd"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(aa).+\\1/.exec("aabcdaabcd"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(aa).+\\1/.exec("aabcdaabcd"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(aa).+\\1/.exec("aabcdaabcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T9.js deleted file mode 100644 index cf30ecec2d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T9.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A3_T9; -* @section: 15.10.2.8; -* @assertion: Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. -* The result can be used either in a backreference (\ followed by a nonzero decimal number), -* referenced in a replace string, -* or returned as part of an array from the regular expression matching function; -* @description: Execute /(.{2}).+\1/.exec("aabcdaabcd") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A3_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A3_T9.js", - -assertion: "Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.", - -description: "Execute /(.{2}).+\\1/.exec(\"aabcdaabcd\") and check results", - -test: function testcase() { - __executed = /(.{2}).+\1/.exec("aabcdaabcd"); - -__expected = ["aabcdaa","aa"]; -__expected.index = 0; -__expected.input = "aabcdaabcd"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(.{2}).+\\1/.exec("aabcdaabcd"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(.{2}).+\\1/.exec("aabcdaabcd"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(.{2}).+\\1/.exec("aabcdaabcd"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(.{2}).+\\1/.exec("aabcdaabcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T1.js deleted file mode 100644 index 431747c5c9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T1.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A4_T1; -* @section: 15.10.2.8; -* @assertion: The production Atom :: . evaluates as follows: -* i) Let A be the set of all characters except the four line terminator characters , , , or -* ii) Call CharacterSetMatcher(A, false) and return its Matcher result; -* @description: Execute /ab.de/.exec("abcde") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A4_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T1.js", - -assertion: "The production Atom :: . evaluates as follows:", - -description: "Execute /ab.de/.exec(\"abcde\") and check results", - -test: function testcase() { - __string = "abcde"; -__executed = /ab.de/.exec(__string); - -__expected = ["abcde"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "abcde"; __executed = /ab.de/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "abcde"; __executed = /ab.de/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "abcde"; __executed = /ab.de/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "abcde"; __executed = /ab.de/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T2.js deleted file mode 100644 index f01b5aff1c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T2.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A4_T2; -* @section: 15.10.2.8; -* @assertion: The production Atom :: . evaluates as follows: -* i) Let A be the set of all characters except the four line terminator characters , , , or -* ii) Call CharacterSetMatcher(A, false) and return its Matcher result; -* @description: Execute /.+/.exec("line 1\nline 2") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A4_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T2.js", - -assertion: "The production Atom :: . evaluates as follows:", - -description: "Execute /.+/.exec(\"line 1\\nline 2\") and check results", - -test: function testcase() { - __string = "line 1\nline 2"; -__executed = /.+/.exec(__string); - -__expected = ["line 1"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "line 1\nline 2"; __executed = /.+/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "line 1\nline 2"; __executed = /.+/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "line 1\nline 2"; __executed = /.+/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "line 1\nline 2"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T3.js deleted file mode 100644 index 489c3c8627..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T3.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A4_T3; -* @section: 15.10.2.8; -* @assertion: The production Atom :: . evaluates as follows: -* i) Let A be the set of all characters except the four line terminator characters , , , or -* ii) Call CharacterSetMatcher(A, false) and return its Matcher result; -* @description: Execute /.*a.* /.exec("this is a test") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A4_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T3.js", - -assertion: "The production Atom :: . evaluates as follows:", - -description: "Execute /.*a.* /.exec(\"this is a test\") and check results", - -test: function testcase() { - __string = "this is a test"; -__executed = /.*a.*/.exec(__string); - -__expected = ["this is a test"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "this is a test"; __executed = /.*a.*/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "this is a test"; __executed = /.*a.*/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "this is a test"; __executed = /.*a.*/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "this is a test"; __executed = /.*a.*/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T4.js deleted file mode 100644 index 3a415d5770..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T4.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A4_T4; -* @section: 15.10.2.8; -* @assertion: The production Atom :: . evaluates as follows: -* i) Let A be the set of all characters except the four line terminator characters , , , or -* ii) Call CharacterSetMatcher(A, false) and return its Matcher result; -* @description: Execute /.+/.exec("this is a *&^%$# test") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A4_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T4.js", - -assertion: "The production Atom :: . evaluates as follows:", - -description: "Execute /.+/.exec(\"this is a *&^%$# test\") and check results", - -test: function testcase() { - __string = "this is a *&^%$# test"; -__executed = /.+/.exec(__string); - -__expected = ["this is a *&^%$# test"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "this is a *&^%$# test"; __executed = /.+/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "this is a *&^%$# test"; __executed = /.+/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "this is a *&^%$# test"; __executed = /.+/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "this is a *&^%$# test"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T5.js deleted file mode 100644 index d2e66ad2b5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T5.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A4_T5; -* @section: 15.10.2.8; -* @assertion: The production Atom :: . evaluates as follows: -* i) Let A be the set of all characters except the four line terminator characters , , , or -* ii) Call CharacterSetMatcher(A, false) and return its Matcher result; -* @description: Execute /.+/.exec("....") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A4_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T5.js", - -assertion: "The production Atom :: . evaluates as follows:", - -description: "Execute /.+/.exec(\"....\") and check results", - -test: function testcase() { - __string = "...."; -__executed = /.+/.exec(__string); - -__expected = ["...."]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "...."; __executed = /.+/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "...."; __executed = /.+/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "...."; __executed = /.+/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "...."; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T6.js deleted file mode 100644 index dd38903619..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T6.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A4_T6; -* @section: 15.10.2.8; -* @assertion: The production Atom :: . evaluates as follows: -* i) Let A be the set of all characters except the four line terminator characters , , , or -* ii) Call CharacterSetMatcher(A, false) and return its Matcher result; -* @description: Execute /.+/.exec("abcdefghijklmnopqrstuvwxyz") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A4_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T6.js", - -assertion: "The production Atom :: . evaluates as follows:", - -description: "Execute /.+/.exec(\"abcdefghijklmnopqrstuvwxyz\") and check results", - -test: function testcase() { - __string = "abcdefghijklmnopqrstuvwxyz"; -__executed = /.+/.exec(__string); - -__expected = ["abcdefghijklmnopqrstuvwxyz"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "abcdefghijklmnopqrstuvwxyz"; __executed = /.+/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "abcdefghijklmnopqrstuvwxyz"; __executed = /.+/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "abcdefghijklmnopqrstuvwxyz"; __executed = /.+/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "abcdefghijklmnopqrstuvwxyz"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T7.js deleted file mode 100644 index 22f054b35d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T7.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A4_T7; -* @section: 15.10.2.8; -* @assertion: The production Atom :: . evaluates as follows: -* i) Let A be the set of all characters except the four line terminator characters , , , or -* ii) Call CharacterSetMatcher(A, false) and return its Matcher result; -* @description: Execute /.+/.exec("ABCDEFGHIJKLMNOPQRSTUVWXYZ") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A4_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T7.js", - -assertion: "The production Atom :: . evaluates as follows:", - -description: "Execute /.+/.exec(\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\") and check results", - -test: function testcase() { - __string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; -__executed = /.+/.exec(__string); - -__expected = ["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; __executed = /.+/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; __executed = /.+/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; __executed = /.+/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T8.js deleted file mode 100644 index 8d094befe7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T8.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A4_T8; -* @section: 15.10.2.8; -* @assertion: The production Atom :: . evaluates as follows: -* i) Let A be the set of all characters except the four line terminator characters , , , or -* ii) Call CharacterSetMatcher(A, false) and return its Matcher result; -* @description: Execute /.+/.exec("`1234567890-=~!@#$%^&*()_+") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A4_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T8.js", - -assertion: "The production Atom :: . evaluates as follows:", - -description: "Execute /.+/.exec(\"`1234567890-=~!@#$%^&*()_+\") and check results", - -test: function testcase() { - __string = "`1234567890-=~!@#$%^&*()_+"; -__executed = /.+/.exec(__string); - -__expected = ["`1234567890-=~!@#$%^&*()_+"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "`1234567890-=~!@#$%^&*()_+"; __executed = /.+/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "`1234567890-=~!@#$%^&*()_+"; __executed = /.+/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "`1234567890-=~!@#$%^&*()_+"; __executed = /.+/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "`1234567890-=~!@#$%^&*()_+"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T9.js deleted file mode 100644 index 5a5fe541eb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T9.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A4_T9; -* @section: 15.10.2.8; -* @assertion: The production Atom :: . evaluates as follows: -* i) Let A be the set of all characters except the four line terminator characters , , , or -* ii) Call CharacterSetMatcher(A, false) and return its Matcher result; -* @description: Execute /.+/.exec("|\\[{]};:\"\',<>.?/") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A4_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A4_T9.js", - -assertion: "The production Atom :: . evaluates as follows:", - -description: "Execute /.+/.exec(\"|\\\\[{]};:\\\"\\\',<>.?/\") and check results", - -test: function testcase() { - __string = "|\\[{]};:\"\',<>.?/"; -__executed = /.+/.exec(__string); - -__expected = ["|\\[{]};:\"\',<>.?/"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "|\\[{]};:\"\',<>.?/"; __executed = /.+/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "|\\[{]};:\"\',<>.?/"; __executed = /.+/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "|\\[{]};:\"\',<>.?/"; __executed = /.+/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "|\\[{]};:\"\',<>.?/"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T1.js deleted file mode 100644 index a8d2ad9d0e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A5_T1; -* @section: 15.10.2.8; -* @assertion: In case-insignificant matches all characters are implicitly converted to upper case immediately before they are compared; -* @description: Execute /[a-z]+/ig.exec("ABC def ghi") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A5_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T1.js", - -assertion: "In case-insignificant matches all characters are implicitly converted to upper case immediately before they are compared", - -description: "Execute /[a-z]+/ig.exec(\"ABC def ghi\") and check results", - -test: function testcase() { - __string = "ABC def ghi"; -__executed = /[a-z]+/ig.exec(__string); - -__expected = ["ABC"]; -__expected.index = 0; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "ABC def ghi"; __executed = /[a-z]+/ig.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "ABC def ghi"; __executed = /[a-z]+/ig.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "ABC def ghi"; __executed = /[a-z]+/ig.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "ABC def ghi"; __executed = /[a-z]+/ig.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T2.js deleted file mode 100644 index e7b3662dc9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.8_A5_T2; -* @section: 15.10.2.8; -* @assertion: In case-insignificant matches all characters are implicitly converted to upper case immediately before they are compared; -* @description: Execute /[a-z]+/.exec("ABC def ghi") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.8_A5_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.8_Atom/S15.10.2.8_A5_T2.js", - -assertion: "In case-insignificant matches all characters are implicitly converted to upper case immediately before they are compared", - -description: "Execute /[a-z]+/.exec(\"ABC def ghi\") and check results", - -test: function testcase() { - __string = "ABC def ghi"; -__executed = /[a-z]+/.exec(__string); - -__expected = ["def"]; -__expected.index = 4; -__expected.input = __string; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __string = "ABC def ghi"; __executed = /[a-z]+/.exec(__string); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __string = "ABC def ghi"; __executed = /[a-z]+/.exec(__string); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __string = "ABC def ghi"; __executed = /[a-z]+/.exec(__string); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __string = "ABC def ghi"; __executed = /[a-z]+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T1.js deleted file mode 100644 index 8402064c98..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.9_A1_T1; -* @section: 15.10.2.9, 15.10.2.11; -* @assertion: An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11); -* @description: Execute /\b(\w+) \1\b/.exec("do you listen the the band") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.9_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T1.js", - -assertion: "An escape sequence of the form \\ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11)", - -description: "Execute /\\b(\\w+) \\1\\b/.exec(\"do you listen the the band\") and check results", - -test: function testcase() { - __executed = /\b(\w+) \1\b/.exec("do you listen the the band"); - -__expected = ["the the", "the"]; -__expected.index = 14; -__expected.input = "do you listen the the band"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\b(\\w+) \\1\\b/.exec("do you listen the the band"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\b(\\w+) \\1\\b/.exec("do you listen the the band"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\b(\\w+) \\1\\b/.exec("do you listen the the band"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\b(\\w+) \\1\\b/.exec("do you listen the the band"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T2.js deleted file mode 100644 index e61f63cfab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.9_A1_T2; -* @section: 15.10.2.9, 15.10.2.11; -* @assertion: An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11); -* @description: Execute /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x01u00FFu00FFx04x04x23") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.9_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T2.js", - -assertion: "An escape sequence of the form \\ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11)", - -description: "Execute /([xu]\\d{2}([A-H]{2})?)\\1/.exec(\"x09x12x01x01u00FFu00FFx04x04x23\") and check results", - -test: function testcase() { - __executed = /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x01u00FFu00FFx04x04x23"); - -__expected = ["x01x01", "x01", undefined]; -__expected.index = 6; -__expected.input = "x09x12x01x01u00FFu00FFx04x04x23"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x01u00FFu00FFx04x04x23"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x01u00FFu00FFx04x04x23"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x01u00FFu00FFx04x04x23"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x01u00FFu00FFx04x04x23"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T3.js deleted file mode 100644 index bc4e146a87..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.9_A1_T3; -* @section: 15.10.2.9, 15.10.2.11; -* @assertion: An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11); -* @description: Execute /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x05u00FFu00FFx04x04x23") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.9_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T3.js", - -assertion: "An escape sequence of the form \\ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11)", - -description: "Execute /([xu]\\d{2}([A-H]{2})?)\\1/.exec(\"x09x12x01x05u00FFu00FFx04x04x23\") and check results", - -test: function testcase() { - __executed = /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x05u00FFu00FFx04x04x23"); - -__expected = ["u00FFu00FF", "u00FF", "FF"]; -__expected.index = 12; -__expected.input = "x09x12x01x05u00FFu00FFx04x04x23"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x05u00FFu00FFx04x04x23"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x05u00FFu00FFx04x04x23"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x05u00FFu00FFx04x04x23"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x05u00FFu00FFx04x04x23"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T4.js deleted file mode 100644 index 54bac17464..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.9_A1_T4; -* @section: 15.10.2.9, 15.10.2.11; -* @assertion: An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11); -* @description: Execute /\b(\w+) \2\b/.test("do you listen the the band") and check results; -*/ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.9_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T4.js", - -assertion: "An escape sequence of the form \\ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11)", - -description: "Execute /\\b(\\w+) \\2\\b/.test(\"do you listen the the band\") and check results", - -test: function testcase() { - __executed = /\b(\w+) \2\b/.test("do you listen the the band"); - -//CHECK#1 -if (__executed) { - $ERROR('#1: /\\b(\\w+) \\2\\b/.test("do you listen the the band") === false'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T5.js deleted file mode 100644 index 77af0dc495..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2.9_A1_T5; -* @section: 15.10.2.9, 15.10.2.11; -* @assertion: An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11); -* @description: Execute /(a*)b\1+/.exec("baaac") and check results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2.9_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.9_AtomEscape/S15.10.2.9_A1_T5.js", - -assertion: "An escape sequence of the form \\ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11)", - -description: "Execute /(a*)b\\1+/.exec(\"baaac\") and check results", - -test: function testcase() { - __executed = /(a*)b\1+/.exec("baaac"); - -__expected = ["b", ""]; -__expected.index = 0; -__expected.input = "baaac"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(a*)b\\1+/.exec("baaac"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(a*)b\\1+/.exec("baaac"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(a*)b\\1+/.exec("baaac"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(a*)b\\1+/.exec("baaac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/S15.10.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/S15.10.2_A1_T1.js deleted file mode 100644 index 942a43c4b0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/S15.10.2_A1_T1.js +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.2_A1_T1; -* @section: 15.10.2; -* @assertion: XML Shallow Parsing with Regular Expressions; -* @description: See bug http://bugzilla.mozilla.org/show_bug.cgi?id=103087; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.2_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/S15.10.2_A1_T1.js", - -assertion: "XML Shallow Parsing with Regular Expressions", - -description: "See bug http://bugzilla.mozilla.org/show_bug.cgi?id=103087", - -test: function testcase() { - // REX/Javascript 1.0 -// Robert D. Cameron "REX: XML Shallow Parsing with Regular Expressions", -// Technical Report TR 1998-17, School of Computing Science, Simon Fraser -// University, November, 1998. -// Copyright (c) 1998, Robert D. Cameron. -// The following code may be freely used and distributed provided that -// this copyright and citation notice remains intact and that modifications -// or additions are clearly identified. - -TextSE = "[^<]+"; -UntilHyphen = "[^-]*-"; -Until2Hyphens = UntilHyphen + "([^-]" + UntilHyphen + ")*-"; -CommentCE = Until2Hyphens + ">?"; -UntilRSBs = "[^]]*]([^]]+])*]+"; -CDATA_CE = UntilRSBs + "([^]>]" + UntilRSBs + ")*>"; -S = "[ \\n\\t\\r]+"; -NameStrt = "[A-Za-z_:]|[^\\x00-\\x7F]"; -NameChar = "[A-Za-z0-9_:.-]|[^\\x00-\\x7F]"; -Name = "(" + NameStrt + ")(" + NameChar + ")*"; -QuoteSE = '"[^"]' + "*" + '"' + "|'[^']*'"; -DT_IdentSE = S + Name + "(" + S + "(" + Name + "|" + QuoteSE + "))*"; -MarkupDeclCE = "([^]\"'><]+|" + QuoteSE + ")*>"; -S1 = "[\\n\\r\\t ]"; -UntilQMs = "[^?]*\\?+"; -PI_Tail = "\\?>|" + S1 + UntilQMs + "([^>?]" + UntilQMs + ")*>"; -DT_ItemSE = "<(!(--" + Until2Hyphens + ">|[^-]" + MarkupDeclCE + ")|\\?" + Name + "(" + PI_Tail + "))|%" + Name + ";|" + S; -DocTypeCE = DT_IdentSE + "(" + S + ")?(\\[(" + DT_ItemSE + ")*](" + S + ")?)?>?"; -DeclCE = "--(" + CommentCE + ")?|\\[CDATA\\[(" + CDATA_CE + ")?|DOCTYPE(" + DocTypeCE + ")?"; -PI_CE = Name + "(" + PI_Tail + ")?"; -EndTagCE = Name + "(" + S + ")?>?"; -AttValSE = '"[^<"]' + "*" + '"' + "|'[^<']*'"; -ElemTagCE = Name + "(" + S + Name + "(" + S + ")?=(" + S + ")?(" + AttValSE + "))*(" + S + ")?/?>?"; -MarkupSPE = "<(!(" + DeclCE + ")?|\\?(" + PI_CE + ")?|/(" + EndTagCE + ")?|(" + ElemTagCE + ")?)"; -XML_SPE = TextSE + "|" + MarkupSPE; - -/// -//// -///// - -__patterns = [TextSE,UntilHyphen,Until2Hyphens,CommentCE,UntilRSBs,CDATA_CE,S,NameStrt, NameChar, -Name, QuoteSE, DT_IdentSE, MarkupDeclCE, S1,UntilQMs, PI_Tail, DT_ItemSE, DocTypeCE, DeclCE, -PI_CE, EndTagCE, AttValSE, ElemTagCE, MarkupSPE, XML_SPE]; - -__html=""+ -'\n' + -' Three Namespaces\n' + -' \n' + -'

An Ellipse and a Rectangle

\n' + -' \n' + -' \n' + -' \n' + -' \n' + -'

\n' + -' More about ellipses\n' + -'

\n' + -'

\n' + -' More about rectangles\n' + -'

\n' + -'
\n' + -'

Last Modified February 13, 2000

\n' + -' \n' + -''; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - for(var index=0; index<__patterns.length; index++) { - __re = new RegExp(__patterns[index]); - __re.test(__html); - } -} catch (e) { - $ERROR('#'+index+": XML Shallow Parsing with Regular Expression: "+__patterns[index]); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T1.js deleted file mode 100644 index e0461e6878..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.3.1_A1_T1; -* @section: 15.10.3.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then return R unchanged; -* @description: R is /x/i and instance is RegExp(R); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.3.1_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T1.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then return R unchanged", - -description: "R is /x/i and instance is RegExp(R)", - -test: function testcase() { - __re = /x/i; -__instance = RegExp(__re); -__re.indicator = 1; - -//CHECK#1 -if (__instance.indicator !== 1) { - $ERROR('#1: __re = /x/i; __instance = RegExp(__re); __re.indicator = 1; __instance.indicator === 1. Actual: ' + (__instance.indicator)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T2.js deleted file mode 100644 index 3857a99ac8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.3.1_A1_T2; -* @section: 15.10.3.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then return R unchanged; -* @description: R is new RegExp and instance is RegExp(R, function(){}()); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.3.1_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T2.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then return R unchanged", - -description: "R is new RegExp and instance is RegExp(R, function(){}())", - -test: function testcase() { - __re = new RegExp; -__instance = RegExp(__re, function(){}()); -__re.indicator = 1; - -//CHECK#1 -if (__instance.indicator !== 1) { - $ERROR('#1: __re = new RegExp; __instance = RegExp(__re, function(){}()); __re.indicator = 1; __instance.indicator === 1. Actual: ' + (__instance.indicator)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T3.js deleted file mode 100644 index e26745cc06..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.3.1_A1_T3; -* @section: 15.10.3.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then return R unchanged; -* @description: R is new RegExp() and instance is RegExp(R, x), where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.3.1_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T3.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then return R unchanged", - -description: "R is new RegExp() and instance is RegExp(R, x), where x is undefined variable", - -test: function testcase() { - __re = new RegExp(); -__instance = RegExp(__re, x); -__re.indicator = 1; - -//CHECK#1 -if (__instance.indicator !== 1) { - $ERROR('#1: __re = new RegExp(); __instance = RegExp(__re, x); __re.indicator = 1; __instance.indicator === 1. Actual: ' + (__instance.indicator)); -} - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T4.js deleted file mode 100644 index 008bc7c371..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.3.1_A1_T4; -* @section: 15.10.3.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then return R unchanged; -* @description: R is new RegExp() and instance is RegExp(R, void 0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.3.1_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T4.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then return R unchanged", - -description: "R is new RegExp() and instance is RegExp(R, void 0)", - -test: function testcase() { - __re = RegExp(); -__instance = RegExp(__re, void 0); -__re.indicator = 1; - -//CHECK#1 -if (__instance.indicator !== 1) { - $ERROR('#1: __re = RegExp(); __instance = RegExp(__re, void 0); __re.indicator = 1; __instance.indicator === 1. Actual: ' + (__instance.indicator)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T5.js deleted file mode 100644 index 2dc6effc05..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.3.1_A1_T5; -* @section: 15.10.3.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then return R unchanged; -* @description: R is /\b/m and instance is RegExp(R, undefined); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.3.1_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A1_T5.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then return R unchanged", - -description: "R is /\\b/m and instance is RegExp(R, undefined)", - -test: function testcase() { - __re = /\b/m; -__instance = RegExp(__re, undefined); -__re.indicator = 1; - -//CHECK#1 -if (__instance.indicator !== 1) { - $ERROR('#1: __re = /\\b/m; __instance = RegExp(__re, undefined); __re.indicator = 1; __instance.indicator === 1. Actual: ' + (__instance.indicator)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T1.js deleted file mode 100644 index 3eec9738d4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.3.1_A2_T1; -* @section: 15.10.3.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is defined, then -* call the RegExp constructor (15.10.4.1), passing it the pattern and flags arguments and return the object constructed by that constructor; -* @description: Checking if using "1" as flags leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.3.1_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T1.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is defined, then", - -description: "Checking if using \"1\" as flags leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: RegExp(new RegExp("\\d"), "1")) throw TypeError. Actual: ' + (RegExp(new RegExp("\d"), "1"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: RegExp(new RegExp("\\d"), "1")) throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T2.js deleted file mode 100644 index 64111781f6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.3.1_A2_T2; -* @section: 15.10.3.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is defined, then -* call the RegExp constructor (15.10.4.1), passing it the pattern and flags arguments and return the object constructed by that constructor; -* @description: Checking if using dafined variable "x = 1" as flags leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.3.1_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A2_T2.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is defined, then", - -description: "Checking if using dafined variable \"x = 1\" as flags leads to throwing the correct exception", - -test: function testcase() { - var x = 1; - -//CHECK#1 -try { - $ERROR('#1.1: var x = 1; RegExp(/[a-b]?/, x) throw TypeError. Actual: ' + (RegExp(/[a-b]?/, x))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: var x = 1; RegExp(/[a-b]?/, x) throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T1.js deleted file mode 100644 index 3856c8894f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.3.1_A3_T1; -* @section: 15.10.3.1; -* @assertion: If pattern and flags are defined, then -* call the RegExp constructor (15.10.4.1), passing it the pattern and flags arguments and return the object constructed by that constructor; -* @description: R is "d+" and instance is RegExp(R,"i"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.3.1_A3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T1.js", - -assertion: "If pattern and flags are defined, then", - -description: "R is \"d+\" and instance is RegExp(R,\"i\")", - -test: function testcase() { - __re = "d+"; -__instance = RegExp(__re, "i"); - -//CHECK#1 -if (__instance.constructor !== RegExp) { - $ERROR('#1: __re = "d+"; __instance = RegExp(__re, "i"); __instance.constructor === RegExp. Actual: ' + (__instance.constructor)); -} - -//CHECK#2 -if (__instance.source !== __re) { - $ERROR('#2: __re = "d+"; __instance = RegExp(__re, "i"); __instance.source === __re. Actual: '+ (__instance.source)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T2.js deleted file mode 100644 index c1f2c3b731..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.3.1_A3_T2; -* @section: 15.10.3.1; -* @assertion: If pattern and flags are defined, then -* call the RegExp constructor (15.10.4.1), passing it the pattern and flags arguments and return the object constructed by that constructor; -* @description: R is {toString:function(){return "[a-c]*";}} and instance is RegExp(R,"gm"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.3.1_A3_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.3_The_RegExp_Constructor_Called_as_a_Function/S15.10.3.1_A3_T2.js", - -assertion: "If pattern and flags are defined, then", - -description: "R is {toString:function(){return \"[a-c]*\";}} and instance is RegExp(R,\"gm\")", - -test: function testcase() { - __instance = RegExp({toString:function(){return "[a-c]*";}}, "gm"); - -//CHECK#1 -if (__instance.constructor !== RegExp) { - $ERROR('#1: __instance = RegExp({toString:function(){return "[a-c]*";}}, "gm"); __instance.constructor === RegExp. Actual: ' + (__instance.constructor)); -} - -//CHECK#2 -if (__instance.source !== "[a-c]*") { - $ERROR('#2: __instance = RegExp({toString:function(){return "[a-c]*";}}, "gm"); __instance.source === "[a-c]*". Actual: '+ (__instance.source)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T1.js deleted file mode 100644 index 6a9a5b9bce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A1_T1; -* @section: 15.10.4.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then let P be -* the pattern used to construct R and let F be the flags used to construct R; -* @description: Pattern is /./i and RegExp is new RegExp(pattern); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T1.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then let P be", - -description: "Pattern is /./i and RegExp is new RegExp(pattern)", - -test: function testcase() { - __pattern = /./i; -__re = new RegExp(__pattern); - -//CHECK#1 -if (__re.source !== __pattern.source) { - $ERROR('#1: __pattern = /./i; __re = new RegExp(__pattern); __re.source === __pattern.source. Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== __pattern.multiline) { - $ERROR('#2: __pattern = /./i; __re = new RegExp(__pattern); __re.multiline === __pattern.multiline. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== __pattern.global) { - $ERROR('#3: __pattern = /./i; __re = new RegExp(__pattern); __re.global === __pattern.global. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== __pattern.ignoreCase) { - $ERROR('#4: __pattern = /./i; __re = new RegExp(__pattern); __re.ignoreCase === __pattern.ignoreCase. Actual: ' + (__re.ignoreCase)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T2.js deleted file mode 100644 index 0fdec45f14..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A1_T2; -* @section: 15.10.4.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then let P be -* the pattern used to construct R and let F be the flags used to construct R; -* @description: Pattern is /\t/m and RegExp is new RegExp(pattern,x), where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T2.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then let P be", - -description: "Pattern is /\\t/m and RegExp is new RegExp(pattern,x), where x is undefined variable", - -test: function testcase() { - __pattern = /\t/m; -__re = new RegExp(__pattern, x); - -//CHECK#1 -if (__re.source !== __pattern.source) { - $ERROR('#1: __pattern = /\\t/m; _re = new RegExp(__pattern, x); var x; __re.source === __pattern.source. Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== __pattern.multiline) { - $ERROR('#2: __pattern = /\\t/m; _re = new RegExp(__pattern, x); var x; __re.multiline === __pattern.multiline. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== __pattern.global) { - $ERROR('#3: __pattern = /\\t/m; _re = new RegExp(__pattern, x); var x; __re.global === __pattern.global. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== __pattern.ignoreCase) { - $ERROR('#4: __pattern = /\\t/m; _re = new RegExp(__pattern, x); var x; __re.ignoreCase === __pattern.ignoreCase. Actual: ' + (__re.ignoreCase)); -} - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T3.js deleted file mode 100644 index 9db26d6a14..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T3.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A1_T3; -* @section: 15.10.4.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then let P be -* the pattern used to construct R and let F be the flags used to construct R; -* @description: Pattern is /[a-b]/g and RegExp is new RegExp(pattern,void 0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T3.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then let P be", - -description: "Pattern is /[a-b]/g and RegExp is new RegExp(pattern,void 0)", - -test: function testcase() { - __pattern = /[a-b]/g; -__re = new RegExp(__pattern, void 0); - -//CHECK#1 -if (__re.source !== __pattern.source) { - $ERROR('#1: __pattern = /[a-b]/g; __re = new RegExp(__pattern, void 0); __re.source === __pattern.source. Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== __pattern.multiline) { - $ERROR('#2: __pattern = /[a-b]/g; __re = new RegExp(__pattern, void 0); __re.multiline === __pattern.multiline. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== __pattern.global) { - $ERROR('#3: __pattern = /[a-b]/g; __re = new RegExp(__pattern, void 0); __re.global === __pattern.global. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== __pattern.ignoreCase) { - $ERROR('#4: __pattern = /[a-b]/g; __re = new RegExp(__pattern, void 0); __re.ignoreCase === __pattern.ignoreCase. Actual: ' + (__re.ignoreCase)); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T4.js deleted file mode 100644 index 2fa534b14d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T4.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A1_T4; -* @section: 15.10.4.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then let P be -* the pattern used to construct R and let F be the flags used to construct R; -* @description: Pattern is new RegExp and RegExp is new RegExp(pattern,undefined); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T4.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then let P be", - -description: "Pattern is new RegExp and RegExp is new RegExp(pattern,undefined)", - -test: function testcase() { - __pattern = new RegExp; -__re = new RegExp(__pattern, undefined); - -//CHECK#1 -if (__re.source !== __pattern.source) { - $ERROR('#1: __pattern = new RegExp; __re = new RegExp(__pattern, undefined); __re.source === __pattern.source. Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== __pattern.multiline) { - $ERROR('#2: __pattern = new RegExp; __re = new RegExp(__pattern, undefined); __re.multiline === __pattern.multiline. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== __pattern.global) { - $ERROR('#3: __pattern = new RegExp; __re = new RegExp(__pattern, undefined); __re.global === __pattern.global. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== __pattern.ignoreCase) { - $ERROR('#4: __pattern = new RegExp; __re = new RegExp(__pattern, undefined); __re.ignoreCase === __pattern.ignoreCase. Actual: ' + (__re.ignoreCase)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T5.js deleted file mode 100644 index ad672707dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T5.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A1_T5; -* @section: 15.10.4.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then let P be -* the pattern used to construct R and let F be the flags used to construct R; -* @description: Pattern is RegExp("1?","mig") and RegExp is new RegExp(pattern,(function(){})()); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A1_T5.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is undefined, then let P be", - -description: "Pattern is RegExp(\"1?\",\"mig\") and RegExp is new RegExp(pattern,(function(){})())", - -test: function testcase() { - __pattern = RegExp("1?","mig"); -__re = new RegExp(__pattern, (function(){})()); - -//CHECK#1 -if (__re.source !== __pattern.source) { - $ERROR('#1: __pattern = RegExp("1?","mig"); __re = new RegExp(__pattern, (function(){})()); __re.source === __pattern.source. Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== __pattern.multiline) { - $ERROR('#2: __pattern = RegExp("1?","mig"); __re = new RegExp(__pattern, (function(){})()); __re.multiline === __pattern.multiline. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== __pattern.global) { - $ERROR('#3: __pattern = RegExp("1?","mig"); __re = new RegExp(__pattern, (function(){})()); __re.global === __pattern.global. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== __pattern.ignoreCase) { - $ERROR('#4: __pattern = RegExp("1?","mig"); __re = new RegExp(__pattern, (function(){})()); __re.ignoreCase === __pattern.ignoreCase. Actual: ' + (__re.ignoreCase)); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T1.js deleted file mode 100644 index 343625238f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A2_T1; -* @section: 15.10.4.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is not undefined, then throw a TypeError exception; -* @description: Checking if execution of "new RegExp(pattern, "i")", where the pattern is "/\u0042/i", fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T1.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is not undefined, then throw a TypeError exception", - -description: "Checking if execution of \"new RegExp(pattern, \"i\")\", where the pattern is \"/\\u0042/i\", fails", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp(/\\u0042/i, "i") throw TypeError. Actual: ' + (new RegExp(/\u0042/i, "i"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new RegExp(/\\u0042/i, "i") throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T2.js deleted file mode 100644 index c3ab3083de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A2_T2; -* @section: 15.10.4.1; -* @assertion: If pattern is an object R whose [[Class]] property is "RegExp" and flags is not undefined, then throw a TypeError exception; -* @description: Checking if execution of "new RegExp(pattern, {})", where the pattern is "/1?1/mig", fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A2_T2.js", - -assertion: "If pattern is an object R whose [[Class]] property is \"RegExp\" and flags is not undefined, then throw a TypeError exception", - -description: "Checking if execution of \"new RegExp(pattern, {})\", where the pattern is \"/1?1/mig\", fails", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp(/1?1/mig, {}) throw TypeError. Actual: ' + (new RegExp(/1?1/mig, {}))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new RegExp(/1?1/mig, {}) throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T1.js deleted file mode 100644 index 953e536a69..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A3_T1; -* @section: 15.10.4.1; -* @assertion: let P be the empty string if pattern is undefined; -* @description: RegExp is new RegExp; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T1.js", - -assertion: "let P be the empty string if pattern is undefined", - -description: "RegExp is new RegExp", - -test: function testcase() { - __re = new RegExp; - -//CHECK#1 -if (__re.source !== "") { - $ERROR('#1: __re = new RegExp; __re.source === "". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp; __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp; __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp; __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T2.js deleted file mode 100644 index d1ac5fdcc0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A3_T2; -* @section: 15.10.4.1; -* @assertion: let P be the empty string if pattern is undefined; -* @description: RegExp is new RegExp(void 0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A3_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T2.js", - -assertion: "let P be the empty string if pattern is undefined", - -description: "RegExp is new RegExp(void 0)", - -test: function testcase() { - __re = new RegExp(void 0); - -//CHECK#1 -if (__re.source !== "") { - $ERROR('#1: __re = new RegExp(void 0); __re.source === "". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(void 0); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp(void 0); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp(void 0); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T3.js deleted file mode 100644 index 0f66f405bb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A3_T3; -* @section: 15.10.4.1; -* @assertion: let P be the empty string if pattern is undefined; -* @description: RegExp is new RegExp(x), where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A3_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T3.js", - -assertion: "let P be the empty string if pattern is undefined", - -description: "RegExp is new RegExp(x), where x is undefined variable", - -test: function testcase() { - __re = new RegExp(x); - -//CHECK#1 -if (__re.source !== "") { - $ERROR('#1: __re = new RegExp(x); var x; __re.source === "". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(x); var x; __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp(x); var x; __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp(x); var x; __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - -var x; - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T4.js deleted file mode 100644 index 866d138c9f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T4.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A3_T4; -* @section: 15.10.4.1; -* @assertion: let P be the empty string if pattern is undefined; -* @description: RegExp is new RegExp(undefined); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A3_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T4.js", - -assertion: "let P be the empty string if pattern is undefined", - -description: "RegExp is new RegExp(undefined)", - -test: function testcase() { - __re = new RegExp(undefined); - -//CHECK#1 -if (__re.source !== "") { - $ERROR('#1: __re = new RegExp(undefined); __re.source === "". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(undefined); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp(undefined); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp(undefined); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T5.js deleted file mode 100644 index e2702b0538..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T5.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A3_T5; -* @section: 15.10.4.1; -* @assertion: let P be the empty string if pattern is undefined; -* @description: RegExp is new RegExp((function(){})()); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A3_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A3_T5.js", - -assertion: "let P be the empty string if pattern is undefined", - -description: "RegExp is new RegExp((function(){})())", - -test: function testcase() { - __re = new RegExp((function(){})()); - -//CHECK#1 -if (__re.source !== "") { - $ERROR('#1: __re = new RegExp((function(){})()); __re.source === "". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp((function(){})()); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp((function(){})()); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp((function(){})()); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T1.js deleted file mode 100644 index 5927f2ebcc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A4_T1; -* @section: 15.10.4.1; -* @assertion: let F be the empty string if flags is undefined; -* @description: RegExp is new RegExp(undefined); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A4_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T1.js", - -assertion: "let F be the empty string if flags is undefined", - -description: "RegExp is new RegExp(undefined)", - -test: function testcase() { - __re = new RegExp(null, void 0); - -//CHECK#1 -if (__re.source !== "null") { - $ERROR('#1: __re = new RegExp(null, void 0); __re.source === "null". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(null, void 0); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp(null, void 0); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp(null, void 0); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T2.js deleted file mode 100644 index e054a58fce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A4_T2; -* @section: 15.10.4.1; -* @assertion: let F be the empty string if flags is undefined; -* @description: RegExp is new RegExp(undefined,undefined); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A4_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T2.js", - -assertion: "let F be the empty string if flags is undefined", - -description: "RegExp is new RegExp(undefined,undefined)", - -test: function testcase() { - __re = new RegExp(undefined, undefined); - -//CHECK#1 -if (__re.source !== "") { - $ERROR('#1: __re = new RegExp(undefined, undefined); __re.source === "". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(undefined, undefined); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp(undefined, undefined); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp(undefined, undefined); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T3.js deleted file mode 100644 index 2733f71d7b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T3.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A4_T3; -* @section: 15.10.4.1; -* @assertion: let F be the empty string if flags is undefined; -* @description: Use undefined properties of object as flags of RegExp; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A4_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T3.js", - -assertion: "let F be the empty string if flags is undefined", - -description: "Use undefined properties of object as flags of RegExp", - -test: function testcase() { - __re = new RegExp({}.p, {}.q); - -//CHECK#1 -if (__re.source !== "") { - $ERROR('#1: __re = new RegExp({}.p, {}.q); __re.source === "". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp({}.p, {}.q); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp({}.p, {}.q); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp({}.p, {}.q); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T4.js deleted file mode 100644 index 3abfc81605..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T4.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A4_T4; -* @section: 15.10.4.1; -* @assertion: let F be the empty string if flags is undefined; -* @description: RegExp is new RegExp(null,void 0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A4_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T4.js", - -assertion: "let F be the empty string if flags is undefined", - -description: "RegExp is new RegExp(null,void 0)", - -test: function testcase() { - __re = new RegExp(null, void 0); - -//CHECK#1 -if (__re.source !== "null") { - $ERROR('#1: __re = new RegExp(null, void 0); __re.source === "null". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(null, void 0); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp(null, void 0); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp(null, void 0); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T5.js deleted file mode 100644 index 1d93499a8f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T5.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A4_T5; -* @section: 15.10.4.1; -* @assertion: let F be the empty string if flags is undefined; -* @description: RegExp is new RegExp("",(function(){})()); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A4_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A4_T5.js", - -assertion: "let F be the empty string if flags is undefined", - -description: "RegExp is new RegExp(\"\",(function(){})())", - -test: function testcase() { - __re = new RegExp("", (function(){})()); - -//CHECK#1 -if (__re.source !== "") { - $ERROR('#1: __re = new RegExp("", (function(){})()); __re.source === "". Actual: '+ (__re.source)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp("", (function(){})()); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp("", (function(){})()); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.ignoreCase !== false) { - $ERROR('#4: __re = new RegExp("", (function(){})()); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T1.js deleted file mode 100644 index c05e84a422..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A5_T1; -* @section: 15.10.4.1; -* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception; -* @description: Checking if using "ii" as F leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A5_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T1.js", - -assertion: "If F contains any character other than \'g\', \'i\', or \'m\', or if it contains the same one more than once, then throw a SyntaxError exception", - -description: "Checking if using \"ii\" as F leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp(undefined,"ii") throw SyntaxError. Actual: ' + (new RegExp(undefined,"ii"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp(undefined,"ii") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T2.js deleted file mode 100644 index 1d57d9db81..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A5_T2; -* @section: 15.10.4.1; -* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception; -* @description: Checking if using "migg" as F leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A5_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T2.js", - -assertion: "If F contains any character other than \'g\', \'i\', or \'m\', or if it contains the same one more than once, then throw a SyntaxError exception", - -description: "Checking if using \"migg\" as F leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp(null,"migg") throw SyntaxError. Actual: ' + (new RegExp(null,"migg"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp(null,"migg") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T3.js deleted file mode 100644 index 8865480b1b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A5_T3; -* @section: 15.10.4.1; -* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception; -* @description: Checking by using eval, try to use eval("\"migg\"") as F; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A5_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T3.js", - -assertion: "If F contains any character other than \'g\', \'i\', or \'m\', or if it contains the same one more than once, then throw a SyntaxError exception", - -description: "Checking by using eval, try to use eval(\"\\\"migg\\\"\") as F", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("",eval("\\"migr\\"")) throw SyntaxError. Actual: ' + (new RegExp("",eval("\"migr\"")))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("",eval("\\"migr\\"")) throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T4.js deleted file mode 100644 index b73a481b95..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A5_T4; -* @section: 15.10.4.1; -* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception; -* @description: Checking if using "z" as F leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A5_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T4.js", - -assertion: "If F contains any character other than \'g\', \'i\', or \'m\', or if it contains the same one more than once, then throw a SyntaxError exception", - -description: "Checking if using \"z\" as F leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("a|b","z") throw SyntaxError. Actual: ' + (new RegExp("a|b","z"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("a|b","z") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js deleted file mode 100644 index 8df765248c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A5_T5; -* @section: 15.10.4.1; -* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception; -* @description: Checking if using "{toString:function(){return "x";}}" as F leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A5_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js", - -assertion: "If F contains any character other than \'g\', \'i\', or \'m\', or if it contains the same one more than once, then throw a SyntaxError exception", - -description: "Checking if using \"{toString:function(){return \"x\";}}\" as F leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("a|b|[a-b]",{toString:function(){return "x" throw SyntaxError. Actual: ' + (new RegExp("a|b|[a-b]",{toString:function(){return "x"}}))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("a|b|[a-b]",{toString:function(){return "x" throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T6.js deleted file mode 100644 index b694e41e71..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A5_T6; -* @section: 15.10.4.1; -* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception; -* @description: Checking if using "null" as F leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A5_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T6.js", - -assertion: "If F contains any character other than \'g\', \'i\', or \'m\', or if it contains the same one more than once, then throw a SyntaxError exception", - -description: "Checking if using \"null\" as F leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp(".",null) throw SyntaxError. Actual: ' + (new RegExp(".",null))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp(".",null) throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T7.js deleted file mode 100644 index 6197146fb4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A5_T7; -* @section: 15.10.4.1; -* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception; -* @description: Checking if using 1.0 as F leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A5_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T7.js", - -assertion: "If F contains any character other than \'g\', \'i\', or \'m\', or if it contains the same one more than once, then throw a SyntaxError exception", - -description: "Checking if using 1.0 as F leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("^",1.0) throw SyntaxError. Actual: ' + (new RegExp("^",1.0))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("^",1.0) throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T8.js deleted file mode 100644 index 4620f802cc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A5_T8; -* @section: 15.10.4.1; -* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception; -* @description: Checking if using "true" as F leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A5_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T8.js", - -assertion: "If F contains any character other than \'g\', \'i\', or \'m\', or if it contains the same one more than once, then throw a SyntaxError exception", - -description: "Checking if using \"true\" as F leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("|",true) throw SyntaxError. Actual: ' + (new RegExp("|",true))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("|",true) throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T9.js deleted file mode 100644 index eed59bcf0c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T9.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A5_T9; -* @section: 15.10.4.1; -* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception; -* @description: Checking if using "{toString:function(){}}" as F leads to throwing the correct exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A5_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T9.js", - -assertion: "If F contains any character other than \'g\', \'i\', or \'m\', or if it contains the same one more than once, then throw a SyntaxError exception", - -description: "Checking if using \"{toString:function(){}}\" as F leads to throwing the correct exception", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("$sup",{toString:function(){}}) throw SyntaxError. Actual: ' + (new RegExp("$sup",{toString:function(){}}))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("$sup",{toString:function(){}}) throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A6_T1.js deleted file mode 100644 index 6991c24778..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A6_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A6_T1; -* @section: 15.10.4.1; -* @assertion: The [[Class]] property of the newly constructed object is set to "RegExp"; -* @description: Checking [[Class]] property of the newly constructed object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A6_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A6_T1.js", - -assertion: "The [[Class]] property of the newly constructed object is set to \"RegExp\"", - -description: "Checking [[Class]] property of the newly constructed object", - -test: function testcase() { - __re = new RegExp; -__re.toString = Object.prototype.toString; - -//CHECK#1 -if (__re.toString() !== "[object "+"RegExp"+"]") { - $ERROR('#1: __re = new RegExp; __re.toString = Object.prototype.toString; __re.toString() === "[object "+"RegExp"+"]". Actual: ' + (__re.toString())); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T1.js deleted file mode 100644 index 1cde2a3b29..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A7_T1; -* @section: 15.10.4.1; -* @assertion: The [[Prototype]] property of the newly constructed object is set to the original RegExp prototype object, the one that is the initial value of RegExp.prototype; -* @description: Add new property to [[Prototype]] of REgExp and check this property of the newly constructed object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A7_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T1.js", - -assertion: "The [[Prototype]] property of the newly constructed object is set to the original RegExp prototype object, the one that is the initial value of RegExp.prototype", - -description: "Add new property to [[Prototype]] of REgExp and check this property of the newly constructed object", - -test: function testcase() { - __re = new RegExp; -RegExp.prototype.indicator = 1; - -//CHECK#1 -if (__re.indicator !== 1) { - $ERROR('#1: __re = new RegExp; RegExp.prototype.indicator = 1; __re.indicator === 1. Actual: ' + (__re.indicator)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T2.js deleted file mode 100644 index f878f9758a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A7_T2; -* @section: 15.10.4.1; -* @assertion: The [[Prototype]] property of the newly constructed object is set to the original RegExp prototype object, the one that is the initial value of RegExp.prototype; -* @description: Checking [[Prototype]] property of the newly constructed object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A7_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A7_T2.js", - -assertion: "The [[Prototype]] property of the newly constructed object is set to the original RegExp prototype object, the one that is the initial value of RegExp.prototype", - -description: "Checking [[Prototype]] property of the newly constructed object", - -test: function testcase() { - __re = new RegExp(); - -//CHECK#1 -if (RegExp.prototype.isPrototypeOf(__re) !== true) { - $ERROR('#1: __re = new RegExp(); RegExp.prototype.isPrototypeOf(__re) === true. Actual: ' + (RegExp.prototype.isPrototypeOf(__re))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T1.js deleted file mode 100644 index 13a43a62fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T1; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is "a|b" and flags is "i"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T1.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is \"a|b\" and flags is \"i\"", - -test: function testcase() { - __re = new RegExp("a|b","i"); - -//CHECK#1 -if (__re.ignoreCase !== true) { - $ERROR('#1: __re = new RegExp("a|b","i"); __re.ignoreCase === true. Actual: ' + (__re.ignoreCase)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp("a|b","i"); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp("a|b","i"); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.lastIndex !== 0) { - $ERROR('#4: __re = new RegExp("a|b","i"); __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - -//CHECK#5 -if (typeof __re.source === "undefined") { - $ERROR('#5: __re = new RegExp("a|b","i"); typeof __re.source !== "undefined"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T10.js deleted file mode 100644 index 97bffe81d2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T10.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T10; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is true and flags is "m"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T10.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is true and flags is \"m\"", - -test: function testcase() { - __re = new RegExp(true,"m"); - -//CHECK#1 -if (__re.ignoreCase !== false) { - $ERROR('#1: __re = new RegExp(true,"m"); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - -//CHECK#2 -if (__re.multiline !== true) { - $ERROR('#2: __re = new RegExp(true,"m"); __re.multiline === true. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp(true,"m"); __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.lastIndex !== 0) { - $ERROR('#4: __re = new RegExp(true,"m"); __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - -//CHECK#5 -if (typeof __re.source === "undefined") { - $ERROR('#5: __re = new RegExp(true,"m"); typeof __re.source !== "undefined"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T11.js deleted file mode 100644 index 1275daa9dc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T11.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T11; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Checking by using eval, pattern is Math and flags is eval("\"g\""); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T11.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Checking by using eval, pattern is Math and flags is eval(\"\\\"g\\\"\")", - -test: function testcase() { - __re = new RegExp(Math,eval("\"g\"")); - -//CHECK#1 -if (__re.ignoreCase !== false) { - $ERROR('#1: __re = new RegExp(Math,eval("\\"g\\"")); __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(Math,eval("\\"g\\"")); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== true) { - $ERROR('#3: __re = new RegExp(Math,eval("\\"g\\"")); __re.global === true. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.lastIndex !== 0) { - $ERROR('#4: __re = new RegExp(Math,eval("\\"g\\"")); __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - -//CHECK#5 -if (typeof __re.source === "undefined") { - $ERROR('#5: __re = new RegExp(Math,eval("\\"g\\"")); typeof __re.source !== "undefined"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T12.js deleted file mode 100644 index 2715aa395c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T12.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T12; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is "\u0042" and flags is {toString:void 0, valueOf:function(){throw "invalof";} }; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T12.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is \"\\u0042\" and flags is {toString:void 0, valueOf:function(){throw \"invalof\";} }", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("\\u0042", {toString:void 0, valueOf:function(){throw "invalof";}}) throw "invalof". Actual: ' + (new RegExp("\u0042", {toString:void 0, valueOf:function(){throw "invalof";}}))); -} catch (e) { - if (e !== "invalof" ) { - $ERROR('#1.2: new RegExp("\\u0042", {toString:void 0, valueOf:function(){throw "invalof";}}) throw "invalof". Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T13.js deleted file mode 100644 index dff06aec85..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T13.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T13; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is "1" and flags is {toString:function(){throw "intostr";} }; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T13.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is \"1\" and flags is {toString:function(){throw \"intostr\";} }", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("1", {toString:function(){throw "intostr";}}) throw "intostr". Actual: ' + (new RegExp("1", {toString:function(){throw "intostr";}}))); -} catch (e) { - if (e !== "intostr" ) { - $ERROR('#1.2: new RegExp("1", {toString:function(){throw "intostr";}}) throw "intostr". Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T2.js deleted file mode 100644 index b0c66105ef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T2; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is function(){return "a|b|[]";}() and flags is "ig"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T2.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is function(){return \"a|b|[]\";}() and flags is \"ig\"", - -test: function testcase() { - __re = new RegExp(function(){return "a|b|[]";}(),"ig"); - -//CHECK#1 -if (__re.ignoreCase !== true) { - $ERROR('#1: __re = new RegExp(function(){return "a|b|[]"; __re.ignoreCase === true. Actual: ' + (__re.ignoreCase)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(function(){return "a|b|[]"; __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== true) { - $ERROR('#3: __re = new RegExp(function(){return "a|b|[]"; __re.global === true. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.lastIndex !== 0) { - $ERROR('#4: __re = new RegExp(function(){return "a|b|[]"; __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - -//CHECK#5 -if (typeof __re.source === "undefined") { - $ERROR('#5: __re = new RegExp(function(){return "a|b|[]"; typeof __re.source !== "undefined"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T3.js deleted file mode 100644 index f7b39e553f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T3.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T3; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is {toString:function(){return "[0-9]";}} and flags is (function(){return "m";})(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T3.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is {toString:function(){return \"[0-9]\";}} and flags is (function(){return \"m\";})()", - -test: function testcase() { - __re = new RegExp({toString:function(){return "[0-9]";}}, (function(){return "m";})()); - -//CHECK#1 -if (__re.ignoreCase !== false) { - $ERROR('#1: __re = new RegExp({toString:function(){return "[0-9]"; __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - -//CHECK#2 -if (__re.multiline !== true) { - $ERROR('#2: __re = new RegExp({toString:function(){return "[0-9]"; __re.multiline === true. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp({toString:function(){return "[0-9]"; __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.lastIndex !== 0) { - $ERROR('#4: __re = new RegExp({toString:function(){return "[0-9]"; __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - -//CHECK#5 -if (typeof __re.source === "undefined") { - $ERROR('#5: __re = new RegExp({toString:function(){return "[0-9]"; typeof __re.source !== "undefined"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T4.js deleted file mode 100644 index aa0275464f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T4; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is {toString:void 0,valueOf:function(){return "[z-z]";}} and flags is {toString:void 0,valueOf:function(){return "mig";}}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T4.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is {toString:void 0,valueOf:function(){return \"[z-z]\";}} and flags is {toString:void 0,valueOf:function(){return \"mig\";}}", - -test: function testcase() { - __re = new RegExp({toString:void 0,valueOf:function(){return "[z-z]";}}, {toString:void 0,valueOf:function(){return "mig";}}); - -//CHECK#1 -if (__re.ignoreCase !== true) { - $ERROR('#1: __re = new RegExp({toString:void 0,valueOf:function(){return "[z-z]"; __re.ignoreCase === true. Actual: ' + (__re.ignoreCase)); -} - -//CHECK#2 -if (__re.multiline !== true) { - $ERROR('#2: __re = new RegExp({toString:void 0,valueOf:function(){return "[z-z]"; __re.multiline === true. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== true) { - $ERROR('#3: __re = new RegExp({toString:void 0,valueOf:function(){return "[z-z]"; __re.global === true. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.lastIndex !== 0) { - $ERROR('#4: __re = new RegExp({toString:void 0,valueOf:function(){return "[z-z]"; __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - -//CHECK#5 -if (typeof __re.source === "undefined") { - $ERROR('#5: __re = new RegExp({toString:void 0,valueOf:function(){return "[z-z]"; typeof __re.source !== "undefined"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T5.js deleted file mode 100644 index 33136cae21..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T5.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T5; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is new Object("abc{1}") and flags is {toString:function(){return "";}}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T5.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is new Object(\"abc{1}\") and flags is {toString:function(){return \"\";}}", - -test: function testcase() { - __re = new RegExp(new Object("abc{1}"), {toString:function(){return "";}}); - -//CHECK#1 -if (__re.ignoreCase !== false) { - $ERROR('#1: __re = new RegExp(new Object("abc{1}"), {toString:function(){return ""; __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(new Object("abc{1}"), {toString:function(){return ""; __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== false) { - $ERROR('#3: __re = new RegExp(new Object("abc{1}"), {toString:function(){return ""; __re.global === false. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.lastIndex !== 0) { - $ERROR('#4: __re = new RegExp(new Object("abc{1}"), {toString:function(){return ""; __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - -//CHECK#5 -if (typeof __re.source === "undefined") { - $ERROR('#5: __re = new RegExp(new Object("abc{1}"), {toString:function(){return ""; typeof __re.source !== "undefined"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T6.js deleted file mode 100644 index a1fb44408d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T6; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is {toString:function(){throw "intostr";} } and flags is "i"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T6.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is {toString:function(){throw \"intostr\";} } and flags is \"i\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp({toString:function(){throw "intostr";}}, "i") throw "intostr". Actual: ' + (new RegExp({toString:function(){throw "intostr";}}, "i"))); -} catch (e) { - if (e !== "intostr" ) { - $ERROR('#1.2: new RegExp({toString:function(){throw "intostr";}}, "i") throw "intostr". Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T7.js deleted file mode 100644 index aad9a16d14..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T7; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is {toString:void 0, valueOf:function(){throw "invalof";} } and flags is "i"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T7.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is {toString:void 0, valueOf:function(){throw \"invalof\";} } and flags is \"i\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp({toString:void 0, valueOf:function(){throw "invalof";}}) throw "invalof". Actual: ' + (new RegExp({toString:void 0, valueOf:function(){throw "invalof";}}))); -} catch (e) { - if (e !== "invalof" ) { - $ERROR('#1.2: new RegExp({toString:void 0, valueOf:function(){throw "invalof";}}) throw "invalof". Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T8.js deleted file mode 100644 index cd8ccc781d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T8; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is {toString:function(){throw "intostr";} } and flags is "error"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T8.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is {toString:function(){throw \"intostr\";} } and flags is \"error\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp({toString:function(){throw "intostr";}}, "error") throw "intostr". Actual: ' + (new RegExp({toString:function(){throw "intostr";}}, "error"))); -} catch (e) { - if (e !== "intostr" ) { - $ERROR('#1.2: new RegExp({toString:function(){throw "intostr";}}, "error") throw "intostr". Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T9.js deleted file mode 100644 index 9e4e3835d1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T9.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A8_T9; -* @section: 15.10.4.1; -* @assertion: let P be ToString(pattern) and let F be ToString(flags); -* @description: Pattern is 1 and flags is new Object("gi"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A8_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A8_T9.js", - -assertion: "let P be ToString(pattern) and let F be ToString(flags)", - -description: "Pattern is 1 and flags is new Object(\"gi\")", - -test: function testcase() { - __re = new RegExp(1, new Object("gi")); - -//CHECK#1 -if (__re.ignoreCase !== true) { - $ERROR('#1: __re = new RegExp(1, new Object("gi")); __re.ignoreCase === true. Actual: ' + (__re.ignoreCase)); -} - -//CHECK#2 -if (__re.multiline !== false) { - $ERROR('#2: __re = new RegExp(1, new Object("gi")); __re.multiline === false. Actual: ' + (__re.multiline)); -} - -//CHECK#3 -if (__re.global !== true) { - $ERROR('#3: __re = new RegExp(1, new Object("gi")); __re.global === true. Actual: ' + (__re.global)); -} - -//CHECK#4 -if (__re.lastIndex !== 0) { - $ERROR('#4: __re = new RegExp(1, new Object("gi")); __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - -//CHECK#5 -if (typeof __re.source === "undefined") { - $ERROR('#5: __re = new RegExp(1, new Object("gi")); typeof __re.source !== "undefined"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T1.js deleted file mode 100644 index 272d05b910..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A9_T1; -* @section: 15.10.4.1; -* @assertion: If P's characters do not have the form Pattern, then throw a SyntaxError exception; -* @description: Pattern is "??"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A9_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T1.js", - -assertion: "If P\'s characters do not have the form Pattern, then throw a SyntaxError exception", - -description: "Pattern is \"??\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("??") throw SyntaxError. Actual: ' + (new RegExp("??"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("??") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T2.js deleted file mode 100644 index 8ea9cc8cae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A9_T2; -* @section: 15.10.4.1; -* @assertion: If P's characters do not have the form Pattern, then throw a SyntaxError exception; -* @description: Pattern is "[{-z]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A9_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T2.js", - -assertion: "If P\'s characters do not have the form Pattern, then throw a SyntaxError exception", - -description: "Pattern is \"[{-z]\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("[{-z]") throw SyntaxError. Actual: ' + (new RegExp("[{-z]"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("[{-z]") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T3.js deleted file mode 100644 index 2b72b0b000..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.4.1_A9_T3; -* @section: 15.10.4.1; -* @assertion: If P's characters do not have the form Pattern, then throw a SyntaxError exception; -* @description: Pattern is "[a--z]"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.4.1_A9_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A9_T3.js", - -assertion: "If P\'s characters do not have the form Pattern, then throw a SyntaxError exception", - -description: "Pattern is \"[a--z]\"", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new RegExp("[a--z]") throw SyntaxError. Actual: ' + (new RegExp("[a--z]"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("[a--z]") throw SyntaxError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A1.js deleted file mode 100644 index a42beb2564..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.5.1_A1; -* @section: 15.10.5.1; -* @assertion: The RegExp has property prototype; -* @description: Checking RegExp.prototype property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.5.1_A1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A1.js", - -assertion: "The RegExp has property prototype", - -description: "Checking RegExp.prototype property", - -test: function testcase() { - //CHECK#1 -if (RegExp.hasOwnProperty('prototype') !== true) { - $ERROR('#1: RegExp.hasOwnProperty(\'prototype\') === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A2.js deleted file mode 100644 index 16caf2af29..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.5.1_A2; -* @section: 15.10.5.1; -* @assertion: The RegExp.prototype property has the attribute DontEnum; -* @description: Checking if enumerating the RegExp.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.5.1_A2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A2.js", - -assertion: "The RegExp.prototype property has the attribute DontEnum", - -description: "Checking if enumerating the RegExp.prototype property fails", - -test: function testcase() { - //CHECK#0 -if (RegExp.hasOwnProperty('prototype') !== true) { - $ERROR('#0: RegExp.hasOwnProperty(\'prototype\') === true'); -} - - //CHECK#1 -if (RegExp.propertyIsEnumerable('prototype') !== false) { - $ERROR('#1: RegExp.propertyIsEnumerable(\'prototype\') === false'); -} - - //CHECK#2 -count=0; -for (p in RegExp){ - if (p==="prototype") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in RegExp){ if (p==="prototype") count++; } count === 0. Actual: ' + (count)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A3.js deleted file mode 100644 index b97a17935c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.5.1_A3; -* @section: 15.10.5.1; -* @assertion: The RegExp.prototype property has the attribute DontDelete; -* @description: Checking if deleting the RegExp.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.5.1_A3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A3.js", - -assertion: "The RegExp.prototype property has the attribute DontDelete", - -description: "Checking if deleting the RegExp.prototype property fails", - -test: function testcase() { - //CHECK#0 -if (RegExp.hasOwnProperty('prototype') !== true) { - $FAIL('#0: RegExp.hasOwnProperty(\'prototype\') === true'); -} - -//CHECK#1 -if (delete RegExp.prototype !== false) { - $ERROR('#1: delete RegExp.prototype === false'); -} - -//CHECK#2 -if (RegExp.hasOwnProperty('prototype') !== true) { - $ERROR('#2: delete RegExp.prototype; RegExp.hasOwnProperty(\'prototype\') === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A4.js deleted file mode 100644 index 9c3259fc52..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.5.1_A4; -* @section: 15.10.5.1; -* @assertion: The RegExp.prototype property has the attribute ReadOnly; -* @description: Checking if varying the RegExp.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.5.1_A4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5.1_A4.js", - -assertion: "The RegExp.prototype property has the attribute ReadOnly", - -description: "Checking if varying the RegExp.prototype property fails", - -test: function testcase() { - //CHECK#1 -if (RegExp.hasOwnProperty('prototype') !== true) { - $FAIL('#1: RegExp.hasOwnProperty(\'prototype\') === true'); -} - -__obj = RegExp.prototype; - -RegExp.prototype = function(){return "shifted";}; - -//CHECK#2 -if (RegExp.prototype !== __obj) { - $ERROR('#2: __obj = RegExp.prototype; RegExp.prototype = function(){return "shifted";}; RegExp.prototype === __obj. Actual: ' + (RegExp.prototype)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A1.js deleted file mode 100644 index 2c7fa137fe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.5_A1; -* @section: 15.10.5; -* @assertion: RegExp constructor has length property whose value is 2; -* @description: Checking RegExp.length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.5_A1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A1.js", - -assertion: "RegExp constructor has length property whose value is 2", - -description: "Checking RegExp.length property", - -test: function testcase() { - //CHECK#1 -if (RegExp.length !== 2) { - $ERROR('#1: RegExp.length === 2. Actual: ' + (RegExp.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T1.js deleted file mode 100644 index 2c15d341e0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.5_A2_T1; -* @section: 15.10.5; -* @assertion: The value of the internal [[Prototype]] property of the RegExp constructor is the Function prototype object; -* @description: Checking Function.prototype.isPrototypeOf(RegExp); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.5_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T1.js", - -assertion: "The value of the internal [[Prototype]] property of the RegExp constructor is the Function prototype object", - -description: "Checking Function.prototype.isPrototypeOf(RegExp)", - -test: function testcase() { - //CHECK#1 -if (Function.prototype.isPrototypeOf(RegExp) !== true) { - $ERROR('#1: Function.prototype.isPrototypeOf(RegExp) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T2.js deleted file mode 100644 index 20c4930c30..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.5_A2_T2; -* @section: 15.10.5; -* @assertion: The value of the internal [[Prototype]] property of the RegExp constructor is the Function prototype object; -* @description: Add new property to Function.prototype and then check this property of RegExp; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.5_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.5_Properties_of_the_RegExp_Constructor/S15.10.5_A2_T2.js", - -assertion: "The value of the internal [[Prototype]] property of the RegExp constructor is the Function prototype object", - -description: "Add new property to Function.prototype and then check this property of RegExp", - -test: function testcase() { - Function.prototype.indicator = 1; - - //CHECK#1 -if (RegExp.indicator !== 1) { - $ERROR('#1: Function.prototype.indicator = 1; RegExp.indicator === 1. Actual: ' + (RegExp.indicator)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A10.js deleted file mode 100644 index 81eed3e105..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A10; -* @section: 15.10.6.2; -* @assertion: The RegExp.prototype.exec.length property has the attribute ReadOnly; -* @description: Checking if varying the RegExp.prototype.exec.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A10.js", - -assertion: "The RegExp.prototype.exec.length property has the attribute ReadOnly", - -description: "Checking if varying the RegExp.prototype.exec.length property fails", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.exec.hasOwnProperty('length') !== true) { - $FAIL('#1: RegExp.prototype.exec.hasOwnProperty(\'length\') === true'); -} - -__obj = RegExp.prototype.exec.length; - -RegExp.prototype.exec.length = function(){return "shifted";}; - -//CHECK#2 -if (RegExp.prototype.exec.length !== __obj) { - $ERROR('#2: __obj = RegExp.prototype.exec.length; RegExp.prototype.exec.length = function(){return "shifted";}; RegExp.prototype.exec.length === __obj. Actual: ' + (RegExp.prototype.exec.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A11.js deleted file mode 100644 index 80b461ea50..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A11.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A11; -* @section: 15.10.6.2; -* @assertion: The length property of the exec method is 1; -* @description: Checking RegExp.prototype.exec.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A11.js", - -assertion: "The length property of the exec method is 1", - -description: "Checking RegExp.prototype.exec.length", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.exec.hasOwnProperty("length") !== true) { - $FAIL('#1: RegExp.prototype.exec.hasOwnProperty(\'length\') === true'); -} - -//CHECK#2 -if (RegExp.prototype.exec.length !== 1) { - $ERROR('#2: RegExp.prototype.exec.length === 1. Actual: ' + (RegExp.prototype.exec.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A12.js deleted file mode 100644 index 2b048803b9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A12.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A12; -* @section: 15.10.6.2; -* @assertion: regExp exec() acts like regExp.exec('undefined') (step 2); -* @description: Checking RegExp.prototype.exec.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A12.js", - -assertion: "regExp exec() acts like regExp.exec(\'undefined\') (step 2)", - -description: "Checking RegExp.prototype.exec.length", - -test: function testcase() { - (/foo/).test('xfoox'); -var match = new RegExp('(.|\r|\n)*','').exec()[0]; -if (match === 'xfoox') { - $FAIL('#1: regExp.exec() leaks match globally'); -} -if (match !== 'undefined') { - $FAIL('#2: regExp.exec() must coerce absent first arg to "undefined"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T1.js deleted file mode 100644 index 6647f5c59d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T1; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is "123" and RegExp is /1|12/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T1.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is \"123\" and RegExp is /1|12/", - -test: function testcase() { - __executed = /1|12/.exec("123"); - -__expected = ["1"]; -__expected.index=0; -__expected.input="123"; - //CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /1|12/.exec("123"); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /1|12/.exec("123"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /1|12/.exec("123"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /1|12/.exec("123"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /1|12/.exec("123"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T10.js deleted file mode 100644 index 46e362eb52..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T10.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T10; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is 1.01 and RegExp is /1|12/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T10.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is 1.01 and RegExp is /1|12/", - -test: function testcase() { - __executed = /1|12/.exec(1.01); - -__expected = ["1"]; -__expected.index=0; -__expected.input="1.01"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /1|12/.exec(1.01); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /1|12/.exec(1.01); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /1|12/.exec(1.01); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /1|12/.exec(1.01); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /1|12/.exec(1.01); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T11.js deleted file mode 100644 index 55435c8518..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T11.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T11; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is new Number(1.012) and RegExp is /2|12/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T11.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is new Number(1.012) and RegExp is /2|12/", - -test: function testcase() { - __executed = /2|12/.exec(new Number(1.012)); - -__expected = ["12"]; -__expected.index=3; -__expected.input="1.012"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /2|12/.exec(new Number(1.012)); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /2|12/.exec(new Number(1.012)); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /2|12/.exec(new Number(1.012)); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /2|12/.exec(new Number(1.012)); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /2|12/.exec(new Number(1.012)); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T12.js deleted file mode 100644 index f83412c546..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T12.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T12; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is {toString:function(){return Math.PI;}} and RegExp is /\.14/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T12.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is {toString:function(){return Math.PI;}} and RegExp is /\\.14/", - -test: function testcase() { - __executed = /\.14/.exec({toString:function(){return Math.PI}}); - -__expected = [".14"]; -__expected.index=1; -__expected.input=String(Math.PI); - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /\\.14/.exec({toString:function(){return Math.PI}}); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /\\.14/.exec({toString:function(){return Math.PI}}); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /\\.14/.exec({toString:function(){return Math.PI}}); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /\\.14/.exec({toString:function(){return Math.PI}}); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /\\.14/.exec({toString:function(){return Math.PI}}); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T13.js deleted file mode 100644 index 41fe3c7fef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T13.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T13; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is true and RegExp is /t[a-b|q-s]/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T13.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is true and RegExp is /t[a-b|q-s]/", - -test: function testcase() { - __executed = /t[a-b|q-s]/.exec(true); - -__expected = ["tr"]; -__expected.index=0; -__expected.input="true"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /t[a-b|q-s]/.exec(true); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /t[a-b|q-s]/.exec(true); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /t[a-b|q-s]/.exec(true); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /t[a-b|q-s]/.exec(true); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /t[a-b|q-s]/.exec(true); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T14.js deleted file mode 100644 index 0358482b22..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T14.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T14; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is new Boolean and RegExp is /AL|se/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T14.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is new Boolean and RegExp is /AL|se/", - -test: function testcase() { - __executed = /AL|se/.exec(new Boolean); - -__expected = ["se"]; -__expected.index=3; -__expected.input="false"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /AL|se/.exec(new Boolean); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /AL|se/.exec(new Boolean); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /AL|se/.exec(new Boolean); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /AL|se/.exec(new Boolean); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /AL|se/.exec(new Boolean); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T15.js deleted file mode 100644 index 3446d105fc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T15.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T15; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is {toString:function(){return false;}} and RegExp is /LS/i; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T15", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T15.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is {toString:function(){return false;}} and RegExp is /LS/i", - -test: function testcase() { - __executed = /LS/i.exec({toString:function(){return false}}); - -__expected = ["ls"]; -__expected.index=2; -__expected.input="false"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /LS/i.exec({toString:function(){return false}}); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /LS/i.exec({toString:function(){return false}}); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /LS/i.exec({toString:function(){return false}}); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /LS/i.exec({toString:function(){return false}}); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /LS/i.exec({toString:function(){return false}}); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T16.js deleted file mode 100644 index 2d38003c7b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T16.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T16; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: RegExp is /undefined/ and call exec() without arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T16", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T16.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "RegExp is /undefined/ and call exec() without arguments", - -test: function testcase() { - __re = /undefined/.exec()[0]; -if (__re !== "undefined") { - $ERROR('#1: /undefined/.exec()[0] === "undefined". Actual: ' + (__re)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T17.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T17.js deleted file mode 100644 index 0fb277bc58..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T17.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T17; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is null and RegExp is /ll|l/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T17", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T17.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is null and RegExp is /ll|l/", - -test: function testcase() { - __executed = /ll|l/.exec(null); - -__expected = ["ll"]; -__expected.index=2; -__expected.input="null"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /ll|l/.exec(null); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /ll|l/.exec(null); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /ll|l/.exec(null); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /ll|l/.exec(null); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /ll|l/.exec(null); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T18.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T18.js deleted file mode 100644 index 94ce02f11e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T18.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T18; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is undefined and RegExp is /nd|ne/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T18", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T18.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is undefined and RegExp is /nd|ne/", - -test: function testcase() { - __executed = /nd|ne/.exec(undefined); - -__expected = ["nd"]; -__expected.index=1; -__expected.input="undefined"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /nd|ne/.exec(undefined); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /nd|ne/.exec(undefined); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /nd|ne/.exec(undefined); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /nd|ne/.exec(undefined); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /nd|ne/.exec(undefined); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T19.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T19.js deleted file mode 100644 index 99ae9c9318..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T19.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T19; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is void 0 and RegExp is /e{1}/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T19", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T19.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is void 0 and RegExp is /e{1}/", - -test: function testcase() { - __executed = /e{1}/.exec(void 0); - -__expected = ["e"]; -__expected.index=3; -__expected.input="undefined"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /e{1}/.exec(void 0); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /e{1}/.exec(void 0); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /e{1}/.exec(void 0); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /e{1}/.exec(void 0); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /e{1}/.exec(void 0); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T2.js deleted file mode 100644 index 500215d5a2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T2.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T2; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is new String("123") and RegExp is /((1)|(12))((3)|(23))/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T2.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is new String(\"123\") and RegExp is /((1)|(12))((3)|(23))/", - -test: function testcase() { - with(/((1)|(12))((3)|(23))/){ - __executed = exec(new String("123")); -} - -__expected = ["123", "1", "1", undefined, "23", undefined, "23"]; -__expected.index=0; -__expected.input="123"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T20.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T20.js deleted file mode 100644 index e5ef66d0c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T20.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T20; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is x and RegExp is /[a-f]d/, where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T20", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T20.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is x and RegExp is /[a-f]d/, where x is undefined variable", - -test: function testcase() { - __executed = /[a-f]d/.exec(x); - -__expected = ["ed"]; -__expected.index=7; -__expected.input="undefined"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /[a-f]d/.exec(x); var x; (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[a-f]d/.exec(x); var x; __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[a-f]d/.exec(x); var x; __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[a-f]d/.exec(x); var x; __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[a-f]d/.exec(x); var x; __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T21.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T21.js deleted file mode 100644 index dd066dea29..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T21.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T21; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is function(){}() and RegExp is /[a-z]n/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T21", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T21.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is function(){}() and RegExp is /[a-z]n/", - -test: function testcase() { - __executed = /[a-z]n/.exec(function(){}()); - -__expected = ["un"]; -__expected.index=0; -__expected.input="undefined"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /[a-z]n/.exec(function(){}()); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /[a-z]n/.exec(function(){}()); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /[a-z]n/.exec(function(){}()); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /[a-z]n/.exec(function(){}()); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /[a-z]n/.exec(function(){}()); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T3.js deleted file mode 100644 index 5953095aa8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T3.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T3; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is new Object("abcdefghi") and RegExp is /a[a-z]{2,4}/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T3.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is new Object(\"abcdefghi\") and RegExp is /a[a-z]{2,4}/", - -test: function testcase() { - __executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi")); - -__expected = ["abcde"]; -__expected.index=0; -__expected.input="abcdefghi"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi")); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi")); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi")); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi")); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi")); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T4.js deleted file mode 100644 index 3f30e96de3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T4.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T4; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is {toString:function(){return "abcdefghi";}} and RegExp is /a[a-z]{2,4}?/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T4.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is {toString:function(){return \"abcdefghi\";}} and RegExp is /a[a-z]{2,4}?/", - -test: function testcase() { - __executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}}); - -__expected = ["abc"]; -__expected.index=0; -__expected.input="abcdefghi"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}}); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}}); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}}); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}}); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}}); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T5.js deleted file mode 100644 index 1446a7ac1b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T5.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T5; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is {toString:function(){return {};}, valueOf:function(){return "aabaac";}} and RegExp is /(aa|aabaac|ba|b|c)* /; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T5.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is {toString:function(){return {};}, valueOf:function(){return \"aabaac\";}} and RegExp is /(aa|aabaac|ba|b|c)* /", - -test: function testcase() { - __executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}}); - -__expected = ["aaba", "ba"]; -__expected.index=0; -__expected.input="aabaac"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}}); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}}); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}}); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}}); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}}); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T6.js deleted file mode 100644 index eede3f16ab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T6.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T6; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is (function(){return "zaacbbbcac"})() and RegExp is /(z)((a+)?(b+)?(c))* /; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T6.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is (function(){return \"zaacbbbcac\"})() and RegExp is /(z)((a+)?(b+)?(c))* /", - -test: function testcase() { - __executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})()); - -__expected = ["zaacbbbcac", "z", "ac", "a", undefined, "c"]; -__expected.index=0; -__expected.input="zaacbbbcac"; - -//CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})()); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})()); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})()); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})()); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})()); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T7.js deleted file mode 100644 index dabf6b0558..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T7.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T7; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is {toString:function(){throw "intostr";}} and RegExp is /[a-z]/; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T7.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is {toString:function(){throw \"intostr\";}} and RegExp is /[a-z]/", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[a-z]/.exec({toString:function(){throw "intostr"}}) throw "intostr". Actual: ' + (/[a-z]/.exec({toString:function(){throw "intostr"}}))); -} catch (e) { - if (e !== "intostr") { - $ERROR('#1.2: /[a-z]/.exec({toString:function(){throw "intostr"}}) throw "intostr". Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js deleted file mode 100644 index 3d235e51d9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T8; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is {toString:void 0, valueOf:function(){throw "invalof";}} and RegExp is /[a-z]/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is {toString:void 0, valueOf:function(){throw \"invalof\";}} and RegExp is /[a-z]/", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[a-z]/.exec({toString:void 0, valueOf:function(){throw "invalof"}}) throw "invalof". Actual: ' + (/[a-z]/.exec({toString:void 0, valueOf:function(){throw "invalof"}}))); -} catch (e) { - if (e !== "invalof") { - $ERROR('#1.2: /[a-z]/.exec({toString:void 0, valueOf:function(){throw "invalof"}}) throw "invalof". Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T9.js deleted file mode 100644 index 382baf6e43..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T9.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T9; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is undefined variable and RegExp is /1|12/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A1_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T9.js", - -assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and", - -description: "String is undefined variable and RegExp is /1|12/", - -test: function testcase() { - var __string; - -//CHECK#1 -__re = /1|12/; -if (__re.exec(__string) !== null) { - $ERROR('#1: var __string; /1|12/.exec(__string) === null; function __string(){}. Actual: ' + (__re)); -} - -function __string(){}; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T1.js deleted file mode 100644 index ee97271bda..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T1; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The internal [[Class]] property is "Object"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T1.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The internal [[Class]] property is \"Object\"", - -test: function testcase() { - __instance = new Object; - -__instance.exec = RegExp.prototype.exec; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = new Object; __instance.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (__instance.exec("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = new Object; __instance.exec = RegExp.prototype.exec. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T10.js deleted file mode 100644 index b740581c58..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T10.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T10; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T10.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is undefined", - -test: function testcase() { - exec = RegExp.prototype.exec; - -//CHECK#1 -try { - $ERROR('#1.1: exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (exec("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T2.js deleted file mode 100644 index 7d9817fcd1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T2; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is Math; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T2.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is Math", - -test: function testcase() { - __instance = Math; - -__instance.exec = RegExp.prototype.exec; - -//CHECK#1 -try { - with(__instance) exec("message to investigate"); - $ERROR('#1.1: __instance = Math; __instance.exec = RegExp.prototype.exec; with(__instance) exec("message to investigate")'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = Math; __instance.exec = RegExp.prototype.exec; with(__instance) exec("message to investigate"). Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T3.js deleted file mode 100644 index ee1c433541..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T3.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T3; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T3.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is function object", - -test: function testcase() { - __instance.exec = RegExp.prototype.exec; - -//CHECK#1 -try { - with(__instance) exec("message to investigate"); - $ERROR('#1.1: __instance.exec = RegExp.prototype.exec; with(__instance) exec("message to investigate"); function __instance(){}'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance.exec = RegExp.prototype.exec; with(__instance) exec("message to investigate"); function __instance(){}. Actual: ' + (e)); - } -} - -function __instance(){}; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T4.js deleted file mode 100644 index 5435a59cb6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T4; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is new String("[a-b]"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T4.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is new String(\"[a-b]\")", - -test: function testcase() { - __instance = new String("[a-b]"); - -__instance.exec = RegExp.prototype.exec; - -//CHECK#1 -with(__instance){ - try { - $ERROR('#1.1: __instance = new String("[a-b]"); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (exec("message to investigate"))); - } catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = new String("[a-b]"); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (e)); - } - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T5.js deleted file mode 100644 index a93c506cdf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T5.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T5; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is new Boolean(false); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T5.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is new Boolean(false)", - -test: function testcase() { - __instance = new Boolean(false); - -__instance.exec = RegExp.prototype.exec; - -//CHECK#1 -with(__instance) { - try { - $ERROR('#1.1: __instance = new Boolean(false); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (exec("message to investigate"))); - } catch (e) { - if ((e instanceof TypeError !== true)) { - $ERROR('#1.2: __instance = new Boolean(false); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (e)); - } - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T6.js deleted file mode 100644 index 5115a18b85..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T6.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T6; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is new Number(1.0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T6.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is new Number(1.0)", - -test: function testcase() { - __instance = new Number(1.0); - -__instance.exec = RegExp.prototype.exec; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = new Number(1.0); __instance.exec = RegExp.prototype.exec; __instance["exec"]("message to investigate"). Actual: ' + (__instance["exec"]("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = new Number(1.0); __instance.exec = RegExp.prototype.exec; __instance["exec"]("message to investigate"). Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T7.js deleted file mode 100644 index 595ac68f30..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T7.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T7; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is false; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T7.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is false", - -test: function testcase() { - __instance = false; - -Object.prototype.exec = RegExp.prototype.exec; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = false; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (__instance.exec("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = false; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T8.js deleted file mode 100644 index 909f7819c3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T8.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T8; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is "."; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T8.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is \".\"", - -test: function testcase() { - __instance = "."; - -Object.prototype.exec = RegExp.prototype.exec; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = "."; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (__instance.exec("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = "."; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T9.js deleted file mode 100644 index c8ad444887..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A2_T9; -* @section: 15.10.6.2; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is 1.0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A2_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A2_T9.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is 1.0", - -test: function testcase() { - __instance = 1.0; - -Object.prototype.exec = RegExp.prototype.exec; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = 1.0; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (__instance.exec("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = 1.0; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T1.js deleted file mode 100644 index a878dcb536..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A3_T1; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true and lastIndex not changed manually, -* next exec calling start to match from position where current match finished; -* @description: RegExp is /(?:ab|cd)\d?/g and tested string is "ab cd2 ab34 cd"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T1.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "RegExp is /(?:ab|cd)\\d?/g and tested string is \"ab cd2 ab34 cd\"", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__matched = []; - -__expected = ["ab", "cd2", "ab3", "cd"]; - -do{ - __executed = __re.exec("ab cd2 ab34 cd"); - if (__executed !== null) { - __matched.push(__executed[0]); - } else { - break; - } -}while(true); - -//CHECK#1 -if (__expected.length !== __matched.length) { - $ERROR('#1: __executed = /(?:ab|cd)\\d?/g.exec("ab cd2 ab34 cd"); __matched.length === ' + (__expected.length) + '.Actual: ' + (__matched.length)); -} - -//CHECK#2 -for(var index=0; index<__expected.length; index++) { - if (__expected[index] !== __matched[index]) { - $ERROR('#2: __executed = /(?:ab|cd)\\d?/g.exec("ab cd2 ab34 cd"); __matched[' + index + '] === ' + __expected[index] + '. Actual: ' + __matched[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T2.js deleted file mode 100644 index 0729160946..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T2.js +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A3_T2; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true and lastIndex not changed manually, -* next exec calling start to match from position where current match finished; -* @description: RegExp is /[Nn]evermore/g and tested string is very long string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A3_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T2.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "RegExp is /[Nn]evermore/g and tested string is very long string", - -test: function testcase() { - __the__raven = " Once upon a midnight dreary, while I pondered weak and weary," + - "Over many a quaint and curious volume of forgotten lore," + - "While I nodded, nearly napping, suddenly there came a tapping," + - "As of some one gently rapping, rapping at my chamber door." + - "`'Tis some visitor,' I muttered, `tapping at my chamber door -" + - "Only this, and nothing more.'" + - "Ah, distinctly I remember it was in the bleak December," + - "And each separate dying ember wrought its ghost upon the floor." + - "Eagerly I wished the morrow; - vainly I had sought to borrow" + - "From my books surcease of sorrow - sorrow for the lost Lenore -" + - "For the rare and radiant maiden whom the angels named Lenore -" + - "Nameless here for evermore." + - "\n" + - "And the silken sad uncertain rustling of each purple curtain" + - "Thrilled me - filled me with fantastic terrors never felt before;" + - "So that now, to still the beating of my heart, I stood repeating" + - "`'Tis some visitor entreating entrance at my chamber door -" + - "Some late visitor entreating entrance at my chamber door; -" + - "This it is, and nothing more,'" + - "Presently my soul grew stronger; hesitating then no longer," + - "`Sir,' said I, `or Madam, truly your forgiveness I implore;" + - "But the fact is I was napping, and so gently you came rapping," + - "And so faintly you came tapping, tapping at my chamber door," + - "That I scarce was sure I heard you' - here I opened wide the door; -" + - "Darkness there, and nothing more." + - "\n" + - "Deep into that darkness peering, long I stood there wondering, fearing," + - "Doubting, dreaming dreams no mortal ever dared to dream before" + - "But the silence was unbroken, and the darkness gave no token," + - "And the only word there spoken was the whispered word, `Lenore!'" + - "This I whispered, and an echo murmured back the word, `Lenore!'" + - "Merely this and nothing more." + - "\n" + - "Back into the chamber turning, all my soul within me burning," + - "Soon again I heard a tapping somewhat louder than before." + - "`Surely,' said I, `surely that is something at my window lattice;" + - "Let me see then, what thereat is, and this mystery explore -" + - "Let my heart be still a moment and this mystery explore; -" + - "'Tis the wind and nothing more!'" + - "\n" + - "Open here I flung the shutter, when, with many a flirt and flutter," + - "In there stepped a stately raven of the saintly days of yore." + - "Not the least obeisance made he; not a minute stopped or stayed he;" + - "But, with mien of lord or lady, perched above my chamber door -" + - "Perched upon a bust of Pallas just above my chamber door -" + - "Perched, and sat, and nothing more." + - "\n" + - "Then this ebony bird beguiling my sad fancy into smiling," + - "By the grave and stern decorum of the countenance it wore," + - "`Though thy crest be shorn and shaven, thou,' I said, `art sure no craven." + - "Ghastly grim and ancient raven wandering from the nightly shore -" + - "Tell me what thy lordly name is on the Night's Plutonian shore!'" + - "Quoth the raven, `Nevermore.'" + - "-n" + - "Much I marvelled this ungainly fowl to hear discourse so plainly," + - "Though its answer little meaning - little relevancy bore;" + - "For we cannot help agreeing that no living human being" + - "Ever yet was blessed with seeing bird above his chamber door -" + - "Bird or beast above the sculptured bust above his chamber door," + - "With such name as `Nevermore.'" + - "\n" + - "But the raven, sitting lonely on the placid bust, spoke only," + - "That one word, as if his soul in that one word he did outpour." + - "Nothing further then he uttered - not a feather then he fluttered -" + - "Till I scarcely more than muttered `Other friends have flown before -" + - "On the morrow he will leave me, as my hopes have flown before.'" + - "Then the bird said, `Nevermore.'" + - "\n" + - "Startled at the stillness broken by reply so aptly spoken," + - "`Doubtless,' said I, `what it utters is its only stock and store," + - "Caught from some unhappy master whom unmerciful disaster" + - "Followed fast and followed faster till his songs one burden bore -" + - "Till the dirges of his hope that melancholy burden bore" + - "Of \"Never-nevermore.\"'" + - "\n" + - "But the raven still beguiling all my sad soul into smiling," + - "Straight I wheeled a cushioned seat in front of bird and bust and door;" + - "Then, upon the velvet sinking, I betook myself to linking" + - "Fancy unto fancy, thinking what this ominous bird of yore -" + - "What this grim, ungainly, ghastly, gaunt, and ominous bird of yore" + - "Meant in croaking `Nevermore.'" + - "\n" + - "This I sat engaged in guessing, but no syllable expressing" + - "To the fowl whose fiery eyes now burned into my bosom's core;" + - "This and more I sat divining, with my head at ease reclining" + - "On the cushion's velvet lining that the lamp-light gloated o'er," + - "But whose velvet violet lining with the lamp-light gloating o'er," + - "She shall press, ah, nevermore!" + - "\n" + - "Then, methought, the air grew denser, perfumed from an unseen censer" + - "Swung by Seraphim whose foot-falls tinkled on the tufted floor." + - "`Wretch,' I cried, `thy God hath lent thee - by these angels he has sent thee" + - "Respite - respite and nepenthe from thy memories of Lenore!" + - "Quaff, oh quaff this kind nepenthe, and forget this lost Lenore!'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "`Prophet!' said I, `thing of evil! - prophet still, if bird or devil! -" + - "Whether tempter sent, or whether tempest tossed thee here ashore," + - "Desolate yet all undaunted, on this desert land enchanted -" + - "On this home by horror haunted - tell me truly, I implore -" + - "Is there - is there balm in Gilead? - tell me - tell me, I implore!'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "`Prophet!' said I, `thing of evil! - prophet still, if bird or devil!" + - "By that Heaven that bends above us - by that God we both adore -" + - "Tell this soul with sorrow laden if, within the distant Aidenn," + - "It shall clasp a sainted maiden whom the angels named Lenore -" + - "Clasp a rare and radiant maiden, whom the angels named Lenore?'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "`Be that word our sign of parting, bird or fiend!' I shrieked upstarting -" + - "`Get thee back into the tempest and the Night's Plutonian shore!" + - "Leave no black plume as a token of that lie thy soul hath spoken!" + - "Leave my loneliness unbroken! - quit the bust above my door!" + - "Take thy beak from out my heart, and take thy form from off my door!'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "And the raven, never flitting, still is sitting, still is sitting" + - "On the pallid bust of Pallas just above my chamber door;" + - "And his eyes have all the seeming of a demon's that is dreaming," + - "And the lamp-light o'er him streaming throws his shadow on the floor;" + - "And my soul from out that shadow that lies floating on the floor" + - "Shall be lifted - nevermore!" - -NEVERMORE=11; - -__re = /[Nn]evermore/g; -__matched=0; - -do{ - __executed = __re.exec(__the__raven); - if (__executed !== null) { - __matched++; - } else { - break; - } -}while(1); - -//CHECK#1 -if (__matched !== NEVERMORE) { - $ERROR('#1: __re = /[Nn]evermore/g; __executed = __re.exec(__the__raven)'+__matched); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T3.js deleted file mode 100644 index e9f3f3ff18..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T3.js +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A3_T3; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true and lastIndex not changed manually, -* next exec calling start to match from position where current match finished; -* @description: RegExp is /[Nn]?evermore/g and tested string is very long string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A3_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T3.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "RegExp is /[Nn]?evermore/g and tested string is very long string", - -test: function testcase() { - __the__raven = " Once upon a midnight dreary, while I pondered weak and weary," + - "Over many a quaint and curious volume of forgotten lore," + - "While I nodded, nearly napping, suddenly there came a tapping," + - "As of some one gently rapping, rapping at my chamber door." + - "`'Tis some visitor,' I muttered, `tapping at my chamber door -" + - "Only this, and nothing more.'" + - "Ah, distinctly I remember it was in the bleak December," + - "And each separate dying ember wrought its ghost upon the floor." + - "Eagerly I wished the morrow; - vainly I had sought to borrow" + - "From my books surcease of sorrow - sorrow for the lost Lenore -" + - "For the rare and radiant maiden whom the angels named Lenore -" + - "Nameless here for evermore." + - "\n" + - "And the silken sad uncertain rustling of each purple curtain" + - "Thrilled me - filled me with fantastic terrors never felt before;" + - "So that now, to still the beating of my heart, I stood repeating" + - "`'Tis some visitor entreating entrance at my chamber door -" + - "Some late visitor entreating entrance at my chamber door; -" + - "This it is, and nothing more,'" + - "Presently my soul grew stronger; hesitating then no longer," + - "`Sir,' said I, `or Madam, truly your forgiveness I implore;" + - "But the fact is I was napping, and so gently you came rapping," + - "And so faintly you came tapping, tapping at my chamber door," + - "That I scarce was sure I heard you' - here I opened wide the door; -" + - "Darkness there, and nothing more." + - "\n" + - "Deep into that darkness peering, long I stood there wondering, fearing," + - "Doubting, dreaming dreams no mortal ever dared to dream before" + - "But the silence was unbroken, and the darkness gave no token," + - "And the only word there spoken was the whispered word, `Lenore!'" + - "This I whispered, and an echo murmured back the word, `Lenore!'" + - "Merely this and nothing more." + - "\n" + - "Back into the chamber turning, all my soul within me burning," + - "Soon again I heard a tapping somewhat louder than before." + - "`Surely,' said I, `surely that is something at my window lattice;" + - "Let me see then, what thereat is, and this mystery explore -" + - "Let my heart be still a moment and this mystery explore; -" + - "'Tis the wind and nothing more!'" + - "\n" + - "Open here I flung the shutter, when, with many a flirt and flutter," + - "In there stepped a stately raven of the saintly days of yore." + - "Not the least obeisance made he; not a minute stopped or stayed he;" + - "But, with mien of lord or lady, perched above my chamber door -" + - "Perched upon a bust of Pallas just above my chamber door -" + - "Perched, and sat, and nothing more." + - "\n" + - "Then this ebony bird beguiling my sad fancy into smiling," + - "By the grave and stern decorum of the countenance it wore," + - "`Though thy crest be shorn and shaven, thou,' I said, `art sure no craven." + - "Ghastly grim and ancient raven wandering from the nightly shore -" + - "Tell me what thy lordly name is on the Night's Plutonian shore!'" + - "Quoth the raven, `Nevermore.'" + - "-n" + - "Much I marvelled this ungainly fowl to hear discourse so plainly," + - "Though its answer little meaning - little relevancy bore;" + - "For we cannot help agreeing that no living human being" + - "Ever yet was blessed with seeing bird above his chamber door -" + - "Bird or beast above the sculptured bust above his chamber door," + - "With such name as `Nevermore.'" + - "\n" + - "But the raven, sitting lonely on the placid bust, spoke only," + - "That one word, as if his soul in that one word he did outpour." + - "Nothing further then he uttered - not a feather then he fluttered -" + - "Till I scarcely more than muttered `Other friends have flown before -" + - "On the morrow he will leave me, as my hopes have flown before.'" + - "Then the bird said, `Nevermore.'" + - "\n" + - "Startled at the stillness broken by reply so aptly spoken," + - "`Doubtless,' said I, `what it utters is its only stock and store," + - "Caught from some unhappy master whom unmerciful disaster" + - "Followed fast and followed faster till his songs one burden bore -" + - "Till the dirges of his hope that melancholy burden bore" + - "Of \"Never-nevermore.\"'" + - "\n" + - "But the raven still beguiling all my sad soul into smiling," + - "Straight I wheeled a cushioned seat in front of bird and bust and door;" + - "Then, upon the velvet sinking, I betook myself to linking" + - "Fancy unto fancy, thinking what this ominous bird of yore -" + - "What this grim, ungainly, ghastly, gaunt, and ominous bird of yore" + - "Meant in croaking `Nevermore.'" + - "\n" + - "This I sat engaged in guessing, but no syllable expressing" + - "To the fowl whose fiery eyes now burned into my bosom's core;" + - "This and more I sat divining, with my head at ease reclining" + - "On the cushion's velvet lining that the lamp-light gloated o'er," + - "But whose velvet violet lining with the lamp-light gloating o'er," + - "She shall press, ah, nevermore!" + - "\n" + - "Then, methought, the air grew denser, perfumed from an unseen censer" + - "Swung by Seraphim whose foot-falls tinkled on the tufted floor." + - "`Wretch,' I cried, `thy God hath lent thee - by these angels he has sent thee" + - "Respite - respite and nepenthe from thy memories of Lenore!" + - "Quaff, oh quaff this kind nepenthe, and forget this lost Lenore!'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "`Prophet!' said I, `thing of evil! - prophet still, if bird or devil! -" + - "Whether tempter sent, or whether tempest tossed thee here ashore," + - "Desolate yet all undaunted, on this desert land enchanted -" + - "On this home by horror haunted - tell me truly, I implore -" + - "Is there - is there balm in Gilead? - tell me - tell me, I implore!'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "`Prophet!' said I, `thing of evil! - prophet still, if bird or devil!" + - "By that Heaven that bends above us - by that God we both adore -" + - "Tell this soul with sorrow laden if, within the distant Aidenn," + - "It shall clasp a sainted maiden whom the angels named Lenore -" + - "Clasp a rare and radiant maiden, whom the angels named Lenore?'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "`Be that word our sign of parting, bird or fiend!' I shrieked upstarting -" + - "`Get thee back into the tempest and the Night's Plutonian shore!" + - "Leave no black plume as a token of that lie thy soul hath spoken!" + - "Leave my loneliness unbroken! - quit the bust above my door!" + - "Take thy beak from out my heart, and take thy form from off my door!'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "And the raven, never flitting, still is sitting, still is sitting" + - "On the pallid bust of Pallas just above my chamber door;" + - "And his eyes have all the seeming of a demon's that is dreaming," + - "And the lamp-light o'er him streaming throws his shadow on the floor;" + - "And my soul from out that shadow that lies floating on the floor" + - "Shall be lifted - nevermore!" - -NEVERMORE_AND_EVERMORE=12; - -__re = /[Nn]?evermore/g; -__matched=0; - -do{ - __executed = __re.exec(__the__raven); - if (__executed !== null) { - __matched++; - } else { - break; - } -}while(1); - -//CHECK#1 -if (__matched !== NEVERMORE_AND_EVERMORE) { - $ERROR('#1: __re = /[Nn]?evermore/g; __executed = __re.exec(__the__raven)'+__matched); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T4.js deleted file mode 100644 index 76e98aab2a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T4.js +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A3_T4; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true and lastIndex not changed manually, -* next exec calling start to match from position where current match finished; -* @description: RegExp is /([Nn]?ever|([Nn]othing\s{1,}))more/g and tested string is very long string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A3_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T4.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "RegExp is /([Nn]?ever|([Nn]othing\\s{1,}))more/g and tested string is very long string", - -test: function testcase() { - __the__raven = " Once upon a midnight dreary, while I pondered weak and weary," + - "Over many a quaint and curious volume of forgotten lore," + - "While I nodded, nearly napping, suddenly there came a tapping," + - "As of some one gently rapping, rapping at my chamber door." + - "`'Tis some visitor,' I muttered, `tapping at my chamber door -" + - "Only this, and nothing more.'" + - "Ah, distinctly I remember it was in the bleak December," + - "And each separate dying ember wrought its ghost upon the floor." + - "Eagerly I wished the morrow; - vainly I had sought to borrow" + - "From my books surcease of sorrow - sorrow for the lost Lenore -" + - "For the rare and radiant maiden whom the angels named Lenore -" + - "Nameless here for evermore." + - "\n" + - "And the silken sad uncertain rustling of each purple curtain" + - "Thrilled me - filled me with fantastic terrors never felt before;" + - "So that now, to still the beating of my heart, I stood repeating" + - "`'Tis some visitor entreating entrance at my chamber door -" + - "Some late visitor entreating entrance at my chamber door; -" + - "This it is, and nothing more,'" + - "Presently my soul grew stronger; hesitating then no longer," + - "`Sir,' said I, `or Madam, truly your forgiveness I implore;" + - "But the fact is I was napping, and so gently you came rapping," + - "And so faintly you came tapping, tapping at my chamber door," + - "That I scarce was sure I heard you' - here I opened wide the door; -" + - "Darkness there, and nothing more." + - "\n" + - "Deep into that darkness peering, long I stood there wondering, fearing," + - "Doubting, dreaming dreams no mortal ever dared to dream before" + - "But the silence was unbroken, and the darkness gave no token," + - "And the only word there spoken was the whispered word, `Lenore!'" + - "This I whispered, and an echo murmured back the word, `Lenore!'" + - "Merely this and nothing more." + - "\n" + - "Back into the chamber turning, all my soul within me burning," + - "Soon again I heard a tapping somewhat louder than before." + - "`Surely,' said I, `surely that is something at my window lattice;" + - "Let me see then, what thereat is, and this mystery explore -" + - "Let my heart be still a moment and this mystery explore; -" + - "'Tis the wind and nothing more!'" + - "\n" + - "Open here I flung the shutter, when, with many a flirt and flutter," + - "In there stepped a stately raven of the saintly days of yore." + - "Not the least obeisance made he; not a minute stopped or stayed he;" + - "But, with mien of lord or lady, perched above my chamber door -" + - "Perched upon a bust of Pallas just above my chamber door -" + - "Perched, and sat, and nothing more." + - "\n" + - "Then this ebony bird beguiling my sad fancy into smiling," + - "By the grave and stern decorum of the countenance it wore," + - "`Though thy crest be shorn and shaven, thou,' I said, `art sure no craven." + - "Ghastly grim and ancient raven wandering from the nightly shore -" + - "Tell me what thy lordly name is on the Night's Plutonian shore!'" + - "Quoth the raven, `Nevermore.'" + - "-n" + - "Much I marvelled this ungainly fowl to hear discourse so plainly," + - "Though its answer little meaning - little relevancy bore;" + - "For we cannot help agreeing that no living human being" + - "Ever yet was blessed with seeing bird above his chamber door -" + - "Bird or beast above the sculptured bust above his chamber door," + - "With such name as `Nevermore.'" + - "\n" + - "But the raven, sitting lonely on the placid bust, spoke only," + - "That one word, as if his soul in that one word he did outpour." + - "Nothing further then he uttered - not a feather then he fluttered -" + - "Till I scarcely more than muttered `Other friends have flown before -" + - "On the morrow he will leave me, as my hopes have flown before.'" + - "Then the bird said, `Nevermore.'" + - "\n" + - "Startled at the stillness broken by reply so aptly spoken," + - "`Doubtless,' said I, `what it utters is its only stock and store," + - "Caught from some unhappy master whom unmerciful disaster" + - "Followed fast and followed faster till his songs one burden bore -" + - "Till the dirges of his hope that melancholy burden bore" + - "Of \"Never-nevermore.\"'" + - "\n" + - "But the raven still beguiling all my sad soul into smiling," + - "Straight I wheeled a cushioned seat in front of bird and bust and door;" + - "Then, upon the velvet sinking, I betook myself to linking" + - "Fancy unto fancy, thinking what this ominous bird of yore -" + - "What this grim, ungainly, ghastly, gaunt, and ominous bird of yore" + - "Meant in croaking `Nevermore.'" + - "\n" + - "This I sat engaged in guessing, but no syllable expressing" + - "To the fowl whose fiery eyes now burned into my bosom's core;" + - "This and more I sat divining, with my head at ease reclining" + - "On the cushion's velvet lining that the lamp-light gloated o'er," + - "But whose velvet violet lining with the lamp-light gloating o'er," + - "She shall press, ah, nevermore!" + - "\n" + - "Then, methought, the air grew denser, perfumed from an unseen censer" + - "Swung by Seraphim whose foot-falls tinkled on the tufted floor." + - "`Wretch,' I cried, `thy God hath lent thee - by these angels he has sent thee" + - "Respite - respite and nepenthe from thy memories of Lenore!" + - "Quaff, oh quaff this kind nepenthe, and forget this lost Lenore!'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "`Prophet!' said I, `thing of evil! - prophet still, if bird or devil! -" + - "Whether tempter sent, or whether tempest tossed thee here ashore," + - "Desolate yet all undaunted, on this desert land enchanted -" + - "On this home by horror haunted - tell me truly, I implore -" + - "Is there - is there balm in Gilead? - tell me - tell me, I implore!'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "`Prophet!' said I, `thing of evil! - prophet still, if bird or devil!" + - "By that Heaven that bends above us - by that God we both adore -" + - "Tell this soul with sorrow laden if, within the distant Aidenn," + - "It shall clasp a sainted maiden whom the angels named Lenore -" + - "Clasp a rare and radiant maiden, whom the angels named Lenore?'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "`Be that word our sign of parting, bird or fiend!' I shrieked upstarting -" + - "`Get thee back into the tempest and the Night's Plutonian shore!" + - "Leave no black plume as a token of that lie thy soul hath spoken!" + - "Leave my loneliness unbroken! - quit the bust above my door!" + - "Take thy beak from out my heart, and take thy form from off my door!'" + - "Quoth the raven, `Nevermore.'" + - "\n" + - "And the raven, never flitting, still is sitting, still is sitting" + - "On the pallid bust of Pallas just above my chamber door;" + - "And his eyes have all the seeming of a demon's that is dreaming," + - "And the lamp-light o'er him streaming throws his shadow on the floor;" + - "And my soul from out that shadow that lies floating on the floor" + - "Shall be lifted - nevermore!" - -ALL_THE_HOPELESS_MORE=18; - -__re = /([Nn]?ever|([Nn]othing\s{1,}))more/g; -__matched=0; - -do{ - __executed = __re.exec(__the__raven); - if (__executed !== null) { - __matched++; - } else { - break; - } -}while(1); - -//CHECK#1 -if (__matched !== ALL_THE_HOPELESS_MORE) { - $ERROR('#1: __re = /([Nn]?ever|([Nn]othing\\s{1,}))more/g; __executed = __re.exec(__the__raven)'+__matched); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T5.js deleted file mode 100644 index 46c6da136b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T5.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A3_T5; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true and lastIndex not changed manually, -* next exec calling start to match from position where current match finished; -* @description: RegExp is /\d+/g and tested string is "123 456 789"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A3_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T5.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "RegExp is /\\d+/g and tested string is \"123 456 789\"", - -test: function testcase() { - __re = /\d+/g; - -__matched = []; - -__expected = ["123","456","789"]; - -do{ - __executed = __re.exec("123 456 789"); - if (__executed !== null) { - __matched.push(__executed[0]); - } else { - break; - } -}while(true); - -//CHECK#1 -if (__expected.length !== __matched.length) { - $ERROR('#1: __executed = /\\d+/g.exec("123 456 789"); __matched.length === ' + (__expected.length) + '.Actual: ' + (__matched.length)); -} - -//CHECK#2 -for(var index=0; index<__expected.length; index++) { - if (__expected[index] !== __matched[index]) { - $ERROR('#2: __executed = /\\d+/g.exec("123 456 789"); __matched[' + index + '] === ' + __expected[index] + '. Actual: ' + __matched[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T6.js deleted file mode 100644 index 5f9cb3f33c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T6.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A3_T6; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true and lastIndex not changed manually, -* next exec calling start to match from position where current match finished; -* @description: RegExp is /(\d+)/g and tested string is "123 456 789"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A3_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T6.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "RegExp is /(\\d+)/g and tested string is \"123 456 789\"", - -test: function testcase() { - __re = /(\d+)/g; - -__matched = []; - -__expected = ["123","456","789"]; - -do{ - __executed = __re.exec("123 456 789"); - if (__executed !== null) { - __matched.push(__executed[0]); - } else { - break; - } -}while(true); - -//CHECK#1 -if (__expected.length !== __matched.length) { - $ERROR('#1: __executed = /(\\d+)/g.exec("123 456 789"); __matched.length === ' + (__expected.length) + '.Actual: ' + (__matched.length)); -} - -//CHECK#2 -for(var index=0; index<__expected.length; index++) { - if (__expected[index] !== __matched[index]) { - $ERROR('#2: __executed = /(\\d+)/g.exec("123 456 789"); __matched[' + index + '] === ' + __expected[index] + '. Actual: ' + __matched[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T7.js deleted file mode 100644 index bafa00ac2b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T7.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A3_T7; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true and lastIndex not changed manually, -* next exec calling start to match from position where current match finished; -* @description: RegExp is /\d+/ and tested string is "123 456 789"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A3_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A3_T7.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "RegExp is /\\d+/ and tested string is \"123 456 789\"", - -test: function testcase() { - __re = /\d+/; - -__matched = []; - -__expected = ["123","123","123","123","123","123","123","123","123","123"]; - -do{ - __executed = __re.exec("123 456 789"); - if (__executed !== null) { - __matched.push(__executed[0]); - } else { - break; - } -}while(__matched.length<10); - -//CHECK#1 -if (__expected.length !== __matched.length) { - $ERROR('#1: __executed = /\\d+/.exec("123 456 789"); __matched.length === ' + (__expected.length) + '.Actual: ' + (__matched.length)); -} - -//CHECK#2 -for(var index=0; index<__expected.length; index++) { - if (__expected[index] !== __matched[index]) { - $ERROR('#2: __executed = /\\d+/.exec("123 456 789"); __matched[' + index + '] === ' + __expected[index] + '. Actual: ' + __matched[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T1.js deleted file mode 100644 index f88d0cf657..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T1.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T1; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = 12 and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T1.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = 12 and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__re.lastIndex = 12; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["ab4"]; -__expected.index = 17; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = 12; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = 12; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = 12; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = 12; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T10.js deleted file mode 100644 index 8d92dd27dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T10.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T10; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = {valueOf:function(){return 12;}} and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T10.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = {valueOf:function(){return 12;}} and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__obj = {valueOf:function(){return 12;}}; - -__re.lastIndex = __obj; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["ab4"]; -__expected.index = 17; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __obj = {valueOf:function(){return 12;}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __obj = {valueOf:function(){return 12;}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __obj = {valueOf:function(){return 12;}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; __obj = {valueOf:function(){return 12;}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T11.js deleted file mode 100644 index eab330ba84..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T11.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T11; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = {valueOf:function(){throw "intoint";}} and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T11.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = {valueOf:function(){throw \"intoint\";}} and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__obj = {valueOf:function(){throw "intoint";}}; - -__re.lastIndex = __obj; - -//CHECK#5 -try { - $FAIL('#5.1: __obj = {valueOf:function(){throw "intoint";}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42") throw "intoint". Actual: ' + (__re.exec("aacd2233ab12nm444ab42"))); -} catch (e) { - if (e !== "intoint") { - $ERROR('#5.2: __obj = {valueOf:function(){throw "intoint";}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42") throw "intoint". Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T12.js deleted file mode 100644 index 11c3e3e020..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T12.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T12; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = {toString:function(){return 12;},valueOf:function(){return {};}} and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T12.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = {toString:function(){return 12;},valueOf:function(){return {};}} and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__obj = {toString:function(){return 12;},valueOf:function(){return {};}}; - -__re.lastIndex = __obj; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["ab4"]; -__expected.index = 17; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __obj = {toString:function(){return 12;},valueOf:function(){return {};}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __obj = {toString:function(){return 12;},valueOf:function(){return {};}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __obj = {toString:function(){return 12;},valueOf:function(){return {};}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; __obj = {toString:function(){return 12;},valueOf:function(){return {};}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T2.js deleted file mode 100644 index ebeeca5e46..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T2.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T2; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = undefined and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T2.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = undefined and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__re.lastIndex = undefined; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = undefined; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = undefined; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = undefined; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = undefined; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T3.js deleted file mode 100644 index 372203e970..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T3.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T3; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = void 0 and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T3.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = void 0 and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__re.lastIndex = void 0; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = void 0; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = void 0; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = void 0; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = void 0; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T4.js deleted file mode 100644 index ab0a7420c0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T4.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T4; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = null and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T4.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = null and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__re.lastIndex = null; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = null; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = null; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = null; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = null; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T5.js deleted file mode 100644 index a99379cad6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T5.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T5; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = x and again call exec, where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T5.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = x and again call exec, where x is undefined variable", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__re.lastIndex = x; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = x; __executed = __re.exec("aacd2233ab12nm444ab42"); var x; __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = x; __executed = __re.exec("aacd2233ab12nm444ab42"); var x; __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = x; __executed = __re.exec("aacd2233ab12nm444ab42"); var x; __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = x; __executed = __re.exec("aacd2233ab12nm444ab42"); var x; __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T6.js deleted file mode 100644 index 4107b6e863..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T6.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T6; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = false and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T6.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = false and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__re.lastIndex = false; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = false; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = false; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = false; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = false; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T7.js deleted file mode 100644 index 05aff74368..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T7.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T7; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = Math.NaN and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T7.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = Math.NaN and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__re.lastIndex = Math.NaN; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = Math.NaN; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = Math.NaN; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = Math.NaN; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; re.lastIndex = Math.NaN; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T8.js deleted file mode 100644 index 74ad8670e2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T8.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T8; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = "12" and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T8.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = \"12\" and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__re.lastIndex = "12"; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["ab4"]; -__expected.index = 17; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = "12"; __executed = __re.exec("aacd2233ab12nm444ab42");__executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = "12"; __executed = __re.exec("aacd2233ab12nm444ab42");__executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = "12"; __executed = __re.exec("aacd2233ab12nm444ab42");__executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = "12"; __executed = __re.exec("aacd2233ab12nm444ab42");__executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T9.js deleted file mode 100644 index 30b3569b0e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T9.js +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A4_T9; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* If global is true next exec calling start to match from lastIndex position; -* @description: Call first exec, then set re.lastIndex = "eleven" and again call exec; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A4_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A4_T9.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Call first exec, then set re.lastIndex = \"eleven\" and again call exec", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__re.lastIndex = "eleven"; - -__executed = __re.exec("aacd2233ab12nm444ab42"); - -__expected = ["cd2"]; -__expected.index = 2; -__expected.input = "aacd2233ab12nm444ab42"; - -//CHECK#5 -if (__executed.length !== __expected.length) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = "eleven"; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#6 -if (__executed.index !== __expected.index) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = "eleven"; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#7 -if (__executed.input !== __expected.input) { - $ERROR('#7: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = "eleven"; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#8 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#8: __re = /(?:ab|cd)\\d?/g;__re.lastIndex = "eleven"; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T1.js deleted file mode 100644 index 4a7b3ac5ca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T1.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A5_T1; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* Let global is true and let I = If ToInteger(lastIndex). -* Then if I<0 orI>length then set lastIndex to 0 and return null; -* @description: First call /(?:ab|cd)\d?/g.exec("aac1dz2233a1bz12nm444ab42"), and then First call /(?:ab|cd)\d?/g.exec("aacd22"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A5_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T1.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "First call /(?:ab|cd)\\d?/g.exec(\"aac1dz2233a1bz12nm444ab42\"), and then First call /(?:ab|cd)\\d?/g.exec(\"aacd22\")", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aac1dz2233a1bz12nm444ab42"); - -__expected = ["ab4"]; -__expected.index = 21; -__expected.input = "aac1dz2233a1bz12nm444ab42"; - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aac1dz2233a1bz12nm444ab42"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aac1dz2233a1bz12nm444ab42"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aac1dz2233a1bz12nm444ab42"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aac1dz2233a1bz12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - -__executed = __re.exec("aacd22"); - -//CHECK#5 -if (__executed) { - $ERROR('#5: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd22"); __executed === true'); -} - -//CHECK#6 -if (__re.lastIndex !== 0) { - $ERROR('#6: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd22"); __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T2.js deleted file mode 100644 index 9acce48f25..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A5_T2; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* Let global is true and let I = If ToInteger(lastIndex). -* Then if I<0 orI>length then set lastIndex to 0 and return null; -* @description: Set lastIndex to 100 and call /(?:ab|cd)\d?/g.exec("aacd22 "); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A5_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T2.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Set lastIndex to 100 and call /(?:ab|cd)\\d?/g.exec(\"aacd22 \")", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; -__re.lastIndex=100; -__executed = __re.exec("aacd22 "); - -//CHECK#1 -if (__executed) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __re.lastIndex=100; __executed = __re.exec("aacd22 "); __executed === true'); -} - -//CHECK#2 -if (__re.lastIndex !== 0) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __re.lastIndex=100; __executed = __re.exec("aacd22 "); __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T3.js deleted file mode 100644 index 1f58f0d597..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A5_T3; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec behavior depends on global property. -* Let global is true and let I = If ToInteger(lastIndex). -* Then if I<0 orI>length then set lastIndex to 0 and return null; -* @description: Set lastIndex to -1 and call /(?:ab|cd)\d?/g.exec("aacd22 "); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A5_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A5_T3.js", - -assertion: "RegExp.prototype.exec behavior depends on global property.", - -description: "Set lastIndex to -1 and call /(?:ab|cd)\\d?/g.exec(\"aacd22 \")", - -test: function testcase() { - __re = /(?:ab|cd)\d?/g; -__re.lastIndex=-1; -__executed = __re.test("aacd22 "); - -//CHECK#1 -if (__executed) { - $ERROR('#1: __re = /(?:ab|cd)\\d?/g; __re.lastIndex=-1; __executed = __re.test("aacd22 "); __executed === true'); -} - -//CHECK#2 -if (__re.lastIndex !== 0) { - $ERROR('#2: __re = /(?:ab|cd)\\d?/g; __re.lastIndex=-1; __executed = __re.test("aacd22 "); __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - -__re.lastIndex=-100; -__executed = __re.test("aacd22 "); - -//CHECK#3 -if (__executed) { - $ERROR('#3: __re = /(?:ab|cd)\\d?/g; __re.lastIndex=-1; __executed = __re.test("aacd22 "); __re.lastIndex=-100; __executed = __re.test("aacd22 "); __executed === true'); -} - -//CHECK#4 -if (__re.lastIndex !== 0) { - $ERROR('#4: __re = /(?:ab|cd)\\d?/g; __re.lastIndex=-1; __executed = __re.test("aacd22 "); __re.lastIndex=-100; __executed = __re.test("aacd22 "); __re.lastIndex === 0. Actual: ' + (__re.lastIndex)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A6.js deleted file mode 100644 index 5b02abfce7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A6; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec has not prototype property; -* @description: Checking RegExp.prototype.exec.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A6.js", - -assertion: "RegExp.prototype.exec has not prototype property", - -description: "Checking RegExp.prototype.exec.prototype", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.exec.prototype !== undefined) { - $ERROR('#1: RegExp.prototype.exec.prototype === undefined. Actual: ' + (RegExp.prototype.exec.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A7.js deleted file mode 100644 index 078f8b6e4c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A7; -* @section: 15.10.6.2, 13.2; -* @assertion: RegExp.prototype.exec can't be used as constructor; -* @description: Checking if creating the RegExp.prototype.exec object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A7.js", - -assertion: "RegExp.prototype.exec can\'t be used as constructor", - -description: "Checking if creating the RegExp.prototype.exec object fails", - -test: function testcase() { - __FACTORY = RegExp.prototype.exec; - -try { - __instance = new __FACTORY; - $ERROR('#1.1: __FACTORY = RegExp.prototype.exec throw TypeError. Actual: ' + (__instance)); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __FACTORY = RegExp.prototype.exec throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A8.js deleted file mode 100644 index bbb7f9e7da..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A8.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A8; -* @section: 15.10.6.2; -* @assertion: The RegExp.prototype.exec.length property has the attribute DontEnum; -* @description: Checking if enumerating the RegExp.prototype.exec.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A8.js", - -assertion: "The RegExp.prototype.exec.length property has the attribute DontEnum", - -description: "Checking if enumerating the RegExp.prototype.exec.length property fails", - -test: function testcase() { - //CHECK#0 -if (RegExp.prototype.exec.hasOwnProperty('length') !== true) { - $ERROR('#0: RegExp.prototype.exec.hasOwnProperty(\'length\') === true'); -} - - //CHECK#1 -if (RegExp.prototype.exec.propertyIsEnumerable('length') !== false) { - $ERROR('#1: RegExp.prototype.exec.propertyIsEnumerable(\'length\') === true'); -} - - //CHECK#2 -count=0; - -for (p in RegExp.prototype.exec){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count = 0; for (p in RegExp.prototype.exec){ if (p==="length") count++; } count === 0. Actual: ' + (count)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A9.js deleted file mode 100644 index 3616301ea7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A9.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A9; -* @section: 15.10.6.2; -* @assertion: The RegExp.prototype.exec.length property has the attribute DontDelete; -* @description: Checking if deleting the RegExp.prototype.exec.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.2_A9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A9.js", - -assertion: "The RegExp.prototype.exec.length property has the attribute DontDelete", - -description: "Checking if deleting the RegExp.prototype.exec.length property fails", - -test: function testcase() { - //CHECK#0 -if ((RegExp.prototype.exec.hasOwnProperty('length') !== true)) { - $FAIL('#0: RegExp.prototype.exec.hasOwnProperty(\'length\') === true'); -} - -//CHECK#1 -if (delete RegExp.prototype.exec.length !== false) { - $ERROR('#1: delete RegExp.prototype.exec.length === false'); -} - -//CHECK#2 -if (RegExp.prototype.exec.hasOwnProperty('length') !== true) { - $ERROR('#2: delete RegExp.prototype.exec.length; RegExp.prototype.exec.hasOwnProperty(\'length\') === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A10.js deleted file mode 100644 index 0093e666e8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A10.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A10; -* @section: 15.10.6.3; -* @assertion: The RegExp.prototype.test.length property has the attribute ReadOnly; -* @description: Checking if varying the RegExp.prototype.test.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A10.js", - -assertion: "The RegExp.prototype.test.length property has the attribute ReadOnly", - -description: "Checking if varying the RegExp.prototype.test.length property fails", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.test.hasOwnProperty('length') !== true) { - $FAIL('#1: RegExp.prototype.test.hasOwnProperty(\'length\') === true'); -} - -__obj = RegExp.prototype.test.length; - -RegExp.prototype.test.length = function(){return "shifted";}; - -//CHECK#2 -if (RegExp.prototype.test.length !== __obj) { - $ERROR('#2: __obj = RegExp.prototype.test.length; RegExp.prototype.test.length = function(){return "shifted";}; RegExp.prototype.test.length === __obj. Actual: ' + (RegExp.prototype.test.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A11.js deleted file mode 100644 index 4106f07eec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A11.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A11; -* @section: 15.10.6.3; -* @assertion: The length property of the test method is 1; -* @description: Checking RegExp.prototype.test.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A11.js", - -assertion: "The length property of the test method is 1", - -description: "Checking RegExp.prototype.test.length", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.test.hasOwnProperty("length") !== true) { - $FAIL('#1: RegExp.prototype.test.hasOwnProperty(\'length\') === true'); -} - -//CHECK#2 -if (RegExp.prototype.test.length !== 1) { - $ERROR('#2: RegExp.prototype.test.length === 1. Actual: ' + (RegExp.prototype.test.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T1.js deleted file mode 100644 index ab450c821a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T1; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /1|12/ and tested string is "123"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T1.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /1|12/ and tested string is \"123\"", - -test: function testcase() { - var __string = "123"; -__re = /1|12/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = "123";__re = /1|12/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T10.js deleted file mode 100644 index 4164db3b83..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T10.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T10; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /1|12/ and tested string is 1.01; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T10.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /1|12/ and tested string is 1.01", - -test: function testcase() { - var __string = 1.01; -__re = /1|12/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = 1.01;__re = /1|12/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T11.js deleted file mode 100644 index 4d518c4869..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T11.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T11; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /2|12/ and tested string is new Number(1.012); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T11.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /2|12/ and tested string is new Number(1.012)", - -test: function testcase() { - var __string = new Number(1.012); -__re = /2|12/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = new Number(1.012); __re = /2|12/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T12.js deleted file mode 100644 index 421e7f70b1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T12.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T12; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /\.14/ and tested string is {toString:function(){return Math.PI;}}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T12", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T12.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /\\.14/ and tested string is {toString:function(){return Math.PI;}}", - -test: function testcase() { - var __string = {toString:function(){return Math.PI;}}; -__re = /\.14/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = {toString:function(){return Math.PI;}}; __re = /\\.14/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T13.js deleted file mode 100644 index 6c32255bf1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T13.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T13; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /t[a-b|q-s]/ and tested string is true; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T13", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T13.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /t[a-b|q-s]/ and tested string is true", - -test: function testcase() { - var __string = true; -__re = /t[a-b|q-s]/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = true;__re = /t[a-b|q-s]/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T14.js deleted file mode 100644 index 8c6fe22d82..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T14.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T14; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /AL|se/ and tested string is new Boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T14", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T14.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /AL|se/ and tested string is new Boolean", - -test: function testcase() { - var __string = new Boolean; -__re = /AL|se/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = new Boolean;__re = /AL|se/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T15.js deleted file mode 100644 index 99a24bb7d6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T15.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T15; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /LS/i and tested string is {toString:function(){return false;}}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T15", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T15.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /LS/i and tested string is {toString:function(){return false;}}", - -test: function testcase() { - var __string = {toString:function(){return false;}}; -__re = /LS/i; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = {toString:function(){return false;}}; __re = /LS/i; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T16.js deleted file mode 100644 index 259f204569..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T16.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T16; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /undefined/ and call test() without arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T16", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T16.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /undefined/ and call test() without arguments", - -test: function testcase() { - __re = /undefined/; - -//CHECK#0 -if (__re.test() !== (__re.exec() !== null)) { - $ERROR('#0: __re = /undefined/; __re.test() === (__re.exec() !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T17.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T17.js deleted file mode 100644 index 6dcc7617fe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T17.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T17; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /ll|l/ and tested string is null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T17", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T17.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /ll|l/ and tested string is null", - -test: function testcase() { - __re = /ll|l/; - -//CHECK#0 -if (__re.test(null) !== (__re.exec(null) !== null)) { - $ERROR('#0: __re = /ll|l/; __re.test(null) === (__re.exec(null) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T18.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T18.js deleted file mode 100644 index 3b4d21724f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T18.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T18; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /nd|ne/ and tested string is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T18", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T18.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /nd|ne/ and tested string is undefined", - -test: function testcase() { - __re = /nd|ne/; - -//CHECK#0 -if (__re.test(undefined) !== (__re.exec(undefined) !== null)) { - $ERROR('#0: __re = /nd|ne/; __re.test(undefined) === (__re.exec(undefined) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T19.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T19.js deleted file mode 100644 index e002019ff8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T19.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T19; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /e{1}/ and tested string is void 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T19", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T19.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /e{1}/ and tested string is void 0", - -test: function testcase() { - __re = /e{1}/; - -//CHECK#0 -if (__re.test(void 0) !== (__re.exec(void 0) !== null)) { - $ERROR('#0: __re = /e{1}/; __re.test(void 0) === (__re.exec(void 0) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T2.js deleted file mode 100644 index 8491c1346c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T2; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /((1)|(12))((3)|(23))/ and tested string is new String("123"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T2.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /((1)|(12))((3)|(23))/ and tested string is new String(\"123\")", - -test: function testcase() { - var __string = new String("123"); -__re = /((1)|(12))((3)|(23))/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = new String("123"); __re = /((1)|(12))((3)|(23))/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T20.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T20.js deleted file mode 100644 index 608b746748..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T20.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T20; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /[a-f]d/ and tested string is x, where x is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T20", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T20.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /[a-f]d/ and tested string is x, where x is undefined", - -test: function testcase() { - __re = /[a-f]d/; - -//CHECK#0 -if (__re.test(x) !== (__re.exec(x) !== null)) { - $ERROR('#0: __re = /[a-f]d/; __re.test(x) === (__re.exec(x) !== null); var x;'); -} - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T21.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T21.js deleted file mode 100644 index 97444e248f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T21.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T21; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /[a-z]n/ and tested string is x, where x is function(){}(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T21", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T21.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /[a-z]n/ and tested string is x, where x is function(){}()", - -test: function testcase() { - __re = /[a-z]n/; - -//CHECK#0 -if (__re.test(function(){}()) !== (__re.exec(function(){}()) !== null)) { - $ERROR('#0: __re = /[a-z]n/; __re.test(function(){}()) === (__re.exec(function(){}()) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T3.js deleted file mode 100644 index 6f7716d5a1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T3; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /a[a-z]{2,4}/ and tested string is new Object("abcdefghi"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T3.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /a[a-z]{2,4}/ and tested string is new Object(\"abcdefghi\")", - -test: function testcase() { - var __string = new Object("abcdefghi"); -__re = /a[a-z]{2,4}/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = new Object("abcdefghi"); __re = /a[a-z]{2,4}/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T4.js deleted file mode 100644 index 68d65f106e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T4; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /a[a-z]{2,4}?/ and tested string is {toString:function(){return "abcdefghi";}}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T4.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /a[a-z]{2,4}?/ and tested string is {toString:function(){return \"abcdefghi\";}}", - -test: function testcase() { - var __string = {toString:function(){return "abcdefghi";}}; -__re = /a[a-z]{2,4}?/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = {toString:function(){return "abcdefghi";}}; __re = /a[a-z]{2,4}?/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T5.js deleted file mode 100644 index 9058fdbd76..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T5; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /(aa|aabaac|ba|b|c)* / and tested string is {toString:function(){return {};}, valueOf:function(){return "aabaac";}}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T5.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /(aa|aabaac|ba|b|c)* / and tested string is {toString:function(){return {};}, valueOf:function(){return \"aabaac\";}}", - -test: function testcase() { - var __string = {toString:function(){return {};}, valueOf:function(){return "aabaac";}}; -__re = /(aa|aabaac|ba|b|c)*/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = {toString:function(){return {};}, valueOf:function(){return "aabaac";}}; __re = /(aa|aabaac|ba|b|c)*/; __re.test(__string) === (__re.exec(__string) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T6.js deleted file mode 100644 index 9ac28d710b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T6; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /(z)((a+)?(b+)?(c))* / and tested string is (function(){return "zaacbbbcac"})(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T6.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /(z)((a+)?(b+)?(c))* / and tested string is (function(){return \"zaacbbbcac\"})()", - -test: function testcase() { - __re = /(z)((a+)?(b+)?(c))*/; - -//CHECK#0 -if (__re.test((function(){return "zaacbbbcac"})()) !== (__re.exec((function(){return "zaacbbbcac"})()) !== null)) { - $ERROR('#0: __re = /(z)((a+)?(b+)?(c))*/; __re.test((function(){return "zaacbbbcac"})()) === (__re.exec((function(){return "zaacbbbcac"})()) !== null)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T7.js deleted file mode 100644 index 08dafe3dd4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T7; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /[a-z]/ and tested string is {toString:function(){throw "intostr";}}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T7.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /[a-z]/ and tested string is {toString:function(){throw \"intostr\";}}", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[a-z]/.test({toString:function(){throw "intostr";}}) throw "intostr". Actual: ' + (/[a-z]/.test({toString:function(){throw "intostr";}}))); -} catch (e) { - if (e !== "intostr") { - $ERROR('#1.2: /[a-z]/.test({toString:function(){throw "intostr";}}) throw "intostr". Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T8.js deleted file mode 100644 index 66ea5abab2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T8.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T8; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /[a-z]/ and tested string is {toString:void 0, valueOf:function(){throw "invalof";}}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T8.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /[a-z]/ and tested string is {toString:void 0, valueOf:function(){throw \"invalof\";}}", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[a-z]/.test({toString:void 0, valueOf:function(){throw "invalof";}}) throw "invalof". Actual: ' + (/[a-z]/.test({toString:void 0, valueOf:function(){throw "invalof";}}))); -} catch (e) { - if (e !== "invalof") { - $ERROR('#1.2: /[a-z]/.test({toString:void 0, valueOf:function(){throw "invalof";}}) throw "invalof". Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T9.js deleted file mode 100644 index 2c06ca88fa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T9.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A1_T9; -* @section: 15.10.6.3; -* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null; -* @description: RegExp is /1|12/ and tested string is function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A1_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A1_T9.js", - -assertion: "Equivalent to the expression RegExp.prototype.exec(string) != null", - -description: "RegExp is /1|12/ and tested string is function object", - -test: function testcase() { - var __string; -__re = /1|12/; - -//CHECK#0 -if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string;__re = /1|12/; __re.test(__string) === (__re.exec(__string) !== null); function __string(){};'); -} - -function __string(){}; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T1.js deleted file mode 100644 index cddaa51887..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T1; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is new Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T1.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is new Object", - -test: function testcase() { - __instance = new Object; - -__instance.test = RegExp.prototype.test; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = new Object; __instance.test = RegExp.prototype.test; __instance.test("message to investigate"). Actual: ' + (__instance.test("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = new Object; __instance.test = RegExp.prototype.test. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T10.js deleted file mode 100644 index 826fbbfdf3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T10.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T10; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T10.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is undefined", - -test: function testcase() { - test = RegExp.prototype.test; - -//CHECK#1 -try { - $ERROR('#1.1: test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (test("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T2.js deleted file mode 100644 index 439aa9aa6a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T2; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is Math; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T2.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is Math", - -test: function testcase() { - __instance = Math; - -__instance.test = RegExp.prototype.test; - -//CHECK#1 -try { - with(__instance) test("message to investigate"); - $ERROR('#1.1: __instance = Math; __instance.test = RegExp.prototype.test; with(__instance) test("message to investigate")'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = Math; __instance.test = RegExp.prototype.test; with(__instance) test("message to investigate"). Actual: ' + (e)); - } -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T3.js deleted file mode 100644 index f20b3c6272..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T3.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T3; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T3", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T3.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is function object", - -test: function testcase() { - __instance.test = RegExp.prototype.test; - -//CHECK#1 -try { - with(__instance) test("message to investigate"); - $ERROR('#1.1: __instance.test = RegExp.prototype.test; with(__instance) test("message to investigate"); function __instance(){}'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance.test = RegExp.prototype.test; with(__instance) test("message to investigate"); function __instance(){}. Actual: ' + (e)); - } -} - -function __instance(){}; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T4.js deleted file mode 100644 index 5005935992..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T4; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is new String("[a-b]"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T4", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T4.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is new String(\"[a-b]\")", - -test: function testcase() { - __instance = new String("[a-b]"); - -__instance.test = RegExp.prototype.test; - -//CHECK#1 -with(__instance){ - try { - $ERROR('#1.1: __instance = new String("[a-b]"); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (test("message to investigate"))); - } catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = new String("[a-b]"); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (e)); - } - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T5.js deleted file mode 100644 index f4f7ca1564..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T5.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T5; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is new Boolean(false); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T5", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T5.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is new Boolean(false)", - -test: function testcase() { - __instance = new Boolean(false); - -__instance.test = RegExp.prototype.test; - -//CHECK#1 -with(__instance) { - try { - $ERROR('#1.1: __instance = new Boolean(false); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (test("message to investigate"))); - } catch (e) { - if ((e instanceof TypeError !== true)) { - $ERROR('#1.2: __instance = new Boolean(false); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (e)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T6.js deleted file mode 100644 index 93dbb53845..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T6.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T6; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is new Number(1.0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T6.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is new Number(1.0)", - -test: function testcase() { - __instance = new Number(1.0); - -__instance.test = RegExp.prototype.test; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = new Number(1.0); __instance.test = RegExp.prototype.test; __instance["test"]("message to investigate"). Actual: ' + (__instance["test"]("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = new Number(1.0); __instance.test = RegExp.prototype.test; __instance["test"]("message to investigate"). Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T7.js deleted file mode 100644 index 3813df3d46..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T7.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T7; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is false; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T7.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is false", - -test: function testcase() { - __instance = false; - -Object.prototype.test = RegExp.prototype.test; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = false; Object.prototype.test = RegExp.prototype.test; __instance.test("message to investigate"). Actual: ' + (__instance.test("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = false; Object.prototype.test = RegExp.prototype.test; __instance.test("message to investigate"). Actual: ' + (e)); - } -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T8.js deleted file mode 100644 index 56199abfbb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T8.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T8; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is "."; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T8.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is \".\"", - -test: function testcase() { - __instance = "."; - -Object.prototype.test = RegExp.prototype.test; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = "."; Object.prototype.test = RegExp.prototype.test; __instance.test("message to investigate"). Actual: ' + (__instance.test("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = "."; Object.prototype.test = RegExp.prototype.test; __instance.test("message to investigate"). Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T9.js deleted file mode 100644 index 9cb939507b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A2_T9; -* @section: 15.10.6.3; -* @assertion: A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"; -* @description: The tested object is 1.0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A2_T9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A2_T9.js", - -assertion: "A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is \"RegExp\"", - -description: "The tested object is 1.0", - -test: function testcase() { - __instance = 1.0; - -Object.prototype.test = RegExp.prototype.test; - -//CHECK#1 -try { - $ERROR('#1.1: __instance = 1.0; Object.prototype.test = RegExp.prototype.test; __instance.test("message to investigate"). Actual: ' + (__instance.test("message to investigate"))); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = 1.0; Object.prototype.test = RegExp.prototype.test; __instance.test("message to investigate"). Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A6.js deleted file mode 100644 index 9ce4afc2d4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A6; -* @section: 15.10.6.3, 13.2; -* @assertion: RegExp.prototype.test has not prototype property; -* @description: Checking RegExp.prototype.test.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A6.js", - -assertion: "RegExp.prototype.test has not prototype property", - -description: "Checking RegExp.prototype.test.prototype", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.test.prototype !== undefined) { - $ERROR('#1: RegExp.prototype.test.prototype === undefined. Actual: ' + (RegExp.prototype.test.prototype)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A7.js deleted file mode 100644 index f9e1687c58..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A7; -* @section: 15.10.6.3, 13.2; -* @assertion: RegExp.prototype.test can't be used as constructor; -* @description: Checking if creating the RegExp.prototype.test object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A7.js", - -assertion: "RegExp.prototype.test can\'t be used as constructor", - -description: "Checking if creating the RegExp.prototype.test object fails", - -test: function testcase() { - __FACTORY = RegExp.prototype.test; - -try { - __instance = new __FACTORY; - $ERROR('#1.1: __FACTORY = RegExp.prototype.test throw TypeError. Actual: ' + (__instance)); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __FACTORY = RegExp.prototype.test throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A8.js deleted file mode 100644 index 199d1f5433..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A8.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A8; -* @section: 15.10.6.3; -* @assertion: The RegExp.prototype.test.length property has the attribute DontEnum; -* @description: Checking if enumerating the RegExp.prototype.test.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A8.js", - -assertion: "The RegExp.prototype.test.length property has the attribute DontEnum", - -description: "Checking if enumerating the RegExp.prototype.test.length property fails", - -test: function testcase() { - //CHECK#0 -if (RegExp.prototype.test.hasOwnProperty('length') !== true) { - $ERROR('#0: RegExp.prototype.test.hasOwnProperty(\'length\') === true'); -} - - //CHECK#1 -if (RegExp.prototype.test.propertyIsEnumerable('length') !== false) { - $ERROR('#1: RegExp.prototype.test.propertyIsEnumerable(\'length\') === true'); -} - - //CHECK#2 -count=0; - -for (p in RegExp.prototype.test){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count = 0; for (p in RegExp.prototype.test){ if (p==="length") count++; } count === 0. Actual: ' + (count)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A9.js deleted file mode 100644 index 5f72e284be..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A9.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.3_A9; -* @section: 15.10.6.3; -* @assertion: The RegExp.prototype.test.length property has the attribute DontDelete; -* @description: Checking if deleting RegExp.prototype.test.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.3_A9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.3_RegExp.prototype.test/S15.10.6.3_A9.js", - -assertion: "The RegExp.prototype.test.length property has the attribute DontDelete", - -description: "Checking if deleting RegExp.prototype.test.length property fails", - -test: function testcase() { - //CHECK#0 -if ((RegExp.prototype.exec.hasOwnProperty('length') !== true)) { - $FAIL('#0: RegExp.prototype.exec.hasOwnProperty(\'length\') === true'); -} - -//CHECK#1 -if (delete RegExp.prototype.exec.length !== false) { - $ERROR('#1: delete RegExp.prototype.exec.length === false'); -} - -//CHECK#2 -if (RegExp.prototype.exec.hasOwnProperty('length') !== true) { - $ERROR('#2: delete RegExp.prototype.exec.length; RegExp.prototype.exec.hasOwnProperty(\'length\') === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A10.js deleted file mode 100644 index a71a3744d2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A10.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.4_A10; -* @section: 15.10.6.4; -* @assertion: The RegExp.prototype.toString.length property has the attribute ReadOnly; -* @description: Checking if varying the RegExp.prototype.toString.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.4_A10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A10.js", - -assertion: "The RegExp.prototype.toString.length property has the attribute ReadOnly", - -description: "Checking if varying the RegExp.prototype.toString.length property fails", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.toString.hasOwnProperty('length') !== true) { - $FAIL('#1: RegExp.prototype.toString.hasOwnProperty(\'length\') === true'); -} - -__obj = RegExp.prototype.toString.length; - -RegExp.prototype.toString.length = function(){return "shifted";}; - -//CHECK#2 -if (RegExp.prototype.toString.length !== __obj) { - $ERROR('#2: __obj = RegExp.prototype.toString.length; RegExp.prototype.toString.length = function(){return "shifted";}; RegExp.prototype.toString.length === __obj. Actual: ' + (RegExp.prototype.toString.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A11.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A11.js deleted file mode 100644 index b43b7bb531..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A11.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.4_A11; -* @section: 15.10.6.4; -* @assertion: The length property of the toString method is 1; -* @description: Checking RegExp.prototype.toString.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.4_A11", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A11.js", - -assertion: "The length property of the toString method is 1", - -description: "Checking RegExp.prototype.toString.length", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.toString.hasOwnProperty("length") !== true) { - $FAIL('#1: RegExp.prototype.toString.hasOwnProperty(\'length\') === true'); -} - -//CHECK#2 -if (RegExp.prototype.toString.length !== 0) { - $ERROR('#2: RegExp.prototype.toString.length === 0. Actual: ' + (RegExp.prototype.toString.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A6.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A6.js deleted file mode 100644 index 977ac47eed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.4_A6; -* @section: 15.10.6.4, 13.2; -* @assertion: RegExp.prototype.toString has not prototype property; -* @description: Checking RegExp.prototype.toString.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.4_A6", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A6.js", - -assertion: "RegExp.prototype.toString has not prototype property", - -description: "Checking RegExp.prototype.toString.prototype", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.toString.prototype !== undefined) { - $ERROR('#1: RegExp.prototype.toString.prototype === undefined. Actual: ' + (RegExp.prototype.toString.prototype)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A7.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A7.js deleted file mode 100644 index 196a76df69..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.4_A7; -* @section: 15.10.6.4, 13.2; -* @assertion: RegExp.prototype.toString can't be used as constructor; -* @description: Checking if creating the RegExp.prototype.toString object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.4_A7", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A7.js", - -assertion: "RegExp.prototype.toString can\'t be used as constructor", - -description: "Checking if creating the RegExp.prototype.toString object fails", - -test: function testcase() { - __FACTORY = RegExp.prototype.toString; - -try { - __instance = new __FACTORY; - $ERROR('#1.1: __FACTORY = RegExp.prototype.toString throw TypeError. Actual: ' + (__instance)); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __FACTORY = RegExp.prototype.toString throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A8.js deleted file mode 100644 index 0ddca905c2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A8.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.4_A8; -* @section: 15.10.6.4; -* @assertion: The RegExp.prototype.toString.length property has the attribute DontEnum; -* @description: Checking if enumerating the RegExp.prototype.toString.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.4_A8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A8.js", - -assertion: "The RegExp.prototype.toString.length property has the attribute DontEnum", - -description: "Checking if enumerating the RegExp.prototype.toString.length property fails", - -test: function testcase() { - //CHECK#0 -if (RegExp.prototype.toString.hasOwnProperty('length') !== true) { - $ERROR('#0: RegExp.prototype.toString.hasOwnProperty(\'length\') === true'); -} - - //CHECK#1 -if (RegExp.prototype.toString.propertyIsEnumerable('length') !== false) { - $ERROR('#1: RegExp.prototype.toString.propertyIsEnumerable(\'length\') === true'); -} - - //CHECK#2 -count=0; - -for (p in RegExp.prototype.toString){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count = 0; for (p in RegExp.prototype.toString){ if (p==="length") count++; } count === 0. Actual: ' + (count)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A9.js deleted file mode 100644 index c4ad3d180d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A9.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.4_A9; -* @section: 15.10.6.4; -* @assertion: The RegExp.prototype.toString.length property has the attribute DontDelete; -* @description: Checking if deleting the RegExp.prototype.toString.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.4_A9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.4_RegExp.prototype.toString/S15.10.6.4_A9.js", - -assertion: "The RegExp.prototype.toString.length property has the attribute DontDelete", - -description: "Checking if deleting the RegExp.prototype.toString.length property fails", - -test: function testcase() { - //CHECK#0 -if ((RegExp.prototype.toString.hasOwnProperty('length') !== true)) { - $FAIL('#0: RegExp.prototype.toString.hasOwnProperty(\'length\') === true'); -} - -//CHECK#1 -if (delete RegExp.prototype.toString.length !== false) { - $ERROR('#1: delete RegExp.prototype.toString.length === false'); -} - -//CHECK#2 -if (RegExp.prototype.toString.hasOwnProperty('length') !== true) { - $ERROR('#2: delete RegExp.prototype.toString.length; RegExp.prototype.toString.hasOwnProperty(\'length\') === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T1.js deleted file mode 100644 index 23211fe3cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.1_A1_T1; -* @section: 15.10.6.1; -* @assertion: The initial value of RegExp.prototype.constructor is the built-in RegExp constructor; -* @description: Compare RegExp.prototype.constructor with RegExp; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.1_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T1.js", - -assertion: "The initial value of RegExp.prototype.constructor is the built-in RegExp constructor", - -description: "Compare RegExp.prototype.constructor with RegExp", - -test: function testcase() { - //CHECK#1 -if (RegExp.prototype.constructor !== RegExp) { - $ERROR('#1: RegExp.prototype.constructor === RegExp. Actual: ' + (RegExp.prototype.constructor)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T2.js deleted file mode 100644 index 14befe9ae0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.1_A1_T2; -* @section: 15.10.6.1; -* @assertion: The initial value of RegExp.prototype.constructor is the built-in RegExp constructor; -* @description: Compare instance.constructor !== RegExp, where instance is new RegExp.prototype.constructor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6.1_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6.1_A1_T2.js", - -assertion: "The initial value of RegExp.prototype.constructor is the built-in RegExp constructor", - -description: "Compare instance.constructor !== RegExp, where instance is new RegExp.prototype.constructor", - -test: function testcase() { - __FACTORY = RegExp.prototype.constructor; - -__instance = new __FACTORY; - -//CHECK#1 -if ((__instance instanceof RegExp) !== true) { - $ERROR('#1: __FACTORY = RegExp.prototype.constructor; __instance = new __FACTORY; (__instance instanceof RegExp) === true'); -} - -//CHECK#2 -if (__instance.constructor !== RegExp) { - $ERROR('#2: __FACTORY = RegExp.prototype.constructor; __instance = new __FACTORY; __instance.constructor === RegExp. Actual: ' + (__instance.constructor)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T1.js deleted file mode 100644 index 92c584d8e2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6_A1_T1; -* @section: 15.10.6; -* @assertion: The value of the internal [[Prototype]] property of the RegExp prototype object is the Object prototype; -* @description: Checking Object.prototype.isPrototypeOf(RegExp.prototype); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T1.js", - -assertion: "The value of the internal [[Prototype]] property of the RegExp prototype object is the Object prototype", - -description: "Checking Object.prototype.isPrototypeOf(RegExp.prototype)", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.isPrototypeOf(RegExp.prototype) !== true) { - $ERROR('#1: Object.prototype.isPrototypeOf(RegExp.prototype) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T2.js deleted file mode 100644 index c9f0c5aae7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6_A1_T2; -* @section: 15.10.6; -* @assertion: The value of the internal [[Prototype]] property of the RegExp prototype object is the Object prototype; -* @description: Add new property to Object.prototype and check it of RegExp.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A1_T2.js", - -assertion: "The value of the internal [[Prototype]] property of the RegExp prototype object is the Object prototype", - -description: "Add new property to Object.prototype and check it of RegExp.prototype", - -test: function testcase() { - Object.prototype.indicator = 1; - -//CHECK#1 -if (RegExp.prototype.indicator !== 1) { - $ERROR('#1: Object.prototype.indicator = 1; RegExp.prototype.indicator === 1. Actual: ' + (RegExp.prototype.indicator)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js deleted file mode 100644 index 487134cff8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6_A2; -* @section: 15.10.6; -* @assertion: The value of the internal [[Class]] property of the RegExp prototype object is "Object"; -* @description: Checking performs with toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.6_A2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js", - -assertion: "The value of the internal [[Class]] property of the RegExp prototype object is \"Object\"", - -description: "Checking performs with toString function", - -test: function testcase() { - RegExp.prototype.toString = Object.prototype.toString; - -//CHECK#1 -if (RegExp.prototype.toString() !== "[object " + "Object" + "]") { - $ERROR('#1: RegExp.prototype.toString = Object.prototype.toString; RegExp.prototype.toString() === "[object " + "Object" + "]". Actual: ' + RegExp.prototype.toString()); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js deleted file mode 100644 index 933db29179..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.1_A10; -* @section: 15.10.7.1; -* @assertion: The RegExp instance source property has the attribute ReadOnly; -* @description: Checking if varying the source property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.1_A10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js", - -assertion: "The RegExp instance source property has the attribute ReadOnly", - -description: "Checking if varying the source property fails", - -test: function testcase() { - __re = /./; - -//CHECK#1 -if (__re.hasOwnProperty('source') !== true) { - $FAIL('#1: __re = /./; __re.hasOwnProperty(\'source\') === true'); -} - -__obj = __re.source; - -__re.source = "shifted"; - -//CHECK#2 -if (__re.source !== __obj) { - $ERROR('#2: __re = /./; __obj = __re.source; __re.source = "shifted"; __re.source === __obj. Actual: ' + (__re.source)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A8.js deleted file mode 100644 index e3ee46166d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A8.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.1_A8; -* @section: 15.10.7.1; -* @assertion: The RegExp instance source property has the attribute DontEnum; -* @description: Checking if enumerating the source property of RegExp instance fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.1_A8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A8.js", - -assertion: "The RegExp instance source property has the attribute DontEnum", - -description: "Checking if enumerating the source property of RegExp instance fails", - -test: function testcase() { - __re = new RegExp("[1-2]","i"); - -//CHECK#0 -if (__re.hasOwnProperty('source') !== true) { - $FAIL('#0: __re = new RegExp("[1-2]","i"); __re.hasOwnProperty(\'source\') === true'); -} - - //CHECK#1 -if (__re.propertyIsEnumerable('source') !== false) { - $ERROR('#1: __re = new RegExp("[1-2]","i"); __re.propertyIsEnumerable(\'source\') === false'); -} - - //CHECK#2 -count = 0 -for (p in __re){ - if (p==="source") count++ -} - -if (count !== 0) { - $ERROR('#2: count = 0; __re = new RegExp("[1-2]","i"); for (p in __re){ if (p==="source") count++; } count === 0. Actual: ' + (count)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A9.js deleted file mode 100644 index cc9c4b1625..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A9.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.1_A9; -* @section: 15.10.7.1; -* @assertion: The RegExp instance source property has the attribute DontDelete; -* @description: Checking if deleting the source property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.1_A9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A9.js", - -assertion: "The RegExp instance source property has the attribute DontDelete", - -description: "Checking if deleting the source property fails", - -test: function testcase() { - __re = new RegExp; - -//CHECK#0 -if (__re.hasOwnProperty('source') !== true) { - $FAIL('#0: __re = new RegExp; __re.hasOwnProperty(\'source\') === true'); -} - -//CHECK#1 -if ((delete __re.source) !== false) { - $ERROR('#1: __re = new RegExp; (delete __re.source) === false'); -} - -//CHECK#2 -if (__re.hasOwnProperty('source') !== true) { - $ERROR('#2: __re = new RegExp;delete __re.source === true; __re.hasOwnProperty(\'source\') === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A10.js deleted file mode 100644 index a11e8ed4a1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A10.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.2_A10; -* @section: 15.10.7.2; -* @assertion: The RegExp instance global property has the attribute ReadOnly; -* @description: Checking if varying the global property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.2_A10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A10.js", - -assertion: "The RegExp instance global property has the attribute ReadOnly", - -description: "Checking if varying the global property fails", - -test: function testcase() { - __re = /^|^/; - -//CHECK#1 -if (__re.hasOwnProperty('global') !== true) { - $FAIL('#1: __re = /^|^/; __re.hasOwnProperty(\'global\') === true'); -} - -__obj = __re.global; - -__re.global = "shifted"; - -//CHECK#2 -if (__re.global !== __obj) { - $ERROR('#2: __re = /^|^/; __obj = __re.global; __re.global = "shifted"; __re.global === __obj. Actual: ' + (__re.global)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A8.js deleted file mode 100644 index e74f544e36..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A8.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.2_A8; -* @section: 15.10.7.2; -* @assertion: The RegExp instance global property has the attribute DontEnum; -* @description: Checking if enumerating the global property of RegExp instance fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.2_A8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A8.js", - -assertion: "The RegExp instance global property has the attribute DontEnum", - -description: "Checking if enumerating the global property of RegExp instance fails", - -test: function testcase() { - __re = new RegExp("[o-o]","m"); - -//CHECK#0 -if (__re.hasOwnProperty('global') !== true) { - $FAIL('#0: __re = new RegExp("[o-o]","m"); __re.hasOwnProperty(\'global\') === true'); -} - - //CHECK#1 -if (__re.propertyIsEnumerable('global') !== false) { - $ERROR('#1: __re = new RegExp("[o-o]","m"); __re.propertyIsEnumerable(\'global\') === false'); -} - - //CHECK#2 -count = 0 -for (p in __re){ - if (p==="global") count++ -} - -if (count !== 0) { - $ERROR('#2: count = 0; __re = new RegExp("[o-o]","m"); for (p in __re){ if (p==="global") count++; } count === 0. Actual: ' + (count)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js deleted file mode 100644 index 850dd5b0c6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.2_A9; -* @section: 15.10.7.2; -* @assertion: The RegExp instance global property has the attribute DontDelete; -* @description: Checking if deleting the global property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.2_A9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js", - -assertion: "The RegExp instance global property has the attribute DontDelete", - -description: "Checking if deleting the global property fails", - -test: function testcase() { - __re = new RegExp; - -//CHECK#0 -if (__re.hasOwnProperty('global') !== true) { - $FAIL('#0: __re = new RegExp; __re.hasOwnProperty(\'global\') === true'); -} - -//CHECK#1 -if ((delete __re.global) !== false) { - $ERROR('#1: __re = new RegExp; (delete __re.global) === false'); -} - -//CHECK#2 -if (__re.hasOwnProperty('global') !== true) { - $ERROR('#2: __re = new RegExp;delete __re.global === true; __re.hasOwnProperty(\'global\') === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A10.js deleted file mode 100644 index 224e1d7f25..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A10.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.3_A10; -* @section: 15.10.7.3; -* @assertion: The RegExp instance ignoreCase property has the attribute ReadOnly; -* @description: Checking if varying the ignoreCase property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.3_A10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A10.js", - -assertion: "The RegExp instance ignoreCase property has the attribute ReadOnly", - -description: "Checking if varying the ignoreCase property fails", - -test: function testcase() { - __re = /a|b|c/; - -//CHECK#1 -if (__re.hasOwnProperty('ignoreCase') !== true) { - $FAIL('#1: __re = /a|b|c/; __re.hasOwnProperty(\'ignoreCase\') === true'); -} - -__obj = __re.ignoreCase; - -__re.ignoreCase = "shifted"; - -//CHECK#2 -if (__re.ignoreCase !== __obj) { - $ERROR('#2: __re = /a|b|c/; __obj = __re.ignoreCase; __re.ignoreCase = "shifted"; __re.ignoreCase === __obj. Actual: ' + (__re.ignoreCase)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A8.js deleted file mode 100644 index d0eb0da36b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A8.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.3_A8; -* @section: 15.10.7.3; -* @assertion: The RegExp instance ignoreCase property has the attribute DontEnum; -* @description: Checking if enumerating the ignoreCase property of RegExp instance fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.3_A8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A8.js", - -assertion: "The RegExp instance ignoreCase property has the attribute DontEnum", - -description: "Checking if enumerating the ignoreCase property of RegExp instance fails", - -test: function testcase() { - __re = new RegExp("[|||||||]",""); - -//CHECK#0 -if (__re.hasOwnProperty('ignoreCase') !== true) { - $FAIL('#0: __re = new RegExp("[|||||||]",""); __re.hasOwnProperty(\'ignoreCase\') === true'); -} - - //CHECK#1 -if (__re.propertyIsEnumerable('ignoreCase') !== false) { - $ERROR('#1: __re = new RegExp("[|||||||]",""); __re.propertyIsEnumerable(\'ignoreCase\') === false'); -} - - //CHECK#2 -count = 0 -for (p in __re){ - if (p==="ignoreCase") count++ -} - -if (count !== 0) { - $ERROR('#2: count = 0; __re = new RegExp("[|||||||]",""); for (p in __re){ if (p==="ignoreCase") count++; } count === 0. Actual: ' + (count)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A9.js deleted file mode 100644 index 156878f78d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.3_A9; -* @section: 15.10.7.3; -* @assertion: The RegExp instance ignoreCase property has the attribute DontDelete; -* @description: Checking if deleting the ignoreCase property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.3_A9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.3_ignoreCase/S15.10.7.3_A9.js", - -assertion: "The RegExp instance ignoreCase property has the attribute DontDelete", - -description: "Checking if deleting the ignoreCase property fails", - -test: function testcase() { - __re = new RegExp; - -//CHECK#0 -if (__re.hasOwnProperty('ignoreCase') !== true) { - $FAIL('#0: __re = new RegExp; __re.hasOwnProperty(\'ignoreCase\') === true'); -} - -//CHECK#1 -if ((delete __re.ignoreCase) !== false) { - $ERROR('#1: __re = new RegExp; (delete __re.ignoreCase) === false'); -} - -//CHECK#2 -if (__re.hasOwnProperty('ignoreCase') !== true) { - $ERROR('#2: __re = new RegExp;delete __re.ignoreCase === true; __re.hasOwnProperty(\'ignoreCase\') === true'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A10.js deleted file mode 100644 index 00f663dc8e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A10.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.4_A10; -* @section: 15.10.7.4; -* @assertion: The RegExp instance multiline property has the attribute ReadOnly; -* @description: Checking if varying the multiline property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.4_A10", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A10.js", - -assertion: "The RegExp instance multiline property has the attribute ReadOnly", - -description: "Checking if varying the multiline property fails", - -test: function testcase() { - __re = /\n/; - -//CHECK#1 -if (__re.hasOwnProperty('multiline') !== true) { - $FAIL('#1: __re = /\\n/; __re.hasOwnProperty(\'multiline\') === true'); -} - -__obj = __re.multiline; - -__re.multiline = "shifted"; - -//CHECK#2 -if (__re.multiline !== __obj) { - $ERROR('#2: __re = /\\n/; __obj = __re.multiline; __re.multiline = "shifted"; __re.multiline === __obj. Actual: ' + (__re.multiline)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A8.js deleted file mode 100644 index d0d6641131..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A8.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.4_A8; -* @section: 15.10.7.4; -* @assertion: The RegExp instance multiline property has the attribute DontEnum; -* @description: Checking if enumerating the multiline property of RegExp instance fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.4_A8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A8.js", - -assertion: "The RegExp instance multiline property has the attribute DontEnum", - -description: "Checking if enumerating the multiline property of RegExp instance fails", - -test: function testcase() { - __re = new RegExp("[\u0041-\u0049]"); - -//CHECK#0 -if (__re.hasOwnProperty('multiline') !== true) { - $FAIL('#0: __re = new RegExp("[\\u0041-\\u0049]"); __re.hasOwnProperty(\'multiline\') === true'); -} - - //CHECK#1 -if (__re.propertyIsEnumerable('multiline') !== false) { - $ERROR('#1: __re = new RegExp("[\\u0041-\\u0049]"); __re.propertyIsEnumerable(\'multiline\') === false'); -} - - //CHECK#2 -count = 0 -for (p in __re){ - if (p==="multiline") count++ -} - -if (count !== 0) { - $ERROR('#2: count = 0; __re = new RegExp("[\\u0041-\\u0049]"); for (p in __re){ if (p==="multiline") count++; } count === 0. Actual: ' + (count)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A9.js deleted file mode 100644 index 101f1b36f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A9.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.4_A9; -* @section: 15.10.7.4; -* @assertion: The RegExp instance multiline property has the attribute DontDelete; -* @description: Checking if deleting the multiline property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.4_A9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.4_multiline/S15.10.7.4_A9.js", - -assertion: "The RegExp instance multiline property has the attribute DontDelete", - -description: "Checking if deleting the multiline property fails", - -test: function testcase() { - __re = new RegExp; - -//CHECK#0 -if (__re.hasOwnProperty('multiline') !== true) { - $FAIL('#0: __re = new RegExp; __re.hasOwnProperty(\'multiline\') === true'); -} - -//CHECK#1 -if ((delete __re.multiline) !== false) { - $ERROR('#1: __re = new RegExp; (delete __re.multiline) === false'); -} - -//CHECK#2 -if (__re.hasOwnProperty('multiline') !== true) { - $ERROR('#2: __re = new RegExp;delete __re.multiline === true; __re.hasOwnProperty(\'multiline\') === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A8.js deleted file mode 100644 index 312e71d26b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A8.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.5_A8; -* @section: 15.10.7.5; -* @assertion: The RegExp instance lastIndex property has the attribute DontEnum; -* @description: Checking if enumerating the lastIndex property of RegExp instance fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.5_A8", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A8.js", - -assertion: "The RegExp instance lastIndex property has the attribute DontEnum", - -description: "Checking if enumerating the lastIndex property of RegExp instance fails", - -test: function testcase() { - __re = new RegExp("A?B"); - -//CHECK#0 -if (__re.hasOwnProperty('lastIndex') !== true) { - $FAIL('#0: __re = new RegExp("A?B"); __re.hasOwnProperty(\'lastIndex\') === true'); -} - - //CHECK#1 -if (__re.propertyIsEnumerable('lastIndex') !== false) { - $ERROR('#1: __re = new RegExp("A?B"); __re.propertyIsEnumerable(\'lastIndex\') === false'); -} - - //CHECK#2 -count = 0 -for (p in __re){ - if (p==="lastIndex") count++ -} - -if (count !== 0) { - $ERROR('#2: count = 0; __re = new RegExp("A?B"); for (p in __re){ if (p==="lastIndex") count++; } count === 0. Actual: ' + (count)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A9.js deleted file mode 100644 index 5c3766fb20..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A9.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7.5_A9; -* @section: 15.10.7.5; -* @assertion: The RegExp instance lastIndex property has the attribute DontDelete; -* @description: Checking if deleting the lastIndex property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7.5_A9", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.5_lastIndex/S15.10.7.5_A9.js", - -assertion: "The RegExp instance lastIndex property has the attribute DontDelete", - -description: "Checking if deleting the lastIndex property fails", - -test: function testcase() { - __re = new RegExp; - -//CHECK#0 -if (__re.hasOwnProperty('lastIndex') !== true) { - $FAIL('#0: __re = new RegExp; __re.hasOwnProperty(\'lastIndex\') === true'); -} - -//CHECK#1 -if ((delete __re.lastIndex) !== false) { - $ERROR('#1: __re = new RegExp; (delete __re.lastIndex) === false'); -} - -//CHECK#2 -if (__re.hasOwnProperty('lastIndex') !== true) { - $ERROR('#2: __re = new RegExp;delete __re.lastIndex === true; __re.hasOwnProperty(\'lastIndex\') === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T1.js deleted file mode 100644 index b1b1777514..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7_A1_T1; -* @section: 15.10.7; -* @assertion: RegExp instance has not [[call]] property; -* @description: Checking if call of RegExp instance fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7_A1_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T1.js", - -assertion: "RegExp instance has not [[call]] property", - -description: "Checking if call of RegExp instance fails", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: /[^a]*/() throw TypeError. Actual: ' + (/[^a]*/())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: /[^a]*/() throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T2.js deleted file mode 100644 index 77abcabc9f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7_A1_T2; -* @section: 15.10.7; -* @assertion: RegExp instance has not [[call]] property; -* @description: Checking if call of RegExp("a|b","g")() fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7_A1_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A1_T2.js", - -assertion: "RegExp instance has not [[call]] property", - -description: "Checking if call of RegExp(\"a|b\",\"g\")() fails", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: RegExp("a|b","g")() throw TypeError. Actual: ' + (RegExp("a|b","g")())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: RegExp("a|b","g")() throw TypeError. Actual: ' + (e)); - } -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T1.js deleted file mode 100644 index 1821949075..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7_A2_T1; -* @section: 15.10.7; -* @assertion: RegExp instance has not [[construct]] property; -* @description: Checking if creating new RegExp instance fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7_A2_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T1.js", - -assertion: "RegExp instance has not [[construct]] property", - -description: "Checking if creating new RegExp instance fails", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new /z/() throw TypeError. Actual: ' + (new /z/())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new /z/() throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T2.js deleted file mode 100644 index 8acd3fa851..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7_A2_T2; -* @section: 15.10.7; -* @assertion: RegExp instance has not [[construct]] property; -* @description: Checking if creating "new RegExp" instance fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7_A2_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A2_T2.js", - -assertion: "RegExp instance has not [[construct]] property", - -description: "Checking if creating \"new RegExp\" instance fails", - -test: function testcase() { - //CHECK#1 -try { - $ERROR('#1.1: new new RegExp throw TypeError. Actual: ' + (new new RegExp)); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new new RegExp throw TypeError. Actual: ' + (e)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T1.js deleted file mode 100644 index cf1b49c881..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7_A3_T1; -* @section: 15.10.7; -* @assertion: RegExp instance type is RegExp; -* @description: Checking type of RegExp instance with operators typeof, instanceof and check it constructor. -* RegExp instance is /[^a]* /; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7_A3_T1", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T1.js", - -assertion: "RegExp instance type is RegExp", - -description: "Checking type of RegExp instance with operators typeof, instanceof and check it constructor.", - -test: function testcase() { - __re = /[^a]*/; - -//CHECK#1 -if (typeof __re !== "object") { - $ERROR('#1: __re = /[^a]*/; typeof __re === "object". Actual: ' + (typeof __re)); -} - -//CHECK#1 -if (__re.constructor !== RegExp) { - $ERROR('#2: __re = /[^a]*/; __re.constructor === RegExp. Actual: ' + (__re.constructor)); -} - -//CHECK#3 -if ((__re instanceof RegExp) !== true) { - $ERROR('#3: __re = /[^a]*/; (__re instanceof RegExp) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T2.js deleted file mode 100644 index 5c6bfc649f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.7_A3_T2; -* @section: 15.10.7; -* @assertion: RegExp instance type is RegExp; -* @description: Checking type of RegExp instance with operators typeof, instanceof and check it constructor. -* RegExp instance is new RegExp; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.10.7_A3_T2", - -path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/S15.10.7_A3_T2.js", - -assertion: "RegExp instance type is RegExp", - -description: "Checking type of RegExp instance with operators typeof, instanceof and check it constructor.", - -test: function testcase() { - __re = new RegExp; - -//CHECK#1 -if (typeof __re !== "object") { - $ERROR('#1: __re = new RegExp; typeof __re === "object". Actual: ' + (typeof __re)); -} - -//CHECK#1 -if (__re.constructor !== RegExp) { - $ERROR('#2: __re = new RegExp; __re.constructor === RegExp. Actual: ' + (__re.constructor)); -} - -//CHECK#3 -if ((__re instanceof RegExp) !== true) { - $ERROR('#3: __re = new RegExp; (__re instanceof RegExp) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A1_T1.js deleted file mode 100644 index 4d420373d8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A1_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.1.1_A1_T1; -* @section: 15.11.1.1, 16; -* @assertion: If the argument "message" is not undefined, the message property of the newly constructed object is -* set to ToString(message); -* @description: Checking message property of different error objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.1.1_A1_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A1_T1.js", - -assertion: "If the argument \"message\" is not undefined, the message property of the newly constructed object is", - -description: "Checking message property of different error objects", - -test: function testcase() { - function otherScope(msg) -{ - return Error(msg); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var err1=Error('msg1'); -if(err1.message!=="msg1"){ - $ERROR('#1: var err1=Error(\'msg1\'); err1.message==="msg1". Actual: '+err1.message); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -var err2=otherScope('msg2'); -if(err2.message!=="msg2"){ - $ERROR('#2: function otherScope(msg){return Error(msg);} var err2=otherScope(\'msg2\'); err2.message==="msg2". Actual: '+err2.message); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -var err3=otherScope(); -if(err3.hasOwnProperty('message')){ - $ERROR('#3: function otherScope(msg){return Error(msg);} var err3=otherScope(); err3.hasOwnProperty("message"). Actual: '+err3.message); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -var err4=eval("Error('msg4')"); -if(err4.message!=="msg4"){ - $ERROR('#4: var err4=eval("Error(\'msg4\')"); err4.message==="msg4". Actual: '+err4.message); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A2_T1.js deleted file mode 100644 index 124d46e0fe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.1.1_A2_T1; -* @section: 15.11.1.1, 16; -* @assertion: The [[Prototype]] property of the newly constructed object is set to the original Error prototype -* object, the one that is the initial value of Error.prototype (15.11.3.1); -* @description: Checking prototype of the newly constructed Error object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.1.1_A2_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A2_T1.js", - -assertion: "The [[Prototype]] property of the newly constructed object is set to the original Error prototype", - -description: "Checking prototype of the newly constructed Error object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var err1=Error('msg1'); -if(!Error.prototype.isPrototypeOf(err1)){ - $ERROR('#1: var err1=Error(\'msg1\'); Error.prototype.isPrototypeOf(err1) return true. Actual: '+Error.prototype.isPrototypeOf(err1)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A3_T1.js deleted file mode 100644 index 54d3afb81a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.1.1_A3_T1; -* @section: 15.11.1.1, 16; -* @assertion: The [[Class]] property of the newly constructed object is set to "Error"; -* @description: Checking Class of the newly constructed Error object using toSting() function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.1.1_A3_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1.1_A3_T1.js", - -assertion: "The [[Class]] property of the newly constructed object is set to \"Error\"", - -description: "Checking Class of the newly constructed Error object using toSting() function", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -Error.prototype.toString=Object.prototype.toString; -var err1=Error(); -if(err1.toString()!=='[object '+ 'Error' +']'){ - $ERROR('#1: Error.prototype.toString=Object.prototype.toString; var err1=Error(); err1.toString()===\'[object Error]\'. Actual: '+err1.toString()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1_A1_T1.js deleted file mode 100644 index c4793ecea5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1_A1_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.1_A1_T1; -* @section: 15.11.1, 16; -* @assertion: The function call Error(...) is equivalent to the object creation expression new -* Error(...) with the same arguments; -* @description: Checking constructor of the newly constructed Error object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.1_A1_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.1_The_Error_Constructor_Called_as_a_Function/S15.11.1_A1_T1.js", - -assertion: "The function call Error(...) is equivalent to the object creation expression new", - -description: "Checking constructor of the newly constructed Error object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -Error.prototype.toString=Object.prototype.toString; -var err1=Error(); -if(err1.constructor!==Error){ - $ERROR('#1: Error.prototype.toString=Object.prototype.toString; var err1=Error(); err1.constructor===Error. Actual: '+err1.constructor); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A1_T1.js deleted file mode 100644 index f8e351da17..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A1_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.2.1_A1_T1; -* @section: 15.11.2.1, 16; -* @assertion: If the argument "message" is not undefined, the message property of the newly constructed object is -* set to ToString(message); -* @description: Checking message property of different error objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.2.1_A1_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A1_T1.js", - -assertion: "If the argument \"message\" is not undefined, the message property of the newly constructed object is", - -description: "Checking message property of different error objects", - -test: function testcase() { - function otherScope(msg) -{ - return new Error(msg); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var err1=new Error('msg1'); -if(err1.message!=="msg1"){ - $ERROR('#1: var err1=new Error(\'msg1\'); err1.message==="msg1". Actual: '+err1.message); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -var err2=otherScope('msg2'); -if(err2.message!=="msg2"){ - $ERROR('#2: function otherScope(msg){return new Error(msg);} var err2=otherScope(\'msg2\'); err2.message==="msg2". Actual: '+err2.message); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -var err3=otherScope(); -if(err3.hasOwnProperty('message')){ - $ERROR('#3: function otherScope(msg){return new Error(msg);} var err3=otherScope(); err3.hasOwnProperty("message"). Actual: '+err3.message); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -var err4=eval("new Error('msg4')"); -if(err4.message!=="msg4"){ - $ERROR('#4: var err4=eval("new Error(\'msg4\')"); err4.message==="msg4". Actual: '+err4.message); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A2_T1.js deleted file mode 100644 index b114cf85b4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.2.1_A2_T1; -* @section: 15.11.2.1, 16; -* @assertion: The [[Prototype]] property of the newly constructed object is set to the original Error prototype -* object, the one that is the initial value of Error.prototype (15.11.3.1); -* @description: Checking prototype of the newly constructed Error object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.2.1_A2_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A2_T1.js", - -assertion: "The [[Prototype]] property of the newly constructed object is set to the original Error prototype", - -description: "Checking prototype of the newly constructed Error object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var err1=new Error('msg1'); -if(!Error.prototype.isPrototypeOf(err1)){ - $ERROR('#1: Error.prototype.isPrototypeOf(err1) return true. Actual: '+Error.prototype.isPrototypeOf(err1)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A3_T1.js deleted file mode 100644 index 0d0f022847..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.2.1_A3_T1; -* @section: 15.11.2.1, 16; -* @assertion: The [[Class]] property of the newly constructed object is set to "Error"; -* @description: Checking Class of the newly constructed Error object using toSting() function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.2.1_A3_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.2_The_Error_Constructor/S15.11.2.1_A3_T1.js", - -assertion: "The [[Class]] property of the newly constructed object is set to \"Error\"", - -description: "Checking Class of the newly constructed Error object using toSting() function", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -Error.prototype.toString=Object.prototype.toString; -var err1=new Error(); -if(err1.toString()!=='[object '+ 'Error' +']'){ - $ERROR('#1: err1.toString()===\'[object Error]\'. Actual: '+err1.toString()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A1_T1.js deleted file mode 100644 index 5a9e802cc5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A1_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.3.1_A1_T1; -* @section: 15.11.3.1, 16; -* @assertion: Error.prototype property has the attributes {DontDelete}; -* @description: Checking if deleting the Error.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.3.1_A1_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A1_T1.js", - -assertion: "Error.prototype property has the attributes {DontDelete}", - -description: "Checking if deleting the Error.prototype property fails", - -test: function testcase() { - var proto=Error.prototype; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if(delete Error.prototype){ - $ERROR('#1: delete Error.prototype return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(Error.prototype!==proto){ - $ERROR('#2: var proto=Error.prototype; delete Error.prototype; Error.prototype===proto. Actual: '+Error.prototype); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A2_T1.js deleted file mode 100644 index 0a9e26c779..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A2_T1.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.3.1_A2_T1; -* @section: 15.11.3.1, 16; -* @assertion: Error.prototype property has the attributes {DontEnum}; -* @description: Checking if enumerating the Error.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.3.1_A2_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A2_T1.js", - -assertion: "Error.prototype property has the attributes {DontEnum}", - -description: "Checking if enumerating the Error.prototype property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(Error.hasOwnProperty('prototype'))) { - $ERROR('#0: Error.hasOwnProperty(\'prototype\') return true. Actual: '+Error.hasOwnProperty('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (Error.propertyIsEnumerable('prototype')) { - $ERROR('#1: Error.propertyIsEnumerable(\'prototype\') return false. Actual: '+Error.propertyIsEnumerable('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -cout=0; - -for (p in Error){ - if (p==="prototype") cout++; -} - -if (cout !== 0) { - $ERROR('#2: cout === 0. Actual: '+cout ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A3_T1.js deleted file mode 100644 index 6f00c8ee85..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A3_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.3.1_A3_T1; -* @section: 15.11.3.1, 16; -* @assertion: Error.prototype property has the attributes {ReadOnly}; -* @description: Checking if varying the Error.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.3.1_A3_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A3_T1.js", - -assertion: "Error.prototype property has the attributes {ReadOnly}", - -description: "Checking if varying the Error.prototype property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(Error.hasOwnProperty('prototype'))) { - $ERROR('#1: Error.hasOwnProperty(\'prototype\') return true. Actual: '+Error.hasOwnProperty('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - -__obj = Error.prototype; - -Error.prototype = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (Error.prototype !== __obj) { - $ERROR('#2: __obj = Error.prototype; Error.prototype = function(){return "shifted";}; Error.prototype === __obj. Actual: '+Error.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try { - Error.prototype(); - $ERROR('#3: "Error.prototype()" lead to throwing exception'); -} catch (e) { - ; -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A4_T1.js deleted file mode 100644 index c5666b0a58..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A4_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.3.1_A4_T1; -* @section: 15.11.3.1, 16; -* @assertion: The Error has property prototype; -* @description: Checking Error.hasOwnProperty('prototype'); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.3.1_A4_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A4_T1.js", - -assertion: "The Error has property prototype", - -description: "Checking Error.hasOwnProperty(\'prototype\')", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(Error.hasOwnProperty('prototype'))) { - $ERROR('#1: Error.hasOwnProperty(\'prototype\') return true. Actual: '+Error.hasOwnProperty('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js deleted file mode 100644 index 177f3e2edc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.3_A1_T1; -* @section: 15.11.3, 16; -* @assertion: The value of the internal [[Prototype]] property of the Error constructor is the Function prototype object(15.3.4); -* @description: Checking prototype of constructor of the newly constructed Error object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.3_A1_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js", - -assertion: "The value of the internal [[Prototype]] property of the Error constructor is the Function prototype object(15.3.4)", - -description: "Checking prototype of constructor of the newly constructed Error object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var err1=Error("err"); -if(!Function.prototype.isPrototypeOf(err1.constructor)){ - $ERROR('#1: var err1=Error("err"); Function.prototype.isPrototypeOf(err1.constructor) return true. Actual:'+Function.prototype.isPrototypeOf(err1.constructor)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(!Function.prototype.isPrototypeOf(Error.constructor)){ - $ERROR('#2: Function.prototype.isPrototypeOf(Error.constructor) return true. Actual:'+Function.prototype.isPrototypeOf(Error.constructor)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A2_T1.js deleted file mode 100644 index c49e5d45bc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A2_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.3_A2_T1; -* @section: 15.11.3, 16; -* @assertion: The length property value is 1; -* @description: Checking length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.3_A2_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A2_T1.js", - -assertion: "The length property value is 1", - -description: "Checking length property", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var err1=Error("err"); -if(err1.constructor.length!==1){ - $ERROR('#1: var err1=Error("err"); err1.constructor.length===1. Actual: '+err1.constructor.length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if(Error.constructor.length!==1){ - $ERROR('#2: Error.constructor.length===1. Actual: '+Error.constructor.length); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T1.js deleted file mode 100644 index 1b36117e5a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.4.1_A1_T1; -* @section: 15.11.4.1, 16; -* @assertion: The initial value of Error.prototype.constructor is the built-in Error constructor; -* @description: Checking Error.prototype.constructor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4.1_A1_T1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T1.js", - -assertion: "The initial value of Error.prototype.constructor is the built-in Error constructor", - -description: "Checking Error.prototype.constructor", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (Error.prototype.constructor !== Error) { - $ERROR('#1: Error.prototype.constructor === Error. Actual: '+Error.prototype.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T2.js deleted file mode 100644 index df1b82e09a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T2.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.4.1_A1_T2; -* @section: 15.11.4.1, 16; -* @assertion: The initial value of Error.prototype.constructor is the built-in Error constructor; -* @description: Checking if creating "new Error.prototype.constructor" passes and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4.1_A1_T2", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.1_A1_T2.js", - -assertion: "The initial value of Error.prototype.constructor is the built-in Error constructor", - -description: "Checking if creating \"new Error.prototype.constructor\" passes and checking its properties", - -test: function testcase() { - constr = Error.prototype.constructor; - -err = new constr; - -////////////////////////////////////////////////////////////////////////////// -// CHECK#0 -if (err === undefined) { - $ERROR('#0: constr = Error.prototype.constructor; err = new constr; err === undefined'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (err.constructor !== Error) { - $ERROR('#1: constr = Error.prototype.constructor; err = new constr; err.constructor === Error. Actual: '+err.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -if (!(Error.prototype.isPrototypeOf(err))) { - $ERROR('#2: constr = Error.prototype.constructor; err = new constr; Error.prototype.isPrototypeOf(err) return true. Actual: '+Error.prototype.isPrototypeOf(err)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#3 -Error.prototype.toString=Object.prototype.toString; -to_string_result = '[object '+ 'Error' +']'; -if (err.toString() !== to_string_result) { - $ERROR('#3: constr = Error.prototype.constructor; err = new constr; Error.prototype.toString=Object.prototype.toString; err.toString() === \'[object Error]\'. Actual: '+err.toString() ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#4 -if (err.valueOf().toString() !== to_string_result) { - $ERROR('#4: constr = Error.prototype.constructor; err = new constr; Error.prototype.toString=Object.prototype.toString; err.valueOf().toString() === \'[object Error]\'. Actual: '+err.valueOf().toString() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A1.js deleted file mode 100644 index 8818edc807..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.11.4.2_A1; - * @section: 15.11.4.2, 16; - * @assertion: The Error.prototype has name property; - * @description: Checking Error.prototype.name; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4.2_A1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A1.js", - -assertion: "The Error.prototype has name property", - -description: "Checking Error.prototype.name", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (!Error.prototype.hasOwnProperty('name')) { - $ERROR('#1: Error.prototype.hasOwnProperty(\'name\') return true. Actual: '+Error.prototype.hasOwnProperty('name')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A2.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A2.js deleted file mode 100644 index b0d1be9b6d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.11.4.2_A2; - * @section: 15.11.4.2, 16; - * @assertion: The initial value of Error.prototype.name is "Error"; - * @description: Checking value of Error.prototype.name; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4.2_A2", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.2_A2.js", - -assertion: "The initial value of Error.prototype.name is \"Error\"", - -description: "Checking value of Error.prototype.name", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (Error.prototype.name!=="Error") { - $ERROR('#1: Error.prototype.name==="Error". Actual: '+Error.prototype.name); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A1.js deleted file mode 100644 index 9692c70f90..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.11.4.3_A1; - * @section: 15.11.4.3, 16; - * @assertion: The Error.prototype has message property; - * @description: Checking Error.prototype.message; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4.3_A1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A1.js", - -assertion: "The Error.prototype has message property", - -description: "Checking Error.prototype.message", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (!Error.prototype.hasOwnProperty('message')) { - $ERROR('#1: Error.prototype.hasOwnProperty(\'message\') reurn true. Actual: '+Error.prototype.hasOwnProperty('message')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js deleted file mode 100644 index 91f1eba719..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.11.4.3_A2; - * @section: 15.11.4.3, 16; - * @assertion: The initial value of Error.prototype.message is ""; - * @description: Checking value of Error.prototype.message; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4.3_A2", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js", - -assertion: "The initial value of Error.prototype.message is \"\"", - -description: "Checking value of Error.prototype.message", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (typeof Error.prototype.message !== "string") { - $ERROR('#1: typeof Error.prototype.message === "string". Actual: ' + Error.prototype.message); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A1.js deleted file mode 100644 index 3840025bcf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.11.4.4_A1; - * @section: 15.11.4.4, 16; - * @assertion: The Error.prototype has toString property; - * @description: Checking Error.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4.4_A1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A1.js", - -assertion: "The Error.prototype has toString property", - -description: "Checking Error.prototype.toString", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (!Error.prototype.hasOwnProperty('toString')) { - $ERROR('#1: Error.prototype.hasOwnProperty(\'toString\') return true. Actual: '+Error.prototype.hasOwnProperty('toString')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js deleted file mode 100644 index 4224db2a25..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.11.4.4_A2; - * @section: 15.11.4.4, 16; - * @assertion: The Error.prototype.toString returns an implementation defined string; - * @description: Checking if call of Error.prototype.toSting() fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4.4_A2", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js", - -assertion: "The Error.prototype.toString returns an implementation defined string", - -description: "Checking if call of Error.prototype.toSting() fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -var err1=new Error("Error"); -try{ - var toStr=err1.toString(); -} -catch(e){ - $ERROR('#1: var err1=new Error("Error"); var toStr=err1.toString(); lead to throwing exception. Exception is '+e); -} -if (toStr===undefined) { - $ERROR('#2: var err1=new Error("Error"); var toStr=err1.toString(); toStr!==undefined. Actual: '+toStr); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A1.js deleted file mode 100644 index 568b55c81a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.11.4_A1; - * @section: 15.11.4, 16; - * @assertion: The value of the internal [[Prototype]] property of the Error prototype object is the Object prototype - * object(15.2.3.1); - * @description: Get Error.prototype and compare with Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4_A1", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A1.js", - -assertion: "The value of the internal [[Prototype]] property of the Error prototype object is the Object prototype", - -description: "Get Error.prototype and compare with Object.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (!Object.prototype.isPrototypeOf(Error.prototype)) { - $ERROR('#1: Object.prototype.isPrototypeOf(Error.prototype) return true. Actual: '+Object.prototype.isPrototypeOf(Error.prototype)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A2.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A2.js deleted file mode 100644 index 9c60aaab10..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.4_A2; -* @section: 15.11.4, 16; -* @assertion: The value of the internal [[Class]] property of Error prototype object is "Error"; -* @description: Getting the value of the internal [[Class]] property using Error.prototype.toString() function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4_A2", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A2.js", - -assertion: "The value of the internal [[Class]] property of Error prototype object is \"Error\"", - -description: "Getting the value of the internal [[Class]] property using Error.prototype.toString() function", - -test: function testcase() { - Error.prototype.toString=Object.prototype.toString; -__tostr = Error.prototype.toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__tostr !== "[object Error]") { - $ERROR('#1: Error.prototype.toString=Object.prototype.toString; __tostr = Error.prototype.toString(); __tostr === "[object Error]". Actual: '+__tostr ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A3.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A3.js deleted file mode 100644 index 0bcf291452..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.4_A3; -* @section: 15.11.4, 16; -* @assertion: Since Error prototype object is not function it has not [[call]] method; -* @description: Checking if call of Error prototype as a function fails; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4_A3", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A3.js", - -assertion: "Since Error prototype object is not function it has not [[call]] method", - -description: "Checking if call of Error prototype as a function fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - Error.prototype(); - $FAIL('#1: "Error.prototype()" lead to throwing exception'); -} catch (e) {} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A4.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A4.js deleted file mode 100644 index 716f7dd9be..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.11.4_A4; -* @section: 15.11.4, 16; -* @assertion: Since Error prototype object is not function it has not [[create]] method; -* @description: Checking if creating "new Error.prototype" fails; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.11.4_A4", - -path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4_A4.js", - -assertion: "Since Error prototype object is not function it has not [[create]] method", - -description: "Checking if creating \"new Error.prototype\" fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - __instance = new Object.prototype; - $FAIL('#1: "__instance = new Object.prototype" lead to throwing exception'); -} catch (e) {} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.12_The_JSON_Object/15.12.2_JSON.parse/S15.12.2_A1.js b/test/suite/sputnik_converted/15_Native/15.12_The_JSON_Object/15.12.2_JSON.parse/S15.12.2_A1.js deleted file mode 100644 index 493c221226..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.12_The_JSON_Object/15.12.2_JSON.parse/S15.12.2_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.12.2_A1; - * @section: 15.12.2; - * @assertion: JSON.parse must create a property with the given property name; - * @description: Tests that JSON.parse treats "__proto__" as a regular property name; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.12.2_A1", - -path: "TestCases/15_Native/15.12_The_JSON_Object/15.12.2_JSON.parse/S15.12.2_A1.js", - -assertion: "JSON.parse must create a property with the given property name", - -description: "Tests that JSON.parse treats \"__proto__\" as a regular property name", - -test: function testcase() { - var x = JSON.parse('{"__proto__":[]}'); -if (Object.getPrototypeOf(x) !== Object.prototype) { - $FAIL('#1: JSON.parse confused by "__proto__"'); -} -if (!Array.isArray(x.__proto__)) { - $FAIL('#2: JSON.parse did not set "__proto__" as a regular property'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A1.js deleted file mode 100644 index 324771a145..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.1_A1; - * @section: 15.1.1.1, 11.4.3, 15.1.2.4, 15.1.2.5; - * @assertion: The initial value of NaN is NaN; - * @description: Use typeof, isNaN, isFinite; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.1_A1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A1.js", - -assertion: "The initial value of NaN is NaN", - -description: "Use typeof, isNaN, isFinite", - -test: function testcase() { - // CHECK#1 -if (typeof(NaN) !== "number") { - $ERROR('#1: typeof(NaN) === "number". Actual: ' + (typeof(NaN))); -} - -// CHECK#2 -if (isNaN(NaN) !== true) { - $ERROR('#2: NaN === Not-a-Number. Actual: ' + (NaN)); -} - -// CHECK#3 -if (isFinite(NaN) !== false) { - $ERROR('#3: NaN === Not-a-Finite. Actual: ' + (NaN)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js deleted file mode 100644 index d7e4a8d13e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.1_A2_T1; - * @section: 15.1.1.1, 15.5.1, 15.6.1, 15.7.1; - * @assertion: The NaN is not ReadOnly; - * @description: Checking Boolean, Number, String Functions; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.1_A2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js", - -assertion: "The NaN is not ReadOnly", - -description: "Checking Boolean, Number, String Functions", - -test: function testcase() { - // CHECK#1 -NaN = 1; -if (Boolean(NaN) !== true) { - $ERROR('#1: NaN = 1; Boolean(NaN) === true. Actual: ' + (Boolean(NaN))); -} - -// CHECK#2 -NaN = true; -if (Number(NaN) !== 1) { - $ERROR('#2: NaN = true; Number(NaN) === 1. Actual: ' + (Number(NaN))); -} - -// CHECK#3 -NaN = 1; -if (String(NaN) !== "1") { - $ERROR('#3: NaN = 1; String(NaN) === "1". Actual: ' + (String(NaN))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T2.js deleted file mode 100644 index f297128039..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.1_A2_T2; - * @section: 15.1.1.1, 11.4.3; - * @assertion: The NaN is not ReadOnly; - * @description: Checking typeof Operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.1_A2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T2.js", - -assertion: "The NaN is not ReadOnly", - -description: "Checking typeof Operator", - -test: function testcase() { - // CHECK#1 -NaN = true; -if (typeof(NaN) !== "boolean") { - $ERROR('#1: NaN = true; typeof(NaN) === "boolean". Actual: ' + (typeof(NaN))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.1.js deleted file mode 100644 index cb71617966..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.1_A3.1; - * @section: 15.1.1.1, 11.4.1; - * @assertion: The NaN is DontDelete; - * @description: Use delete; - * @strict_mode_negative - * -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.1_A3.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.1.js", - -assertion: "The NaN is DontDelete", - -description: "Use delete", - -test: function testcase() { - // CHECK#1 -if (delete NaN !== false) { - $ERROR('#1: delete NaN === false. Actual: ' + (delete NaN)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.2.js deleted file mode 100644 index 9a11c3a4c8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.1_A3.2; - * @section: 15.1.1.1, 12.6.4; - * @assertion: The NaN is DontEnum; - * @description: Use for-in statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.1_A3.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A3.2.js", - -assertion: "The NaN is DontEnum", - -description: "Use for-in statement", - -test: function testcase() { - // CHECK#1 -for (var prop in this) { - if (prop === "NaN") { - $ERROR('#1: The NaN is DontEnum'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A1.js deleted file mode 100644 index d32c35d2ed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.2_A1; - * @section: 15.1.1.2, 11.4.3, 15.1.2.4, 15.1.2.5; - * @assertion: The initial value of Infinity is Number.POSITIVE_INFINITY; - * @description: Use typeof, isNaN, isFinite; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.2_A1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A1.js", - -assertion: "The initial value of Infinity is Number.POSITIVE_INFINITY", - -description: "Use typeof, isNaN, isFinite", - -test: function testcase() { - // CHECK#1 -if (typeof(Infinity) !== "number") { - $ERROR('#1: typeof(Infinity) === "number". Actual: ' + (typeof(Infinity))); -} - -// CHECK#2 -if (isFinite(Infinity) !== false) { - $ERROR('#2: Infinity === Not-a-Finite. Actual: ' + (Infinity)); -} - -// CHECK#3 -if (isNaN(Infinity) !== false) { - $ERROR('#3: Infinity === Not-a-Number. Actual: ' + (Infinity)); -} - - -// CHECK#4 -if (Infinity !== Number.POSITIVE_INFINITY) { - $ERROR('#4: Infinity === Number.POSITIVE_INFINITY. Actual: ' + (Infinity)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T1.js deleted file mode 100644 index 90307424ce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.2_A2_T1; - * @section: 15.1.1.2, 15.5.1, 15.6.1, 15.7.1; - * @assertion: The Infinity is not ReadOnly; - * @description: Checking Boolean, Number, String Functions; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.2_A2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T1.js", - -assertion: "The Infinity is not ReadOnly", - -description: "Checking Boolean, Number, String Functions", - -test: function testcase() { - // CHECK#1 -Infinity = 0; -if (Boolean(Infinity) !== false) { - $ERROR('#1: Infinity = 0; Boolean(Infinity) === false. Actual: ' + (Boolean(Infinity))); -} - -// CHECK#2 -Infinity = false; -if (Number(Infinity) !== 0) { - $ERROR('#2: Infinity = false; Number(Infinity) === 0. Actual: ' + (Number(Infinity))); -} - -// CHECK#3 -Infinity = 0; -if (String(Infinity) !== "0") { - $ERROR('#3: Infinity = 0; String(Infinity) === "0". Actual: ' + (String(Infinity))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T2.js deleted file mode 100644 index 3e29b0983b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.2_A2_T2; - * @section: 15.1.1.2, 11.4.3; - * @assertion: The Infinity is not ReadOnly; - * @description: Checking typeof Functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.2_A2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T2.js", - -assertion: "The Infinity is not ReadOnly", - -description: "Checking typeof Functions", - -test: function testcase() { - // CHECK#1 -var Finite = true; -if (typeof(Finite) !== "boolean") { - $ERROR('#1: Finite = true; typeof(NaN) === "boolean". Actual: ' + (typeof(NaN))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.1.js deleted file mode 100644 index 54169a1010..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.2_A3.1; - * @section: 15.1.1.2, 11.4.1; - * @assertion: The Infinity is DontDelete; - * @description: Use delete; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.2_A3.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.1.js", - -assertion: "The Infinity is DontDelete", - -description: "Use delete", - -test: function testcase() { - // CHECK#1 -if (delete Infinity !== false) { - $ERROR('#1: delete Infinity === false. Actual: ' + (delete Infinity)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.2.js deleted file mode 100644 index 52c3ab44e6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.2_A3.2; - * @section: 15.1.1.2, 12.6.4; - * @assertion: The Infinity is DontEnum; - * @description: Use for-in statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.2_A3.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A3.2.js", - -assertion: "The Infinity is DontEnum", - -description: "Use for-in statement", - -test: function testcase() { - // CHECK#1 -for (var prop in this) { - if (prop === "Infinity") { - $ERROR('#1: The Infinity is DontEnum'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A1.js deleted file mode 100644 index 5491c75d31..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.3_A1; - * @section: 15.1.1.3, 11.4.3, 15.1.2.4, 15.1.2.5; - * @assertion: The initial value of undefined is undefined; - * @description: Use typeof, isNaN, isFinite; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.3_A1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A1.js", - -assertion: "The initial value of undefined is undefined", - -description: "Use typeof, isNaN, isFinite", - -test: function testcase() { - // CHECK#1 -if (typeof(undefined) !== "undefined") { - $ERROR('#1: typeof(undefined) === "undefined". Actual: ' + (typeof(undefined))); -} - -// CHECK#2 -if (undefined !== void 0) { - $ERROR('#2: undefined === void 0. Actual: ' + (undefined)); -} - -// CHECK#3 -if (undefined !== eval("var x")) { - $ERROR('#3: undefined === eval("var x"). Actual: ' + (undefined)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T1.js deleted file mode 100644 index 9bca890795..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.3_A2_T1; - * @section: 15.1.1.3, 15.5.1, 15.6.1, 15.7.1; - * @assertion: The undefined is not ReadOnly; - * @description: Checking Boolean, Number, String Functions; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.3_A2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T1.js", - -assertion: "The undefined is not ReadOnly", - -description: "Checking Boolean, Number, String Functions", - -test: function testcase() { - // CHECK#1 -undefined = 1; -if (Boolean(undefined) !== true) { - $ERROR('#1: undefined = 1; Boolean(undefined) === true. Actual: ' + (Boolean(undefined))); -} - -// CHECK#2 -undefined = true; -if (Number(undefined) !== 1) { - $ERROR('#2: undefined = true; Number(undefined) === 1. Actual: ' + (Number(undefined))); -} - -// CHECK#3 -undefined = 1; -if (String(undefined) !== "1") { - $ERROR('#3: undefined = 1; String(undefined) === "1". Actual: ' + (String(undefined))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T2.js deleted file mode 100644 index 6cf03650f1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.3_A2_T2; - * @section: 15.1.1.3, 11.4.3; - * @assertion: The undefined is not ReadOnly; - * @description: Checking typeof Operator; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.3_A2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T2.js", - -assertion: "The undefined is not ReadOnly", - -description: "Checking typeof Operator", - -test: function testcase() { - // CHECK#1 -undefined = true; -if (typeof(undefined) !== "boolean") { - ERROR('#1: undefined = true; typeof(undefined) === "boolean". Actual: ' + (typeof(undefined))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.1.js deleted file mode 100644 index b740fb7d11..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.3_A3.1; - * @section: 15.1.1.3, 11.4.1; - * @assertion: The undefined is DontDelete; - * @description: Use delete; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.3_A3.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.1.js", - -assertion: "The undefined is DontDelete", - -description: "Use delete", - -test: function testcase() { - // CHECK#1 -if (delete undefined !== false) { - $ERROR('#1: delete undefined === false. Actual: ' + (delete undefined)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.2.js deleted file mode 100644 index 5a8b57200e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.1.3_A3.2; - * @section: 15.1.1.3, 12.6.4; - * @assertion: The undefined is DontEnum; - * @description: Use for-in statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.1.3_A3.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A3.2.js", - -assertion: "The undefined is DontEnum", - -description: "Use for-in statement", - -test: function testcase() { - // CHECK#1 -for (prop in this) { - if (prop === "undefined") { - $ERROR('#1: The undefined is DontEnum'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T1.js deleted file mode 100644 index 471938e342..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A1.1_T1; - * @section: 15.1.2.1; - * @assertion: If x is not a string value, return x; - * @description: Checking all primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A1.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T1.js", - -assertion: "If x is not a string value, return x", - -description: "Checking all primitive", - -test: function testcase() { - //CHECK#1 -var x = 1; -if (eval(x) !== x) { - $ERROR('#1: x = 1; eval(x) === x. Actual: ' + (eval(x))); -} - -//CHECK#2 -if (eval(1) !== 1) { - $ERROR('#2: eval(1) === 1. Actual: ' + (eval(1))); -} - -//CHECK#3 -if (eval(true) !== true) { - $ERROR('#3: eval(true) === true. Actual: ' + (eval(true))); -} - -//CHECK#4 -if (eval(null) !== null) { - $ERROR('#4: eval(null) === null. Actual: ' + (eval(null))); -} - -//CHECK#5 -if (eval(undefined) !== undefined) { - $ERROR('#5: eval(undefined) === undefined. Actual: ' + (eval(undefined))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T2.js deleted file mode 100644 index f6cc75244a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T2.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A1.1_T2; - * @section: 15.1.2.1; - * @assertion: If x is not a string value, return x; - * @description: Checking all object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A1.1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.1_T2.js", - -assertion: "If x is not a string value, return x", - -description: "Checking all object", - -test: function testcase() { - //CHECK#1 -var x = {}; -if (eval(x) !== x) { - $ERROR('#1: x = {}; eval(x) === x. Actual: ' + (eval(x))); -} - -//CHECK#2 -x = new Number(1); -if (eval(x) !== x) { - $ERROR('#2: x = new Number(1); eval(x) === x. Actual: ' + (eval(x))); -} - -//CHECK#3 -x = new Boolean(true); -if (eval(x) !== x) { - $ERROR('#3: x = new Boolean(true); eval(x) === x. Actual: ' + (eval(x))); -} - -//CHECK#4 -x = new String("1+1"); -if (eval(x) !== x) { - $ERROR('#4: x = new String("1"); eval(x) === x. Actual: ' + (eval(x))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.2_T1.js deleted file mode 100644 index 6229835ef4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.2_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A1.2_T1; - * @section: 15.1.2.1; - * @assertion: If the eval function is called with some argument, then use a first argument; - * @description: eval("x = 1", "x = 2"), x equal 1, not 2; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A1.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A1.2_T1.js", - -assertion: "If the eval function is called with some argument, then use a first argument", - -description: "eval(\"x = 1\", \"x = 2\"), x equal 1, not 2", - -test: function testcase() { - //CHECK#1 -var x; -eval("x = 1", "x = 2"); -if (x !== 1) { - $ERROR('#1: eval("x = 1", "x = 2"); x === 1. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T1.js deleted file mode 100644 index 1d5c554757..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A2_T1; - * @section: 15.1.2.1, 16; - * @assertion: If the parse fails, throw a SyntaxError exception (but see also clause 16); - * @description: Checking if execution of "eval("x = 1; x\u000A++"), catch SyntaxError" passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T1.js", - -assertion: "If the parse fails, throw a SyntaxError exception (but see also clause 16)", - -description: "Checking if execution of \"eval(\"x = 1; x\\u000A++\"), catch SyntaxError\" passes", - -test: function testcase() { - //CHECK#1 -var x; -try { - eval("x = 1; x\u000A++"); - $ERROR('#1.1: eval("x = 1; x\\u000A++") must throw a SyntaxError. Actual: ' + (eval("x = 1; x\u000A++"))); -} catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: eval("x = 1; x\\u000A++") must throw a SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T2.js deleted file mode 100644 index aea9f7a204..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A2_T2.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - //CHECK#1 -var x; -eval("x = 1; x\u000A++"); - - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T1.js deleted file mode 100644 index 4cb30c15ae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.1_T1; - * @section: 15.1.2.1, 12.4; - * @assertion: If Result(3).type is normal and its completion value is a value V, - * then return the value V; - * @description: Expression statement. Eval return primitive value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T1.js", - -assertion: "If Result(3).type is normal and its completion value is a value V,", - -description: "Expression statement. Eval return primitive value", - -test: function testcase() { - var x; -//CHECK#1 -if (eval("x = 1") !== 1) { - $ERROR('#1: eval("x = 1") === 1. Actual: ' + (eval("x = 1"))); -} - -//CHECK#2 -if (eval("1") !== 1) { - $ERROR('#2: eval("1") === 1. Actual: ' + (eval("1"))); -} - -//CHECK#3 -if (eval("'1'") !== '1') { - $ERROR('#3: eval("\'1\'") === \'1\'. Actual: ' + (eval("'1'"))); -} - -//CHECK#4 -x = 1; -if (eval("++x") !== 2) { - $ERROR('#4: x = 1; eval("++x") === 2. Actual: ' + (x)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T2.js deleted file mode 100644 index edcff9d6f5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.1_T2; - * @section: 15.1.2.1, 12.4; - * @assertion: If Result(3).type is normal and its completion value is a value V, - * then return the value V; - * @description: Expression statement. Eval return object value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.1_T2.js", - -assertion: "If Result(3).type is normal and its completion value is a value V,", - -description: "Expression statement. Eval return object value", - -test: function testcase() { - //CHECK#1 -var x = {}; -var y; -if (eval("y = x") !== x) { - $ERROR('#1: var x = {}; eval("y = x") === x. Actual: ' + (eval("y = x"))); -} - - -//CHECK#2 -if (eval("x") !== x) { - $ERROR('#2: var x = {}; eval("x") === x. Actual: ' + (eval("x"))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T1.js deleted file mode 100644 index f088a33413..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.2_T1; - * @section: 15.1.2.1, 12.1; - * @assertion: If Result(3).type is normal and its completion value is empty, - * then return the value undefined; - * @description: Block statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T1.js", - -assertion: "If Result(3).type is normal and its completion value is empty,", - -description: "Block statement", - -test: function testcase() { - //CHECK#1 -if (eval("{}") !== undefined) { - $ERROR('#1: eval("{}") === undefined. Actual: ' + (eval("{}"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T2.js deleted file mode 100644 index ac433ff32f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.2_T2; - * @section: 15.1.2.1, 12.2; - * @assertion: If Result(3).type is normal and its completion value is empty, - * then return the value undefined; - * @description: Var statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T2.js", - -assertion: "If Result(3).type is normal and its completion value is empty,", - -description: "Var statement", - -test: function testcase() { - //CHECK#1 -if (eval("var x = 1") !== undefined) { - $ERROR('#1: eval("var x = 1") === undefined. Actual: ' + (eval("var x = 1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T3.js deleted file mode 100644 index b40d2bdd8e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.2_T3; - * @section: 15.1.2.1, 12.3; - * @assertion: If Result(3).type is normal and its completion value is empty, - * then return the value undefined; - * @description: Empty statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.2_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T3.js", - -assertion: "If Result(3).type is normal and its completion value is empty,", - -description: "Empty statement", - -test: function testcase() { - //CHECK#1 -if (eval(";") !== undefined) { - $ERROR('#1: eval(";") === undefined. Actual: ' + (eval(";"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T4.js deleted file mode 100644 index 90f5561fd9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.2_T4; - * @section: 15.1.2.1, 12.5; - * @assertion: If Result(3).type is normal and its completion value is empty, - * then return the value undefined; - * @description: If statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.2_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T4.js", - -assertion: "If Result(3).type is normal and its completion value is empty,", - -description: "If statement", - -test: function testcase() { - //CHECK#1 -if (eval("if (false) ;") !== undefined) { - $ERROR('#1: eval("if (false) ;") === undefined. Actual: ' + eval("if (false) ;")); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T5.js deleted file mode 100644 index 7db3fd8825..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.2_T5; - * @section: 15.1.2.1, 12.11; - * @assertion: If Result(3).type is normal and its completion value is empty, - * then return the value undefined; - * @description: Switch statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.2_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T5.js", - -assertion: "If Result(3).type is normal and its completion value is empty,", - -description: "Switch statement", - -test: function testcase() { - //CHECK#1 -if (eval("switch(1){}") !== undefined) { - $ERROR('#1: eval("switch(1){}") === undefined. Actual: ' + (eval("switch(1){}"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T6.js deleted file mode 100644 index aef3db7ac8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.2_T6; - * @section: 15.1.2.1, 12.6.1; - * @assertion: If Result(3).type is normal and its completion value is empty, - * then return the value undefined; - * @description: do-while statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.2_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T6.js", - -assertion: "If Result(3).type is normal and its completion value is empty,", - -description: "do-while statement", - -test: function testcase() { - //CHECK#1 -if (eval("do ; while(false)") !== undefined) { - $ERROR('#1: eval("do ; while(false)") === undefined. Actual: ' + (eval("do ; while(false)"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T7.js deleted file mode 100644 index 0ad99e94f2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T7.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.2_T7; - * @section: 15.1.2.1, 12.6.2; - * @assertion: If Result(3).type is normal and its completion value is empty, - * then return the value undefined; - * @description: do-while statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.2_T7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T7.js", - -assertion: "If Result(3).type is normal and its completion value is empty,", - -description: "do-while statement", - -test: function testcase() { - //CHECK#1 -if (eval("while(false);") !== undefined) { - $ERROR('#1: eval("while(false);") === undefined. Actual: ' + (eval("while(false);"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T8.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T8.js deleted file mode 100644 index 4406acf27f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T8.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.2_T8; - * @section: 15.1.2.1, 12.6.3; - * @assertion: If Result(3).type is normal and its completion value is empty, - * then return the value undefined; - * @description: for statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.2_T8", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.2_T8.js", - -assertion: "If Result(3).type is normal and its completion value is empty,", - -description: "for statement", - -test: function testcase() { - //CHECK#1 -if (eval("for(false;false;false);") !== undefined) { - $ERROR('#1: eval("for(false;false;false);") === undefined. Actual: ' + (eval("for(false;false;false);"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T1.js deleted file mode 100644 index 08acc2ff6a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.3_T1; - * @section: 15.1.2.1, 12.7; - * @assertion: If Result(3).type is not normal, then Result(3).type must be throw. - * Throw Result(3).value as an exception; - * @description: Continue statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T1.js", - -assertion: "If Result(3).type is not normal, then Result(3).type must be throw.", - -description: "Continue statement", - -test: function testcase() { - //CHECK#1 -try { - eval("continue;"); - $ERROR('#1.1: continue must throw SyntaxError. Actual: ' + (eval("continue;"))); -} catch(e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: continue must throw SyntaxError. Actual ' + (e)); - } -} - -//CHECK#2 -try { - for (var i = 0; i <= 1; i++) { - for (var j = 0; j <= 1; j++) { - eval("continue;"); - } - } - $ERROR('#2.1: continue must throw SyntaxError. Actual: ' + (eval("continue;"))); -} catch(e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#2.2: continue must throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T2.js deleted file mode 100644 index aaeb6845a9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.3_T2; - * @section: 15.1.2.1, 12.8; - * @assertion: If Result(3).type is not normal, then Result(3).type must be throw. - * Throw Result(3).value as an exception; - * @description: Break statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.3_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T2.js", - -assertion: "If Result(3).type is not normal, then Result(3).type must be throw.", - -description: "Break statement", - -test: function testcase() { - //CHECK#1 -try { - eval("break;"); - $ERROR('#1.1: break must throw SyntaxError. Actual: ' + (eval("break;"))); -} catch(e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: break must throw SyntaxError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - for (var i = 0; i <= 1; i++) { - for (var j = 0; j <= 1; j++) { - eval("break;"); - } - } - $ERROR('#2.1: break must throw SyntaxError. Actual: ' + (eval("break;"))); -} catch(e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#2.2: break must throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T3.js deleted file mode 100644 index eebbbe9bf4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T3.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.3_T3; - * @section: 15.1.2.1, 12.9; - * @assertion: If Result(3).type is not normal, then Result(3).type must be throw. - * Throw Result(3).value as an exception; - * @description: Return statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.3_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T3.js", - -assertion: "If Result(3).type is not normal, then Result(3).type must be throw.", - -description: "Return statement", - -test: function testcase() { - //CHECK#1 -try { - eval("return;"); - $ERROR('#1.1: return must throw SyntaxError. Actual: ' + (eval("return;"))); -} catch(e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: return must throw SyntaxError. Actual: ' + (e)); - } -} - -//CHECK#2 - -function f() { eval("return;"); }; - -try { - f(); - $ERROR('#2.1: return must throw SyntaxError. Actual: ' + (f())); -} catch(e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#2.2: return must throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T4.js deleted file mode 100644 index 6521f3445a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A3.3_T4; - * @section: 15.1.2.1, 12.13; - * @assertion: If Result(3).type is not normal, then Result(3).type must be throw. - * Throw Result(3).value as an exception; - * @description: Throw statement; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A3.3_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A3.3_T4.js", - -assertion: "If Result(3).type is not normal, then Result(3).type must be throw.", - -description: "Throw statement", - -test: function testcase() { - //CHECK#1 -try { - eval("throw 1;"); - $ERROR('#1.1: throw 1 must throw SyntaxError. Actual: ' + (eval("throw 1;"))); -} catch(e) { - if (e !== 1) { - $ERROR('#1.2: throw 1 must throw SyntaxError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.1.js deleted file mode 100644 index 49205addf7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A4.1; - * @section: 15.1.2.1, 15.2.4.7, 12.6.4; - * @assertion: The length property of eval has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A4.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.1.js", - -assertion: "The length property of eval has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (eval.propertyIsEnumerable('length') !== false) { - $ERROR('#1: eval.propertyIsEnumerable(\'length\') === false. Actual: ' + (eval.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (p in eval){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in eval) { if (p === "length") result = false; }; result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.2.js deleted file mode 100644 index bf59cd426d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A4.2; - * @section: 15.1.2.1, 15.2.4.5, 11.4.1; - * @assertion: The length property of eval has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A4.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.2.js", - -assertion: "The length property of eval has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (eval.hasOwnProperty('length') !== true) { - $FAIL('#1: eval.hasOwnProperty(\'length\') === true. Actual: ' + (eval.hasOwnProperty('length'))); -} - -delete eval.length; - -//CHECK#2 -if (eval.hasOwnProperty('length') !== true) { - $ERROR('#2: delete eval.length; eval.hasOwnProperty(\'length\') === true. Actual: ' + (eval.hasOwnProperty('length'))); -} - -//CHECK#3 -if (eval.length === undefined) { - $ERROR('#3: delete eval.length; eval.length !== undefined'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.3.js deleted file mode 100644 index c3b7a01030..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A4.3; - * @section: 15.1.2.1; - * @assertion: The length property of eval has the attribute ReadOnly; - * @description: Checking if varying the length property fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A4.3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.3.js", - -assertion: "The length property of eval has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = eval.length; -eval.length = Infinity; -if (eval.length !== x) { - $ERROR('#1: x = eval.length; eval.length = Infinity; eval.length === x. Actual: ' + (eval.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.4.js deleted file mode 100644 index d016a3053d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A4.4; - * @section: 15.1.2.1; - * @assertion: The length property of eval is 1; - * @description: eval.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A4.4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.4.js", - -assertion: "The length property of eval is 1", - -description: "eval.length === 1", - -test: function testcase() { - //CHECK#1 -if (eval.length !== 1) { - $ERROR('#1: eval.length === 1. Actual: ' + (eval.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.5.js deleted file mode 100644 index 96bd24a268..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.1_A4.5; - * @section: 15.1.2.1, 15.2.4.7, 12.6.4; - * @assertion: The eval property has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A4.5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.5.js", - -assertion: "The eval property has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (this.propertyIsEnumerable('eval') !== false) { - $ERROR('#1: this.propertyIsEnumerable(\'eval\') === false. Actual: ' + (this.propertyIsEnumerable('eval'))); -} - -//CHECK#2 -var result = true; -for (var p in this){ - if (p === "eval") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in this) { if (p === "eval") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.6.js deleted file mode 100644 index 5ee7d7d170..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.1_A4.6; -* @section: 15.1.2.1; -* @assertion: The eval property has not prototype property; -* @description: Checking eval.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A4.6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.6.js", - -assertion: "The eval property has not prototype property", - -description: "Checking eval.prototype", - -test: function testcase() { - //CHECK#1 -if (eval.prototype !== undefined) { - $ERROR('#1: eval.prototype === undefined. Actual: ' + (eval.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.7.js deleted file mode 100644 index 07b9d1dcdd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.1_A4.7; -* @section: 15.1.2.1, 11.2.2; -* @assertion: The eval property can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.1_A4.7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.7.js", - -assertion: "The eval property can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new eval(); - $ERROR('#1.1: new eval() throw TypeError. Actual: ' + (new eval())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new eval() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T1.js deleted file mode 100644 index 6400a1d50d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A1_T1; - * @section: 15.1.2.2, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for boolean primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T1.js", - -assertion: "Operator use ToString", - -description: "Checking for boolean primitive", - -test: function testcase() { - //CHECK#1 -if (!(isNaN(parseInt(true)) && isNaN(parseInt("NaN")))) { - $ERROR('#1: parseInt(true) === Not-a-Number; parseInt("NaN") === Not-a-Number. Actual: ' + (parseInt("NaN"))); -} - -//CHECK#2 -if (String(parseInt(false)) !== "NaN") { - $ERROR('#2: String(parseInt(false)) === "NaN". Actual: ' + (String(parseInt(false)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T2.js deleted file mode 100644 index 1d7149065c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T2.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A1_T2; - * @section: 15.1.2.2, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T2.js", - -assertion: "Operator use ToString", - -description: "Checking for number primitive", - -test: function testcase() { - //CHECK#1 -if (parseInt(-1) !== parseInt("-1")) { - $ERROR('#1: parseInt(-1) === parseInt("-1"). Actual: ' + (parseInt(-1))); -} - -//CHECK#2 -if (String(parseInt(Infinity)) !== "NaN") { - $ERROR('#2: String(parseInt(Infinity)) === "NaN". Actual: ' + (String(parseInt(Infinity)))); -} - -//CHECK#3 -if (String(parseInt(NaN)) !== "NaN") { - $ERROR('#3: String(parseInt(NaN)) === "NaN". Actual: ' + (String(parseInt(NaN)))); -} - -//CHECK#4 -if (parseInt(-0) !== 0) { - $ERROR('#4: parseInt(-0) === 0. Actual: ' + (parseInt(-0))); -} else { - if (1 / parseInt(-0) !== Number.POSITIVE_INFINITY) { - $ERROR('#4: parseInt(-0) === +0. Actual: ' + (parseInt(-0))); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T3.js deleted file mode 100644 index 0321c9f014..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A1_T3; - * @section: 15.1.2.2, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for undefined and null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A1_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T3.js", - -assertion: "Operator use ToString", - -description: "Checking for undefined and null", - -test: function testcase() { - //CHECK#1 -if (!(isNaN(parseInt(undefined)) && isNaN(parseInt("NaN")))) { - $ERROR('#1: parseInt(undefined) === Not-a-Number; parseInt("NaN") === Not-a-Number. Actual: ' + (parseInt("NaN"))); -} - -//CHECK#2 -if (!(isNaN(parseInt(null)) && isNaN(parseInt("NaN")))) { - $ERROR('#2: parseInt(null) === Not-a-Number; parseInt("NaN") === Not-a-Number. Actual: ' + (parseInt("NaN"))); -} - -//CHECK#3 -if (String(parseInt(undefined)) !== "NaN") { - $ERROR('#3: String(parseInt(undefined)) === "NaN". Actual: ' + (String(parseInt(undefined)))); -} - -//CHECK#4 -if (String(parseInt(null)) !== "NaN") { - $ERROR('#4: String(parseInt(null)) === "NaN". Actual: ' + (String(parseInt(null)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T4.js deleted file mode 100644 index ff13bb02cd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A1_T4; - * @section: 15.1.2.2, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A1_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T4.js", - -assertion: "Operator use ToString", - -description: "Checking for Boolean object", - -test: function testcase() { - //CHECK#1 -if (!(isNaN(parseInt(new Boolean(true))) && isNaN(parseInt("NaN")))) { - $ERROR('#1: parseInt(new Boolean(true)) === Not-a-Number; parseInt("NaN") === Not-a-Number. Actual: ' + (parseInt("NaN"))); -} - -//CHECK#2 -if (String(parseInt(new Boolean(false))) !== "NaN") { - $ERROR('#2: String(parseInt(new Boolean(false))) === "NaN". Actual: ' + (String(parseInt(new Boolean(false))))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T5.js deleted file mode 100644 index d8a40bf879..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T5.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A1_T5; - * @section: 15.1.2.2, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A1_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T5.js", - -assertion: "Operator use ToString", - -description: "Checking for Number object", - -test: function testcase() { - //CHECK#1 -if (parseInt(new Number(-1)) !== parseInt("-1")) { - $ERROR('#1: parseInt(new Number(-1)) === parseInt("-1"). Actual: ' + (parseInt(new Number(-1)))); -} - -//CHECK#2 -if (String(parseInt(new Number(Infinity))) !== "NaN") { - $ERROR('#2: String(parseInt(new Number(Infinity))) === "NaN". Actual: ' + (String(parseInt(new Number(Infinity))))); -} - -//CHECK#3 -if (String(parseInt(new Number(NaN))) !== "NaN") { - $ERROR('#3: String(parseInt(new Number(NaN))) === "NaN". Actual: ' + (String(parseInt(new Number(NaN))))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T6.js deleted file mode 100644 index 7e36539d98..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A1_T6; - * @section: 15.1.2.2, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A1_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T6.js", - -assertion: "Operator use ToString", - -description: "Checking for String object", - -test: function testcase() { - //CHECK#1 -if (parseInt(new String("-1")) !== parseInt("-1")) { - $ERROR('#1: parseInt(new String("-1")) === parseInt("-1"). Actual: ' + (parseInt(new String("-1")))); -} - -//CHECK#2 -if (String(parseInt(new String("Infinity"))) !== "NaN") { - $ERROR('#2: String(parseInt(new String("Infinity"))) === "NaN". Actual: ' + (String(parseInt(new String("Infinity"))))); -} - -//CHECK#3 -if (String(parseInt(new String("NaN"))) !== "NaN") { - $ERROR('#3: String(parseInt(new String("NaN"))) === "NaN". Actual: ' + (String(parseInt(new String("NaN"))))); -} - -//CHECK#4 -if (String(parseInt(new String("false"))) !== "NaN") { - $ERROR('#4: String(parseInt(new String("false"))) === "NaN". Actual: ' + (String(parseInt(new String("false"))))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T7.js deleted file mode 100644 index 9b866b8e7f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T7.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A1_T7; - * @section: 15.1.2.2, 9.8, 8.6.2.6; - * @assertion: Operator use ToString; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A1_T7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A1_T7.js", - -assertion: "Operator use ToString", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, String)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if (isNaN(parseInt(object)) !== true) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; parseInt(object) === Not-a-Number. Actual: ' + (parseInt(object))); -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (parseInt(object) !== 0) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; parseInt(object) === 0. Actual: ' + (parseInt(object))); -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if (parseInt(object) !== 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; parseInt(object) === 1. Actual: ' + (parseInt(object))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - if (parseInt(object) !== 1) { - $ERROR('#4.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; parseInt(object) === 1. Actual: ' + (parseInt(object))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; parseInt(object) not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; parseInt(object) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if (parseInt(object) !== 1) { - $ERROR('#5: var object = {toString: function() {return 1}}; parseInt(object) === 1. Actual: ' + (parseInt(object))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if (parseInt(object) !== 1) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; parseInt(object) === 1. Actual: ' + (parseInt(object))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - parseInt(object); - $ERROR('#7.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; parseInt(object) throw "error". Actual: ' + (parseInt(object))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; parseInt(object) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - parseInt(object); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; parseInt(object) throw TypeError. Actual: ' + (parseInt(object))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; parseInt(object) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T1.js deleted file mode 100644 index 6291208441..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T1; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: TAB (U+0009); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T1.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: TAB (U+0009)", - -test: function testcase() { - //CHECK#1 -if (parseInt("\u00091") !== parseInt("1")) { - $ERROR('#1: parseInt("\\u00091") === parseInt("1"). Actual: ' + (parseInt("\u00091"))); -} - -//CHECK#2 -if (parseInt("\u0009\u0009-1") !== parseInt("-1")) { - $ERROR('#2: parseInt("\\u0009\\u0009-1") === parseInt("-1"). Actual: ' + (parseInt("\u0009\u0009-1"))); -} - -//CHECK#3 -if (parseInt(" 1") !== parseInt("1")) { - $ERROR('#3: parseInt(" 1") === parseInt("1"). Actual: ' + (parseInt(" 1"))); -} - -//CHECK#4 -if (parseInt(" 1") !== parseInt("1")) { - $ERROR('#4: parseInt(" 1") === parseInt("1"). Actual: ' + (parseInt(" 1"))); -} - -//CHECK#5 -if (parseInt(" \u0009 \u0009-1") !== parseInt("-1")) { - $ERROR('#5: parseInt(" \\u0009 \\u0009-1") === parseInt("-1"). Actual: ' + (parseInt(" \u0009 \u0009-1"))); -} - -//CHECK#6 -if (isNaN(parseInt("\u0009")) !== true) { - $ERROR('#6: parseInt("\\u0009") === Not-a-Number. Actual: ' + (parseInt("\u0009"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T10.js deleted file mode 100644 index 01193a95ef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T10.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T10; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: USP; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T10", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T10.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: USP", - -test: function testcase() { - //CHECK# -var count = 0; -var errorCount = 0; -var uspU = ["\u1680", "\u180E", "\u2000", "\u2001", "\u2002", "\u2003", "\u2004", "\u2005", "\u2006", "\u2007", "\u2008", "\u2009", "\u200A", "\u202F", "\u205F", "\u3000"]; -var uspS = ["1680", "180E", "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "200A", "202F", "205F", "3000"]; - -for (var index = 0; index < uspU.length; index++) { - var result = true; - if (parseInt(uspU[index] + "1") !== parseInt("1")) { - $ERROR('#1.' + uspS[index] + ' '); - result = false; - } - if (parseInt(uspU[index] + uspU[index] + uspU[index] + "1") !== parseInt("1")) { - $ERROR('#2.' + uspS[index] + ' '); - result = false; - } - if (isNaN(parseInt(uspU[index])) !== true) { - $ERROR('#3.' + uspS[index] + ' '); - result = false; - } - if (result !== true) { - errorCount++; - } - count++; -} - -if (errorCount > 0) { - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T2.js deleted file mode 100644 index 36ead01569..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T2; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: SP (U+0020); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T2.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: SP (U+0020)", - -test: function testcase() { - //CHECK#1 -if (parseInt("\u00201") !== parseInt("1")) { - $ERROR('#1: parseInt("\\u00201") === parseInt("1"). Actual: ' + (parseInt("\u00201"))); -} - -//CHECK#2 -if (parseInt("\u0020\u0020-1") !== parseInt("-1")) { - $ERROR('#2: parseInt("\\u0020\\u0020-1") === parseInt("-1"). Actual: ' + (parseInt("\u0020\u0020-1"))); -} - -//CHECK#3 -if (parseInt(" 1") !== parseInt("1")) { - $ERROR('#3: parseInt(" 1") === parseInt("1"). Actual: ' + (parseInt(" 1"))); -} - -//CHECK#4 -if (parseInt(" 1") !== parseInt("1")) { - $ERROR('#4: parseInt(" 1") === parseInt("1"). Actual: ' + (parseInt(" 1"))); -} - -//CHECK#5 -if (parseInt(" \u0020 \u0020-1") !== parseInt("-1")) { - $ERROR('#5: parseInt(" \\u0020 \\u0020-1") === parseInt("-1"). Actual: ' + (parseInt(" \u0020 \u0020-1"))); -} - -//CHECK#6 -if (isNaN(parseInt("\u0020")) !== true) { - $ERROR('#6: parseInt("\\u0020") === Not-a-Number. Actual: ' + (parseInt("\u0020"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T3.js deleted file mode 100644 index babba4f806..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T3; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: NBSB (U+00A0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T3.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: NBSB (U+00A0)", - -test: function testcase() { - //CHECK#1 -if (parseInt("\u00A01") !== parseInt("1")) { - $ERROR('#1: parseInt("\\u00A01") === parseInt("1"). Actual: ' + (parseInt("\u00A01"))); -} - -//CHECK#2 -if (parseInt("\u00A0\u00A0-1") !== parseInt("-1")) { - $ERROR('#2: parseInt("\\u00A0\\u00A0-1") === parseInt("-1"). Actual: ' + (parseInt("\u00A0\u00A0-1"))); -} - -//CHECK#3 -if (isNaN(parseInt("\u00A0")) !== true) { - $ERROR('#3: parseInt("\\u00A0") === Not-a-Number. Actual: ' + (parseInt("\u00A0"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T4.js deleted file mode 100644 index 9e163708b9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T4; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: FF (U+000C); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T4.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: FF (U+000C)", - -test: function testcase() { - //CHECK#1 -if (parseInt("\u000C1") !== parseInt("1")) { - $ERROR('#1: parseInt("\\u000C1") === parseInt("1"). Actual: ' + (parseInt("\u000C1"))); -} - -//CHECK#2 -if (parseInt("\u000C\u000C-1") !== parseInt("-1")) { - $ERROR('#2: parseInt("\\u000C\\u000C-1") === parseInt("-1"). Actual: ' + (parseInt("\u000C\u000C-1"))); -} - -//CHECK#3 -if (isNaN(parseInt("\u000C")) !== true) { - $ERROR('#3: parseInt("\\u000C") === Not-a-Number. Actual: ' + (parseInt("\u000C"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T5.js deleted file mode 100644 index c1adaa5232..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T5.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T5; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: VT (U+000B); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T5.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: VT (U+000B)", - -test: function testcase() { - //CHECK#1 -if (parseInt("\u000B1") !== parseInt("1")) { - $ERROR('#1: parseInt("\\u000B1") === parseInt("1"). Actual: ' + (parseInt("\u000B1"))); -} - -//CHECK#2 -if (parseInt("\u000B\u000B-1") !== parseInt("-1")) { - $ERROR('#2: parseInt("\\u000B\\u000B-1") === parseInt("-1"). Actual: ' + (parseInt("\u000B\u000B-1"))); -} - -//CHECK#3 -if (isNaN(parseInt("\u000B")) !== true) { - $ERROR('#3: parseInt("\\u000B") === Not-a-Number. Actual: ' + (parseInt("\u000B"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T6.js deleted file mode 100644 index 6875aad673..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T6.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T6; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: CR (U+000D); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T6.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: CR (U+000D)", - -test: function testcase() { - //CHECK#1 -if (parseInt("\u000D1") !== parseInt("1")) { - $ERROR('#1: parseInt("\\u000D1") === parseInt("1"). Actual: ' + (parseInt("\u000D1"))); -} - -//CHECK#2 -if (parseInt("\u000D\u000D-1") !== parseInt("-1")) { - $ERROR('#2: parseInt("\\u000D\\u000D-1") === parseInt("-1"). Actual: ' + (parseInt("\u000D\u000D-1"))); -} - -//CHECK#3 -if (isNaN(parseInt("\u000D")) !== true) { - $ERROR('#3: parseInt("\\u000D") === Not-a-Number. Actual: ' + (parseInt("\u000D"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T7.js deleted file mode 100644 index 34fd6aeb0b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T7.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T7; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: LF (U+000A); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T7.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: LF (U+000A)", - -test: function testcase() { - //CHECK#1 -if (parseInt("\u000A1") !== parseInt("1")) { - $ERROR('#1: parseInt("\\u000A1") === parseInt("1"). Actual: ' + (parseInt("\u000A1"))); -} - -//CHECK#2 -if (parseInt("\u000A\u000A-1") !== parseInt("-1")) { - $ERROR('#2: parseInt("\\u000A\\u000A-1") === parseInt("-1"). Actual: ' + (parseInt("\u000A\u000A-1"))); -} - -//CHECK#3 -if (isNaN(parseInt("\u000A")) !== true) { - $ERROR('#3: parseInt("\\u000A") === Not-a-Number. Actual: ' + (parseInt("\u000A"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T8.js deleted file mode 100644 index fe19d83cee..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T8.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T8; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: LS (U+2028); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T8", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T8.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: LS (U+2028)", - -test: function testcase() { - //CHECK#1 -if (parseInt("\u20281") !== parseInt("1")) { - $ERROR('#1: parseInt("\\u20281") === parseInt("1"). Actual: ' + (parseInt("\u20281"))); -} - -//CHECK#2 -if (parseInt("\u2028\u2028-1") !== parseInt("-1")) { - $ERROR('#2: parseInt("\\u2028\\u2028-1") === parseInt("-1"). Actual: ' + (parseInt("\u2028\u2028-1"))); -} - -//CHECK#3 -if (isNaN(parseInt("\u2028")) !== true) { - $ERROR('#3: parseInt("\\u2028") === Not-a-Number. Actual: ' + (parseInt("\u2028"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T9.js deleted file mode 100644 index 03bdc340cc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T9.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A2_T9; - * @section: 15.1.2.2; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: PS (U+2029); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A2_T9", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A2_T9.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: PS (U+2029)", - -test: function testcase() { - //CHECK#1 -if (parseInt("\u20291") !== parseInt("1")) { - $ERROR('#1: parseInt("\\u20291") === parseInt("1"). Actual: ' + (parseInt("\u20291"))); -} - -//CHECK#2 -if (parseInt("\u2029\u2029-1") !== parseInt("-1")) { - $ERROR('#2: parseInt("\\u2029\\u2029-1") === parseInt("-1"). Actual: ' + (parseInt("\u2029\u2029-1"))); -} - -//CHECK#3 -if (isNaN(parseInt("\u2029")) !== true) { - $ERROR('#3: parseInt("\\u2029") === Not-a-Number. Actual: ' + (parseInt("\u2029"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T1.js deleted file mode 100644 index b333ca3d9b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.1_T1; - * @section: 15.1.2.2, 9.3; - * @assertion: Operator use ToNumber; - * @description: Checking for boolean primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T1.js", - -assertion: "Operator use ToNumber", - -description: "Checking for boolean primitive", - -test: function testcase() { - //CHECK#1 -if (parseInt("11", false) !== parseInt("11", 10)) { - $ERROR('#1: parseInt("11", false) === parseInt("11", 10). Actual: ' + (parseInt("11", false))); -} - -//CHECK#2 -if (isNaN(parseInt("11", true)) !== true) { - $ERROR('#2: parseInt("11", true) === Not-a-Number. Actual: ' + (parseInt("11", true))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T2.js deleted file mode 100644 index e7ec635861..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.1_T2; - * @section: 15.1.2.2, 9.3; - * @assertion: Operator use ToNumber; - * @description: Checking for string primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T2.js", - -assertion: "Operator use ToNumber", - -description: "Checking for string primitive", - -test: function testcase() { - //CHECK#1 -if (parseInt("11", "2") !== parseInt("11", 2)) { - $ERROR('#1: parseInt("11", "2") === parseInt("11", 2). Actual: ' + (parseInt("11", "2"))); -} - -//CHECK#2 -if (parseInt("11", "0") !== parseInt("11", 10)) { - $ERROR('#2: parseInt("11", "0") === parseInt("11", 10). Actual: ' + (parseInt("11", "0"))); -} - -//CHECK#3 -if (parseInt("11", "") !== parseInt("11", 10)) { - $ERROR('#3: parseInt("11", "") === parseInt("11", 10). Actual: ' + (parseInt("11", ""))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T3.js deleted file mode 100644 index 00c7da57b4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.1_T3; - * @section: 15.1.2.2, 9.3; - * @assertion: Operator use ToNumber; - * @description: Checking for undefined and null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.1_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T3.js", - -assertion: "Operator use ToNumber", - -description: "Checking for undefined and null", - -test: function testcase() { - //CHECK#1 -if (parseInt("11", undefined) !== parseInt("11", 10)) { - $ERROR('#1: parseInt("11", undefined) === parseInt("11", 10). Actual: ' + (parseInt("11", undefined))); -} - -//CHECK#2 -if (parseInt("11", null) !== parseInt("11", 10)) { - $ERROR('#2: parseInt("11", null) === parseInt("11", 10). Actual: ' + (parseInt("11", null))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T4.js deleted file mode 100644 index 740e3709c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.1_T4; - * @section: 15.1.2.2, 9.3; - * @assertion: Operator use ToNumber; - * @description: Checking for Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.1_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T4.js", - -assertion: "Operator use ToNumber", - -description: "Checking for Boolean object", - -test: function testcase() { - //CHECK#1 -if (parseInt("11", new Boolean(false)) !== parseInt("11", false)) { - $ERROR('#1: parseInt("11", new Boolean(false)) === parseInt("11", false). Actual: ' + (parseInt("11", new Boolean(false)))); -} - -//CHECK#2 -if (isNaN(parseInt("11", new Boolean(true))) !== true) { - $ERROR('#2: parseInt("11", new Boolean(true)) === Not-a-Number. Actual: ' + (parseInt("11", new Boolean(true)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T5.js deleted file mode 100644 index 7ab603b1ce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.1_T5; - * @section: 15.1.2.2, 9.3; - * @assertion: Operator use ToNumber; - * @description: Checking for Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.1_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T5.js", - -assertion: "Operator use ToNumber", - -description: "Checking for Number object", - -test: function testcase() { - //CHECK#1 -if (parseInt("11", new Number(2)) !== parseInt("11", 2)) { - $ERROR('#1: parseInt("11", new Number(2)) === parseInt("11", 2). Actual: ' + (parseInt("11", new Number(2)))); -} - -//CHECK#2 -if (parseInt("11", new Number(Infinity)) !== parseInt("11", Infinity)) { - $ERROR('#2: parseInt("11", new Number(Infinity)) === parseInt("11", Infinity). Actual: ' + (parseInt("11", new Number(Infinity)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T6.js deleted file mode 100644 index 98e7419cc2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.1_T6; - * @section: 15.1.2.2, 9.3; - * @assertion: Operator use ToNumber; - * @description: Checking for String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.1_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T6.js", - -assertion: "Operator use ToNumber", - -description: "Checking for String object", - -test: function testcase() { - //CHECK#1 -if (parseInt("11", new String("2")) !== parseInt("11", 2)) { - $ERROR('#1: parseInt("11", new String("2")) === parseInt("11", 2). Actual: ' + (parseInt("11", new String("2")))); -} - -//CHECK#2 -if (parseInt("11", new String("Infinity")) !== parseInt("11", Infinity)) { - $ERROR('#2: parseInt("11", new String("Infinity")) === parseInt("11", Infinity). Actual: ' + (parseInt("11", new String("Infinity")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T7.js deleted file mode 100644 index 34c51d994b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T7.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.1_T7; - * @section: 15.1.2.2, 9.3, 8.6.2.6; - * @assertion: Operator use ToNumber; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.1_T7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.1_T7.js", - -assertion: "Operator use ToNumber", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, Number)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 2}}; -if (parseInt("11", object) !== parseInt("11", 2)) { - $ERROR('#1: var object = {valueOf: function() {return 2}}; parseInt("11", object) === parseInt("11", 2). Actual: ' + (parseInt("11", object))); -} - -//CHECK#2 -var object = {valueOf: function() {return 2}, toString: function() {return 1}}; -if (parseInt("11", object) !== parseInt("11", 2)) { - $ERROR('#2: var object = {valueOf: function() {return 2}, toString: function() {return 1}}; parseInt("11", object) === parseInt("11", 2). Actual: ' + (parseInt("11", object))); -} - -//CHECK#3 -var object = {valueOf: function() {return 2}, toString: function() {return {}}}; -if (parseInt("11", object) !== parseInt("11", 2)) { - $ERROR('#3: var object = {valueOf: function() {return 2}, toString: function() {return {}}}; parseInt("11", object) === parseInt("11", 2). Actual: ' + (parseInt("11", object))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {return 2}, toString: function() {throw "error"}}; - if (parseInt("11", object) !== parseInt("11", 2)) { - $ERROR('#4.1: var object = {valueOf: function() {return 2}, toString: function() {throw "error"}}; parseInt("11", object) === parseInt("11", 2). Actual: ' + (parseInt("11", object))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {return 2}, toString: function() {throw "error"}}; parseInt("11", object) not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {return 2}, toString: function() {throw "error"}}; parseInt("11", object) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 2}}; -if (parseInt("11", object) !== parseInt("11", 2)) { - $ERROR('#5: var object = {toString: function() {return 2}}; parseInt("11", object) === parseInt("11", 2). Actual: ' + (parseInt("11", object))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 2}} -if (parseInt("11", object) !== parseInt("11", 2)) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return 2}}; parseInt("11", object) === parseInt("11", 2). Actual: ' + (parseInt("11", object))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 2}}; - parseInt("11", object); - $ERROR('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 2}}; parseInt("11", object) throw "error". Actual: ' + (parseInt("11", object))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 2}}; parseInt("11", object) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - parseInt("11", object); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; parseInt("11", object) throw TypeError. Actual: ' + (parseInt("11", object))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; parseInt("11", object) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T1.js deleted file mode 100644 index d1beaf05c8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.2_T1; - * @section: 15.1.2.2; - * @assertion: Operator use ToInt32; - * @description: If radix is NaN, +0, -0, +Infinity, -Infinity, return radix = +0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T1.js", - -assertion: "Operator use ToInt32", - -description: "If radix is NaN, +0, -0, +Infinity, -Infinity, return radix = +0", - -test: function testcase() { - //CHECK#1 -if (parseInt("11", NaN) !== parseInt("11", 10)) { - $ERROR('#1: parseInt("11", NaN) === parseInt("11", 10). Actual: ' + (parseInt("11", NaN))); -} - -//CHECK#2 -if (parseInt("11", +0) !== parseInt("11", 10)) { - $ERROR('#2: parseInt("11", +0) === parseInt("11", 10). Actual: ' + (parseInt("11", +0))); -} - -//CHECK#3 -if (parseInt("11", -0) !== parseInt("11", 10)) { - $ERROR('#3: parseInt("11", -0) === parseInt("11", 10). Actual: ' + (parseInt("11", -0))); -} - -//CHECK#4 -if (parseInt("11", Number.POSITIVE_INFINITY) !== parseInt("11", 10)) { - $ERROR('#4: parseInt("11", Number.POSITIVE_INFINITY) === parseInt("11", 10). Actual: ' + (parseInt("11", Number.POSITIVE_INFINITY))); -} - -//CHECK#5 -if (parseInt("11", Number.NEGATIVE_INFINITY) !== parseInt("11", 10)) { - $ERROR('#5: parseInt("11", Number.NEGATIVE_INFINITY) === parseInt("11", 10). Actual: ' + (parseInt("11", Number.NEGATIVE_INFINITY))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T2.js deleted file mode 100644 index 3fcaf090e3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.2_T2; - * @section: 15.1.2.2; - * @assertion: Operator use ToInt32; - * @description: ToInt32 use floor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T2.js", - -assertion: "Operator use ToInt32", - -description: "ToInt32 use floor", - -test: function testcase() { - //CHECK#1 -if (parseInt("11", 2.1) !== parseInt("11", 2)) { - $ERROR('#1: parseInt("11", 2.1) === parseInt("11", 2). Actual: ' + (parseInt("11", 2.1))); -} - -//CHECK#2 -if (parseInt("11", 2.5) !== parseInt("11", 2)) { - $ERROR('#2: parseInt("11", 2.5) === parseInt("11", 2). Actual: ' + (parseInt("11", 2.5))); -} - -//CHECK#3 -if (parseInt("11", 2.9) !== parseInt("11", 2)) { - $ERROR('#3: parseInt("11", 2.9) === parseInt("11", 2). Actual: ' + (parseInt("11", 2.9))); -} - -//CHECK#4 -if (parseInt("11", 2.000000000001) !== parseInt("11", 2)) { - $ERROR('#4: parseInt("11", 2.000000000001) === parseInt("11", 2). Actual: ' + (parseInt("11", 2.000000000001))); -} - -//CHECK#5 -if (parseInt("11", 2.999999999999) !== parseInt("11", 2)) { - $ERROR('#5: parseInt("11", 2.999999999999) === parseInt("11", 2). Actual: ' + (parseInt("11", 2.999999999999))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T3.js deleted file mode 100644 index 2fb977fde7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A3.2_T3; - * @section: 15.1.2.2; - * @assertion: Operator use ToInt32; - * @description: ToInt32 use modulo; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A3.2_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A3.2_T3.js", - -assertion: "Operator use ToInt32", - -description: "ToInt32 use modulo", - -test: function testcase() { - //CHECK#1 -if (parseInt("11", 4294967298) !== parseInt("11", 2)) { - $ERROR('#1: parseInt("11", 4294967298) === parseInt("11", 2). Actual: ' + (parseInt("11", 4294967298))); -} - -//CHECK#2 -if (parseInt("11", 4294967296) !== parseInt("11", 10)) { - $ERROR('#2: parseInt("11", 4294967296) === parseInt("11", 10). Actual: ' + (parseInt("11", 4294967296))); -} - -//CHECK#3 -if (isNaN(parseInt("11", -2147483650)) !== true) { - $ERROR('#3: parseInt("11", 2147483650) === Not-a-Number. Actual: ' + (parseInt("11", 2147483650))); -} - -//CHECK#4 -if (parseInt("11", -4294967294) !== parseInt("11", 2)) { - $ERROR('#4: parseInt("11", -4294967294) === parseInt("11", 2). Actual: ' + (parseInt("11", -4294967294))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T1.js deleted file mode 100644 index e6be92e14f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T1.js +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A4.1_T1; - * @section: 15.1.2.2; - * @assertion: If R = 0 or R = undefined, then R = 10; - * @description: R = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A4.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T1.js", - -assertion: "If R = 0 or R = undefined, then R = 10", - -description: "R = 0", - -test: function testcase() { - //CHECK#0 -if (parseInt("0", 0) !== parseInt("0", 10)) { - $ERROR('#0: parseInt("0", 0) === parseInt("0", 10). Actual: ' + (parseInt("0", 0))); -} - -//CHECK#1 -if (parseInt("1", 0) !== parseInt("1", 10)) { - $ERROR('#1: parseInt("1", 0) === parseInt("01", 10). Actual: ' + (parseInt("1", 0))); -} - -//CHECK#2 -if (parseInt("2", 0) !== parseInt("2", 10)) { - $ERROR('#2: parseInt("2", 0) === parseInt("2", 10). Actual: ' + (parseInt("2", 0))); -} - -//CHECK#3 -if (parseInt("3", 0) !== parseInt("3", 10)) { - $ERROR('#3: parseInt("3", 0) === parseInt("3", 10). Actual: ' + (parseInt("3", 0))); -} - -//CHECK#4 -if (parseInt("4", 0) !== parseInt("4", 10)) { - $ERROR('#4: parseInt("4", 0) === parseInt(4", 10). Actual: ' + (parseInt("4", 0))); -} - -//CHECK#5 -if (parseInt("5", 0) !== parseInt("5", 10)) { - $ERROR('#5: parseInt("5", 0) === parseInt("5", 10). Actual: ' + (parseInt("5", 0))); -} - -//CHECK#6 -if (parseInt("6", 0) !== parseInt("6", 10)) { - $ERROR('#6: parseInt("6", 0) === parseInt("6", 10). Actual: ' + (parseInt("6", 0))); -} - -//CHECK#7 -if (parseInt("7", 0) !== parseInt("7", 10)) { - $ERROR('#7: parseInt("7", 0) === parseInt("7", 10). Actual: ' + (parseInt("7", 0))); -} - -//CHECK#8 -if (parseInt("8", 0) !== parseInt("8", 10)) { - $ERROR('#8: parseInt("8", 0) === parseInt("8", 10). Actual: ' + (parseInt("8", 0))); -} - -//CHECK#9 -if (parseInt("9", 0) !== parseInt("9", 10)) { - $ERROR('#9: parseInt("9", 0) === parseInt("9", 10). Actual: ' + (parseInt("9", 0))); -} - -//CHECK#10 -if (parseInt("10", 0) !== parseInt("10", 10)) { - $ERROR('#10: parseInt("10", 0) === parseInt("10", 10). Actual: ' + (parseInt("10", 0))); -} - -//CHECK#11 -if (parseInt("11", 0) !== parseInt("11", 10)) { - $ERROR('#11: parseInt("11", 0) === parseInt("11", 10). Actual: ' + (parseInt("11", 0))); -} - -//CHECK#12 -if (parseInt("9999", 0) !== parseInt("9999", 10)) { - $ERROR('#12: parseInt("9999", 0) === parseInt("9999", 10). Actual: ' + (parseInt("9999", 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T2.js deleted file mode 100644 index d8c648a288..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T2.js +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A4.1_T2; - * @section: 15.1.2.2; - * @assertion: If R = 0 or R = undefined, then R = 10; - * @description: R = undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A4.1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.1_T2.js", - -assertion: "If R = 0 or R = undefined, then R = 10", - -description: "R = undefined", - -test: function testcase() { - //CHECK#0 -if (parseInt("0") !== parseInt("0", 10)) { - $ERROR('#0: parseInt("0") === parseInt("0", 10). Actual: ' + (parseInt("0"))); -} - -//CHECK#1 -if (parseInt("1") !== parseInt("1", 10)) { - $ERROR('#1: parseInt("1") === parseInt("01", 10). Actual: ' + (parseInt("1"))); -} - -//CHECK#2 -if (parseInt("2") !== parseInt("2", 10)) { - $ERROR('#2: parseInt("2") === parseInt("2", 10). Actual: ' + (parseInt("2"))); -} - -//CHECK#3 -if (parseInt("3") !== parseInt("3", 10)) { - $ERROR('#3: parseInt("3") === parseInt("3", 10). Actual: ' + (parseInt("3"))); -} - -//CHECK#4 -if (parseInt("4") !== parseInt("4", 10)) { - $ERROR('#4: parseInt("4") === parseInt(4", 10). Actual: ' + (parseInt("4"))); -} - -//CHECK#5 -if (parseInt("5") !== parseInt("5", 10)) { - $ERROR('#5: parseInt("5") === parseInt("5", 10). Actual: ' + (parseInt("5"))); -} - -//CHECK#6 -if (parseInt("6") !== parseInt("6", 10)) { - $ERROR('#6: parseInt("6") === parseInt("6", 10). Actual: ' + (parseInt("6"))); -} - -//CHECK#7 -if (parseInt("7") !== parseInt("7", 10)) { - $ERROR('#7: parseInt("7") === parseInt("7", 10). Actual: ' + (parseInt("7"))); -} - -//CHECK#8 -if (parseInt("8") !== parseInt("8", 10)) { - $ERROR('#8: parseInt("8") === parseInt("8", 10). Actual: ' + (parseInt("8"))); -} - -//CHECK#9 -if (parseInt("9") !== parseInt("9", 10)) { - $ERROR('#9: parseInt("9") === parseInt("9", 10). Actual: ' + (parseInt("9"))); -} - -//CHECK#10 -if (parseInt("10") !== parseInt("10", 10)) { - $ERROR('#10: parseInt("10") === parseInt("10", 10). Actual: ' + (parseInt("10"))); -} - -//CHECK#11 -if (parseInt("11") !== parseInt("11", 10)) { - $ERROR('#11: parseInt("11") === parseInt("11", 10). Actual: ' + (parseInt("11"))); -} - -//CHECK#12 -if (parseInt("9999") !== parseInt("9999", 10)) { - $ERROR('#12: parseInt("9999") === parseInt("9999", 10). Actual: ' + (parseInt("9999"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T1.js deleted file mode 100644 index 30caa7d762..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T1.js +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A4.2_T1; - * @section: 15.1.2.2; - * @assertion: If R < 2 or R > 36, then return NaN; - * @description: R = 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A4.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T1.js", - -assertion: "If R < 2 or R > 36, then return NaN", - -description: "R = 1", - -test: function testcase() { - //CHECK#0 -if (isNaN(parseInt("0", 1)) !== true) { - $ERROR('#0: parseInt("0", 1) === Not-a-Number. Actual: ' + (parseInt("0", 1))); -} - -//CHECK#1 -if (isNaN(parseInt("1", 1)) !== true) { - $ERROR('#1: parseInt("1", 1) === Not-a-Number. Actual: ' + (parseInt("1", 1))); -} - -//CHECK#2 -if (isNaN(parseInt("2", 1)) !== true) { - $ERROR('#2: parseInt("2", 1) === Not-a-Number. Actual: ' + (parseInt("2", 1))); -} - -//CHECK#3 -if (isNaN(parseInt("3", 1)) !== true) { - $ERROR('#3: parseInt("3", 1) === Not-a-Number. Actual: ' + (parseInt("3", 1))); -} - -//CHECK#4 -if (isNaN(parseInt("4", 1)) !== true) { - $ERROR('#4: parseInt("4", 1) === Not-a-Number. Actual: ' + (parseInt("4", 1))); -} - -//CHECK#5 -if (isNaN(parseInt("5", 1)) !== true) { - $ERROR('#5: parseInt("5", 1) === Not-a-Number. Actual: ' + (parseInt("5", 1))); -} - -//CHECK#6 -if (isNaN(parseInt("6", 1)) !== true) { - $ERROR('#6: parseInt("6", 1) === Not-a-Number. Actual: ' + (parseInt("6", 1))); -} - -//CHECK#7 -if (isNaN(parseInt("7", 1)) !== true) { - $ERROR('#7: parseInt("7", 1) === Not-a-Number. Actual: ' + (parseInt("7", 1))); -} - -//CHECK#8 -if (isNaN(parseInt("8", 1)) !== true) { - $ERROR('#8: parseInt("8", 1) === Not-a-Number. Actual: ' + (parseInt("8", 1))); -} - -//CHECK#9 -if (isNaN(parseInt("9", 1)) !== true) { - $ERROR('#9: parseInt("9", 1) === Not-a-Number. Actual: ' + (parseInt("9", 1))); -} - -//CHECK#10 -if (isNaN(parseInt("10", 1)) !== true) { - $ERROR('#10: parseInt("10", 1) === Not-a-Number. Actual: ' + (parseInt("10", 1))); -} - -//CHECK#11 -if (isNaN(parseInt("11", 1)) !== true) { - $ERROR('#11: parseInt("11", 1) === Not-a-Number. Actual: ' + (parseInt("11", 1))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T2.js deleted file mode 100644 index b405148802..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T2.js +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A4.2_T2; - * @section: 15.1.2.2; - * @assertion: If R < 2 or R > 36, then return NaN; - * @description: R = 37; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A4.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T2.js", - -assertion: "If R < 2 or R > 36, then return NaN", - -description: "R = 37", - -test: function testcase() { - //CHECK#0 -if (isNaN(parseInt("0", 37)) !== true) { - $ERROR('#0: parseInt("0", 37) === Not-a-Number. Actual: ' + (parseInt("0", 37))); -} - -//CHECK#1 -if (isNaN(parseInt("1", 37)) !== true) { - $ERROR('#1: parseInt("1", 37) === Not-a-Number. Actual: ' + (parseInt("1", 37))); -} - -//CHECK#2 -if (isNaN(parseInt("2", 37)) !== true) { - $ERROR('#2: parseInt("2", 37) === Not-a-Number. Actual: ' + (parseInt("2", 37))); -} - -//CHECK#3 -if (isNaN(parseInt("3", 37)) !== true) { - $ERROR('#3: parseInt("3", 37) === Not-a-Number. Actual: ' + (parseInt("3", 37))); -} - -//CHECK#4 -if (isNaN(parseInt("4", 37)) !== true) { - $ERROR('#4: parseInt("4", 37) === Not-a-Number. Actual: ' + (parseInt("4", 37))); -} - -//CHECK#5 -if (isNaN(parseInt("5", 37)) !== true) { - $ERROR('#5: parseInt("5", 37) === Not-a-Number. Actual: ' + (parseInt("5", 37))); -} - -//CHECK#6 -if (isNaN(parseInt("6", 37)) !== true) { - $ERROR('#6: parseInt("6", 37) === Not-a-Number. Actual: ' + (parseInt("6", 37))); -} - -//CHECK#7 -if (isNaN(parseInt("7", 37)) !== true) { - $ERROR('#7: parseInt("7", 37) === Not-a-Number. Actual: ' + (parseInt("7", 37))); -} - -//CHECK#8 -if (isNaN(parseInt("8", 37)) !== true) { - $ERROR('#8: parseInt("8", 37) === Not-a-Number. Actual: ' + (parseInt("8", 37))); -} - -//CHECK#9 -if (isNaN(parseInt("9", 37)) !== true) { - $ERROR('#9: parseInt("9", 37) === Not-a-Number. Actual: ' + (parseInt("9", 37))); -} - -//CHECK#10 -if (isNaN(parseInt("10", 37)) !== true) { - $ERROR('#10: parseInt("10", 37) === Not-a-Number. Actual: ' + (parseInt("10", 37))); -} - -//CHECK#11 -if (isNaN(parseInt("11", 37)) !== true) { - $ERROR('#11: parseInt("11", 37) === Not-a-Number. Actual: ' + (parseInt("11", 37))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js deleted file mode 100644 index ab1f2802e0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A4.2_T3; - * @section: 15.1.2.2; - * @assertion: If R < 2 or R > 36, then return NaN; - * @description: Complex test; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A4.2_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js", - -assertion: "If R < 2 or R > 36, then return NaN", - -description: "Complex test", - -test: function testcase() { - //CHECK# -var pow = 2; -for (var i = 1; i < 32; i++) { - if (pow > 36) { - var res = true; - if (isNaN(parseInt(1, pow)) !== true) { - $ERROR('#1.' + i + ': If R < 2 or R > 36, then return NaN'); - } - if (isNaN(parseInt(1, -pow)) !== true) { - $ERROR('#2.' + i + ': If R < 2 or R > 36, then return NaN'); - } - } - pow = pow * 2; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.1_T1.js deleted file mode 100644 index 7eaf10f733..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.1_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A5.1_T1; - * @section: 15.1.2.2; - * @assertion: If the length of S is at least 1 and the first character of S is 0, - * then at the implementation's discretion either let R = 8 or R = 10; - * @description: Either R = 8, or R = 10; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A5.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.1_T1.js", - -assertion: "If the length of S is at least 1 and the first character of S is 0,", - -description: "Either R = 8, or R = 10", - -test: function testcase() { - //CHECK# -var res8 = 1; -var res10 = 1; -if (parseInt("08") !== parseInt("08", 8)) { - res8 = 0; -} -if (parseInt("08") !== parseInt("08", 10)) { - res10 = 0; -} -if (parseInt("09") !== parseInt("09", 8)) { - res8 = 0; -} -if (parseInt("09") !== parseInt("09", 10)) { - res10 = 0; -} -if (parseInt("010") !== parseInt("010", 8)) { - res8 = 0; -} -if (parseInt("010") !== parseInt("010", 10)) { - res10 = 0; -} -if (res8 + res10 !== 1) { - $ERROR('#1: If the length of S is at least 1 and the first character of S is 0, then at the implementation\'s discretion either let R = 8 or R = 10'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T1.js deleted file mode 100644 index 1736180f86..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T1.js +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A5.2_T1; - * @section: 15.1.2.2; - * @assertion: If the length of S is at least 2 and the first two characters of S - * are either 0x or 0X, then remove the first two characters from S and let R = 16; - * @description: : 0x; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A5.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T1.js", - -assertion: "If the length of S is at least 2 and the first two characters of S", - -description: ": 0x", - -test: function testcase() { - //CHECK#0 -if (parseInt("0x0", 0) !== parseInt("0", 16)) { - $ERROR('#0: parseInt("0x0", 0) === parseInt("0", 16). Actual: ' + (parseInt("0x0", 0))); -} - -//CHECK#1 -if (parseInt("0x1", 0) !== parseInt("1", 16)) { - $ERROR('#1: parseInt("0x1", 0) === parseInt("1", 16). Actual: ' + (parseInt("0x1", 0))); -} - -//CHECK#2 -if (parseInt("0x2", 0) !== parseInt("2", 16)) { - $ERROR('#2: parseInt("0x2", 0) === parseInt("2", 16). Actual: ' + (parseInt("0x2", 0))); -} - -//CHECK#3 -if (parseInt("0x3", 0) !== parseInt("3", 16)) { - $ERROR('#3: parseInt("0x3", 0) === parseInt("3", 16). Actual: ' + (parseInt("0x3", 0))); -} - -//CHECK#4 -if (parseInt("0x4", 0) !== parseInt("4", 16)) { - $ERROR('#4: parseInt("0x4", 0) === parseInt("4", 16). Actual: ' + (parseInt("0x4", 0))); -} - -//CHECK#5 -if (parseInt("0x5", 0) !== parseInt("5", 16)) { - $ERROR('#5: parseInt("0x5", 0) === parseInt("5", 16). Actual: ' + (parseInt("0x5", 0))); -} - -//CHECK#6 -if (parseInt("0x6", 0) !== parseInt("6", 16)) { - $ERROR('#6: parseInt("0x6", 0) === parseInt("6", 16). Actual: ' + (parseInt("0x6", 0))); -} - -//CHECK#7 -if (parseInt("0x7", 0) !== parseInt("7", 16)) { - $ERROR('#7: parseInt("0x7", 0) === parseInt("7", 16). Actual: ' + (parseInt("0x7", 0))); -} - -//CHECK#8 -if (parseInt("0x8", 0) !== parseInt("8", 16)) { - $ERROR('#8: parseInt("0x8", 0) === parseInt("8", 16). Actual: ' + (parseInt("0x8", 0))); -} - -//CHECK#9 -if (parseInt("0x9", 0) !== parseInt("9", 16)) { - $ERROR('#9: parseInt("0x9", 0) === parseInt("9", 16). Actual: ' + (parseInt("0x9", 0))); -} - -//CHECK#A -if (parseInt("0xA", 0) !== parseInt("A", 16)) { - $ERROR('#A: parseInt("0xA", 0) === parseInt("A", 16). Actual: ' + (parseInt("0xA", 0))); -} - -//CHECK#B -if (parseInt("0xB", 0) !== parseInt("B", 16)) { - $ERROR('#B: parseInt("0xB", 0) === parseInt("B", 16). Actual: ' + (parseInt("0xB", 0))); -} - -//CHECK#C -if (parseInt("0xC", 0) !== parseInt("C", 16)) { - $ERROR('#C: parseInt("0xC", 0) === parseInt("C", 16). Actual: ' + (parseInt("0xC", 0))); -} - -//CHECK#D -if (parseInt("0xD", 0) !== parseInt("D", 16)) { - $ERROR('#D: parseInt("0xD", 0) === parseInt("D", 16). Actual: ' + (parseInt("0xD", 0))); -} - -//CHECK#E -if (parseInt("0xE", 0) !== parseInt("E", 16)) { - $ERROR('#E: parseInt("0xE", 0) === parseInt("E", 16). Actual: ' + (parseInt("0xE", 0))); -} - -//CHECK#F -if (parseInt("0xF", 0) !== parseInt("F", 16)) { - $ERROR('#F: parseInt("0xF", 0) === parseInt("F", 16). Actual: ' + (parseInt("0xF", 0))); -} - -//CHECK#E -if (parseInt("0xE", 0) !== parseInt("E", 16)) { - $ERROR('#E: parseInt("0xE", 0) === parseInt("E", 16). Actual: ' + (parseInt("0xE", 0))); -} - -//CHECK#ABCDEF -if (parseInt("0xABCDEF", 0) !== parseInt("ABCDEF", 16)) { - $ERROR('#ABCDEF: parseInt("0xABCDEF", 0) === parseInt("ABCDEF", 16). Actual: ' + (parseInt("0xABCDEF", 0))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T2.js deleted file mode 100644 index 0017b3e7b4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T2.js +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A5.2_T2; - * @section: 15.1.2.2; - * @assertion: If the length of S is at least 2 and the first two characters of S - * are either 0x or 0X, then remove the first two characters from S and let R = 16; - * @description: : 0X; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A5.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A5.2_T2.js", - -assertion: "If the length of S is at least 2 and the first two characters of S", - -description: ": 0X", - -test: function testcase() { - //CHECK#0 -if (parseInt("0X0", 0) !== parseInt("0", 16)) { - $ERROR('#0: parseInt("0X0", 0) === parseInt("0", 16). Actual: ' + (parseInt("0X0", 0))); -} - -//CHECK#1 -if (parseInt("0X1") !== parseInt("1", 16)) { - $ERROR('#1: parseInt("0X1") === parseInt("1", 16). Actual: ' + (parseInt("0X1"))); -} - -//CHECK#2 -if (parseInt("0X2") !== parseInt("2", 16)) { - $ERROR('#2: parseInt("0X2") === parseInt("2", 16). Actual: ' + (parseInt("0X2"))); -} - -//CHECK#3 -if (parseInt("0X3") !== parseInt("3", 16)) { - $ERROR('#3: parseInt("0X3") === parseInt("3", 16). Actual: ' + (parseInt("0X3"))); -} - -//CHECK#4 -if (parseInt("0X4") !== parseInt("4", 16)) { - $ERROR('#4: parseInt("0X4") === parseInt("4", 16). Actual: ' + (parseInt("0X4"))); -} - -//CHECK#5 -if (parseInt("0X5") !== parseInt("5", 16)) { - $ERROR('#5: parseInt("0X5") === parseInt("5", 16). Actual: ' + (parseInt("0X5"))); -} - -//CHECK#6 -if (parseInt("0X6") !== parseInt("6", 16)) { - $ERROR('#6: parseInt("0X6") === parseInt("6", 16). Actual: ' + (parseInt("0X6"))); -} - -//CHECK#7 -if (parseInt("0X7") !== parseInt("7", 16)) { - $ERROR('#7: parseInt("0X7") === parseInt("7", 16). Actual: ' + (parseInt("0X7"))); -} - -//CHECK#8 -if (parseInt("0X8") !== parseInt("8", 16)) { - $ERROR('#8: parseInt("0X8") === parseInt("8", 16). Actual: ' + (parseInt("0X8"))); -} - -//CHECK#9 -if (parseInt("0X9") !== parseInt("9", 16)) { - $ERROR('#9: parseInt("0X9") === parseInt("9", 16). Actual: ' + (parseInt("0X9"))); -} - -//CHECK#A -if (parseInt("0XA") !== parseInt("A", 16)) { - $ERROR('#A: parseInt("0XA") === parseInt("A", 16). Actual: ' + (parseInt("0XA"))); -} - -//CHECK#B -if (parseInt("0XB") !== parseInt("B", 16)) { - $ERROR('#B: parseInt("0XB") === parseInt("B", 16). Actual: ' + (parseInt("0XB"))); -} - -//CHECK#C -if (parseInt("0XC") !== parseInt("C", 16)) { - $ERROR('#C: parseInt("0XC") === parseInt("C", 16). Actual: ' + (parseInt("0XC"))); -} - -//CHECK#D -if (parseInt("0XD") !== parseInt("D", 16)) { - $ERROR('#D: parseInt("0XD") === parseInt("D", 16). Actual: ' + (parseInt("0XD"))); -} - -//CHECK#E -if (parseInt("0XE") !== parseInt("E", 16)) { - $ERROR('#E: parseInt("0XE") === parseInt("E", 16). Actual: ' + (parseInt("0XE"))); -} - -//CHECK#F -if (parseInt("0XF") !== parseInt("F", 16)) { - $ERROR('#F: parseInt("0XF") === parseInt("F", 16). Actual: ' + (parseInt("0XF"))); -} - -//CHECK#E -if (parseInt("0XE") !== parseInt("E", 16)) { - $ERROR('#E: parseInt("0XE") === parseInt("E", 16). Actual: ' + (parseInt("0XE"))); -} - -//CHECK#ABCDEF -if (parseInt("0XABCDEF") !== parseInt("ABCDEF", 16)) { - $ERROR('#ABCDEF: parseInt("0XABCDEF") === parseInt("ABCDEF", 16). Actual: ' + (parseInt("0XABCDEF"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T1.js deleted file mode 100644 index 87461cc36b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A6.1_T1; - * @section: 15.1.2.2; - * @assertion: If S contains any character that is not a radix-R digit, - * then let Z be the substring of S consisting of all characters before - * the first such character; otherwise, let Z be S; - * @description: Complex test. R in [2, 36]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A6.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T1.js", - -assertion: "If S contains any character that is not a radix-R digit,", - -description: "Complex test. R in [2, 36]", - -test: function testcase() { - //CHECK# -for (var i = 2; i <= 36; i++) { - if (parseInt("10$1", i) !== i) { - $ERROR('#' + i +': i = ' + i + 'parseInt("10$1", i) === i. Actual: ' + (parseInt("10$1", i))); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T2.js deleted file mode 100644 index e9d64788f8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A6.1_T2; - * @section: 15.1.2.2; - * @assertion: If S contains any character that is not a radix-R digit, - * then let Z be the substring of S consisting of all characters before - * the first such character; otherwise, let Z be S; - * @description: Complex test. Radix-R notation in [0..9, A-Z]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A6.1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T2.js", - -assertion: "If S contains any character that is not a radix-R digit,", - -description: "Complex test. Radix-R notation in [0..9, A-Z]", - -test: function testcase() { - //CHECK# -var R_digit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; -for (var i = 2; i <= 36; i++) { - if (parseInt(R_digit[i - 2] + "$", i) !== i - 1) { - $ERROR('#' + i + ': '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T3.js deleted file mode 100644 index 52e39a7d0c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A6.1_T3; - * @section: 15.1.2.2; - * @assertion: If S contains any character that is not a radix-R digit, - * then let Z be the substring of S consisting of all characters before - * the first such character; otherwise, let Z be S; - * @description: Complex test. Radix-R notation in [0..9, a-z]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A6.1_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T3.js", - -assertion: "If S contains any character that is not a radix-R digit,", - -description: "Complex test. Radix-R notation in [0..9, a-z]", - -test: function testcase() { - //CHECK# -var R_digit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; -for (var i = 2; i <= 36; i++) { - if (parseInt(R_digit[i - 2] + "$", i) !== i - 1) { - $ERROR('#' + i + ': '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T4.js deleted file mode 100644 index ad303451db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A6.1_T4; - * @section: 15.1.2.2; - * @assertion: If S contains any character that is not a radix-R digit, - * then let Z be the substring of S consisting of all characters before - * the first such character; otherwise, let Z be S; - * @description: Complex test. Radix-R notation in [0..9, A-Z]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A6.1_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T4.js", - -assertion: "If S contains any character that is not a radix-R digit,", - -description: "Complex test. Radix-R notation in [0..9, A-Z]", - -test: function testcase() { - //CHECK# -var R_digit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; -for (var i = 2; i <= 35; i++) { - if (parseInt(R_digit[i - 2] + R_digit[i - 1], i) !== i - 1) { - $ERROR('#' + i + ': '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T5.js deleted file mode 100644 index 888914cff6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A6.1_T5; - * @section: 15.1.2.2; - * @assertion: If S contains any character that is not a radix-R digit, - * then let Z be the substring of S consisting of all characters before - * the first such character; otherwise, let Z be S; - * @description: Complex test. Radix-R notation in [0..9, a-z]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A6.1_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T5.js", - -assertion: "If S contains any character that is not a radix-R digit,", - -description: "Complex test. Radix-R notation in [0..9, a-z]", - -test: function testcase() { - //CHECK# -var R_digit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; -for (var i = 2; i <= 35; i++) { - if (parseInt(R_digit[i - 2] + R_digit[i - 1], i) !== i - 1) { - $ERROR('#' + i + ': '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T6.js deleted file mode 100644 index 4298010ffb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T6.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A6.1_T6; - * @section: 15.1.2.2; - * @assertion: If S contains any character that is not a radix-R digit, - * then let Z be the substring of S consisting of all characters before - * the first such character; otherwise, let Z be S; - * @description: Complex test. Radix-R notation in [0..9]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A6.1_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A6.1_T6.js", - -assertion: "If S contains any character that is not a radix-R digit,", - -description: "Complex test. Radix-R notation in [0..9]", - -test: function testcase() { - //CHECK#2 -if (parseInt("0123456789", 2) !== 1) { - $ERROR('#2: parseInt("0123456789", 2) === 1. Actual: ' + (parseInt("0123456789", 2))); -} - -//CHECK#3 -if (parseInt("01234567890", 3) !== 5) { - $ERROR('#3: parseInt("01234567890", 3) === 5. Actual: ' + (parseInt("01234567890", 3))); -} - -//CHECK#4 -if (parseInt("01234567890", 4) !== 27) { - $ERROR('#4: parseInt("01234567890", 4) === 27. Actual: ' + (parseInt("01234567890", 4))); -} - -//CHECK#5 -if (parseInt("01234567890", 5) !== 194) { - $ERROR('#5: parseInt("01234567890", 5) === 194. Actual: ' + (parseInt("01234567890", 5))); -} - -//CHECK#6 -if (parseInt("01234567890", 6) !== 1865) { - $ERROR('#6: parseInt("01234567890", 6) === 1865. Actual: ' + (parseInt("01234567890", 6))); -} - -//CHECK#7 -if (parseInt("01234567890", 7) !== 22875) { - $ERROR('#7: parseInt("01234567890", 7) === 22875. Actual: ' + (parseInt("01234567890", 7))); -} - -//CHECK#8 -if (parseInt("01234567890", 8) !== 342391) { - $ERROR('#8: parseInt("01234567890", 8) === 342391. Actual: ' + (parseInt("01234567890", 8))); -} - -//CHECK#9 -if (parseInt("01234567890", 9) !== 6053444) { - $ERROR('#9: parseInt("01234567890", 9) === 6053444. Actual: ' + (parseInt("01234567890", 9))); -} - -//CHECK#10 -if (parseInt("01234567890", 10) !== Number(1234567890)) { - $ERROR('#10: parseInt("01234567890", 10) === Number(1234567890). Actual: ' + (parseInt("01234567890", 10))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T1.js deleted file mode 100644 index 34646e10d6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A7.1_T1; - * @section: 15.1.2.2; - * @assertion: If Z is empty, return NaN; - * @description: Complex test. R in [2, 36]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A7.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T1.js", - -assertion: "If Z is empty, return NaN", - -description: "Complex test. R in [2, 36]", - -test: function testcase() { - //CHECK# -for (var i = 2; i <= 36; i++) { - if (isNaN(parseInt("$string", i)) !== true) { - $ERROR('#' + i + ': parseInt("$string", i) === Not-a-Number. Actual: ' + (parseInt("$string", i))); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T2.js deleted file mode 100644 index f1778da1c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A7.1_T2; - * @section: 15.1.2.2; - * @assertion: If Z is empty, return NaN; - * @description: x is not a radix-R digit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A7.1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.1_T2.js", - -assertion: "If Z is empty, return NaN", - -description: "x is not a radix-R digit", - -test: function testcase() { - //CHECK#1 -if (isNaN(parseInt("$0x")) !== true) { - $ERROR('#1: parseInt("$0x") === Not-a-Number. Actual: ' + (parseInt("$0x"))); -} - -//CHECK#2 -if (isNaN(parseInt("$0X")) !== true) { - $ERROR('#2: parseInt("$0X") === Not-a-Number. Actual: ' + (parseInt("$0X"))); -} - -//CHECK#3 -if (isNaN(parseInt("$$$")) !== true) { - $ERROR('#3: parseInt("$$$") === Not-a-Number. Actual: ' + (parseInt("$$$"))); -} - -//CHECK#4 -if (isNaN(parseInt("")) !== true) { - $ERROR('#4: parseInt("") === Not-a-Number. Actual: ' + (parseInt(""))); -} - -//CHECK#5 -if (isNaN(parseInt(" ")) !== true) { - $ERROR('#5: parseInt(" ") === Not-a-Number. Actual: ' + (parseInt(" "))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T1.js deleted file mode 100644 index 3366dce847..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T1.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A7.2_T1; - * @section: 15.1.2.2; - * @assertion: Compute the mathematical integer value - * that is represented by Z in radix-R notation, using the - * letters A-Z and a-z for digits with values 10 through 35. - * Compute the number value for Result(16); - * @description: Complex test. Check algorithm; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A7.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T1.js", - -assertion: "Compute the mathematical integer value", - -description: "Complex test. Check algorithm", - -test: function testcase() { - //CHECK# -var R_digit1 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; -var R_digit2 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; -for (var i = 2; i <= 36; i++) { - for (var j = 0; j < 10; j++) { - var str = ""; - var num = 0; - var pow = 1; - var k0 = Math.max(2, i - j); - for (var k = k0; k <= i; k++) { - if (k % 2 === 0) { - str = str + R_digit1[k - 2]; - } else { - str = str + R_digit2[k - 2]; - } - num = num + (i + (k0 - k) - 1) * pow; - pow = pow * i; - } - if (parseInt(str, i) !== num) { - $ERROR('#' + i + '.' + j + ' : '); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T2.js deleted file mode 100644 index fdb08b076e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T2.js +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A7.2_T2; - * @section: 15.1.2.2; - * @assertion: Compute the mathematical integer value - * that is represented by Z in radix-R notation, using the - * letters A-Z and a-z for digits with values 10 through 35. - * Compute the number value for Result(16); - * @description: Checking algorithm for R = 2; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A7.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T2.js", - -assertion: "Compute the mathematical integer value", - -description: "Checking algorithm for R = 2", - -test: function testcase() { - //CHECK#1 -if (parseInt("1", 2) !== 1) { - $ERROR('#1: parseInt("1", 2) === 1. Actual: ' + (parseInt("1", 2))); -} - -//CHECK#2 -if (parseInt("11", 2) !== 3) { - $ERROR('#2: parseInt("11", 2) === 3. Actual: ' + (parseInt("11", 2))); -} - -//CHECK#3 -if (parseInt("111", 2) !== 7) { - $ERROR('#3: parseInt("111", 2) === 7. Actual: ' + (parseInt("111", 2))); -} - -//CHECK#4 -if (parseInt("1111", 2) !== 15) { - $ERROR('#4: parseInt("1111", 2) === 15. Actual: ' + (parseInt("1111", 2))); -} - -//CHECK#5 -if (parseInt("11111", 2) !== 31) { - $ERROR('#5: parseInt("11111", 2) === 31. Actual: ' + (parseInt("11111", 2))); -} - -//CHECK#6 -if (parseInt("111111", 2) !== 63) { - $ERROR('#6: parseInt("111111", 2) === 63. Actual: ' + (parseInt("111111", 2))); -} - -//CHECK#7 -if (parseInt("1111111", 2) !== 127) { - $ERROR('#7: parseInt("1111111", 2) === 127. Actual: ' + (parseInt("1111111", 2))); -} - -//CHECK#8 -if (parseInt("11111111", 2) !== 255) { - $ERROR('#8: parseInt("11111111", 2) === 255. Actual: ' + (parseInt("11111111", 2))); -} - -//CHECK#9 -if (parseInt("111111111", 2) !== 511) { - $ERROR('#9: parseInt("111111111", 2) === 511. Actual: ' + (parseInt("111111111", 2))); -} - -//CHECK#10 -if (parseInt("1111111111", 2) !== 1023) { - $ERROR('#10: parseInt("1111111111", 2) === 1023. Actual: ' + (parseInt("1111111111", 2))); -} - -//CHECK#11 -if (parseInt("11111111111", 2) !== 2047) { - $ERROR('#11: parseInt("11111111111", 2) === 2047. Actual: ' + (parseInt("11111111111", 2))); -} - -//CHECK#12 -if (parseInt("111111111111", 2) !== 4095) { - $ERROR('#12: parseInt("111111111111", 2) === 4095. Actual: ' + (parseInt("111111111111", 2))); -} - -//CHECK#13 -if (parseInt("1111111111111", 2) !== 8191) { - $ERROR('#13: parseInt("1111111111111", 2) === 8191. Actual: ' + (parseInt("1111111111111", 2))); -} - -//CHECK#14 -if (parseInt("11111111111111", 2) !== 16383) { - $ERROR('#14: parseInt("11111111111111", 2) === 16383. Actual: ' + (parseInt("11111111111111", 2))); -} - -//CHECK#15 -if (parseInt("111111111111111", 2) !== 32767) { - $ERROR('#15: parseInt("111111111111111", 2) === 32767. Actual: ' + (parseInt("111111111111111", 2))); -} - -//CHECK#16 -if (parseInt("1111111111111111", 2) !== 65535) { - $ERROR('#16: parseInt("1111111111111111", 2) === 65535. Actual: ' + (parseInt("1111111111111111", 2))); -} - -//CHECK#17 -if (parseInt("11111111111111111", 2) !== 131071) { - $ERROR('#17: parseInt("11111111111111111", 2) === 131071. Actual: ' + (parseInt("11111111111111111", 2))); -} - -//CHECK#18 -if (parseInt("111111111111111111", 2) !== 262143) { - $ERROR('#18: parseInt("111111111111111111", 2) === 262143. Actual: ' + (parseInt("111111111111111111", 2))); -} - -//CHECK#19 -if (parseInt("1111111111111111111", 2) !== 524287) { - $ERROR('#19: parseInt("1111111111111111111", 2) === 524287. Actual: ' + (parseInt("1111111111111111111", 2))); -} - -//CHECK#20 -if (parseInt("11111111111111111111", 2) !== 1048575) { - $ERROR('#20: parseInt("11111111111111111111", 2) === 1048575. Actual: ' + (parseInt("11111111111111111111", 2))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T3.js deleted file mode 100644 index 5916143c71..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T3.js +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A7.2_T3; - * @section: 15.1.2.2; - * @assertion: Compute the mathematical integer value - * that is represented by Z in radix-R notation, using the - * letters A-Z and a-z for digits with values 10 through 35. - * Compute the number value for Result(16); - * @description: Checking algorithm for R = 16; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A7.2_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.2_T3.js", - -assertion: "Compute the mathematical integer value", - -description: "Checking algorithm for R = 16", - -test: function testcase() { - //CHECK#1 -if (parseInt("0x1", 16) !== 1) { - $ERROR('#1: parseInt("0x1", 16) === 1. Actual: ' + (parseInt("0x1", 16))); -} - -//CHECK#2 -if (parseInt("0X10", 16) !== 16) { - $ERROR('#2: parseInt("0X10", 16) === 16. Actual: ' + (parseInt("0X10", 16))); -} - -//CHECK#3 -if (parseInt("0x100", 16) !== 256) { - $ERROR('#3: parseInt("0x100", 16) === 256. Actual: ' + (parseInt("0x100", 16))); -} - -//CHECK#4 -if (parseInt("0X1000", 16) !== 4096) { - $ERROR('#4: parseInt("0X1000", 16) === 4096. Actual: ' + (parseInt("0X1000", 16))); -} - -//CHECK#5 -if (parseInt("0x10000", 16) !== 65536) { - $ERROR('#5: parseInt("0x10000", 16) === 65536. Actual: ' + (parseInt("0x10000", 16))); -} - -//CHECK#6 -if (parseInt("0X100000", 16) !== 1048576) { - $ERROR('#6: parseInt("x100000", 16) === 1048576. Actual: ' + (parseInt("x100000", 16))); -} - -//CHECK#7 -if (parseInt("0x1000000", 16) !== 16777216) { - $ERROR('#7: parseInt("0x1000000", 16) === 16777216. Actual: ' + (parseInt("0x1000000", 16))); -} - -//CHECK#8 -if (parseInt("0x10000000", 16) !== 268435456) { - $ERROR('#8: parseInt("0x10000000", 16) === 268435456. Actual: ' + (parseInt("0x10000000", 16))); -} - -//CHECK#9 -if (parseInt("0x100000000", 16) !== 4294967296) { - $ERROR('#9: parseInt("0x100000000", 16) === 4294967296. Actual: ' + (parseInt("0x100000000", 16))); -} - -//CHECK#10 -if (parseInt("0x1000000000", 16) !== 68719476736) { - $ERROR('#10: parseInt("0x1000000000", 16) === 68719476736. Actual: ' + (parseInt("0x1000000000", 16))); -} - -//CHECK#10 -if (parseInt("0x10000000000", 16) !== 1099511627776) { - $ERROR('#10: parseInt("0x10000000000", 16) === 1099511627776. Actual: ' + (parseInt("0x10000000000", 16))); -} - -//CHECK#12 -if (parseInt("0x100000000000", 16) !== 17592186044416) { - $ERROR('#12: parseInt("0x100000000000", 16) === 17592186044416. Actual: ' + (parseInt("0x100000000000", 16))); -} - -//CHECK#13 -if (parseInt("0x1000000000000", 16) !== 281474976710656) { - $ERROR('#13: parseInt("0x1000000000000", 16) === 281474976710656. Actual: ' + (parseInt("0x1000000000000", 16))); -} - -//CHECK#14 -if (parseInt("0x10000000000000", 16) !== 4503599627370496) { - $ERROR('#14: parseInt("0x10000000000000", 16) === 4503599627370496. Actual: ' + (parseInt("0x10000000000000", 16))); -} - -//CHECK#15 -if (parseInt("0x100000000000000", 16) !== 72057594037927936) { - $ERROR('#15: parseInt("0x100000000000000", 16) === 72057594037927936. Actual: ' + (parseInt("0x100000000000000", 16))); -} - -//CHECK#16 -if (parseInt("0x1000000000000000", 16) !== 1152921504606846976) { - $ERROR('#16: parseInt("0x1000000000000000", 16) === 1152921504606846976. Actual: ' + (parseInt("0x1000000000000000", 16))); -} - -//CHECK#17 -if (parseInt("0x10000000000000000", 16) !== 18446744073709551616) { - $ERROR('#17: parseInt("0x10000000000000000", 16) === 18446744073709551616. Actual: ' + (parseInt("0x10000000000000000", 16))); -} - -//CHECK#18 -if (parseInt("0x100000000000000000", 16) !== 295147905179352825856) { - $ERROR('#18: parseInt("0x100000000000000000", 16) === 295147905179352825856. Actual: ' + (parseInt("0x100000000000000000", 16))); -} - -//CHECK#19 -if (parseInt("0x1000000000000000000", 16) !== 4722366482869645213696) { - $ERROR('#19: parseInt("0x1000000000000000000", 16) === 4722366482869645213696. Actual: ' + (parseInt("0x1000000000000000000", 16))); -} - -//CHECK#20 -if (parseInt("0x10000000000000000000", 16) !== 75557863725914323419136) { - $ERROR('#20: parseInt("0x10000000000000000000", 16) === 75557863725914323419136. Actual: ' + (parseInt("0x10000000000000000000", 16))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T1.js deleted file mode 100644 index 99ba4100ac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A7.3_T1; - * @section: 15.1.2.2; - * @assertion: Return sign * Result(17); - * @description: Complex test. Check algorithm; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A7.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T1.js", - -assertion: "Return sign * Result(17)", - -description: "Complex test. Check algorithm", - -test: function testcase() { - //CHECK# -var R_digit1 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; -var R_digit2 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; -for (var i = 2; i <= 36; i++) { - for (var j = 0; j < 10; j++) { - var str = "+"; - var sign = 1; - if (j % 2 !== 0) { - str = "-"; - sign= -1; - } - var num = 0; - var pow = 1; - var k0 = Math.max(2, i - j); - for (var k = k0; k <= i; k++) { - if (k % 2 === 0) { - str = str + R_digit1[k - 2]; - } else { - str = str + R_digit2[k - 2]; - } - num = num + (i + (k0 - k) - 1) * pow; - pow = pow * i; - } - if (parseInt(str, i) !== num * sign) { - $ERROR('#' + i + '.' + j + ' : '); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T2.js deleted file mode 100644 index 7a5bef68b5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T2.js +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A7.3_T2; - * @section: 15.1.2.2; - * @assertion: Return sign * Result(17); - * @description: Checking algorithm for R = 2; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A7.3_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T2.js", - -assertion: "Return sign * Result(17)", - -description: "Checking algorithm for R = 2", - -test: function testcase() { - //CHECK#1 -if (parseInt("-1", 2) !== -1) { - $ERROR('#1: parseInt("-1", 2) === -1. Actual: ' + (parseInt("-1", 2))); -} - -//CHECK#2 -if (parseInt("-11", 2) !== -3) { - $ERROR('#2: parseInt("-11", 2) === -3. Actual: ' + (parseInt("-11", 2))); -} - -//CHECK#3 -if (parseInt("-111", 2) !== -7) { - $ERROR('#3: parseInt("-111", 2) === -7. Actual: ' + (parseInt("-111", 2))); -} - -//CHECK#4 -if (parseInt("-1111", 2) !== -15) { - $ERROR('#4: parseInt("-1111", 2) === -15. Actual: ' + (parseInt("-1111", 2))); -} - -//CHECK#5 -if (parseInt("-11111", 2) !== -31) { - $ERROR('#5: parseInt("-11111", 2) === -31. Actual: ' + (parseInt("-11111", 2))); -} - -//CHECK#6 -if (parseInt("-111111", 2) !== -63) { - $ERROR('#6: parseInt("-111111", 2) === -63. Actual: ' + (parseInt("-111111", 2))); -} - -//CHECK#7 -if (parseInt("-1111111", 2) !== -127) { - $ERROR('#7: parseInt("-1111111", 2) === -127. Actual: ' + (parseInt("-1111111", 2))); -} - -//CHECK#8 -if (parseInt("-11111111", 2) !== -255) { - $ERROR('#8: parseInt("-11111111", 2) === -255. Actual: ' + (parseInt("-11111111", 2))); -} - -//CHECK#9 -if (parseInt("-111111111", 2) !== -511) { - $ERROR('#9: parseInt("-111111111", 2) === -511. Actual: ' + (parseInt("-111111111", 2))); -} - -//CHECK#10 -if (parseInt("-1111111111", 2) !== -1023) { - $ERROR('#10: parseInt("-1111111111", 2) === -1023. Actual: ' + (parseInt("-1111111111", 2))); -} - -//CHECK#11 -if (parseInt("-11111111111", 2) !== -2047) { - $ERROR('#11: parseInt("-11111111111", 2) === -2047. Actual: ' + (parseInt("-11111111111", 2))); -} - -//CHECK#12 -if (parseInt("-111111111111", 2) !== -4095) { - $ERROR('#12: parseInt("-111111111111", 2) === -4095. Actual: ' + (parseInt("-111111111111", 2))); -} - -//CHECK#13 -if (parseInt("-1111111111111", 2) !== -8191) { - $ERROR('#13: parseInt("-1111111111111", 2) === -8191. Actual: ' + (parseInt("-1111111111111", 2))); -} - -//CHECK#14 -if (parseInt("-11111111111111", 2) !== -16383) { - $ERROR('#14: parseInt("-11111111111111", 2) === -16383. Actual: ' + (parseInt("-11111111111111", 2))); -} - -//CHECK#15 -if (parseInt("-111111111111111", 2) !== -32767) { - $ERROR('#15: parseInt("-111111111111111", 2) === -32767. Actual: ' + (parseInt("-111111111111111", 2))); -} - -//CHECK#16 -if (parseInt("-1111111111111111", 2) !== -65535) { - $ERROR('#16: parseInt("-1111111111111111", 2) === -65535. Actual: ' + (parseInt("-1111111111111111", 2))); -} - -//CHECK#17 -if (parseInt("-11111111111111111", 2) !== -131071) { - $ERROR('#17: parseInt("-11111111111111111", 2) === -131071. Actual: ' + (parseInt("-11111111111111111", 2))); -} - -//CHECK#18 -if (parseInt("-111111111111111111", 2) !== -262143) { - $ERROR('#18: parseInt("-111111111111111111", 2) === -262143. Actual: ' + (parseInt("-111111111111111111", 2))); -} - -//CHECK#19 -if (parseInt("-1111111111111111111", 2) !== -524287) { - $ERROR('#19: parseInt("-1111111111111111111", 2) === -524287. Actual: ' + (parseInt("-1111111111111111111", 2))); -} - -//CHECK#20 -if (parseInt("-11111111111111111111", 2) !== -1048575) { - $ERROR('#20: parseInt("-11111111111111111111", 2) === -1048575. Actual: ' + (parseInt("-11111111111111111111", 2))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T3.js deleted file mode 100644 index a1fd482b83..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T3.js +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A7.3_T3; - * @section: 15.1.2.2; - * @assertion: Return sign * Result(17); - * @description: Checking algorithm for R = 10; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A7.3_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A7.3_T3.js", - -assertion: "Return sign * Result(17)", - -description: "Checking algorithm for R = 10", - -test: function testcase() { - //CHECK#1 -if (parseInt("-1", 10) !== -1) { - $ERROR('#1: parseInt("-1", 10) === -1. Actual: ' + (parseInt("-1", 10))); -} - -//CHECK#2 -if (parseInt("-10", 10) !== -10) { - $ERROR('#2: parseInt("-10", 10) === -10. Actual: ' + (parseInt("-10", 10))); -} - -//CHECK#3 -if (parseInt("-100", 10) !== -100) { - $ERROR('#3: parseInt("-100", 10) === -100. Actual: ' + (parseInt("-100", 10))); -} - -//CHECK#4 -if (parseInt("-1000", 10) !== -1000) { - $ERROR('#4: parseInt("-1000", 10) === -1000. Actual: ' + (parseInt("-1000", 10))); -} - -//CHECK#5 -if (parseInt("-10000", 10) !== -10000) { - $ERROR('#5: parseInt("-10000", 10) === -10000. Actual: ' + (parseInt("-10000", 10))); -} - -//CHECK#6 -if (parseInt("-100000", 10) !== -100000) { - $ERROR('#6: parseInt("-100000", 10) === -100000. Actual: ' + (parseInt("-100000", 10))); -} - -//CHECK#7 -if (parseInt("-1000000", 10) !== -1000000) { - $ERROR('#7: parseInt("-1000000", 10) === -1000000. Actual: ' + (parseInt("-1000000", 10))); -} - -//CHECK#8 -if (parseInt("-10000000", 10) !== -10000000) { - $ERROR('#8: parseInt("-10000000", 10) === -10000000. Actual: ' + (parseInt("-10000000", 10))); -} - -//CHECK#9 -if (parseInt("-100000000", 10) !== -100000000) { - $ERROR('#9: parseInt("-100000000", 10) === -100000000. Actual: ' + (parseInt("-100000000", 10))); -} - -//CHECK#10 -if (parseInt("-1000000000", 10) !== -1000000000) { - $ERROR('#10: parseInt("-1000000000", 10) === -1000000000. Actual: ' + (parseInt("-1000000000", 10))); -} - -//CHECK#10 -if (parseInt("-10000000000", 10) !== -10000000000) { - $ERROR('#10: parseInt("-10000000000", 10) === -10000000000. Actual: ' + (parseInt("-10000000000", 10))); -} - -//CHECK#12 -if (parseInt("-100000000000", 10) !== -100000000000) { - $ERROR('#12: parseInt("-100000000000", 10) === -100000000000. Actual: ' + (parseInt("-100000000000", 10))); -} - -//CHECK#13 -if (parseInt("-1000000000000", 10) !== -1000000000000) { - $ERROR('#13: parseInt("-1000000000000", 10) === -1000000000000. Actual: ' + (parseInt("-1000000000000", 10))); -} - -//CHECK#14 -if (parseInt("-10000000000000", 10) !== -10000000000000) { - $ERROR('#14: parseInt("-10000000000000", 10) === -10000000000000. Actual: ' + (parseInt("-10000000000000", 10))); -} - -//CHECK#15 -if (parseInt("-100000000000000", 10) !== -100000000000000) { - $ERROR('#15: parseInt("-100000000000000", 10) === -100000000000000. Actual: ' + (parseInt("-100000000000000", 10))); -} - -//CHECK#10 -if (parseInt("-1000000000000000", 10) !== -1000000000000000) { - $ERROR('#10: parseInt("-1000000000000000", 10) === -1000000000000000. Actual: ' + (parseInt("-1000000000000000", 10))); -} - -//CHECK#17 -if (parseInt("-10000000000000000", 10) !== -10000000000000000) { - $ERROR('#17: parseInt("-10000000000000000", 10) === -10000000000000000. Actual: ' + (parseInt("-10000000000000000", 10))); -} - -//CHECK#18 -if (parseInt("-100000000000000000", 10) !== -100000000000000000) { - $ERROR('#18: parseInt("-100000000000000000", 10) === -100000000000000000. Actual: ' + (parseInt("-100000000000000000", 10))); -} - -//CHECK#19 -if (parseInt("-1000000000000000000", 10) !== -1000000000000000000) { - $ERROR('#19: parseInt("-1000000000000000000", 10) === -1000000000000000000. Actual: ' + (parseInt("-1000000000000000000", 10))); -} - -//CHECK#20 -if (parseInt("-10000000000000000000", 10) !== -10000000000000000000) { - $ERROR('#20: parseInt("-10000000000000000000", 10) === -10000000000000000000. Actual: ' + (parseInt("-10000000000000000000", 10))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A8.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A8.js deleted file mode 100644 index 738e525ad3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A8.js +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A8; - * @section: 15.1.2.2, 9.3.1; - * @assertion: parseInt may interpret only a leading portion of the string as - * a number value; it ignores any characters that cannot be interpreted as part - * of the notation of an decimal literal, and no indication is given that any such - * characters were ignored. - * @description: Complex test without eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A8", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A8.js", - -assertion: "parseInt may interpret only a leading portion of the string as", - -description: "Complex test without eval", - -test: function testcase() { - //CHECK -var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; -for (var index = 0; index <= 65535; index++) { - if ((index < 0x0030) || (index > 0x0039) && - (index < 0x0041) || (index > 0x005A) && - (index < 0x0061) || (index > 0x007A)) { - var hex = decimalToHexString(index); - if (parseInt("1Z" + String.fromCharCode(index), 36) !== 71) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - count++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.1.js deleted file mode 100644 index 3e8f8303f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A9.1; - * @section: 15.1.2.2, 15.2.4.7, 12.6.4; - * @assertion: The length property of parseInt has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A9.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.1.js", - -assertion: "The length property of parseInt has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (parseInt.propertyIsEnumerable('length') !== false) { - $ERROR('#1: parseInt.propertyIsEnumerable(\'length\') === false. Actual: ' + (parseInt.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in parseInt){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in parseInt) { if (p === "length") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.2.js deleted file mode 100644 index 70fac2a49a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A9.2; - * @section: 15.1.2.2, 15.2.4.5, 11.4.1; - * @assertion: The length property of parseInt has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A9.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.2.js", - -assertion: "The length property of parseInt has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (parseInt.hasOwnProperty('length') !== true) { - $FAIL('#1: parseInt.hasOwnProperty(\'length\') === true. Actual: ' + (parseInt.hasOwnProperty('length'))); -} - -delete parseInt.length; - -//CHECK#2 -if (parseInt.hasOwnProperty('length') !== true) { - $ERROR('#2: delete parseInt.length; parseInt.hasOwnProperty(\'length\') === true. Actual: ' + (parseInt.hasOwnProperty('length'))); -} - -//CHECK#3 -if (parseInt.length === undefined) { - $ERROR('#3: delete parseInt.length; parseInt.length !== undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.3.js deleted file mode 100644 index 72c04b2aed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A9.3; - * @section: 15.1.2.2; - * @assertion: The length property of parseInt has the attribute ReadOnly; - * @description: Checking if varying the length property fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A9.3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.3.js", - -assertion: "The length property of parseInt has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -x = parseInt.length; -parseInt.length = Infinity; -if (parseInt.length !== x) { - $ERROR('#1: x = parseInt.length; parseInt.length = Infinity; parseInt.length === x. Actual: ' + (parseInt.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.4.js deleted file mode 100644 index 3f3741f4c1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A9.4; - * @section: 15.1.2.2; - * @assertion: The length property of parseInt is 2; - * @description: parseInt.length === 2; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A9.4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.4.js", - -assertion: "The length property of parseInt is 2", - -description: "parseInt.length === 2", - -test: function testcase() { - //CHECK#1 -if (parseInt.length !== 2) { - $ERROR('#1: parseInt.length === 2. Actual: ' + (parseInt.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.5.js deleted file mode 100644 index de48227917..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.2_A9.5; - * @section: 15.1.2.2, 15.2.4.7, 12.6.4; - * @assertion: The parseInt property has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A9.5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.5.js", - -assertion: "The parseInt property has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (this.propertyIsEnumerable('parseInt') !== false) { - $ERROR('#1: this.propertyIsEnumerable(\'parseInt\') === false. Actual: ' + (this.propertyIsEnumerable('parseInt'))); -} - -//CHECK#2 -var result = true; -for (var p in this){ - if (p === "parseInt") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in this) { if (p === "parseInt") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.6.js deleted file mode 100644 index 5b1631f37f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.2_A9.6; -* @section: 15.1.2.2; -* @assertion: The parseInt property has not prototype property; -* @description: Checking parseInt.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A9.6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.6.js", - -assertion: "The parseInt property has not prototype property", - -description: "Checking parseInt.prototype", - -test: function testcase() { - //CHECK#1 -if (parseInt.prototype !== undefined) { - $ERROR('#1: parseInt.prototype === undefined. Actual: ' + (parseInt.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.7.js deleted file mode 100644 index fb412a9579..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.2_A9.7; -* @section: 15.1.2.2, 11.2.2; -* @assertion: The parseInt property can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.2_A9.7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A9.7.js", - -assertion: "The parseInt property can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new parseInt(); - $ERROR('#1.1: new parseInt() throw TypeError. Actual: ' + (new parseInt())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new parseInt() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T1.js deleted file mode 100644 index c34136b598..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A1_T1; - * @section: 15.1.2.3, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for boolean primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T1.js", - -assertion: "Operator use ToString", - -description: "Checking for boolean primitive", - -test: function testcase() { - //CHECK#1 -if (!(isNaN(parseFloat(true)) && isNaN(parseFloat("NaN")))) { - $ERROR('#1: parseFloat(true) === Not-a-Number; parseFloat("NaN") === Not-a-Number. Actual: ' + (parseFloat("NaN"))); -} - -//CHECK#2 -if (String(parseFloat(false)) !== "NaN") { - $ERROR('#2: String(parseFloat(false)) === "NaN". Actual: ' + (String(parseFloat(false)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T2.js deleted file mode 100644 index 6e27e5002b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A1_T2; - * @section: 15.1.2.3, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T2.js", - -assertion: "Operator use ToString", - -description: "Checking for number primitive", - -test: function testcase() { - //CHECK#1 -if (parseFloat(-1.1) !== parseFloat("-1.1")) { - $ERROR('#1: parseFloat(-1.1) === parseFloat("-1.1"). Actual: ' + (parseFloat(-1.1))); -} - -//CHECK#2 -if (parseFloat(Infinity) !== parseFloat("Infinity")) { - $ERROR('#2: parseFloat(Infinity) === parseFloat("Infinity"). Actual: ' + (parseFloat(Infinity))); -} - -//CHECK#3 -if (String(parseFloat(NaN)) !== "NaN") { - $ERROR('#3: String(parseFloat(NaN)) === "NaN". Actual: ' + (String(parseFloat(NaN)))); -} - -//CHECK#4 -if (parseFloat(.01e+2) !== parseFloat(".01e+2")) { - $ERROR('#4: parseFloat(.01e+2) === parseFloat(".01e+2"). Actual: ' + (parseFloat(.01e+2))); -} - -//CHECK#5 -if (parseFloat(-0) !== 0) { - $ERROR('#5: parseFloat(-0) === 0. Actual: ' + (parseFloat(-0))); -} else { - if (1 / parseFloat(-0) !== Number.POSITIVE_INFINITY) { - $ERROR('#5: parseFloat(-0) === +0. Actual: ' + (parseFloat(-0))); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T3.js deleted file mode 100644 index b55a9b5476..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A1_T3; - * @section: 15.1.2.3, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for undefined and null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A1_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T3.js", - -assertion: "Operator use ToString", - -description: "Checking for undefined and null", - -test: function testcase() { - //CHECK#1 -if (!(isNaN(parseFloat(undefined)) && isNaN(parseFloat("NaN")))) { - $ERROR('#1: parseFloat(undefined) === Not-a-Number; parseFloat("NaN") === Not-a-Number. Actual: ' + (parseFloat("NaN"))); -} - -//CHECK#2 -if (!(isNaN(parseFloat(null)) && isNaN(parseFloat("NaN")))) { - $ERROR('#2: parseFloat(null) === Not-a-Number; parseFloat("NaN") === Not-a-Number. Actual: ' + (parseFloat("NaN"))); -} - - -//CHECK#3 -if (String(parseFloat(undefined)) !== "NaN") { - $ERROR('#3: String(parseFloat(undefined)) === "NaN". Actual: ' + (String(parseFloat(undefined)))); -} - -//CHECK#4 -if (String(parseFloat(null)) !== "NaN") { - $ERROR('#4: String(parseFloat(null)) === "NaN". Actual: ' + (String(parseFloat(null)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T4.js deleted file mode 100644 index f0111a6b18..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A1_T4; - * @section: 15.1.2.3, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A1_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T4.js", - -assertion: "Operator use ToString", - -description: "Checking for Boolean object", - -test: function testcase() { - //CHECK#1 -if (!(isNaN(parseFloat(new Boolean(true))) && isNaN(parseFloat("NaN")))) { - $ERROR('#1: parseFloat(new Boolean(true)) === Not-a-Number; parseFloat("NaN") === Not-a-Number. Actual: ' + (parseFloat("NaN"))); -} - -//CHECK#2 -if (String(parseFloat(new Boolean(false))) !== "NaN") { - $ERROR('#2: String(parseFloat(new Boolean(false))) === "NaN". Actual: ' + (String(parseFloat(new Boolean(false))))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T5.js deleted file mode 100644 index bb4e616f36..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A1_T5; - * @section: 15.1.2.3, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A1_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T5.js", - -assertion: "Operator use ToString", - -description: "Checking for Number object", - -test: function testcase() { - //CHECK#1 -if (parseFloat(new Number(-1.1)) !== parseFloat("-1.1")) { - $ERROR('#1: parseFloat(new Number(-1.1)) === parseFloat("-1.1"). Actual: ' + (parseFloat(new Number(-1.1)))); -} - -//CHECK#2 -if (parseFloat(new Number(Infinity)) !== parseFloat("Infinity")) { - $ERROR('#2: parseFloat(new Number(Infinity)) === parseFloat("Infinity"). Actual: ' + (parseFloat(new Number(Infinity)))); -} - -//CHECK#3 -if (String(parseFloat(new Number(NaN))) !== "NaN") { - $ERROR('#3: String(parseFloat(new Number(NaN))) === "NaN". Actual: ' + (String(parseFloat(new Number(NaN))))); -} - -//CHECK#4 -if (parseFloat(new Number(.01e+2)) !== parseFloat(".01e+2")) { - $ERROR('#4: parseFloat(new Number(.01e+2)) === parseFloat(".01e+2"). Actual: ' + (parseFloat(new Number(.01e+2)))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T6.js deleted file mode 100644 index a90ec76dee..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T6.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A1_T6; - * @section: 15.1.2.3, 9.8; - * @assertion: Operator use ToString; - * @description: Checking for String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A1_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T6.js", - -assertion: "Operator use ToString", - -description: "Checking for String object", - -test: function testcase() { - //CHECK#1 -if (parseFloat(new String("-1.1")) !== parseFloat("-1.1")) { - $ERROR('#1: parseFloat(new String("-1.1")) === parseFloat("-1.1"). Actual: ' + (parseFloat(new String("-1.1")))); -} - -//CHECK#2 -if (parseFloat(new String("Infinity")) !== parseFloat("Infinity")) { - $ERROR('#2: parseFloat(new String("Infinity")) === parseFloat("Infinity"). Actual: ' + (parseFloat(new String("Infinity")))); -} - -//CHECK#3 -if (String(parseFloat(new String("NaN"))) !== "NaN") { - $ERROR('#3: String(parseFloat(new String("NaN"))) === "NaN". Actual: ' + (String(parseFloat(new String("NaN"))))); -} - -//CHECK#4 -if (parseFloat(new String(".01e+2")) !== parseFloat(".01e+2")) { - $ERROR('#4: parseFloat(new String(".01e+2")) === parseFloat(".01e+2"). Actual: ' + (parseFloat(new String(".01e+2")))); -} - -//CHECK#5 -if (String(parseFloat(new String("false"))) !== "NaN") { - $ERROR('#5: String(parseFloat(new String("false"))) === "NaN". Actual: ' + (String(parseFloat(new String("false"))))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T7.js deleted file mode 100644 index 07b184c247..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T7.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A1_T7; - * @section: 15.1.2.3, 9.8, 8.6.2.6; - * @assertion: Operator use ToString; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A1_T7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A1_T7.js", - -assertion: "Operator use ToString", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, String)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return 1}}; -if (isNaN(parseFloat(object)) !== true) { - $ERROR('#1: var object = {valueOf: function() {return 1}}; parseFloat(object) === Not-a-Number. Actual: ' + (parseFloat(object))); -} - -//CHECK#2 -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -if (parseFloat(object) !== 0) { - $ERROR('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; parseFloat(object) === 0. Actual: ' + (parseFloat(object))); -} - -//CHECK#3 -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -if (parseFloat(object) !== 1) { - $ERROR('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; parseFloat(object) === 1. Actual: ' + (parseFloat(object))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - if (parseFloat(object) !== 1) { - $ERROR('#4.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; parseFloat(object) === 1. Actual: ' + (parseFloat(object))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; parseFloat(object) not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; parseFloat(object) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return 1}}; -if (parseFloat(object) !== 1) { - $ERROR('#5: var object = {toString: function() {return 1}}; parseFloat(object) === 1. Actual: ' + (parseFloat(object))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -if (parseFloat(object) !== 1) { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; parseFloat(object) === 1. Actual: ' + (parseFloat(object))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - parseFloat(object); - $ERROR('#7.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; parseFloat(object) throw "error". Actual: ' + (parseFloat(object))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; parseFloat(object) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - parseFloat(object); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; parseFloat(object) throw TypeError. Actual: ' + (parseFloat(object))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; parseFloat(object) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T1.js deleted file mode 100644 index 77967721d0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T1; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: TAB (U+0009); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T1.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: TAB (U+0009)", - -test: function testcase() { - //CHECK#1 -if (parseFloat("\u00091.1") !== parseFloat("1.1")) { - $ERROR('#1: parseFloat("\\u00091.1") === parseFloat("1.1"). Actual: ' + (parseFloat("\u00091.1"))); -} - -//CHECK#2 -if (parseFloat("\u0009\u0009-1.1") !== parseFloat("-1.1")) { - $ERROR('#2: parseFloat("\\u0009\\u0009-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat("\u0009\u0009-1.1"))); -} - -//CHECK#3 -if (parseFloat(" 1.1") !== parseFloat("1.1")) { - $ERROR('#3: parseFloat(" 1.1") === parseFloat("1.1"). Actual: ' + (parseFloat(" 1.1"))); -} - -//CHECK#4 -if (parseFloat(" 1.1") !== parseFloat("1.1")) { - $ERROR('#4: parseFloat(" 1.1") === parseFloat("1.1"). Actual: ' + (parseFloat(" 1.1"))); -} - -//CHECK#5 -if (parseFloat(" \u0009 \u0009-1.1") !== parseFloat("-1.1")) { - $ERROR('#5: parseFloat(" \\u0009 \\u0009-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat(" \u0009 \u0009-1.1"))); -} - -//CHECK#6 -if (isNaN(parseFloat("\u0009")) !== true) { - $ERROR('#6: parseFloat("\\u0009") === Not-a-Number. Actual: ' + (parseFloat("\u0009"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T10.js deleted file mode 100644 index d5abf7bd60..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T10.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T10; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: USP; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T10", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T10.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: USP", - -test: function testcase() { - //CHECK# -var count = 0; -var errorCount = 0; -var uspU = ["\u1680", "\u180E", "\u2000", "\u2001", "\u2002", "\u2003", "\u2004", "\u2005", "\u2006", "\u2007", "\u2008", "\u2009", "\u200A", "\u202F", "\u205F", "\u3000"]; -var uspS = ["1680", "180E", "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "200A", "202F", "205F", "3000"]; -for (var index = 0; index < uspU.length; index++) { - var result = true; - if (parseFloat(uspU[index] + "1.1") !== parseFloat("1.1")) { - $ERROR('#1.' + uspS[index] + ' '); - result = false; - } - if (parseFloat(uspU[index] + uspU[index] + uspU[index] + "1.1") !== parseFloat("1.1")) { - $ERROR('#2.' + uspS[index] + ' '); - result = false; - } - if (isNaN(parseFloat(uspU[index])) !== true) { - $ERROR('#3.' + uspS[index] + ' '); - result = false; - } - if (result !== true) { - errorCount++; - } - count++; -} - -if (errorCount > 0) { - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T2.js deleted file mode 100644 index 6e705f30ef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T2; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: SP (U+0020); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T2.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: SP (U+0020)", - -test: function testcase() { - //CHECK#1 -if (parseFloat("\u00201.1") !== parseFloat("1.1")) { - $ERROR('#1: parseFloat("\\u00201.1") === parseFloat("1.1"). Actual: ' + (parseFloat("\u00201.1"))); -} - -//CHECK#2 -if (parseFloat("\u0020\u0020-1.1") !== parseFloat("-1.1")) { - $ERROR('#2: parseFloat("\\u0020\\u0020-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat("\u0020\u0020-1.1"))); -} - -//CHECK#3 -if (parseFloat(" 1.1") !== parseFloat("1.1")) { - $ERROR('#3: parseFloat(" 1.1") === parseFloat("1.1"). Actual: ' + (parseFloat(" 1.1"))); -} - -//CHECK#4 -if (parseFloat(" 1.1") !== parseFloat("1.1")) { - $ERROR('#4: parseFloat(" 1.1") === parseFloat("1.1"). Actual: ' + (parseFloat(" 1.1"))); -} - -//CHECK#5 -if (parseFloat(" \u0020 \u0020-1.1") !== parseFloat("-1.1")) { - $ERROR('#5: parseFloat(" \\u0020 \\u0020-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat(" \u0020 \u0020-1.1"))); -} - -//CHECK#6 -if (isNaN(parseFloat("\u0020")) !== true) { - $ERROR('#6: parseFloat("\\u0020") === Not-a-Number. Actual: ' + (parseFloat("\u0020"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T3.js deleted file mode 100644 index d03dae6ccc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T3; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: NBSB (U+00A0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T3.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: NBSB (U+00A0)", - -test: function testcase() { - //CHECK#1 -if (parseFloat("\u00A01.1") !== parseFloat("1.1")) { - $ERROR('#1: parseFloat("\\u00A01.1") === parseFloat("1.1"). Actual: ' + (parseFloat("\u00A01.1"))); -} - -//CHECK#2 -if (parseFloat("\u00A0\u00A0-1.1") !== parseFloat("-1.1")) { - $ERROR('#2: parseFloat("\\u00A0\\u00A0-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat("\u00A0\u00A0-1.1"))); -} - -//CHECK#3 -if (isNaN(parseFloat("\u00A0")) !== true) { - $ERROR('#3: parseFloat("\\u00A0") === Not-a-Number. Actual: ' + (parseFloat("\u00A0"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T4.js deleted file mode 100644 index 4aa0d51f92..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T4; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: FF (U+000C); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T4.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: FF (U+000C)", - -test: function testcase() { - //CHECK#1 -if (parseFloat("\u000C1.1") !== parseFloat("1.1")) { - $ERROR('#1: parseFloat("\\u000C1.1") === parseFloat("1.1"). Actual: ' + (parseFloat("\u000C1.1"))); -} - -//CHECK#2 -if (parseFloat("\u000C\u000C-1.1") !== parseFloat("-1.1")) { - $ERROR('#2: parseFloat("\\u000C\\u000C-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat("\u000C\u000C-1.1"))); -} - -//CHECK#3 -if (isNaN(parseFloat("\u000C")) !== true) { - $ERROR('#3: parseFloat("\\u000C") === Not-a-Number. Actual: ' + (parseFloat("\u000C"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T5.js deleted file mode 100644 index f531cd1165..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T5.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T5; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: VT (U+000B); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T5.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: VT (U+000B)", - -test: function testcase() { - //CHECK#1 -if (parseFloat("\u000B1.1") !== parseFloat("1.1")) { - $ERROR('#1: parseFloat("\\u000B1.1") === parseFloat("1.1"). Actual: ' + (parseFloat("\u000B1.1"))); -} - -//CHECK#2 -if (parseFloat("\u000B\u000B-1.1") !== parseFloat("-1.1")) { - $ERROR('#2: parseFloat("\\u000B\\u000B-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat("\u000B\u000B-1.1"))); -} - -//CHECK#3 -if (isNaN(parseFloat("\u000B")) !== true) { - $ERROR('#3: parseFloat("\\u000B") === Not-a-Number. Actual: ' + (parseFloat("\u000B"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T6.js deleted file mode 100644 index bfc30469b9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T6.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T6; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: CR (U+000D); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T6.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: CR (U+000D)", - -test: function testcase() { - //CHECK#1 -if (parseFloat("\u000D1.1") !== parseFloat("1.1")) { - $ERROR('#1: parseFloat("\\u000D1.1") === parseFloat("1.1"). Actual: ' + (parseFloat("\u000D1.1"))); -} - -//CHECK#2 -if (parseFloat("\u000D\u000D-1.1") !== parseFloat("-1.1")) { - $ERROR('#2: parseFloat("\\u000D\\u000D-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat("\u000D\u000D-1.1"))); -} - -//CHECK#3 -if (isNaN(parseFloat("\u000D")) !== true) { - $ERROR('#3: parseFloat("\\u000D") === Not-a-Number. Actual: ' + (parseFloat("\u000D"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T7.js deleted file mode 100644 index eb2faa1d68..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T7.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T7; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: LF (U+000A); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T7.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: LF (U+000A)", - -test: function testcase() { - //CHECK#1 -if (parseFloat("\u000A1.1") !== parseFloat("1.1")) { - $ERROR('#1: parseFloat("\\u000A1.1") === parseFloat("1.1"). Actual: ' + (parseFloat("\u000A1.1"))); -} - -//CHECK#2 -if (parseFloat("\u000A\u000A-1.1") !== parseFloat("-1.1")) { - $ERROR('#2: parseFloat("\\u000A\\u000A-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat("\u000A\u000A-1.1"))); -} - -//CHECK#3 -if (isNaN(parseFloat("\u000A")) !== true) { - $ERROR('#3: parseFloat("\\u000A") === Not-a-Number. Actual: ' + (parseFloat("\u000A"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T8.js deleted file mode 100644 index 52e2911628..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T8.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T8; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: LS (U+2028); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T8", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T8.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: LS (U+2028)", - -test: function testcase() { - //CHECK#1 -if (parseFloat("\u20281.1") !== parseFloat("1.1")) { - $ERROR('#1: parseFloat("\\u20281.1") === parseFloat("1.1"). Actual: ' + (parseFloat("\u20281.1"))); -} - -//CHECK#2 -if (parseFloat("\u2028\u2028-1.1") !== parseFloat("-1.1")) { - $ERROR('#2: parseFloat("\\u2028\\u2028-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat("\u2028\u2028-1.1"))); -} - -//CHECK#3 -if (isNaN(parseFloat("\u2028")) !== true) { - $ERROR('#3: parseFloat("\\u2028") === Not-a-Number. Actual: ' + (parseFloat("\u2028"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T9.js deleted file mode 100644 index 2891447e13..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T9.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A2_T9; - * @section: 15.1.2.3; - * @assertion: Operator remove leading StrWhiteSpaceChar; - * @description: StrWhiteSpaceChar :: PS (U+2029); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A2_T9", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A2_T9.js", - -assertion: "Operator remove leading StrWhiteSpaceChar", - -description: "StrWhiteSpaceChar :: PS (U+2029)", - -test: function testcase() { - //CHECK#1 -if (parseFloat("\u20291.1") !== parseFloat("1.1")) { - $ERROR('#1: parseFloat("\\u20291.1") === parseFloat("1.1"). Actual: ' + (parseFloat("\u20291.1"))); -} - -//CHECK#2 -if (parseFloat("\u2029\u2029-1.1") !== parseFloat("-1.1")) { - $ERROR('#2: parseFloat("\\u2029\\u2029-1.1") === parseFloat("-1.1"). Actual: ' + (parseFloat("\u2029\u2029-1.1"))); -} - -//CHECK#3 -if (isNaN(parseFloat("\u2029")) !== true) { - $ERROR('#3: parseFloat("\\u2029") === Not-a-Number. Actual: ' + (parseFloat("\u2029"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T1.js deleted file mode 100644 index 035327ae44..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A3_T1; - * @section: 15.1.2.3, 9.3.1; - * @assertion: If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a - * StrDecimalLiteral (see 9.3.1), return NaN; - * @description: parseFloat("some string") return NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T1.js", - -assertion: "If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a", - -description: "parseFloat(\"some string\") return NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(parseFloat("str")) !== true) { - $ERROR('#1: parseFloat("str") === Not-a-Number. Actual: ' + (parseFloat("str"))); -} - -//CHECK#2 -if (isNaN(parseFloat("s1")) !== true) { - $ERROR('#2: parseFloat("s1") === Not-a-Number. Actual: ' + (parseFloat("s1"))); -} - -//CHECK#3 -if (isNaN(parseFloat("")) !== true) { - $ERROR('#3: parseFloat("") === Not-a-Number. Actual: ' + (parseFloat(""))); -} - -//CHECK#4 -if (String(parseFloat("str")) !== "NaN") { - $ERROR('#4: String(parseFloat("str")) === "NaN". Actual: ' + (String(parseFloat("str")))); -} - -//CHECK#5 -if (String(parseFloat("s1")) !== "NaN") { - $ERROR('#5: String(parseFloat("s1")) === "NaN". Actual: ' + (String(parseFloat("s1")))); -} - -//CHECK#6 -if (String(parseFloat("")) !== "NaN") { - $ERROR('#6: String(parseFloat("")) === "NaN". Actual: ' + (String(parseFloat("")))); -} - -//CHECK#7 -if (String(parseFloat("+")) !== "NaN") { - $ERROR('#7: String(parseFloat("+")) === "NaN". Actual: ' + (String(parseFloat("+")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T2.js deleted file mode 100644 index 05dcad04c2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T2.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A3_T2; - * @section: 15.1.2.3, 9.3.1; - * @assertion: If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a - * StrDecimalLiteral (see 9.3.1), return NaN; - * @description: parseFloat("wrong number format with ExponentIndicator") return NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A3_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T2.js", - -assertion: "If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a", - -description: "parseFloat(\"wrong number format with ExponentIndicator\") return NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(parseFloat("e1")) !== true) { - $ERROR('#1: parseFloat("e1") === Not-a-Number. Actual: ' + (parseFloat("e1"))); -} - -//CHECK#2 -if (isNaN(parseFloat("e-1")) !== true) { - $ERROR('#2: parseFloat("e-1") === Not-a-Number. Actual: ' + (parseFloat("e-1"))); -} - -//CHECK#3 -if (isNaN(parseFloat("E+1")) !== true) { - $ERROR('#3: parseFloat("E+1") === Not-a-Number. Actual: ' + (parseFloat("E+1"))); -} - -//CHECK#4 -if (isNaN(parseFloat("E0")) !== true) { - $ERROR('#4: parseFloat("E0") === Not-a-Number. Actual: ' + (parseFloat("E0"))); -} - -//CHECK#5 -if (String(parseFloat("e1")) !== "NaN") { - $ERROR('#5: String(parseFloat("e1")) === "NaN". Actual: ' + (String(parseFloat("e1")))); -} - -//CHECK#6 -if (String(parseFloat("e-1")) !== "NaN") { - $ERROR('#6: String(parseFloat("e-1")) === "NaN". Actual: ' + (String(parseFloat("e-1")))); -} - -//CHECK#7 -if (String(parseFloat("E+1")) !== "NaN") { - $ERROR('#73: String(parseFloat("E+1")) === "NaN". Actual: ' + (String(parseFloat("E+1")))); -} - -//CHECK#8 -if (String(parseFloat("E0")) !== "NaN") { - $ERROR('#8: String(parseFloat("E0")) === "NaN". Actual: ' + (String(parseFloat("E0")))); -} - -//CHECK#9 -if (isNaN(parseFloat("-.e-1")) !== true) { - $ERROR('#9: parseFloat("-.e-1") === Not-a-Number. Actual: ' + (parseFloat("-.e-1"))); -} - -//CHECK#10 -if (isNaN(parseFloat(".e1")) !== true) { - $ERROR('#10: parseFloat(".e1") === Not-a-Number. Actual: ' + (parseFloat(".e1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T3.js deleted file mode 100644 index 432cca2d39..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T3.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A3_T3; - * @section: 15.1.2.3, 9.3.1; - * @assertion: If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a - * StrDecimalLiteral (see 9.3.1), return NaN; - * @description: parseFloat("wrong numbr format") return NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A3_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A3_T3.js", - -assertion: "If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a", - -description: "parseFloat(\"wrong numbr format\") return NaN", - -test: function testcase() { - //CHECK#1 -if (isNaN(parseFloat(".x")) !== true) { - $ERROR('#1: parseFloat(".x") === Not-a-Number. Actual: ' + (parseFloat(".x"))); -} - -//CHECK#2 -if (isNaN(parseFloat("+x")) !== true) { - $ERROR('#2: parseFloat("+x") === Not-a-Number. Actual: ' + (parseFloat("+x"))); -} - -//CHECK#3 -if (isNaN(parseFloat("infinity")) !== true) { - $ERROR('#3: parseFloat("infinity") === Not-a-Number. Actual: ' + (parseFloat("infinity"))); -} - -//CHECK#4 -if (isNaN(parseFloat("A")) !== true) { - $ERROR('#4: parseFloat("A") === Not-a-Number. Actual: ' + (parseFloat("A"))); -} - -//CHECK#5 -if (String(parseFloat(".s")) !== "NaN") { - $ERROR('#5: String(parseFloat(".s")) === "NaN". Actual: ' + (String(parseFloat(".s")))); -} - -//CHECK#6 -if (String(parseFloat("+x")) !== "NaN") { - $ERROR('#6: String(parseFloat("+x")) === "NaN". Actual: ' + (String(parseFloat("+x")))); -} - -//CHECK#7 -if (String(parseFloat("infinity")) !== "NaN") { - $ERROR('#73: String(parseFloat("infinity")) === "NaN". Actual: ' + (String(parseFloat("infinity")))); -} - -//CHECK#8 -if (String(parseFloat("A")) !== "NaN") { - $ERROR('#8: String(parseFloat("A")) === "NaN". Actual: ' + (String(parseFloat("A")))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T1.js deleted file mode 100644 index f5b3794e7e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T1.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A4_T1; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Compute the longest prefix of Result(2), which might be Result(2) itself, - * which satisfies the syntax of a StrDecimalLiteral; - * @description: Some wrong number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T1.js", - -assertion: "Compute the longest prefix of Result(2), which might be Result(2) itself,", - -description: "Some wrong number", - -test: function testcase() { - //CHECK#1 -if (parseFloat("0x") !== 0) { - $ERROR('#1: parseFloat("0x") === 0. Actual: ' + (parseFloat("0x"))); -} - -//CHECK#2 -if (parseFloat("11x") !== 11) { - $ERROR('#2: parseFloat("11x") === 11. Actual: ' + (parseFloat("11x"))); -} - -//CHECK#3 -if (parseFloat("11s1") !== 11) { - $ERROR('#3: parseFloat("11s1") === 11. Actual: ' + (parseFloat("11s1"))); -} - -//CHECK#4 -if (parseFloat("11.s1") !== 11) { - $ERROR('#4: parseFloat("11.s1") === 11. Actual: ' + (parseFloat("11.s1"))); -} - -//CHECK#5 -if (parseFloat(".0s1") !== 0) { - $ERROR('#5: parseFloat(".0s1") === 0. Actual: ' + (parseFloat(".0s1"))); -} - -//CHECK#6 -if (parseFloat("1.s1") !== 1) { - $ERROR('#6: parseFloat("1.s1") === 1. Actual: ' + (parseFloat("1.s1"))); -} - -//CHECK#7 -if (parseFloat("1..1") !== 1) { - $ERROR('#7: parseFloat("1..1") === 1. Actual: ' + (parseFloat("1..1"))); -} - -//CHECK#8 -if (parseFloat("0.1.1") !== 0.1) { - $ERROR('#8: parseFloat("0.1.1") === 0.1. Actual: ' + (parseFloat("0.1.1"))); -} - -//CHECK#9 -if (parseFloat("0. 1") !== 0) { - $ERROR('#9: parseFloat("0. 1") === 0. Actual: ' + (parseFloat("0. 1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T2.js deleted file mode 100644 index 2892ba3647..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A4_T2; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Compute the longest prefix of Result(2), which might be Result(2) itself, - * which satisfies the syntax of a StrDecimalLiteral; - * @description: With ExponentIndicator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A4_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T2.js", - -assertion: "Compute the longest prefix of Result(2), which might be Result(2) itself,", - -description: "With ExponentIndicator", - -test: function testcase() { - //CHECK#1 -if (parseFloat("1ex") !== 1) { - $ERROR('#1: parseFloat("1ex") === 1. Actual: ' + (parseFloat("1ex"))); -} - -//CHECK#2 -if (parseFloat("1e-x") !== 1) { - $ERROR('#2: parseFloat("1e-x") === 1. Actual: ' + (parseFloat("1e-x"))); -} - -//CHECK#3 -if (parseFloat("1e1x") !== 10) { - $ERROR('#3: parseFloat("1e1x") === 10. Actual: ' + (parseFloat("1e1x"))); -} - -//CHECK#4 -if (parseFloat("1e-1x") !== 0.1) { - $ERROR('#4: parseFloat("1e-1x") === 0.1. Actual: ' + (parseFloat("1e-1x"))); -} - -//CHECK#5 -if (parseFloat("0.1e-1x") !== 0.01) { - $ERROR('#5: parseFloat("0.1e-1x") === 0.01. Actual: ' + (parseFloat("0.1e-1x"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T3.js deleted file mode 100644 index ed00739453..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T3.js +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A4_T3; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Compute the longest prefix of Result(2), which might be Result(2) itself, - * which satisfies the syntax of a StrDecimalLiteral; - * @description: StrDecimalLiteral not contain HexIntegerLiteral; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A4_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T3.js", - -assertion: "Compute the longest prefix of Result(2), which might be Result(2) itself,", - -description: "StrDecimalLiteral not contain HexIntegerLiteral", - -test: function testcase() { - //CHECK#0 -if (parseFloat("0x0") !== 0) { - $ERROR('#0: parseFloat("0x0") === 0. Actual: ' + (parseFloat("0x0"))); -} - -//CHECK#1 -if (parseFloat("0x1") !== 0) { - $ERROR('#1: parseFloat("0x1") === 0. Actual: ' + (parseFloat("0x1"))); -} - -//CHECK#2 -if (parseFloat("0x2") !== 0) { - $ERROR('#2: parseFloat("0x2") === 0. Actual: ' + (parseFloat("0x2"))); -} - -//CHECK#3 -if (parseFloat("0x3") !== 0) { - $ERROR('#3: parseFloat("0x3") === 0. Actual: ' + (parseFloat("0x3"))); -} - -//CHECK#4 -if (parseFloat("0x4") !== 0) { - $ERROR('#4: parseFloat("0x4") === 0. Actual: ' + (parseFloat("0x4"))); -} - -//CHECK#5 -if (parseFloat("0x5") !== 0) { - $ERROR('#5: parseFloat("0x5") === 0. Actual: ' + (parseFloat("0x5"))); -} - -//CHECK#6 -if (parseFloat("0x6") !== 0) { - $ERROR('#6: parseFloat("0x6") === 0. Actual: ' + (parseFloat("0x6"))); -} - -//CHECK#7 -if (parseFloat("0x7") !== 0) { - $ERROR('#7: parseFloat("0x7") === 0. Actual: ' + (parseFloat("0x7"))); -} - -//CHECK#8 -if (parseFloat("0x8") !== 0) { - $ERROR('#8: parseFloat("0x8") === 0. Actual: ' + (parseFloat("0x8"))); -} - -//CHECK#9 -if (parseFloat("0x9") !== 0) { - $ERROR('#9: parseFloat("0x9") === 0. Actual: ' + (parseFloat("0x9"))); -} - -//CHECK#A -if (parseFloat("0xA") !== 0) { - $ERROR('#A: parseFloat("0xA") === 0. Actual: ' + (parseFloat("0xA"))); -} - -//CHECK#B -if (parseFloat("0xB") !== 0) { - $ERROR('#B: parseFloat("0xB") === 0. Actual: ' + (parseFloat("0xB"))); -} - -//CHECK#C -if (parseFloat("0xC") !== 0) { - $ERROR('#C: parseFloat("0xC") === 0. Actual: ' + (parseFloat("0xC"))); -} - -//CHECK#D -if (parseFloat("0xD") !== 0) { - $ERROR('#D: parseFloat("0xD") === 0. Actual: ' + (parseFloat("0xD"))); -} - -//CHECK#E -if (parseFloat("0xE") !== 0) { - $ERROR('#E: parseFloat("0xE") === 0. Actual: ' + (parseFloat("0xE"))); -} - -//CHECK#F -if (parseFloat("0xF") !== 0) { - $ERROR('#F: parseFloat("0xF") === 0. Actual: ' + (parseFloat("0xF"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T4.js deleted file mode 100644 index e3ff6a7c47..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A4_T4; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Compute the longest prefix of Result(2), which might be Result(2) itself, - * which satisfies the syntax of a StrDecimalLiteral; - * @description: "Infinity"+"some string"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A4_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T4.js", - -assertion: "Compute the longest prefix of Result(2), which might be Result(2) itself,", - -description: "\"Infinity\"+\"some string\"", - -test: function testcase() { - //CHECK#1 -if (parseFloat("Infinity1") !== Number.POSITIVE_INFINITY) { - $ERROR('#1: parseFloat("Infinity1") === Number.POSITIVE_INFINITY. Actual: ' + (parseFloat("Infinity1"))); -} - -//CHECK#2 -if (parseFloat("Infinityx") !== Number.POSITIVE_INFINITY) { - $ERROR('#2: parseFloat("Infinityx") === Number.POSITIVE_INFINITY. Actual: ' + (parseFloat("Infinityx"))); -} - -//CHECK#3 -if (parseFloat("Infinity+1") !== Number.POSITIVE_INFINITY) { - $ERROR('#3: parseFloat("Infinity+1") === Number.POSITIVE_INFINITY. Actual: ' + (parseFloat("Infinity+1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T5.js deleted file mode 100644 index 15616c87c1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T5.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A4_T5; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Compute the longest prefix of Result(2), which might be Result(2) itself, - * which satisfies the syntax of a StrDecimalLiteral; - * @description: Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A4_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T5.js", - -assertion: "Compute the longest prefix of Result(2), which might be Result(2) itself,", - -description: "Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt", - -test: function testcase() { - //CHECK#1 -if (parseFloat("-11.string") !== -11) { - $ERROR('#1: parseFloat("-11.string") === -11. Actual: ' + (parseFloat("-11.string"))); -} - -//CHECK#2 -if (parseFloat("01.string") !== 1) { - $ERROR('#2: parseFloat("01.string") === 1. Actual: ' + (parseFloat("01.string"))); -} - -//CHECK#3 -if (parseFloat("+11.1string") !== 11.1) { - $ERROR('#3: parseFloat("+11.1string") === 11.1. Actual: ' + (parseFloat("+11.1string"))); -} - -//CHECK#4 -if (parseFloat("01.1string") !== 1.1) { - $ERROR('#4: parseFloat("01.1string") === 1.1. Actual: ' + (parseFloat("01.1string"))); -} - -//CHECK#5 -if (parseFloat("-11.e-1string") !== -1.1) { - $ERROR('#5: parseFloat("-11.e-1string") === -1.1. Actual: ' + (parseFloat("-11.e-1string"))); -} - -//CHECK#6 -if (parseFloat("01.e1string") !== 10) { - $ERROR('#6: parseFloat("01.e1string") === 10. Actual: ' + (parseFloat("01.e1string"))); -} - -//CHECK#7 -if (parseFloat("+11.22e-1string") !== 1.122) { - $ERROR('#7: parseFloat("+11.22e-1string") === 1.122. Actual: ' + (parseFloat("+11.22e-1string"))); -} - -//CHECK#8 -if (parseFloat("01.01e1string") !== 10.1) { - $ERROR('#8: parseFloat("01.01e1string") === 10.1. Actual: ' + (parseFloat("01.01e1string"))); -} - -//CHECK#9 -if (parseFloat("001.string") !== 1) { - $ERROR('#9: parseFloat("001.string") === 1. Actual: ' + (parseFloat("001.string"))); -} - -//CHECK#10 -if (parseFloat("010.string") !== 10) { - $ERROR('#10: parseFloat("010.string") === 10. Actual: ' + (parseFloat("010.string"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T6.js deleted file mode 100644 index e39756dc2e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T6.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A4_T6; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Compute the longest prefix of Result(2), which might be Result(2) itself, - * which satisfies the syntax of a StrDecimalLiteral; - * @description: Checking . DecimalDigits ExponentPart_opt; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A4_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T6.js", - -assertion: "Compute the longest prefix of Result(2), which might be Result(2) itself,", - -description: "Checking . DecimalDigits ExponentPart_opt", - -test: function testcase() { - //CHECK#1 -if (parseFloat("+.1string") !== 0.1) { - $ERROR('#1: parseFloat("+.1string") === 0.1. Actual: ' + (parseFloat("+.1string"))); -} - -//CHECK#2 -if (parseFloat(".01string") !== 0.01) { - $ERROR('#2: parseFloat(".01string") === 0.01. Actual: ' + (parseFloat(".01string"))); -} - -//CHECK#3 -if (parseFloat("+.22e-1string") !== 0.022) { - $ERROR('#3: parseFloat("+.22e-1string") === 0.022. Actual: ' + (parseFloat("+.22e-1string"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T7.js deleted file mode 100644 index af24d29eab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T7.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A4_T7; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Compute the longest prefix of Result(2), which might be Result(2) itself, - * which satisfies the syntax of a StrDecimalLiteral; - * @description: Checking DecimalDigits ExponentPart_opt; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A4_T7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A4_T7.js", - -assertion: "Compute the longest prefix of Result(2), which might be Result(2) itself,", - -description: "Checking DecimalDigits ExponentPart_opt", - -test: function testcase() { - //CHECK#1 -if (parseFloat("-11string") !== -11) { - $ERROR('#1: parseFloat("-11string") === -11. Actual: ' + (parseFloat("-11string"))); -} - -//CHECK#2 -if (parseFloat("01string") !== 1) { - $ERROR('#2: parseFloat("01string") === 1. Actual: ' + (parseFloat("01string"))); -} - -//CHECK#3 -if (parseFloat("-11e-1string") !== -1.1) { - $ERROR('#3: parseFloat("-11e-1string") === -1.1. Actual: ' + (parseFloat("-11e-1string"))); -} - -//CHECK#4 -if (parseFloat("01e1string") !== 10) { - $ERROR('#4: parseFloat("01e1string") === 10. Actual: ' + (parseFloat("01e1string"))); -} - -//CHECK#5 -if (parseFloat("001string") !== 1) { - $ERROR('#5: parseFloat("001string") === 1. Actual: ' + (parseFloat("001string"))); -} - -//CHECK#6 -if (parseFloat("1e001string") !== 10) { - $ERROR('#6: parseFloat("1e001string") === 10. Actual: ' + (parseFloat("1e001string"))); -} - -//CHECK#7 -if (parseFloat("010string") !== 10) { - $ERROR('#7: parseFloat("010string") === 10. Actual: ' + (parseFloat("010string"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T1.js deleted file mode 100644 index d9948da0cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A5_T1; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Return the number value for the MV of Result(4); - * @description: Checking Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A5_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T1.js", - -assertion: "Return the number value for the MV of Result(4)", - -description: "Checking Infinity", - -test: function testcase() { - //CHECK#1 -if (parseFloat("Infinity") !== Number.POSITIVE_INFINITY) { - $ERROR('#1: parseFloat("Infinity") === Number.POSITIVE_INFINITY. Actual: ' + (parseFloat("Infinity"))); -} - -//CHECK#2 -if (parseFloat("+Infinity") !== Number.POSITIVE_INFINITY) { - $ERROR('#2: parseFloat("+Infinity") === Number.POSITIVE_INFINITY. Actual: ' + (parseFloat("+Infinity"))); -} - -//CHECK#3 -if (parseFloat("-Infinity") !== Number.NEGATIVE_INFINITY) { - $ERROR('#3: parseFloat("-Infinity") === Number.NEGATIVE_INFINITY. Actual: ' + (parseFloat("-Infinity"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T2.js deleted file mode 100644 index cf6bc4ebaa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A5_T2; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Return the number value for the MV of Result(4); - * @description: Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A5_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T2.js", - -assertion: "Return the number value for the MV of Result(4)", - -description: "Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt", - -test: function testcase() { - //CHECK#1 -if (parseFloat("-11.") !== -11) { - $ERROR('#1: parseFloat("-11.") === -11. Actual: ' + (parseFloat("-11."))); -} - -//CHECK#2 -if (parseFloat("01.") !== 1) { - $ERROR('#2: parseFloat("01.") === 1. Actual: ' + (parseFloat("01."))); -} - -//CHECK#3 -if (parseFloat("+11.1") !== 11.1) { - $ERROR('#3: parseFloat("+11.1") === 11.1. Actual: ' + (parseFloat("+11.1"))); -} - -//CHECK#4 -if (parseFloat("01.1") !== 1.1) { - $ERROR('#4: parseFloat("01.1") === 1.1. Actual: ' + (parseFloat("01.1"))); -} - -//CHECK#5 -if (parseFloat("-11.e-1") !== -1.1) { - $ERROR('#5: parseFloat("-11.e-1") === -1.1. Actual: ' + (parseFloat("-11.e-1"))); -} - -//CHECK#6 -if (parseFloat("01.e1") !== 10) { - $ERROR('#6: parseFloat("01.e1") === 10. Actual: ' + (parseFloat("01.e1"))); -} - -//CHECK#7 -if (parseFloat("+11.22e-1") !== 1.122) { - $ERROR('#7: parseFloat("+11.22e-1") === 1.122. Actual: ' + (parseFloat("+11.22e-1"))); -} - -//CHECK#8 -if (parseFloat("01.01e1") !== 10.1) { - $ERROR('#8: parseFloat("01.01e1") === 10.1. Actual: ' + (parseFloat("01.01e1"))); -} - -//CHECK#9 -if (parseFloat("001.") !== 1) { - $ERROR('#9: parseFloat("001.") === 1. Actual: ' + (parseFloat("001."))); -} - -//CHECK#10 -if (parseFloat("010.") !== 10) { - $ERROR('#10: parseFloat("010.") === 10. Actual: ' + (parseFloat("010."))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T3.js deleted file mode 100644 index a0c106f058..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A5_T3; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Return the number value for the MV of Result(4); - * @description: Checking . DecimalDigits ExponentPart_opt; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A5_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T3.js", - -assertion: "Return the number value for the MV of Result(4)", - -description: "Checking . DecimalDigits ExponentPart_opt", - -test: function testcase() { - //CHECK#1 -if (parseFloat("+.1") !== 0.1) { - $ERROR('#1: parseFloat("+.1") === 0.1. Actual: ' + (parseFloat("+.1"))); -} - -//CHECK#2 -if (parseFloat(".01") !== 0.01) { - $ERROR('#2: parseFloat(".01") === 0.01. Actual: ' + (parseFloat(".01"))); -} - -//CHECK#3 -if (parseFloat("+.22e-1") !== 0.022) { - $ERROR('#3: parseFloat("+.22e-1") === 0.022. Actual: ' + (parseFloat("+.22e-1"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js deleted file mode 100644 index 7cdb45e37f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A5_T4; - * @section: 15.1.2.3, 9.3.1; - * @assertion: Return the number value for the MV of Result(4); - * @description: Checking DecimalDigits ExponentPart_opt; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A5_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js", - -assertion: "Return the number value for the MV of Result(4)", - -description: "Checking DecimalDigits ExponentPart_opt", - -test: function testcase() { - //CHECK#1 -if (parseFloat("-11") !== -11) { - $ERROR('#1: parseFloat("-11") === -11. Actual: ' + (parseFloat("-11"))); -} - -//CHECK#2 -if (parseFloat("01") !== 1) { - $ERROR('#2: parseFloat("01") === 1. Actual: ' + (parseFloat("01"))); -} - -//CHECK#3 -if (parseFloat("-11e-1") !== -1.1) { - $ERROR('#3: parseFloat("-11e-1") === -1.1. Actual: ' + (parseFloat("-11e-1"))); -} - -//CHECK#4 -if (parseFloat("01e1") !== 10) { - $ERROR('#4: parseFloat("01e1") === 10. Actual: ' + (parseFloat("01e1"))); -} - -//CHECK#5 -if (parseFloat("001") !== 1) { - $ERROR('#5: parseFloat("001") === 1. Actual: ' + (parseFloat("001"))); -} - -//CHECK#6 -if (parseFloat("1e001") !== 10) { - $ERROR('#6: parseFloat("1e001") === 10. Actual: ' + (parseFloat("1e001"))); -} - -//CHECK#7 -if (parseFloat("010") !== 10) { - $ERROR('#7: parseFloat("010") === 10. Actual: ' + (parseFloat("010"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A6.js deleted file mode 100644 index 4d76e02525..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A6.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A6; - * @section: 15.1.2.3, 9.3.1; - * @assertion: parseFloat may interpret only a leading portion of the string as - * a number value; it ignores any characters that cannot be interpreted as part - * of the notation of an decimal literal, and no indication is given that any such - * characters were ignored. - * @description: Complex test without eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A6.js", - -assertion: "parseFloat may interpret only a leading portion of the string as", - -description: "Complex test without eval", - -test: function testcase() { - //CHECK -var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; -for (var index = 0; index <= 65535; index++) { - if ((index < 0x0030) || (index > 0x0039)) { - var hex = decimalToHexString(index); - if (parseFloat("0.1e1" + String.fromCharCode(index)) !== 1) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - count++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.1.js deleted file mode 100644 index 838ae141db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A7.1; - * @section: 15.1.2.3, 15.2.4.7, 12.6.4; - * @assertion: The length property of parseFloat has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A7.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.1.js", - -assertion: "The length property of parseFloat has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (parseFloat.propertyIsEnumerable('length') !== false) { - $ERROR('#1: parseFloat.propertyIsEnumerable(\'length\') === false. Actual: ' + (parseFloat.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in parseFloat){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in parseFloat) { if (p === "length") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.2.js deleted file mode 100644 index 928ff0f2ce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A7.2; - * @section: 15.1.2.3, 15.2.4.5, 11.4.1; - * @assertion: The length property of parseFloat has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A7.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.2.js", - -assertion: "The length property of parseFloat has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (parseFloat.hasOwnProperty('length') !== true) { - $FAIL('#1: parseFloat.hasOwnProperty(\'length\') === true. Actual: ' + (parseFloat.hasOwnProperty('length'))); -} - -delete parseFloat.length; - -//CHECK#2 -if (parseFloat.hasOwnProperty('length') !== true) { - $ERROR('#2: delete parseFloat.length; parseFloat.hasOwnProperty(\'length\') === true. Actual: ' + (parseFloat.hasOwnProperty('length'))); -} - -//CHECK#3 -if (parseFloat.length === undefined) { - $ERROR('#3: delete parseFloat.length; parseFloat.length !== undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.3.js deleted file mode 100644 index 51b3fa3901..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A7.3; - * @section: 15.1.2.3; - * @assertion: The length property of parseFloat has the attribute ReadOnly; - * @description: Checking if varying the length property fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A7.3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.3.js", - -assertion: "The length property of parseFloat has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = parseFloat.length; -parseFloat.length = Infinity; -if (parseFloat.length !== x) { - $ERROR('#1: x = parseFloat.length; parseFloat.length = Infinity; parseFloat.length === x. Actual: ' + (parseFloat.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.4.js deleted file mode 100644 index 07f4bff429..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A7.4; - * @section: 15.1.2.3; - * @assertion: The length property of parseFloat is 1; - * @description: parseFloat.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A7.4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.4.js", - -assertion: "The length property of parseFloat is 1", - -description: "parseFloat.length === 1", - -test: function testcase() { - //CHECK#1 -if (parseFloat.length !== 1) { - $ERROR('#1: parseFloat.length === 1. Actual: ' + (parseFloat.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.5.js deleted file mode 100644 index 8df523e54b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.3_A7.5; - * @section: 15.1.2.3, 15.2.4.7, 12.6.4; - * @assertion: The parseFloat property has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A7.5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.5.js", - -assertion: "The parseFloat property has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (this.propertyIsEnumerable('parseFloat') !== false) { - $ERROR('#1:this.propertyIsEnumerable(\'parseFloat\') === false. Actual: ' + (this.propertyIsEnumerable('parseFloat'))); -} - -//CHECK#2 -var result = true; -for (var p in this){ - if (p === "parseFloat") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in this) { if (p === "parseFloat") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.6.js deleted file mode 100644 index 6bf539d1bb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.3_A7.6; -* @section: 15.1.2.3; -* @assertion: The parseFloat property has not prototype property; -* @description: Checking parseFloat.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A7.6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.6.js", - -assertion: "The parseFloat property has not prototype property", - -description: "Checking parseFloat.prototype", - -test: function testcase() { - //CHECK#1 -if (parseFloat.prototype !== undefined) { - $ERROR('#1: parseFloat.prototype === undefined. Actual: ' + (parseFloat.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.7.js deleted file mode 100644 index 5a6c0c8889..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.3_A7.7; -* @section: 15.1.2.3, 11.2.2; -* @assertion: The parseFloat property can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.3_A7.7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A7.7.js", - -assertion: "The parseFloat property can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new parseFloat(); - $ERROR('#1.1: new parseFloat() throw TypeError. Actual: ' + (new parseFloat())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new parseFloat() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T1.js deleted file mode 100644 index 7c092d1932..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T1.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.4_A1_T1; - * @section: 15.1.2.4; - * @assertion: isNaN applies ToNumber to its argument, then return true if the result is NaN, and otherwise return false; - * @description: Checking all primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.4_A1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T1.js", - -assertion: "isNaN applies ToNumber to its argument, then return true if the result is NaN, and otherwise return false", - -description: "Checking all primitive", - -test: function testcase() { - // CHECK#1 -if (!(isNaN(NaN) === true)) { - $ERROR('#1: NaN === Not-a-Number. Actual: ' + (NaN)); -} - -// CHECK#2 -if (!(isNaN(Number.NaN) === true)) { - $ERROR('#2: Number.NaN === Not-a-Number. Actual: ' + (Number.NaN)); -} - -// CHECK#3 -if (!(isNaN(Number(void 0)) === true)) { - $ERROR('#3: Number(void 0) === Not-a-Number. Actual: ' + (Number(void 0))); -} - -// CHECK#4 -if (!(isNaN(void 0) === true)) { - $ERROR('#4: void 0 === Not-a-Number. Actual: ' + (void 0)); -} - -// CHECK#5 -if (!(isNaN("string") === true)) { - $ERROR('#5: "string" === Not-a-Number. Actual: ' + ("string")); -} - -// CHECK#6 -if (isNaN(Number.POSITIVE_INFINITY) === true) { - $ERROR('#6: Number.POSITIVE_INFINITY !== Not-a-Number'); -} - -// CHECK#7 -if (isNaN(Number.NEGATIVE_INFINITY) === true) { - $ERROR('#7: Number.NEGATIVE_INFINITY !== Not-a-Number'); -} - -// CHECK#8 -if (isNaN(Number.MAX_VALUE) === true) { - $ERROR('#8: Number.MAX_VALUE !== Not-a-Number'); -} - -// CHECK#9 -if (isNaN(Number.MIN_VALUE) === true) { - $ERROR('#9: Number.MIN_VALUE !== Not-a-Number'); -} - -// CHECK#10 -if (isNaN(-0) === true) { - $ERROR('#10: -0 !== Not-a-Number'); -} - -// CHECK#11 -if (isNaN(true) === true) { - $ERROR('#11: true !== Not-a-Number'); -} - -// CHECK#12 -if (isNaN("1") === true) { - $ERROR('#12: "1" !== Not-a-Number'); -} - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T2.js deleted file mode 100644 index 44d8518bee..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T2.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.4_A1_T2; - * @section: 15.1.2.4; - * @assertion: isNaN applies ToNumber to its argument, then return true if the result is NaN, and otherwise return false; - * @description: Checking all object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.4_A1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A1_T2.js", - -assertion: "isNaN applies ToNumber to its argument, then return true if the result is NaN, and otherwise return false", - -description: "Checking all object", - -test: function testcase() { - // CHECK#1 -if (!(isNaN({}) === true)) { - $ERROR('#1: {} === Not-a-Number. Actual: ' + ({})); -} - -// CHECK#2 -if (!(isNaN(new String("string")) === true)) { - $ERROR('#2: new String("string") === Not-a-Number. Actual: ' + (new String("string"))); -} - -// CHECK#3 -if (isNaN(new String("1")) === true) { - $ERROR('#3: new String("1") === Not-a-Number. Actual: ' + (new String("1"))); -} - -// CHECK#4 -if (isNaN(new Number(1)) === true) { - $ERROR('#4: new Number(1) !== Not-a-Number'); -} - -// CHECK#5 -if (!(isNaN(new Number(NaN)) === true)) { - $ERROR('#5: new Number(NaN) === Not-a-Number. Actual: ' + (new Number(NaN))); -} - -// CHECK#6 -if (isNaN(new Boolean(true)) === true) { - $ERROR('#6: new Boolean(true) !== Not-a-Number'); -} - - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.1.js deleted file mode 100644 index 54bf5b84a6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.4_A2.1; - * @section: 15.1.2.4, 15.2.4.7, 12.6.4; - * @assertion: The length property of isNaN has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.4_A2.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.1.js", - -assertion: "The length property of isNaN has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (isNaN.propertyIsEnumerable('length') !== false) { - $ERROR('#1: isNaN.propertyIsEnumerable(\'length\') === false. Actual: ' + (isNaN.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (p in isNaN){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in isNaN) { if (p === "length") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js deleted file mode 100644 index 3b4a018117..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.4_A2.2; - * @section: 15.1.2.4, 15.2.4.5, 11.4.1; - * @assertion: The length property of isNaN has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.4_A2.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js", - -assertion: "The length property of isNaN has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (isNaN.hasOwnProperty('length') !== true) { - $FAIL('#1: isNaN.hasOwnProperty(\'length\') === true. Actual: ' + (isNaN.hasOwnProperty('length'))); -} - -delete isNaN.length; - -//CHECK#2 -if (isNaN.hasOwnProperty('length') !== true) { - $ERROR('#2: delete isNaN.length; isNaN.hasOwnProperty(\'length\') === true. Actual: ' + (isNaN.hasOwnProperty('length'))); -} - -//CHECK#3 -if (isNaN.length === undefined) { - $ERROR('#3: delete isNaN.length; isNaN.length !== undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.3.js deleted file mode 100644 index d47f0d0f78..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.4_A2.3; - * @section: 15.1.2.4; - * @assertion: The length property of isNaN has the attribute ReadOnly; - * @description: Checking if varying the length property fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.4_A2.3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.3.js", - -assertion: "The length property of isNaN has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -x = isNaN.length; -isNaN.length = Infinity; -if (isNaN.length !== x) { - $ERROR('#1: x = isNaN.length; isNaN.length = Infinity; isNaN.length === x. Actual: ' + (isNaN.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.4.js deleted file mode 100644 index e1e8d47425..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.4_A2.4; - * @section: 15.1.2.4; - * @assertion: The length property of isNaN is 1; - * @description: isNaN.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.4_A2.4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.4.js", - -assertion: "The length property of isNaN is 1", - -description: "isNaN.length === 1", - -test: function testcase() { - //CHECK#1 -if (isNaN.length !== 1) { - $ERROR('#1: isNaN.length === 1. Actual: ' + (isNaN.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.5.js deleted file mode 100644 index f392e8dfd0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.4_A2.5; - * @section: 15.1.2.4, 15.2.4.7, 12.6.4; - * @assertion: The isNaN property has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.4_A2.5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.5.js", - -assertion: "The isNaN property has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (this.propertyIsEnumerable('isNaN') !== false) { - $ERROR('#1: this.propertyIsEnumerable(\'isNaN\') === false. Actual: ' + (this.propertyIsEnumerable('isNaN'))); -} - -//CHECK#2 -var result = true; -for (p in this){ - if (p === "isNaN") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in this) { if (p === "isNaN") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.6.js deleted file mode 100644 index 4a2686938c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.4_A2.6; -* @section: 15.1.2.4; -* @assertion: The isNaN property has not prototype property; -* @description: Checking isNaN.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.4_A2.6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.6.js", - -assertion: "The isNaN property has not prototype property", - -description: "Checking isNaN.prototype", - -test: function testcase() { - //CHECK#1 -if (isNaN.prototype !== undefined) { - $ERROR('#1: isNaN.prototype === undefined. Actual: ' + (isNaN.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.7.js deleted file mode 100644 index d31e39b2e4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.4_A2.7; -* @section: 15.1.2.4, 11.2.2; -* @assertion: The isNaN property can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.4_A2.7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.7.js", - -assertion: "The isNaN property can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new isNaN(); - $ERROR('#1.1: new isNaN() throw TypeError. Actual: ' + (new isNaN())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new isNaN() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T1.js deleted file mode 100644 index be471fa927..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T1.js +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.5_A1_T1; - * @section: 15.1.2.5; - * @assertion: isFinite applies ToNumber to its argument, then return false if the result is NaN, +Infinity, -Infinity, and otherwise return true; - * @description: Checking all primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.5_A1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T1.js", - -assertion: "isFinite applies ToNumber to its argument, then return false if the result is NaN, +Infinity, -Infinity, and otherwise return true", - -description: "Checking all primitive", - -test: function testcase() { - // CHECK#1 -if (!(isFinite(NaN) === false)) { - $ERROR('#1: NaN === Not-a-Finite. Actual: ' + (NaN)); -} - -// CHECK#2 -if (!(isFinite(Number.NaN) === false)) { - $ERROR('#2: Number.NaN === Not-a-Finite. Actual: ' + (Number.NaN)); -} - -// CHECK#3 -if (!(isFinite(Number(void 0)) === false)) { - $ERROR('#3: Number(void 0) === Not-a-Finite. Actual: ' + (Number(void 0))); -} - -// CHECK#4 -if (!(isFinite(void 0) === false)) { - $ERROR('#4: void 0 === Not-a-Finite. Actual: ' + (void 0)); -} - -// CHECK#5 -if (!(isFinite("string") === false)) { - $ERROR('#5: "string" === Not-a-Finite. Actual: ' + ("string")); -} - -// CHECK#6 -if (isFinite(Number.POSITIVE_INFINITY) !== false) { - $ERROR('#6: Number.POSITIVE_INFINITY === Not-a-Finite. Actual: ' + (Number.POSITIVE_INFINITY)); -} - -// CHECK#7 -if (isFinite(Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#7: Number.NEGATIVE_INFINITY === Not-a-Finite. Actual: ' + (Number.NEGATIVE_INFINITY)); -} - -// CHECK#8 -if (isFinite(Number.MAX_VALUE) === false) { - $ERROR('#8: Number.MAX_VALUE !== Not-a-Finite'); -} - -// CHECK#9 -if (isFinite(Number.MIN_VALUE) === false) { - $ERROR('#9: Number.MIN_VALUE !== Not-a-Finite'); -} - -// CHECK#10 -if (isFinite(-0) === false) { - $ERROR('#10: -0 !== Not-a-Finite'); -} - -// CHECK#11 -if (isFinite(false) === false) { - $ERROR('#11: false !== Not-a-Finite'); -} - -// CHECK#12 -if (isFinite("1") === false) { - $ERROR('#12: "1" !== Not-a-Finite'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T2.js deleted file mode 100644 index dfe0d7cd07..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.5_A1_T2; - * @section: 15.1.2.5; - * @assertion: isFinite applies ToNumber to its argument, then return false if the result is NaN, +Infinity, -Infinity, and otherwise return true; - * @description: Checking all object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.5_A1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A1_T2.js", - -assertion: "isFinite applies ToNumber to its argument, then return false if the result is NaN, +Infinity, -Infinity, and otherwise return true", - -description: "Checking all object", - -test: function testcase() { - // CHECK#1 -if (!(isFinite({}) === false)) { - $ERROR('#1: {} === Not-a-Finite. Actual: ' + ({})); -} - -// CHECK#2 -if (!(isFinite(new String("string")) === false)) { - $ERROR('#2: new String("string") === Not-a-Finite. Actual: ' + (new String("string"))); -} - -// CHECK#3 -if (isFinite(new String("1")) === false) { - $ERROR('#3: new String("1") === Not-a-Finite. Actual: ' + (new String("1"))); -} - -// CHECK#4 -if (isFinite(new Number(1)) === false) { - $ERROR('#4: new Number(1) !== Not-a-Finite'); -} - -// CHECK#5 -if (!(isFinite(new Number(NaN)) === false)) { - $ERROR('#5: new Number(NaN) === Not-a-Finite. Actual: ' + (new Number(NaN))); -} - -// CHECK#6 -if (isFinite(new Boolean(true)) === false) { - $ERROR('#6: new Boolean(true) !== Not-a-Finite'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.1.js deleted file mode 100644 index 6259031d99..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.5_A2.1; - * @section: 15.1.2.5, 15.2.4.7, 12.6.4; - * @assertion: The length property of isFinite has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.5_A2.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.1.js", - -assertion: "The length property of isFinite has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (isFinite.propertyIsEnumerable('length') !== false) { - $ERROR('#1: isFinite.propertyIsEnumerable(\'length\') === false. Actual: ' + (isFinite.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (p in isFinite){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in isFinite) { if (p === "length") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.2.js deleted file mode 100644 index 1a7b2dabca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.5_A2.2; - * @section: 15.1.2.5, 15.2.4.5, 11.4.1; - * @assertion: The length property of isFinite has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.5_A2.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.2.js", - -assertion: "The length property of isFinite has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (isFinite.hasOwnProperty('length') !== true) { - $FAIL('#1: isFinite.hasOwnProperty(\'length\') === true. Actual: ' + (isFinite.hasOwnProperty('length'))); -} - -delete isFinite.length; - -//CHECK#2 -if (isFinite.hasOwnProperty('length') !== true) { - $ERROR('#2: delete isFinite.length; isFinite.hasOwnProperty(\'length\') === true. Actual: ' + (isFinite.hasOwnProperty('length'))); -} - -//CHECK#3 -if (isFinite.length === undefined) { - $ERROR('#3: delete isFinite.length; isFinite.length !== undefined'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.3.js deleted file mode 100644 index d5ebdc5dfb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.5_A2.3; - * @section: 15.1.2.5; - * @assertion: The length property of isFinite has the attribute ReadOnly; - * @description: Checking if varying the length property fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.5_A2.3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.3.js", - -assertion: "The length property of isFinite has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -x = isFinite.length; -isFinite.length = Infinity; -if (isFinite.length !== x) { - $ERROR('#1: x = isFinite.length; isFinite.length = Infinity; isFinite.length === x. Actual: ' + (isFinite.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.4.js deleted file mode 100644 index 0a33666cae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.5_A2.4; - * @section: 15.1.2.5; - * @assertion: The length property of isFinite is 1; - * @description: isFinite.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.5_A2.4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.4.js", - -assertion: "The length property of isFinite is 1", - -description: "isFinite.length === 1", - -test: function testcase() { - //CHECK#1 -if (isFinite.length !== 1) { - $ERROR('#1: isFinite.length === 1. Actual: ' + (isFinite.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.5.js deleted file mode 100644 index 160f38f185..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.2.5_A2.5; - * @section: 15.1.2.5, 15.2.4.7, 12.6.4; - * @assertion: The isFinite property has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.5_A2.5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.5.js", - -assertion: "The isFinite property has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (this.propertyIsEnumerable('isFinite') !== false) { - $ERROR('#1: this.propertyIsEnumerable(\'isFinite\') === false. Actual: ' + (this.propertyIsEnumerable('isFinite'))); -} - -//CHECK#2 -var result = true; -for (p in this){ - if (p === "isFinite") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in this) { if (p === "isFinite") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.6.js deleted file mode 100644 index e833a68dde..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.5_A2.6; -* @section: 15.1.2.5; -* @assertion: The isFinite property has not prototype property; -* @description: Checking isFinit.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.5_A2.6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.6.js", - -assertion: "The isFinite property has not prototype property", - -description: "Checking isFinit.prototype", - -test: function testcase() { - //CHECK#1 -if (isFinite.prototype !== undefined) { - $ERROR('#1: isFinite.prototype === undefined. Actual: ' + (isFinite.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.7.js deleted file mode 100644 index f15c19c1fa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.2.5_A2.7; -* @section: 15.1.2.5, 11.2.2; -* @assertion: The isFinite property can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.2.5_A2.7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.5_isFinite/S15.1.2.5_A2.7.js", - -assertion: "The isFinite property can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new isFinite(); - $ERROR('#1.1: new isFinite() throw TypeError. Actual: ' + (new isFinite())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new isFinite() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.10_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.10_T1.js deleted file mode 100644 index aeef9b8f03..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.10_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.10_T1; - * @section: 15.1.3.1; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.10_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.10_T1.js", - -assertion: "If B = 110xxxxx (n = 2) and string.charAt(k + 4) and", - -description: "Complex tests", - -test: function testcase() { - //CHECK -var result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (var indexI = 0; indexI < interval.length; indexI++) { - for (var indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURI("%C0%" + String.fromCharCode(indexJ, indexJ)); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T1.js deleted file mode 100644 index cfb3b61352..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.11_T1; - * @section: 15.1.3.1; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.11_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T1.js", - -assertion: "If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 4) and string.charAt(k + 5)", - -test: function testcase() { - //CHECK -var result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (var indexI = 0; indexI < interval.length; indexI++) { - for (var indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURI("%E0%" + String.fromCharCode(indexJ, indexJ) + "%A0"); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T2.js deleted file mode 100644 index 7aee27876f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.11_T2; - * @section: 15.1.3.1; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.11_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.11_T2.js", - -assertion: "If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 7) and string.charAt(k + 8)", - -test: function testcase() { - //CHECK -var result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (var indexI = 0; indexI < interval.length; indexI++) { - for (var indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURI("%E0%" + "%A0" + String.fromCharCode(indexJ, indexJ)); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T1.js deleted file mode 100644 index fd94867d8a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.12_T1; - * @section: 15.1.3.1; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.12_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T1.js", - -assertion: "If B = 11110xxx (n = 4) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 4) and string.charAt(k + 5)", - -test: function testcase() { - //CHECK -var result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (var indexI = 0; indexI < interval.length; indexI++) { - for (var indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURI("%F0%" + String.fromCharCode(indexJ, indexJ) + "%A0%A0"); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T2.js deleted file mode 100644 index ce1d7fcccf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T2.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.12_T2; - * @section: 15.1.3.1; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.12_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T2.js", - -assertion: "If B = 11110xxx (n = 4) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 7) and string.charAt(k + 7)", - -test: function testcase() { - //CHECK -var result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (var indexI = 0; indexI < interval.length; indexI++) { - for (var indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURI("%F0%" + "%A0" + String.fromCharCode(indexJ, indexJ) + "%A0"); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T3.js deleted file mode 100644 index 27ed110c27..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T3.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.12_T3; - * @section: 15.1.3.1; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.12_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.12_T3.js", - -assertion: "If B = 11110xxx (n = 4) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 10) and string.charAt(k + 11)", - -test: function testcase() { - //CHECK -var result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (var indexI = 0; indexI < interval.length; indexI++) { - for (var indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURI("%F0%" + "%A0%A0" + String.fromCharCode(indexJ, indexJ)); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T1.js deleted file mode 100644 index 44d0b16722..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.13_T1; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.13_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T1.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xC0; indexB <= 0xDF; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0x00; indexC <= 0x7F; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T2.js deleted file mode 100644 index 6b144b2849..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T2.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.13_T2; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.13_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.13_T2.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xC0; indexB <= 0xDF; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0xC0; indexC <= 0xFF; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T1.js deleted file mode 100644 index f9a9bc14d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.14_T1; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.14_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T1.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xE0; indexB <= 0xEF; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0x00; indexC <= 0x7F; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%" + hexC.substring(2) + "%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T2.js deleted file mode 100644 index d3efb93fbd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T2.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.14_T2; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.14_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T2.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xE0; indexB <= 0xEF; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0x00; indexC <= 0x7F; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%A0" + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T3.js deleted file mode 100644 index c5b773f238..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T3.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.14_T3; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.14_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T3.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xE0; indexB <= 0xEF; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0xC0; indexC <= 0xFF; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%" + hexC.substring(2) + "%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T4.js deleted file mode 100644 index 46d44e76f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T4.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.14_T4; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.14_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.14_T4.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xE0; indexB <= 0xEF; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0xC0; indexC <= 0xFF; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%A0" + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T1.js deleted file mode 100644 index 0ffe39834c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.15_T1; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.15_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T1.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0x00; indexC <= 0x7F; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%" + hexC.substring(2) + "%A0%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T2.js deleted file mode 100644 index d41a8f694e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T2.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.15_T2; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.15_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T2.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0x00; indexC <= 0x7F; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%A0" + "%" + hexC.substring(2) + "%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T3.js deleted file mode 100644 index 9ae792be67..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T3.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.15_T3; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.15_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T3.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0x00; indexC <= 0x7F; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%A0%A0" + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T4.js deleted file mode 100644 index dbcadf9c26..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T4.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.15_T4; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.15_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T4.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0xC0; indexC <= 0xFF; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%" + hexC.substring(2) + "%A0%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T5.js deleted file mode 100644 index f02632f162..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T5.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.15_T5; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.15_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T5.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0xC0; indexC <= 0xFF; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%A0" + "%" + hexC.substring(2) + "%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T6.js deleted file mode 100644 index 6186b80290..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T6.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.15_T6; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.15_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.15_T6.js", - -assertion: "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]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - var hexB = decimalToHexString(indexB); - var result = true; - for (var indexC = 0xC0; indexC <= 0xFF; indexC++) { - var hexC = decimalToHexString(indexC); - try { - decodeURI("%" + hexB.substring(2) + "%A0%A0" + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.1_T1.js deleted file mode 100644 index 959e8755de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.1_T1.js +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.1_T1; - * @section: 15.1.3.1; - * @assertion: If string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.1_T1.js", - -assertion: "If string.charAt(k) equal \"%\" and k + 2 >= string.length, throw URIError", - -description: "Complex tests", - -test: function testcase() { - var result = true; - -//CHECK#1 -try { - decodeURI("%"); - result = false; -} catch(e) { - if ((e instanceof URIError) !== true) { - result = false; - } -} - -//CHECK#2 -try { - decodeURI("%A"); - result = false; -} catch(e) { - if ((e instanceof URIError) !== true) { - result = false; - } -} - -//CHECK#3 -try { - decodeURI("%1"); - result = false; -} catch(e) { - if ((e instanceof URIError) !== true) { - result = false; - } -} - -//CHECK#4 -try { - decodeURI("% "); - result = false; -} catch(e) { - if ((e instanceof URIError) !== true) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: If string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T1.js deleted file mode 100644 index 0e02fbdb65..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.2_T1; - * @section: 15.1.3.1; - * @assertion: If B = string.charAt(k+1) + string.charAt(k+2) do not represent - * hexadecimal digits, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T1.js", - -assertion: "If B = string.charAt(k+1) + string.charAt(k+2) do not represent", - -description: "Complex tests", - -test: function testcase() { - //CHECK -var result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (var indexI = 0; indexI < interval.length; indexI++) { - for (var indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURI("%" + String.fromCharCode(indexJ) + "1"); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -if (result !== true) { - $ERROR('#1: If string.charAt(k+1) does not represent hexadecimal digits, throw URIError'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js deleted file mode 100644 index e9b93f0490..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.2_T2; - * @section: 15.1.3.1; - * @assertion: If B = string.charAt(k+1) + string.charAt(k+2) do not represent - * hexadecimal digits, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js", - -assertion: "If B = string.charAt(k+1) + string.charAt(k+2) do not represent", - -description: "Complex tests", - -test: function testcase() { - //CHECK -var result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (var indexI = 0; indexI < interval.length; indexI++) { - for (var indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURI("%" + "1" + String.fromCharCode(indexJ)); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -if (result !== true) { - $ERROR('#1: If string.charAt(k+2) does not represent hexadecimal digits, throw URIError'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T1.js deleted file mode 100644 index db18eabee8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.3_T1; - * @section: 15.1.3.1; - * @assertion: If B = 10xxxxxx or B = 11111xxx, throw URIError; - * @description: Complex tests. B = 10xxxxxx -> B in [0x80 - 0xBF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T1.js", - -assertion: "If B = 10xxxxxx or B = 11111xxx, throw URIError", - -description: "Complex tests. B = 10xxxxxx -> B in [0x80 - 0xBF]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0x80; index <= 0xBF; index++) { - count++; - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T2.js deleted file mode 100644 index 009db007e0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T2.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.3_T2; - * @section: 15.1.3.1; - * @assertion: If B = 10xxxxxx or B = 11111xxx, throw URIError; - * @description: Complex tests. B = 11111xxx -> B in [0xF8 - 0xFF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.3_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.3_T2.js", - -assertion: "If B = 10xxxxxx or B = 11111xxx, throw URIError", - -description: "Complex tests. B = 11111xxx -> B in [0xF8 - 0xFF]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xF8; index <= 0xFF; index++) { - count++; - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.4_T1.js deleted file mode 100644 index 43f0cd5367..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.4_T1.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.4_T1; - * @section: 15.1.3.1; - * @assertion: If B = 110xxxxx (n = 2) and (k + 2) + 3 >= length, throw URIError; - * @description: Complex tests. B = [0xC0 - 0xDF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.4_T1.js", - -assertion: "If B = 110xxxxx (n = 2) and (k + 2) + 3 >= length, throw URIError", - -description: "Complex tests. B = [0xC0 - 0xDF]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xC0; index <= 0xDF; index++) { - count++; - var str = ""; - var result = true; - for (var len = 0; len < 3; len++) { - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2) + str); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - str = str + "1"; - } - if (result !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.5_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.5_T1.js deleted file mode 100644 index cafed512b7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.5_T1.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.5_T1; - * @section: 15.1.3.1; - * @assertion: If B = 1110xxxx (n = 3) and (k + 2) + 6 >= length, throw URIError; - * @description: Complex tests. B = [0xE0 - 0xEF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.5_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.5_T1.js", - -assertion: "If B = 1110xxxx (n = 3) and (k + 2) + 6 >= length, throw URIError", - -description: "Complex tests. B = [0xE0 - 0xEF]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xE0; index <= 0xEF; index++) { - count++; - var str = ""; - var result = true; - for (var len = 0; len < 6; len++) { - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2) + str); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - str = str + "1"; - } - if (result !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.6_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.6_T1.js deleted file mode 100644 index 87b36980ea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.6_T1.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.6_T1; - * @section: 15.1.3.1; - * @assertion: If B = 11110xxx (n = 4) and (k + 2) + 9 >= length, throw URIError; - * @description: Complex tests. B = [0xF0 - 0xF7]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.6_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.6_T1.js", - -assertion: "If B = 11110xxx (n = 4) and (k + 2) + 9 >= length, throw URIError", - -description: "Complex tests. B = [0xF0 - 0xF7]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xF0; index <= 0xF7; index++) { - count++; - var str = ""; - var result = true; - for (var len = 0; len < 9; len++) { - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2) + str); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - str = str + "1"; - } - if (result !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.7_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.7_T1.js deleted file mode 100644 index 944c212273..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.7_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.7_T1; - * @section: 15.1.3.1; - * @assertion: If B = 110xxxxx (n = 2) and string.charAt(k + 3) not equal "%", throw URIError; - * @description: Complex tests. B = [0xC0 - 0xDF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.7_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.7_T1.js", - -assertion: "If B = 110xxxxx (n = 2) and string.charAt(k + 3) not equal \"%\", throw URIError", - -description: "Complex tests. B = [0xC0 - 0xDF]", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xC0; index <= 0xDF; index++) { - count++; - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2) + "111"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T1.js deleted file mode 100644 index 51fae387a5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T1.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.8_T1; - * @section: 15.1.3.1; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.8_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T1.js", - -assertion: "If B = 1110xxxx (n = 3) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xE0 - 0xEF],", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xE0; index <= 0xEF; index++) { - count++; - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2) + "111%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T2.js deleted file mode 100644 index 5e4bbb8ad0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T2.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.8_T2; - * @section: 15.1.3.1; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.8_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.8_T2.js", - -assertion: "If B = 1110xxxx (n = 3) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xE0 - 0xEF],", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xE0; index <= 0xEF; index++) { - count++; - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2) + "%A0111"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T1.js deleted file mode 100644 index 9b63d089ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T1.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.9_T1; - * @section: 15.1.3.1; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.9_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T1.js", - -assertion: "If B = 11110xxx (n = 4) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xF0 - 0x0F7],", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xF0; index <= 0xF7; index++) { - count++; - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2) + "111%A0%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T2.js deleted file mode 100644 index bb43647896..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T2.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.9_T2; - * @section: 15.1.3.1; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.9_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T2.js", - -assertion: "If B = 11110xxx (n = 4) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xF0 - 0x0F7],", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xF0; index <= 0xF7; index++) { - count++; - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2) + "%A0111%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T3.js deleted file mode 100644 index 94bc1944ae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T3.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A1.9_T3; - * @section: 15.1.3.1; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A1.9_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.9_T3.js", - -assertion: "If B = 11110xxx (n = 4) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xF0 - 0x0F7],", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var index = 0xF0; index <= 0xF7; index++) { - count++; - var hex = decimalToHexString(index); - try { - decodeURI("%" + hex.substring(2) + "%A0%A0111"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.1_T1.js deleted file mode 100644 index e5b3fdbdb3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.1_T1.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A2.1_T1; - * @section: 15.1.3.1; - * @assertion: If string.charAt(k) not equal "%", return this char; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A2.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.1_T1.js", - -assertion: "If string.charAt(k) not equal \"%\", return this char", - -description: "Complex tests", - -test: function testcase() { - //CHECK -var errorCount = 0; -var count = 0; -for (var indexI = 0; indexI <= 65535; indexI++) { - if (indexI !== 0x25) { - var hex = decimalToHexString(indexI); - try { - var str = String.fromCharCode(indexI); - if (decodeURI(str) !== str) { - $ERROR('#' + hex + ' '); - errorCount++; - } - } catch (e){ - $ERROR('#' + hex + ' '); - errorCount++; - } - count++; - } -} - -if (errorCount > 0) { - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.2_T1.js deleted file mode 100644 index dcee5cd86a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.2_T1.js +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A2.2_T1; - * @section: 15.1.3.1; - * @assertion: If B1 = 0xxxxxxxx ([0x00 - 0x7F]), without [uriReserved, #], return B1; - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A2.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.2_T1.js", - -assertion: "If B1 = 0xxxxxxxx ([0x00 - 0x7F]), without [uriReserved, #], return B1", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; -var uriReserved = [";", "/", "?", ":", "@", "&", "=", "+", "$", ","]; -l: -for (var indexB1 = 0x00; indexB1 <= 0x7F; indexB1++) { - count++; - var hexB1 = decimalToHexString(indexB1); - var index = indexB1; - try { - var hex = String.fromCharCode(index); - for (indexC = 0; indexC < uriReserved.length; indexC++) { - if (hex === uriReserved[indexC]) continue l; - } - if (hex === "#") continue l; - if (decodeURI("%" + hexB1.substring(2)) === hex) continue; - } catch (e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.3_T1.js deleted file mode 100644 index 889b4022c6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.3_T1.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A2.3_T1; - * @section: 15.1.3.1; - * @assertion: If B1 = 110xxxxx ([0xC0 - 0xDF]), B2 = 10xxxxxx ([0x80 - 0xBF), without B1 = [0xC0, 0xC1], return UTF8(B1, B2); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A2.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.3_T1.js", - -assertion: "If B1 = 110xxxxx ([0xC0 - 0xDF]), B2 = 10xxxxxx ([0x80 - 0xBF), without B1 = [0xC0, 0xC1], return UTF8(B1, B2)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB1 = 0xC2; indexB1 <= 0xDF; indexB1++) { - var hexB1 = decimalToHexString(indexB1); - for (var indexB2 = 0x80; indexB2 <= 0xBF; indexB2++) { - count++; - 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 (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.4_T1.js deleted file mode 100644 index 03d44cc3bc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.4_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A2.4_T1; - * @section: 15.1.3.1; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A2.4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.4_T1.js", - -assertion: "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", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB1 = 0xE0; indexB1 <= 0xEF; indexB1++) { - var hexB1 = decimalToHexString(indexB1); - for (var indexB2 = 0x80; indexB2 <= 0xBF; indexB2++) { - if ((indexB1 === 0xE0) && (indexB2 <= 0x9F)) continue; - if ((indexB1 === 0xED) && (0xA0 <= indexB2)) continue; - var hexB2 = decimalToHexString(indexB2); - for (var indexB3 = 0x80; indexB3 <= 0xBF; indexB3++) { - count++; - 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 (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.5_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.5_T1.js deleted file mode 100644 index 726bd61c87..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.5_T1.js +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A2.5_T1; - * @section: 15.1.3.1; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A2.5_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A2.5_T1.js", - -assertion: "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", - -test: function testcase() { - var errorCount = 0; -var count = 0; -var indexP; -var indexO = 0; - -for (var indexB1 = 0xF0; indexB1 <= 0xF4; indexB1++) { - var hexB1 = decimalToHexString(indexB1); - for (var indexB2 = 0x80; indexB2 <= 0xBF; indexB2++) { - if ((indexB1 === 0xF0) && (indexB2 <= 0x9F)) continue; - if ((indexB1 === 0xF4) && (indexB2 >= 0x90)) continue; - var hexB2 = decimalToHexString(indexB2); - for (var indexB3 = 0x80; indexB3 <= 0xBF; indexB3++) { - var hexB3 = decimalToHexString(indexB3); - for (var indexB4 = 0x80; indexB4 <= 0xBF; indexB4++) { - var hexB4 = decimalToHexString(indexB4); - count++; - var index = (indexB1 & 0x07) * 0x40000 + (indexB2 & 0x3F) * 0x1000 + (indexB3 & 0x3F) * 0x40 + (indexB4 & 0x3F); - 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 (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - } - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 4; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T1.js deleted file mode 100644 index 45d03eccc6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A3_T1; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T1.js", - -assertion: "Let reservedURISet be a string containing one instance of each character valid", - -description: "Checking all character in reservedURISet. HexDigit in [0..9, A..F]", - -test: function testcase() { - //CHECK#1 -if (decodeURI("%3B") !== "%3B") { - $ERROR('#1: decodeURI("%3B") equal "%3B", not ";"'); -} - -//CHECK#2 -if (decodeURI("%2F") !== "%2F") { - $ERROR('#2: decodeURI("%2F") equal "%2F", not "/"'); -} - -//CHECK#3 -if (decodeURI("%3F") !== "%3F") { - $ERROR('#3: decodeURI("%3F") equal "%3F", not "?"'); -} - -//CHECK#4 -if (decodeURI("%3A") !== "%3A") { - $ERROR('#4: decodeURI("%3A") equal "%3A", not ":"'); -} - -//CHECK#5 -if (decodeURI("%40") !== "%40") { - $ERROR('#5: decodeURI("%40") equal "%40", not "@"'); -} - -//CHECK#6 -if (decodeURI("%26") !== "%26") { - $ERROR('#6: decodeURI("%26") equal "%26", not "&"'); -} - -//CHECK#7 -if (decodeURI("%3D") !== "%3D") { - $ERROR('#7.1: decodeURI("%3D") equal "%3D", not "="'); -} - -//CHECK#8 -if (decodeURI("%2B") !== "%2B") { - $ERROR('#8.1: decodeURI("%2B") equal "%2B", not "+"'); -} - -//CHECK#9 -if (decodeURI("%24") !== "%24") { - $ERROR('#9: decodeURI("%24") equal "%24", not "$"'); -} - -//CHECK#10 -if (decodeURI("%2C") !== "%2C") { - $ERROR('#10: decodeURI("%2C") equal "%2C", not ","'); -} - -//CHECK#11 -if (decodeURI("%23") !== "%23") { - $ERROR('#11: decodeURI("%23") equal "%23", not "#"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T2.js deleted file mode 100644 index 720fd8d8c9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T2.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A3_T2; - * @section: 15.1.3.1; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A3_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T2.js", - -assertion: "Let reservedURISet be a string containing one instance of each character valid", - -description: "Checking all character in reservedURISet. HexDigit in [0..9, a..f]", - -test: function testcase() { - //CHECK#1 -if (decodeURI("%3b") !== "%3b") { - $ERROR('#1: decodeURI("%3b") equal "%3b", not ";" or "%3B"'); -} - -//CHECK#2 -if (decodeURI("%2f") !== "%2f") { - $ERROR('#2: decodeURI("%2f") equal "%2f", not "/" or "%2F"'); -} - -//CHECK#3 -if (decodeURI("%3f") !== "%3f") { - $ERROR('#3: decodeURI("%3f") equal "%3f", not "?" or "%3F"'); -} - -//CHECK#4 -if (decodeURI("%3a") !== "%3a") { - $ERROR('#4: decodeURI("%3a") equal "%3a", not ":" or "%3A"'); -} - -//CHECK#5 -if (decodeURI("%40") !== "%40") { - $ERROR('#5: decodeURI("%40") equal "%40", not "@"'); -} - -//CHECK#6 -if (decodeURI("%26") !== "%26") { - $ERROR('#6: decodeURI("%26") equal "%26", not "&"'); -} - -//CHECK#7 -if (decodeURI("%3d") !== "%3d") { - $ERROR('#7.1: decodeURI("%3d") equal "%3d", not "=" or "%3D"'); -} - -//CHECK#8 -if (decodeURI("%2b") !== "%2b") { - $ERROR('#8.1: decodeURI("%2b") equal "%2b", not "+" or "%2B"'); -} - -//CHECK#9 -if (decodeURI("%24") !== "%24") { - $ERROR('#9: decodeURI("%24") equal "%24", not "$"'); -} - -//CHECK#10 -if (decodeURI("%2c") !== "%2c") { - $ERROR('#10: decodeURI("%2c") equal "%2c", not "," or "%2C"'); -} - -//CHECK#11 -if (decodeURI("%23") !== "%23") { - $ERROR('#11: decodeURI("%23") equal "%23", not "#"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T3.js deleted file mode 100644 index 04d3e6482f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A3_T3; - * @section: 15.1.3.1; - * @assertion: Let reservedURISet be a string containing one instance of each character valid - * in uriReserved plus "#"; - * @description: Complex test; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A3_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A3_T3.js", - -assertion: "Let reservedURISet be a string containing one instance of each character valid", - -description: "Complex test", - -test: function testcase() { - //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") { - $ERROR('#1: 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 ";/?:@&=+$,#"'); -} - -//CHECK#2 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T1.js deleted file mode 100644 index ead5f5afeb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A4_T1; - * @section: 15.1.3.1; - * @assertion: URI tests; - * @description: Checking ENGLISH ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T1.js", - -assertion: "URI tests", - -description: "Checking ENGLISH ALPHABET", - -test: function testcase() { - //CHECK#1 -if (decodeURI("http://unipro.ru/0123456789") !== "http://unipro.ru/0123456789") { - $ERROR('#1: http://unipro.ru/0123456789'); -} - -//CHECK#2 -if (decodeURI("%41%42%43%44%45%46%47%48%49%4A%4B%4C%4D%4E%4F%50%51%52%53%54%55%56%57%58%59%5A") !== "ABCDEFGHIJKLMNOPQRSTUVWXYZ") { - $ERROR('#2: ABCDEFGHIJKLMNOPQRSTUVWXYZ'); -} - -//CHECK#3 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T2.js deleted file mode 100644 index 5ca1cf4592..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A4_T2; - * @section: 15.1.3.1; - * @assertion: URI tests; - * @description: Checking RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A4_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T2.js", - -assertion: "URI tests", - -description: "Checking RUSSIAN ALPHABET", - -test: function testcase() { - //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/Юникод") { - $ERROR('#1: http://ru.wikipedia.org/wiki/Юникод'); -} - -//CHECK#2 -if (decodeURI("http://ru.wikipedia.org/wiki/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4#%D0%A1%D1%81%D1%8B%D0%BB%D0%BA%D0%B8") !== "http://ru.wikipedia.org/wiki/Юникод#Ссылки") { - $ERROR('#2: http://ru.wikipedia.org/wiki/Юникод#Ссылки'); -} - -//CHECK#3 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T3.js deleted file mode 100644 index 77a51e6770..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A4_T3; - * @section: 15.1.3.1; - * @assertion: URI tests; - * @description: Checking URL with Line Terminator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A4_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T3.js", - -assertion: "URI tests", - -description: "Checking URL with Line Terminator", - -test: function testcase() { - //CHECK#1 -if (decodeURI("http://unipro.ru/%0Aabout") !== "http://unipro.ru/\nabout") { - $ERROR('#1: http://unipro.ru/%A0about'); -} - -//CHECK#2 -if (decodeURI("http://unipro.ru/%0Babout") !== "http://unipro.ru/\vabout") { - $ERROR('#2: http://unipro.ru/%0Babout'); -} - -//CHECK#3 -if (decodeURI("http://unipro.ru/%0Cabout") !== "http://unipro.ru/\fabout") { - $ERROR('#3: http://unipro.ru/%0Cabout'); -} - -//CHECK#4 -if (decodeURI("http://unipro.ru/%0Dabout") !== "http://unipro.ru/\rabout") { - $ERROR('#4: http://unipro.ru/%0Dabout'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T4.js deleted file mode 100644 index 758d806ce6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A4_T4; - * @section: 15.1.3.1; - * @assertion: URI tests; - * @description: Test some url; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A4_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A4_T4.js", - -assertion: "URI tests", - -description: "Test some url", - -test: function testcase() { - //CHECK#1 -if (decodeURI("") !== "") { - $ERROR('#1: ""'); -} - -//CHECK#2 -if (decodeURI("http:%2f%2Funipro.ru") !== "http:%2f%2Funipro.ru") { - $ERROR('#2: http:%2f%2Funipro.ru'); -} - -//CHECK#3 -if (decodeURI("http://www.google.ru/support/jobs/bin/static.py%3Fpage%3dwhy-ru.html%26sid%3Dliveandwork") !== "http://www.google.ru/support/jobs/bin/static.py%3Fpage%3dwhy-ru.html%26sid%3Dliveandwork") { - $ERROR('#3: http://www.google.ru/support/jobs/bin/static.py%3Fpage%3dwhy-ru.html%26sid%3Dliveandwork"'); -} - -//CHECK%234 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.1.js deleted file mode 100644 index 489d72d8b0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A5.1; - * @section: 15.1.3.1, 15.2.4.7, 12.6.4; - * @assertion: The length property of decodeURI has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A5.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.1.js", - -assertion: "The length property of decodeURI has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (decodeURI.propertyIsEnumerable('length') !== false) { - $ERROR('#1: decodeURI.propertyIsEnumerable(\'length\') === false. Actual: ' + (decodeURI.propertyIsEnumerable('length'))); -} - -//CHECK#2 -result = true; -for (p in decodeURI){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in decodeURI) { if (p === "length") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.2.js deleted file mode 100644 index 8fe3927226..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A5.2; - * @section: 15.1.3.1, 15.2.4.5, 11.4.1; - * @assertion: The length property of decodeURI has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A5.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.2.js", - -assertion: "The length property of decodeURI has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (decodeURI.hasOwnProperty('length') !== true) { - $FAIL('#1: decodeURI.hasOwnProperty(\'length\') === true. Actual: ' + (decodeURI.hasOwnProperty('length'))); -} - -delete decodeURI.length; - -//CHECK#2 -if (decodeURI.hasOwnProperty('length') !== true) { - $ERROR('#2: delete decodeURI.length; decodeURI.hasOwnProperty(\'length\') === true. Actual: ' + (decodeURI.hasOwnProperty('length'))); -} - -//CHECK#3 -if (decodeURI.length === undefined) { - $ERROR('#3: delete decodeURI.length; decodeURI.length !== undefined'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.3.js deleted file mode 100644 index b87c19feb8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A5.3; - * @section: 15.1.3.1; - * @assertion: The length property of decodeURI has the attribute ReadOnly; - * @description: Checking if varying the length property fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A5.3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.3.js", - -assertion: "The length property of decodeURI has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = decodeURI.length; -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.4.js deleted file mode 100644 index f08069d54c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A5.4; - * @section: 15.1.3.1; - * @assertion: The length property of decodeURI is 1; - * @description: decodeURI.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A5.4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.4.js", - -assertion: "The length property of decodeURI is 1", - -description: "decodeURI.length === 1", - -test: function testcase() { - //CHECK#1 -if (decodeURI.length !== 1) { - $ERROR('#1: decodeURI.length === 1. Actual: ' + (decodeURI.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.5.js deleted file mode 100644 index 00c4fae3f5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A5.5; - * @section: 15.1.3.1, 15.2.4.7, 12.6.4; - * @assertion: The decodeURI property has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A5.5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.5.js", - -assertion: "The decodeURI property has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (this.propertyIsEnumerable('decodeURI') !== false) { - $ERROR('#1: this.propertyIsEnumerable(\'decodeURI\') === false. Actual: ' + (this.propertyIsEnumerable('decodeURI'))); -} - -//CHECK#2 -result = true; -for (p in this){ - if (p === "decodeURI") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in this) { if (p === "decodeURI") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.6.js deleted file mode 100644 index 04fd9f02c6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.3.1_A5.6; -* @section: 15.1.3.1; -* @assertion: The decodeURI property has not prototype property; -* @description: Checking decodeURI.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A5.6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.6.js", - -assertion: "The decodeURI property has not prototype property", - -description: "Checking decodeURI.prototype", - -test: function testcase() { - //CHECK#1 -if (decodeURI.prototype !== undefined) { - $ERROR('#1: decodeURI.prototype === undefined. Actual: ' + (decodeURI.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.7.js deleted file mode 100644 index 009f99dc23..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.3.1_A5.7; -* @section: 15.1.3.1, 11.2.2; -* @assertion: The decodeURI property can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A5.7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A5.7.js", - -assertion: "The decodeURI property can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new decodeURI(); - $ERROR('#1.1: new decodeURI() throw TypeError. Actual: ' + (new decodeURI())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new decodeURI() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A6_T1.js deleted file mode 100644 index b8fa5fbb5c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A6_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.1_A6_T1; - * @section: 15.1.3.1, 9.8, 8.6.2.6; - * @assertion: Operator use ToString; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.1_A6_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A6_T1.js", - -assertion: "Operator use ToString", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, String)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return "%5E"}}; -if (decodeURI(object) !== "[object Object]") { - $ERROR('#1: var object = {valueOf: function() {return "%5E"}}; decodeURI(object) === [object Object]. Actual: ' + (decodeURI(object))); -} - -//CHECK#2 -var object = {valueOf: function() {return ""}, toString: function() {return "%5E"}}; -if (decodeURI(object) !== "^") { - $ERROR('#2: var object = {valueOf: function() {return ""}, toString: function() {return "%5E"}}; decodeURI(object) === "^". Actual: ' + (decodeURI(object))); -} - -//CHECK#3 -var object = {valueOf: function() {return "%5E"}, toString: function() {return {}}}; -if (decodeURI(object) !== "^") { - $ERROR('#3: var object = {valueOf: function() {return "%5E"}, toString: function() {return {}}}; decodeURI(object) === "^". Actual: ' + (decodeURI(object))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return "%5E"}}; - if (decodeURI(object) !== "^") { - $ERROR('#4.1: var object = {valueOf: function() {throw "error"}, toString: function() {return "%5E"}}; decodeURI(object) === "^". Actual: ' + (decodeURI(object))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {throw "error"}, toString: function() {return "%5E"}}; decodeURI(object) not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {throw "error"}, toString: function() {return "%5E"}}; decodeURI(object) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return "%5E"}}; -if (decodeURI(object) !== "^") { - $ERROR('#5: var object = {toString: function() {return "%5E"}}; decodeURI(object) === "^". Actual: ' + (decodeURI(object))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return "%5E"}} -if (decodeURI(object) !== "^") { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return "%5E"}}; decodeURI(object) === "^". Actual: ' + (decodeURI(object))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {return "%5E"}, toString: function() {throw "error"}}; - decodeURI(object); - $ERROR('#7.1: var object = {valueOf: function() {return "%5E"}, toString: function() {throw "error"}}; decodeURI(object) throw "error". Actual: ' + (decodeURI(object))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {return "%5E"}, toString: function() {throw "error"}}; decodeURI(object) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - decodeURI(object); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; decodeURI(object) throw TypeError. Actual: ' + (decodeURI(object))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; decodeURI(object) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.10_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.10_T1.js deleted file mode 100644 index 90ba36c0bd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.10_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.10_T1; - * @section: 15.1.3.2; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.10_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.10_T1.js", - -assertion: "If B = 110xxxxx (n = 2) and string.charAt(k + 4) and", - -description: "Complex tests", - -test: function testcase() { - //CHECK -result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (indexI = 0; indexI < interval.length; indexI++) { - for (indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURIComponent("%C0%" + String.fromCharCode(indexJ, indexJ)); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T1.js deleted file mode 100644 index 0a60e83975..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.11_T1; - * @section: 15.1.3.2; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.11_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T1.js", - -assertion: "If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 4) and string.charAt(k + 5)", - -test: function testcase() { - //CHECK -result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (indexI = 0; indexI < interval.length; indexI++) { - for (indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURIComponent("%E0%" + String.fromCharCode(indexJ, indexJ) + "%A0"); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T2.js deleted file mode 100644 index ff491c28c1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.11_T2; - * @section: 15.1.3.2; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.11_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.11_T2.js", - -assertion: "If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 7) and string.charAt(k + 8)", - -test: function testcase() { - //CHECK -result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (indexI = 0; indexI < interval.length; indexI++) { - for (indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURIComponent("%E0%" + "%A0" + String.fromCharCode(indexJ, indexJ)); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T1.js deleted file mode 100644 index fa01bfa675..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.12_T1; - * @section: 15.1.3.2; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.12_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T1.js", - -assertion: "If B = 11110xxx (n = 4) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 4) and string.charAt(k + 5)", - -test: function testcase() { - //CHECK -result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (indexI = 0; indexI < interval.length; indexI++) { - for (indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURIComponent("%F0%" + String.fromCharCode(indexJ, indexJ) + "%A0%A0"); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T2.js deleted file mode 100644 index 80f5bc66bc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T2.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.12_T2; - * @section: 15.1.3.2; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.12_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T2.js", - -assertion: "If B = 11110xxx (n = 4) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 7) and string.charAt(k + 7)", - -test: function testcase() { - //CHECK -result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (indexI = 0; indexI < interval.length; indexI++) { - for (indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURIComponent("%F0%" + "%A0" + String.fromCharCode(indexJ, indexJ) + "%A0"); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T3.js deleted file mode 100644 index d6af205798..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T3.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.12_T3; - * @section: 15.1.3.2; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.12_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.12_T3.js", - -assertion: "If B = 11110xxx (n = 4) and (string.charAt(k + 4) and", - -description: "Complex tests, string.charAt(k + 10) and string.charAt(k + 11)", - -test: function testcase() { - //CHECK -result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (indexI = 0; indexI < interval.length; indexI++) { - for (indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURIComponent("%F0%" + "%A0%A0" + String.fromCharCode(indexJ, indexJ)); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T1.js deleted file mode 100644 index 848e57455f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.13_T1; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.13_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T1.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xC0; indexB <= 0xDF; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0x00; indexC <= 0x7F; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T2.js deleted file mode 100644 index 69dbba7860..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T2.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.13_T2; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.13_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.13_T2.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xC0; indexB <= 0xDF; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0xC0; indexC <= 0xFF; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T1.js deleted file mode 100644 index 6af8bca894..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.14_T1; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.14_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T1.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xE0; indexB <= 0xEF; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0x00; indexC <= 0x7F; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%" + hexC.substring(2) + "%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T2.js deleted file mode 100644 index 218315403f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T2.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.14_T2; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.14_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T2.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xE0; indexB <= 0xEF; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0x00; indexC <= 0x7F; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%A0" + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T3.js deleted file mode 100644 index 3a24380053..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T3.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.14_T3; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.14_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T3.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xE0; indexB <= 0xEF; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0xC0; indexC <= 0xFF; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%" + hexC.substring(2) + "%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T4.js deleted file mode 100644 index 8b067e6923..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T4.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.14_T4; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.14_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.14_T4.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xE0; indexB <= 0xEF; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0xC0; indexC <= 0xFF; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%A0" + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T1.js deleted file mode 100644 index 250f7d32de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.15_T1; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.15_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T1.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0x00; indexC <= 0x7F; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%" + hexC.substring(2) + "%A0%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T2.js deleted file mode 100644 index 3230295211..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T2.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.15_T2; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.15_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T2.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0x00; indexC <= 0x7F; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%A0" + "%" + hexC.substring(2) + "%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T3.js deleted file mode 100644 index 036dd6484a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T3.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.15_T3; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.15_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T3.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0x00; indexC <= 0x7F; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%A0%A0" + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T4.js deleted file mode 100644 index 975dacd2b4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T4.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.15_T4; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.15_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T4.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0xC0; indexC <= 0xFF; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%" + hexC.substring(2) + "%A0%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T5.js deleted file mode 100644 index 78312cb503..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T5.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.15_T5; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.15_T5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T5.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0xC0; indexC <= 0xFF; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%A0" + "%" + hexC.substring(2) + "%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T6.js deleted file mode 100644 index 49ea43d1ee..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T6.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.15_T6; - * @section: 15.1.3.2; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.15_T6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.15_T6.js", - -assertion: "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]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB = 0xF0; indexB <= 0xF7; indexB++) { - count++; - hexB = decimalToHexString(indexB); - result = true; - for (indexC = 0xC0; indexC <= 0xFF; indexC++) { - hexC = decimalToHexString(indexC); - try { - decodeURIComponent("%" + hexB.substring(2) + "%A0%A0" + "%" + hexC.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - } - if (result !== true) { - if (indexO === 0) { - indexO = indexB; - } else { - if ((indexB - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = indexB; - } - } - indexP = indexB; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.1_T1.js deleted file mode 100644 index 053b767de4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.1_T1.js +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.1_T1; - * @section: 15.1.3.2; - * @assertion: If string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.1_T1.js", - -assertion: "If string.charAt(k) equal \"%\" and k + 2 >= string.length, throw URIError", - -description: "Complex tests", - -test: function testcase() { - result = true; - -//CHECK#1 -try { - decodeURIComponent("%"); - result = false; -} catch(e) { - if ((e instanceof URIError) !== true) { - result = false; - } -} - -//CHECK#2 -try { - decodeURIComponent("%A"); - result = false; -} catch(e) { - if ((e instanceof URIError) !== true) { - result = false; - } -} - -//CHECK#3 -try { - decodeURIComponent("%1"); - result = false; -} catch(e) { - if ((e instanceof URIError) !== true) { - result = false; - } -} - -//CHECK#4 -try { - decodeURIComponent("% "); - result = false; -} catch(e) { - if ((e instanceof URIError) !== true) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: If string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T1.js deleted file mode 100644 index 03db902c59..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.2_T1; - * @section: 15.1.3.2; - * @assertion: If B = string.charAt(k+1) + string.charAt(k+2) do not represent - * hexadecimal digits, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T1.js", - -assertion: "If B = string.charAt(k+1) + string.charAt(k+2) do not represent", - -description: "Complex tests", - -test: function testcase() { - //CHECK -result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (indexI = 0; indexI < interval.length; indexI++) { - for (indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURIComponent("%" + String.fromCharCode(indexJ) + "1"); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -if (result !== true) { - $ERROR('#1: If string.charAt(k+1) does not represent hexadecimal digits, throw URIError'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T2.js deleted file mode 100644 index dc17db5fd9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.2_T2; - * @section: 15.1.3.2; - * @assertion: If B = string.charAt(k+1) + string.charAt(k+2) do not represent - * hexadecimal digits, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.2_T2.js", - -assertion: "If B = string.charAt(k+1) + string.charAt(k+2) do not represent", - -description: "Complex tests", - -test: function testcase() { - //CHECK -result = true; -var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]]; -for (indexI = 0; indexI < interval.length; indexI++) { - for (indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) { - try { - decodeURIComponent("%" + "1" + String.fromCharCode(indexJ)); - result = false; - } catch (e) { - if ((e instanceof URIError) !== true) { - result = false; - } - } - } -} - -if (result !== true) { - $ERROR('#1: If string.charAt(k+2) does not represent hexadecimal digits, throw URIError'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T1.js deleted file mode 100644 index b3f8d3ab3a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.3_T1; - * @section: 15.1.3.2; - * @assertion: If B = 10xxxxxx or B = 11111xxx, throw URIError; - * @description: Complex tests. B = 10xxxxxx -> B in [0x80 - 0xBF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T1.js", - -assertion: "If B = 10xxxxxx or B = 11111xxx, throw URIError", - -description: "Complex tests. B = 10xxxxxx -> B in [0x80 - 0xBF]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0x80; index <= 0xBF; index++) { - count++; - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T2.js deleted file mode 100644 index 72b2210031..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T2.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.3_T2; - * @section: 15.1.3.2; - * @assertion: If B = 10xxxxxx or B = 11111xxx, throw URIError; - * @description: Complex tests. B = 11111xxx -> B in [0xF8 - 0xFF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.3_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.3_T2.js", - -assertion: "If B = 10xxxxxx or B = 11111xxx, throw URIError", - -description: "Complex tests. B = 11111xxx -> B in [0xF8 - 0xFF]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xF8; index <= 0xFF; index++) { - count++; - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.4_T1.js deleted file mode 100644 index 6eaf9b2240..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.4_T1.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.4_T1; - * @section: 15.1.3.2; - * @assertion: If B = 110xxxxx (n = 2) and (k + 2) + 3 >= length, throw URIError; - * @description: Complex tests. B = [0xC0 - 0xDF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.4_T1.js", - -assertion: "If B = 110xxxxx (n = 2) and (k + 2) + 3 >= length, throw URIError", - -description: "Complex tests. B = [0xC0 - 0xDF]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xC0; index <= 0xDF; index++) { - count++; - str = ""; - result = true; - for (len = 0; len < 3; len++) { - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2) + str); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - str = str + "1"; - } - if (result !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.5_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.5_T1.js deleted file mode 100644 index 9acf50cabe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.5_T1.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.5_T1; - * @section: 15.1.3.2; - * @assertion: If B = 1110xxxx (n = 3) and (k + 2) + 6 >= length, throw URIError; - * @description: Complex tests. B = [0xE0 - 0xEF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.5_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.5_T1.js", - -assertion: "If B = 1110xxxx (n = 3) and (k + 2) + 6 >= length, throw URIError", - -description: "Complex tests. B = [0xE0 - 0xEF]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xE0; index <= 0xEF; index++) { - count++; - str = ""; - result = true; - for (len = 0; len < 6; len++) { - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2) + str); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - str = str + "1"; - } - if (result !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.6_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.6_T1.js deleted file mode 100644 index f3a2e0ef12..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.6_T1.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.6_T1; - * @section: 15.1.3.2; - * @assertion: If B = 11110xxx (n = 4) and (k + 2) + 9 >= length, throw URIError; - * @description: Complex tests. B = [0xF0 - 0xF7]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.6_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.6_T1.js", - -assertion: "If B = 11110xxx (n = 4) and (k + 2) + 9 >= length, throw URIError", - -description: "Complex tests. B = [0xF0 - 0xF7]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xF0; index <= 0xF7; index++) { - count++; - str = ""; - result = true; - for (len = 0; len < 9; len++) { - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2) + str); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - result = false; - str = str + "1"; - } - if (result !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.7_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.7_T1.js deleted file mode 100644 index d2be970891..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.7_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.7_T1; - * @section: 15.1.3.2; - * @assertion: If B = 110xxxxx (n = 2) and string.charAt(k + 3) not equal "%", throw URIError; - * @description: Complex tests. B = [0xC0 - 0xDF]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.7_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.7_T1.js", - -assertion: "If B = 110xxxxx (n = 2) and string.charAt(k + 3) not equal \"%\", throw URIError", - -description: "Complex tests. B = [0xC0 - 0xDF]", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xC0; index <= 0xDF; index++) { - count++; - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2) + "111"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T1.js deleted file mode 100644 index 5f870e44ec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T1.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.8_T1; - * @section: 15.1.3.2; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.8_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T1.js", - -assertion: "If B = 1110xxxx (n = 3) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xE0 - 0xEF],", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xE0; index <= 0xEF; index++) { - count++; - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2) + "111%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T2.js deleted file mode 100644 index cc5e0cd20d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T2.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.8_T2; - * @section: 15.1.3.2; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.8_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.8_T2.js", - -assertion: "If B = 1110xxxx (n = 3) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xE0 - 0xEF],", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xE0; index <= 0xEF; index++) { - count++; - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2) + "%A0111"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T1.js deleted file mode 100644 index 16c594989c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T1.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.9_T1; - * @section: 15.1.3.2; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.9_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T1.js", - -assertion: "If B = 11110xxx (n = 4) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xF0 - 0x0F7],", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xF0; index <= 0xF7; index++) { - count++; - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2) + "111%A0%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T2.js deleted file mode 100644 index eab316f670..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T2.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.9_T2; - * @section: 15.1.3.2; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.9_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T2.js", - -assertion: "If B = 11110xxx (n = 4) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xF0 - 0x0F7],", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xF0; index <= 0xF7; index++) { - count++; - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2) + "%A0111%A0"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T3.js deleted file mode 100644 index eb828a27f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T3.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A1.9_T3; - * @section: 15.1.3.2; - * @assertion: 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 "%"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A1.9_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A1.9_T3.js", - -assertion: "If B = 11110xxx (n = 4) and string.charAt(k + 3),", - -description: "Complex tests. B = [0xF0 - 0x0F7],", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xF0; index <= 0xF7; index++) { - count++; - hex = decimalToHexString(index); - try { - decodeURIComponent("%" + hex.substring(2) + "%A0%A0111"); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.1_T1.js deleted file mode 100644 index 0789d88f50..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.1_T1.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A2.1_T1; - * @section: 15.1.3.2; - * @assertion: If string.charAt(k) not equal "%", return this char; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A2.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.1_T1.js", - -assertion: "If string.charAt(k) not equal \"%\", return this char", - -description: "Complex tests", - -test: function testcase() { - //CHECK -errorCount = 0; -count = 0; -for (indexI = 0; indexI <= 65535; indexI++) { - if (indexI !== 0x25) { - hex = decimalToHexString(indexI); - try { - var str = String.fromCharCode(indexI); - if (decodeURIComponent(str) !== str) { - $ERROR('#' + hex + ' '); - errorCount++; - } - } catch (e){ - $ERROR('#' + hex + ' '); - errorCount++; - } - count++; - } -} - -if (errorCount > 0) { - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.2_T1.js deleted file mode 100644 index 660a02075a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.2_T1.js +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A2.2_T1; - * @section: 15.1.3.2; - * @assertion: If B1 = 0xxxxxxxx ([0x00 - 0x7F]), return B1; - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A2.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.2_T1.js", - -assertion: "If B1 = 0xxxxxxxx ([0x00 - 0x7F]), return B1", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -for (indexB1 = 0x00; indexB1 <= 0x7F; indexB1++) { - count++; - var hexB1 = decimalToHexString(indexB1); - var index = indexB1; - try { - hex = String.fromCharCode(index); - if (decodeURIComponent("%" + hexB1.substring(2)) === hex) continue; - } catch (e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.3_T1.js deleted file mode 100644 index 1c661ffe91..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.3_T1.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A2.3_T1; - * @section: 15.1.3.2; - * @assertion: If B1 = 110xxxxx ([0xC0 - 0xDF]), B2 = 10xxxxxx ([0x80 - 0xBF), without B1 = [0xC0, 0xC1], return UTF8(B1, B2); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A2.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.3_T1.js", - -assertion: "If B1 = 110xxxxx ([0xC0 - 0xDF]), B2 = 10xxxxxx ([0x80 - 0xBF), without B1 = [0xC0, 0xC1], return UTF8(B1, B2)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB1 = 0xC2; indexB1 <= 0xDF; indexB1++) { - var hexB1 = decimalToHexString(indexB1); - for (indexB2 = 0x80; indexB2 <= 0xBF; indexB2++) { - count++; - 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 (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.4_T1.js deleted file mode 100644 index 62eaa123a7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.4_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A2.4_T1; - * @section: 15.1.3.2; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A2.4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.4_T1.js", - -assertion: "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", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB1 = 0xE0; indexB1 <= 0xEF; indexB1++) { - var hexB1 = decimalToHexString(indexB1); - for (indexB2 = 0x80; indexB2 <= 0xBF; indexB2++) { - if ((indexB1 === 0xE0) && (indexB2 <= 0x9F)) continue; - if ((indexB1 === 0xED) && (0xA0 <= indexB2)) continue; - var hexB2 = decimalToHexString(indexB2); - for (indexB3 = 0x80; indexB3 <= 0xBF; indexB3++) { - count++; - 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 (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.5_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.5_T1.js deleted file mode 100644 index 7b52ee747f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.5_T1.js +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A2.5_T1; - * @section: 15.1.3.2; - * @assertion: 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; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A2.5_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.5_T1.js", - -assertion: "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", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (indexB1 = 0xF0; indexB1 <= 0xF4; indexB1++) { - var hexB1 = decimalToHexString(indexB1); - for (indexB2 = 0x80; indexB2 <= 0xBF; indexB2++) { - if ((indexB1 === 0xF0) && (indexB2 <= 0x9F)) continue; - if ((indexB1 === 0xF4) && (indexB2 >= 0x90)) continue; - var hexB2 = decimalToHexString(indexB2); - for (indexB3 = 0x80; indexB3 <= 0xBF; indexB3++) { - var hexB3 = decimalToHexString(indexB3); - for (indexB4 = 0x80; indexB4 <= 0xBF; indexB4++) { - var hexB4 = decimalToHexString(indexB4); - count++; - var index = (indexB1 & 0x07) * 0x40000 + (indexB2 & 0x3F) * 0x1000 + (indexB3 & 0x3F) * 0x40 + (indexB4 & 0x3F); - 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 (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - } - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 4; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T1.js deleted file mode 100644 index f8ea2e8983..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T1.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A3_T1; - * @section: 15.1.3.2; - * @assertion: Let reservedURIComponentSet be the empty string; - * @description: uriReserved and "#" not in reservedURIComponentSet. HexDigit in [0..9, A..F]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T1.js", - -assertion: "Let reservedURIComponentSet be the empty string", - -description: "uriReserved and \"#\" not in reservedURIComponentSet. HexDigit in [0..9, A..F]", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent("%3B") !== ";") { - $ERROR('#1: decodeURIComponent("%3B") equal ";", not "%3B"'); -} - -//CHECK#2 -if (decodeURIComponent("%2F") !== "/") { - $ERROR('#2: decodeURIComponent("%2F") equal "/", not "%2F"'); -} - -//CHECK#3 -if (decodeURIComponent("%3F") !== "?") { - $ERROR('#3: decodeURIComponent("%3F") equal "?", not "%3F"'); -} - -//CHECK#4 -if (decodeURIComponent("%3A") !== ":") { - $ERROR('#4: decodeURIComponent("%3A") equal ":", not "%3A"'); -} - -//CHECK#5 -if (decodeURIComponent("%40") !== "@") { - $ERROR('#5: decodeURIComponent("%40") equal "@", not "%40"'); -} - -//CHECK#6 -if (decodeURIComponent("%26") !== "&") { - $ERROR('#6: decodeURIComponent("%26") equal "&", not "%26"'); -} - -//CHECK#7 -if (decodeURIComponent("%3D") !== "=") { - $ERROR('#7.1: decodeURIComponent("%3D") equal "=", not "%3D"'); -} - -//CHECK#8 -if (decodeURIComponent("%2B") !== "+") { - $ERROR('#8.1: decodeURIComponent("%2B") equal "+", not "%2B"'); -} - -//CHECK#9 -if (decodeURIComponent("%24") !== "$") { - $ERROR('#9: decodeURIComponent("%24") equal "$", not "%24"'); -} - -//CHECK#10 -if (decodeURIComponent("%2C") !== ",") { - $ERROR('#10: decodeURIComponent("%2C") equal ",", not "%2C"'); -} - -//CHECK#11 -if (decodeURIComponent("%23") !== "#") { - $ERROR('#11: decodeURIComponent("%23") equal "#", not "%23"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T2.js deleted file mode 100644 index 9c9b3317ff..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T2.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A3_T2; - * @section: 15.1.3.2; - * @assertion: Let reservedURIComponentSet be the empty string; - * @description: uriReserved and "#" not in reservedURIComponentSet. HexDigit in [0..9, a..f]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A3_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T2.js", - -assertion: "Let reservedURIComponentSet be the empty string", - -description: "uriReserved and \"#\" not in reservedURIComponentSet. HexDigit in [0..9, a..f]", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent("%3b") !== ";") { - $ERROR('#1: decodeURIComponent("%3b") equal ";", not "%3B" or "%3b"'); -} - -//CHECK#2 -if (decodeURIComponent("%2f") !== "/") { - $ERROR('#2: decodeURIComponent("%2f") equal "/", not "%2F" or "%2f"'); -} - -//CHECK#3 -if (decodeURIComponent("%3f") !== "?") { - $ERROR('#3: decodeURIComponent("%3f") equal "?", not "%3F" or "%3f"'); -} - -//CHECK#4 -if (decodeURIComponent("%3a") !== ":") { - $ERROR('#4: decodeURIComponent("%3a") equal ":", not "%3A" or "%3a"'); -} - -//CHECK#5 -if (decodeURIComponent("%40") !== "@") { - $ERROR('#5: decodeURIComponent("%40") equal "@", not "%40"'); -} - -//CHECK#6 -if (decodeURIComponent("%26") !== "&") { - $ERROR('#6: decodeURIComponent("%26") equal "&", not "%26"'); -} - -//CHECK#7 -if (decodeURIComponent("%3d") !== "=") { - $ERROR('#7.1: decodeURIComponent("%3d") equal "=", not "%3D" or "%3d"'); -} - -//CHECK#8 -if (decodeURIComponent("%2b") !== "+") { - $ERROR('#8.1: decodeURIComponent("%2b") equal "+", not "%2B" or "%2b"'); -} - -//CHECK#9 -if (decodeURIComponent("%24") !== "$") { - $ERROR('#9: decodeURIComponent("%24") equal "$", not "%24"'); -} - -//CHECK#10 -if (decodeURIComponent("%2c") !== ",") { - $ERROR('#10: decodeURIComponent("%2c") equal ",", not "%2C" or "%2c"'); -} - -//CHECK#11 -if (decodeURIComponent("%23") !== "#") { - $ERROR('#11: decodeURIComponent("%23") equal "#", not "%23"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T3.js deleted file mode 100644 index 3c9a398fd0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A3_T3; - * @section: 15.1.3.2; - * @assertion: Let reservedURIComponentSet be the empty string; - * @description: Complex test; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A3_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A3_T3.js", - -assertion: "Let reservedURIComponentSet be the empty string", - -description: "Complex test", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent("%3B%2F%3F%3A%40%26%3D%2B%24%2C%23") !== ";/?:@&=+$,#") { - $ERROR('#1: decodeURIComponent("%3B%2F%3F%3A%40%26%3D%2B%24%2C%23") equal ";/?:@&=+$,#", not "%3B%2F%3F%3A%40%26%3D%2B%24%2C%23"'); -} - -//CHECK#2 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T1.js deleted file mode 100644 index bf5003cd2a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A4_T1; - * @section: 15.1.3.2; - * @assertion: URI tests; - * @description: Checking ENGLISH ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T1.js", - -assertion: "URI tests", - -description: "Checking ENGLISH ALPHABET", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent("http://unipro.ru/0123456789") !== "http://unipro.ru/0123456789") { - $ERROR('#1: http://unipro.ru/0123456789'); -} - -//CHECK#2 -if (decodeURIComponent("%41%42%43%44%45%46%47%48%49%4A%4B%4C%4D%4E%4F%50%51%52%53%54%55%56%57%58%59%5A") !== "ABCDEFGHIJKLMNOPQRSTUVWXYZ") { - $ERROR('#2: ABCDEFGHIJKLMNOPQRSTUVWXYZ'); -} - -//CHECK#3 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T2.js deleted file mode 100644 index df6d66b66f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A4_T2; - * @section: 15.1.3.2; - * @assertion: URI tests; - * @description: Checking RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A4_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T2.js", - -assertion: "URI tests", - -description: "Checking RUSSIAN ALPHABET", - -test: function testcase() { - //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/Юникод") { - $ERROR('#1: http://ru.wikipedia.org/wiki/Юникод'); -} - -//CHECK#2 -if (decodeURIComponent("http://ru.wikipedia.org/wiki/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4#%D0%A1%D1%81%D1%8B%D0%BB%D0%BA%D0%B8") !== "http://ru.wikipedia.org/wiki/Юникод#Ссылки") { - $ERROR('#2: http://ru.wikipedia.org/wiki/Юникод#Ссылки'); -} - -//CHECK#3 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T3.js deleted file mode 100644 index aa7f5300cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A4_T3; - * @section: 15.1.3.2; - * @assertion: URI tests; - * @description: Checking URL with Line Terminator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A4_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T3.js", - -assertion: "URI tests", - -description: "Checking URL with Line Terminator", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent("http://unipro.ru/%0Aabout") !== "http://unipro.ru/\nabout") { - $ERROR('#1: http://unipro.ru/%A0about'); -} - -//CHECK#2 -if (decodeURIComponent("http://unipro.ru/%0Babout") !== "http://unipro.ru/\vabout") { - $ERROR('#2: http://unipro.ru/%0Babout'); -} - -//CHECK#3 -if (decodeURIComponent("http://unipro.ru/%0Cabout") !== "http://unipro.ru/\fabout") { - $ERROR('#3: http://unipro.ru/%0Cabout'); -} - -//CHECK#4 -if (decodeURIComponent("http://unipro.ru/%0Dabout") !== "http://unipro.ru/\rabout") { - $ERROR('#4: http://unipro.ru/%0Dabout'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T4.js deleted file mode 100644 index 3926c8b040..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A4_T4; - * @section: 15.1.3.2; - * @assertion: URI tests; - * @description: Test some url; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A4_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A4_T4.js", - -assertion: "URI tests", - -description: "Test some url", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent("") !== "") { - $ERROR('#1: ""'); -} - -//CHECK#2 -if (decodeURIComponent("http://unipro.ru") !== "http://unipro.ru") { - $ERROR('#2: http://unipro.ru'); -} - -//CHECK#3 -if (decodeURIComponent("http:%2f%2Fwww.google.ru/support/jobs/bin/static.py%3Fpage%3dwhy-ru.html%26sid%3Dliveandwork") !== "http://www.google.ru/support/jobs/bin/static.py?page=why-ru.html&sid=liveandwork") { - $ERROR('#3: http:%2f%2Fwww.google.ru/support/jobs/bin/static.py%3Fpage3dwhy-ru.html%26sid3Dliveandwork"'); -} - -//CHECK#4 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.1.js deleted file mode 100644 index c043bed2a7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A5.1; - * @section: 15.1.3.2, 15.2.4.7, 12.6.4; - * @assertion: The length property of decodeURIComponent has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A5.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.1.js", - -assertion: "The length property of decodeURIComponent has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent.propertyIsEnumerable('length') !== false) { - $ERROR('#1: decodeURIComponent.propertyIsEnumerable(\'length\') === false. Actual: ' + (decodeURIComponent.propertyIsEnumerable('length'))); -} - -//CHECK#2 -result = true; -for (p in decodeURIComponent){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in decodeURIComponent) { if (p === "length") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.2.js deleted file mode 100644 index ae77ac4d6c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A5.2; - * @section: 15.1.3.2, 15.2.4.5, 11.4.1; - * @assertion: The length property of decodeURIComponent has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A5.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.2.js", - -assertion: "The length property of decodeURIComponent has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent.hasOwnProperty('length') !== true) { - $FAIL('#1: decodeURIComponent.hasOwnProperty(\'length\') === true. Actual: ' + (decodeURIComponent.hasOwnProperty('length'))); -} - -delete decodeURIComponent.length; - -//CHECK#2 -if (decodeURIComponent.hasOwnProperty('length') !== true) { - $ERROR('#2: delete decodeURIComponent.length; decodeURIComponent.hasOwnProperty(\'length\') === true. Actual: ' + (decodeURIComponent.hasOwnProperty('length'))); -} - -//CHECK#3 -if (decodeURIComponent.length === undefined) { - $ERROR('#3: delete decodeURIComponent.length; decodeURIComponent.length !== undefined'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.3.js deleted file mode 100644 index 7ab823f364..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A5.3; - * @section: 15.1.3.2; - * @assertion: The length property of decodeURIComponent has the attribute ReadOnly; - * @description: Checking if varying the length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A5.3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.3.js", - -assertion: "The length property of decodeURIComponent has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -x = decodeURIComponent.length; -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.4.js deleted file mode 100644 index d2a6803fdd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A5.4; - * @section: 15.1.3.2; - * @assertion: The length property of decodeURIComponent is 1; - * @description: decodeURIComponent.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A5.4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.4.js", - -assertion: "The length property of decodeURIComponent is 1", - -description: "decodeURIComponent.length === 1", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent.length !== 1) { - $ERROR('#1: decodeURIComponent.length === 1. Actual: ' + (decodeURIComponent.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.5.js deleted file mode 100644 index 065128bc96..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A5.5; - * @section: 15.1.3.2, 15.2.4.7, 12.6.4; - * @assertion: The decodeURIComponent property has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A5.5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.5.js", - -assertion: "The decodeURIComponent property has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (this.propertyIsEnumerable('decodeURIComponent') !== false) { - $ERROR('#1: this.propertyIsEnumerable(\'decodeURIComponent\') === false. Actual: ' + (this.propertyIsEnumerable('decodeURIComponent'))); -} - -//CHECK#2 -result = true; -for (p in this){ - if (p === "decodeURIComponent") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in this) { if (p === "decodeURIComponent") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.6.js deleted file mode 100644 index 2fffdf8fed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.3.2_A5.6; -* @section: 15.1.3.2; -* @assertion: The decodeURIComponent property has not prototype property; -* @description: Checking decodeURIComponent.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A5.6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.6.js", - -assertion: "The decodeURIComponent property has not prototype property", - -description: "Checking decodeURIComponent.prototype", - -test: function testcase() { - //CHECK#1 -if (decodeURIComponent.prototype !== undefined) { - $ERROR('#1: decodeURIComponent.prototype === undefined. Actual: ' + (decodeURIComponent.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.7.js deleted file mode 100644 index cb376943cc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.3.2_A5.7; -* @section: 15.1.3.2, 11.2.2; -* @assertion: The decodeURIComponent property can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A5.7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A5.7.js", - -assertion: "The decodeURIComponent property can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new decodeURIComponent(); - $ERROR('#1.1: new decodeURIComponent() throw TypeError. Actual: ' + (new decodeURIComponent())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new decodeURIComponent() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A6_T1.js deleted file mode 100644 index 679a5e2d24..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A6_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.2_A6_T1; - * @section: 15.1.3.2, 9.8, 8.6.2.6; - * @assertion: Operator use ToString; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.2_A6_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.2_decodeURIComponent/S15.1.3.2_A6_T1.js", - -assertion: "Operator use ToString", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, String)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return "%5E"}}; -if (decodeURIComponent(object) !== "[object Object]") { - $ERROR('#1: var object = {valueOf: function() {return "%5E"}}; decodeURIComponent(object) === [object Object]. Actual: ' + (decodeURIComponent(object))); -} - -//CHECK#2 -var object = {valueOf: function() {return ""}, toString: function() {return "%5E"}}; -if (decodeURIComponent(object) !== "^") { - $ERROR('#2: var object = {valueOf: function() {return ""}, toString: function() {return "%5E"}}; decodeURIComponent(object) === "^". Actual: ' + (decodeURIComponent(object))); -} - -//CHECK#3 -var object = {valueOf: function() {return "%5E"}, toString: function() {return {}}}; -if (decodeURIComponent(object) !== "^") { - $ERROR('#3: var object = {valueOf: function() {return "%5E"}, toString: function() {return {}}}; decodeURIComponent(object) === "^". Actual: ' + (decodeURIComponent(object))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return "%5E"}}; - if (decodeURIComponent(object) !== "^") { - $ERROR('#4.1: var object = {valueOf: function() {throw "error"}, toString: function() {return "%5E"}}; decodeURIComponent(object) === "^". Actual: ' + (decodeURIComponent(object))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {throw "error"}, toString: function() {return "%5E"}}; decodeURIComponent(object) not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {throw "error"}, toString: function() {return "%5E"}}; decodeURIComponent(object) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return "%5E"}}; -if (decodeURIComponent(object) !== "^") { - $ERROR('#5: var object = {toString: function() {return "%5E"}}; decodeURIComponent(object) === "^". Actual: ' + (decodeURIComponent(object))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return "%5E"}} -if (decodeURIComponent(object) !== "^") { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return "%5E"}}; decodeURIComponent(object) === "^". Actual: ' + (decodeURIComponent(object))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {return "%5E"}, toString: function() {throw "error"}}; - decodeURIComponent(object); - $ERROR('#7.1: var object = {valueOf: function() {return "%5E"}, toString: function() {throw "error"}}; decodeURIComponent(object) throw "error". Actual: ' + (decodeURIComponent(object))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {return "%5E"}, toString: function() {throw "error"}}; decodeURIComponent(object) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - decodeURIComponent(object); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; decodeURIComponent(object) throw TypeError. Actual: ' + (decodeURIComponent(object))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; decodeURIComponent(object) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T1.js deleted file mode 100644 index df315680fa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A1.1_T1; - * @section: 15.1.3.3; - * @assertion: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A1.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T1.js", - -assertion: "If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError", - -description: "Complex tests", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xDC00; index <= 0xDFFF; index++) { - count++; - hex = decimalToHexString(index); - try { - encodeURI(String.fromCharCode(index)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T2.js deleted file mode 100644 index 6b2de2db6b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T2.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A1.1_T2; - * @section: 15.1.3.3; - * @assertion: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A1.1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.1_T2.js", - -assertion: "If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError", - -description: "Complex tests", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xDC00; index <= 0xDFFF; index++) { - count++; - hex = decimalToHexString(index); - try { - encodeURI(String.fromCharCode(index, 0x0041)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T1.js deleted file mode 100644 index 623ed8f1b7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A1.2_T1; - * @section: 15.1.3.3; - * @assertion: If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A1.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T1.js", - -assertion: "If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError", - -description: "Complex tests", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xD800; index <= 0xDBFF; index++) { - count++; - hex = decimalToHexString(index); - try { - encodeURI(String.fromCharCode(index)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T2.js deleted file mode 100644 index 6329fa3ec4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T2.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A1.2_T2; - * @section: 15.1.3.3; - * @assertion: If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A1.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.2_T2.js", - -assertion: "If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError", - -description: "Complex tests", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xD800; index <= 0xDBFF; index++) { - count++; - hex = decimalToHexString(index); - try { - encodeURI(String.fromCharCode(0x0041, index)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.3_T1.js deleted file mode 100644 index e9356dff4b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.3_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A1.3_T1; - * @section: 15.1.3.3; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A1.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A1.3_T1.js", - -assertion: "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]", - -test: function testcase() { - chars = [0x0000, 0xD7FF, 0xD800, 0xDBFE, 0xDBFF, 0xE000, 0xFFFF]; -errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xD800; index <= 0xDBFF; index++) { - count++; - res = true; - for (indexC = 0; indexC < chars.length; indexC++) { - hex = decimalToHexString(index); - try { - encodeURI(String.fromCharCode(index, chars[indexC])); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - res = false; - } - if (res !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.1_T1.js deleted file mode 100644 index 06d5275acd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.1_T1.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A2.1_T1; - * @section: 15.1.3.3; - * @assertion: If string.charAt(k) in [0x0000 - 0x007F]\[uriReserved, uriUnescaped, #], return 1 octet (00000000 0zzzzzzz -> 0zzzzzzz); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A2.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.1_T1.js", - -assertion: "If string.charAt(k) in [0x0000 - 0x007F]\\[uriReserved, uriUnescaped, #], return 1 octet (00000000 0zzzzzzz -> 0zzzzzzz)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - 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"]; -errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -l : -for (index = 0x0000; index <= 0x007F; index++) { - count++; - str = String.fromCharCode(index); - for (indexC = 0; indexC < uriReserved.length; indexC++) { - if (uriReserved[indexC] === str) continue l; - } - for (indexC = 0; indexC < uriUnescaped.length; indexC++) { - if (uriUnescaped[indexC] === str) continue l; - } - if ("#" === str) continue l; - try { - if (encodeURI(str).toUpperCase() === "%" + decimalToHexString(index).substring(2)) continue l; - } catch(e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.2_T1.js deleted file mode 100644 index 42fcbe00f5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.2_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A2.2_T1; - * @section: 15.1.3.3; - * @assertion: If string.charAt(k) in [0x0080 - 0x07FF], return 2 octets (00000yyy yyzzzzzz -> 110yyyyy 10zzzzzz); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A2.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.2_T1.js", - -assertion: "If string.charAt(k) in [0x0080 - 0x07FF], return 2 octets (00000yyy yyzzzzzz -> 110yyyyy 10zzzzzz)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -l: -for (index = 0x0080; index <= 0x07FF; index++) { - count++; - hex1 = decimalToHexString(0x0080 + (index & 0x003F)).substring(2); - hex2 = decimalToHexString(0x00C0 + (index & 0x07C0) / 0x0040).substring(2); - str = String.fromCharCode(index); - try { - if (encodeURI(str).toUpperCase() === "%" + hex2 + "%" + hex1) continue; - } catch(e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.3_T1.js deleted file mode 100644 index 726188e07f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.3_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A2.3_T1; - * @section: 15.1.3.3; - * @assertion: If string.charAt(k) in [0x0800 - 0xD7FF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A2.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.3_T1.js", - -assertion: "If string.charAt(k) in [0x0800 - 0xD7FF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -for (index = 0x0800; index <= 0xD7FF; index++) { - count++; - hex1 = decimalToHexString(0x0080 + (index & 0x003F)).substring(2); - hex2 = decimalToHexString(0x0080 + (index & 0x0FC0) / 0x0040).substring(2); - hex3 = decimalToHexString(0x00E0 + (index & 0xF000) / 0x1000).substring(2); - str = String.fromCharCode(index); - try { - if (encodeURI(str).toUpperCase() === "%" + hex3 + "%" + hex2 + "%" + hex1) continue; - } catch(e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T1.js deleted file mode 100644 index 155cae55cc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T1.js +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A2.4_T1; - * @section: 15.1.3.3; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A2.4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T1.js", - -assertion: "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]", - -test: function testcase() { - chars = [0xDC00, 0xDDFF, 0xDFFF]; -errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -for (index = 0xD800; index <= 0xDBFF; index++) { - res = true; - for (indexC = 0; indexC < chars.length; indexC++) { - index1 = (index - 0xD800) * 0x400 + (chars[indexC] - 0xDC00) + 0x10000; - hex1 = decimalToHexString(0x0080 + (index1 & 0x003F)).substring(2); - hex2 = decimalToHexString(0x0080 + (index1 & 0x0FC0) / 0x0040).substring(2); - hex3 = decimalToHexString(0x0080 + (index1 & 0x3F000) / 0x1000).substring(2); - hex4 = decimalToHexString(0x00F0 + (index1 & 0x1C0000) / 0x40000).substring(2); - str = String.fromCharCode(index, chars[indexC]); - try { - if (encodeURI(str).toUpperCase() !== "%" + hex4 + "%" + hex3 + "%" + hex2 + "%" + hex1) { - res = false; - } - } catch(e) {res = false} - } - if (res !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - count++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T2.js deleted file mode 100644 index d25d00dbdb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T2.js +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A2.4_T2; - * @section: 15.1.3.3; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A2.4_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T2.js", - -assertion: "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]", - -test: function testcase() { - chars = [0xD800, 0xDBFF, 0xD9FF]; -errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -for (index = 0xDC00; index <= 0xDFFF; index++) { - res = true; - for (indexC = 0; indexC < chars.length; indexC++) { - index1 = (chars[indexC] - 0xD800) * 0x400 + (index - 0xDC00) + 0x10000; - hex1 = decimalToHexString(0x0080 + (index1 & 0x003F)).substring(2); - hex2 = decimalToHexString(0x0080 + (index1 & 0x0FC0) / 0x0040).substring(2); - hex3 = decimalToHexString(0x0080 + (index1 & 0x3F000) / 0x1000).substring(2); - hex4 = decimalToHexString(0x00F0 + (index1 & 0x1C0000) / 0x40000).substring(2); - str = String.fromCharCode(chars[indexC], index); - try { - if (encodeURI(str).toUpperCase() !== "%" + hex4 + "%" + hex3 + "%" + hex2 + "%" + hex1) { - res = false; - } - } catch(e) {res = false} - } - if (res !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - count++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.5_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.5_T1.js deleted file mode 100644 index 9662e607e1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.5_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A2.5_T1; - * @section: 15.1.3.3; - * @assertion: If string.charAt(k) in [0xE000 - 0xFFFF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A2.5_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A2.5_T1.js", - -assertion: "If string.charAt(k) in [0xE000 - 0xFFFF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -for (index = 0xE000; index <= 0xFFFF; index++) { - count++; - hex1 = decimalToHexString(0x0080 + (index & 0x003F)).substring(2); - hex2 = decimalToHexString(0x0080 + (index & 0x0FC0) / 0x0040).substring(2); - hex3 = decimalToHexString(0x00E0 + (index & 0xF000) / 0x1000).substring(2); - str = String.fromCharCode(index); - try { - if (encodeURI(str).toUpperCase() === "%" + hex3 + "%" + hex2 + "%" + hex1) continue; - } catch(e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.1_T1.js deleted file mode 100644 index 2609dddf13..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.1_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A3.1_T1; - * @section: 15.1.3.3; - * @assertion: unescapedURISet containing one instance of each character valid in uriReserved; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A3.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.1_T1.js", - -assertion: "unescapedURISet containing one instance of each character valid in uriReserved", - -description: "Complex tests", - -test: function testcase() { - uriReserved = [";", "/", "?", ":", "@", "&", "=", "+", "$", ","]; -for (indexC = 0; indexC < uriReserved.length; indexC++) { - var str = uriReserved[indexC]; - if (encodeURI(str) !== str) { - $ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T1.js deleted file mode 100644 index 9f7c5b1888..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A3.2_T1; - * @section: 15.1.3.3; - * @assertion: unescapedURISet containing one instance of each character valid in uriUnescaped; - * @description: Complex tests, uriUnescaped :: uriAlpha; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A3.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T1.js", - -assertion: "unescapedURISet containing one instance of each character valid in uriUnescaped", - -description: "Complex tests, uriUnescaped :: uriAlpha", - -test: function testcase() { - 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++) { - var str = uriAlpha[indexC]; - if (encodeURI(str) !== str) { - $ERROR('#' + (indexC + 1) + ': unescapedURISet containing ' + str); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T2.js deleted file mode 100644 index f195c5a762..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A3.2_T2; - * @section: 15.1.3.3; - * @assertion: unescapedURISet containing one instance of each character valid in uriUnescaped; - * @description: Complex tests, uriUnescaped :: DecimalDigit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A3.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T2.js", - -assertion: "unescapedURISet containing one instance of each character valid in uriUnescaped", - -description: "Complex tests, uriUnescaped :: DecimalDigit", - -test: function testcase() { - DecimalDigit = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; -for (indexC = 0; indexC < DecimalDigit.length; indexC++) { - var str = DecimalDigit[indexC]; - if (encodeURI(str) !== str) { - $ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T3.js deleted file mode 100644 index ea2736a1e8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A3.2_T3; - * @section: 15.1.3.3; - * @assertion: unescapedURISet containing one instance of each character valid in uriUnescaped; - * @description: Complex tests, uriUnescaped :: uriMark; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A3.2_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.2_T3.js", - -assertion: "unescapedURISet containing one instance of each character valid in uriUnescaped", - -description: "Complex tests, uriUnescaped :: uriMark", - -test: function testcase() { - uriMark = ["-", "_", ".", "!", "~", "*", "'", "(", ")"]; -for (indexC = 0; indexC < uriMark.length; indexC++) { - var str = uriMark[indexC]; - if (encodeURI(str) !== str) { - $ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.3_T1.js deleted file mode 100644 index c2f0e06d01..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.3_T1.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A3.3_T1; - * @section: 15.1.3.3; - * @assertion: unescapedURISet containing "#"; - * @description: encodeURI("#") === "#"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A3.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A3.3_T1.js", - -assertion: "unescapedURISet containing \"#\"", - -description: "encodeURI(\"#\") === \"#\"", - -test: function testcase() { - if (encodeURI("#") !== "#") { - $ERROR('#1: unescapedURISet containing "#"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T1.js deleted file mode 100644 index fc44555c8c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A4_T1; - * @section: 15.1.3.3; - * @assertion: URI tests; - * @description: Checking ENGLISH ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T1.js", - -assertion: "URI tests", - -description: "Checking ENGLISH ALPHABET", - -test: function testcase() { - //CHECK#1 -if (encodeURI("http://unipro.ru/0123456789") !== "http://unipro.ru/0123456789") { - $ERROR('#1: http://unipro.ru/0123456789'); -} - -//CHECK#2 -if (encodeURI("aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ") !== "aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ") { - $ERROR('#2: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ'); -} - -//CHECK#3 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T2.js deleted file mode 100644 index 58c05217b5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A4_T2; - * @section: 15.1.3.3; - * @assertion: URI tests; - * @description: Checking RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A4_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T2.js", - -assertion: "URI tests", - -description: "Checking RUSSIAN ALPHABET", - -test: function testcase() { - //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())) { - $ERROR('#1: http://ru.wikipedia.org/wiki/Юникод'); -} - -//CHECK#2 -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%A1%D1%81%D1%8B%D0%BB%D0%BA%D0%B8") && (encodeURI("http://ru.wikipedia.org/wiki/Юникод#Ссылки") !== "http://ru.wikipedia.org/wiki/" + "%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4#%D0%A1%D1%81%D1%8B%D0%BB%D0%BA%D0%B8".toLowerCase())) { - $ERROR('#2: http://ru.wikipedia.org/wiki/Юникод#Ссылки'); -} - -//CHECK#3 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T3.js deleted file mode 100644 index 0f953b9824..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A4_T3; - * @section: 15.1.3.3; - * @assertion: URI tests; - * @description: Checking URL with Line Terminator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A4_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T3.js", - -assertion: "URI tests", - -description: "Checking URL with Line Terminator", - -test: function testcase() { - //CHECK#1 -if ((encodeURI("http://unipro.ru/\nabout") !== "http://unipro.ru/%0Aabout") && encodeURI("http://unipro.ru/\nabout") !== "http://unipro.ru/%0aabout") { - $ERROR('#1: http://unipro.ru/\\nabout'); -} - -//CHECK#2 -if ((encodeURI("http://unipro.ru/\vabout") !== "http://unipro.ru/%0Babout") && encodeURI("http://unipro.ru/\vabout") !== "http://unipro.ru/%0babout") { - $ERROR('#2: http://unipro.ru/\\vabout'); -} - -//CHECK#3 -if ((encodeURI("http://unipro.ru/\fabout") !== "http://unipro.ru/%0Cabout") && encodeURI("http://unipro.ru/\fabout") !== "http://unipro.ru/%0cabout") { - $ERROR('#3: http://unipro.ru/\\fabout'); -} - -//CHECK#4 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T4.js deleted file mode 100644 index fc6506aff1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A4_T4; - * @section: 15.1.3.3; - * @assertion: URI tests; - * @description: Test some url; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A4_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A4_T4.js", - -assertion: "URI tests", - -description: "Test some url", - -test: function testcase() { - //CHECK#1 -if (encodeURI("") !== "") { - $ERROR('#1: ""'); -} - -//CHECK#2 -if (encodeURI("http://unipro.ru") !== "http://unipro.ru") { - $ERROR('#2: http://unipro.ru'); -} - -//CHECK#3 -if (encodeURI("http://www.google.ru/support/jobs/bin/static.py?page=why-ru.html&sid=liveandwork") !== "http://www.google.ru/support/jobs/bin/static.py?page=why-ru.html&sid=liveandwork") { - $ERROR('#3: http://www.google.ru/support/jobs/bin/static.py?page=why-ru.html&sid=liveandwork"'); -} - -//CHECK#4 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.1.js deleted file mode 100644 index a14d10a36e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A5.1; - * @section: 15.1.3.3, 15.2.4.7, 12.6.4; - * @assertion: The length property of encodeURI has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A5.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.1.js", - -assertion: "The length property of encodeURI has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (encodeURI.propertyIsEnumerable('length') !== false) { - $ERROR('#1: encodeURI.propertyIsEnumerable(\'length\') === false. Actual: ' + (encodeURI.propertyIsEnumerable('length'))); -} - -//CHECK#2 -result = true; -for (p in encodeURI){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in encodeURI) { if (p === "length") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.2.js deleted file mode 100644 index 2d6852b50d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A5.2; - * @section: 15.1.3.3, 15.2.4.5, 11.4.1; - * @assertion: The length property of encodeURI has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A5.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.2.js", - -assertion: "The length property of encodeURI has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (encodeURI.hasOwnProperty('length') !== true) { - $FAIL('#1: encodeURI.hasOwnProperty(\'length\') === true. Actual: ' + (encodeURI.hasOwnProperty('length'))); -} - -delete encodeURI.length; - -//CHECK#2 -if (encodeURI.hasOwnProperty('length') !== true) { - $ERROR('#2: delete encodeURI.length; encodeURI.hasOwnProperty(\'length\') === true. Actual: ' + (encodeURI.hasOwnProperty('length'))); -} - -//CHECK#3 -if (encodeURI.length === undefined) { - $ERROR('#3: delete encodeURI.length; encodeURI.length !== undefined'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.3.js deleted file mode 100644 index 2b57f1e4a8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A5.3; - * @section: 15.1.3.3; - * @assertion: The length property of encodeURI has the attribute ReadOnly; - * @description: Checking if varying the length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A5.3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.3.js", - -assertion: "The length property of encodeURI has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -x = encodeURI.length; -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.4.js deleted file mode 100644 index f47aea6ae1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A5.4; - * @section: 15.1.3.3; - * @assertion: The length property of encodeURI is 1; - * @description: encodeURI.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A5.4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.4.js", - -assertion: "The length property of encodeURI is 1", - -description: "encodeURI.length === 1", - -test: function testcase() { - //CHECK#1 -if (encodeURI.length !== 1) { - $ERROR('#1: encodeURI.length === 1. Actual: ' + (encodeURI.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.5.js deleted file mode 100644 index 594818db38..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A5.5; - * @section: 15.1.3.3, 15.2.4.7, 12.6.4; - * @assertion: The encodeURI property has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A5.5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.5.js", - -assertion: "The encodeURI property has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (this.propertyIsEnumerable('encodeURI') !== false) { - $ERROR('#1: this.propertyIsEnumerable(\'encodeURI\') === false. Actual: ' + (this.propertyIsEnumerable('encodeURI'))); -} - -//CHECK#2 -result = true; -for (p in this){ - if (p === "encodeURI") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in this) { if (p === "encodeURI") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.6.js deleted file mode 100644 index df87e908c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.3.3_A5.6; -* @section: 15.1.3.3; -* @assertion: The encodeURI property has not prototype property; -* @description: Checking encodeURI.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A5.6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.6.js", - -assertion: "The encodeURI property has not prototype property", - -description: "Checking encodeURI.prototype", - -test: function testcase() { - //CHECK#1 -if (encodeURI.prototype !== undefined) { - $ERROR('#1: encodeURI.prototype === undefined. Actual: ' + (encodeURI.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.7.js deleted file mode 100644 index 72c435d3e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.3.3_A5.7; -* @section: 15.1.3.3, 11.2.2; -* @assertion: The encodeURI property can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A5.7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A5.7.js", - -assertion: "The encodeURI property can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new encodeURI(); - $ERROR('#1.1: new encodeURI() throw TypeError. Actual: ' + (new encodeURI())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new encodeURI() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A6_T1.js deleted file mode 100644 index 7a02bdd5d5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A6_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.3_A6_T1; - * @section: 15.1.3.3, 9.8, 8.6.2.6; - * @assertion: Operator use ToString; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.3_A6_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.3_encodeURI/S15.1.3.3_A6_T1.js", - -assertion: "Operator use ToString", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, String)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return "^"}}; -if (encodeURI(object) !== "%5Bobject%20Object%5D") { - $ERROR('#1: var object = {valueOf: function() {return "^"}}; encodeURI(object) === %5Bobject%20Object%5D. Actual: ' + (encodeURI(object))); -} - -//CHECK#2 -var object = {valueOf: function() {return ""}, toString: function() {return "^"}}; -if (encodeURI(object) !== "%5E") { - $ERROR('#2: var object = {valueOf: function() {return ""}, toString: function() {return "^"}}; encodeURI(object) === "%5E". Actual: ' + (encodeURI(object))); -} - -//CHECK#3 -var object = {valueOf: function() {return "^"}, toString: function() {return {}}}; -if (encodeURI(object) !== "%5E") { - $ERROR('#3: var object = {valueOf: function() {return "^"}, toString: function() {return {}}}; encodeURI(object) === "%5E". Actual: ' + (encodeURI(object))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return "^"}}; - if (encodeURI(object) !== "%5E") { - $ERROR('#4.1: var object = {valueOf: function() {throw "error"}, toString: function() {return "^"}}; encodeURI(object) === "%5E". Actual: ' + (encodeURI(object))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {throw "error"}, toString: function() {return "^"}}; encodeURI(object) not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {throw "error"}, toString: function() {return "^"}}; encodeURI(object) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return "^"}}; -if (encodeURI(object) !== "%5E") { - $ERROR('#5: var object = {toString: function() {return "^"}}; encodeURI(object) === "%5E". Actual: ' + (encodeURI(object))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return "^"}} -if (encodeURI(object) !== "%5E") { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return "^"}}; encodeURI(object) === "%5E". Actual: ' + (encodeURI(object))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {return "^"}, toString: function() {throw "error"}}; - encodeURI(object); - $ERROR('#7.1: var object = {valueOf: function() {return "^"}, toString: function() {throw "error"}}; encodeURI(object) throw "error". Actual: ' + (encodeURI(object))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {return "^"}, toString: function() {throw "error"}}; encodeURI(object) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - encodeURI(object); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; encodeURI(object) throw TypeError. Actual: ' + (encodeURI(object))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; encodeURI(object) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T1.js deleted file mode 100644 index 5599a3b0a3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A1.1_T1; - * @section: 15.1.3.4; - * @assertion: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A1.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T1.js", - -assertion: "If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError", - -description: "Complex tests", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xDC00; index <= 0xDFFF; index++) { - count++; - hex = decimalToHexString(index); - try { - encodeURIComponent(String.fromCharCode(index)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T2.js deleted file mode 100644 index 225694689b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T2.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A1.1_T2; - * @section: 15.1.3.4; - * @assertion: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A1.1_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.1_T2.js", - -assertion: "If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError", - -description: "Complex tests", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xDC00; index <= 0xDFFF; index++) { - count++; - hex = decimalToHexString(index); - try { - encodeURIComponent(String.fromCharCode(index, 0x0041)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T1.js deleted file mode 100644 index cc212d1ec7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A1.2_T1; - * @section: 15.1.3.4; - * @assertion: If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A1.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T1.js", - -assertion: "If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError", - -description: "Complex tests", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xD800; index <= 0xDBFF; index++) { - count++; - hex = decimalToHexString(index); - try { - encodeURIComponent(String.fromCharCode(index)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T2.js deleted file mode 100644 index c7c6ba362e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T2.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A1.2_T2; - * @section: 15.1.3.4; - * @assertion: If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A1.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.2_T2.js", - -assertion: "If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError", - -description: "Complex tests", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xD800; index <= 0xDBFF; index++) { - count++; - hex = decimalToHexString(index); - try { - encodeURIComponent(String.fromCharCode(0x0041, index)); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.3_T1.js deleted file mode 100644 index 364231453d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.3_T1.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A1.3_T1; - * @section: 15.1.3.4; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A1.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A1.3_T1.js", - -assertion: "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]", - -test: function testcase() { - chars = [0x0000, 0xD7FF, 0xD800, 0xDBFE, 0xDBFF, 0xE000, 0xFFFF]; -errorCount = 0; -count = 0; -var indexP; -var indexO = 0; - -for (index = 0xD800; index <= 0xDBFF; index++) { - count++; - res = true; - for (indexC = 0; indexC < chars.length; indexC++) { - hex = decimalToHexString(index); - try { - encodeURIComponent(String.fromCharCode(index, chars[indexC])); - } catch (e) { - if ((e instanceof URIError) === true) continue; - } - res = false; - } - if (res !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.1_T1.js deleted file mode 100644 index b691615348..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.1_T1.js +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A2.1_T1; - * @section: 15.1.3.4; - * @assertion: If string.charAt(k) in [0x0000 - 0x007F]\[uriUnescaped], return 1 octet (00000000 0zzzzzzz -> 0zzzzzzz); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A2.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.1_T1.js", - -assertion: "If string.charAt(k) in [0x0000 - 0x007F]\\[uriUnescaped], return 1 octet (00000000 0zzzzzzz -> 0zzzzzzz)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - 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; -count = 0; -var indexP; -var indexO = 0; - -l : -for (index = 0x0000; index <= 0x007F; index++) { - count++; - str = String.fromCharCode(index); - for (indexC = 0; indexC < uriUnescaped.length; indexC++) { - if (uriUnescaped[indexC] === str) continue l; - } - try { - if (encodeURIComponent(str).toUpperCase() === "%" + decimalToHexString(index).substring(2)) continue l; - } catch(e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.2_T1.js deleted file mode 100644 index a6da1237fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.2_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A2.2_T1; - * @section: 15.1.3.4; - * @assertion: If string.charAt(k) in [0x0080 - 0x07FF], return 2 octets (00000yyy yyzzzzzz -> 110yyyyy 10zzzzzz); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A2.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.2_T1.js", - -assertion: "If string.charAt(k) in [0x0080 - 0x07FF], return 2 octets (00000yyy yyzzzzzz -> 110yyyyy 10zzzzzz)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -l: -for (index = 0x0080; index <= 0x07FF; index++) { - count++; - hex1 = decimalToHexString(0x0080 + (index & 0x003F)).substring(2); - hex2 = decimalToHexString(0x00C0 + (index & 0x07C0) / 0x0040).substring(2); - str = String.fromCharCode(index); - try { - if (encodeURIComponent(str).toUpperCase() === "%" + hex2 + "%" + hex1) continue; - } catch(e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.3_T1.js deleted file mode 100644 index c2ec3a88f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.3_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A2.3_T1; - * @section: 15.1.3.4; - * @assertion: If string.charAt(k) in [0x0800 - 0xD7FF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A2.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.3_T1.js", - -assertion: "If string.charAt(k) in [0x0800 - 0xD7FF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -for (index = 0x0800; index <= 0xD7FF; index++) { - count++; - hex1 = decimalToHexString(0x0080 + (index & 0x003F)).substring(2); - hex2 = decimalToHexString(0x0080 + (index & 0x0FC0) / 0x0040).substring(2); - hex3 = decimalToHexString(0x00E0 + (index & 0xF000) / 0x1000).substring(2); - str = String.fromCharCode(index); - try { - if (encodeURIComponent(str).toUpperCase() === "%" + hex3 + "%" + hex2 + "%" + hex1) continue; - } catch(e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T1.js deleted file mode 100644 index d6ba84dded..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T1.js +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A2.4_T1; - * @section: 15.1.3.4; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A2.4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T1.js", - -assertion: "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]", - -test: function testcase() { - chars = [0xDC00, 0xDDFF, 0xDFFF]; -errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -for (index = 0xD800; index <= 0xDBFF; index++) { - res = true; - for (indexC = 0; indexC < chars.length; indexC++) { - index1 = (index - 0xD800) * 0x400 + (chars[indexC] - 0xDC00) + 0x10000; - hex1 = decimalToHexString(0x0080 + (index1 & 0x003F)).substring(2); - hex2 = decimalToHexString(0x0080 + (index1 & 0x0FC0) / 0x0040).substring(2); - hex3 = decimalToHexString(0x0080 + (index1 & 0x3F000) / 0x1000).substring(2); - hex4 = decimalToHexString(0x00F0 + (index1 & 0x1C0000) / 0x40000).substring(2); - str = String.fromCharCode(index, chars[indexC]); - try { - if (encodeURIComponent(str).toUpperCase() !== "%" + hex4 + "%" + hex3 + "%" + hex2 + "%" + hex1) { - res = false; - } - } catch(e) {res = false} - } - if (res !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - count++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T2.js deleted file mode 100644 index ec6cd4314c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T2.js +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A2.4_T2; - * @section: 15.1.3.4; - * @assertion: 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]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A2.4_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.4_T2.js", - -assertion: "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]", - -test: function testcase() { - chars = [0xD800, 0xDBFF, 0xD9FF]; -errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -for (index = 0xDC00; index <= 0xDFFF; index++) { - res = true; - for (indexC = 0; indexC < chars.length; indexC++) { - index1 = (chars[indexC] - 0xD800) * 0x400 + (index - 0xDC00) + 0x10000; - hex1 = decimalToHexString(0x0080 + (index1 & 0x003F)).substring(2); - hex2 = decimalToHexString(0x0080 + (index1 & 0x0FC0) / 0x0040).substring(2); - hex3 = decimalToHexString(0x0080 + (index1 & 0x3F000) / 0x1000).substring(2); - hex4 = decimalToHexString(0x00F0 + (index1 & 0x1C0000) / 0x40000).substring(2); - str = String.fromCharCode(chars[indexC], index); - try { - if (encodeURIComponent(str).toUpperCase() !== "%" + hex4 + "%" + hex3 + "%" + hex2 + "%" + hex1) { - res = false; - } - } catch(e) {res = false} - } - if (res !== true) { - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; - } - count++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.5_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.5_T1.js deleted file mode 100644 index f31ef01afe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.5_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A2.5_T1; - * @section: 15.1.3.4; - * @assertion: If string.charAt(k) in [0xE000 - 0xFFFF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz); - * @description: Complex tests, use RFC 3629; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A2.5_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A2.5_T1.js", - -assertion: "If string.charAt(k) in [0xE000 - 0xFFFF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)", - -description: "Complex tests, use RFC 3629", - -test: function testcase() { - errorCount = 0; -count = 0; -var indexP; -var indexO = 0; -for (index = 0xE000; index <= 0xFFFF; index++) { - count++; - hex1 = decimalToHexString(0x0080 + (index & 0x003F)).substring(2); - hex2 = decimalToHexString(0x0080 + (index & 0x0FC0) / 0x0040).substring(2); - hex3 = decimalToHexString(0x00E0 + (index & 0xF000) / 0x1000).substring(2); - str = String.fromCharCode(index); - try { - if (encodeURIComponent(str).toUpperCase() === "%" + hex3 + "%" + hex2 + "%" + hex1) continue; - } catch(e) {} - if (indexO === 0) { - indexO = index; - } else { - if ((index - indexP) !== 1) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } - else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - indexO = index; - } - } - indexP = index; - errorCount++; -} - -if (errorCount > 0) { - if ((indexP - indexO) !== 0) { - var hexP = decimalToHexString(indexP); - var hexO = decimalToHexString(indexO); - $ERROR('#' + hexO + '-' + hexP + ' '); - } else { - var hexP = decimalToHexString(indexP); - $ERROR('#' + hexP + ' '); - } - $ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' '); -} - -function decimalToHexString(n) { - n = Number(n); - var h = ""; - for (var i = 3; i >= 0; i--) { - if (n >= Math.pow(16, i)) { - var t = Math.floor(n / Math.pow(16, i)); - n -= t * Math.pow(16, i); - if ( t >= 10 ) { - if ( t == 10 ) { h += "A"; } - if ( t == 11 ) { h += "B"; } - if ( t == 12 ) { h += "C"; } - if ( t == 13 ) { h += "D"; } - if ( t == 14 ) { h += "E"; } - if ( t == 15 ) { h += "F"; } - } else { - h += String(t); - } - } else { - h += "0"; - } - } - return h; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.1_T1.js deleted file mode 100644 index 3c25217ba5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.1_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A3.1_T1; - * @section: 15.1.3.4; - * @assertion: unescapedURIComponentSet not containing uriReserved; - * @description: Complex tests; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A3.1_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.1_T1.js", - -assertion: "unescapedURIComponentSet not containing uriReserved", - -description: "Complex tests", - -test: function testcase() { - uriReserved = ["%3B", "%2F", "%3F", "%3A", "%40", "%26", "%3D", "%2B", "%24", "%2C"]; -uriReserved_ = [";", "/", "?", ":", "@", "&", "=", "+", "$", ","]; -for (indexC = 0; indexC < 10; indexC++) { - var str = uriReserved_[indexC]; - if (encodeURIComponent(str) !== uriReserved[indexC]) { - $ERROR('#' + (indexC + 1) + ': unescapedURIComponentSet not containing' + str); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T1.js deleted file mode 100644 index 90018fb7bb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A3.2_T1; - * @section: 15.1.3.4; - * @assertion: unescapedURIComponentSet containing one instance of each character valid in uriUnescaped; - * @description: Complex tests, uriUnescaped :: uriAlpha; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A3.2_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T1.js", - -assertion: "unescapedURIComponentSet containing one instance of each character valid in uriUnescaped", - -description: "Complex tests, uriUnescaped :: uriAlpha", - -test: function testcase() { - 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++) { - var str = uriAlpha[indexC]; - if (encodeURIComponent(str) !== str) { - $ERROR('#' + (indexC + 1) + ': unescapedURISet containing ' + str); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T2.js deleted file mode 100644 index fd8479d124..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A3.2_T2; - * @section: 15.1.3.4; - * @assertion: unescapedURIComponentSet containing one instance of each character valid in uriUnescaped; - * @description: Complex tests, uriUnescaped :: DecimalDigit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A3.2_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T2.js", - -assertion: "unescapedURIComponentSet containing one instance of each character valid in uriUnescaped", - -description: "Complex tests, uriUnescaped :: DecimalDigit", - -test: function testcase() { - DecimalDigit = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; -for (indexC = 0; indexC < DecimalDigit.length; indexC++) { - var str = DecimalDigit[indexC]; - if (encodeURIComponent(str) !== str) { - $ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T3.js deleted file mode 100644 index 55df608892..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A3.2_T3; - * @section: 15.1.3.4; - * @assertion: unescapedURIComponentSet containing one instance of each character valid in uriUnescaped; - * @description: Complex tests, uriUnescaped :: uriMark; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A3.2_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.2_T3.js", - -assertion: "unescapedURIComponentSet containing one instance of each character valid in uriUnescaped", - -description: "Complex tests, uriUnescaped :: uriMark", - -test: function testcase() { - uriMark = ["-", "_", ".", "!", "~", "*", "'", "(", ")"]; -for (indexC = 0; indexC < uriMark.length; indexC++) { - var str = uriMark[indexC]; - if (encodeURIComponent(str) !== str) { - $ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.3_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.3_T1.js deleted file mode 100644 index 0f988a6557..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.3_T1.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A3.3_T1; - * @section: 15.1.3.4; - * @assertion: unescapedURIComponentSet not containing "#"; - * @description: encodeURIComponent("#") === "%23"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A3.3_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A3.3_T1.js", - -assertion: "unescapedURIComponentSet not containing \"#\"", - -description: "encodeURIComponent(\"#\") === \"%23\"", - -test: function testcase() { - if (encodeURIComponent("#") !== "%23") { - $ERROR('#1: unescapedURIComponentSet not containing "%23"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T1.js deleted file mode 100644 index 32c9d6bd8a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A4_T1; - * @section: 15.1.3.4; - * @assertion: URI tests; - * @description: Checking ENGLISH ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A4_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T1.js", - -assertion: "URI tests", - -description: "Checking ENGLISH ALPHABET", - -test: function testcase() { - //CHECK#1 -if (encodeURIComponent("http://unipro.ru/0123456789") !== "http%3A%2F%2Funipro.ru%2F0123456789") { - $ERROR('#1: http://unipro.ru/0123456789'); -} - -//CHECK#2 -if (encodeURIComponent("aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ") !== "aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ") { - $ERROR('#2: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ'); -} - -//CHECK#3 -if (encodeURIComponent(";/?:@&=+$,") !== "%3B%2F%3F%3A%40%26%3D%2B%24%2C") { - $ERROR('#3: '); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T2.js deleted file mode 100644 index cf396c0a38..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A4_T2; - * @section: 15.1.3.4; - * @assertion: URI tests; - * @description: Checking RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A4_T2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T2.js", - -assertion: "URI tests", - -description: "Checking RUSSIAN ALPHABET", - -test: function testcase() { - //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())) { - $ERROR('#1: http://ru.wikipedia.org/wiki/Юникод'); -} - -//CHECK#2 -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%A1%D1%81%D1%8B%D0%BB%D0%BA%D0%B8") && (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%A1%D1%81%D1%8B%D0%BB%D0%BA%D0%B8".toLowerCase())) { - $ERROR('#2: http://ru.wikipedia.org/wiki/Юникод#Ссылки'); -} - -//CHECK#3 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T3.js deleted file mode 100644 index 49fa63a940..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A4_T3; - * @section: 15.1.3.4; - * @assertion: URI tests; - * @description: Checking URL with Line Terminator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A4_T3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T3.js", - -assertion: "URI tests", - -description: "Checking URL with Line Terminator", - -test: function testcase() { - //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") { - $ERROR('#1: http://unipro.ru/\\nabout'); -} - -//CHECK#2 -if ((encodeURIComponent("http://unipro.ru/\vabout") !== "http%3A%2F%2Funipro.ru%2F%0Babout") && encodeURIComponent("http://unipro.ru/\vabout") !== "http%3A%2F%2Funipro.ru%2F%0babout") { - $ERROR('#2: http://unipro.ru/\\vabout'); -} - -//CHECK#3 -if ((encodeURIComponent("http://unipro.ru/\fabout") !== "http%3A%2F%2Funipro.ru%2F%0Cabout") && encodeURIComponent("http://unipro.ru/\fabout") !== "http%3A%2F%2Funipro.ru%2F%0cabout") { - $ERROR('#3: http://unipro.ru/\\fabout'); -} - -//CHECK#4 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T4.js deleted file mode 100644 index 6068dba2d5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A4_T4; - * @section: 15.1.3.4; - * @assertion: URI tests; - * @description: Test some url; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A4_T4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A4_T4.js", - -assertion: "URI tests", - -description: "Test some url", - -test: function testcase() { - //CHECK#1 -if (encodeURIComponent("") !== "") { - $ERROR('#1: ""'); -} - -//CHECK#2 -if (encodeURIComponent("http://unipro.ru") !== "http%3A%2F%2Funipro.ru") { - $ERROR('#2: http://unipro.ru'); -} - -//CHECK#3 -if (encodeURIComponent("http://www.google.ru/support/jobs/bin/static.py?page=why-ru.html&sid=liveandwork") !== "http%3A%2F%2Fwww.google.ru%2Fsupport%2Fjobs%2Fbin%2Fstatic.py%3Fpage%3Dwhy-ru.html%26sid%3Dliveandwork") { - $ERROR('#3: http://www.google.ru/support/jobs/bin/static.py?page=why-ru.html&sid=liveandwork"'); -} - -//CHECK#4 -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.1.js deleted file mode 100644 index 0a45066341..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A5.1; - * @section: 15.1.3.4, 15.2.4.7, 12.6.4; - * @assertion: The length property of encodeURIComponent has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A5.1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.1.js", - -assertion: "The length property of encodeURIComponent has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (encodeURIComponent.propertyIsEnumerable('length') !== false) { - $ERROR('#1: encodeURIComponent.propertyIsEnumerable(\'length\') === false. Actual: ' + (encodeURIComponent.propertyIsEnumerable('length'))); -} - -//CHECK#2 -result = true; -for (p in encodeURIComponent){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in encodeURIComponent) { if (p === "length") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.2.js deleted file mode 100644 index f10721a15d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A5.2; - * @section: 15.1.3.4, 15.2.4.5, 11.4.1; - * @assertion: The length property of encodeURIComponent has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A5.2", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.2.js", - -assertion: "The length property of encodeURIComponent has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (encodeURIComponent.hasOwnProperty('length') !== true) { - $FAIL('#1: encodeURIComponent.hasOwnProperty(\'length\') === true. Actual: ' + (encodeURIComponent.hasOwnProperty('length'))); -} - -delete encodeURIComponent.length; - -//CHECK#2 -if (encodeURIComponent.hasOwnProperty('length') !== true) { - $ERROR('#2: delete encodeURIComponent.length; encodeURIComponent.hasOwnProperty(\'length\') === true. Actual: ' + (encodeURIComponent.hasOwnProperty('length'))); -} - -//CHECK#3 -if (encodeURIComponent.length === undefined) { - $ERROR('#3: delete encodeURIComponent.length; encodeURIComponent.length !== undefined'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.3.js deleted file mode 100644 index 6eb00e472a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A5.3; - * @section: 15.1.3.4; - * @assertion: The length property of encodeURIComponent has the attribute ReadOnly; - * @description: Checking if varying the length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A5.3", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.3.js", - -assertion: "The length property of encodeURIComponent has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -x = encodeURIComponent.length; -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/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.4.js deleted file mode 100644 index 6fb551bc51..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A5.4; - * @section: 15.1.3.4; - * @assertion: The length property of encodeURIComponent is 1; - * @description: encodeURIComponent.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A5.4", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.4.js", - -assertion: "The length property of encodeURIComponent is 1", - -description: "encodeURIComponent.length === 1", - -test: function testcase() { - //CHECK#1 -if (encodeURIComponent.length !== 1) { - $ERROR('#1: encodeURIComponent.length === 1. Actual: ' + (encodeURIComponent.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.5.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.5.js deleted file mode 100644 index 1b7fdfcc25..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A5.5; - * @section: 15.1.3.4, 15.2.4.7, 12.6.4; - * @assertion: The encodeURIComponent property has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A5.5", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.5.js", - -assertion: "The encodeURIComponent property has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (this.propertyIsEnumerable('encodeURIComponent') !== false) { - $ERROR('#1: this.propertyIsEnumerable(\'encodeURIComponent\') === false. Actual: ' + (this.propertyIsEnumerable('encodeURIComponent'))); -} - -//CHECK#2 -result = true; -for (p in this){ - if (p === "encodeURIComponent") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in this) { if (p === "encodeURIComponent") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.6.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.6.js deleted file mode 100644 index 904e8571db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.3.4_A5.6; -* @section: 15.1.3.4; -* @assertion: The encodeURIComponent property has not prototype property; -* @description: Checking encodeURIComponent.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A5.6", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.6.js", - -assertion: "The encodeURIComponent property has not prototype property", - -description: "Checking encodeURIComponent.prototype", - -test: function testcase() { - //CHECK#1 -if (encodeURIComponent.prototype !== undefined) { - $ERROR('#1: encodeURIComponent.prototype === undefined. Actual: ' + (encodeURIComponent.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.7.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.7.js deleted file mode 100644 index fe63dda3fb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.1.3.4_A5.7; -* @section: 15.1.3.4, 11.2.2; -* @assertion: The encodeURIComponent property can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A5.7", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A5.7.js", - -assertion: "The encodeURIComponent property can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new encodeURIComponent(); - $ERROR('#1.1: new encodeURIComponent() throw TypeError. Actual: ' + (new encodeURIComponent())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new encodeURIComponent() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A6_T1.js deleted file mode 100644 index 9f903066f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A6_T1.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.1.3.4_A6_T1; - * @section: 15.1.3.4, 9.8, 8.6.2.6; - * @assertion: Operator use ToString; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.1.3.4_A6_T1", - -path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.4_encodeURIComponent/S15.1.3.4_A6_T1.js", - -assertion: "Operator use ToString", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, String)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return "^"}}; -if (encodeURIComponent(object) !== "%5Bobject%20Object%5D") { - $ERROR('#1: var object = {valueOf: function() {return "^"}}; encodeURIComponent(object) === %5Bobject%20Object%5D. Actual: ' + (encodeURIComponent(object))); -} - -//CHECK#2 -var object = {valueOf: function() {return ""}, toString: function() {return "^"}}; -if (encodeURIComponent(object) !== "%5E") { - $ERROR('#2: var object = {valueOf: function() {return ""}, toString: function() {return "^"}}; encodeURIComponent(object) === "%5E". Actual: ' + (encodeURIComponent(object))); -} - -//CHECK#3 -var object = {valueOf: function() {return "^"}, toString: function() {return {}}}; -if (encodeURIComponent(object) !== "%5E") { - $ERROR('#3: var object = {valueOf: function() {return "^"}, toString: function() {return {}}}; encodeURIComponent(object) === "%5E". Actual: ' + (encodeURIComponent(object))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return "^"}}; - if (encodeURIComponent(object) !== "%5E") { - $ERROR('#4.1: var object = {valueOf: function() {throw "error"}, toString: function() {return "^"}}; encodeURIComponent(object) === "%5E". Actual: ' + (encodeURIComponent(object))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {throw "error"}, toString: function() {return "^"}}; encodeURIComponent(object) not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {throw "error"}, toString: function() {return "^"}}; encodeURIComponent(object) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return "^"}}; -if (encodeURIComponent(object) !== "%5E") { - $ERROR('#5: var object = {toString: function() {return "^"}}; encodeURIComponent(object) === "%5E". Actual: ' + (encodeURIComponent(object))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return "^"}} -if (encodeURIComponent(object) !== "%5E") { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return "^"}}; encodeURIComponent(object) === "%5E". Actual: ' + (encodeURIComponent(object))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {return "^"}, toString: function() {throw "error"}}; - encodeURIComponent(object); - $ERROR('#7.1: var object = {valueOf: function() {return "^"}, toString: function() {throw "error"}}; encodeURIComponent(object) throw "error". Actual: ' + (encodeURIComponent(object))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {return "^"}, toString: function() {throw "error"}}; encodeURIComponent(object) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - encodeURIComponent(object); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; encodeURIComponent(object) throw TypeError. Actual: ' + (encodeURIComponent(object))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; encodeURIComponent(object) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A1_T1.js deleted file mode 100644 index 9c6b9f7f54..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A1_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - new this; - - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A1_T2.js deleted file mode 100644 index d0e7f2e82d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A1_T2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - new this(); - - diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A2_T1.js deleted file mode 100644 index 3fb0bbf5f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/S15.1_A2_T1.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - this(); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T1.js deleted file mode 100644 index c980974a92..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A1_T1; -* @section: 15.2.1.1, 15.2.2.1; -* @assertion: When the Object(value) is called and the value is null, undefined or not supplied, -* create and return a new Object object if the object constructor had been called with the same arguments (15.2.2.1); -* @description: Creating Object(null) and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A1_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T1.js", - -assertion: "When the Object(value) is called and the value is null, undefined or not supplied,", - -description: "Creating Object(null) and checking its properties", - -test: function testcase() { - var __obj = Object(null); - -var n__obj = new Object(null); - -if (__obj.toString() !== n__obj.toString()){ - $ERROR('#1'); -} - -if (__obj.constructor !== n__obj.constructor) { - $ERROR('#2'); -} - -if (__obj.prototype !== n__obj.prototype) { - $ERROR('#3'); -} - -if (__obj.toLocaleString() !== n__obj.toLocaleString()) { - $ERROR('#4'); -} - -if (typeof __obj !== typeof n__obj) { - $ERROR('#5'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T2.js deleted file mode 100644 index e5dc3eefd2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A1_T2; -* @section: 15.2.1.1, 15.2.2.1; -* @assertion: When the Object(value) is called and the value is null, undefined or not supplied, -* create and return a new Object object if the object constructor had been called with the same arguments (15.2.2.1); -* @description: Creating Object(void 0) and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A1_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T2.js", - -assertion: "When the Object(value) is called and the value is null, undefined or not supplied,", - -description: "Creating Object(void 0) and checking its properties", - -test: function testcase() { - //var y= void 0; - -var __obj = Object(void 0); - -var n__obj = new Object(void 0); - - -if (__obj.toString() !== n__obj.toString()){ - $ERROR('#1'); -} - -if (__obj.constructor !== n__obj.constructor) { - $ERROR('#2'); -} - -if (__obj.prototype !== n__obj.prototype) { - $ERROR('#3'); -} - -if (__obj.toLocaleString() !== n__obj.toLocaleString()) { - $ERROR('#4'); -} - -if (typeof __obj !== typeof n__obj) { - $ERROR('#5'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T3.js deleted file mode 100644 index 6041ef3b6a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A1_T3; -* @section: 15.2.1.1, 15.2.2.1; -* @assertion: When the Object(value) is called and the value is null, undefined or not supplied, -* create and return a new Object object if the object constructor had been called with the same arguments (15.2.2.1); -* @description: Creating Object() and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A1_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T3.js", - -assertion: "When the Object(value) is called and the value is null, undefined or not supplied,", - -description: "Creating Object() and checking its properties", - -test: function testcase() { - var __obj = Object(); - -var n__obj = new Object(); - -if (__obj.toString() !== n__obj.toString()){ - $ERROR('#1'); -} - -if (__obj.constructor !== n__obj.constructor) { - $ERROR('#2'); -} - -if (__obj.prototype !== n__obj.prototype) { - $ERROR('#3'); -} - -if (__obj.toLocaleString() !== n__obj.toLocaleString()) { - $ERROR('#4'); -} - -if (typeof __obj !== typeof n__obj) { - $ERROR('#5'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T4.js deleted file mode 100644 index df19c81914..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T4.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A1_T4; -* @section: 15.2.1.1, 15.2.2.1; -* @assertion: When the Object(value) is called and the value is null, undefined or not supplied, -* create and return a new Object object if the object constructor had been called with the same arguments (15.2.2.1); -* @description: Creating Object(undefined) and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A1_T4", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T4.js", - -assertion: "When the Object(value) is called and the value is null, undefined or not supplied,", - -description: "Creating Object(undefined) and checking its properties", - -test: function testcase() { - var __obj = Object(undefined); - -var n__obj = new Object(undefined); - -if (__obj.toString() !== n__obj.toString()){ - $ERROR('#1'); -} - -if (__obj.constructor !== n__obj.constructor) { - $ERROR('#2'); -} - -if (__obj.prototype !== n__obj.prototype) { - $ERROR('#3'); -} - -if (__obj.toLocaleString() !== n__obj.toLocaleString()) { - $ERROR('#4'); -} - -if (typeof __obj !== typeof n__obj) { - $ERROR('#5'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T5.js deleted file mode 100644 index 3c01fd1090..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T5.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A1_T5; -* @section: 15.2.1.1, 15.2.2.1; -* @assertion: When the Object(value) is called and the value is null, undefined or not supplied, -* create and return a new Object object if the object constructor had been called with the same arguments (15.2.2.1); -* @description: Creating Object(x) and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A1_T5", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A1_T5.js", - -assertion: "When the Object(value) is called and the value is null, undefined or not supplied,", - -description: "Creating Object(x) and checking its properties", - -test: function testcase() { - var __obj = Object(x); - -var n__obj = new Object(x); - -if (__obj.toString() !== n__obj.toString()){ - $ERROR('#1'); -} - -if (__obj.constructor !== n__obj.constructor) { - $ERROR('#2'); -} - -if (__obj.prototype !== n__obj.prototype) { - $ERROR('#3'); -} - -if (__obj.toLocaleString() !== n__obj.toLocaleString()) { - $ERROR('#4'); -} - -if (typeof __obj !== typeof n__obj) { - $ERROR('#5'); -} - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T1.js deleted file mode 100644 index 9348ac9605..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T1; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with boolean argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T1.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with boolean argument value", - -test: function testcase() { - var bool = true; - -if(typeof bool !== 'boolean'){ - $FAIL('#1: bool should be boolean primitive'); -} - -var obj = Object(bool); - -if (obj.constructor !== Boolean) { - $ERROR('#2: Object(true) returns ToObject(true)'); -} - -if (typeof obj !== "object") { - $ERROR('#3: Object(true) returns ToObject(true)'); -} - -if (!obj) { - $ERROR('#4: Object(true) returns ToObject(true)'); -} - -if (obj === true) { - $ERROR('#5: Object(true) returns ToObject(true)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T10.js deleted file mode 100644 index df9fa31324..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T10; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with array of numbers as argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T10", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T10.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with array of numbers as argument value", - -test: function testcase() { - var arr = [1,2,3]; - -//CHECK#1 -if (typeof arr !== 'object') { - $ERROR('#1: arr = [1,2,3] is NOT an object'); -} - -var n_obj = Object(arr); - -arr.push(4); - -//CHECK#2 -if ((n_obj !== arr)||(n_obj[3]!==4)) { - $ERROR('#2: Object([1,2,3]) returns ToObject([1,2,3])'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T11.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T11.js deleted file mode 100644 index 255f7a221f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T11.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T11; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with function declaration as argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T11", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T11.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with function declaration as argument value", - -test: function testcase() { - //CHECK#1 -if (typeof func !== 'undefined') { - $ERROR('#1: function expression can\'t be declarated'); -} - -var n_obj = Object(function func(){return 1;}); - -//CHECK#2 -if ((n_obj.constructor !== Function)||(n_obj()!==1)) { - $ERROR('#2: Object(function func(){return 1;}) returns function'); -} - -//CHECK#3 -if (typeof func !== 'undefined') { - $ERROR('#3: function expression can\'t be declarated'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T12.js deleted file mode 100644 index f4f2e45fe8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T12.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T12; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with numeric expression as argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T12", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T12.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with numeric expression as argument value", - -test: function testcase() { - var obj = Object(1.1*([].length+{q:1}["q"])); - -//CHECK#2 -if (typeof obj !== "object") { - $ERROR('#2: Object(expression) returns ToObject(expression)'); -} - -//CHECK#3 -if (obj.constructor !== Number) { - $ERROR('#3: Object(expression) returns ToObject(expression)'); -} - -//CHECK#4 -if ((obj != 1.1)||(obj === 1.1)) { - $ERROR('#4: Object(expression) returns ToObject(expression)'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T13.js deleted file mode 100644 index 8ed2fcd8de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T13.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T13; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with boolean expression as argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T13", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T13.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with boolean expression as argument value", - -test: function testcase() { - var obj = Object((1===1)&&(!false)); - -//CHECK#1 -if (obj.constructor !== Boolean) { - $ERROR('#1: Object(expression) returns ToObject(expression)'); -} - -//CHECK#1.1 -if (typeof obj !== "object") { - $ERROR('#1.1: Object(expression) returns ToObject(expression)'); -} - -//CHECK#2 -if (!(obj)) { - $ERROR('#2: Object(expression) returns ToObject(expression)'); -} - -//CHECK#3 -if (obj===true) { - $ERROR('#3: Object(expression) returns ToObject(expression)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T14.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T14.js deleted file mode 100644 index a26ef16e70..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T14.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T14; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with sum of empty string and a number as argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T14", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T14.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with sum of empty string and a number as argument value", - -test: function testcase() { - var obj = Object(""+1); - -//CHECK#2 -if (obj.constructor !== String) { - $ERROR('#2: Object(expression) returns ToObject(expression)'); -} - -//CHECK#3 -if (typeof obj !== "object") { - $ERROR('#3: Object(expression) returns ToObject(expression)'); -} - -//CHECK#4 -if ((obj != "1")||(obj === "1")) { - $ERROR('#4: Object(expression) returns ToObject(expression)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T2.js deleted file mode 100644 index 4fa61b13d9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T2; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with number argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T2.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with number argument value", - -test: function testcase() { - var num = 1.1; - -// CHECK#1 -if(typeof num !== 'number'){ - $ERROR('#1: num = 1.1 should be Number primitive'); -} - -var obj = Object(num); - -//CHECK#2 -if (typeof obj !== "object") { - $ERROR('#2: Object(1.1) returns ToObject(1.1)'); -} - -//CHECK#3 -if (obj.constructor !== Number) { - $ERROR('#3: Object(1.1) returns ToObject(1.1)'); -} - -//CHECK#4 -if ((obj != 1.1)||(obj === 1.1)) { - $ERROR('#4: Object(1.1) returns ToObject(1.1)'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T3.js deleted file mode 100644 index 2a803126ed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T3; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with string argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T3.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with string argument value", - -test: function testcase() { - var str = 'Luke Skywalker'; - -// CHECK#1 -if (typeof str !== 'string') { - $ERROR('#1: "Luke Skywalker" should be a String primitive'); -} - -var obj = Object(str); - -//CHECK#2 -if (obj.constructor !== String) { - $ERROR('#2: Object("Luke Skywalker") returns ToObject("Luke Skywalker")'); -} - -//CHECK#3 -if (typeof obj !== "object") { - $ERROR('#3: Object("Luke Skywalker") returns ToObject("Luke Skywalker")'); -} - -//CHECK#4 -if ((obj != "Luke Skywalker")||(obj === "Luke Skywalker")) { - $ERROR('#4: Object("Luke Skywalker") returns ToObject("Luke Skywalker")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T4.js deleted file mode 100644 index 7242153c13..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T4; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with object argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T4", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T4.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with object argument value", - -test: function testcase() { - var obj = {flag:true}; - -//CHECK#1 -if (typeof(obj) !== 'object') { - $FAIL('#1: obj = {flag:true} should be an Object'); -} - -var n_obj = Object(obj); - -//CHECK#2 -if ((n_obj !== obj)||(!(n_obj['flag']))) { - $ERROR('#2: Object({flag:true}) returns ToObject({flag:true})'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T5.js deleted file mode 100644 index b6a901b8d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T5.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T5; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with NaN argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T5", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T5.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with NaN argument value", - -test: function testcase() { - var num = NaN; - -// CHECK#1 -if(typeof num !== 'number'){ - $ERROR('#1: num = NaN should have number type'); -} - -var obj = Object(num); - -//CHECK#2 -if (obj.constructor !== Number) { - $ERROR('#2: Object(NaN) returns ToObject(NaN)'); -} - -//CHECK#3 -if (typeof obj!=="object") { - $ERROR('#2: Object(NaN) returns ToObject(NaN)'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T6.js deleted file mode 100644 index 487b0c5349..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T6.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T6; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with Infinity argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T6", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T6.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with Infinity argument value", - -test: function testcase() { - var num = Infinity; - -// CHECK#1 -if(typeof num !== 'number'){ - $ERROR('#1: num = Infinity should be a Number primitive'); -} - -var obj = Object(num); - -//CHECK#2 -if (obj.constructor !== Number) { - $ERROR('#2: Object(Infinity) returns ToObject(Infinity)'); -} - -//CHECK#3 -if (typeof obj!=="object") { - $ERROR('#3: Object(Infinity) returns ToObject(Infinity)'); -} - -//CHECK#4 -if ((obj != Infinity)||(obj === Infinity)) { - $ERROR('#4: Object(Infinity) returns ToObject(Infinity)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T7.js deleted file mode 100644 index 00d4f9a079..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T7.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T7; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with empty string argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T7", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T7.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with empty string argument value", - -test: function testcase() { - var str = ''; - -// CHECK#1 -if (typeof(str) !== 'string') { - $FAIL('#1: "" is NOT a String'); -} - -var obj = Object(str); - -//CHECK#2 -if (obj.constructor !== String) { - $ERROR('#2: Object("") returns ToObject("")'); -} - -//CHECK#3 -if (typeof obj !== "object") { - $ERROR('#3: Object("") returns ToObject("")'); -} - -//CHECK#4 -if ((obj != "")||(obj === "")) { - $ERROR('#4: Object("") returns ToObject("")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T8.js deleted file mode 100644 index fe0a627d26..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T8.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T8; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with function variable argument value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T8", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T8.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with function variable argument value", - -test: function testcase() { - var func = function(){return 1;}; - -//CHECK#1 -if (typeof func !== 'function') { - $ERROR('#1: func = function(){return 1;} is NOT an function'); -} - -var n_obj = Object(func); - -//CHECK#2 -if ((n_obj !== func)||(n_obj()!==1)) { - $ERROR('#2: Object(function) returns function'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T9.js deleted file mode 100644 index 5d0a2dc166..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T9.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A2_T9; -* @section: 15.2.1.1; -* @assertion: When the Object function is called with one argument value, -* and the value neither is null nor undefined, and is supplied, return ToObject(value); -* @description: Calling Object function with function argument value. The function is declared; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A2_T9", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A2_T9.js", - -assertion: "When the Object function is called with one argument value,", - -description: "Calling Object function with function argument value. The function is declared", - -test: function testcase() { - //CHECK#1 -if (typeof func !== 'function') { - $ERROR('#1: func = function(){return 1;} is NOT an function'); -} - -var n_obj = Object(func); - -//CHECK#2 -if ((n_obj !== func)||(n_obj()!==1)) { - $ERROR('#2: Object(function) returns function'); -} - -function func(){return 1;}; - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js deleted file mode 100644 index 118fe73ea7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A3_T1; -* @section: 15.2.1.1; -* @assertion: Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed; -* @description: Creating an object with "Object(1,2,3)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A3_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js", - -assertion: "Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed", - -description: "Creating an object with \"Object(1,2,3)\"", - -test: function testcase() { - var obj = Object(1,2,3); - -//CHECK#1 -if (obj.constructor !== Number) { - $ERROR('#1: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#2 -if (typeof obj !== "object") { - $ERROR('#2: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#3 -if ((obj != 1)||(obj === 1)) { - $ERROR('3#: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T2.js deleted file mode 100644 index 80c40c4fc0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A3_T2; -* @section: 15.2.1.1; -* @assertion: Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed; -* @description: Creating an object with "Object(null,2,3)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A3_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T2.js", - -assertion: "Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed", - -description: "Creating an object with \"Object(null,2,3)\"", - -test: function testcase() { - var obj = Object(null,2,3); - -//CHECK#1 -if (obj.constructor !== Object) { - $ERROR('#1: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#2 -if (typeof obj !== "object") { - $ERROR('#2: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T3.js deleted file mode 100644 index 1e43434651..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.1.1_A3_T3; -* @section: 15.2.1.1; -* @assertion: Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed; -* @description: Creating an object with "Object((null,2,3),1,2)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.1.1_A3_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T3.js", - -assertion: "Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed", - -description: "Creating an object with \"Object((null,2,3),1,2)\"", - -test: function testcase() { - var obj = Object((null,2,3),1,2); - -//CHECK#1 -if (obj.constructor !== Number) { - $ERROR('#1: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#2 -if (typeof obj !== "object") { - $ERROR('#2: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#3 -if ((obj != 3)||(obj === 3)) { - $ERROR('3#: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T1.js deleted file mode 100644 index 0db4e922a8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A1_T1; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with no arguments the following steps are taken: -* (The argument value was not supplied or its type was Null or Undefined.) -* i) Create a new native ECMAScript object. -* ii) The [[Prototype]] property of the newly constructed object is set to the Object prototype object. -* iii) The [[Class]] property of the newly constructed object is set to "Object". -* iv) The newly constructed object has no [[Value]] property. -* v) Return the newly created native object; -* @description: Creating new Object() and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A1_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T1.js", - -assertion: "When the Object constructor is called with no arguments the following steps are taken:", - -description: "Creating new Object() and checking its properties", - -test: function testcase() { - var obj = new Object(); - -// CHECK#0 -if (obj === undefined) { - $ERROR('#0: new Object() return the newly created native object.'); -} - -// CHECK#1 -if (obj.constructor !== Object) { - $ERROR('#1: new Object() create a new native ECMAScript object'); -} - -// CHECK#2 -if (!(Object.prototype.isPrototypeOf(obj))) { - $ERROR('#2: when new Object() calls the [[Prototype]] property of the newly constructed object is set to the Object prototype object.'); -} - -// CHECK#3 -var to_string_result = '[object '+ 'Object' +']'; -if (obj.toString() !== to_string_result) { - $ERROR('#3: when new Object() calls the [[Class]] property of the newly constructed object is set to "Object".'); -} - -// CHECK#4 -if (obj.valueOf().toString() !== to_string_result.toString()) { - $ERROR('#4: when new Object() calls the newly constructed object has no [[Value]] property.'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T2.js deleted file mode 100644 index 51eb3c1daf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T2.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A1_T2; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with no arguments the following steps are taken: -* (The argument value was not supplied or its type was Null or Undefined.) -* i) Create a new native ECMAScript object. -* ii) The [[Prototype]] property of the newly constructed object is set to the Object prototype object. -* iii) The [[Class]] property of the newly constructed object is set to "Object". -* iv) The newly constructed object has no [[Value]] property. -* v) Return the newly created native object; -* @description: Creating new Object(void 0) and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A1_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T2.js", - -assertion: "When the Object constructor is called with no arguments the following steps are taken:", - -description: "Creating new Object(void 0) and checking its properties", - -test: function testcase() { - //var foo = void 0; -var obj = new Object(void 0); - -// CHECK#0 -if (obj === undefined) { - $ERROR('#0: new Object(undefined) return the newly created native object.'); -} - -// CHECK#1 -if (obj.constructor !== Object) { - $ERROR('#1: new Object(undefined) create a new native ECMAScript object'); -} - -// CHECK#2 -if (!(Object.prototype.isPrototypeOf(obj))) { - $ERROR('#2: when new Object(undefined) calls the [[Prototype]] property of the newly constructed object is set to the Object prototype object.'); -} - -// CHECK#3 -var to_string_result = '[object '+ 'Object' +']'; -if (obj.toString() !== to_string_result) { - $ERROR('#3: when new Object(undefined) calls the [[Class]] property of the newly constructed object is set to "Object".'); -} - -// CHECK#4 -if (obj.valueOf().toString() !== to_string_result.toString()) { - $ERROR('#4: when new Object(undefined) calls the newly constructed object has no [[Value]] property.'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T3.js deleted file mode 100644 index 579d4da366..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T3.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A1_T3; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with no arguments the following steps are taken: -* (The argument value was not supplied or its type was Null or Undefined.) -* i) Create a new native ECMAScript object. -* ii) The [[Prototype]] property of the newly constructed object is set to the Object prototype object. -* iii) The [[Class]] property of the newly constructed object is set to "Object". -* iv) The newly constructed object has no [[Value]] property. -* v) Return the newly created native object; -* @description: Creating new Object(null) and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A1_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T3.js", - -assertion: "When the Object constructor is called with no arguments the following steps are taken:", - -description: "Creating new Object(null) and checking its properties", - -test: function testcase() { - var obj = new Object(null); - -// CHECK#0 -if (obj === undefined) { - $ERROR('#0: new Object(null) return the newly created native object.'); -} - -// CHECK#1 -if (obj.constructor !== Object) { - $ERROR('#1: new Object(null) create a new native ECMAScript object'); -} - -// CHECK#2 -if (!(Object.prototype.isPrototypeOf(obj))) { - $ERROR('#2: when new Object(null) calls the [[Prototype]] property of the newly constructed object is set to the Object prototype object.'); -} - -// CHECK#3 -var to_string_result = '[object '+ 'Object' +']'; -if (obj.toString() !== to_string_result) { - $ERROR('#3: when new Object(null) calls the [[Class]] property of the newly constructed object is set to "Object".'); -} - -// CHECK#4 -if (obj.valueOf().toString() !== to_string_result.toString()) { - $ERROR('#4: when new Object(null) calls the newly constructed object has no [[Value]] property.'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T4.js deleted file mode 100644 index adbdec547c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T4.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A1_T4; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with no arguments the following steps are taken: -* (The argument value was not supplied or its type was Null or Undefined.) -* i) Create a new native ECMAScript object. -* ii) The [[Prototype]] property of the newly constructed object is set to the Object prototype object. -* iii) The [[Class]] property of the newly constructed object is set to "Object". -* iv) The newly constructed object has no [[Value]] property. -* v) Return the newly created native object; -* @description: Creating new Object(undefined) and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A1_T4", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T4.js", - -assertion: "When the Object constructor is called with no arguments the following steps are taken:", - -description: "Creating new Object(undefined) and checking its properties", - -test: function testcase() { - var obj = new Object(undefined); - -// CHECK#0 -if (obj === undefined) { - $ERROR('#0: new Object(undefined) return the newly created native object.'); -} - -// CHECK#1 -if (obj.constructor !== Object) { - $ERROR('#1: new Object(undefined) create a new native ECMAScript object'); -} - -// CHECK#2 -if (!(Object.prototype.isPrototypeOf(obj))) { - $ERROR('#2: when new Object(undefined) calls the [[Prototype]] property of the newly constructed object is set to the Object prototype object.'); -} - -// CHECK#3 -var to_string_result = '[object '+ 'Object' +']'; -if (obj.toString() !== to_string_result) { - $ERROR('#3: when new Object(undefined) calls the [[Class]] property of the newly constructed object is set to "Object".'); -} - -// CHECK#4 -if (obj.valueOf().toString() !== to_string_result.toString()) { - $ERROR('#4: when new Object(undefined) calls the newly constructed object has no [[Value]] property.'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T5.js deleted file mode 100644 index 24ce0f5671..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T5.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A1_T5; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with no arguments the following steps are taken: -* (The argument value was not supplied or its type was Null or Undefined.) -* i) Create a new native ECMAScript object. -* ii) The [[Prototype]] property of the newly constructed object is set to the Object prototype object. -* iii) The [[Class]] property of the newly constructed object is set to "Object". -* iv) The newly constructed object has no [[Value]] property. -* v) Return the newly created native object; -* @description: Creating new Object(x), where x is "undefined", and checking it properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A1_T5", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A1_T5.js", - -assertion: "When the Object constructor is called with no arguments the following steps are taken:", - -description: "Creating new Object(x), where x is \"undefined\", and checking it properties", - -test: function testcase() { - var obj = new Object(x); - -// CHECK#0 -if (obj === undefined) { - $ERROR('#0: new Object(undefined) return the newly created native object.'); -} - -// CHECK#1 -if (obj.constructor !== Object) { - $ERROR('#1: new Object(undefined) create a new native ECMAScript object'); -} - -// CHECK#2 -if (!(Object.prototype.isPrototypeOf(obj))) { - $ERROR('#2: when new Object(undefined) calls the [[Prototype]] property of the newly constructed object is set to the Object prototype object.'); -} - -// CHECK#3 -var to_string_result = '[object '+ 'Object' +']'; -if (obj.toString() !== to_string_result) { - $ERROR('#3: when new Object(undefined) calls the [[Class]] property of the newly constructed object is set to "Object".'); -} - -// CHECK#4 -if (obj.valueOf().toString() !== to_string_result.toString()) { - $ERROR('#4: when new Object(undefined) calls the newly constructed object has no [[Value]] property.'); -} - -var x; - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T1.js deleted file mode 100644 index 59d5cb810e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A2_T1; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with one argument value and -* the value is a native ECMAScript object, do not create a new object but simply return value; -* @description: The value is Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A2_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T1.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "The value is Object", - -test: function testcase() { - var obj = {prop:1}; - -var n_obj = new Object(obj); - -//CHECK#1 -if (n_obj !== obj) { - $ERROR('#1: When the Object constructor is called and if the value is an Object simply value returns.'); -} - -//CHECK#2 -if (n_obj['prop'] !== 1) { - $ERROR('#2: When the Object constructor is called and if the value is an Object simply value returns.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T2.js deleted file mode 100644 index 43d8794684..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A2_T2; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with one argument value and -* the value is a native ECMAScript object, do not create a new object but simply return value; -* @description: The value is a function variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A2_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T2.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "The value is a function variable", - -test: function testcase() { - var func = function(){return 1;}; - -var n_obj = new Object(func); - -//CHECK#1 -if (n_obj !== func) { - $ERROR('#1: When the Object constructor is called and if the value is an Object simply value returns'); -} - -//CHECK#2 -if (n_obj() !== 1) { - $ERROR('When the Object constructor is called and if the value is an Object simply value returns'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T3.js deleted file mode 100644 index b222335665..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A2_T3; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with one argument value and -* the value is a native ECMAScript object, do not create a new object but simply return value; -* @description: The value is an array; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A2_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T3.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "The value is an array", - -test: function testcase() { - var arr = [1,2,3]; - -var n_obj = new Object(arr); - -arr.push(4); - -//CHECK#1 -if (n_obj !== arr) { - $ERROR('#1: When the Object constructor is called and if the value is an Object simply value returns.'); -} - -//CHECK#2 -if (n_obj[3] !== 4) { - $ERROR('#2: When the Object constructor is called and if the value is an Object simply value returns.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T4.js deleted file mode 100644 index 9b5d17705b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T4.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A2_T4; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with one argument value and -* the value is a native ECMAScript object, do not create a new object but simply return value; -* @description: The value is "this"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A2_T4", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T4.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "The value is \"this\"", - -test: function testcase() { - var x=1; - -var obj = this; - -var n_obj = new Object(obj); - -//CHECK#1 -if (n_obj !== obj) { - $ERROR('#1: When the Object constructor is called and if the value is an Object simply value returns.'); -} - -//CHECK#2 -if (n_obj['x'] !== 1) { - $ERROR('#2: When the Object constructor is called and if the value is an Object simply value returns.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T5.js deleted file mode 100644 index b823a213fc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T5.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A2_T5; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with one argument value and -* the value is a native ECMAScript object, do not create a new object but simply return value; -* @description: The value is a Date object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A2_T5", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T5.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "The value is a Date object", - -test: function testcase() { - var obj = new Date(1978,3); - -var n_obj = new Object(obj); - -//CHECK#1 -if (n_obj !== obj) { - $ERROR('#1: When the Object constructor is called and if the value is an Object simply value returns.'); -} - -//CHECK#2 -if ((n_obj.getYear() !== 78)||(n_obj.getMonth() !== 3)) { - $ERROR('#2: When the Object constructor is called and if the value is an Object simply value returns.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T6.js deleted file mode 100644 index bb6e5ca191..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T6.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A2_T6; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with one argument value and -* the value is a native ECMAScript object, do not create a new object but simply return value; -* @description: The value is a declared function; -*/ - - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A2_T6", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T6.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "The value is a declared function", - -test: function testcase() { - var n_obj = new Object(func); - -//CHECK#1 -if (n_obj !== func) { - $ERROR('#1: When the Object constructor is called and if the value is an Object simply value returns'); -} - -//CHECK#2 -if (n_obj() !== 1) { - $ERROR('When the Object constructor is called and if the value is an Object simply value returns'); -} - -function func(){return 1;}; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T7.js deleted file mode 100644 index 8ae49ff9d1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T7.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A2_T7; -* @section: 15.2.2.1; -* @assertion: When the Object constructor is called with one argument value and -* the value is a native ECMAScript object, do not create a new object but simply return value; -* @description: The value is a function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A2_T7", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A2_T7.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "The value is a function declaration", - -test: function testcase() { - //CHECK#0 -if (typeof func !== 'undefined') { - $ERROR('#0: function expression can\'t be declarated'); -} - -var n_obj = new Object(function func(){return 1;}); - -//CHECK#1 -if (n_obj.constructor !== Function) { - $ERROR('#1: When the Object constructor is called and if the value is an Object simply value returns'); -} - -//CHECK#2 -if (n_obj() !== 1) { - $ERROR('#2: When the Object constructor is called and if the value is an Object simply value returns'); -} - -//CHECK#3 -if (typeof func !== 'undefined') { - $ERROR('#3: function expression can\'t be declarated'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T1.js deleted file mode 100644 index e91a0faed2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T1.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A3_T1; -* @section: 15.2.2.1, 8.6; -* @assertion: When the Object constructor is called with one argument value and -* the type of value is String, return ToObject(string); -* @description: Argument value is a nonempty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A3_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T1.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is a nonempty string", - -test: function testcase() { - var str = 'Obi-Wan Kenobi'; - -//CHECK#1 -if (typeof str !== 'string') { - $FAIL('#1: "Obi-Wan Kenobi" is NOT a String'); -} - - -var n_obj = new Object(str); - -//CHECK#2 -if (n_obj.constructor !== String) { - $ERROR('#2: When the Object constructor is called with String argument return ToObject(string)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with String argument return ToObject(string)'); -} - -//CHECK#4 -if ( n_obj != str) { - $ERROR('#4: When the Object constructor is called with String argument return ToObject(string)'); -} - -//CHECK#5 -if ( n_obj === str) { - $ERROR('#5: When the Object constructor is called with String argument return ToObject(string)'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T2.js deleted file mode 100644 index 318591bfea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A3_T2; -* @section: 15.2.2.1, 8.6; -* @assertion: When the Object constructor is called with one argument value and -* the type of value is String, return ToObject(string); -* @description: Argument value is an empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A3_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T2.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is an empty string", - -test: function testcase() { - var str = ''; - -//CHECK#1 -if (typeof str !== 'string') { - $FAIL('#1: "" is NOT a String'); -} - -var n_obj = new Object(str); - -//CHECK#2 -if (n_obj.constructor !== String) { - $ERROR('#2: When the Object constructor is called with String argument return ToObject(string)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with String argument return ToObject(string)'); -} - -//CHECK#4 -if ( n_obj != str) { - $ERROR('#4: When the Object constructor is called with String argument return ToObject(string)'); -} - -//CHECK#5 -if ( n_obj === str) { - $ERROR('#5: When the Object constructor is called with String argument return ToObject(string)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T3.js deleted file mode 100644 index d220246ce5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T3.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A3_T3; -* @section: 15.2.2.1, 8.6; -* @assertion: When the Object constructor is called with one argument value and -* the type of value is String, return ToObject(string); -* @description: Argument value is sum of empty string and number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A3_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A3_T3.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is sum of empty string and number", - -test: function testcase() { - var n_obj = new Object(""+1); - -//CHECK#2 -if (n_obj.constructor !== String) { - $ERROR('#2: When the Object constructor is called with String argument return ToObject(string)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with String argument return ToObject(string)'); -} - -//CHECK#4 -if ( n_obj != "1") { - $ERROR('#4: When the Object constructor is called with String argument return ToObject(string)'); -} - -//CHECK#5 -if ( n_obj === "1") { - $ERROR('#5: When the Object constructor is called with String argument return ToObject(string)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T1.js deleted file mode 100644 index 2174e28124..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A4_T1; -* @section: 15.2.2.1, 8.6; -* @assertion: When the Object constructor is called with one argument value and -* the type of value is Boolean, return ToObject(boolean); -* @description: Argument value is "true"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A4_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T1.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is \"true\"", - -test: function testcase() { - var bool = true; - -//CHECK#1 -if (typeof bool !== 'boolean') { - $FAIL('#1: true is NOT a boolean'); -} - -var n_obj = new Object(bool); - -//CHECK#2 -if (n_obj.constructor !== Boolean) { - $ERROR('#2: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - -//CHECK#4 -if ( n_obj != bool) { - $ERROR('#4: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - -//CHECK#5 -if ( n_obj === bool) { - $ERROR('#5: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T2.js deleted file mode 100644 index 2b12705d6b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A4_T2; -* @section: 15.2.2.1, 8.6; -* @assertion: When the Object constructor is called with one argument value and -* the type of value is Boolean, return ToObject(boolean); -* @description: Argument value is "false"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A4_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T2.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is \"false\"", - -test: function testcase() { - var bool = false; - -//CHECK#1 -if (typeof bool !== 'boolean') { - $FAIL('#1: false is NOT a boolean'); -} - -var n_obj = new Object(bool); - -//CHECK#2 -if (n_obj.constructor !== Boolean) { - $ERROR('#2: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - -//CHECK#4 -if ( n_obj != bool) { - $ERROR('#4: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - -//CHECK#5 -if ( n_obj === bool) { - $ERROR('#5: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T3.js deleted file mode 100644 index 37848e7fa5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T3.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A4_T3; -* @section: 15.2.2.1, 8.6; -* @assertion: When the Object constructor is called with one argument value and -* the type of value is Boolean, return ToObject(boolean); -* @description: Argument value is boolean expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A4_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A4_T3.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is boolean expression", - -test: function testcase() { - var n_obj = new Object((1===1)&&!(false)); - -//CHECK#2 -if (n_obj.constructor !== Boolean) { - $ERROR('#2: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - -//CHECK#4 -if ( n_obj != true) { - $ERROR('#4: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - -//CHECK#5 -if ( n_obj === true) { - $ERROR('#5: When the Object constructor is called with Boolean argument return ToObject(boolean)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T1.js deleted file mode 100644 index 4316ccd88a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A5_T1; -* @section: 15.2.2.1, 8.6; -* @assertion: When the Object constructor is called with one argument value and -* the type of value is Number, return ToObject(number); -* @description: Argument value is any number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A5_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T1.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is any number", - -test: function testcase() { - var num = 1.0; - -//CHECK#1 -if (typeof num !== 'number') { - $FAIL('#1: 1.0 is NOT a number'); -} - -var n_obj = new Object(num); - -//CHECK#2 -if (n_obj.constructor !== Number) { - $ERROR('#2: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#4 -if ( n_obj != num) { - $ERROR('#4: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#5 -if ( n_obj === num) { - $ERROR('#5: When the Object constructor is called with Number argument return ToObject(number)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T2.js deleted file mode 100644 index 54e593c5cb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A5_T2; -* @section: 15.2.2.1, 8.6; -* @assertion: When the Object constructor is called with one argument value and -* the type of value is Number, return ToObject(number); -* @description: Argument value is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A5_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T2.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is NaN", - -test: function testcase() { - var num = NaN; - -//CHECK#1 -if (typeof num !== 'number') { - $FAIL('#1: NaN is NOT a number'); -} - -var n_obj = new Object(num); - -//CHECK#2 -if (n_obj.constructor !== Number) { - $ERROR('#2: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with Number argument return ToObject(number)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T3.js deleted file mode 100644 index 0ab7a4a056..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A5_T3; -* @section: 15.2.2.1, 8.6; -* @assertion:When the Object constructor is called with one argument value and -* the type of value is Number, return ToObject(number); -* @description: Argument value is Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A5_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T3.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is Infinity", - -test: function testcase() { - var num = Infinity; - -//CHECK#1 -if (typeof num !== 'number') { - $FAIL('#1: Infinity is NOT a number'); -} - -var n_obj = new Object(num); - -//CHECK#2 -if (n_obj.constructor !== Number) { - $ERROR('#2: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#4 -if ( n_obj != num) { - $ERROR('#4: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#5 -if ( n_obj === num) { - $ERROR('#5: When the Object constructor is called with Number argument return ToObject(number)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T4.js deleted file mode 100644 index 119c666bd3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T4.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A5_T4; -* @section: 15.2.2.1, 8.6; -* @assertion: When the Object constructor is called with one argument value and -* the type of value is Number, return ToObject(number); -* @description: Argument value is numeric expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A5_T4", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A5_T4.js", - -assertion: "When the Object constructor is called with one argument value and", - -description: "Argument value is numeric expression", - -test: function testcase() { - var n_obj = new Object( 2*([].length + {q:1}["q"])); - -//CHECK#2 -if (n_obj.constructor !== Number) { - $ERROR('#2: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#3 -if (typeof n_obj !== 'object') { - $ERROR('#3: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#4 -if ( n_obj != 2) { - $ERROR('#4: When the Object constructor is called with Number argument return ToObject(number)'); -} - -//CHECK#5 -if ( n_obj === 2) { - $ERROR('#5: When the Object constructor is called with Number argument return ToObject(number)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T1.js deleted file mode 100644 index 2d0a0ab976..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A6_T1; -* @section: 15.2.2.1; -* @assertion: Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed; -* @description: Creating an object with "new Object(1,2,3)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A6_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T1.js", - -assertion: "Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed", - -description: "Creating an object with \"new Object(1,2,3)\"", - -test: function testcase() { - var obj = new Object(1,2,3); - -//CHECK#1 -if (obj.constructor !== Number) { - $ERROR('#1: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#2 -if (typeof obj !== "object") { - $ERROR('#2: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#3 -if ((obj != 1)||(obj === 1)) { - $ERROR('3#: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js deleted file mode 100644 index ebc007676d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A6_T2; -* @section: 15.2.2.1; -* @assertion: Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed; -* @description: Creating an object with "new Object(null,2,3)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A6_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js", - -assertion: "Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed", - -description: "Creating an object with \"new Object(null,2,3)\"", - -test: function testcase() { - var obj = new Object(null,2,3); - -//CHECK#1 -if (obj.constructor !== Object) { - $ERROR('#1: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#2 -if (typeof obj !== "object") { - $ERROR('#2: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T3.js deleted file mode 100644 index 1af6ecf7f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.2.1_A6_T3; -* @section: 15.2.2.1; -* @assertion: Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed; -* @description: Creating an object with "new Object((null,2,3),2,3)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.2.1_A6_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T3.js", - -assertion: "Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed", - -description: "Creating an object with \"new Object((null,2,3),2,3)\"", - -test: function testcase() { - var obj = new Object((null,2,3),1,2); - -//CHECK#1 -if (obj.constructor !== Number) { - $ERROR('#1: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#2 -if (typeof obj !== "object") { - $ERROR('#2: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - -//CHECK#3 -if ((obj != 3)||(obj === 3)) { - $ERROR('3#: Since Object as a function calling is the same as function calling list of arguments can appears in braces;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A1.js deleted file mode 100644 index eafddf0268..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.3.1_A1; -* @section: 15.2.3.1, 15.2.4; -* @assertion: The Object.prototype property has the attribute ReadOnly; -* @description: Checking if varying "Object.prototype" property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.3.1_A1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A1.js", - -assertion: "The Object.prototype property has the attribute ReadOnly", - -description: "Checking if varying \"Object.prototype\" property fails", - -test: function testcase() { - var obj = Object.prototype; -Object.prototype = function(){return "shifted";}; - -//CHECK#1 -if (Object.prototype !== obj) { - $ERROR('#1: the Object.prototype property has the attributes ReadOnly.'); -} - -//CHECK#2 -try { - Object.prototype(); - $ERROR('#2: the Object.prototype property has the attributes ReadOnly'); -} catch (e) { - ; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A2.js deleted file mode 100644 index e5252ea672..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.3.1_A2; -* @section: 15.2.3.1, 15.2.4; -* @assertion: The Object.prototype property has the attribute DontEnum; -* @description: Checking if enumerating "Object.prototype" property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.3.1_A2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A2.js", - -assertion: "The Object.prototype property has the attribute DontEnum", - -description: "Checking if enumerating \"Object.prototype\" property fails", - -test: function testcase() { - // CHECK#1 -if (Object.propertyIsEnumerable('prototype')) { - $ERROR('#1: the Object.prototype property has the attributes DontEnum'); -} - -// CHECK#2 -var cout=0; - -for (p in Object){ - if (p==="prototype") cout++; -} - -if (cout !== 0) { - $ERROR('#2: the Object.prototype property has the attributes DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A3.js deleted file mode 100644 index 261123dc86..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A3.js +++ /dev/null @@ -1,34 +0,0 @@ - // Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.3.1_A3; -* @section: 15.2.3.1, 15.2.4; -* @assertion: The Object.prototype property has the attribute DontDelete; -* @description: Checking if deleting "Object.prototype" property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.3.1_A3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/15.2.3.1_Object.prototype/S15.2.3.1_A3.js", - -assertion: "The Object.prototype property has the attribute DontDelete", - -description: "Checking if deleting \"Object.prototype\" property fails", - -test: function testcase() { - delete Object.prototype; - -//CHECK#2 -if (!(Object.hasOwnProperty('prototype'))) { - $ERROR('#2: the Object.prototype property has the attributes DontDelete.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A1.js deleted file mode 100644 index eaee875f08..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A1.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.2.3_A1; - * @section: 15.2.3; - * @assertion: The Object constructor has the property "prototype"; - * @description: Checking existence of the property "prototype"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.3_A1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A1.js", - -assertion: "The Object constructor has the property \"prototype\"", - -description: "Checking existence of the property \"prototype\"", - -test: function testcase() { - if(!Object.hasOwnProperty("prototype")){ - $ERROR('#1: The Object constructor has the property "prototype"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A2.js deleted file mode 100644 index 4a88316127..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.3_A2; -* @section: 15.2.3, 15.2.4; -* @assertion: The value of the internal [[Prototype]] property of the Object constructor -* is the Function prototype object; -* @description: Checking Function.prototype.isPrototypeOf(Object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.3_A2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A2.js", - -assertion: "The value of the internal [[Prototype]] property of the Object constructor", - -description: "Checking Function.prototype.isPrototypeOf(Object)", - -test: function testcase() { - // CHECK# -if (!(Function.prototype.isPrototypeOf(Object))) { - $ERROR('#1: the value of the internal [[Prototype]] property of the Object constructor is the Function prototype object.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A3.js deleted file mode 100644 index 7ffa6eae91..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.3_A3; -* @section: 15.2.3, 15.2.4; -* @assertion: Object constructor has length property whose value is 1; -* @description: Checking Object.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.3_A3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A3.js", - -assertion: "Object constructor has length property whose value is 1", - -description: "Checking Object.length", - -test: function testcase() { - //CHECK#1 -if(!Object.hasOwnProperty("length")){ - $ERROR('#1: The Object constructor has the property "length"'); -} - -//CHECK#2 -if (Object.length !== 1) { - $ERROR('#2: Object.length property value should be 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A1.js deleted file mode 100644 index 69a907192b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A1; -* @section: 15.2.4.2; -* @assertion: When the toString method is called, the following steps are taken: -* i) Get the [[Class]] property of this object -* ii) Compute a string value by concatenating the three strings "[object ", Result(1), and "]" -* iii) Return Result(2); -* @description: Checking the type of Object.prototype.toString and the returned result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A1.js", - -assertion: "When the toString method is called, the following steps are taken:", - -description: "Checking the type of Object.prototype.toString and the returned result", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.toString !== "function") { - $ERROR('#1: toString method defined'); -} - -//CHECK#2 -if (Object.prototype.toString() !=="[object "+"Object"+"]") { - $ERROR('#2: return a string value by concatenating the three strings "[object ", the [[Class]] property of this object, and "]"'); -} - -//CHECK#3 -if ({}.toString()!=="[object "+"Object"+"]") { - $ERROR('#3: return a string value by concatenating the three strings "[object ", the [[Class]] property of this object, and "]"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A10.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A10.js deleted file mode 100644 index 4a1d5d0b95..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A10.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A10; -* @section: 15.2.4.2; -* @assertion: The Object.prototype.toString.length property has the attribute ReadOnly; -* @description: Checking if varying the Object.prototype.toString.length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A10", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A10.js", - -assertion: "The Object.prototype.toString.length property has the attribute ReadOnly", - -description: "Checking if varying the Object.prototype.toString.length property fails", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.toString.hasOwnProperty('length'))) { - $FAIL('#1: the Object.prototype.toString has length property.'); -} - -var obj = Object.prototype.toString.length; - -Object.prototype.toString.length = function(){return "shifted";}; - -//CHECK#2 -if (Object.prototype.toString.length !== obj) { - $ERROR('#2: the Object.prototype.toString length property has the attributes ReadOnly.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A11.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A11.js deleted file mode 100644 index d441209918..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A11.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A11; -* @section: 15.2.4.2; -* @assertion: The length property of the toString method is 0; -* @description: Checking the Object.prototype.toString.length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A11", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A11.js", - -assertion: "The length property of the toString method is 0", - -description: "Checking the Object.prototype.toString.length property", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.toString.hasOwnProperty("length"))) { - $ERROR('#1: The length property of the toString method is 0'); -} - -//CHECK#2 -if (Object.prototype.toString.length !== 0) { - $ERROR('#2: The length property of the toString method is 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js deleted file mode 100644 index a1c9b486a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A12; -* @section: 15.2.4.2; -* @assertion: If the this value is undefined, return "[object Undefined]". -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A12", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js", - -assertion: "If the this value is undefined, return \"[object Undefined]\".", - -description: "", - -test: function testcase() { - if (Object.prototype.toString.call(undefined) !== "[object Undefined]") { - $ERROR('If the this value is undefined, return "[object Undefined]".'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A13.js deleted file mode 100644 index 54fd431228..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A13.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A13; -* @section: 15.2.4.2; -* @assertion: If the this value is null, return "[object Null]". -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A13", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A13.js", - -assertion: "If the this value is null, return \"[object Null]\".", - -description: "", - -test: function testcase() { - if (Object.prototype.toString.call(null) !== "[object Null]") { - $ERROR('If the this value is null, return "[object Null]".'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A14.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A14.js deleted file mode 100644 index 3738abe4d2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A14.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A14; -* @section: 15.2.4.2; -* @assertion: Let O be the result of calling ToObject passing the this value as the argument. -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A14", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A14.js", - -assertion: "Let O be the result of calling ToObject passing the this value as the argument.", - -description: "", - -test: function testcase() { - if (Object.prototype.toString.call(33) !== "[object Number]") { - $ERROR('Let O be the result of calling ToObject passing the this ' + - 'value as the argument.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A15.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A15.js deleted file mode 100644 index f4eebbb366..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A15.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A15; -* @section: 15.2.4.2; -* @assertion: Let O be the result of calling ToObject passing the this value as the argument. -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A15", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A15.js", - -assertion: "Let O be the result of calling ToObject passing the this value as the argument.", - -description: "", - -test: function testcase() { - if (Object.prototype.toString.call(true) !== "[object Boolean]") { - $ERROR('Let O be the result of calling ToObject passing the this ' + - 'value as the argument.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A16.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A16.js deleted file mode 100644 index 5d7dc95a84..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A16.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A16; -* @section: 15.2.4.2; -* @assertion: Let O be the result of calling ToObject passing the this value as the argument. -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A16", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A16.js", - -assertion: "Let O be the result of calling ToObject passing the this value as the argument.", - -description: "", - -test: function testcase() { - if (Object.prototype.toString.call('foo') !== "[object String]") { - $ERROR('Let O be the result of calling ToObject passing the this ' + - 'value as the argument.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A6.js deleted file mode 100644 index b0fe74b3d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A6; -* @section: 15.2.4.2, 13.2; -* @assertion: Object.prototype.toString has not prototype property; -* @description: Checking if obtaining the prototype property of Object.prototype.toString fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A6", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A6.js", - -assertion: "Object.prototype.toString has not prototype property", - -description: "Checking if obtaining the prototype property of Object.prototype.toString fails", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.toString.prototype !== undefined) { - $ERROR('#1: Object.prototype.toString has not prototype property'+Object.prototype.toString.prototype); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A7.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A7.js deleted file mode 100644 index f198da789d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A7; -* @section: 15.2.4.2, 13.2; -* @assertion: Object.prototype.toString can't be used as a constructor; -* @description: Checking if creating "new Object.prototype.toString" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A7", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A7.js", - -assertion: "Object.prototype.toString can\'t be used as a constructor", - -description: "Checking if creating \"new Object.prototype.toString\" fails", - -test: function testcase() { - var FACTORY = Object.prototype.toString; - -try { - instance = new FACTORY; - $FAIL('#1: Object.prototype.toString can\'t be used as a constructor'); -} catch (e) { - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A8.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A8.js deleted file mode 100644 index b8947df693..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A8.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A8; -* @section: 15.2.4.2; -* @assertion: The Object.prototype.toString.length property has the attribute DontEnum; -* @description: Checking if enumerating the Object.prototype.toString.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A8", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A8.js", - -assertion: "The Object.prototype.toString.length property has the attribute DontEnum", - -description: "Checking if enumerating the Object.prototype.toString.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.toString.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.toString has length property.'); -} - - -// CHECK#1 -if (Object.prototype.toString.propertyIsEnumerable('length')) { - $ERROR('#1: the Object.prototype.toString.length property has the attributes DontEnum'); -} - -// CHECK#2 -for (var p in Object.prototype.toString){ - if (p==="length") - $ERROR('#2: the Object.prototype.toString.length property has the attributes DontEnum'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A9.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A9.js deleted file mode 100644 index db5bcd4389..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A9.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A9; -* @section: 15.2.4.2; -* @assertion: The Object.prototype.toString.length property has the attribute DontDelete; -* @description: Checknig if deleting of the Object.prototype.toString.length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.2_A9", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A9.js", - -assertion: "The Object.prototype.toString.length property has the attribute DontDelete", - -description: "Checknig if deleting of the Object.prototype.toString.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.toString.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.toString has length property'); -} - -//CHECK#1 -if (delete Object.prototype.toString.length) { - $ERROR('#1: The Object.prototype.toString.length property has the attributes DontDelete'); -} - -//CHECK#2 -if (!(Object.prototype.toString.hasOwnProperty('length'))) { - $FAIL('#2: The Object.prototype.toString.length property has the attributes DontDelete'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A1.js deleted file mode 100644 index a001620d3a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.3_A1; -* @section: 15.2.4.3; -* @assertion: toLocaleString function returns the result of calling toString(); -* @description: Checking the type of Object.prototype.toLocaleString and the returned result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.3_A1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A1.js", - -assertion: "toLocaleString function returns the result of calling toString()", - -description: "Checking the type of Object.prototype.toLocaleString and the returned result", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.toLocaleString !== "function") { - $ERROR('#1: toLocaleString method defined'); -} - -//CHECK#2 -if (Object.prototype.toLocaleString() !== Object.prototype.toString()) { - $ERROR('#1: toLocaleString function returns the result of calling toString()'); -} - -//CHECK#2 -if ({}.toLocaleString()!=={}.toString()) { - $ERROR('#2: toLocaleString function returns the result of calling toString()'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A10.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A10.js deleted file mode 100644 index 2103ca969a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.3_A10; -* @section: 15.2.4.3; -* @assertion: The Object.prototype.toLocaleString.length property has the attribute ReadOnly; -* @description: Checking if varying the Object.prototype.toLocaleString.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.3_A10", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A10.js", - -assertion: "The Object.prototype.toLocaleString.length property has the attribute ReadOnly", - -description: "Checking if varying the Object.prototype.toLocaleString.length property fails", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.toLocaleString.hasOwnProperty('length'))) { - $FAIL('#1: the Object.prototype.toLocaleString has length property.'); -} - -var obj = Object.prototype.toLocaleString.length; - -Object.prototype.toLocaleString.length = function(){return "shifted";}; - -//CHECK#2 -if (Object.prototype.toLocaleString.length !== obj) { - $ERROR('#2: the Object.prototype.toLocaleString length property has the attributes ReadOnly.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A11.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A11.js deleted file mode 100644 index fdef022209..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A11.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.3_A11; -* @section: 15.2.4.3; -* @assertion: The length property of the toLocaleString method is 0; -* @description: Checking the Object.prototype.toLocaleString.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.3_A11", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A11.js", - -assertion: "The length property of the toLocaleString method is 0", - -description: "Checking the Object.prototype.toLocaleString.length", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.toLocaleString.hasOwnProperty("length"))) { - $ERROR('#1: The length property of the toLocaleString method is 0'); -} - -//CHECK#2 -if (Object.prototype.toLocaleString.length !== 0) { - $ERROR('#2: The length property of the toLocaleString method is 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A12.js deleted file mode 100644 index db1a7c9bd2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A12.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.toLocaleString.call(undefined); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A13.js deleted file mode 100644 index a3e3aab95c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A13.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.toLocaleString.call(null); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A6.js deleted file mode 100644 index 246bf56461..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.3_A6; -* @section: 15.2.4.3, 13.2; -* @assertion: Object.prototype.toLocaleString has not prototype property; -* @description: Checking if obtaining the prototype property of Object.prototype.toLocaleString fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.3_A6", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A6.js", - -assertion: "Object.prototype.toLocaleString has not prototype property", - -description: "Checking if obtaining the prototype property of Object.prototype.toLocaleString fails", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.toLocaleString.prototype !== undefined) { - $ERROR('#1: Object.prototype.toLocaleString has not prototype property'+Object.prototype.toLocaleString.prototype); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A7.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A7.js deleted file mode 100644 index b2ba8b748b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.3_A7; -* @section: 15.2.4.3, 13.2; -* @assertion: Object.prototype.toLocaleString can't be used as a constructor; -* @description: Checking if creating "new Object.prototype.toLocaleString" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.3_A7", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A7.js", - -assertion: "Object.prototype.toLocaleString can\'t be used as a constructor", - -description: "Checking if creating \"new Object.prototype.toLocaleString\" fails", - -test: function testcase() { - var FACTORY = Object.prototype.toLocaleString; - -try { - instance = new FACTORY; - $FAIL('#1: Object.prototype.toLocaleString can\'t be used as a constructor'); -} catch (e) { - $PRINT(e); - -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A8.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A8.js deleted file mode 100644 index bc1ba917f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A8.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.3_A8; -* @section: 15.2.4.3; -* @assertion: The Object.prototype.toLocaleString.length property has the attribute DontEnum; -* @description: Checking if enumerating the Object.prototype.toLocaleString.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.3_A8", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A8.js", - -assertion: "The Object.prototype.toLocaleString.length property has the attribute DontEnum", - -description: "Checking if enumerating the Object.prototype.toLocaleString.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.toLocaleString.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.toLocaleString has length property.'); -} - - -// CHECK#1 -if (Object.prototype.toLocaleString.propertyIsEnumerable('length')) { - $ERROR('#1: the Object.prototype.toLocaleString.length property has the attributes DontEnum'); -} - -// CHECK#2 -for (p in Object.prototype.toLocaleString){ - if (p==="length") - $ERROR('#2: the Object.prototype.toLocaleString.length property has the attributes DontEnum'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A9.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A9.js deleted file mode 100644 index 3d452ced18..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A9.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.3_A9; -* @section: 15.2.4.3; -* @assertion: The Object.prototype.toLocaleString.length property has the attribute DontDelete; -* @description: Checknig if deleting of the Object.prototype.toLocaleString.length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.3_A9", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A9.js", - -assertion: "The Object.prototype.toLocaleString.length property has the attribute DontDelete", - -description: "Checknig if deleting of the Object.prototype.toLocaleString.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.toLocaleString.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.toLocaleString has length property'); -} - -//CHECK#1 -if (delete Object.prototype.toLocaleString.length) { - $ERROR('#1: The Object.prototype.toLocaleString.length property has the attributes DontDelete'); -} - -//CHECK#2 -if (!(Object.prototype.toLocaleString.hasOwnProperty('length'))) { - $FAIL('#2: The Object.prototype.toLocaleString.length property has the attributes DontDelete'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A10.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A10.js deleted file mode 100644 index 6abff9548d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A10; -* @section: 15.2.4.4; -* @assertion: The Object.prototype.valueOf.length property has the attribute ReadOnly; -* @description: Checking if varying the Object.prototype.valueOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A10", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A10.js", - -assertion: "The Object.prototype.valueOf.length property has the attribute ReadOnly", - -description: "Checking if varying the Object.prototype.valueOf.length property fails", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.valueOf.hasOwnProperty('length'))) { - $FAIL('#1: the Object.prototype.valueOf has length property.'); -} - -var obj = Object.prototype.valueOf.length; - -Object.prototype.valueOf.length = function(){return "shifted";}; - -//CHECK#2 -if (Object.prototype.valueOf.length !== obj) { - $ERROR('#2: the Object.prototype.valueOf length property has the attributes ReadOnly.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A11.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A11.js deleted file mode 100644 index c0ca12fa0a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A11.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A11; -* @section: 15.2.4.4; -* @assertion: The length property of the valueOf method is 0; -* @description: Checking the Object.prototype.valueOf.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A11", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A11.js", - -assertion: "The length property of the valueOf method is 0", - -description: "Checking the Object.prototype.valueOf.length", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.valueOf.hasOwnProperty("length"))) { - $ERROR('#1: The length property of the toObject method is 0'); -} - -//CHECK#2 -if (Object.prototype.valueOf.length !== 0) { - $ERROR('#2: The length property of the toObject method is 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A12.js deleted file mode 100644 index 31b7e6f453..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A12.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.valueOf.call(undefined); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A13.js deleted file mode 100644 index 3ebf3fe4c4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A13.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.valueOf.call(null); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A14.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A14.js deleted file mode 100644 index be6ab1d8ed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A14.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - (1,Object.prototype.valueOf)(); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T1.js deleted file mode 100644 index 625c4f0964..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A1_T1; -* @section: 15.2.4.4; -* @assertion: The valueOf method returns its "this" value; -* @description: "this" value is a number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A1_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T1.js", - -assertion: "The valueOf method returns its \"this\" value", - -description: "\"this\" value is a number", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.valueOf !== "function") { - $ERROR('#1: valueOf method defined'); -} - -var obj=new Object(1.1); - -//CHECK#2 -if (typeof obj.valueOf !== "function") { - $ERROR('#2: valueOf method accessed'); -} - -//CHECK#3 -if (obj.valueOf()!==1.1) { - $ERROR('#3: The valueOf method returns its this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T2.js deleted file mode 100644 index fc20580a10..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A1_T2; -* @section: 15.2.4.4; -* @assertion: The valueOf method returns its "this" value; -* @description: "this" value is a boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A1_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T2.js", - -assertion: "The valueOf method returns its \"this\" value", - -description: "\"this\" value is a boolean", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.valueOf !== "function") { - $ERROR('#1: valueOf method defined'); -} - -var obj=new Object(true); - -//CHECK#2 -if (typeof obj.valueOf !== "function") { - $ERROR('#2: valueOf method accessed'); -} - -//CHECK#3 -if (obj.valueOf()!==true) { - $ERROR('#3: The valueOf method returns its this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T3.js deleted file mode 100644 index 85c80ab97d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A1_T3; -* @section: 15.2.4.4; -* @assertion: The valueOf method returns its "this" value; -* @description: "this" value is a string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A1_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T3.js", - -assertion: "The valueOf method returns its \"this\" value", - -description: "\"this\" value is a string", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.valueOf !== "function") { - $ERROR('#1: valueOf method defined'); -} - -var obj=new Object("greenfield"); - -//CHECK#2 -if (typeof obj.valueOf !== "function") { - $ERROR('#2: valueOf method accessed'); -} - -//CHECK#3 -if (obj.valueOf()!=="greenfield") { - $ERROR('#3: The valueOf method returns its this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js deleted file mode 100644 index af909af219..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A1_T4; -* @section: 15.2.4.4; -* @assertion: The valueOf method returns its "this" value; -* @description: "this" value is an object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A1_T4", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js", - -assertion: "The valueOf method returns its \"this\" value", - -description: "\"this\" value is an object", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.valueOf !== "function") { - $ERROR('#1: valueOf method defined'); -} - -var obj=new Object; - -//CHECK#2 -if (typeof obj.valueOf !== "function") { - $ERROR('#2: valueOf method accessed'); -} - -//CHECK#3 -if (obj.valueOf()!==obj) { - $ERROR('#3: The valueOf method returns its this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T5.js deleted file mode 100644 index 353bb4769a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A1_T5; -* @section: 15.2.4.4; -* @assertion: The valueOf method returns its "this" value; -* @description: "this" value is "null"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A1_T5", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T5.js", - -assertion: "The valueOf method returns its \"this\" value", - -description: "\"this\" value is \"null\"", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.valueOf !== "function") { - $ERROR('#1: valueOf method defined'); -} - -var obj=new Object(null); - -//CHECK#2 -if (typeof obj.valueOf !== "function") { - $ERROR('#2: valueOf method accessed'); -} - -//CHECK#3 -if (obj.valueOf()!==obj) { - $ERROR('#3: The valueOf method returns its this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js deleted file mode 100644 index 297436b4e8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A1_T6; -* @section: 15.2.4.4; -* @assertion: The valueOf method returns its "this" value; -* @description: "this" value is "undefined"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A1_T6", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js", - -assertion: "The valueOf method returns its \"this\" value", - -description: "\"this\" value is \"undefined\"", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.valueOf !== "function") { - $ERROR('#1: valueOf method defined'); -} - -var obj=new Object(undefined); - -//CHECK#2 -if (typeof obj.valueOf !== "function") { - $ERROR('#2: valueOf method accessed'); -} - -//CHECK#3 -if (obj.valueOf()!==obj) { - $ERROR('#3: The valueOf method returns its this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T7.js deleted file mode 100644 index 6b9228cceb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T7.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A1_T7; -* @section: 15.2.4.4; -* @assertion: The valueOf method returns its "this" value; -* @description: "this" value is "void 0"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A1_T7", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T7.js", - -assertion: "The valueOf method returns its \"this\" value", - -description: "\"this\" value is \"void 0\"", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.valueOf !== "function") { - $ERROR('#1: valueOf method defined'); -} - -var obj=new Object(void 0); - -//CHECK#2 -if (typeof obj.valueOf !== "function") { - $ERROR('#2: valueOf method accessed'); -} - -//CHECK#3 -if (obj.valueOf()!==obj) { - $ERROR('#3: The valueOf method returns its this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A6.js deleted file mode 100644 index 3518fb8e31..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A6; -* @section: 15.2.4.4, 13.2; -* @assertion: Object.prototype.valueOf has not prototype property; -* @description: Checking if obtaining the prototype property of Object.prototype.valueOf fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A6", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A6.js", - -assertion: "Object.prototype.valueOf has not prototype property", - -description: "Checking if obtaining the prototype property of Object.prototype.valueOf fails", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.valueOf.prototype !== undefined) { - $ERROR('#1: Object.prototype.valueOf has not prototype property'+Object.prototype.valueOf.prototype); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A7.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A7.js deleted file mode 100644 index 5718aab1fe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A7; -* @section: 15.2.4.4, 13.2; -* @assertion: Object.prototype.valueOf can't be used as a constructor; -* @description: Checking if creating "new Object.prototype.valueOf" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A7", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A7.js", - -assertion: "Object.prototype.valueOf can\'t be used as a constructor", - -description: "Checking if creating \"new Object.prototype.valueOf\" fails", - -test: function testcase() { - var FACTORY = Object.prototype.valueOf; - -try { - instance = new FACTORY; - $FAIL('#1: Object.prototype.valueOf can\'t be used as a constructor'); -} catch (e) { - $PRINT(e); - -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A8.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A8.js deleted file mode 100644 index d5b6caf9f5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A8.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A8; -* @section: 15.2.4.4; -* @assertion: The Object.prototype.valueOf.length property has the attribute DontEnum; -* @description: Checking if enumerating the Object.prototype.valueOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A8", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A8.js", - -assertion: "The Object.prototype.valueOf.length property has the attribute DontEnum", - -description: "Checking if enumerating the Object.prototype.valueOf.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.valueOf.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.valueOf has length property.'); -} - - -// CHECK#1 -if (Object.prototype.valueOf.propertyIsEnumerable('length')) { - $ERROR('#1: the Object.prototype.valueOf.length property has the attributes DontEnum'); -} - -// CHECK#2 -for (p in Object.prototype.valueOf){ - if (p==="length") - $ERROR('#2: the Object.prototype.valueOf.length property has the attributes DontEnum'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A9.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A9.js deleted file mode 100644 index a5f6e64d82..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A9.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.4_A9; -* @section: 15.2.4.4; -* @assertion: The Object.prototype.valueOf.length property has the attribute DontDelete; -* @description: Checknig if deleting of the Object.prototype.valueOf.length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.4_A9", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A9.js", - -assertion: "The Object.prototype.valueOf.length property has the attribute DontDelete", - -description: "Checknig if deleting of the Object.prototype.valueOf.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.valueOf.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.valueOf has length property'); -} - -//CHECK#1 -if (delete Object.prototype.valueOf.length) { - $ERROR('#1: The Object.prototype.valueOf.length property has the attributes DontDelete'); -} - -//CHECK#2 -if (!(Object.prototype.valueOf.hasOwnProperty('length'))) { - $FAIL('#2: The Object.prototype.valueOf.length property has the attributes DontDelete'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A10.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A10.js deleted file mode 100644 index ac48472417..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.5_A10; -* @section: 15.2.4.5; -* @assertion: The Object.prototype.hasOwnProperty.length property has the attribute ReadOnly; -* @description: Checking if varying the Object.prototype.hasOwnProperty.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.5_A10", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A10.js", - -assertion: "The Object.prototype.hasOwnProperty.length property has the attribute ReadOnly", - -description: "Checking if varying the Object.prototype.hasOwnProperty.length property fails", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.hasOwnProperty.hasOwnProperty('length'))) { - $FAIL('#1: the Object.prototype.hasOwnProperty has length property.'); -} - -var obj = Object.prototype.hasOwnProperty.length; - -Object.prototype.hasOwnProperty.length = function(){return "shifted";}; - -//CHECK#2 -if (Object.prototype.hasOwnProperty.length !== obj) { - $ERROR('#2: the Object.prototype.hasOwnProperty length property has the attributes ReadOnly.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A11.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A11.js deleted file mode 100644 index 37c68a9185..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A11.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.5_A11; -* @section: 15.2.4.5; -* @assertion: The length property of the hasOwnProperty method is 1; -* @description: Checking the Object.prototype.hasOwnProperty.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.5_A11", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A11.js", - -assertion: "The length property of the hasOwnProperty method is 1", - -description: "Checking the Object.prototype.hasOwnProperty.length", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.hasOwnProperty.hasOwnProperty("length"))) { - $ERROR('#1: The length property of the toObject method is 1'); -} - -//CHECK#2 -if (Object.prototype.hasOwnProperty.length !== 1) { - $ERROR('#2: The length property of the toObject method is 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js deleted file mode 100644 index 7dfc97eb2e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.hasOwnProperty.call(undefined, 'foo'); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A13.js deleted file mode 100644 index b1af5b1c3a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A13.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.hasOwnProperty.call(null, 'foo'); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T1.js deleted file mode 100644 index 4a4215f542..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.5_A1_T1; -* @section: 15.2.4.5; -* @assertion: When the hasOwnProperty method is called with argument V, the following steps are taken: -* i) Let O be this object -* ii) Call ToString(V) -* iii) If O doesn't have a property with the name given by Result(ii), return false -* iv) Return true; -* @description: Checking type of the Object.prototype.hasOwnProperty and the returned result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.5_A1_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T1.js", - -assertion: "When the hasOwnProperty method is called with argument V, the following steps are taken:", - -description: "Checking type of the Object.prototype.hasOwnProperty and the returned result", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.hasOwnProperty !== "function") { - $ERROR('#1: hasOwnProperty method is defined'); -} - -//CHECK#2 -if (!(Object.prototype.hasOwnProperty("hasOwnProperty"))) { - $ERROR('#2: hasOwnProperty method works properly'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T2.js deleted file mode 100644 index 4d4c30a910..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T2.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.5_A1_T2; -* @section: 15.2.4.5; -* @assertion: When the hasOwnProperty method is called with argument V, the following steps are taken: -* i) Let O be this object -* ii) Call ToString(V) -* iii) If O doesn't have a property with the name given by Result(ii), return false -* iv) Return true; -* @description: Argument of the hasOwnProperty method is a custom boolean property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.5_A1_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T2.js", - -assertion: "When the hasOwnProperty method is called with argument V, the following steps are taken:", - -description: "Argument of the hasOwnProperty method is a custom boolean property", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.hasOwnProperty !== "function") { - $ERROR('#1: hasOwnProperty method is defined'); -} - -var obj = {the_property:true}; - -//CHECK#2 -if (typeof obj.hasOwnProperty !== "function") { - $ERROR('#2: hasOwnProperty method is accessed'); -} - -//CHECK#3 -if (obj.hasOwnProperty("hasOwnProperty")) { - $ERROR('#3: hasOwnProperty method works properly'); -} - -//CHECK#4 -if (!(obj.hasOwnProperty("the_property"))) { - $ERROR('#4: hasOwnProperty method works properly'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T3.js deleted file mode 100644 index ca68e27547..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.5_A1_T3; -* @section: 15.2.4.5; -* @assertion: When the hasOwnProperty method is called with argument V, the following steps are taken: -* i) Let O be this object -* ii) Call ToString(V) -* iii) If O doesn't have a property with the name given by Result(ii), return false -* iv) Return true; -* @description: Argument of the hasOwnProperty method is a custom property of a function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.5_A1_T3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A1_T3.js", - -assertion: "When the hasOwnProperty method is called with argument V, the following steps are taken:", - -description: "Argument of the hasOwnProperty method is a custom property of a function object", - -test: function testcase() { - var FACTORY = function(){ - this.aproperty = 1; -}; - -var instance = new FACTORY; - -//CHECK#1 -if (typeof Object.prototype.hasOwnProperty !== "function") { - $ERROR('#1: hasOwnProperty method is defined'); -} - -//CHECK#2 -if (typeof instance.hasOwnProperty !== "function") { - $ERROR('#2: hasOwnProperty method is accessed'); -} - -//CHECK#3 -if (instance.hasOwnProperty("toString")) { - $ERROR('#3: hasOwnProperty method works properly'); -} - -//CHECK#4 -if (!(instance.hasOwnProperty("aproperty"))) { - $ERROR('#4: hasOwnProperty method works properly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A6.js deleted file mode 100644 index a286468ae8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.5_A6; -* @section: 15.2.4.5, 13.2; -* @assertion: Object.prototype.hasOwnProperty has not prototype property; -* @description: Checking if obtaining the prototype property of Object.prototype.hasOwnProperty fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.5_A6", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A6.js", - -assertion: "Object.prototype.hasOwnProperty has not prototype property", - -description: "Checking if obtaining the prototype property of Object.prototype.hasOwnProperty fails", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.hasOwnProperty.prototype !== undefined) { - $ERROR('#1: Object.prototype.hasOwnProperty has not prototype property'+Object.prototype.hasOwnProperty.prototype); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A7.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A7.js deleted file mode 100644 index 2b4f927dd1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.5_A7; -* @section: 15.2.4.5, 13.2; -* @assertion: Object.prototype.hasOwnProperty can't be used as a constructor; -* @description: Checking if creating "new Object.prototype.hasOwnProperty" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.5_A7", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A7.js", - -assertion: "Object.prototype.hasOwnProperty can\'t be used as a constructor", - -description: "Checking if creating \"new Object.prototype.hasOwnProperty\" fails", - -test: function testcase() { - var FACTORY = Object.prototype.hasOwnProperty; - -try { - instance = new FACTORY; - $FAIL('#1: Object.prototype.hasOwnProperty can\'t be used as a constructor'); -} catch (e) { - $PRINT(e); - -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A8.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A8.js deleted file mode 100644 index 7dd7bfbf52..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A8.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.5_A8; -* @section: 15.2.4.5; -* @assertion: The Object.prototype.hasOwnProperty.length property has the attribute DontEnum; -* @description: Checking if enumerating the Object.prototype.hasOwnProperty.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.5_A8", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A8.js", - -assertion: "The Object.prototype.hasOwnProperty.length property has the attribute DontEnum", - -description: "Checking if enumerating the Object.prototype.hasOwnProperty.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.hasOwnProperty.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.hasOwnProperty has length property.'); -} - - -// CHECK#1 -if (Object.prototype.hasOwnProperty.propertyIsEnumerable('length')) { - $ERROR('#1: the Object.prototype.hasOwnProperty.length property has the attributes DontEnum'); -} - -// CHECK#2 -for (p in Object.prototype.hasOwnProperty){ - if (p==="length") - $ERROR('#2: the Object.prototype.hasOwnProperty.length property has the attributes DontEnum'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A9.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A9.js deleted file mode 100644 index b2ab7076e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A9.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.5_A9; -* @section: 15.2.4.5; -* @assertion: The Object.prototype.hasOwnProperty.length property has the attribute DontDelete; -* @description: Checking if deleting the Object.prototype.hasOwnProperty.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.5_A9", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A9.js", - -assertion: "The Object.prototype.hasOwnProperty.length property has the attribute DontDelete", - -description: "Checking if deleting the Object.prototype.hasOwnProperty.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.hasOwnProperty.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.hasOwnProperty has length property'); -} - -//CHECK#1 -if (delete Object.prototype.hasOwnProperty.length) { - $ERROR('#1: The Object.prototype.hasOwnProperty.length property has the attributes DontDelete'); -} - -//CHECK#2 -if (!(Object.prototype.hasOwnProperty.hasOwnProperty('length'))) { - $FAIL('#2: The Object.prototype.hasOwnProperty.length property has the attributes DontDelete'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A1.js deleted file mode 100644 index 46e41ff2aa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A1.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.2.4.6_A1; - * @section: 15.2.4.6; - * @assertion: When the isPrototypeOf method is called with argument V and when O and - * V refer to the same object or to objects joined to each other, return true; - * @description: Creating two objects with the same prototype; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.6_A1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A1.js", - -assertion: "When the isPrototypeOf method is called with argument V and when O and", - -description: "Creating two objects with the same prototype", - -test: function testcase() { - function USER_FACTORY( name ) { - this.name = name; - this.getName=function(){return name;}; -} - - -function FORCEDUSER_FACTORY( name, grade ) { - this.name = name; - this.grade = grade; - this.getGrade=function(){return grade;}; -} - -var proto = new USER_FACTORY("noname"); - -FORCEDUSER_FACTORY.prototype = proto; - -var luke = new FORCEDUSER_FACTORY("Luke Skywalker", 12); -////// -// CHECK#1 -if(proto.isPrototypeOf(luke)){ - $PRINT('#1: Native ECMAScript objects have an internal property called [[Prototype]].'); -} else { - $ERROR('#1: native ECMAScript objects have an internal property called [[Prototype]].'); -} -// -///////// -////// -// CHECK#2 -if(USER_FACTORY.prototype.isPrototypeOf(luke)){ - $PRINT('#2: Native ECMAScript objects have an internal property called [[Prototype]].'); -} else { - $ERROR('#2: native ECMAScript objects have an internal property called [[Prototype]].'); -} -// -///////// -////// -// CHECK#3 -if(Number.isPrototypeOf(luke)){ - $ERROR('#2: Native ECMAScript objects have an internal property called [[Prototype]].'); -} -// -///////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A10.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A10.js deleted file mode 100644 index 09b5a9c9f3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A10.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.6_A10; -* @section: 15.2.4.6; -* @assertion: The Object.prototype.isPrototypeOf.length property has the attribute ReadOnly; -* @description: Checking if varying the Object.prototype.isPrototypeOf.length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.6_A10", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A10.js", - -assertion: "The Object.prototype.isPrototypeOf.length property has the attribute ReadOnly", - -description: "Checking if varying the Object.prototype.isPrototypeOf.length property fails", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.isPrototypeOf.hasOwnProperty('length'))) { - $FAIL('#1: the Object.prototype.isPrototypeOf has length property'); -} - -var obj = Object.prototype.isPrototypeOf.length; - -Object.prototype.isPrototypeOf.length = function(){return "shifted";}; - -//CHECK#2 -if (Object.prototype.isPrototypeOf.length !== obj) { - $ERROR('#2: the Object.prototype.isPrototypeOf length property has the attributes ReadOnly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A11.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A11.js deleted file mode 100644 index 033c8a9de7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A11.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.6_A11; -* @section: 15.2.4.6; -* @assertion: The length property of the hasOwnProperty method is 1; -* @description: Checking the Object.prototype.hasOwnProperty.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.6_A11", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A11.js", - -assertion: "The length property of the hasOwnProperty method is 1", - -description: "Checking the Object.prototype.hasOwnProperty.length", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.isPrototypeOf.hasOwnProperty("length"))) { - $ERROR('#1: the Object.prototype.isPrototypeOf has length property'); -} - -//CHECK#2 -if (Object.prototype.isPrototypeOf.length !== 1) { - $ERROR('#2: The length property of the toObject method is 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A12.js deleted file mode 100644 index fa01e6a7fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A12.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.isPrototypeOf.call(undefined, {}); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A13.js deleted file mode 100644 index cd0d6e959d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A13.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.isPrototypeOf.call(null, {}); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A6.js deleted file mode 100644 index 67588cab58..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.6_A6; -* @section: 15.2.4.6, 13.2; -* @assertion: Object.prototype.isPrototypeOf has not prototype property; -* @description: Checking if obtaining the prototype property of Object.prototype.isPrototypeOf fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.6_A6", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A6.js", - -assertion: "Object.prototype.isPrototypeOf has not prototype property", - -description: "Checking if obtaining the prototype property of Object.prototype.isPrototypeOf fails", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.isPrototypeOf.prototype !== undefined) { - $ERROR('#1: Object.prototype.isPrototypeOf has not prototype property'+Object.prototype.isPrototypeOf.prototype); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A7.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A7.js deleted file mode 100644 index 989b90137e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.6_A7; -* @section: 15.2.4.6, 13.2; -* @assertion: Object.prototype.isPrototypeOf can't be used as a constructor; -* @description: Checking if creating new "Object.prototype.isPrototypeOf" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.6_A7", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A7.js", - -assertion: "Object.prototype.isPrototypeOf can\'t be used as a constructor", - -description: "Checking if creating new \"Object.prototype.isPrototypeOf\" fails", - -test: function testcase() { - var FACTORY = Object.prototype.isPrototypeOf; - -try { - instance = new FACTORY; - $FAIL('#1: Object.prototype.isPrototypeOf can\'t be used as a constructor'); -} catch (e) { - $PRINT(e); - -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A8.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A8.js deleted file mode 100644 index 4d5c7efbe4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A8.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.6_A8; -* @section: 15.2.4.6; -* @assertion: The Object.prototype.isPrototypeOf.length property has the attribute DontEnum; -* @description: Checknig if enumerating the Object.prototype.isPrototypeOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.6_A8", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A8.js", - -assertion: "The Object.prototype.isPrototypeOf.length property has the attribute DontEnum", - -description: "Checknig if enumerating the Object.prototype.isPrototypeOf.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.isPrototypeOf.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.isPrototypeOf has length property'); -} - - -// CHECK#1 -if (Object.prototype.isPrototypeOf.propertyIsEnumerable('length')) { - $ERROR('#1: the Object.prototype.isPrototypeOf.length property has the attributes DontEnum'); -} - -// CHECK#2 -for (p in Object.prototype.isPrototypeOf){ - if (p==="length") - $ERROR('#2: the Object.prototype.isPrototypeOf.length property has the attributes DontEnum'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A9.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A9.js deleted file mode 100644 index bef600db43..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A9.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.6_A9; -* @section: 15.2.4.6; -* @assertion: The Object.prototype.isPrototypeOf.length property has the attribute DontDelete; -* @description: Checking deleting the Object.prototype.isPrototypeOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.6_A9", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A9.js", - -assertion: "The Object.prototype.isPrototypeOf.length property has the attribute DontDelete", - -description: "Checking deleting the Object.prototype.isPrototypeOf.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.isPrototypeOf.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.isPrototypeOf has length property'); -} - -//CHECK#1 -if (delete Object.prototype.isPrototypeOf.length) { - $ERROR('#1: The Object.prototype.isPrototypeOf.length property has the attributes DontDelete'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A10.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A10.js deleted file mode 100644 index 5890872d83..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A10.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.7_A10; -* @section: 15.2.4.7; -* @assertion: The Object.prototype.propertyIsEnumerable.length property has the attribute ReadOnly; -* @description: Checking if varying the Object.prototype.propertyIsEnumerable.length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.7_A10", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A10.js", - -assertion: "The Object.prototype.propertyIsEnumerable.length property has the attribute ReadOnly", - -description: "Checking if varying the Object.prototype.propertyIsEnumerable.length property fails", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.propertyIsEnumerable.hasOwnProperty('length'))) { - $FAIL('#1: the Object.prototype.propertyIsEnumerable has length property'); -} - -var obj = Object.prototype.propertyIsEnumerable.length; - -Object.prototype.propertyIsEnumerable.length = function(){return "shifted";}; - -//CHECK#2 -if (Object.prototype.propertyIsEnumerable.length !== obj) { - $ERROR('#2: the Object.prototype.propertyIsEnumerable length property has the attributes ReadOnly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A11.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A11.js deleted file mode 100644 index 00acfe6852..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A11.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.7_A11; -* @section: 15.2.4.7; -* @assertion: The length property of the hasOwnProperty method is 1; -* @description: Checking the value of Object.prototype.hasOwnProperty.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.7_A11", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A11.js", - -assertion: "The length property of the hasOwnProperty method is 1", - -description: "Checking the value of Object.prototype.hasOwnProperty.length", - -test: function testcase() { - //CHECK#1 -if (!(Object.prototype.propertyIsEnumerable.hasOwnProperty("length"))) { - $ERROR('#1: the Object.prototype.propertyIsEnumerable has length property'); -} - -//CHECK#2 -if (Object.prototype.propertyIsEnumerable.length !== 1) { - $ERROR('#2: The length property of the toObject method is 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A12.js deleted file mode 100644 index e12ebf9fae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A12.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.propertyIsEnumerable.call(undefined, 'foo'); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A13.js deleted file mode 100644 index 4d54b36b21..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A13.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Object.prototype.propertyIsEnumerable.call(null, 'foo'); - - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js deleted file mode 100644 index 26038948b5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.7_A1_T1; -* @section: 15.2.4.7; -* @assertion: The propertyIsEnumerable method does not consider objects in the prototype chain; -* @description: Calling the propertyIsEnumerable method for object in the prototype chain; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.7_A1_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js", - -assertion: "The propertyIsEnumerable method does not consider objects in the prototype chain", - -description: "Calling the propertyIsEnumerable method for object in the prototype chain", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.propertyIsEnumerable !== "function") { - $ERROR('#1: propertyIsEnumerable method is defined'); -} - -var proto={rootprop:"avis"}; - -function AVISFACTORY(name){this.name=name}; - -AVISFACTORY.prototype = proto; - -var seagull= new AVISFACTORY("seagull"); - -//CHECK#2 -if (typeof seagull.propertyIsEnumerable !== "function") { - $ERROR('#2: propertyIsEnumerable method is accessed'); -} - -//CHECK#3 -if (!(seagull.propertyIsEnumerable("name"))) { - $ERROR('#3: propertyIsEnumerable method works properly'); -} - -//CHECK#4 -if (seagull.propertyIsEnumerable("rootprop")) { - $ERROR('#4: propertyIsEnumerable method does not consider objects in the prototype chain'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T1.js deleted file mode 100644 index ef01c146ac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.7_A2_T1; -* @section: 15.2.4.7; -* @assertion: When the propertyIsEnumerable method is called with argument V, the following steps are taken: -* i) Let O be this object -* ii) Call ToString(V) -* iii) If O doesn't have a property with the name given by Result(ii), return false -* iv) If the property has the DontEnum attribute, return false -* v) Return true; -* @description: Checking the type of Object.prototype.propertyIsEnumerable and the returned result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.7_A2_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T1.js", - -assertion: "When the propertyIsEnumerable method is called with argument V, the following steps are taken:", - -description: "Checking the type of Object.prototype.propertyIsEnumerable and the returned result", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.propertyIsEnumerable !== "function") { - $ERROR('#1: hasOwnProperty method is defined'); -} - -//CHECK#2 -if (Object.prototype.propertyIsEnumerable("propertyIsEnumerable")) { - $ERROR('#2: hasOwnProperty method works properly'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T2.js deleted file mode 100644 index 54b3761b11..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T2.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.7_A2_T2; -* @section: 15.2.4.7; -* @assertion: When the propertyIsEnumerable method is called with argument V, the following steps are taken: -* i) Let O be this object -* ii) Call ToString(V) -* iii) If O doesn't have a property with the name given by Result(ii), return false -* iv) If the property has the DontEnum attribute, return false -* v) Return true; -* @description: Argument of the propertyIsEnumerable method is a custom boolean property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.7_A2_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A2_T2.js", - -assertion: "When the propertyIsEnumerable method is called with argument V, the following steps are taken:", - -description: "Argument of the propertyIsEnumerable method is a custom boolean property", - -test: function testcase() { - //CHECK#1 -if (typeof Object.prototype.propertyIsEnumerable !== "function") { - $ERROR('#1: propertyIsEnumerable method is defined'); -} - -var obj = {the_property:true}; - -//CHECK#2 -if (typeof obj.propertyIsEnumerable !== "function") { - $ERROR('#2: propertyIsEnumerable method is accessed'); -} - -//CHECK#3 -if (!(obj.propertyIsEnumerable("the_property"))) { - $ERROR('#3: propertyIsEnumerable method works properly'); -} - -//CHECK#4 -var accum=""; -for(var prop in obj) { - accum+=prop; -} -if (accum.indexOf("the_property")!==0) { - $ERROR('#4: enumerating works properly'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A6.js deleted file mode 100644 index 574a32f538..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.7_A6; -* @section: 15.2.4.7, 13.2; -* @assertion: Object.prototype.propertyIsEnumerable has not prototype property; -* @description: Checking if obtaining the prototype property of Object.prototype.propertyIsEnumerable fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.7_A6", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A6.js", - -assertion: "Object.prototype.propertyIsEnumerable has not prototype property", - -description: "Checking if obtaining the prototype property of Object.prototype.propertyIsEnumerable fails", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.propertyIsEnumerable.prototype !== undefined) { - $ERROR('#1: Object.prototype.propertyIsEnumerable has not prototype property'+Object.prototype.propertyIsEnumerable.prototype); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A7.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A7.js deleted file mode 100644 index bbdb254f8b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.7_A7; -* @section: 15.2.4.7, 13.2; -* @assertion: Object.prototype.propertyIsEnumerable can't be used as a constructor; -* @description: Checking if creating "new Object.prototype.propertyIsEnumerable" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.7_A7", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A7.js", - -assertion: "Object.prototype.propertyIsEnumerable can\'t be used as a constructor", - -description: "Checking if creating \"new Object.prototype.propertyIsEnumerable\" fails", - -test: function testcase() { - var FACTORY = Object.prototype.propertyIsEnumerable; - -try { - instance = new FACTORY; - $FAIL('#1: Object.prototype.propertyIsEnumerable can\'t be used as a constructor'); -} catch (e) { - $PRINT(e); - -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A8.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A8.js deleted file mode 100644 index fbbb4fc653..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A8.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.7_A8; -* @section: 15.2.4.7; -* @assertion: The Object.prototype.propertyIsEnumerable.length property has the attribute DontEnum; -* @description: Checking if enumerating the Object.prototype.propertyIsEnumerable.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.7_A8", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A8.js", - -assertion: "The Object.prototype.propertyIsEnumerable.length property has the attribute DontEnum", - -description: "Checking if enumerating the Object.prototype.propertyIsEnumerable.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.propertyIsEnumerable.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.propertyIsEnumerable has length property'); -} - - -// CHECK#1 -if (Object.prototype.propertyIsEnumerable.propertyIsEnumerable('length')) { - $ERROR('#1: the Object.prototype.propertyIsEnumerable.length property has the attributes DontEnum'); -} - -// CHECK#2 -for (p in Object.prototype.propertyIsEnumerable){ - if (p==="length") - $ERROR('#2: the Object.prototype.propertyIsEnumerable.length property has the attributes DontEnum'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A9.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A9.js deleted file mode 100644 index 67b921d617..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A9.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.7_A9; -* @section: 15.2.4.7; -* @assertion: The Object.prototype.propertyIsEnumerable.length property has the attribute DontDelete; -* @description: Checking if deleting the Object.prototype.propertyIsEnumerable.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.7_A9", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A9.js", - -assertion: "The Object.prototype.propertyIsEnumerable.length property has the attribute DontDelete", - -description: "Checking if deleting the Object.prototype.propertyIsEnumerable.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Object.prototype.propertyIsEnumerable.hasOwnProperty('length'))) { - $FAIL('#0: the Object.prototype.propertyIsEnumerable has length property'); -} - -//CHECK#1 -if (delete Object.prototype.propertyIsEnumerable.length) { - $ERROR('#1: The Object.prototype.propertyIsEnumerable.length property has the attributes DontDelete'); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T1.js deleted file mode 100644 index cb306d3ddc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.1_A1_T1; -* @section: 15.2.4.1; -* @assertion: The initial value of Object.prototype.constructor is the built-in Object constructor; -* @description: Checking the Object.prototype.constructor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.1_A1_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T1.js", - -assertion: "The initial value of Object.prototype.constructor is the built-in Object constructor", - -description: "Checking the Object.prototype.constructor", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.constructor !== Object) { - $ERROR('#1: The initial value of Object.prototype.constructor is the built-in Object constructor'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T2.js deleted file mode 100644 index 42e884923b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.1_A1_T2; -* @section: 15.2.4.1; -* @assertion: The initial value of Object.prototype.constructor is the built-in Object constructor; -* @description: Creating "new Object.prototype.constructor" and checking its properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4.1_A1_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4.1_A1_T2.js", - -assertion: "The initial value of Object.prototype.constructor is the built-in Object constructor", - -description: "Creating \"new Object.prototype.constructor\" and checking its properties", - -test: function testcase() { - var constr = Object.prototype.constructor; - -var obj = new constr; - -// CHECK#0 -if (obj === undefined) { - $ERROR('#0: new Object() return the newly created native object.'); -} - -// CHECK#1 -if (obj.constructor !== Object) { - $ERROR('#1: new Object() create a new native ECMAScript object'); -} - -// CHECK#2 -if (!(Object.prototype.isPrototypeOf(obj))) { - $ERROR('#2: when new Object() calls the [[Prototype]] property of the newly constructed object is set to the Object prototype object.'); -} - -// CHECK#3 -var to_string_result = '[object '+ 'Object' +']'; -if (obj.toString() !== to_string_result) { - $ERROR('#3: when new Object() calls the [[Class]] property of the newly constructed object is set to "Object".'); -} - -// CHECK#4 -if (obj.valueOf().toString() !== to_string_result) { - $ERROR('#4: when new Object() calls the newly constructed object has no [[Value]] property.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T1.js deleted file mode 100644 index e7b31d9862..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.2.4_A1_T1; - * @section: 15.2.4, 8.6.2; - * @assertion: Object prototype object has not prototype; - * @description: Checking if obtaining Object.prototype.prototype fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4_A1_T1", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T1.js", - -assertion: "Object prototype object has not prototype", - -description: "Checking if obtaining Object.prototype.prototype fails", - -test: function testcase() { - // CHECK#1 -if (Object.prototype.prototype !== undefined) { - $ERROR('#1: Object prototype has not prototype'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T2.js deleted file mode 100644 index cdc45a0e3d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.2.4_A1_T2; - * @section: 15.2.4, 8.6.2; - * @assertion: Object prototype object has not prototype; - * @description: Since the Object prototype object has not prototype, deleted toString method can not be found in prototype chain; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4_A1_T2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A1_T2.js", - -assertion: "Object prototype object has not prototype", - -description: "Since the Object prototype object has not prototype, deleted toString method can not be found in prototype chain", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.toString() == false) { - $ERROR('#1: Object prototype object has not prototype'); -} - -delete Object.prototype.toString; - -// CHECK#2 -try { - Object.prototype.toString(); - $ERROR('#2: Object prototype object has not prototype'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.1: delete Object.prototype.toString; Object.prototype.toString() throw a TypeError. Actual: ' + (e)); - } -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A2.js deleted file mode 100644 index 9d409dae09..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4_A2; -* @section: 15.2.4; -* @assertion: The value of the internal [[Class]] property of Object prototype object is "Object"; -* @description: Getting the value of the internal [[Class]] property with Object.prototype.toString() function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4_A2", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A2.js", - -assertion: "The value of the internal [[Class]] property of Object prototype object is \"Object\"", - -description: "Getting the value of the internal [[Class]] property with Object.prototype.toString() function", - -test: function testcase() { - var tostr = Object.prototype.toString(); - -//CHECK#1 -if (tostr !== "[object Object]") { - $ERROR('#1: the value of the internal [[Class]] property of Object prototype object is "Object"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A3.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A3.js deleted file mode 100644 index 3f341924d4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4_A3; -* @section: 15.2.4; -* @assertion: Since the Object prototype object is not a function, it has not [[call]] method; -* @description: Checking if calling Object prototype as a function fails; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4_A3", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A3.js", - -assertion: "Since the Object prototype object is not a function, it has not [[call]] method", - -description: "Checking if calling Object prototype as a function fails", - -test: function testcase() { - //CHECK#1 -try { - Object.prototype(); - $FAIL('#1: Since Object prototype object is not function it has not [[call]] method'); -} catch (e) { - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A4.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A4.js deleted file mode 100644 index dcd3f3f29c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4_A4; -* @section: 15.2.4; -* @assertion: Since the Object prototype object is not a function, it has not [[create]] method; -* @description: Checking if creating "new Object.prototype" fails; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2.4_A4", - -path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/S15.2.4_A4.js", - -assertion: "Since the Object prototype object is not a function, it has not [[create]] method", - -description: "Checking if creating \"new Object.prototype\" fails", - -test: function testcase() { - //CHECK#1 -try { - instance = new Object.prototype; - $FAIL('#1: Since Object prototype object is not function it has not [[create]] method'); -} catch (e) { - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/S15.2_A1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/S15.2_A1.js deleted file mode 100644 index 1354d8699d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/S15.2_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2_A1; -* @section: 15.2; -* @assertion: Object is the property of global; -* @description: Checking if Object equals to this.Object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.2_A1", - -path: "TestCases/15_Native/15.2_Object_Objects/S15.2_A1.js", - -assertion: "Object is the property of global", - -description: "Checking if Object equals to this.Object", - -test: function testcase() { - var obj=Object; - -var thisobj=this.Object; - -if(obj!==thisobj){ - $ERROR('Object is the property of global'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T1.js deleted file mode 100644 index e16c99aa3f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T1; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: The body of the function is "{toString:function(){throw 7;}}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T1.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "The body of the function is \"{toString:function(){throw 7;}}\"", - -test: function testcase() { - var body = {toString:function(){throw 7;}} - -//CHECK#1 -try { - var f = new Function(body); - $FAIL('#1: When the Function constructor is called with one argument then body be that argument the following step are taken: call ToString(body)'); -} catch (e) { - if (e !== 7) { - $ERROR('#1.1: When the Function constructor is called with one argument then body be that argument the following step are taken: call ToString(body)'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T10.js deleted file mode 100644 index 85f30b352e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T10.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T10; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is "null"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T10", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T10.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is \"null\"", - -test: function testcase() { - //CHECK#1 -try { - var f = new Function(null); -} catch (e) { - $FAIL('#1: test fails with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f() !== undefined) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T11.js deleted file mode 100644 index 89fbb27e94..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T11.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T11; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is "undefined"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T11", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T11.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is \"undefined\"", - -test: function testcase() { - //CHECK#1 -try { - var f = new Function(undefined); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f() !== undefined) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T12.js deleted file mode 100644 index 6b6131de4b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T12.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T12; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is "void 0"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T12", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T12.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is \"void 0\"", - -test: function testcase() { - //CHECK#1 -try { - var f = new Function(void 0); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==undefined) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T13.js deleted file mode 100644 index 76cc454bb0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T13.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T13; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is "{}"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T13", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T13.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is \"{}\"", - -test: function testcase() { - //CHECK#1 -try { - var f = new Function({}); - $FAIL('#1: test failed with error '+e); -} catch (e) { - if (!(e instanceof SyntaxError)) { - $ERROR('#1.1: If body is not parsable as FunctionBody then throw a SyntaxError exception'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T2.js deleted file mode 100644 index fabb96f78f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T2; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: The body of the function is "{toString:function(){return "return 1;";}}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T2.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "The body of the function is \"{toString:function(){return \"return 1;\";}}\"", - -test: function testcase() { - var body={toString:function(){return "return 1;";}}; - -//CHECK#1 -try { - var f = new Function(body); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==1) { - $ERROR('#3: hen the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T3.js deleted file mode 100644 index 5b3d30e972..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T3.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T3; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is 1; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T3.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is 1", - -test: function testcase() { - //CHECK#1 -try { - var f = new Function(1); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==undefined) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T4.js deleted file mode 100644 index 65f44f11f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T4.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T4; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is x, where x is specified with "undefined"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T4.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is x, where x is specified with \"undefined\"", - -test: function testcase() { - //CHECK#1 -try { - var f = new Function(x); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==undefined) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T5.js deleted file mode 100644 index 3f48f38e2b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T5.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T5; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is "Object("return \'A\'")"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T5.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is \"Object(\"return \\\'A\\\'\")\"", - -test: function testcase() { - var body = Object("return \'A\'"); - -//CHECK#1 -try { - var f = new Function(body); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!=="\u0041") { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T6.js deleted file mode 100644 index a4f34fa94e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T6.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T6; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is the string "return true;"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T6.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is the string \"return true;\"", - -test: function testcase() { - //CHECK#1 -try { - var f = new Function("return true;"); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (!(f())) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T7.js deleted file mode 100644 index ce456ca3f6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T7.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T7; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is "Object(1)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T7.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is \"Object(1)\"", - -test: function testcase() { - var body = new Object(1); - -//CHECK#1 -try { - var f = new Function(body); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==undefined) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T8.js deleted file mode 100644 index d7773ff47f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T8.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T8; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is "var 1=1;"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T8.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is \"var 1=1;\"", - -test: function testcase() { - var body = "var 1=1;"; - -//CHECK#1 -try { - var f = new Function(body); - $FAIL('#1: If body is not parsable as FunctionBody then throw a SyntaxError exception'); -} catch (e) { - if (!(e instanceof SyntaxError)) { - $ERROR('#1.1: If body is not parsable as FunctionBody then throw a SyntaxError exception'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T9.js deleted file mode 100644 index 207bc06c4b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T9.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A1_T9; -* @section: 15.3.2.1; -* @assertion: When the Function constructor is called with one argument then body be that argument and the following steps are taken: -* i) Call ToString(body) -* ii) If P is not parsable as a FormalParameterListopt then throw a SyntaxError exception -* iii) If body is not parsable as FunctionBody then throw a SyntaxError exception -* iv) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody. -* Pass in a scope chain consisting of the global object as the Scope parameter -* v) Return Result(iv); -* @description: Value of the function constructor argument is "return arguments[0];"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A1_T9", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A1_T9.js", - -assertion: "When the Function constructor is called with one argument then body be that argument and the following steps are taken:", - -description: "Value of the function constructor argument is \"return arguments[0];\"", - -test: function testcase() { - var f = new Function("return arguments[0];"); - -//CHECK#1 -if (!(f instanceof Function)) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument and the following steps are taken...'); -} - -//CHECK#2 -if (f("A") !== "A") { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T1.js deleted file mode 100644 index 112f6604fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A2_T1; -* @section: 15.3.2.1; -* @assertion: It is permissible but not necessary to have one argument for each formal parameter to be specified; -* @description: Values of the function constructor arguments are "arg1", "arg2", "arg3", "return arg1+arg2+arg3;"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A2_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T1.js", - -assertion: "It is permissible but not necessary to have one argument for each formal parameter to be specified", - -description: "Values of the function constructor arguments are \"arg1\", \"arg2\", \"arg3\", \"return arg1+arg2+arg3;\"", - -test: function testcase() { - //CHECK#1 -try { - var f = Function("arg1", "arg2", "arg3", "return arg1+arg2+arg3;"); -} catch (e) { - $FAIL('#1: test failed'); -} - -//CHECK#2 -if (!(f instanceof Function)){ - $ERROR('#2: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - -//CHECK#3 -if (f(1,2,3) !== 6) { - $ERROR('#3: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T2.js deleted file mode 100644 index 6512cc6b86..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A2_T2; -* @section: 15.3.2.1; -* @assertion: It is permissible but not necessary to have one argument for each formal parameter to be specified; -* @description: Values of the function constructor arguments are "arg1, arg2", "arg3", "return arg1+arg2+arg3;"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A2_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T2.js", - -assertion: "It is permissible but not necessary to have one argument for each formal parameter to be specified", - -description: "Values of the function constructor arguments are \"arg1, arg2\", \"arg3\", \"return arg1+arg2+arg3;\"", - -test: function testcase() { - //CHECK#1 -try { - var f = Function("arg1, arg2", "arg3", "return arg1+arg2+arg3;"); -} catch (e) { - $FAIL('#1: test failed'); -} - -//CHECK#2 -if (!(f instanceof Function)){ - $ERROR('#2: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - -//CHECK#3 -if (f("AB","BA",1) !== "ABBA1") { - $ERROR('#3: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T3.js deleted file mode 100644 index a029fa0214..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A2_T3; -* @section: 15.3.2.1; -* @assertion: It is permissible but not necessary to have one argument for each formal parameter to be specified; -* @description: Values of the function constructor arguments are "arg1, arg2, arg3", "return arg1+arg2+arg3;"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A2_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T3.js", - -assertion: "It is permissible but not necessary to have one argument for each formal parameter to be specified", - -description: "Values of the function constructor arguments are \"arg1, arg2, arg3\", \"return arg1+arg2+arg3;\"", - -test: function testcase() { - //CHECK#1 -try { - var f = Function("arg1, arg2, arg3", "return arg1+arg2+arg3;"); -} catch (e) { - $FAIL('#1: test failed'); -} - -//CHECK#2 -if (!(f instanceof Function)){ - $ERROR('#2: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - -//CHECK#3 -if (f(1,1,"ABBA") !== "2ABBA") { - $ERROR('#3: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T4.js deleted file mode 100644 index f23c160658..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T4.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A2_T4; -* @section: 15.3.2.1; -* @assertion: It is permissible but not necessary to have one argument for each formal parameter to be specified; -* @description: Values of the function constructor arguments are "return"-s of various results; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A2_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T4.js", - -assertion: "It is permissible but not necessary to have one argument for each formal parameter to be specified", - -description: "Values of the function constructor arguments are \"return\"-s of various results", - -test: function testcase() { - var i=0; - -var p={toString:function(){return "arg"+(++i);}}; - -//CHECK#1 -try { - var f = Function(p, p, p, "return arg1+arg2+arg3;"); -} catch (e) { - $FAIL('#1: test failed'); -} - -//CHECK#2 -if (!(f instanceof Function)){ - $ERROR('#2: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - -//CHECK#3 -if (f(4,"2","QUESTION") !== "42QUESTION") { - $ERROR('#3: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T5.js deleted file mode 100644 index e519d05c94..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T5.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A2_T5; -* @section: 15.3.2.1; -* @assertion: It is permissible but not necessary to have one argument for each formal parameter to be specified; -* @description: Values of the function constructor arguments are "return"-s of various results and a concotenation of strings; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A2_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T5.js", - -assertion: "It is permissible but not necessary to have one argument for each formal parameter to be specified", - -description: "Values of the function constructor arguments are \"return\"-s of various results and a concotenation of strings", - -test: function testcase() { - var i=0; - -var p={toString:function(){return "arg"+(++i)}}; - -//CHECK#1 -try { - var f = Function(p+","+p,p, "return arg1+arg2+arg3;"); -} catch (e) { - $FAIL('#1: test failed'); -} - -//CHECK#2 -if (!(f instanceof Function)){ - $ERROR('#2: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - -//CHECK#3 -if (f("",1,2) !== "12") { - $ERROR('#3: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T6.js deleted file mode 100644 index b1b93bdd29..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T6.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A2_T6; -* @section: 15.3.2.1; -* @assertion: It is permissible but not necessary to have one argument for each formal parameter to be specified; -* @description: Values of the function constructor arguments are "return"-s of various results and a concotenation of strings; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A2_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A2_T6.js", - -assertion: "It is permissible but not necessary to have one argument for each formal parameter to be specified", - -description: "Values of the function constructor arguments are \"return\"-s of various results and a concotenation of strings", - -test: function testcase() { - var i=0; - -var p={toString:function(){return "arg"+(++i)}}; - -//CHECK#1 -try { - var f = Function(p+","+p+","+p, "return arg1+arg2+arg3;"); -} catch (e) { - $FAIL('#1: test failed'); -} - -//CHECK#2 -if (!(f instanceof Function)){ - $ERROR('#2: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - -//CHECK#3 -if (f("",1,p) !== "1arg4") { - $ERROR('#3: It is permissible but not necessary to have one argument for each formal parameter to be specified'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T1.js deleted file mode 100644 index 0301bff93b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T1; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "{toString:function(){throw 1;}}" and "{toString:function(){throw 'body';}}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T1.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"{toString:function(){throw 1;}}\" and \"{toString:function(){throw \'body\';}}\"", - -test: function testcase() { - var p = {toString:function(){throw 1;}}; -var body = {toString:function(){throw "body";}}; - -//CHECK#1 -try { - var f = new Function(p,body); - $FAIL('#1: test failed'); -} catch (e) { - if (e !== 1) { - $ERROR('#1.1: i) Let Result(i) be the first argument; ii) Let P be ToString(Result(i))'); - } -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T10.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T10.js deleted file mode 100644 index 938623d45c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T10.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T10; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "{toString:function(){return "z;x"}}" and "return this;"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T10", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T10.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"{toString:function(){return \"z;x\"}}\" and \"return this;\"", - -test: function testcase() { - var body = "return this;"; -var p={toString:function(){return "z;x"}}; - -//CHECK#1 -try { - var f = new Function(p,body); - $FAIL('#1: If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception'); -} catch (e) { - if (!(e instanceof SyntaxError)) { - $ERROR('#1.1: If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T11.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T11.js deleted file mode 100644 index 2aee64497f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T11.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T11; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "a,b,c" and "void 0"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T11", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T11.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"a,b,c\" and \"void 0\"", - -test: function testcase() { - var p = "a,b,c"; - -//CHECK#1 -try { - var f = new Function(p, void 0); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with arguments p, body creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==undefined) { - $ERROR('#3: When the Function constructor is called with arguments p, body the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T12.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T12.js deleted file mode 100644 index 482a5eb71d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T12.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T12; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "a,b,c" and "undefined"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T12", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T12.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"a,b,c\" and \"undefined\"", - -test: function testcase() { - var p = "a,b,c"; - -//CHECK#1 -try { - var f = new Function(p, undefined); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with arguments p, body creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==undefined) { - $ERROR('#3: When the Function constructor is called with arguments p, body the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T13.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T13.js deleted file mode 100644 index 595c6a2fc5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T13.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T13; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "a,b,c" and "null"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T13", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T13.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"a,b,c\" and \"null\"", - -test: function testcase() { - var p = "a,b,c"; - -//CHECK#1 -try { - var f = new Function(p, null); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with arguments p, body creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==undefined) { - $ERROR('#3: When the Function constructor is called with arguments p, body the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T14.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T14.js deleted file mode 100644 index 226ce96be6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T14.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T14; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "a,b,c" and an undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T14", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T14.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"a,b,c\" and an undefined variable", - -test: function testcase() { - var p = "a,b,c"; - -//CHECK#1 -try { - var f = new Function(p, body); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with arguments p, body creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==undefined) { - $ERROR('#3: When the Function constructor is called with arguments p, body the following steps are taken...'); -} - -var body; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T15.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T15.js deleted file mode 100644 index d81db07ee2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T15.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T15; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are are two empty strings; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T15", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T15.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are are two empty strings", - -test: function testcase() { - //CHECK#1 -try { - var f = new Function("", ""); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with arguments p, body creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==undefined) { - $ERROR('#3: When the Function constructor is called with arguments p, body the following steps are taken...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T2.js deleted file mode 100644 index cf69098dea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T2; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "{toString:function(){return 'a';}}" and "return a;"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T2.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"{toString:function(){return \'a\';}}\" and \"return a;\"", - -test: function testcase() { - var p = {toString:function(){return "a";}}; -var body = "return a;"; - -//CHECK#1 -try { - var f = new Function(p,body); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with arguments p, body creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f(42)!==42) { - $ERROR('#3: When the Function constructor is called with arguments p, body creates a new Function object as specified in 13.2'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T3.js deleted file mode 100644 index a7c1bca092..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T3; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "{toString:function(){p=1;return "a";}}" and "{toString:function(){throw "body";}}"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T3.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"{toString:function(){p=1;return \"a\";}}\" and \"{toString:function(){throw \"body\";}}\"", - -test: function testcase() { - var p = {toString:function(){p=1;return "a";}}; -var body = {toString:function(){throw "body";}}; - -//CHECK#1 -try { - var f = new Function(p,body); - $FAIL('#1: test failed'); -} catch (e) { - if (e !== "body") { - $ERROR('#1.1: i) Let Result(i) be the first argument; ii) Let P be ToString(Result(i))'); - } -} - -//CHECK#2 -if (p !== 1) { - $ERROR('#2: i) Let Result(i) be the first argument; ii) Let P be ToString(Result(i))'); -} - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T4.js deleted file mode 100644 index 2744b1ff3f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T4; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are an undefined variable and "return 1.1;"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T4.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are an undefined variable and \"return 1.1;\"", - -test: function testcase() { - var body = "return 1.1;"; - -//CHECK#1 -try { - var f = new Function(p,body); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==1.1) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - -var p; - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T5.js deleted file mode 100644 index 9be2f20c1d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T5.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T5; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "void 0" and "return \"A\";"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T5.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"void 0\" and \"return \\\"A\\\";\"", - -test: function testcase() { - var body = "return \"A\";"; - -//CHECK#1 -try { - var f = new Function(void 0,body); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!=='\u0041') { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T6.js deleted file mode 100644 index e7678b3891..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T6; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "null" and "return true;"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T6.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"null\" and \"return true;\"", - -test: function testcase() { - var body = "return true;"; - -//CHECK#1 -try { - var f = new Function(null,body); - $FAIL('#1: If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception'); -} catch (e) { - if (!(e instanceof SyntaxError)) { - $ERROR('#1.1: If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception'); - } -} - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T7.js deleted file mode 100644 index 9906db759f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T7.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T7; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "Object("a")" and "return a;"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T7.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"Object(\"a\")\" and \"return a;\"", - -test: function testcase() { - var body = "return a;"; - -var p=Object("a"); - -//CHECK#1 -try { - var f = new Function(p, body); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f(1)!==1) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T8.js deleted file mode 100644 index ad17ff1fd1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T8.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T8; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "undefined" and "return this;"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T8.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"undefined\" and \"return this;\"", - -test: function testcase() { - var body = "return this;"; - -//CHECK#1 -try { - var f = new Function(undefined,body); -} catch (e) { - $FAIL('#1: test failed with error '+e); -} - -//CHECK#2 -if (f.constructor !== Function) { - $ERROR('#2: When the Function constructor is called with one argument then body be that argument and creates a new Function object as specified in 13.2'); -} - -//CHECK#3 -if (f()!==this) { - $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T9.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T9.js deleted file mode 100644 index 314fa81566..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T9.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2.1_A3_T9; -* @section: 15.3.2.1, 13.2; -* @assertion: When the Function constructor is called with arguments p, body the following steps are taken: -* i) Let Result(i) be the first argument -* ii) Let P be ToString(Result(i)) -* iii) Call ToString(body) -* iv) If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception -* v) If body is not parsable as FunctionBody then throw a SyntaxError exception -* vi) Create a new Function object as specified in 13.2 with parameters specified by parsing P as a FormalParameterListopt and body specified by parsing body as a FunctionBody -* Pass in a scope chain consisting of the global object as the Scope parameter -* vii) Return Result(vi); -* @description: Values of the function constructor arguments are "1,1" and "return this;"; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2.1_A3_T9", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T9.js", - -assertion: "When the Function constructor is called with arguments p, body the following steps are taken:", - -description: "Values of the function constructor arguments are \"1,1\" and \"return this;\"", - -test: function testcase() { - var body = "return this;"; -var p="1,1"; - -//CHECK#1 -try { - var f = new Function(p,body); - $FAIL('#1: If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception'); -} catch (e) { - if (!(e instanceof SyntaxError)) { - $ERROR('#1.1: If P is not parsable as a FormalParameterList_opt then throw a SyntaxError exception'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2_A1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2_A1.js deleted file mode 100644 index 589cbff1e8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2_A1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.2_A1; -* @section: 15.3.2; -* @assertion: When Function is called as part of a new expression, it is a constructor: it initialises the newly created object; -* @description: Checking the constuctor of the object that is created as a new Function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.2_A1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2_A1.js", - -assertion: "When Function is called as part of a new expression, it is a constructor: it initialises the newly created object", - -description: "Checking the constuctor of the object that is created as a new Function", - -test: function testcase() { - var f = new Function; - -//CHECK#1 -if (f.constructor !== Function) { - $ERROR('#1: When Function is called as part of a new expression, it is a constructor: it initialises the newly created object'); -} - -//CHECK#2 -if (f === undefined) { - $ERROR('#2: When Function is called as part of a new expression, it is a constructor: it initialises the newly created object'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A1.js deleted file mode 100644 index e9761d5a76..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.3.1_A1; -* @section: 15.3.3.1, 15.3.4; -* @assertion: The Function.prototype property has the attribute ReadOnly; -* @description: Checking if varying the Function.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.3.1_A1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A1.js", - -assertion: "The Function.prototype property has the attribute ReadOnly", - -description: "Checking if varying the Function.prototype property fails", - -test: function testcase() { - var obj = Function.prototype; -Function.prototype = function(){return "shifted";}; - -//CHECK#1 -if (Function.prototype !== obj) { - $ERROR('#1: the Function.prototype property has the attributes ReadOnly.'); -} - -//CHECK#2 -try { - if(Function.prototype()!==undefined){ - $ERROR('#2: the Function.prototype property has the attributes ReadOnly'); - } -} catch (e) { - $ERROR('#2.1: the Function.prototype property has the attributes ReadOnly: '+e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A2.js deleted file mode 100644 index cee0372bd2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.3.1_A2; -* @section: 15.3.3.1, 15.3.4; -* @assertion: The Function.prototype property has the attribute DontEnum; -* @description: Checking if enumerating the Function.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.3.1_A2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A2.js", - -assertion: "The Function.prototype property has the attribute DontEnum", - -description: "Checking if enumerating the Function.prototype property fails", - -test: function testcase() { - // CHECK#1 -if (Function.propertyIsEnumerable('prototype')) { - $ERROR('#1: the Function.prototype property has the attributes DontEnum'); -} - -// CHECK#2 -var count=0; - -for (p in Function){ - if (p==="prototype") count++; -} - -if (count !== 0) { - $ERROR('#2: the Function.prototype property has the attributes DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A3.js deleted file mode 100644 index 8f7946d985..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.3.1_A3; -* @section: 15.3.3.1, 15.3.4; -* @assertion: The Function.prototype property has the attribute DontDelete; -* @description: Checking if deleting the Function.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.3.1_A3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/15.3.3.1_Function.prototype/S15.3.3.1_A3.js", - -assertion: "The Function.prototype property has the attribute DontDelete", - -description: "Checking if deleting the Function.prototype property fails", - -test: function testcase() { - delete Function.prototype; - -//CHECK#1 -if (!(Function.hasOwnProperty('prototype'))) { - $ERROR('#1: the Function.prototype property has the attributes DontDelete.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A1.js deleted file mode 100644 index 01bdfc13f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.3.3_A1; - * @section: 15.3.3; - * @assertion: The Function constructor has the property "prototype"; - * @description: Checking existence of the property "prototype"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.3_A1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A1.js", - -assertion: "The Function constructor has the property \"prototype\"", - -description: "Checking existence of the property \"prototype\"", - -test: function testcase() { - if(!Function.hasOwnProperty("prototype")){ - $ERROR('#1: The Function constructor has the property "prototype"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T1.js deleted file mode 100644 index 926bba23e8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.3_A2_T1; -* @section: 15.3.3, 15.3.4; -* @assertion: The value of the internal [[Prototype]] property of the Function constructor -* is the Function prototype object; -* @description: Checking prototype of Function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.3_A2_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T1.js", - -assertion: "The value of the internal [[Prototype]] property of the Function constructor", - -description: "Checking prototype of Function", - -test: function testcase() { - // CHECK# -if (!(Function.prototype.isPrototypeOf(Function))) { - $ERROR('#1: the value of the internal [[Prototype]] property of the Function constructor is the Function prototype object.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T2.js deleted file mode 100644 index ed091ad744..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.3_A2_T2; -* @section: 15.3.3, 15.3.4; -* @assertion: The value of the internal [[Prototype]] property of the Function constructor -* is the Function prototype object; -* @description: Add new property to Function.prototype and check it; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.3_A2_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A2_T2.js", - -assertion: "The value of the internal [[Prototype]] property of the Function constructor", - -description: "Add new property to Function.prototype and check it", - -test: function testcase() { - Function.prototype.indicator = 1; - -//CHECK# -if (Function.indicator != 1) { - $ERROR('#1: the value of the internal [[Prototype]] property of the Function constructor is the Function prototype object.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A3.js deleted file mode 100644 index cda6bbc965..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.3_A3; -* @section: 15.3.3, 15.3.4; -* @assertion: Function constructor has length property whose value is 1; -* @description: Checking Function.length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.3_A3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.3_Properties_of_the_Function_Constructor/S15.3.3_A3.js", - -assertion: "Function constructor has length property whose value is 1", - -description: "Checking Function.length property", - -test: function testcase() { - //CHECK#1 -if (!Function.hasOwnProperty("length")){ - $ERROR('#1: Function constructor has length property'); -} - -//CHECK#2 -if (Function.length !== 1) { - $ERROR('#2: Function constructor length property value is 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A10.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A10.js deleted file mode 100644 index f677337ee9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A10; -* @section: 15.3.4.2; -* @assertion: The Function.prototype.toString.length property has the attribute ReadOnly; -* @description: Checking if varying the Function.prototype.toString.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.2_A10", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A10.js", - -assertion: "The Function.prototype.toString.length property has the attribute ReadOnly", - -description: "Checking if varying the Function.prototype.toString.length property fails", - -test: function testcase() { - //CHECK#1 -if (!(Function.prototype.toString.hasOwnProperty('length'))) { - $FAIL('#1: the Function.prototype.toString has length property.'); -} - -var obj = Function.prototype.toString.length; - -Function.prototype.toString.length = function(){return "shifted";}; - -//CHECK#2 -if (Function.prototype.toString.length !== obj) { - $ERROR('#2: the Function.prototype.toString length property has the attributes ReadOnly.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A11.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A11.js deleted file mode 100644 index f1c6306b0c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A11.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A11; -* @section: 15.3.4.2; -* @assertion: The length property of the toString method is 0; -* @description: Checking Function.prototype.toString.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.2_A11", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A11.js", - -assertion: "The length property of the toString method is 0", - -description: "Checking Function.prototype.toString.length", - -test: function testcase() { - //CHECK#1 -if (!(Function.prototype.toString.hasOwnProperty("length"))) { - $ERROR('#1: The Function.prototype.toString has the length property'); -} - -//CHECK#2 -if (Function.prototype.toString.length !== 0) { - $ERROR('#2: The length property of the toString method is 0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A12.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A12.js deleted file mode 100644 index 682672a3b2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A12.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.toString.call(undefined); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A13.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A13.js deleted file mode 100644 index 8a93e40dce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A13.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.toString.call(null); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A14.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A14.js deleted file mode 100644 index 3b031c11b6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A14.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.toString.call({}); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A15.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A15.js deleted file mode 100644 index fed1aa2f9a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A15.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.toString.call(/x/); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A16.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A16.js deleted file mode 100644 index 688186aa98..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A16.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - var obj = {toString: Function.prototype.toString}; - -String(obj); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1.js deleted file mode 100644 index 7d11a2f946..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A1_T1; -* @section: 15.3.4.2; -* @assertion: An implementation-dependent representation of the function is returned. This representation has the syntax of a FunctionDeclaration; -* @description: For testing use Function.prototype.toString() function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.2_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1.js", - -assertion: "An implementation-dependent representation of the function is returned. This representation has the syntax of a FunctionDeclaration", - -description: "For testing use Function.prototype.toString() function", - -test: function testcase() { - var f = function(x) { - return x*x; -}; - -//CHECK#1 -if (eval(f.toString())(10) !== f(10)) { - $ERROR('#1: An implementation-dependent representation of the function is returned. This representation has the syntax of a FunctionDeclaration'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A6.js deleted file mode 100644 index f4b1cbf1e8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A6; -* @section: 15.3.4.2, 13.2; -* @assertion: Function.prototype.toString has not prototype property; -* @description: Checking if obtaining the prototype property of Function.prototype.toString fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.2_A6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A6.js", - -assertion: "Function.prototype.toString has not prototype property", - -description: "Checking if obtaining the prototype property of Function.prototype.toString fails", - -test: function testcase() { - //CHECK#1 -if (Function.prototype.toString.prototype !== undefined) { - $ERROR('#1: Function.prototype.toString has not prototype property'+Function.prototype.toString.prototype); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A7.js deleted file mode 100644 index 5e2faf7792..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A7; -* @section: 15.3.4.2, 13.2; -* @assertion: Function.prototype.toString can't be used as constructor; -* @description: Checking if creating "new Function.prototype.toString" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.2_A7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A7.js", - -assertion: "Function.prototype.toString can\'t be used as constructor", - -description: "Checking if creating \"new Function.prototype.toString\" fails", - -test: function testcase() { - var FACTORY = Function.prototype.toString; - -try { - var instance = new FACTORY; - $FAIL('#1: Function.prototype.toString can\'t be used as constructor'); -} catch (e) { - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A8.js deleted file mode 100644 index 7ac8dedab2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A8.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A8; -* @section: 15.3.4.2; -* @assertion: The Function.prototype.toString.length property has the attribute DontEnum; -* @description: Checking if enumerating the Function.prototype.toString.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.2_A8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A8.js", - -assertion: "The Function.prototype.toString.length property has the attribute DontEnum", - -description: "Checking if enumerating the Function.prototype.toString.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Function.prototype.toString.hasOwnProperty('length'))) { - $FAIL('#0: the Function.prototype.toString has length property.'); -} - - -// CHECK#1 -if (Function.prototype.toString.propertyIsEnumerable('length')) { - $ERROR('#1: the Function.prototype.toString.length property has the attributes DontEnum'); -} - -// CHECK#2 -for (p in Function.prototype.toString){ - if (p==="length") - $ERROR('#2: the Function.prototype.toString.length property has the attributes DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A9.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A9.js deleted file mode 100644 index 55fbae4816..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A9.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A9; -* @section: 15.3.4.2; -* @assertion: The Function.prototype.toString.length property has the attribute DontDelete; -* @description: Checking if deleting the Function.prototype.toString.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.2_A9", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A9.js", - -assertion: "The Function.prototype.toString.length property has the attribute DontDelete", - -description: "Checking if deleting the Function.prototype.toString.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Function.prototype.toString.hasOwnProperty('length'))) { - $FAIL('#0: the Function.prototype.toString has length property'); -} - -//CHECK#1 -if (delete Function.prototype.toString.length) { - $ERROR('#1: The Function.prototype.toString.length property has the attributes DontDelete'); -} - -//CHECK#2 -if (!(Function.prototype.toString.hasOwnProperty('length'))) { - $FAIL('#2: The Function.prototype.toString.length property has the attributes DontDelete'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A10.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A10.js deleted file mode 100644 index 3db9cdaa32..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A10; -* @section: 15.3.4.3; -* @assertion: The Function.prototype.apply.length property has the attribute ReadOnly; -* @description: Checking if varying the Function.prototype.apply.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A10", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A10.js", - -assertion: "The Function.prototype.apply.length property has the attribute ReadOnly", - -description: "Checking if varying the Function.prototype.apply.length property fails", - -test: function testcase() { - //CHECK#1 -if (!(Function.prototype.apply.hasOwnProperty('length'))) { - $FAIL('#1: the Function.prototype.apply has length property.'); -} - -var obj = Function.prototype.apply.length; - -Function.prototype.apply.length = function(){return "shifted";}; - -//CHECK#2 -if (Function.prototype.apply.length !== obj) { - $ERROR('#2: the Function.prototype.apply length property has the attributes ReadOnly.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A11.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A11.js deleted file mode 100644 index 3e416cf13d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A11.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A11; -* @section: 15.3.4.3; -* @assertion: The Function.prototype.apply.length property has the attribute DontEnum; -* @description: TChecking if enumerating the Function.prototype.apply.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A11", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A11.js", - -assertion: "The Function.prototype.apply.length property has the attribute DontEnum", - -description: "TChecking if enumerating the Function.prototype.apply.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Function.prototype.apply.hasOwnProperty('length'))) { - $FAIL('#0: the Function.prototype.apply has length property.'); -} - - -// CHECK#1 -if (Function.prototype.apply.propertyIsEnumerable('length')) { - $ERROR('#1: the Function.prototype.apply.length property has the attributes DontEnum'); -} - -// CHECK#2 -for (var p in Function.prototype.apply){ - if (p==="length") - $ERROR('#2: the Function.prototype.apply.length property has the attributes DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A12.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A12.js deleted file mode 100644 index 59e4067410..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A12.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A12; -* @section: 15.3.4.3, 13.2; -* @assertion: Function.prototype.apply has not prototype property; -* @description: Checking if obtaining the prototype property of Function.prototype.apply fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A12", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A12.js", - -assertion: "Function.prototype.apply has not prototype property", - -description: "Checking if obtaining the prototype property of Function.prototype.apply fails", - -test: function testcase() { - //CHECK#1 -if (Function.prototype.apply.prototype !== undefined) { - $ERROR('#1: Function.prototype.apply has not prototype property'+Function.prototype.apply.prototype); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A13.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A13.js deleted file mode 100644 index e75c82eeac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A13.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.apply.call(undefined, {}, []); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A14.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A14.js deleted file mode 100644 index 2c76362408..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A14.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.apply.call(null, {}, []); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A15.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A15.js deleted file mode 100644 index 49ffcf7d42..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A15.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.apply.call({}, {}, []); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A16.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A16.js deleted file mode 100644 index 6c35da6ba4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A16.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A16; -* @section: 15.3.4.3; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @description: A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case apply should accept it as a valid this value. -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A16", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A16.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "A RegExp is not a function, but it may be callable. Iff it is, it\'s typeof should be \'function\', in which case apply should accept it as a valid this value.", - -test: function testcase() { - var re = (/x/); -if (typeof re === 'function') { - Function.prototype.apply.call(re, undefined, ['x']); -} else { - try { - Function.prototype.bind.call(re, undefined); - $FAIL('#1: If IsCallable(func) is false, ' + - 'then (bind should) throw a TypeError exception'); - } catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1: TypeError expected. Actual: ' + e); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T1.js deleted file mode 100644 index 9c1621a50f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A1_T1; -* @section: 15.3.4.3; -* @assertion: The apply method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown; -* @description: Calling "apply" method of the object that does not have a [[Call]] property. -* Prototype of the object is Function(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T1.js", - -assertion: "The apply method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown", - -description: "Calling \"apply\" method of the object that does not have a [[Call]] property.", - -test: function testcase() { - var proto=Function(); - -function FACTORY(){}; - -FACTORY.prototype=proto; - -var obj = new FACTORY; - -//CHECK#1 -if (typeof obj.apply !== "function") { - $ERROR('#1: apply method accessed'); -} - -//CHECK#2 -try { - obj.apply(); - $FAIL('#2: If the object does not have a [[Call]] property, a TypeError exception is thrown'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T2.js deleted file mode 100644 index 0000e3eb59..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A1_T2; -* @section: 15.3.4.3; -* @assertion: The apply method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown; -* @description: Calling "apply" method of the object that does not have a [[Call]] property. -* Prototype of the object is Function.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A1_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A1_T2.js", - -assertion: "The apply method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown", - -description: "Calling \"apply\" method of the object that does not have a [[Call]] property.", - -test: function testcase() { - function FACTORY(){}; - -FACTORY.prototype=Function.prototype; - -var obj = new FACTORY; - -//CHECK#1 -if (typeof obj.apply !== "function") { - $ERROR('#1: apply method accessed'); -} - -//CHECK#2 -try { - obj.apply(); - $FAIL('#2: If the object does not have a [[Call]] property, a TypeError exception is thrown'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T1.js deleted file mode 100644 index da9c0d64dc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A2_T1; -* @section: 15.3.4.3; -* @assertion: The length property of the apply method is 2; -* @description: Checking Function.prototype.apply.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A2_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T1.js", - -assertion: "The length property of the apply method is 2", - -description: "Checking Function.prototype.apply.length", - -test: function testcase() { - //CHECK#1 -if (typeof Function.prototype.apply !== "function") { - $ERROR('#1: apply method defined'); -} - -//CHECK#2 -if (typeof Function.prototype.apply.length === "undefined") { - $ERROR('#2: length property of apply method defined'); -} - -//CHECK#3 -if (Function.prototype.apply.length !== 2) { - $ERROR('#3: The length property of the apply method is 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T2.js deleted file mode 100644 index 40baa7b2d4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A2_T2; -* @section: 15.3.4.3; -* @assertion: The length property of the apply method is 2; -* @description: Checking f.apply.length, where f is new Function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A2_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A2_T2.js", - -assertion: "The length property of the apply method is 2", - -description: "Checking f.apply.length, where f is new Function", - -test: function testcase() { - var f=new Function; - -//CHECK#1 -if (typeof f.apply !== "function") { - $ERROR('#1: apply method accessed'); -} - -//CHECK#2 -if (typeof f.apply.length === "undefined") { - $ERROR('#2: length property of apply method defined'); -} - -//CHECK#3 -if (f.apply.length !== 2) { - $ERROR('#3: The length property of the apply method is 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T1.js deleted file mode 100644 index bcd8e5355e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T1; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Not any arguments at apply function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T1.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Not any arguments at apply function", - -test: function testcase() { - Function("this.field=\"strawberry\"").apply(); - -//CHECK#1 -if (this["field"] !== "strawberry") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T10.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T10.js deleted file mode 100644 index 262a466ca4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T10.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T10; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Checking by using eval, no any arguments at apply function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T10", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T10.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Checking by using eval, no any arguments at apply function", - -test: function testcase() { - eval(" (function(){this.feat=1}).apply()"); - -//CHECK#1 -if (this["feat"] !== 1) { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T2.js deleted file mode 100644 index 7b36911d9c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T2; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at apply function is null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T2.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at apply function is null", - -test: function testcase() { - Function("this.field=\"green\"").apply(null); - -//CHECK#1 -if (this["field"] !== "green") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T3.js deleted file mode 100644 index 618b886a2e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T3; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at apply function is void 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T3.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at apply function is void 0", - -test: function testcase() { - Function("this.field=\"battle\"").apply(void 0); - -//CHECK#1 -if (this["field"] !== "battle") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T4.js deleted file mode 100644 index d938e33adc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T4; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at apply function is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T4.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at apply function is undefined", - -test: function testcase() { - Function("this.field=\"oil\"").apply(undefined); - -//CHECK#1 -if (this["field"] !== "oil") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T5.js deleted file mode 100644 index 1adcd70ef6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T5.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T5; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: No any arguments at apply function and it called inside function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T5.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "No any arguments at apply function and it called inside function declaration", - -test: function testcase() { - function FACTORY(){ - Function("this.feat=\"in da haus\"").apply(); -}; - -var obj = new FACTORY; - -//CHECK#1 -if (this["feat"] !== "in da haus") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - -//CHECK#2 -if (typeof obj.feat !== "undefined") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T6.js deleted file mode 100644 index a644ea67aa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T6.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T6; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at apply function is null and it called inside function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T6.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at apply function is null and it called inside function declaration", - -test: function testcase() { - function FACTORY(){ - (function(){this.feat="kamon beyba"}).apply(null); -}; - -var obj = new FACTORY; - -//CHECK#1 -if (this["feat"] !== "kamon beyba") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - -//CHECK#2 -if (typeof obj.feat !== "undefined") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T7.js deleted file mode 100644 index 608c5b3b26..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T7; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at apply function is void 0 and it called inside function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T7.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at apply function is void 0 and it called inside function declaration", - -test: function testcase() { - (function FACTORY(){ - Function("this.feat=\"in da haus\"").apply(void 0); -})(); - - -//CHECK#1 -if (this["feat"] !== "in da haus") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T8.js deleted file mode 100644 index bf8162cae1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T8.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T8; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at apply function is undefined and it called inside function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T8.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at apply function is undefined and it called inside function declaration", - -test: function testcase() { - (function FACTORY(){ - (function(){this.feat="kamon beyba"}).apply(undefined); -})(); - -//CHECK#1 -if (this["feat"] !== "kamon beyba") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T9.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T9.js deleted file mode 100644 index 21137af640..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T9.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A3_T9; -* @section: 15.3.4.3; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Checking by using eval, argument at apply function is void 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A3_T9", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A3_T9.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Checking by using eval, argument at apply function is void 0", - -test: function testcase() { - eval( " Function(\"this.feat=1\").apply(void 0) " ); - -//CHECK#1 -if (this["feat"] !== 1) { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T1.js deleted file mode 100644 index be634a4fdc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A5_T1; -* @section: 15.3.4.3; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A5_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T1.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is number", - -test: function testcase() { - var obj=1; - -var retobj = Function("this.touched= true; return this;").apply(obj); - -//CHECK#1 -if (typeof obj.touched !== "undefined") { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -//CHECK#2 -if (!(retobj["touched"])) { - $ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T2.js deleted file mode 100644 index 095a06bf98..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A5_T2; -* @section: 15.3.4.3; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is boolean true; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A5_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T2.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is boolean true", - -test: function testcase() { - var obj=true; - -var retobj = new Function("this.touched= true; return this;").apply(obj); - -//CHECK#1 -if (typeof obj.touched !== "undefined") { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -//CHECK#2 -if (!(retobj["touched"])) { - $ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T3.js deleted file mode 100644 index c845efdc41..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A5_T3; -* @section: 15.3.4.3; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A5_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T3.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is string", - -test: function testcase() { - var obj="soap"; - -var retobj = ( function(){this.touched= true; return this;} ).apply(obj); - -//CHECK#1 -if (typeof obj.touched !== "undefined") { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -//CHECK#2 -if (!(retobj["touched"])) { - $ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T4.js deleted file mode 100644 index 6502a00821..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A5_T4; -* @section: 15.3.4.3; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is function variable that return this; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A5_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T4.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is function variable that return this", - -test: function testcase() { - f = function(){this.touched= true; return this;}; - -retobj = f.apply(obj); - -//CHECK#1 -if (typeof obj !== "undefined") { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -//CHECK#2 -if (!(retobj["touched"])) { - $ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -var obj; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T5.js deleted file mode 100644 index 3f78901259..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T5.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A5_T5; -* @section: 15.3.4.3; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is function variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A5_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T5.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is function variable", - -test: function testcase() { - var f = function(){this.touched= true;}; - -var obj={}; - -f.apply(obj); - -//CHECK#1 -if (!(obj.touched)) { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T6.js deleted file mode 100644 index 20a9bfefb5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T6.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A5_T6; -* @section: 15.3.4.3; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is new String(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A5_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T6.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is new String()", - -test: function testcase() { - var obj=new String("soap"); - -( function(){this.touched= true;}).apply(obj); - -//CHECK#1 -if (!(obj.touched)) { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T7.js deleted file mode 100644 index 306cedefa1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A5_T7; -* @section: 15.3.4.3; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is new Number(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A5_T7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T7.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is new Number()", - -test: function testcase() { - var obj=new Number(1); - -Function("this.touched= true;").apply(obj); - -//CHECK#1 -if (!(obj.touched)) { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T8.js deleted file mode 100644 index a9d20bc206..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T8.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A5_T8; -* @section: 15.3.4.3; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is Function(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A5_T8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A5_T8.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is Function()", - -test: function testcase() { - var obj=Function(); - -new Function("this.touched= true; return this;").apply(obj); - -//CHECK#1 -if (!(obj.touched)) { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T1.js deleted file mode 100644 index 237f1c5a05..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A6_T1; -* @section: 15.3.4.3; -* @assertion: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown; -* @description: argArray is (1,{}); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A6_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T1.js", - -assertion: "if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown", - -description: "argArray is (1,{})", - -test: function testcase() { - //CHECK#1 -try { - Function().apply(1,{}); - $FAIL('#1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T2.js deleted file mode 100644 index 3fe71200aa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A6_T2; -* @section: 15.3.4.3; -* @assertion: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown; -* @description: argArray is (null,1); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A6_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T2.js", - -assertion: "if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown", - -description: "argArray is (null,1)", - -test: function testcase() { - //CHECK#1 -try { - Function().apply(null,1); - $FAIL('#1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T3.js deleted file mode 100644 index f072c50b37..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A6_T3; -* @section: 15.3.4.3; -* @assertion: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown; -* @description: argArray is (object,"1,3,4"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A6_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T3.js", - -assertion: "if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown", - -description: "argArray is (object,\"1,3,4\")", - -test: function testcase() { - obj={}; - -//CHECK#1 -try { - Function().apply(obj,"1,3,4"); - $FAIL('#1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T4.js deleted file mode 100644 index 81af4da9d5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A6_T4; -* @section: 15.3.4.3; -* @assertion: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown; -* @description: argArray is (this,function(){return arguments;}); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A6_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T4.js", - -assertion: "if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown", - -description: "argArray is (this,function(){return arguments;})", - -test: function testcase() { - //CHECK#1 -try { - Function().apply(this,function(){return arguments;}); - $FAIL('#1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T1.js deleted file mode 100644 index 5c867fa265..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T1; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (null,[1]); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T1.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (null,[1])", - -test: function testcase() { - Function("a1,a2,a3","this.shifted=a1;").apply(null,[1]); - -//CHECK#1 -if (this["shifted"] !== 1) { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T10.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T10.js deleted file mode 100644 index c18b81a57e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T10.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T10; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (empty object, arguments), inside function call without declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T10", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T10.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (empty object, arguments), inside function call without declaration used", - -test: function testcase() { - var obj={}; - -(function (){ - Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(obj,arguments); -})("",4,2); - -//CHECK#1 -if (obj["shifted"] !== "42") { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - -//CHECK#2 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T2.js deleted file mode 100644 index 618a494a50..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T2; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (null,[1,2,3]); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T2.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (null,[1,2,3])", - -test: function testcase() { - new Function("a1,a2","a3","this.shifted=a2;").apply(null,[1,2,3]); - -//CHECK#1 -if (this["shifted"] !== 2) { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T3.js deleted file mode 100644 index 11b28d48f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T3; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (empty object, new Array("nine","inch","nails")); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T3.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (empty object, new Array(\"nine\",\"inch\",\"nails\"))", - -test: function testcase() { - i=0; - -p={toString:function(){return "a"+(++i);}}; - -obj={}; - -Function(p,"a2,a3","this.shifted=a1;").apply(obj, new Array("nine","inch","nails")); - -//CHECK#1 -if (obj["shifted"] !== "nine") { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - -//CHECK#2 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T4.js deleted file mode 100644 index 7ec998ebd0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T4; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (empty object, ( function(){return arguments;}) ("a","b","c")); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T4.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (empty object, ( function(){return arguments;}) (\"a\",\"b\",\"c\"))", - -test: function testcase() { - i=0; - -p={toString:function(){return "a"+(++i);}}; - -obj={}; - -new Function(p,p,p, "this.shifted=a3;").apply( obj,( function(){return arguments;}) ("a","b","c") ); - -//CHECK#1 -if (obj["shifted"] !== "c") { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - -//CHECK#2 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T5.js deleted file mode 100644 index 91b0e1fd15..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T5; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (null, arguments), inside function declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T5.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (null, arguments), inside function declaration used", - -test: function testcase() { - function FACTORY(){ - Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(null,arguments); -} - -obj=new FACTORY("",1,2); - -//CHECK#1 -if (this["shifted"] !== "12") { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - -//CHECK#2 -if (typeof obj.shifted !== "undefined") { - $ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T6.js deleted file mode 100644 index fa3eb20b7e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T6.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T6; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (this, arguments), inside function declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T6.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (this, arguments), inside function declaration used", - -test: function testcase() { - function FACTORY(){ - Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(this,arguments); -} - -obj=new FACTORY("",4,2); - -//CHECK#1 -if (obj["shifted"] !== "42") { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - -//CHECK#2 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T7.js deleted file mode 100644 index ce3fb75340..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T7; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (null, arguments), inside function call without declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T7.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (null, arguments), inside function call without declaration used", - -test: function testcase() { - (function (){ - Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(null,arguments); -})("",1,2); - -//CHECK#1 -if (this["shifted"] !== "12") { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T8.js deleted file mode 100644 index 92cb95b0f1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T8; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (this, arguments), inside function call without declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T8.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (this, arguments), inside function call without declaration used", - -test: function testcase() { - (function (){ - Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(this,arguments); -})("",4,2); - -//CHECK#2 -if (this["shifted"] !== "42") { - $ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T9.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T9.js deleted file mode 100644 index 8418f4674d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A7_T9; -* @section: 15.3.4.3; -* @assertion: If argArray is either an array or an arguments object, -* the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]; -* @description: argArray is (empty object, arguments), inside function declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A7_T9", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A7_T9.js", - -assertion: "If argArray is either an array or an arguments object,", - -description: "argArray is (empty object, arguments), inside function declaration used", - -test: function testcase() { - function FACTORY(){ - var obj = {}; - Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(obj,arguments); - return obj; -} - -obj=new FACTORY("",1,2); - -//CHECK#1 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - -//CHECK#2 -if (obj.shifted !== "12") { - $ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T1.js deleted file mode 100644 index b67111620f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A8_T1; -* @section: 15.3.4.3; -* @assertion: Function.prototype.apply can`t be used as [[create]] caller; -* @description: Checking if creating "new Function.prototype.apply" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A8_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T1.js", - -assertion: "Function.prototype.apply can`t be used as [[create]] caller", - -description: "Checking if creating \"new Function.prototype.apply\" fails", - -test: function testcase() { - try { - obj = new Function.prototype.apply; - $ERROR('#1: Function.prototype.apply can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T2.js deleted file mode 100644 index a35e7fc7a2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A8_T2; -* @section: 15.3.4.3; -* @assertion: Function.prototype.apply can`t be used as [[create]] caller; -* @description: Checking if creating "new Function.prototype.apply()" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A8_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T2.js", - -assertion: "Function.prototype.apply can`t be used as [[create]] caller", - -description: "Checking if creating \"new Function.prototype.apply()\" fails", - -test: function testcase() { - try { - obj = new Function.prototype.apply(); - $ERROR('#1: Function.prototype.apply can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T3.js deleted file mode 100644 index 687877af85..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A8_T3; -* @section: 15.3.4.3; -* @assertion: Function.prototype.apply can`t be used as [[create]] caller; -* @description: Checking if creating "new Function.apply" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A8_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T3.js", - -assertion: "Function.prototype.apply can`t be used as [[create]] caller", - -description: "Checking if creating \"new Function.apply\" fails", - -test: function testcase() { - try { - obj = new Function.apply; - $ERROR('#1: Function.prototype.apply can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T4.js deleted file mode 100644 index 06e1d39002..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A8_T4; -* @section: 15.3.4.3; -* @assertion: Function.prototype.apply can`t be used as [[create]] caller; -* @description: Checking if creating "new (Function("this.p1=1").apply)" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A8_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T4.js", - -assertion: "Function.prototype.apply can`t be used as [[create]] caller", - -description: "Checking if creating \"new (Function(\"this.p1=1\").apply)\" fails", - -test: function testcase() { - try { - obj = new (Function("this.p1=1").apply); - $ERROR('#1: Function.prototype.apply can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T5.js deleted file mode 100644 index 32953fa30c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A8_T5; -* @section: 15.3.4.3; -* @assertion: Function.prototype.apply can`t be used as [[create]] caller; -* @description: Checking if creating "new Function("this.p1=1").apply" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A8_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T5.js", - -assertion: "Function.prototype.apply can`t be used as [[create]] caller", - -description: "Checking if creating \"new Function(\"this.p1=1\").apply\" fails", - -test: function testcase() { - try { - FACTORY = Function("this.p1=1").apply; - obj = new FACTORY(); - $ERROR('#1: Function.prototype.apply can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T6.js deleted file mode 100644 index 35b15232e0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T6.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A8_T6; -* @section: 15.3.4.3; -* @assertion: Function.prototype.apply can`t be used as [[create]] caller; -* @description: Checking if creating "new (Function("function f(){this.p1=1;};return f").apply())" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A8_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A8_T6.js", - -assertion: "Function.prototype.apply can`t be used as [[create]] caller", - -description: "Checking if creating \"new (Function(\"function f(){this.p1=1;};return f\").apply())\" fails", - -test: function testcase() { - //CHECK#1 -try { - obj = new (Function("function f(){this.p1=1;};return f").apply()); -} catch (e) { - $ERROR('#1: Function.prototype.apply can\'t be used as [[create]] caller'); -} - -//CHECK#2 -if (obj.p1!== 1) { - $ERROR('#2: Function.prototype.apply can\'t be used as [[create]] caller'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A9.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A9.js deleted file mode 100644 index aba481084f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A9.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A9; -* @section: 15.3.4.3; -* @assertion: The Function.prototype.apply.length property has the attribute DontDelete; -* @description: Checking if deleting the Function.prototype.apply.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.3_A9", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A9.js", - -assertion: "The Function.prototype.apply.length property has the attribute DontDelete", - -description: "Checking if deleting the Function.prototype.apply.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Function.prototype.apply.hasOwnProperty('length'))) { - $FAIL('#0: the Function.prototype.apply has length property'); -} - -//CHECK#1 -if (delete Function.prototype.apply.length) { - $ERROR('#1: The Function.prototype.apply.length property has the attributes DontDelete'); -} - -//CHECK#2 -if (!(Function.prototype.apply.hasOwnProperty('length'))) { - $FAIL('#2: The Function.prototype.apply.length property has the attributes DontDelete'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A10.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A10.js deleted file mode 100644 index 11c53f7667..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A10.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A10; -* @section: 15.3.4.4; -* @assertion: The Function.prototype.call.length property has the attribute ReadOnly; -* @description: Checking if varying the Function.prototype.call.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A10", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A10.js", - -assertion: "The Function.prototype.call.length property has the attribute ReadOnly", - -description: "Checking if varying the Function.prototype.call.length property fails", - -test: function testcase() { - //CHECK#1 -if (!(Function.prototype.call.hasOwnProperty('length'))) { - $FAIL('#1: the Function.prototype.call has length property.'); -} - -var obj = Function.prototype.call.length; - -Function.prototype.call.length = function(){return "shifted";}; - -//CHECK#2 -if (Function.prototype.call.length !== obj) { - $ERROR('#2: the Function.prototype.call length property has the attributes ReadOnly.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A11.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A11.js deleted file mode 100644 index a6f44b4a87..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A11.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A11; -* @section: 15.3.4.4; -* @assertion: The Function.prototype.call.length property has the attribute DontEnum; -* @description: Checking if enumerating the Function.prototype.call.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A11", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A11.js", - -assertion: "The Function.prototype.call.length property has the attribute DontEnum", - -description: "Checking if enumerating the Function.prototype.call.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Function.prototype.call.hasOwnProperty('length'))) { - $FAIL('#0: the Function.prototype.call has length property.'); -} - - -// CHECK#1 -if (Function.prototype.call.propertyIsEnumerable('length')) { - $ERROR('#1: the Function.prototype.call.length property has the attributes DontEnum'); -} - -// CHECK#2 -for (p in Function.prototype.call){ - if (p==="length") - $ERROR('#2: the Function.prototype.call.length property has the attributes DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A12.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A12.js deleted file mode 100644 index 9634aff652..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A12.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A12; -* @section: 15.3.4.4, 13.2; -* @assertion: Function.prototype.call has not prototype property; -* @description: Checking if obtaining the prototype property of Function.prototype.call fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A12", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A12.js", - -assertion: "Function.prototype.call has not prototype property", - -description: "Checking if obtaining the prototype property of Function.prototype.call fails", - -test: function testcase() { - //CHECK#1 -if (Function.prototype.call.prototype !== undefined) { - $ERROR('#1: Function.prototype.call has not prototype property'+Function.prototype.call.prototype); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js deleted file mode 100644 index 003c688ba5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.call.call(undefined, {}); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js deleted file mode 100644 index 404fee029e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.call.call(null, {}); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js deleted file mode 100644 index 110883778d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.call.call({}, {}); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A16.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A16.js deleted file mode 100644 index 244dfb50ec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A16.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A16; -* @section: 15.3.4.4; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @description: A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case call should accept it as a valid this value. -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A16", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A16.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "A RegExp is not a function, but it may be callable. Iff it is, it\'s typeof should be \'function\', in which case call should accept it as a valid this value.", - -test: function testcase() { - var re = (/x/); -if (typeof re === 'function') { - Function.prototype.call.call(re, undefined, 'x'); -} else { - try { - Function.prototype.bind.call(re, undefined); - $FAIL('#1: If IsCallable(func) is false, ' + - 'then (bind should) throw a TypeError exception'); - } catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1: TypeError expected. Actual: ' + e); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T1.js deleted file mode 100644 index 3a365adf06..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A1_T1; -* @section: 15.3.4.4; -* @assertion: The call method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown; -* @description: Call "call" method of the object that does not have a [[Call]] property. -* Prototype of the object is Function(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T1.js", - -assertion: "The call method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown", - -description: "Call \"call\" method of the object that does not have a [[Call]] property.", - -test: function testcase() { - var proto=Function(); - -function FACTORY(){}; - -FACTORY.prototype=proto; - -var obj = new FACTORY; - -//CHECK#1 -if (typeof obj.call !== "function") { - $ERROR('#1: call method accessed'); -} - -//CHECK#2 -try { - obj.call(); - $FAIL('#2: If the object does not have a [[Call]] property, a TypeError exception is thrown'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T2.js deleted file mode 100644 index 9c8d2cf05a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A1_T2; -* @section: 15.3.4.4; -* @assertion: The call method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown; -* @description: Calling "call" method of the object that does not have a [[Call]] property. -* Prototype of the object is Function.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A1_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A1_T2.js", - -assertion: "The call method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown", - -description: "Calling \"call\" method of the object that does not have a [[Call]] property.", - -test: function testcase() { - function FACTORY(){}; - -FACTORY.prototype=Function.prototype; - -var obj = new FACTORY; - -//CHECK#1 -if (typeof obj.call !== "function") { - $ERROR('#1: call method accessed'); -} - -//CHECK#2 -try { - obj.call(); - $FAIL('#2: If the object does not have a [[Call]] property, a TypeError exception is thrown'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T1.js deleted file mode 100644 index 3550074b8d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A2_T1; -* @section: 15.3.4.4; -* @assertion: The length property of the call method is 1; -* @description: Checking Function.prototype.call.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A2_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T1.js", - -assertion: "The length property of the call method is 1", - -description: "Checking Function.prototype.call.length", - -test: function testcase() { - //CHECK#1 -if (typeof Function.prototype.call !== "function") { - $ERROR('#1: call method defined'); -} - -//CHECK#2 -if (typeof Function.prototype.call.length === "undefined") { - $ERROR('#2: length property of call method defined'); -} - -//CHECK#3 -if (Function.prototype.call.length !== 1) { - $ERROR('#3: The length property of the call method is 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T2.js deleted file mode 100644 index 88255389f3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A2_T2; -* @section: 15.3.4.4; -* @assertion: The length property of the call method is 1; -* @description: Checking f.call.length, where f is new Function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A2_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A2_T2.js", - -assertion: "The length property of the call method is 1", - -description: "Checking f.call.length, where f is new Function", - -test: function testcase() { - var f=new Function; - -//CHECK#1 -if (typeof f.call !== "function") { - $ERROR('#1: call method accessed'); -} - -//CHECK#2 -if (typeof f.call.length === "undefined") { - $ERROR('#2: length property of call method defined'); -} - -//CHECK#3 -if (f.call.length !== 1) { - $ERROR('#3: The length property of the call method is 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T1.js deleted file mode 100644 index 7ceaf4b449..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T1; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Not any arguments at call function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T1.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Not any arguments at call function", - -test: function testcase() { - Function("this.field=\"strawberry\"").call(); - -//CHECK#1 -if (this["field"] !== "strawberry") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T10.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T10.js deleted file mode 100644 index 730b0d4402..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T10.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T10; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Checking by using eval, no any arguments at call function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T10", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T10.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Checking by using eval, no any arguments at call function", - -test: function testcase() { - eval(" (function(){this.feat=1}).call()"); - -//CHECK#1 -if (this["feat"] !== 1) { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T2.js deleted file mode 100644 index a47d978e0f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T2; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at call function is null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T2.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at call function is null", - -test: function testcase() { - Function("this.field=\"green\"").call(null); - -//CHECK#1 -if (this["field"] !== "green") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T3.js deleted file mode 100644 index b118c25e39..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T3; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at call function is void 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T3.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at call function is void 0", - -test: function testcase() { - Function("this.field=\"battle\"").call(void 0); - -//CHECK#1 -if (this["field"] !== "battle") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T4.js deleted file mode 100644 index 34f61d7681..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T4; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at call function is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T4.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at call function is undefined", - -test: function testcase() { - Function("this.field=\"oil\"").call(undefined); - -//CHECK#1 -if (this["field"] !== "oil") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T5.js deleted file mode 100644 index b80abedb94..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T5.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T5; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: No any arguments at call function and it called inside function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T5.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "No any arguments at call function and it called inside function declaration", - -test: function testcase() { - function FACTORY(){ - Function("this.feat=\"in da haus\"").call(); -}; - -var obj = new FACTORY; - -//CHECK#1 -if (this["feat"] !== "in da haus") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - -//CHECK#2 -if (typeof obj.feat !== "undefined") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T6.js deleted file mode 100644 index 1d05da6501..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T6.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T6; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at call function is null and it called inside function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T6.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at call function is null and it called inside function declaration", - -test: function testcase() { - function FACTORY(){ - (function(){this.feat="kamon beyba"}).call(null); -}; - -var obj = new FACTORY; - -//CHECK#1 -if (this["feat"] !== "kamon beyba") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - -//CHECK#2 -if (typeof obj.feat !== "undefined") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T7.js deleted file mode 100644 index 7ccb54d7fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T7; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at call function is void 0 and it called inside function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T7.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at call function is void 0 and it called inside function declaration", - -test: function testcase() { - (function FACTORY(){ - Function("this.feat=\"in da haus\"").call(void 0); -})(); - - -//CHECK#1 -if (this["feat"] !== "in da haus") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T8.js deleted file mode 100644 index f9bff5f694..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T8; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Argument at call function is undefined and it called inside function declaration; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T8.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Argument at call function is undefined and it called inside function declaration", - -test: function testcase() { - (function FACTORY(){ - (function(){this.feat="kamon beyba"}).call(undefined); -})(); - - -//CHECK#1 -if (this["feat"] !== "kamon beyba") { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T9.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T9.js deleted file mode 100644 index 8f76ad4289..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T9.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A3_T9; -* @section: 15.3.4.4; -* @assertion: If thisArg is null or undefined, the called function is passed the global object as the this value; -* @description: Checking by using eval, argument at call function is void 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A3_T9", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A3_T9.js", - -assertion: "If thisArg is null or undefined, the called function is passed the global object as the this value", - -description: "Checking by using eval, argument at call function is void 0", - -test: function testcase() { - eval( " Function(\"this.feat=1\").call(void 0) " ); - - -//CHECK#1 -if (this["feat"] !== 1) { - $ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T1.js deleted file mode 100644 index 46c79085e3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A5_T1; -* @section: 15.3.4.4; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A5_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T1.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is number", - -test: function testcase() { - var obj=1; - -var retobj = Function("this.touched= true; return this;").call(obj); - -//CHECK#1 -if (typeof obj.touched !== "undefined") { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -//CHECK#2 -if (!(retobj["touched"])) { - $ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T2.js deleted file mode 100644 index 98df52394a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A5_T2; -* @section: 15.3.4.4; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is boolean true; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A5_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T2.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is boolean true", - -test: function testcase() { - var obj=true; - -var retobj = new Function("this.touched= true; return this;").call(obj); - -//CHECK#1 -if (typeof obj.touched !== "undefined") { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -//CHECK#2 -if (!(retobj["touched"])) { - $ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T3.js deleted file mode 100644 index 4f74c3abf4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A5_T3; -* @section: 15.3.4.4; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A5_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T3.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is string", - -test: function testcase() { - var obj="soap"; - -var retobj = ( function(){this.touched= true; return this;} ).call(obj); - -//CHECK#1 -if (typeof obj.touched !== "undefined") { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -//CHECK#2 -if (!(retobj["touched"])) { - $ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T4.js deleted file mode 100644 index 4724b5ba23..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A5_T4; -* @section: 15.3.4.4; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is function variable that return this; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A5_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T4.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is function variable that return this", - -test: function testcase() { - var f = function(){this.touched= true; return this;}; - -var retobj = f.call(obj); - -//CHECK#1 -if (typeof obj !== "undefined") { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -//CHECK#2 -if (!(retobj["touched"])) { - $ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - -var obj; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T5.js deleted file mode 100644 index 77b5d81f43..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T5.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A5_T5; -* @section: 15.3.4.4; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is function variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A5_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T5.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is function variable", - -test: function testcase() { - var f = function(){this.touched= true;}; - -var obj={}; - -f.call(obj); - -//CHECK#1 -if (!(obj.touched)) { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T6.js deleted file mode 100644 index 776aa9d170..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T6.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A5_T6; -* @section: 15.3.4.4; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is new String(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A5_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T6.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is new String()", - -test: function testcase() { - var obj=new String("soap"); - -( function(){this.touched= true;}).call(obj); - -//CHECK#1 -if (!(obj.touched)) { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T7.js deleted file mode 100644 index c1f0c1881c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A5_T7; -* @section: 15.3.4.4; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is new Number(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A5_T7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T7.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is new Number()", - -test: function testcase() { - var obj=new Number(1); - -Function("this.touched= true;").call(obj); - -//CHECK#1 -if (!(obj.touched)) { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T8.js deleted file mode 100644 index 64379378f8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T8.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A5_T8; -* @section: 15.3.4.4; -* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value; -* @description: thisArg is Function(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A5_T8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T8.js", - -assertion: "If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value", - -description: "thisArg is Function()", - -test: function testcase() { - var obj=Function(); - -new Function("this.touched= true; return this;").call(obj); - -//CHECK#1 -if (!(obj.touched)) { - $ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T1.js deleted file mode 100644 index 89c8188398..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T1; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (null,[1]); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T1.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (null,[1])", - -test: function testcase() { - Function("a1,a2,a3","this.shifted=a1;").call(null,[1]); - -//CHECK#1 -if (this["shifted"].constructor !== Array) { - $ERROR('#1: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - -//CHECK#2 -if (this["shifted"].length !== 1) { - $ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - -//CHECK#3 -if (this["shifted"][0] !== 1) { - $ERROR('#3: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T10.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T10.js deleted file mode 100644 index 09c540eaea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T10.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T10; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (empty object, "", arguments,2), inside function call without declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T10", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T10.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (empty object, \"\", arguments,2), inside function call without declaration used", - -test: function testcase() { - var obj={}; - -(function (){ - Function("a1,a2,a3","this.shifted=a1.length+a2+a3;").call(obj,arguments,"","2"); -})("",4,2,"a"); - -//CHECK#1 -if (obj["shifted"] !== "42") { - $ERROR('#1: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - -//CHECK#2 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T2.js deleted file mode 100644 index b343e06f55..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T2; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (null,[3,2,1]); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T2.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (null,[3,2,1])", - -test: function testcase() { - new Function("a1,a2","a3","this.shifted=a1;").call(null,[3,2,1]); - -//CHECK#1 -if (this["shifted"].length !== 3) { - $ERROR('#1: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - -//CHECK#2 -if ((this["shifted"][0] !== 3)||(this["shifted"][1] !== 2)||(this["shifted"][2] !== 1)) { - $ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T3.js deleted file mode 100644 index 3c3ef185c3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T3; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (empty object, new Array("nine","inch","nails")); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T3.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (empty object, new Array(\"nine\",\"inch\",\"nails\"))", - -test: function testcase() { - var i=0; - -var p={toString:function(){return "a"+(++i);}}; - -var obj={}; - -Function(p,"a2,a3","this.shifted=a1;").call(obj, new Array("nine","inch","nails")); - -//CHECK#1 -if (obj["shifted"].length !== 3) { - $ERROR('#1: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - -//CHECK#2 -if ((obj["shifted"][0] !== "nine")||(obj["shifted"][1] !== "inch")||(obj["shifted"][2] !== "nails")) { - $ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - -//CHECK#3 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#3: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T4.js deleted file mode 100644 index e1ef39e70c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T4; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (empty object, ( function(){return arguments;})("a","b","c","d"),"",2); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T4.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (empty object, ( function(){return arguments;})(\"a\",\"b\",\"c\",\"d\"),\"\",2)", - -test: function testcase() { - var i=0; - -var p={toString:function(){return "a"+(++i);}}; - -var obj={}; - -new Function(p,p,p, "this.shifted=a3+a2+a1.length;").call( obj,( function(){return arguments;})("a","b","c","d"),"",2 ); - -//CHECK#1 -if (obj["shifted"] !== "24") { - $ERROR('#1: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - -//CHECK#2 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T5.js deleted file mode 100644 index 6105834370..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T5; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (null, arguments,"",2), inside function declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T5.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (null, arguments,\"\",2), inside function declaration used", - -test: function testcase() { - function FACTORY(){ - Function("a1,a2,a3","this.shifted=a1.length+a2+a3;").call(null,arguments,"",2); -} - -var obj=new FACTORY("",1,2,"A"); - -//CHECK#1 -if (this["shifted"] !== "42") { - $ERROR('#1: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - -//CHECK#2 -if (typeof obj.shifted !== "undefined") { - $ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T6.js deleted file mode 100644 index e49073dcbc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T6.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T6; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (this, arguments,"",2), inside function declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T6.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (this, arguments,\"\",2), inside function declaration used", - -test: function testcase() { - function FACTORY(){ - Function("a1,a2,a3","this.shifted=a1.length+a2+a3;").call(this,arguments,"",2); -} - -var obj=new FACTORY("",4,2,"A"); - -//CHECK#1 -if (obj["shifted"] !== "42") { - $ERROR('#1: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - -//CHECK#2 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T7.js deleted file mode 100644 index 479dd44ad8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T7; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (null, arguments,"",2), inside function call without declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T7.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (null, arguments,\"\",2), inside function call without declaration used", - -test: function testcase() { - (function (){ - Function("a1,a2,a3","this.shifted=a1.length+a2+a3;").call(null,arguments,"",2); -})("",1,2,true); - -//CHECK#1 -if (this["shifted"] !== "42") { - $ERROR('#1: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T8.js deleted file mode 100644 index 3e136fc0f3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T8; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (this, arguments,"",2), inside function call without declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T8.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (this, arguments,\"\",2), inside function call without declaration used", - -test: function testcase() { - (function (){ - Function("a1,a2,a3","this.shifted=a1.length+a2+a3;").call(this,arguments,"",2); -})("",4,2,null); - -//CHECK#2 -if (this["shifted"] !== "42") { - $ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T9.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T9.js deleted file mode 100644 index 5c1ec90bc2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A6_T9; -* @section: 15.3.4.4; -* @assertion: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs -* a function call using the [[Call]] property of the object; -* @description: Argunemts of call function is (empty object, "", arguments,2), inside function declaration used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A6_T9", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A6_T9.js", - -assertion: "The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs", - -description: "Argunemts of call function is (empty object, \"\", arguments,2), inside function declaration used", - -test: function testcase() { - function FACTORY(){ - var obj = {}; - Function("a1,a2,a3","this.shifted=a1+a2.length+a3;").call(obj,"",arguments,2); - return obj; -} - -var obj=new FACTORY("",1,2,void 0); - -//CHECK#1 -if (typeof this["shifted"] !== "undefined") { - $ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...'); -} - -//CHECK#2 -if (obj.shifted !== "42") { - $ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T1.js deleted file mode 100644 index cf635d032d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A7_T1; -* @section: 15.3.4.4; -* @assertion: Function.prototype.call can't be used as [[create]] caller; -* @description: Checking if creating "new Function.prototype.call" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A7_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T1.js", - -assertion: "Function.prototype.call can\'t be used as [[create]] caller", - -description: "Checking if creating \"new Function.prototype.call\" fails", - -test: function testcase() { - try { - var obj = new Function.prototype.call; - $ERROR('#1: Function.prototype.call can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T2.js deleted file mode 100644 index bf1f6c08f2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A7_T2; -* @section: 15.3.4.4; -* @assertion: Function.prototype.call can't be used as [[create]] caller; -* @description: Checking if creating "new Function.prototype.call()" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A7_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T2.js", - -assertion: "Function.prototype.call can\'t be used as [[create]] caller", - -description: "Checking if creating \"new Function.prototype.call()\" fails", - -test: function testcase() { - try { - var FACTORY = Function.prototype.call; - var obj = new FACTORY(); - $ERROR('#1: Function.prototype.call can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T3.js deleted file mode 100644 index 0aec6ef904..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A7_T3; -* @section: 15.3.4.4; -* @assertion: Function.prototype.call can't be used as [[create]] caller; -* @description: Checking if creating "new Function.call" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A7_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T3.js", - -assertion: "Function.prototype.call can\'t be used as [[create]] caller", - -description: "Checking if creating \"new Function.call\" fails", - -test: function testcase() { - try { - var obj = new Function.call; - $ERROR('#1: Function.prototype.call can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T4.js deleted file mode 100644 index 150191a786..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A7_T4; -* @section: 15.3.4.4; -* @assertion: Function.prototype.call can't be used as [[create]] caller; -* @description: Checking if creating "new (Function("this.p1=1").call)" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A7_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T4.js", - -assertion: "Function.prototype.call can\'t be used as [[create]] caller", - -description: "Checking if creating \"new (Function(\"this.p1=1\").call)\" fails", - -test: function testcase() { - try { - var obj = new (Function("this.p1=1").call); - $ERROR('#1: Function.prototype.call can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T5.js deleted file mode 100644 index f9a59d41d7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A7_T5; -* @section: 15.3.4.4; -* @assertion: Function.prototype.call can't be used as [[create]] caller; -* @description: Checking if creating "new Function("this.p1=1").call" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A7_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T5.js", - -assertion: "Function.prototype.call can\'t be used as [[create]] caller", - -description: "Checking if creating \"new Function(\"this.p1=1\").call\" fails", - -test: function testcase() { - try { - var FACTORY = Function("this.p1=1").call; - var obj = new FACTORY(); - $ERROR('#1: Function.prototype.call can\'t be used as [[create]] caller'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T6.js deleted file mode 100644 index 44b2b82995..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T6.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A7_T6; -* @section: 15.3.4.4; -* @assertion: Function.prototype.call can't be used as [[create]] caller; -* @description: Checking if creating "new (Function("function f(){this.p1=1;};return f").call())" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A7_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A7_T6.js", - -assertion: "Function.prototype.call can\'t be used as [[create]] caller", - -description: "Checking if creating \"new (Function(\"function f(){this.p1=1;};return f\").call())\" fails", - -test: function testcase() { - //CHECK#1 -try { - var obj = new (Function("function f(){this.p1=1;};return f").call()); -} catch (e) { - $ERROR('#1: Function.prototype.call can\'t be used as [[create]] caller'); -} - -//CHECK#2 -if (obj.p1!== 1) { - $ERROR('#2: Function.prototype.call can\'t be used as [[create]] caller'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A9.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A9.js deleted file mode 100644 index 6ee9554794..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A9.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A9; -* @section: 15.3.4.4; -* @assertion: The Function.prototype.call.length property has the attribute DontDelete; -* @description: Checking if deleting the Function.prototype.call.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.4_A9", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A9.js", - -assertion: "The Function.prototype.call.length property has the attribute DontDelete", - -description: "Checking if deleting the Function.prototype.call.length property fails", - -test: function testcase() { - //CHECK#0 -if (!(Function.prototype.call.hasOwnProperty('length'))) { - $FAIL('#0: the Function.prototype.call has length property'); -} - -//CHECK#1 -if (delete Function.prototype.call.length) { - $ERROR('#1: The Function.prototype.call.length property has the attributes DontDelete'); -} - -//CHECK#2 -if (!(Function.prototype.call.hasOwnProperty('length'))) { - $FAIL('#2: The Function.prototype.call.length property has the attributes DontDelete'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js deleted file mode 100644 index 2ebdf14fef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function foo() { return bar.caller; } -var bar = foo.bind({}); -function baz() { return bar(); } -baz(); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js deleted file mode 100644 index fd961109e3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.bind.call(undefined, {}); - - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js deleted file mode 100644 index b31e976e05..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.bind.call(null, {}); - - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js deleted file mode 100644 index 32af600641..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - Function.prototype.bind.call({}, {}); - - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A16.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A16.js deleted file mode 100644 index 7ea0f95ea1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A16.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.5_A16; -* @section: 15.3.4.5; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @description: A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case bind should accept it as a valid this value. -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.5_A16", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A16.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "A RegExp is not a function, but it may be callable. Iff it is, it\'s typeof should be \'function\', in which case bind should accept it as a valid this value.", - -test: function testcase() { - var re = (/x/); -if (typeof re === 'function') { - Function.prototype.bind.call(re, undefined); -} else { - try { - Function.prototype.bind.call(re, undefined); - $FAIL('#1: If IsCallable(func) is false, ' + - 'then (bind should) throw a TypeError exception'); - } catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1: TypeError expected. Actual: ' + e); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js deleted file mode 100644 index 9dc071efa8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - - -// Converted for Test262 from original Sputnik source - - function foo() { return bar.arguments; } -var bar = foo.bind({}); -function baz() { return bar(); } -baz(); - - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T1.js deleted file mode 100644 index d75dd2e458..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.1_A1_T1; -* @section: 15.3.4.1; -* @assertion: The initial value of Function.prototype.constructor is the built-in Function constructor; -* @description: Checking Function.prototype.constructor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.1_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T1.js", - -assertion: "The initial value of Function.prototype.constructor is the built-in Function constructor", - -description: "Checking Function.prototype.constructor", - -test: function testcase() { - //CHECK#1 -if (Function.prototype.constructor !== Function) { - $ERROR('#1: The initial value of Function.prototype.constructor is the built-in Function constructor'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T2.js deleted file mode 100644 index 817b73a0e8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.1_A1_T2; -* @section: 15.3.4.1; -* @assertion: The initial value of Function.prototype.constructor is the built-in Function constructor; -* @description: Create new Function.prototype.constructor object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4.1_A1_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4.1_A1_T2.js", - -assertion: "The initial value of Function.prototype.constructor is the built-in Function constructor", - -description: "Create new Function.prototype.constructor object", - -test: function testcase() { - var constr = Function.prototype.constructor; - -var f = new constr; - -// CHECK#0 -if (f === undefined) { - $ERROR('#0: new Function() return the newly created function object.'); -} - -// CHECK#1 -if (f.constructor !== Function) { - $ERROR('#1: new Function() create a new function object'); -} - -// CHECK#2 -if (!(Function.prototype.isPrototypeOf(f))) { - $ERROR('#2: when new Function() calls the [[Prototype]] property of the newly constructed object is set to the Function prototype object.'); -} - -// CHECK#3 -var to_string_result = '[object '+ 'Function' +']'; - -delete Function.prototype.toString; - -if (f.toString() !== to_string_result) { - $ERROR('#3: when new Function() calls the [[Class]] property of the newly constructed object is set to "Function"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js deleted file mode 100644 index bc709e6c39..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4_A1; -* @section: 15.3.4; -* @assertion: The Function prototype object is itself a Function object (its [[Class]] is "Function"); -* @description: Object.prototype.toString returns [object+[[Class]]+]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4_A1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js", - -assertion: "The Function prototype object is itself a Function object (its [[Class]] is \"Function\")", - -description: "Object.prototype.toString returns [object+[[Class]]+]", - -test: function testcase() { - if (Object.prototype.toString.call(Function.prototype) !== "[object Function]") { - $ERROR('#2: The Function prototype object is itself a Function ' + - 'object (its [[Class]] is "Function") (15.3.4)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T1.js deleted file mode 100644 index 71139754bb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4_A2_T1; -* @section: 15.3.4; -* @assertion: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined; -* @description: Call Function.prototype(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4_A2_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T1.js", - -assertion: "The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined", - -description: "Call Function.prototype()", - -test: function testcase() { - //CHECK#1 -try { - if (Function.prototype() !== undefined) { - $ERROR('#1: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined'); - } -} catch (e) { - $ERROR('#1.1: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined: '+e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T2.js deleted file mode 100644 index 905c711d5f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4_A2_T2; -* @section: 15.3.4; -* @assertion: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined; -* @description: Call Function.prototype(null,void 0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4_A2_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T2.js", - -assertion: "The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined", - -description: "Call Function.prototype(null,void 0)", - -test: function testcase() { - //CHECK#1 -try { - if (Function.prototype(null,void 0) !== undefined) { - $ERROR('#1: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined'); - } -} catch (e) { - $ERROR('#1.1: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined: '+e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T3.js deleted file mode 100644 index 6ba1e22930..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4_A2_T3; -* @section: 15.3.4; -* @assertion: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined; -* @description: Call Function.prototype(x), where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4_A2_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A2_T3.js", - -assertion: "The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined", - -description: "Call Function.prototype(x), where x is undefined variable", - -test: function testcase() { - //CHECK#1 -try { - if (Function.prototype(x) !== undefined) { - var x; - $ERROR('#1: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined'); - } -} catch (e) { - $ERROR('#1.1: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined: '+e); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T1.js deleted file mode 100644 index b1ac05b1a0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4_A3_T1; -* @section: 15.3.4; -* @assertion: The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.4); -* @description: Checking prototype of Function.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4_A3_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T1.js", - -assertion: "The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.4)", - -description: "Checking prototype of Function.prototype", - -test: function testcase() { - if (Object.getPrototypeOf(Function.prototype) !== Object.prototype) { - $ERROR('#1: The value of the internal [[Prototype]] property of ' + - 'the Function prototype object is the Object prototype ' + - 'object (15.3.4)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T2.js deleted file mode 100644 index f0cab3f276..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4_A3_T2; -* @section: 15.3.4, 15.3.2.1; -* @assertion: The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.2.1); -* @description: Add new property to Object.prototype and check it at Function.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4_A3_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T2.js", - -assertion: "The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.2.1)", - -description: "Add new property to Object.prototype and check it at Function.prototype", - -test: function testcase() { - Object.prototype.indicator = 1; - -//CHECK#1 -if (Function.prototype.indicator!==1) { - $ERROR('#1: The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.2.1)'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A4.js deleted file mode 100644 index fff3cff335..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4_A4; -* @section: 15.3.4; -* @assertion: The Function prototype object does not have a valueOf property of its own. however, it inherits the valueOf property from the Object prototype Object; -* @description: Checking valueOf property at Function.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4_A4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A4.js", - -assertion: "The Function prototype object does not have a valueOf property of its own. however, it inherits the valueOf property from the Object prototype Object", - -description: "Checking valueOf property at Function.prototype", - -test: function testcase() { - //CHECK#1 -if (Function.prototype.hasOwnProperty("valueOf") !== false) { - $ERROR('#1: The Function prototype object does not have a valueOf property of its own'); -} - -//CHECK#2 -if (typeof Function.prototype.valueOf === "undefined") { - $ERROR('#2: however, it inherits the valueOf property from the Object prototype Object'); -} - -//CHECK#3 -if (Function.prototype.valueOf !== Object.prototype.valueOf) { - $ERROR('#3: however, it inherits the valueOf property from the Object prototype Object'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A5.js deleted file mode 100644 index 05eec9355a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4_A5; -* @section: 15.3.4; -* @assertion: The Function prototype object is itself a Function object without [[create]] property; -* @description: Checking if creating "new Function.prototype object" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.4_A5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A5.js", - -assertion: "The Function prototype object is itself a Function object without [[create]] property", - -description: "Checking if creating \"new Function.prototype object\" fails", - -test: function testcase() { - //CHECK# -try { - var obj = new Function.prototype; - $FAIL('#1: The Function prototype object is itself a Function object without [[create]] property: '+e); -} catch (e) { - $PRINT("#1.1: The Function prototype object is itself a Function object without [[create]] property "+e); - -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T1.js deleted file mode 100644 index fcf124ca83..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A1_T1; -* @section: 15.3.5.1; -* @assertion: The value of the length property is usually an integer that indicates the 'typical' number of arguments expected by the function; -* @description: Checking length property of Function("arg1,arg2,arg3", null); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T1.js", - -assertion: "The value of the length property is usually an integer that indicates the \'typical\' number of arguments expected by the function", - -description: "Checking length property of Function(\"arg1,arg2,arg3\", null)", - -test: function testcase() { - f = new Function("arg1,arg2,arg3", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -//CHECK#2 -if (f.length !== 3) { - $ERROR('#2: The value of the length property is usually an integer that indicates the "typical" number of arguments expected by the function'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T2.js deleted file mode 100644 index 4a18c75268..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A1_T2; -* @section: 15.3.5.1; -* @assertion: The value of the length property is usually an integer that indicates the 'typical' number of arguments expected by the function; -* @description: Checking length property of Function("arg1,arg2,arg3","arg4,arg5", null); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A1_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T2.js", - -assertion: "The value of the length property is usually an integer that indicates the \'typical\' number of arguments expected by the function", - -description: "Checking length property of Function(\"arg1,arg2,arg3\",\"arg4,arg5\", null)", - -test: function testcase() { - f = Function("arg1,arg2,arg3","arg4,arg5", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -//CHECK#2 -if (f.length !== 5) { - $ERROR('#2: The value of the length property is usually an integer that indicates the "typical" number of arguments expected by the function'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T3.js deleted file mode 100644 index eb91cf2a78..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A1_T3; -* @section: 15.3.5.1; -* @assertion: The value of the length property is usually an integer that indicates the 'typical' number of arguments expected by the function; -* @description: Checking length property of Function("arg1,arg2,arg3","arg1,arg2","arg3", null); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A1_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T3.js", - -assertion: "The value of the length property is usually an integer that indicates the \'typical\' number of arguments expected by the function", - -description: "Checking length property of Function(\"arg1,arg2,arg3\",\"arg1,arg2\",\"arg3\", null)", - -test: function testcase() { - f = new Function("arg1,arg2,arg3","arg1,arg2","arg3", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -//CHECK#2 -if (f.length !== 6) { - $ERROR('#2: The value of the length property is usually an integer that indicates the "typical" number of arguments expected by the function'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T1.js deleted file mode 100644 index 5fc2c6433a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A2_T1; -* @section: 15.3.5.1; -* @assertion: the length property has the attributes { DontDelete }; -* @description: Checking if deleting the length property of Function("arg1,arg2,arg3", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A2_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T1.js", - -assertion: "the length property has the attributes { DontDelete }", - -description: "Checking if deleting the length property of Function(\"arg1,arg2,arg3\", null) fails", - -test: function testcase() { - f = new Function("arg1,arg2,arg3", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -//CHECK#2 -if(delete f.length){ - $ERROR('#2: the function.length property has the attributes DontDelete.'); -} - -//CHECK#3 -if (!(f.hasOwnProperty('length'))) { - $ERROR('#3: the function.length property has the attributes DontDelete.'); -} - -//CHECK#4 -if (f.length !== 3) { - $ERROR('#4: the length property has the attributes { DontDelete }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T2.js deleted file mode 100644 index bb8a24f985..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A2_T2; -* @section: 15.3.5.1; -* @assertion: the length property has the attributes { DontDelete }; -* @description: Checking if deleting the length property of Function("arg1,arg2,arg3","arg4,arg5", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A2_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T2.js", - -assertion: "the length property has the attributes { DontDelete }", - -description: "Checking if deleting the length property of Function(\"arg1,arg2,arg3\",\"arg4,arg5\", null) fails", - -test: function testcase() { - f = Function("arg1,arg2,arg3","arg4,arg5", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -delete f.length; - -//CHECK#2 -if (!(f.hasOwnProperty('length'))) { - $ERROR('#2: the function.length property has the attributes DontDelete.'); -} - -//CHECK#3 -if (f.length !== 5) { - $ERROR('#3: the length property has the attributes { DontDelete }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T3.js deleted file mode 100644 index 6fd458a0af..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T3.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A2_T3; -* @section: 15.3.5.1; -* @assertion: the length property has the attributes { DontDelete }; -* @description: Checking if deleting the length property of Function("arg1,arg2,arg3","arg1,arg2","arg3", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A2_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A2_T3.js", - -assertion: "the length property has the attributes { DontDelete }", - -description: "Checking if deleting the length property of Function(\"arg1,arg2,arg3\",\"arg1,arg2\",\"arg3\", null) fails", - -test: function testcase() { - f = new Function("arg1,arg2,arg3","arg1,arg2","arg3", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -delete f.length; - -//CHECK#2 -if (!(f.hasOwnProperty('length'))) { - $ERROR('#2: the function.length property has the attributes DontDelete.'); -} - -//CHECK#3 -if (f.length !== 6) { - $ERROR('#3: the length property has the attributes { DontDelete }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T1.js deleted file mode 100644 index 40631b4796..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A3_T1; -* @section: 15.3.5.1; -* @assertion: the length property has the attributes { ReadOnly }; -* @description: Checking if varying the length property of Function("arg1,arg2,arg3","arg4,arg5", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A3_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T1.js", - -assertion: "the length property has the attributes { ReadOnly }", - -description: "Checking if varying the length property of Function(\"arg1,arg2,arg3\",\"arg4,arg5\", null) fails", - -test: function testcase() { - f = new Function("arg1,arg2,arg3","arg4,arg5", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -length = f.length; - -f.length = function(){}; - -//CHECK#2 -if (f.length !== length) { - $ERROR('#2: the function.length property has the attributes ReadOnly'); -} - -//CHECK#3 -try { - f.length(); - $ERROR('#3: the function.length property has the attributes ReadOnly'); -} catch (e) { - ; -} - -//CHECK#4 -if (f.length !== 5) { - $ERROR('#4: the length property has the attributes { ReadOnly }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T2.js deleted file mode 100644 index e21801c472..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A3_T2; -* @section: 15.3.5.1; -* @assertion: the length property has the attributes { ReadOnly }; -* @description: Checking if varying the length property of Function("arg1,arg2,arg3", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A3_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T2.js", - -assertion: "the length property has the attributes { ReadOnly }", - -description: "Checking if varying the length property of Function(\"arg1,arg2,arg3\", null) fails", - -test: function testcase() { - f = Function("arg1,arg2,arg3", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -length = f.length; - -f.length = function(){}; - -//CHECK#2 -if (f.length !== length) { - $ERROR('#2: the function.length property has the attributes ReadOnly'); -} - -//CHECK#3 -try { - f.length(); - $ERROR('#3: the function.length property has the attributes ReadOnly'); -} catch (e) { - ; -} - -//CHECK#4 -if (f.length !== 3) { - $ERROR('#4: the length property has the attributes { ReadOnly }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T3.js deleted file mode 100644 index 05c9154f4b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A3_T3; -* @section: 15.3.5.1; -* @assertion: the length property has the attributes { ReadOnly }; -* @description: Checking if varying the length property of Function("arg1,arg2,arg3","arg1,arg2","arg3", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A3_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A3_T3.js", - -assertion: "the length property has the attributes { ReadOnly }", - -description: "Checking if varying the length property of Function(\"arg1,arg2,arg3\",\"arg1,arg2\",\"arg3\", null) fails", - -test: function testcase() { - f = new Function("arg1,arg2,arg3","arg1,arg2","arg3", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -length = f.length; - -f.length = function(){}; - -//CHECK#2 -if (f.length !== length) { - $ERROR('#2: the function.length property has the attributes ReadOnly'); -} - -//CHECK#3 -try { - f.length(); - $ERROR('#3: the function.length property has the attributes ReadOnly'); -} catch (e) { - ; -} - -//CHECK#4 -if (f.length !== 6) { - $ERROR('#4: the length property has the attributes { ReadOnly }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T1.js deleted file mode 100644 index 45d8f51605..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A4_T1; -* @section: 15.3.5.1; -* @assertion: the length property has the attributes { DontEnum }; -* @description: Checking if enumerating the length property of Function("arg1,arg2,arg3", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A4_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T1.js", - -assertion: "the length property has the attributes { DontEnum }", - -description: "Checking if enumerating the length property of Function(\"arg1,arg2,arg3\", null) fails", - -test: function testcase() { - f = new Function("arg1,arg2,arg3", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -for(key in f) - if(key=="length") - var lengthenumed=true; - -//CHECK#2 -if (lengthenumed) { - $ERROR('#2: the length property has the attributes { DontEnum }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T2.js deleted file mode 100644 index 1e12c20fe3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A4_T2; -* @section: 15.3.5.1; -* @assertion: the length property has the attributes { DontEnum }; -* @description: Checking if enumerating the length property of Function("arg1,arg2,arg3","arg4,arg5", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A4_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T2.js", - -assertion: "the length property has the attributes { DontEnum }", - -description: "Checking if enumerating the length property of Function(\"arg1,arg2,arg3\",\"arg4,arg5\", null) fails", - -test: function testcase() { - f = Function("arg1,arg2,arg3","arg5,arg4", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -for(key in f) - if(key=="length") - var lengthenumed=true; - -//CHECK#2 -if (lengthenumed) { - $ERROR('#2: the length property has the attributes { DontEnum }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T3.js deleted file mode 100644 index 5ac7f16897..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A4_T3; -* @section: 15.3.5.1; -* @assertion: the length property has the attributes { DontEnum }; -* @description: Checking if enumerating the length property of Function("arg1,arg2,arg3","arg1,arg2","arg3", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.1_A4_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A4_T3.js", - -assertion: "the length property has the attributes { DontEnum }", - -description: "Checking if enumerating the length property of Function(\"arg1,arg2,arg3\",\"arg1,arg2\",\"arg3\", null) fails", - -test: function testcase() { - f = new Function("arg1,arg2,arg3","arg1,arg2","arg3", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -for(key in f) - if(key=="length") - var lengthenumed=true; - -//CHECK#2 -if (lengthenumed) { - $ERROR('#2: the length property has the attributes { DontEnum }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T1.js deleted file mode 100644 index dd3b601ba8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.2_A1_T1; -* @section: 15.3.5.2; -* @assertion: the prototype property has the attributes { DontDelete }; -* @description: Checking if deleting the prototype property of Function("", null) fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.2_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T1.js", - -assertion: "the prototype property has the attributes { DontDelete }", - -description: "Checking if deleting the prototype property of Function(\"\", null) fails", - -test: function testcase() { - f = new Function("", null); - -//CHECK#1 -if (!(f.hasOwnProperty('prototype'))) { - $FAIL('#1: the function has length property.'); -} - -fproto = f.prototype; - -//CHECK#2 -if (delete f.prototype) { - $ERROR('#2: the prototype property has the attributes { DontDelete }'); -} - -//CHECK#3 -if (f.prototype !== fproto) { - $ERROR('#3: the prototype property has the attributes { DontDelete }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T2.js deleted file mode 100644 index 840f24f875..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.2_A1_T2; -* @section: 15.3.5.2; -* @assertion: the prototype property has the attributes { DontDelete }; -* @description: Checking if deleting the prototype property of Function(void 0, "") fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.2_A1_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.2_A1_T2.js", - -assertion: "the prototype property has the attributes { DontDelete }", - -description: "Checking if deleting the prototype property of Function(void 0, \"\") fails", - -test: function testcase() { - f = Function(void 0, ""); - -//CHECK#1 -if (!(f.hasOwnProperty('prototype'))) { - $FAIL('#1: the function has length property.'); -} - -fproto = f.prototype; - -//CHECK#2 -if (delete f.prototype) { - $ERROR('#2: the prototype property has the attributes { DontDelete }'); -} - -//CHECK#3 -if (f.prototype !== fproto) { - $ERROR('#3: the prototype property has the attributes { DontDelete }'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T1.js deleted file mode 100644 index 44b9313583..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A1_T1; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false; -* @description: V is number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T1.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false", - -description: "V is number", - -test: function testcase() { - FACTORY = Function("name","this.name=name;"); - -//CHECK#1 -if ((1 instanceof FACTORY)!==false) { - $ERROR('#1: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T2.js deleted file mode 100644 index 98c0ebf2d0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A1_T2; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false; -* @description: V is string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A1_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T2.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false", - -description: "V is string", - -test: function testcase() { - FACTORY = Function("name","this.name=name;"); - -//CHECK#1 -if (("1" instanceof FACTORY)!==false) { - $ERROR('#1: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T3.js deleted file mode 100644 index db811f8e4b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A1_T3; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false; -* @description: V is boolean true; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A1_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T3.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false", - -description: "V is boolean true", - -test: function testcase() { - FACTORY = Function("name","this.name=name;"); - -//CHECK#1 -if ((true instanceof FACTORY)!==false) { - $ERROR('#1: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T4.js deleted file mode 100644 index 0d5397263b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A1_T4; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false; -* @description: V is boolean false; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A1_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T4.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false", - -description: "V is boolean false", - -test: function testcase() { - FACTORY = Function("name","this.name=name;"); - -//CHECK#1 -if ((false instanceof FACTORY)!==false) { - $ERROR('#1: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T5.js deleted file mode 100644 index a5258090f9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A1_T5; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false; -* @description: V is void 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A1_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T5.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false", - -description: "V is void 0", - -test: function testcase() { - FACTORY = Function("name","this.name=name;"); - -//CHECK#1 -if ((void 0 instanceof FACTORY)!==false) { - $ERROR('#1: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T6.js deleted file mode 100644 index cc6eddf161..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T6.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A1_T6; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false; -* @description: V is null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A1_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T6.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false", - -description: "V is null", - -test: function testcase() { - FACTORY = Function("name","this.name=name;"); - -//CHECK#1 -if ((null instanceof FACTORY)!==false) { - $ERROR('#1: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T7.js deleted file mode 100644 index ffbd941443..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T7.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A1_T7; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false; -* @description: V is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A1_T7", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T7.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false", - -description: "V is undefined", - -test: function testcase() { - FACTORY = Function("name","this.name=name;"); - -//CHECK#1 -if ((undefined instanceof FACTORY)!==false) { - $ERROR('#1: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T8.js deleted file mode 100644 index baf1b18e94..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T8.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A1_T8; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false; -* @description: V is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A1_T8", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A1_T8.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false", - -description: "V is undefined variable", - -test: function testcase() { - FACTORY = Function("name","this.name=name;"); - -//CHECK#1 -if ((x instanceof FACTORY)!==false) { - $ERROR('#1: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false'); -} - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T2.js deleted file mode 100644 index e5602032d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A2_T2; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V and V is an object, the following steps are taken: -* i) Call the [[Get]] method of F with property name "prototype". -* ii) Let O be Result(i). -* iii) O is not an object, throw a TypeError exception; -* @description: F.prototype is undefined, and V is empty object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A2_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T2.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V and V is an object, the following steps are taken:", - -description: "F.prototype is undefined, and V is empty object", - -test: function testcase() { - FACTORY = new Function; - -FACTORY.prototype = undefined; - -obj={}; - -//CHECK#1 -try { - obj instanceof FACTORY; - $FAIL('#1: O is not an object, throw a TypeError exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: O is not an object, throw a TypeError exception'); - } -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T5.js deleted file mode 100644 index 2b3d211817..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T5.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.3.5.3_A2_T5; - * @section: 15.3.5.3, 11.8.6; - * @assertion: Assume F is a Function object. When the [[HasInstance]] method of - * F is called with value V and V is an object, the following steps - * are taken: i) Call the [[Get]] method of F with property name - * "prototype". ii) Let O be Result(i). iii) O is not an object, - * throw a TypeError exception; - * @description: F.prototype is void 0, and V is new F; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A2_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T5.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of", - -description: "F.prototype is void 0, and V is new F", - -test: function testcase() { - FACTORY = Function("this.prop=1;"); - -FACTORY.prototype.name = "fairy"; - -instance = new FACTORY; - -FACTORY.prototype = void 0; - -// CHECK#1 -try { - instance instanceof FACTORY; - $FAIL('#1: O is not an object, throw a TypeError exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: O is not an object, throw a TypeError exception'); - } -} - -// CHECK#2 -if ((instance.constructor !== FACTORY) || (instance.name !== "fairy")) { - $ERROR('#2: instance.constructor === FACTORY'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T6.js deleted file mode 100644 index c688abbe49..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T6.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.3.5.3_A2_T6; - * @section: 15.3.5.3, 11.8.6; - * @assertion: Assume F is a Function object. When the [[HasInstance]] method of - * F is called with value V and V is an object, the following steps - * are taken: i) Call the [[Get]] method of F with property name - * "prototype". ii) Let O be Result(i). iii) O is not an object, - * throw a TypeError exception; - * @description: F.prototype is string, and V is function; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A2_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A2_T6.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of", - -description: "F.prototype is string, and V is function", - -test: function testcase() { - FACTORY = new Function; - -FACTORY.prototype = "error"; - -// CHECK#1 -try { - ( function() { - }) instanceof FACTORY; - $FAIL('#1: O is not an object, throw a TypeError exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: O is not an object, throw a TypeError exception'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T1.js deleted file mode 100644 index ad3209da58..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A3_T1; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V and V is an object, the following steps are taken: -* i) Call the [[Get]] method of F with property name "prototype". -* ii) Let O be Result(i) and O is an object. -* iii) Let V be the value of the [[Prototype]] property of V. -* iv) If V is null, return false. -* v) If O and V refer to the same object or if they refer to objects joined to each other (13.1.2), return true. -* vi) Go to step iii); -* @description: F.prototype.type is 1, and V is new F; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A3_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T1.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V and V is an object, the following steps are taken:", - -description: "F.prototype.type is 1, and V is new F", - -test: function testcase() { - FACTORY = Function("this.name=\"root\""); - -FACTORY.prototype.type=1; - -instance = new FACTORY; - -//CHECK#1 -if (!(instance instanceof FACTORY)) { - $ERROR('#1: If O and V refer to the same object or if they refer to objects joined to each other (13.1.2), return true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T2.js deleted file mode 100644 index 49ae895546..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.3_A3_T2; -* @section: 15.3.5.3, 11.8.6; -* @assertion: Assume F is a Function object. When the [[HasInstance]] method of F is called with value V and V is an object, the following steps are taken: -* i) Call the [[Get]] method of F with property name "prototype". -* ii) Let O be Result(i) and O is an object. -* iii) Let V be the value of the [[Prototype]] property of V. -* iv) If V is null, return false. -* v) If O and V refer to the same object or if they refer to objects joined to each other (13.1.2), return true. -* vi) Go to step iii); -* @description: F.prototype is Object.prototype, and V is empty object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5.3_A3_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.3_A3_T2.js", - -assertion: "Assume F is a Function object. When the [[HasInstance]] method of F is called with value V and V is an object, the following steps are taken:", - -description: "F.prototype is Object.prototype, and V is empty object", - -test: function testcase() { - FAKEFACTORY = Function(); - -fakeinstance = {}; - -//CHECK#1 -if (fakeinstance instanceof FAKEFACTORY) { - $ERROR('#1: If O and V refer to the same object or if they refer to objects joined to each other (13.1.2), return true'); -} - -FAKEFACTORY.prototype=Object.prototype; - -//CHECK#2 -if (!(fakeinstance instanceof FAKEFACTORY)) { - $ERROR('#2: If O and V refer to the same object or if they refer to objects joined to each other (13.1.2), return true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T1.js deleted file mode 100644 index 9f1097cc6a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5_A1_T1; -* @section: 15.3.5; -* @assertion: The value of the [[Class]] property is "Function"; -* @description: For testing use variable f = new Function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T1.js", - -assertion: "The value of the [[Class]] property is \"Function\"", - -description: "For testing use variable f = new Function", - -test: function testcase() { - var f = new Function; - -if (Object.prototype.toString.call(f) !== "[object Function]") { - $ERROR('#1: The value of the [[Class]] property is "Function"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T2.js deleted file mode 100644 index 42b5c6adff..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5_A1_T2; -* @section: 15.3.5; -* @assertion: The value of the [[Class]] property is "Function" ; -* @description: For testing use variable f = Function(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5_A1_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T2.js", - -assertion: "The value of the [[Class]] property is \"Function\"", - -description: "For testing use variable f = Function()", - -test: function testcase() { - var f = Function(); - -if (Object.prototype.toString.call(f) !== "[object Function]") { - $ERROR('#1: The value of the [[Class]] property is "Function"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T1.js deleted file mode 100644 index 6744fda5df..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5_A2_T1; -* @section: 15.3.5; -* @assertion: Every function instance has a [[Call]] property ; -* @description: For testing call Function("var x =1; this.y=2;return \"OK\";")(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5_A2_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T1.js", - -assertion: "Every function instance has a [[Call]] property", - -description: "For testing call Function(\"var x =1; this.y=2;return \\\"OK\\\";\")()", - -test: function testcase() { - //CHECK#1 -if (Function("var x =1; this.y=2;return \"OK\";")() !== "OK") { - $ERROR('#1: Every function instance has a [[Call]] property'); -} - -//CHECK#2 -if (typeof x !== "undefined") { - $ERROR('#2: Every function instance has a [[Call]] property'); -} - -//CHECK#3 -if (y !== 2) { - $ERROR('#3: Every function instance has a [[Call]] property'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T2.js deleted file mode 100644 index 405ba8bf9e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5_A2_T2; -* @section: 15.3.5; -* @assertion: Every function instance has a [[Call]] property ; -* @description: For testing call (new Function("arg1,arg2","var x =arg1; this.y=arg2;return arg1+arg2;"))("1",2); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5_A2_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A2_T2.js", - -assertion: "Every function instance has a [[Call]] property", - -description: "For testing call (new Function(\"arg1,arg2\",\"var x =arg1; this.y=arg2;return arg1+arg2;\"))(\"1\",2)", - -test: function testcase() { - //CHECK#1 -if ((new Function("arg1,arg2","var x =arg1; this.y=arg2;return arg1+arg2;"))("1",2) !== "12") { - $ERROR('#1: Every function instance has a [[Call]] property'); -} - -//CHECK#2 -if (typeof x !== "undefined") { - $ERROR('#2: Every function instance has a [[Call]] property'); -} - -//CHECK#3 -if (y !== 2) { - $ERROR('#3: Every function instance has a [[Call]] property'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T1.js deleted file mode 100644 index d988ee4751..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5_A3_T1; -* @section: 15.3.5; -* @assertion: every function instance has a [[Construct]] property ; -* @description: As constructor use Function("var x =1; this.y=2;return \"OK\";"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5_A3_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T1.js", - -assertion: "every function instance has a [[Construct]] property", - -description: "As constructor use Function(\"var x =1; this.y=2;return \\\"OK\\\";\")", - -test: function testcase() { - FACTORY = Function("var x =1; this.y=2;return \"OK\";"); -obj = new FACTORY; - -//CHECK#1 -if (typeof obj !== "object") { - $ERROR('#1: every function instance has a [[Construct]] property'); -} - -//CHECK#2 -if (obj.constructor !== FACTORY) { - $ERROR('#2: every function instance has a [[Construct]] property'); -} - -//CHECK#3 -if (obj.y !== 2) { - $ERROR('#3: every function instance has a [[Construct]] property'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T2.js deleted file mode 100644 index 0eaf0634cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5_A3_T2; -* @section: 15.3.5; -* @assertion: every function instance has a [[Construct]] property ; -* @description: As constructor use new Function("arg1,arg2","var x =1; this.y=arg1+arg2;return \"OK\";"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.5_A3_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A3_T2.js", - -assertion: "every function instance has a [[Construct]] property", - -description: "As constructor use new Function(\"arg1,arg2\",\"var x =1; this.y=arg1+arg2;return \\\"OK\\\";\")", - -test: function testcase() { - FACTORY = new Function("arg1,arg2","var x =1; this.y=arg1+arg2;return \"OK\";"); -obj = new FACTORY("1",2); - -//CHECK#1 -if (typeof obj !== "object") { - $ERROR('#1: every function instance has a [[Construct]] property'); -} - -//CHECK#2 -if (obj.constructor !== FACTORY) { - $ERROR('#2: every function instance has a [[Construct]] property'); -} - -//CHECK#3 -if (obj.y !== "12") { - $ERROR('#3: every function instance has a [[Construct]] property'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3.1_A1_T1.js deleted file mode 100644 index 2eb4082f38..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3.1_A1_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.1_A1_T1; -* @section: 15.3.1; -* @assertion: The function call Function(…) is equivalent to the object creation expression -* new Function(…) with the same arguments. -* @description: Create simple functions and check returned values; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3.1_A1_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3.1_A1_T1.js", - -assertion: "The function call Function(…) is equivalent to the object creation expression", - -description: "Create simple functions and check returned values", - -test: function testcase() { - var f = Function("return arguments[0];"); - -//CHECK#1 -if (!(f instanceof Function)){ - $ERROR('#1: f instanceof Function'); -} - -//CHECK#2 -if (f(1) !== 1) { - $ERROR('#2: f(1) !== 1'); -} - -var g = new Function("return arguments[0];"); - - -//CHECK#3 -if (!(g instanceof Function)) { - $ERROR('#3: g instanceof Function'); -} - -//CHECK#4 -if (g("A") !== "A") { - $ERROR('#4: g("A") !== "A"'); -} - -//CHECK#5 -if (g("A") !== f("A")) { - $ERROR('#5: g("A") !== f("A")'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A1.js deleted file mode 100644 index 392d1815a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.3_A1; - * @section: 15.3; - * @assertion: Function is the property of global; - * @description: Compare Function with this.Function; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3_A1", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3_A1.js", - -assertion: "Function is the property of global", - -description: "Compare Function with this.Function", - -test: function testcase() { - var obj = Function; - -var thisobj = this.Function; - -if (obj !== thisobj) { - $ERROR('Function is the property of global'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A2_T1.js deleted file mode 100644 index 37f2ce3a15..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3_A2_T1; -* @section: 15.3, 10.2.3, 15.3.2.1; -* @assertion: Since applying the "call" method to Function constructor themself leads to creating a new function instance, the second argument must be a valid function body; -* @description: Checking if executing "Function.call(this, "var x / = 1;")" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3_A2_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3_A2_T1.js", - -assertion: "Since applying the \"call\" method to Function constructor themself leads to creating a new function instance, the second argument must be a valid function body", - -description: "Checking if executing \"Function.call(this, \"var x / = 1;\")\" fails", - -test: function testcase() { - //CHECK# -try{ - Function.call(this, "var x / = 1;"); -} catch(e){ - if (!(e instanceof SyntaxError)) { - $ERROR('#1: function body must be valid'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A2_T2.js deleted file mode 100644 index 471cdb7092..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A2_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3_A2_T2; -* @section: 15.3, 10.2.3, 15.3.2.1; -* @assertion: Since applying the "call" method to Function constructor themself leads to creating a new function instance, the second argument must be a valid function body; -* @description: Checking if executing "Function.call(this, "var #x = 1;")" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3_A2_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3_A2_T2.js", - -assertion: "Since applying the \"call\" method to Function constructor themself leads to creating a new function instance, the second argument must be a valid function body", - -description: "Checking if executing \"Function.call(this, \"var #x = 1;\")\" fails", - -test: function testcase() { - //CHECK# -try{ - Function.call(this, "var #x = 1;"); -} catch(e){ - if (!(e instanceof SyntaxError)) { - $ERROR('#1: function body must be valid'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T1.js deleted file mode 100644 index d64800e054..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T1.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3_A3_T1; -* @section: 15.3; -* @assertion: Since when call is used for Function constructor themself new function instance creates -* and then first argument(thisArg) should be ignored; -* @description: First argument is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3_A3_T1", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3_A3_T1.js", - -assertion: "Since when call is used for Function constructor themself new function instance creates", - -description: "First argument is object", - -test: function testcase() { - //CHECK#1 -try{ - var f = Function.call(mars, "return name;"); - $ERROR('#1: When applied to the Function object itself, thisArg should be ignored'); -} catch(e){ - if (!(e instanceof ReferenceError)) { - $ERROR('#1.1: When applied to the Function object itself, thisArg should be ignored'); - } -} - -var mars={name:"mars", color:"red", number:4}; - -var f = Function.call(mars, "this.godname=\"ares\"; return this.color;"); - -var about_mars = f(); - -//CHECK#2 -if (about_mars !== undefined) { - $ERROR('#2: When applied to the Function object itself, thisArg should be ignored'); -} - -//CHECK#3 -if (this.godname !== "ares") { - $ERROR('#3: When applied to the Function object itself, thisArg should be ignored'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T2.js deleted file mode 100644 index 4f60991f03..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3_A3_T2; -* @section: 15.3; -* @assertion: Since when call is used for Function constructor themself new function instance creates -* and then first argument(thisArg) should be ignored; -* @description: First argument is string and null; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3_A3_T2", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3_A3_T2.js", - -assertion: "Since when call is used for Function constructor themself new function instance creates", - -description: "First argument is string and null", - -test: function testcase() { - this.color="red"; -var name="mars"; - -var f = Function.call("blablastring", "return this.color;"); - -//CHECK#1 -if (f() !== "red") { - $ERROR('#1: '); -} - -var g = Function.call(null, "return this.name;"); - -//CHECK#2 -if (g() !== "mars") { - $ERROR('#2: '); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T3.js deleted file mode 100644 index 7945a842fa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T3.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3_A3_T3; -* @section: 15.3, 10.2.3; -* @assertion: Since when call is used for Function constructor themself new function instance creates -* and then first argument(thisArg) should be ignored; -* @description: First argument is this, and this don`t have needed variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3_A3_T3", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3_A3_T3.js", - -assertion: "Since when call is used for Function constructor themself new function instance creates", - -description: "First argument is this, and this don`t have needed variable", - -test: function testcase() { - var f=Function.call(this, "return planet;"); -var g=Function.call(this, "return color;"); - -//CHECK#1 -try{ - f(); - $ERROR('#1: '); -} catch(e){ - if (!(e instanceof ReferenceError)) - $ERROR('#1.1: '); -} - -var planet="mars"; - -//CHECK#2 -if (f() !== "mars") { - $ERROR('#2: '); -} - -//CHECK#3 -try{ - g(); - $ERROR('#3: '); -} catch(e){ - if (!(e instanceof ReferenceError)) - $ERROR('#3.1: '); -} - -this.color="red"; - -//CHECK#4 -if (g() !== "red") { - $ERROR('#4: '); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T4.js deleted file mode 100644 index 9ea1d74e84..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3_A3_T4; -* @section: 15.3, 10.2.3; -* @assertion: Since when call is used for Function constructor themself new function instance creates -* and then first argument(thisArg) should be ignored; -* @description: First argument is this, and this have needed variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3_A3_T4", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3_A3_T4.js", - -assertion: "Since when call is used for Function constructor themself new function instance creates", - -description: "First argument is this, and this have needed variable", - -test: function testcase() { - var f=Function.call(this, "return planet;"); - -//CHECK#1 -if (f() !== undefined) { - $ERROR('#1: '); -} - -var planet="mars"; - -//CHECK#2 -if (f() !== "mars") { - $ERROR('#2: '); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T5.js deleted file mode 100644 index 7a60457403..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T5.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3_A3_T5; -* @section: 15.3, 10.2.3; -* @assertion: Since when call is used for Function constructor themself new function instance creates -* and then first argument(thisArg) should be ignored; -* @description: First argument is this, and this don`t have needed variable. Function return this.var_name; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3_A3_T5", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3_A3_T5.js", - -assertion: "Since when call is used for Function constructor themself new function instance creates", - -description: "First argument is this, and this don`t have needed variable. Function return this.var_name", - -test: function testcase() { - var f=Function.call(this, "return this.planet;"); -var g=Function.call(this, "return this.color;"); - -//CHECK#1 -if (f() !== undefined) { - $ERROR('#2: '); -} - -var planet="mars"; - -//CHECK#2 -if (f() !== "mars") { - $ERROR('#2: '); -} - -//CHECK#3 -if (g() !== undefined) { - $ERROR('#3: '); -} - -this.color="red"; - -//CHECK#4 -if (g() !== "red") { - $ERROR('#4: '); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T6.js deleted file mode 100644 index 50eba23473..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/S15.3_A3_T6.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3_A3_T6; -* @section: 15.3, 10.2.3; -* @assertion: Since when call is used for Function constructor themself new function instance creates -* and then first argument(thisArg) should be ignored; -* @description: First argument is this, and this have needed variable. Function return this.var_name; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.3_A3_T6", - -path: "TestCases/15_Native/15.3_Function_Objects/S15.3_A3_T6.js", - -assertion: "Since when call is used for Function constructor themself new function instance creates", - -description: "First argument is this, and this have needed variable. Function return this.var_name", - -test: function testcase() { - var f=Function.call(this, "return this.planet;"); - -//CHECK#1 -if (f() !== undefined) { - $ERROR('#1: '); -} - -var planet="mars"; - -//CHECK#2 -if (f() !== "mars") { - $ERROR('#2: '); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T1.js deleted file mode 100644 index 52bc85be35..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.1_A1.1_T1; - * @section: 15.4.1, 15.2.4.5; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Array prototype object, the one that - * is the initial value of Array.prototype; - * @description: Create new property of Array.prototype. When new Array object has this property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.1_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T1.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Create new property of Array.prototype. When new Array object has this property", - -test: function testcase() { - //CHECK#1 -Array.prototype.myproperty = 1; -var x = Array(); -if (x.myproperty !== 1) { - $ERROR('#1: Array.prototype.myproperty = 1; var x = Array(); x.myproperty === 1. Actual: ' + (x.myproperty)); -} - -//CHECK#2 -if (x.hasOwnProperty('myproperty') !== false) { - $ERROR('#2: Array.prototype.myproperty = 1; var x = Array(); x.hasOwnProperty(\'myproperty\') === false. Actual: ' + (x.hasOwnProperty('myproperty'))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T2.js deleted file mode 100644 index 762c20502d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.1_A1.1_T2; - * @section: 15.4.1, 15.2.4.2; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Array prototype object, the one that - * is the initial value of Array.prototype; - * @description: Array.prototype.toString = Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.1_A1.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T2.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Array.prototype.toString = Object.prototype.toString", - -test: function testcase() { - //CHECK#1 -Array.prototype.toString = Object.prototype.toString; -var x = Array(); -if (x.toString() !== "[object " + "Array" + "]") { - $ERROR('#1: Array.prototype.toString = Object.prototype.toString; var x = Array(); x.toString() === "[object " + "Array" + "]". Actual: ' + (x.toString())); -} - -//CHECK#2 -Array.prototype.toString = Object.prototype.toString; -var x = Array(0,1,2); -if (x.toString() !== "[object " + "Array" + "]") { - $ERROR('#2: Array.prototype.toString = Object.prototype.toString; var x = Array(0,1,2); x.toString() === "[object " + "Array" + "]". Actual: ' + (x.toString())); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T3.js deleted file mode 100644 index 7ddc78cfc6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.1_A1.1_T3; - * @section: 15.4.1, 15.2.4.6; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Array prototype object, the one that - * is the initial value of Array.prototype; - * @description: Checking use isPrototypeOf; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.1_A1.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.1_T3.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Checking use isPrototypeOf", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.isPrototypeOf(Array()) !== true) { - $ERROR('#1: Array.prototype.isPrototypeOf(Array()) === true. Actual: ' + (Array.prototype.isPrototypeOf(Array()))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.2_T1.js deleted file mode 100644 index 2a8ce5d302..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.2_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.1_A1.2_T1; - * @section: 15.4.1, 15.2.4.2; - * @assertion: The [[Class]] property of the newly constructed object is set to "Array"; - * @description: Checking use Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.1_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.2_T1.js", - -assertion: "The [[Class]] property of the newly constructed object is set to \"Array\"", - -description: "Checking use Object.prototype.toString", - -test: function testcase() { - //CHECK#1 -var x = Array(); -x.getClass = Object.prototype.toString; -if (x.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = Array(); x.getClass = Object.prototype.toString; x is Array object. Actual: ' + (x.getClass())); -} - -//CHECK#2 -var x = Array(0,1,2); -x.getClass = Object.prototype.toString; -if (x.getClass() !== "[object " + "Array" + "]") { - $ERROR('#2: var x = Array(0,1,2); x.getClass = Object.prototype.toString; x is Array object. Actual: ' + (x.getClass())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.3_T1.js deleted file mode 100644 index 123d9d89b6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.3_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.1_A1.3_T1; - * @section: 15.4.1; - * @assertion: This description of Array constructor applies if and only if - * the Array constructor is given no arguments or at least two arguments; - * @description: Checking case when Array constructor is given one argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.1_A1.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A1.3_T1.js", - -assertion: "This description of Array constructor applies if and only if", - -description: "Checking case when Array constructor is given one argument", - -test: function testcase() { - var x = Array(2); - -//CHECK#1 -if (x.length === 1) { - $ERROR('#1: var x = Array(2); x.length !== 1'); -} - -//CHECK#2 -if (x[0] === 2) { - $ERROR('#2: var x = Array(2); x[0] !== 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.1_T1.js deleted file mode 100644 index ce62556837..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.1_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.1_A2.1_T1; - * @section: 15.4.1; - * @assertion: The length property of the newly constructed object; - * is set to the number of arguments; - * @description: Array constructor is given no arguments or at least two arguments -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.1_A2.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.1_T1.js", - -assertion: "The length property of the newly constructed object", - -description: "Array constructor is given no arguments or at least two arguments", - -test: function testcase() { - //CHECK#1 -if (Array().length !== 0) { - $ERROR('#1: (Array().length === 0. Actual: ' + (Array().length)); -} - -//CHECK#2 -if (Array(0,1,0,1).length !== 4) { - $ERROR('#2: (Array(0,1,0,1).length === 4. Actual: ' + (Array(0,1,0,1).length)); -} - -//CHECK#3 -if (Array(undefined, undefined).length !== 2) { - $ERROR('#3: (Array(undefined, undefined).length === 2. Actual: ' + (Array(undefined, undefined).length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.2_T1.js deleted file mode 100644 index 68eba3376f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.2_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.1_A2.2_T1; - * @section: 15.4.1; - * @assertion: The 0 property of the newly constructed object is set to item0 - * (if supplied); the 1 property of the newly constructed object is set to item1 - * (if supplied); and, in general, for as many arguments as there are, the k property - * of the newly constructed object is set to argument k, where the first argument is - * considered to be argument number 0; - * @description: Checking correct work this algorithm; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.1_A2.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A2.2_T1.js", - -assertion: "The 0 property of the newly constructed object is set to item0", - -description: "Checking correct work this algorithm", - -test: function testcase() { - //CHECK# -var x = Array( -0,1,2,3,4,5,6,7,8,9, -10,11,12,13,14,15,16,17,18,19, -20,21,22,23,24,25,26,27,28,29, -30,31,32,33,34,35,36,37,38,39, -40,41,42,43,44,45,46,47,48,49, -50,51,52,53,54,55,56,57,58,59, -60,61,62,63,64,65,66,67,68,69, -70,71,72,73,74,75,76,77,78,79, -80,81,82,83,84,85,86,87,88,89, -90,91,92,93,94,95,96,97,98,99 -); - -for (var i = 0; i < 100; i++) { - var result = true; - if (x[i] !== i) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: x[i] === i. Actual: ' + (x[i])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A3.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A3.1_T1.js deleted file mode 100644 index bd86dda91a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A3.1_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.1_A3.1_T1; - * @section: 15.4.1, 11.4.3, 11.8.6; - * @assertion: When Array is called as a function rather than as a constructor, - * it creates and initialises a new Array object; - * @description: Checking use typeof, instanceof; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.1_A3.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.1_The_Array_Constructor_Called_as_a_Function/S15.4.1_A3.1_T1.js", - -assertion: "When Array is called as a function rather than as a constructor,", - -description: "Checking use typeof, instanceof", - -test: function testcase() { - //CHECK#1 -if (typeof Array() !== "object") { - $ERROR('#1: typeof Array() === "object". Actual: ' + (typeof Array())); -} - -//CHECK#2 -if ((Array() instanceof Array) !== true) { - $ERROR('#2: (Array() instanceof Array) === true. Actual: ' + (Array() instanceof Array)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T1.js deleted file mode 100644 index d89e702171..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.1_A1.1_T1; - * @section: 15.4.2.1, 15.2.4.5; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Array prototype object, the one that - * is the initial value of Array.prototype; - * @description: Create new property of Array.prototype. When new Array object has this property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.1_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T1.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Create new property of Array.prototype. When new Array object has this property", - -test: function testcase() { - //CHECK#1 -Array.prototype.myproperty = 1; -var x = new Array(); -if (x.myproperty !== 1) { - $ERROR('#1: Array.prototype.myproperty = 1; var x = new Array(); x.myproperty === 1. Actual: ' + (x.myproperty)); -} - -//CHECK#2 -if (x.hasOwnProperty('myproperty') !== false) { - $ERROR('#2: Array.prototype.myproperty = 1; var x = new Array(); x.hasOwnProperty(\'myproperty\') === false. Actual: ' + (x.hasOwnProperty('myproperty'))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T2.js deleted file mode 100644 index a912cecb7d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.1_A1.1_T2; - * @section: 15.4.2.1, 15.2.4.2; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Array prototype object, the one that - * is the initial value of Array.prototype; - * @description: Array.prototype.toString = Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.1_A1.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T2.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Array.prototype.toString = Object.prototype.toString", - -test: function testcase() { - //CHECK#1 -Array.prototype.toString = Object.prototype.toString; -var x = new Array(); -if (x.toString() !== "[object " + "Array" + "]") { - $ERROR('#1: Array.prototype.toString = Object.prototype.toString; var x = new Array(); x.toString() === "[object " + "Array" + "]". Actual: ' + (x.toString())); -} - -//CHECK#2 -Array.prototype.toString = Object.prototype.toString; -var x = new Array(0,1,2); -if (x.toString() !== "[object " + "Array" + "]") { - $ERROR('#2: Array.prototype.toString = Object.prototype.toString; var x = new Array(0,1,2); x.toString() === "[object " + "Array" + "]". Actual: ' + (x.toString())); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T3.js deleted file mode 100644 index 38b98e8c97..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.1_A1.1_T3; - * @section: 15.4.2.1, 15.2.4.6; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Array prototype object, the one that - * is the initial value of Array.prototype; - * @description: Checking use isPrototypeOf; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.1_A1.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.1_T3.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Checking use isPrototypeOf", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.isPrototypeOf(new Array()) !== true) { - $ERROR('#1: Array.prototype.isPrototypeOf(new Array()) === true. Actual: ' + (Array.prototype.isPrototypeOf(new Array()))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.2_T1.js deleted file mode 100644 index a4cf8ccd5e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.2_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.1_A1.2_T1; - * @section: 15.4.2.1, 15.2.4.2; - * @assertion: The [[Class]] property of the newly constructed object is set to "Array"; - * @description: Checking use Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.1_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.2_T1.js", - -assertion: "The [[Class]] property of the newly constructed object is set to \"Array\"", - -description: "Checking use Object.prototype.toString", - -test: function testcase() { - //CHECK#1 -var x = new Array(); -x.getClass = Object.prototype.toString; -if (x.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = new Array(); x.getClass = Object.prototype.toString; x is Array object. Actual: ' + (x.getClass())); -} - -//CHECK#2 -var x = new Array(0,1,2); -x.getClass = Object.prototype.toString; -if (x.getClass() !== "[object " + "Array" + "]") { - $ERROR('#2: var x = new Array(0,1,2); x.getClass = Object.prototype.toString; x is Array object. Actual: ' + (x.getClass())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js deleted file mode 100644 index 27ca37c7ed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.1_A1.3_T1; - * @section: 15.4.2.1; - * @assertion: This description of Array constructor applies if and only if - * the Array constructor is given no arguments or at least two arguments; - * @description: Checking case when Array constructor is given one argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.1_A1.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js", - -assertion: "This description of Array constructor applies if and only if", - -description: "Checking case when Array constructor is given one argument", - -test: function testcase() { - var x = new Array(2); - -//CHECK#1 -if (x.length === 1) { - $ERROR('#1: var x = new Array(2); x.length !== 1'); -} - -//CHECK#2 -if (x[0] === 2) { - $ERROR('#2: var x = new Array(2); x[0] !== 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.1_T1.js deleted file mode 100644 index a2a5391065..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.1_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.1_A2.1_T1; - * @section: 15.4.2.1; - * @assertion: The length property of the newly constructed object; - * is set to the number of arguments; - * @description: Array constructor is given no arguments or at least two arguments -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.1_A2.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.1_T1.js", - -assertion: "The length property of the newly constructed object", - -description: "Array constructor is given no arguments or at least two arguments", - -test: function testcase() { - //CHECK#1 -if (new Array().length !== 0) { - $ERROR('#1: new Array().length === 0. Actual: ' + (new Array().length)); -} - -//CHECK#2 -if (new Array(0,1,0,1).length !== 4) { - $ERROR('#2: new Array(0,1,0,1).length === 4. Actual: ' + (new Array(0,1,0,1).length)); -} - -//CHECK#3 -if (new Array(undefined, undefined).length !== 2) { - $ERROR('#3: new Array(undefined, undefined).length === 2. Actual: ' + (new Array(undefined, undefined).length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.2_T1.js deleted file mode 100644 index f58411bc6b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.2_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.1_A2.2_T1; - * @section: 15.4.2.1; - * @assertion: The 0 property of the newly constructed object is set to item0 - * (if supplied); the 1 property of the newly constructed object is set to item1 - * (if supplied); and, in general, for as many arguments as there are, the k property - * of the newly constructed object is set to argument k, where the first argument is - * considered to be argument number 0; - * @description: Checking correct work this algorithm; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.1_A2.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A2.2_T1.js", - -assertion: "The 0 property of the newly constructed object is set to item0", - -description: "Checking correct work this algorithm", - -test: function testcase() { - //CHECK# -var x = new Array( -0,1,2,3,4,5,6,7,8,9, -10,11,12,13,14,15,16,17,18,19, -20,21,22,23,24,25,26,27,28,29, -30,31,32,33,34,35,36,37,38,39, -40,41,42,43,44,45,46,47,48,49, -50,51,52,53,54,55,56,57,58,59, -60,61,62,63,64,65,66,67,68,69, -70,71,72,73,74,75,76,77,78,79, -80,81,82,83,84,85,86,87,88,89, -90,91,92,93,94,95,96,97,98,99 -); - -for (var i = 0; i < 100; i++) { - var result = true; - if (x[i] !== i) { - result = false; - } -} - -if (result !== true) { - $ERROR('#1: x[i] === i. Actual: ' + (x[i])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T1.js deleted file mode 100644 index f84aa84f0b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A1.1_T1; - * @section: 15.4.2.2; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Array prototype object, the one that - * is the initial value of Array.prototype; - * @description: Create new property of Array.prototype. When new Array object has this property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T1.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Create new property of Array.prototype. When new Array object has this property", - -test: function testcase() { - //CHECK#1 -Array.prototype.myproperty = 1; -var x = new Array(0); -if (x.myproperty !== 1) { - $ERROR('#1: Array.prototype.myproperty = 1; var x = new Array(0); x.myproperty === 1. Actual: ' + (x.myproperty)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T2.js deleted file mode 100644 index 4c2f9a7252..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A1.1_T2; - * @section: 15.4.2.2, 15.2.4.2; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Array prototype object, the one that - * is the initial value of Array.prototype; - * @description: Array.prototype.toString = Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A1.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T2.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Array.prototype.toString = Object.prototype.toString", - -test: function testcase() { - //CHECK#1 -Array.prototype.toString = Object.prototype.toString; -var x = new Array(0); -if (x.toString() !== "[object " + "Array" + "]") { - $ERROR('#1: Array.prototype.toString = Object.prototype.toString; var x = new Array(0); x.toString() === "[object " + "Array" + "]". Actual: ' + (x.toString())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T3.js deleted file mode 100644 index cf49b27a9a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A1.1_T3; - * @section: 15.4.2.2, 15.2.4.6; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Array prototype object, the one that - * is the initial value of Array.prototype; - * @description: Checking use isPrototypeOf; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A1.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.1_T3.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Checking use isPrototypeOf", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.isPrototypeOf(new Array(0)) !== true) { - $ERROR('#1: Array.prototype.isPrototypeOf(new Array(0)) === true. Actual: ' + (Array.prototype.isPrototypeOf(new Array(0)))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.2_T1.js deleted file mode 100644 index 298787990b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.2_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A1.2_T1; - * @section: 15.4.2.2, 15.2.4.2; - * @assertion: The [[Class]] property of the newly constructed object is set to "Array"; - * @description: Checking use Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A1.2_T1.js", - -assertion: "The [[Class]] property of the newly constructed object is set to \"Array\"", - -description: "Checking use Object.prototype.toString", - -test: function testcase() { - //CHECK#1 -var x = new Array(0); -x.getClass = Object.prototype.toString; -if (x.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = new Array(0); x.getClass = Object.prototype.toString; x is Array object. Actual: ' + (x.getClass())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.1_T1.js deleted file mode 100644 index 184e1b5bc3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.1_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A2.1_T1; - * @section: 15.4.2.2; - * @assertion: If the argument len is a Number and ToUint32(len) is equal to len, - * then the length property of the newly constructed object is set to ToUint32(len); - * @description: Array constructor is given one argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A2.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.1_T1.js", - -assertion: "If the argument len is a Number and ToUint32(len) is equal to len,", - -description: "Array constructor is given one argument", - -test: function testcase() { - //CHECK#1 -var x = new Array(0); -if (x.length !== 0) { - $ERROR('#1: var x = new Array(0); x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#2 -var x = new Array(1); -if (x.length !== 1) { - $ERROR('#2: var x = new Array(1); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#3 -var x = new Array(4294967295); -if (x.length !== 4294967295) { - $ERROR('#3: var x = new Array(4294967295); x.length === 4294967295. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T1.js deleted file mode 100644 index b14c9bd5cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A2.2_T1; - * @section: 15.4.2.2, 12.14; - * @assertion: If the argument len is a Number and ToUint32(len) is not equal to len, - * a RangeError exception is thrown; - * @description: Use try statement. len = -1, 4294967296, 4294967297; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A2.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T1.js", - -assertion: "If the argument len is a Number and ToUint32(len) is not equal to len,", - -description: "Use try statement. len = -1, 4294967296, 4294967297", - -test: function testcase() { - //CHECK#1 -try { - new Array(-1); - $ERROR('#1.1: new Array(-1) throw RangeError. Actual: ' + (new Array(-1))); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#1.2: new Array(-1) throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - new Array(4294967296); - $ERROR('#2.1: new Array(4294967296) throw RangeError. Actual: ' + (new Array(4294967296))); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#2.2: new Array(4294967296) throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#3 -try { - new Array(4294967297); - $ERROR('#3.1: new Array(4294967297) throw RangeError. Actual: ' + (new Array(4294967297))); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#3.2: new Array(4294967297) throw RangeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T2.js deleted file mode 100644 index d13993d2a5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A2.2_T2; - * @section: 15.4.2.2; - * @assertion: If the argument len is a Number and ToUint32(len) is not equal to len, - * a RangeError exception is thrown; - * @description: Use try statement. len = NaN, +/-Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A2.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T2.js", - -assertion: "If the argument len is a Number and ToUint32(len) is not equal to len,", - -description: "Use try statement. len = NaN, +/-Infinity", - -test: function testcase() { - //CHECK#1 -try { - new Array(NaN); - $ERROR('#1.1: new Array(NaN) throw RangeError. Actual: ' + (new Array(NaN))); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#1.2: new Array(NaN) throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - new Array(Number.POSITIVE_INFINITY); - $ERROR('#2.1: new Array(Number.POSITIVE_INFINITY) throw RangeError. Actual: ' + (new Array(Number.POSITIVE_INFINITY))); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#2.2: new Array(Number.POSITIVE_INFINITY) throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#3 -try { - new Array(Number.NEGATIVE_INFINITY); - $ERROR('#3.1: new Array(Number.NEGATIVE_INFINITY) throw RangeError. Actual: ' + (new Array(Number.NEGATIVE_INFINITY))); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#3.2: new Array(Number.NEGATIVE_INFINITY) throw RangeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T3.js deleted file mode 100644 index 948792c842..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A2.2_T3; - * @section: 15.4.2.2; - * @assertion: If the argument len is a Number and ToUint32(len) is not equal to len, - * a RangeError exception is thrown; - * @description: Use try statement. len = 1.5, Number.MAX_VALUE, Number.MIN_VALUE; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A2.2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.2_T3.js", - -assertion: "If the argument len is a Number and ToUint32(len) is not equal to len,", - -description: "Use try statement. len = 1.5, Number.MAX_VALUE, Number.MIN_VALUE", - -test: function testcase() { - //CHECK#1 -try { - new Array(1.5); - $ERROR('#1.1: new Array(1.5) throw RangeError. Actual: ' + (new Array(1.5))); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#1.2: new Array(1.5) throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - new Array(Number.MAX_VALUE); - $ERROR('#2.1: new Array(Number.MAX_VALUE) throw RangeError. Actual: ' + (new Array(Number.MAX_VALUE))); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#2.2: new Array(Number.MAX_VALUE) throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#3 -try { - new Array(Number.MIN_VALUE); - $ERROR('#3.1: new Array(Number.MIN_VALUE) throw RangeError. Actual: ' + (new Array(Number.MIN_VALUE))); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#3.2: new Array(Number.MIN_VALUE) throw RangeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T1.js deleted file mode 100644 index 3acd5483cb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A2.3_T1; - * @section: 15.4.2.2; - * @assertion: If the argument len is not a Number, then the length property of - * the newly constructed object is set to 1 and the 0 property of - * the newly constructed object is set to len; - * @description: Checking for null and undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A2.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T1.js", - -assertion: "If the argument len is not a Number, then the length property of", - -description: "Checking for null and undefined", - -test: function testcase() { - var x = new Array(null); - -//CHECK#1 -if (x.length !== 1) { - $ERROR('#1: var x = new Array(null); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== null) { - $ERROR('#2: var x = new Array(null); x[0] === null. Actual: ' + (x[0])); -} - -var x = new Array(undefined); - -//CHECK#3 -if (x.length !== 1) { - $ERROR('#3: var x = new Array(undefined); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#4 -if (x[0] !== undefined) { - $ERROR('#4: var x = new Array(undefined); x[0] === undefined. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T2.js deleted file mode 100644 index b496efe51d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T2.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A2.3_T2; - * @section: 15.4.2.2; - * @assertion: If the argument len is not a Number, then the length property of - * the newly constructed object is set to 1 and the 0 property of - * the newly constructed object is set to len; - * @description: Checking for boolean primitive and Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A2.3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T2.js", - -assertion: "If the argument len is not a Number, then the length property of", - -description: "Checking for boolean primitive and Boolean object", - -test: function testcase() { - var x = new Array(true); - -//CHECK#1 -if (x.length !== 1) { - $ERROR('#1: var x = new Array(true); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== true) { - $ERROR('#2: var x = new Array(true); x[0] === true. Actual: ' + (x[0])); -} - -var obj = new Boolean(false); -var x = new Array(obj); - -//CHECK#3 -if (x.length !== 1) { - $ERROR('#3: var obj = new Boolean(false); var x = new Array(obj); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#4 -if (x[0] !== obj) { - $ERROR('#4: var obj = new Boolean(false); var x = new Array(obj); x[0] === obj. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T3.js deleted file mode 100644 index 92c19cd150..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T3.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A2.3_T3; - * @section: 15.4.2.2; - * @assertion: If the argument len is not a Number, then the length property of - * the newly constructed object is set to 1 and the 0 property of - * the newly constructed object is set to len; - * @description: Checking for boolean primitive and Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A2.3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T3.js", - -assertion: "If the argument len is not a Number, then the length property of", - -description: "Checking for boolean primitive and Boolean object", - -test: function testcase() { - var x = new Array("1"); - -//CHECK#1 -if (x.length !== 1) { - $ERROR('#1: var x = new Array("1"); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== "1") { - $ERROR('#2: var x = new Array("1"); x[0] === "1". Actual: ' + (x[0])); -} - -var obj = new String("0"); -var x = new Array(obj); - -//CHECK#3 -if (x.length !== 1) { - $ERROR('#3: var obj = new String("0"); var x = new Array(obj); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#4 -if (x[0] !== obj) { - $ERROR('#4: var obj = new String("0"); var x = new Array(obj); x[0] === obj. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T4.js deleted file mode 100644 index 253d1bd180..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T4.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A2.3_T4; - * @section: 15.4.2.2; - * @assertion: If the argument len is not a Number, then the length property of - * the newly constructed object is set to 1 and the 0 property of - * the newly constructed object is set to len; - * @description: Checking for Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A2.3_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T4.js", - -assertion: "If the argument len is not a Number, then the length property of", - -description: "Checking for Number object", - -test: function testcase() { - var obj = new Number(0); -var x = new Array(obj); - -//CHECK#1 -if (x.length !== 1) { - $ERROR('#1: var obj = new Number(0); var x = new Array(obj); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== obj) { - $ERROR('#2: var obj = new Number(0); var x = new Array(obj); x[0] === obj. Actual: ' + (x[0])); -} - -var obj = new Number(1); -var x = new Array(obj); - -//CHECK#3 -if (x.length !== 1) { - $ERROR('#3: var obj = new Number(1); var x = new Array(obj); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#4 -if (x[0] !== obj) { - $ERROR('#4: var obj = new Number(1); var x = new Array(obj); x[0] === obj. Actual: ' + (x[0])); -} - -var obj = new Number(4294967295); -var x = new Array(obj); - -//CHECK#5 -if (x.length !== 1) { - $ERROR('#5: var obj = new Number(4294967295); var x = new Array(obj); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#6 -if (x[0] !== obj) { - $ERROR('#6: var obj = new Number(4294967295); var x = new Array(obj); x[0] === obj. Actual: ' + (x[0])); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T5.js deleted file mode 100644 index b78d17a07f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T5.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.2.2_A2.3_T5; - * @section: 15.4.2.2; - * @assertion: If the argument len is not a Number, then the length property of - * the newly constructed object is set to 1 and the 0 property of - * the newly constructed object is set to len; - * @description: Checking for Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.2.2_A2.3_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.2_new_Array_len/S15.4.2.2_A2.3_T5.js", - -assertion: "If the argument len is not a Number, then the length property of", - -description: "Checking for Number object", - -test: function testcase() { - var obj = new Number(-1); -var x = new Array(obj); - -//CHECK#1 -if (x.length !== 1) { - $ERROR('#1: var obj = new Number(-1); var x = new Array(obj); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== obj) { - $ERROR('#2: var obj = new Number(-1); var x = new Array(obj); x[0] === obj. Actual: ' + (x[0])); -} - -var obj = new Number(4294967296); -var x = new Array(obj); - -//CHECK#3 -if (x.length !== 1) { - $ERROR('#3: var obj = new Number(4294967296); var x = new Array(obj); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#4 -if (x[0] !== obj) { - $ERROR('#4: var obj = new Number(4294967296); var x = new Array(obj); x[0] === obj. Actual: ' + (x[0])); -} - -var obj = new Number(4294967297); -var x = new Array(obj); - -//CHECK#5 -if (x.length !== 1) { - $ERROR('#5: var obj = new Number(4294967297); var x = new Array(obj); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#6 -if (x[0] !== obj) { - $ERROR('#6: var obj = new Number(4294967297); var x = new Array(obj); x[0] === obj. Actual: ' + (x[0])); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A1.js deleted file mode 100644 index 0f83d808de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.3.1_A1; - * @section: 15.4.3.1, 15.2.4.5; - * @assertion: The Array has property prototype; - * @description: Checking use hasOwnProperty; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3.1_A1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A1.js", - -assertion: "The Array has property prototype", - -description: "Checking use hasOwnProperty", - -test: function testcase() { - //CHECK#1 -if (Array.hasOwnProperty('prototype') !== true) { - $FAIL('#1: Array.hasOwnProperty(\'prototype\') === true. Actual: ' + (Array.hasOwnProperty('prototype'))); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A2.js deleted file mode 100644 index 09c69db943..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.3.1_A2; -* @section: 15.4.3.1; -* @assertion: The Array.prototype property has the attribute DontEnum; -* @description: Checking if enumerating the Array.prototype property fails; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3.1_A2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A2.js", - -assertion: "The Array.prototype property has the attribute DontEnum", - -description: "Checking if enumerating the Array.prototype property fails", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('prototype') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'prototype\') === false. Actual: ' + (Array.propertyIsEnumerable('prototype'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "prototype") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "prototype") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A3.js deleted file mode 100644 index 2ab16bc7c8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.3.1_A3; -* @section: 15.4.3.1, 15.2.4.5; -* @assertion: The Array.prototype property has the attribute DontDelete; -* @description: Checking if deleting the Array.prototype property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3.1_A3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A3.js", - -assertion: "The Array.prototype property has the attribute DontDelete", - -description: "Checking if deleting the Array.prototype property fails", - -test: function testcase() { - //CHECK#1 -if (Array.hasOwnProperty('prototype') !== true) { - $FAIL('#1: Array.hasOwnProperty(\'prototype\') === true. Actual: ' + (Array.hasOwnProperty('prototype'))); -} - -delete Array.prototype; - -//CHECK#2 -if (Array.hasOwnProperty('prototype') !== true) { - $ERROR('#2: delete Array.prototype; Array.hasOwnProperty(\'prototype\') === true. Actual: ' + (Array.hasOwnProperty('prototype'))); -} - -//CHECK#3 -if (Array.prototype === undefined) { - $ERROR('#3: delete Array.prototype; Array.prototype !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A4.js deleted file mode 100644 index c260a08116..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.3.1_A4; -* @section: 15.4.3.1; -* @assertion: The Array.prototype property has the attribute ReadOnly; -* @description: Checking if varying the Array.prototype property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3.1_A4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A4.js", - -assertion: "The Array.prototype property has the attribute ReadOnly", - -description: "Checking if varying the Array.prototype property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype; -Array.prototype = 1; -if (Array.prototype !== x) { - $ERROR('#1: x = Array.prototype; Array.prototype = 1; Array.prototype === x. Actual: ' + (Array.prototype)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A5.js deleted file mode 100644 index 0bd1d942a5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.3.1_A5; - * @section: 15.4.3.1; - * @assertion: The length property of Array.prototype is 0; - * @description: Array.prototype.length === 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3.1_A5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/15.4.3.1_Array_prototype/S15.4.3.1_A5.js", - -assertion: "The length property of Array.prototype is 0", - -description: "Array.prototype.length === 0", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.length !== 0) { - $ERROR('#1.1: Array.prototype.length === 0. Actual: ' + (Array.prototype.length)); -} else { - if (1 / Array.prototype.length !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: Array.prototype.length === +0. Actual: -' + (Array.prototype.length)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js deleted file mode 100644 index 645e8be87b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.3_A1.1_T1; - * @section: 15.4.3, 15.2.4.5; - * @assertion: The value of the internal [[Prototype]] property of - * the Array constructor is the Function prototype object; - * @description: Create new property of Function.prototype. When Array constructor has this property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js", - -assertion: "The value of the internal [[Prototype]] property of", - -description: "Create new property of Function.prototype. When Array constructor has this property", - -test: function testcase() { - Function.prototype.myproperty = 1; - -//CHECK#1 -if (Array.myproperty !== 1) { - $ERROR('#1: Function.prototype.myproperty = 1; Array.myproperty === 1. Actual: ' + (Array.myproperty)); -} - -//CHECK#2 -if (Array.hasOwnProperty('myproperty') !== false) { - $ERROR('#2: Function.prototype.myproperty = 1; Array.hasOwnProperty(\'myproperty\') === false. Actual: ' + (Array.hasOwnProperty('myproperty'))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T2.js deleted file mode 100644 index c7c1c4f453..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.3_A1.1_T2; - * @section: 15.4.3, 15.2.4.2; - * @assertion: The value of the internal [[Prototype]] property of - * the Array constructor is the Function prototype object; - * @description: Function.prototype.toString = Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3_A1.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T2.js", - -assertion: "The value of the internal [[Prototype]] property of", - -description: "Function.prototype.toString = Object.prototype.toString", - -test: function testcase() { - //CHECK#1 -Function.prototype.toString = Object.prototype.toString; -if (Array.toString() !== "[object " + "Function" + "]") { - $ERROR('#1: Function.prototype.toString = Object.prototype.toString; Array.toString() === "[object " + "Function" + "]". Actual: ' + (Array.toString())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T3.js deleted file mode 100644 index a352b2f804..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.3_A1.1_T3; - * @section: 15.4.3, 15.2.4.6; - * @assertion: The value of the internal [[Prototype]] property of - * the Array constructor is the Function prototype object; - * @description: Checking use isPrototypeOf; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3_A1.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T3.js", - -assertion: "The value of the internal [[Prototype]] property of", - -description: "Checking use isPrototypeOf", - -test: function testcase() { - //CHECK#1 -if (Function.prototype.isPrototypeOf(Array) !== true) { - $ERROR('#1: Function.prototype.isPrototypeOf(Array) === true. Actual: ' + (Function.prototype.isPrototypeOf(Array))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.1.js deleted file mode 100644 index 16651efb33..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.3_A2.1; - * @section: 15.4.3, 15.2.4.7, 12.6.4; - * @assertion: The length property of Array has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3_A2.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.1.js", - -assertion: "The length property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.propertyIsEnumerable('length'))); -} - -//CHECK#2 -result = true; -for (p in Array){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.slice) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.2.js deleted file mode 100644 index 6e882932c9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.3_A2.2; - * @section: 15.4.3, 15.2.4.5, 11.4.1; - * @assertion: The length property of Array has the attribute DontDelete; - * @description: Checking use hasOwnProperty, delete; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3_A2.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.2.js", - -assertion: "The length property of Array has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.hasOwnProperty(\'length\') === true. Actual: ' + (Array.hasOwnProperty('length'))); -} - -delete Array.length; - -//CHECK#2 -if (Array.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.length; Array.hasOwnProperty(\'length\') === true. Actual: ' + (Array.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.length === undefined) { - $ERROR('#3: delete Array.length; Array.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.3.js deleted file mode 100644 index 3a7201b3ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.3_A2.3; - * @section: 15.4.3; - * @assertion: The length property of Array has the attribute ReadOnly; - * @description: Checking if varying the length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3_A2.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.3.js", - -assertion: "The length property of Array has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -x = Array.length; -Array.length = Infinity; -if (Array.length !== x) { - $ERROR('#1: x = Array.length; Array.length = Infinity; Array.length === x. Actual: ' + (Array.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.4.js deleted file mode 100644 index c54060f9fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.3_A2.4; - * @section: 15.4.3; - * @assertion: The length property of Array is 1; - * @description: Array.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.3_A2.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A2.4.js", - -assertion: "The length property of Array is 1", - -description: "Array.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.length !== 1) { - $ERROR('#1: Array.length === 1. Actual: ' + (Array.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T1.js deleted file mode 100644 index 80b81460e2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.1_T1; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is positive, use min(end, length); - * @description: length > end > start = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T1.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length > end > start = 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(0,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(0,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(0,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(0,3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(0,3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(0,3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice(0,3); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T2.js deleted file mode 100644 index 288c32d01f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.1_T2; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is positive, use min(end, length); - * @description: length > end = start > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T2.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length > end = start > 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(3,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(3,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(3,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(3,3); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T3.js deleted file mode 100644 index 9af14a4092..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.1_T3; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is positive, use min(end, length); - * @description: length > start > end > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T3.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length > start > end > 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(4,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(4,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(4,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(4,3); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T4.js deleted file mode 100644 index dccc38de15..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.1_T4; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is positive, use min(end, length); - * @description: length = end = start > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.1_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T4.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length = end = start > 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(5,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(5,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(5,5); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(5,5); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T5.js deleted file mode 100644 index 37cd1b2152..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T5.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.1_T5; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is positive, use min(end, length); - * @description: length = end > start > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.1_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T5.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length = end > start > 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(3,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(3,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 2) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(3,5); arr.length === 2. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 3) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(3,5); arr[0] === 3. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 4) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(3,5); arr[1] === 4. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[3] !== undefined) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(3,5); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T6.js deleted file mode 100644 index 91d1058102..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T6.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.1_T6; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is positive, use min(end, length); - * @description: length > end > start > 0; - * -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.1_T6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T6.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length > end > start > 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(2,4); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(2,4); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 2) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(2,4); arr.length === 2. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 2) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(2,4); arr[0] === 2. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 3) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(2,4); arr[1] === 3. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[3] !== undefined) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(2,4); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T7.js deleted file mode 100644 index e905b610eb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T7.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.1_T7; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is positive, use min(end, length); - * @description: end > length > start > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.1_T7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.1_T7.js", - -assertion: "If start is positive, use min(start, length).", - -description: "end > length > start > 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(3,6); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(3,6); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 2) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(3,6); arr.length === 2. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 3) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(3,6); arr[0] === 3. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 4) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(3,6); arr[1] === 4. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[3] !== undefined) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(3,6); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T1.js deleted file mode 100644 index 2b043ed0f5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.2_T1; - * @section: 15.4.4.10; - * @assertion: If start is negative, use max(start + length, 0). - * If end is positive, use min(end, length); - * @description: length > end = abs(start), start < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T1.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "length > end = abs(start), start < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(-3,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(-3,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 1) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(-3,3); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 2) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(-3,3); arr[0] === 2. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== undefined) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(-3,3); arr[1] === undefined. Actual: ' + (arr[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T2.js deleted file mode 100644 index d4a86ac143..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.2_T2; - * @section: 15.4.4.10; - * @assertion: If start is negative, use max(start + length, 0). - * If end is positive, use min(end, length); - * @description: length = end > abs(start), start < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T2.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "length = end > abs(start), start < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(-1,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(-1,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 1) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(-1,5); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 4) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(-1,5); arr[0] === 4. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== undefined) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(-1,5); arr[1] === undefined. Actual: ' + (arr[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T3.js deleted file mode 100644 index d829b1aa8a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.2_T3; - * @section: 15.4.4.10; - * @assertion: If start is negative, use max(start + length, 0). - * If end is positive, use min(end, length); - * @description: abs(start) = length > end > 0, start < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T3.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "abs(start) = length > end > 0, start < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(-5,1); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(-5,1); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 1) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(-5,1); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(-5,1); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== undefined) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(-5,1); arr[1] === undefined. Actual: ' + (arr[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T4.js deleted file mode 100644 index 3d9e95c912..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T4.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.2_T4; - * @section: 15.4.4.10; - * @assertion: If start is negative, use max(start + length, 0). - * If end is positive, use min(end, length); - * @description: abs(start) > length = end > 0, start < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.2_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.2_T4.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "abs(start) > length = end > 0, start < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(-9,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(-9,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 5) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(-9,5); arr.length === 5. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(-9,5); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(-9,5); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(-9,5); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== 3) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice(-9,5); arr[3] === 3. Actual: ' + (arr[3])); -} - -//CHECK#7 -if (arr[4] !== 4) { - $ERROR('#7: var x = [0,1,2,3,4]; var arr = x.slice(-9,5); arr[4] === 4. Actual: ' + (arr[4])); -} - -//CHECK#8 -if (arr[5] !== undefined) { - $ERROR('#8: var x = [0,1,2,3,4]; var arr = x.slice(-9,5); arr[5] === undefined. Actual: ' + (arr[5])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T1.js deleted file mode 100644 index 8c18d09c91..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.3_T1; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is negative, use max(end + length, 0); - * @description: length > abs(end) > start = 0, end < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T1.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length > abs(end) > start = 0, end < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(0,-2); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(0,-2); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(0,-2); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(0,-2); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(0,-2); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(0,-2); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice(0,-2); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T2.js deleted file mode 100644 index 9b3f35b280..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.3_T2; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is negative, use max(end + length, 0); - * @description: length > abs(end) > start > 0, end < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T2.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length > abs(end) > start > 0, end < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(1,-4); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(1,-4); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(1,-4); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(1,-4); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T3.js deleted file mode 100644 index 95b5578278..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.3_T3; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is negative, use max(end + length, 0); - * @description: length = abs(end) > start = 0, end < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T3.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length = abs(end) > start = 0, end < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(0,-5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(0,-5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(0,-5); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(0,-5); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T4.js deleted file mode 100644 index 93d6c10280..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.3_T4; - * @section: 15.4.4.10; - * @assertion: If start is positive, use min(start, length). - * If end is negative, use max(end + length, 0); - * @description: abs(end) > length > start > 0, end < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.3_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.3_T4.js", - -assertion: "If start is positive, use min(start, length).", - -description: "abs(end) > length > start > 0, end < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(4,-9); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(4,-9); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(4,-9); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(4,-9); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T1.js deleted file mode 100644 index 7f7828b436..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.4_T1; - * @section: 15.4.4.10; - * @assertion: If start is negative, use max(start + length, 0). - * If end is negative, use max(end + length, 0); - * @description: -length = start < end < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T1.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "-length = start < end < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(-5,-2); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(-5,-2); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(-5,-2); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(-5,-2); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(-5,-2); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(-5,-2); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice(-5,-2); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T2.js deleted file mode 100644 index b2e265da68..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.4_T2; - * @section: 15.4.4.10; - * @assertion: If start is negative, use max(start + length, 0). - * If end is negative, use max(end + length, 0); - * @description: -length < start < end < 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T2.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "-length < start < end < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(-3,-1); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(-3,-1); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 2) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(-3,-1); arr.length === 2. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 2) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(-3,-1); arr[0] === 2. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 3) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(-3,-1); arr[1] === 3. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== undefined) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(-3,-1); arr[2] === undefined. Actual: ' + (arr[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T3.js deleted file mode 100644 index e35f33830e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T3.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.4_T3; - * @section: 15.4.4.10; - * @assertion: If start is negative, use max(start + length, 0). - * If end is negative, use max(end + length, 0); - * @description: start < -length < end < 0; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.4_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T3.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "start < -length < end < 0", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(-9,-1); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(-9,-1); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 4) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(-9,-1); arr.length === 4. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(-9,-1); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(-9,-1); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(-9,-1); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== 3) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice(-9,-1); arr[3] === 3. Actual: ' + (arr[3])); -} - -//CHECK#7 -if (arr[4] !== undefined) { - $ERROR('#7: var x = [0,1,2,3,4]; var arr = x.slice(-9,-1); arr[4] === undefined. Actual: ' + (arr[4])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T4.js deleted file mode 100644 index 402d9a66d7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.4_T4; - * @section: 15.4.4.10; - * @assertion: If start is negative, use max(start + length, 0). - * If end is negative, use max(end + length, 0); - * @description: start = end < -length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.4_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.4_T4.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "start = end < -length", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(-6,-6); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(-6,-6); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(-6,-6); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(-6,-6); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T1.js deleted file mode 100644 index cc8b297eb4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.5_T1; - * @section: 15.4.4.10; - * @assertion: If end is undefined use length; - * @description: end === undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.5_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T1.js", - -assertion: "If end is undefined use length", - -description: "end === undefined", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(3, undefined); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(3, undefined); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 2) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(3, undefined); arr.length === 2. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 3) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(3, undefined); arr[0] === 3. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 4) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(3, undefined); arr[1] === 4. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== undefined) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(3, undefined); arr[2] === undefined. Actual: ' + (arr[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T2.js deleted file mode 100644 index 104b1eaa74..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A1.5_T2; - * @section: 15.4.4.10; - * @assertion: If end is undefined use length; - * @description: end is absent; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A1.5_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A1.5_T2.js", - -assertion: "If end is undefined use length", - -description: "end is absent", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(-2); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(-2); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 2) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(-2); arr.length === 2. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 3) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(-2); arr[0] === 3. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 4) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(-2); arr[1] === 4. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== undefined) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(-2); arr[2] === undefined. Actual: ' + (arr[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T1.js deleted file mode 100644 index bd74c93bc1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.1_T1; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from start; - * @description: start is not integer; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T1.js", - -assertion: "Operator use ToInteger from start", - -description: "start is not integer", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(2.5,4); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(2.5,4); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 2) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(2.5,4); arr.length === 2. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 2) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(2.5,4); arr[0] === 2. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 3) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(2.5,4); arr[1] === 3. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[3] !== undefined) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(2.5,4); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T2.js deleted file mode 100644 index 30e5094ded..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T2.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.1_T2; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from start; - * @description: start = NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T2.js", - -assertion: "Operator use ToInteger from start", - -description: "start = NaN", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(NaN,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(NaN,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(NaN,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(NaN,3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(NaN,3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(NaN,3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice(NaN,3); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T3.js deleted file mode 100644 index dcab71debf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T3.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.1_T3; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from start; - * @description: start = Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T3.js", - -assertion: "Operator use ToInteger from start", - -description: "start = Infinity", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(Number.POSITIVE_INFINITY,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(Number.POSITIVE_INFINITY,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(Number.POSITIVE_INFINITY,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(Number.POSITIVE_INFINITY,3); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T4.js deleted file mode 100644 index 37e7916d41..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T4.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.1_T4; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from start; - * @description: start = -Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.1_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T4.js", - -assertion: "Operator use ToInteger from start", - -description: "start = -Infinity", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(Number.NEGATIVE_INFINITY,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(Number.NEGATIVE_INFINITY,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(Number.NEGATIVE_INFINITY,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(Number.NEGATIVE_INFINITY,3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(Number.NEGATIVE_INFINITY,3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(Number.NEGATIVE_INFINITY,3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice(Number.NEGATIVE_INFINITY,3); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T5.js deleted file mode 100644 index 34e4853141..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T5.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.1_T5; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from start; - * @description: ToInteger use ToNumber; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.1_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.1_T5.js", - -assertion: "Operator use ToInteger from start", - -description: "ToInteger use ToNumber", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice({valueOf: function() {return 0}, toString: function() {return 3}},3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T1.js deleted file mode 100644 index 52b8125662..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.2_T1; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from end; - * @description: end is not integer; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T1.js", - -assertion: "Operator use ToInteger from end", - -description: "end is not integer", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(2,4.5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(2,4.5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 2) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(2,4.5); arr.length === 2. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 2) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(2,4.5); arr[0] === 2. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 3) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(2,4.5); arr[1] === 3. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[3] !== undefined) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(2,4.5); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T2.js deleted file mode 100644 index cb45a0e06c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.2_T2; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from end; - * @description: end = NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T2.js", - -assertion: "Operator use ToInteger from end", - -description: "end = NaN", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(0,NaN); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(0,NaN); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(0,NaN); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(0,NaN); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T3.js deleted file mode 100644 index f3ee34d0b7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T3.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.2_T3; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from end; - * @description: end = Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T3.js", - -assertion: "Operator use ToInteger from end", - -description: "end = Infinity", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(0,Number.POSITIVE_INFINITY); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.POSITIVE_INFINITY); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 5) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.POSITIVE_INFINITY); arr.length === 5. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.POSITIVE_INFINITY); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.POSITIVE_INFINITY); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.POSITIVE_INFINITY); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== 3) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.POSITIVE_INFINITY); arr[3] === 3. Actual: ' + (arr[3])); -} - -//CHECK#7 -if (arr[4] !== 4) { - $ERROR('#7: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.POSITIVE_INFINITY); arr[4] === 4. Actual: ' + (arr[4])); -} - -//CHECK#8 -if (arr[5] !== undefined) { - $ERROR('#8: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.POSITIVE_INFINITY); arr[5] === undefined. Actual: ' + (arr[5])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T4.js deleted file mode 100644 index 9c156df5b7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T4.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.2_T4; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from end; - * @description: end = -Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.2_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T4.js", - -assertion: "Operator use ToInteger from end", - -description: "end = -Infinity", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(0,Number.NEGATIVE_INFINITY); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.NEGATIVE_INFINITY); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.NEGATIVE_INFINITY); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== undefined) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(0,Number.NEGATIVE_INFINITY); arr[0] === undefined. Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T5.js deleted file mode 100644 index c6f0aa1307..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T5.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2.2_T5; - * @section: 15.4.4.10; - * @assertion: Operator use ToInteger from end; - * @description: ToInteger use ToNumber; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2.2_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2.2_T5.js", - -assertion: "Operator use ToInteger from end", - -description: "ToInteger use ToNumber", - -test: function testcase() { - var x = [0,1,2,3,4]; -var arr = x.slice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3,4]; var arr = x.slice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3,4]; var arr = x.slice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3,4]; var arr = x.slice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3,4]; var arr = x.slice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3,4]; var arr = x.slice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var x = [0,1,2,3,4]; var arr = x.slice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T1.js deleted file mode 100644 index dbb18eb412..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T1.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2_T1; - * @section: 15.4.4.10; - * @assertion: The slice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If start is positive, use min(start, length). - * If end is positive, use min(end, length); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T1.js", - -assertion: "The slice function is intentionally generic.", - -description: "If start is positive, use min(start, length).", - -test: function testcase() { - var obj = {}; -obj.slice = Array.prototype.slice; -obj[0] = 0; -obj[1] = 1; -obj[2] = 2; -obj[3] = 3; -obj[4] = 4; -obj.length = 5; -var arr = obj.slice(0,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,3); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T2.js deleted file mode 100644 index afd85bf8e7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T2.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2_T2; - * @section: 15.4.4.10; - * @assertion: The slice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If start is negative, use max(start + length, 0). - * If end is positive, use min(end, length); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T2.js", - -assertion: "The slice function is intentionally generic.", - -description: "If start is negative, use max(start + length, 0).", - -test: function testcase() { - var obj = {}; -obj.slice = Array.prototype.slice; -obj[0] = 0; -obj[1] = 1; -obj[2] = 2; -obj[3] = 3; -obj[4] = 4; -obj.length = 5; -var arr = obj.slice(-5,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,3); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T3.js deleted file mode 100644 index 45c3672674..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T3.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2_T3; - * @section: 15.4.4.10; - * @assertion: The slice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If start is positive, use min(start, length). - * If end is negative, use max(end + length, 0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T3.js", - -assertion: "The slice function is intentionally generic.", - -description: "If start is positive, use min(start, length).", - -test: function testcase() { - var obj = {}; -obj.slice = Array.prototype.slice; -obj[0] = 0; -obj[1] = 1; -obj[2] = 2; -obj[3] = 3; -obj[4] = 4; -obj.length = 5; -var arr = obj.slice(0,-2); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,-2); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,-2); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,-2); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,-2); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,-2); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(0,-2); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T4.js deleted file mode 100644 index 03a31154fe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T4.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2_T4; - * @section: 15.4.4.10; - * @assertion: The slice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If start is negative, use max(start + length, 0). - * If end is negative, use max(end + length, 0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T4.js", - -assertion: "The slice function is intentionally generic.", - -description: "If start is negative, use max(start + length, 0).", - -test: function testcase() { - var obj = {}; -obj.slice = Array.prototype.slice; -obj[0] = 0; -obj[1] = 1; -obj[2] = 2; -obj[3] = 3; -obj[4] = 4; -obj.length = 5; -var arr = obj.slice(-5,-2); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,-2); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,-2); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,-2); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,-2); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,-2); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(-5,-2); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T5.js deleted file mode 100644 index f8bcf6bd9c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T5.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2_T5; - * @section: 15.4.4.10; - * @assertion: The slice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If end is undefined use length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T5.js", - -assertion: "The slice function is intentionally generic.", - -description: "If end is undefined use length", - -test: function testcase() { - var obj = {}; -obj.slice = Array.prototype.slice; -obj[0] = 0; -obj[1] = 1; -obj[2] = 2; -obj[3] = 3; -obj[4] = 4; -obj.length = 5; -var arr = obj.slice(2); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 2) { - $ERROR('#3: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2); arr[0] === 2. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 3) { - $ERROR('#4: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2); arr[1] === 3. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 4) { - $ERROR('#5: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2); arr[2] === 4. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T6.js deleted file mode 100644 index 9f1d1c8389..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T6.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A2_T6; - * @section: 15.4.4.10; - * @assertion: The slice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If end is undefined use length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A2_T6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A2_T6.js", - -assertion: "The slice function is intentionally generic.", - -description: "If end is undefined use length", - -test: function testcase() { - var obj = {}; -obj.slice = Array.prototype.slice; -obj[0] = 0; -obj[1] = 1; -obj[2] = 2; -obj[3] = 3; -obj[4] = 4; -obj.length = 5; -var arr = obj.slice(2, undefined); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2, undefined); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2, undefined); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 2) { - $ERROR('#3: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2, undefined); arr[0] === 2. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 3) { - $ERROR('#4: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2, undefined); arr[1] === 3. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 4) { - $ERROR('#5: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2, undefined); arr[2] === 4. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== undefined) { - $ERROR('#6: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = 0; obj[1] = 1; obj[2] = 2; obj[3] = 3; obj[4] = 4; obj.length = 5; var arr = obj.slice(2, undefined); arr[3] === undefined. Actual: ' + (arr[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T1.js deleted file mode 100644 index a3efb0c809..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A3_T1; - * @section: 15.4.4.10; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967296; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T1.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967296", - -test: function testcase() { - var obj = {}; -obj.slice = Array.prototype.slice; -obj[0] = "x"; -obj[4294967295] = "y"; -obj.length = 4294967296; -var arr = obj.slice(0,4294967296); - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; var arr = obj.slice(0,4294967296); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (arr[0] !== undefined) { - $ERROR('#2: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; var arr = obj.slice(0,4294967296); arr[0] === undefined. Actual: ' + (arr[0])); -} - -//CHECK#3 -if (arr[4294967295] !== undefined) { - $ERROR('#3: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; var arr = obj.slice(0,4294967296); arr[4294967295] === undefined. Actual: ' + (arr[4294967295])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T2.js deleted file mode 100644 index 4d10f25a06..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A3_T2; - * @section: 15.4.4.10; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967297; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T2.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967297", - -test: function testcase() { - var obj = {}; -obj.slice = Array.prototype.slice; -obj[0] = "x"; -obj[4294967296] = "y"; -obj.length = 4294967297; -var arr = obj.slice(0,4294967297); - -//CHECK#1 -if (arr.length !== 1) { - $ERROR('#1: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = "x"; obj[4294967296] = "y"; obj.length = 4294967297; var arr = obj.slice(0,4294967297); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (arr[0] !== "x") { - $ERROR('#2: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = "x"; obj[4294967296] = "y"; obj.length = 4294967297; var arr = obj.slice(0,4294967297); arr[0] === "x". Actual: ' + (arr[0])); -} - -//CHECK#3 -if (arr[4294967296] !== undefined) { - $ERROR('#3: var obj = {}; obj.slice = Array.prototype.slice; obj[0] = "x"; obj[4294967296] = "y"; obj.length = 4294967297; var arr = obj.slice(0,4294967297); arr[4294967296] === undefined. Actual: ' + (arr[4294967296])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T3.js deleted file mode 100644 index 5bd70f7b61..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A3_T3; - * @section: 15.4.4.10; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = -1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T3.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = -1", - -test: function testcase() { - var obj = {}; -obj.slice = Array.prototype.slice; -obj[4294967294] = "x"; -obj.length = -1; -var arr = obj.slice(4294967294,4294967295); - -//CHECK#1 -if (arr.length !== 1) { - $ERROR('#1: var obj = {}; obj.slice = Array.prototype.slice; obj[4294967294] = "x"; obj.length = 4294967295; var arr = obj.slice(4294967294,4294967295); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== "x") { - $ERROR('#3: var obj = {}; obj.slice = Array.prototype.slice; obj[4294967294] = "x"; obj.length = 4294967295; var arr = obj.slice(4294967294,4294967295); arr[0] === "x". Actual: ' + (arr[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A4_T1.js deleted file mode 100644 index 801700ead4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A4_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.10_A4_T1; - * @section: 15.4.4.10, 8.6.2.1, 15.2.4.5; - * @assertion: [[Get]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A4_T1.js", - -assertion: "[[Get]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype", - -test: function testcase() { - Array.prototype[1] = 1; -var x = [0]; -x.length = 2; -var arr = x.slice(); - -//CHECK#1 -if (arr[0] !== 0) { - $ERROR('#1: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.slice(); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#2 -if (arr[1] !== 1) { - $ERROR('#2: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.slice(); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#3 -if (arr.hasOwnProperty('1') !== true) { - $ERROR('#3: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.slice(); arr.hasOwnProperty(\'1\') === true. Actual: ' + (arr.hasOwnProperty('1'))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.1.js deleted file mode 100644 index 32891c2e78..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.10_A5.1; -* @section: 15.4.4.10, 15.2.4.7, 12.6.4; -* @assertion: The length property of slice has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A5.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.1.js", - -assertion: "The length property of slice has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.slice.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.slice.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.slice.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.slice){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.slice) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.2.js deleted file mode 100644 index bbe156af6a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.10_A5.2; -* @section: 15.4.4.10, 15.2.4.5, 11.4.1; -* @assertion: The length property of slice has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A5.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.2.js", - -assertion: "The length property of slice has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.slice.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.slice.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.slice.hasOwnProperty('length'))); -} - -delete Array.prototype.slice.length; - -//CHECK#2 -if (Array.prototype.slice.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.slice.length; Array.prototype.slice.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.slice.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.slice.length === undefined) { - $ERROR('#3: delete Array.prototype.slice.length; Array.prototype.slice.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.3.js deleted file mode 100644 index 220dee142f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.10_A5.3; -* @section: 15.4.4.10; -* @assertion: The length property of slice has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A5.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.3.js", - -assertion: "The length property of slice has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.slice.length; -Array.prototype.slice.length = Infinity; -if (Array.prototype.slice.length !== x) { - $ERROR('#1: x = Array.prototype.slice.length; Array.prototype.slice.length = Infinity; Array.prototypeslice.length === x. Actual: ' + (Array.prototypeslice.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.4.js deleted file mode 100644 index a1e8113211..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.10_A5.4; -* @section: 15.4.4.10; -* @assertion: The length property of slice is 2; -* @description: slice.length === 2; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A5.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.4.js", - -assertion: "The length property of slice is 2", - -description: "slice.length === 2", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.slice.length !== 2) { - $ERROR('#1: Array.prototype.slice.length === 2. Actual: ' + (Array.prototype.slice.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.5.js deleted file mode 100644 index c41a4bf65e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.10_A5.5; -* @section: 15.4.4.10, 15.2.4.7, 12.6.4; -* @assertion: The slice property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A5.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.5.js", - -assertion: "The slice property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('slice') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'slice\') === false. Actual: ' + (Array.propertyIsEnumerable('slice'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "slice") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "slice") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.6.js deleted file mode 100644 index 439fcd48c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.10_A5.6; -* @section: 15.4.4.10; -* @assertion: The slice property of Array has not prototype property; -* @description: Checking Array.prototype.slice.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A5.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.6.js", - -assertion: "The slice property of Array has not prototype property", - -description: "Checking Array.prototype.slice.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.slice.prototype !== undefined) { - $ERROR('#1: Array.prototype.slice.prototype === undefined. Actual: ' + (Array.prototype.slice.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.7.js deleted file mode 100644 index a62aa285e7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.10_A5.7; -* @section: 15.4.4.10, 11.2.2; -* @assertion: The slice property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.10_A5.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A5.7.js", - -assertion: "The slice property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.slice(); - $ERROR('#1.1: new Array.prototype.slice() throw TypeError. Actual: ' + (new Array.prototype.slice())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.slice() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.1_T1.js deleted file mode 100644 index e1ddbc9377..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.1_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A1.1_T1; - * @section: 15.4.4.11; - * @assertion: If this object does not have a property named by ToString(j), - * and this object does not have a property named by ToString(k), return +0; - * @description: If comparefn is undefined, use SortCompare operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.1_T1.js", - -assertion: "If this object does not have a property named by ToString(j),", - -description: "If comparefn is undefined, use SortCompare operator", - -test: function testcase() { - var x = new Array(2); -x.sort(); - -//CHECK#1 -if (x.length !== 2) { - $ERROR('#1: var x = new Array(2); x.sort(); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== undefined) { - $ERROR('#2: var x = new Array(2); x.sort(); x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== undefined) { - $ERROR('#3: var x = new Array(2); x.sort(); x[1] === undefined. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T1.js deleted file mode 100644 index 57a20708fa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A1.2_T1; - * @section: 15.4.4.11; - * @assertion: If this object does not have a property named by - * ToString(j), return 1. If this object does not have a property - * named by ToString(k), return -1; - * @description: If comparefn is undefined, use SortCompare operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T1.js", - -assertion: "If this object does not have a property named by", - -description: "If comparefn is undefined, use SortCompare operator", - -test: function testcase() { - var x = new Array(2); -x[1] = 1; -x.sort(); - -//CHECK#1 -if (x.length !== 2) { - $ERROR('#1: var x = new Array(2); x[1] = 1; x.sort(); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== 1) { - $ERROR('#2: var x = new Array(2); x[1] = 1; x.sort(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== undefined) { - $ERROR('#3: var x = new Array(2); x[1] = 1; x.sort(); x[1] === undefined. Actual: ' + (x[1])); -} - -var x = new Array(2); -x[0] = 1; -x.sort(); - -//CHECK#4 -if (x.length !== 2) { - $ERROR('#4: var x = new Array(2); x[0] = 1; x.sort(); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#5 -if (x[0] !== 1) { - $ERROR('#5: var x = new Array(2); x[0] = 1; x.sort(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== undefined) { - $ERROR('#6: var x = new Array(2); x[0] = 1; x.sort(); x[1] === undefined. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T2.js deleted file mode 100644 index 125ad34728..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T2.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A1.2_T2; - * @section: 15.4.4.11; - * @assertion: If this object does not have a property named by - * ToString(j), return 1. If this object does not have a property - * named by ToString(k), return -1; - * @description: If comparefn is not undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A1.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.2_T2.js", - -assertion: "If this object does not have a property named by", - -description: "If comparefn is not undefined", - -test: function testcase() { - var myComparefn = function(x,y) { - if (x === undefined) return -1; - if (y === undefined) return 1; - return 0; -} - -var x = new Array(2); -x[1] = 1; -x.sort(myComparefn); - -//CHECK#1 -if (x.length !== 2) { - $ERROR('#1: var x = new Array(2); x[1] = 1; x.sort(myComparefn); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== 1) { - $ERROR('#2: var x = new Array(2); x[1] = 1; x.sort(myComparefn); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== undefined) { - $ERROR('#3: var x = new Array(2); x[1] = 1; x.sort(myComparefn); x[1] === undefined. Actual: ' + (x[1])); -} - -var x = new Array(2); -x[0] = 1; -x.sort(myComparefn); - -//CHECK#4 -if (x.length !== 2) { - $ERROR('#4: var x = new Array(2); x[0] = 1; x.sort(myComparefn); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#5 -if (x[0] !== 1) { - $ERROR('#5: var x = new Array(2); x[0] = 1; x.sort(myComparefn); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== undefined) { - $ERROR('#6: var x = new Array(2); x[0] = 1; x.sort(myComparefn); x[1] === undefined. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.3_T1.js deleted file mode 100644 index e761c2515e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.3_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A1.3_T1; - * @section: 15.4.4.11; - * @assertion: If [[Get]] ToString(j) and [[Get]] ToString(k) - * are both undefined, return +0; - * @description: If comparefn is undefined, use SortCompare operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A1.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.3_T1.js", - -assertion: "If [[Get]] ToString(j) and [[Get]] ToString(k)", - -description: "If comparefn is undefined, use SortCompare operator", - -test: function testcase() { - var x = new Array(undefined, undefined); -x.sort(); - -//CHECK#1 -if (x.length !== 2) { - $ERROR('#1: var x = new Array(undefined, undefined); x.sort(); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== undefined) { - $ERROR('#2: var x = new Array(undefined, undefined); x.sort(); x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== undefined) { - $ERROR('#3: var x = new Array(undefined, undefined); x.sort(); x[1] === undefined. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T1.js deleted file mode 100644 index 0567598d8b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T1.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A1.4_T1; - * @section: 15.4.4.11; - * @assertion: If [[Get]] ToString(j) is undefined, return 1. - * If [[]Get] ToString(k) is undefined, return -1; - * @description: If comparefn is undefined, use SortCompare operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A1.4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T1.js", - -assertion: "If [[Get]] ToString(j) is undefined, return 1.", - -description: "If comparefn is undefined, use SortCompare operator", - -test: function testcase() { - var x = new Array(undefined, 1); -x.sort(); - -//CHECK#1 -if (x.length !== 2) { - $ERROR('#1: var x = new Array(undefined, 1); x.sort(); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== 1) { - $ERROR('#2: var x = new Array(undefined, 1); x.sort(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== undefined) { - $ERROR('#3: var x = new Array(undefined, 1); x.sort(); x[1] === undefined. Actual: ' + (x[1])); -} - -var x = new Array(1, undefined); -x.sort(); - -//CHECK#4 -if (x.length !== 2) { - $ERROR('#4: var x = new Array(1, undefined); x.sort(); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#5 -if (x[0] !== 1) { - $ERROR('#5: var x = new Array(1, undefined); x.sort(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== undefined) { - $ERROR('#6: var x = new Array(1, undefined); x.sort(); x[1] === undefined. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T2.js deleted file mode 100644 index 7b00f21ebf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T2.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A1.4_T2; - * @section: 15.4.4.11; - * @assertion: If [[Get]] ToString(j) is undefined, return 1. - * If [[]Get] ToString(k) is undefined, return -1; - * @description: If comparefn is not undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A1.4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.4_T2.js", - -assertion: "If [[Get]] ToString(j) is undefined, return 1.", - -description: "If comparefn is not undefined", - -test: function testcase() { - var myComparefn = function(x,y) { - if (x === undefined) return -1; - if (y === undefined) return 1; - return 0; -} - -var x = new Array(undefined, 1); -x.sort(myComparefn); - -//CHECK#1 -if (x.length !== 2) { - $ERROR('#1: var x = new Array(undefined, 1); x.sort(myComparefn); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== 1) { - $ERROR('#2: var x = new Array(undefined, 1); x.sort(myComparefn); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== undefined) { - $ERROR('#3: var x = new Array(undefined, 1); x.sort(myComparefn); x[1] === undefined. Actual: ' + (x[1])); -} - -var x = new Array(1, undefined); -x.sort(myComparefn); - -//CHECK#4 -if (x.length !== 2) { - $ERROR('#4: var x = new Array(1, undefined); x.sort(myComparefn); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#5 -if (x[0] !== 1) { - $ERROR('#5: var x = new Array(1, undefined); x.sort(myComparefn); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== undefined) { - $ERROR('#6: var x = new Array(1, undefined); x.sort(myComparefn); x[1] === undefined. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.5_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.5_T1.js deleted file mode 100644 index ac54aa3609..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.5_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A1.5_T1; - * @section: 15.4.4.11; - * @assertion: If comparefn is undefined, use SortCompare operator; - * @description: Checking sort() and sort(undefined); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A1.5_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A1.5_T1.js", - -assertion: "If comparefn is undefined, use SortCompare operator", - -description: "Checking sort() and sort(undefined)", - -test: function testcase() { - var x = new Array(1,0); -x.sort(); - -//CHECK#1 -if (x.length !== 2) { - $ERROR('#1: var x = new Array(1,0); x.sort(); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[0] !== 0) { - $ERROR('#2: var x = new Array(1,0); x.sort(); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== 1) { - $ERROR('#3: var x = new Array(1,0); x.sort(); x[1] === 1. Actual: ' + (x[1])); -} - -var x = new Array(1,0); -x.sort(undefined); - -//CHECK#4 -if (x.length !== 2) { - $ERROR('#4: var x = new Array(1,0); x.sort(undefined); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#5 -if (x[0] !== 0) { - $ERROR('#5: var x = new Array(1,0); x.sort(undefined); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== 1) { - $ERROR('#6: var x = new Array(1,0); x.sort(undefined); x[1] === 1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T1.js deleted file mode 100644 index 3e931e9d29..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A2.1_T1; - * @section: 15.4.4.11; - * @assertion: - * If ToString([[Get]] ToString(j)) < ToString([[Get]] ToString(k)), return -1. - * If ToString([[Get]] ToString(j)) > ToString([[Get]] ToString(k)), return 1; - * return -1 - * @description: Checking ENGLISH ALPHABET; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A2.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T1.js", - -assertion: "* If ToString([[Get]] ToString(j)) < ToString([[Get]] ToString(k)), return -1.", - -description: "Checking ENGLISH ALPHABET", - -test: function testcase() { - var alphabetR = ["z", "y", "x", "w", "v", "u", "t", "s", "r", "q", "p", "o", "n", "M", "L", "K", "J", "I", "H", "G", "F", "E", "D", "C", "B", "A"]; -var alphabet = ["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"]; - -//CHECK#1 -alphabetR.sort(); -var result = true; -for (var i = 0; i < 26; i++) { - if (alphabetR[i] !== alphabet[i]) result = false; -} - -if (result !== true) { - $ERROR('#1: CHECK ENGLISH ALPHABET'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T2.js deleted file mode 100644 index b1a6902076..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A2.1_T2; - * @section: 15.4.4.11; - * @assertion: - * If ToString([[Get]] ToString(j)) < ToString([[Get]] ToString(k)), return -1. - * If ToString([[Get]] ToString(j)) > ToString([[Get]] ToString(k)), return 1; - * return -1 - * @description: Checking RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A2.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T2.js", - -assertion: "* If ToString([[Get]] ToString(j)) < ToString([[Get]] ToString(k)), return -1.", - -description: "Checking RUSSIAN ALPHABET", - -test: function testcase() { - var alphabetR = ["ё", "я", "ю", "э", "ь", "ы", "ъ", "щ", "ш", "ч", "ц", "х", "ф", "у", "т", "с", "р", "П", "О", "Н", "М", "Л", "К", "Й", "И", "З", "Ж", "Е", "Д", "Г", "В", "Б", "А"]; -var alphabet = ["А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я", "ё"]; - -//CHECK#1 -alphabetR.sort(); -var result = true; -for (var i = 0; i < 26; i++) { - if (alphabetR[i] !== alphabet[i]) result = false; -} - -if (result !== true) { - $ERROR('#1: CHECK RUSSIAN ALPHABET'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T3.js deleted file mode 100644 index 6c9e237eb2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T3.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A2.1_T3; - * @section: 15.4.4.11; - * @assertion: - * If ToString([[Get]] ToString(j)) < ToString([[Get]] ToString(k)), return -1. - * If ToString([[Get]] ToString(j)) > ToString([[Get]] ToString(k)), return 1; - * return -1 - * @description: Checking ToString operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A2.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.1_T3.js", - -assertion: "* If ToString([[Get]] ToString(j)) < ToString([[Get]] ToString(k)), return -1.", - -description: "Checking ToString operator", - -test: function testcase() { - var obj = {valueOf: function() {return 1}, toString: function() {return -2}}; -var alphabetR = [undefined, 2, 1, "X", -1, "a", true, obj, NaN, Infinity]; -var alphabet = [-1, obj, 1, 2, Infinity, NaN, "X", "a", true, undefined]; - -//CHECK#1 -alphabetR.sort(); -var result = true; -for (var i = 0; i < 10; i++) { - if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) { - if (alphabetR[i] !== alphabet[i]) result = false; - } -} - -if (result !== true) { - $ERROR('#1: Check ToString operator'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T1.js deleted file mode 100644 index b93bdb7c68..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A2.2_T1; - * @section: 15.4.4.11; - * @assertion: My comparefn is inverse implementation comparefn; - * @description: Checking ENGLISH ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A2.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T1.js", - -assertion: "My comparefn is inverse implementation comparefn", - -description: "Checking ENGLISH ALPHABET", - -test: function testcase() { - var alphabetR = ["z", "y", "x", "w", "v", "u", "t", "s", "r", "q", "p", "o", "n", "M", "L", "K", "J", "I", "H", "G", "F", "E", "D", "C", "B", "A"]; -var alphabet = ["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"]; - -var myComparefn = function(x,y) { - var xS = String(x); - var yS = String(y); - if (xS < yS) return 1 - if (xS > yS) return -1; - return 0; -} - -//CHECK#1 -alphabet.sort(myComparefn); -var result = true; -for (var i = 0; i < 26; i++) { - if (alphabetR[i] !== alphabet[i]) result = false; -} - -if (result !== true) { - $ERROR('#1: CHECK ENGLISH ALPHABET'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T2.js deleted file mode 100644 index a6c5f0bc83..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A2.2_T2; - * @section: 15.4.4.11; - * @assertion: My comparefn is inverse implementation comparefn; - * @description: Checking RUSSIAN ALPHABET; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A2.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T2.js", - -assertion: "My comparefn is inverse implementation comparefn", - -description: "Checking RUSSIAN ALPHABET", - -test: function testcase() { - var alphabetR = ["ё", "я", "ю", "э", "ь", "ы", "ъ", "щ", "ш", "ч", "ц", "х", "ф", "у", "т", "с", "р", "П", "О", "Н", "М", "Л", "К", "Й", "И", "З", "Ж", "Е", "Д", "Г", "В", "Б", "А"]; -var alphabet = ["А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я", "ё"]; - -var myComparefn = function(x,y) { - var xS = String(x); - var yS = String(y); - if (xS < yS) return 1 - if (xS > yS) return -1; - return 0; -} - -//CHECK#1 -alphabet.sort(myComparefn); -var result = true; -for (var i = 0; i < 26; i++) { - if (alphabetR[i] !== alphabet[i]) result = false; -} - -if (result !== true) { - $ERROR('#1: CHECK RUSSIAN ALPHABET'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T3.js deleted file mode 100644 index 5d70b2b8eb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A2.2_T3; - * @section: 15.4.4.11; - * @assertion: My comparefn is inverse implementation comparefn; - * @description: Checking ToString operator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A2.2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A2.2_T3.js", - -assertion: "My comparefn is inverse implementation comparefn", - -description: "Checking ToString operator", - -test: function testcase() { - var obj = {valueOf: function() {return 1}, toString: function() {return -2}}; -var alphabetR = [undefined, 2, 1, "X", -1, "a", true, obj, NaN, Infinity]; -var alphabet = [true, "a", "X", NaN, Infinity, 2, 1, obj, -1, undefined]; - -var myComparefn = function(x,y) { - var xS = String(x); - var yS = String(y); - if (xS < yS) return 1 - if (xS > yS) return -1; - return 0; -} - -//CHECK#1 -alphabetR.sort(myComparefn); -var result = true; -for (var i = 0; i < 10; i++) { - if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) { - if (alphabetR[i] !== alphabet[i]) result = false; - } -} - -if (result !== true) { - $ERROR('#1: Check ToString operator'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T1.js deleted file mode 100644 index da210dda7b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T1.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A3_T1; - * @section: 15.4.4.11; - * @assertion: The sort function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If comparefn is undefined, use SortCompare operator; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T1.js", - -assertion: "The sort function is intentionally generic.", - -description: "If comparefn is undefined, use SortCompare operator", - -test: function testcase() { - var obj = {valueOf: function() {return 1}, toString: function() {return -2}}; -var alphabetR = {0:undefined, 1:2, 2:1, 3:"X", 4:-1, 5:"a", 6:true, 7:obj, 8:NaN, 9:Infinity}; -alphabetR.sort = Array.prototype.sort; -alphabetR.length = 10; -var alphabet = [-1, obj, 1, 2, Infinity, NaN, "X", "a", true, undefined]; - -alphabetR.sort(); - - //CHECK#0 -alphabetR.getClass = Object.prototype.toString; -if (alphabetR.getClass() !== "[object " + "Object" + "]") { - $ERROR('#0: alphabetR.sort() is Object object, not Array object'); -} - -//CHECK#1 -var result = true; -for (var i = 0; i < 10; i++) { - if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) { - if (alphabetR[i] !== alphabet[i]) result = false; - } -} - -if (result !== true) { - $ERROR('#1: Check ToString operator'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T2.js deleted file mode 100644 index 6ada2e938f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T2.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A3_T2; - * @section: 15.4.4.11; - * @assertion: The sort function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If comparefn is not undefined; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A3_T2.js", - -assertion: "The sort function is intentionally generic.", - -description: "If comparefn is not undefined", - -test: function testcase() { - var obj = {valueOf: function() {return 1}, toString: function() {return -2}}; -var alphabetR = {0:undefined, 1:2, 2:1, 3:"X", 4:-1, 5:"a", 6:true, 7:obj, 8:NaN, 9:Infinity}; -alphabetR.sort = Array.prototype.sort; -alphabetR.length = 10; -var alphabet = [true, "a", "X", NaN, Infinity, 2, 1, obj, -1, undefined]; - - var myComparefn = function(x,y) { - var xS = String(x); - var yS = String(y); - if (xS < yS) return 1 - if (xS > yS) return -1; - return 0; -} - -alphabetR.sort(myComparefn); - - //CHECK#0 -alphabetR.getClass = Object.prototype.toString; -if (alphabetR.getClass() !== "[object " + "Object" + "]") { - $ERROR('#0: alphabetR.sort() is Object object, not Array object'); -} - -//CHECK#1 -var result = true; -for (var i = 0; i < 10; i++) { - if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) { - if (alphabetR[i] !== alphabet[i]) result = false; - } -} - -if (result !== true) { - $ERROR('#1: Check ToString operator'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T1.js deleted file mode 100644 index 140798590b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A4_T1; - * @section: 15.4.4.11; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967296; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T1.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967296", - -test: function testcase() { - var obj = {}; -obj.sort = Array.prototype.sort; -obj[0] = "x"; -obj[4294967295] = "y"; -obj.length = 4294967296; - -//CHECK#1 -if (obj.sort() !== obj) { - $ERROR('#1: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.sort() === obj. Actual: ' + (obj.sort())); -} - -//CHECK#2 -if (obj.length !== 4294967296) { - $ERROR('#2: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.sort(); obj.length === 4294967296. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "x") { - $ERROR('#3: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.sort(); obj[0] == "x"'); -} - -//CHECK#4 -if (obj[4294967295] !== "y") { - $ERROR('#4: var obj = {}; obj.sort = Array.prototype.sort; obj[] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.sort(); obj[4294967295] == "y"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T2.js deleted file mode 100644 index 45b921b932..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T2.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A4_T2; - * @section: 15.4.4.11; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967298; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T2.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967298", - -test: function testcase() { - var obj = {}; -obj.sort = Array.prototype.sort; -obj[0] = "z"; -obj[1] = "y"; -obj[4294967297] = "x"; -obj.length = 4294967298; - -//CHECK#1 -if (obj.sort() !== obj) { - $ERROR('#1: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[4294967297] = "x"; obj.length = 4294967298; obj.sort() === obj. Actual: ' + (obj.sort())); -} - -//CHECK#2 -if (obj.length !== 4294967298) { - $ERROR('#2: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[4294967297] = "x"; obj.length = 4294967298; obj.sort(); obj.length === 4294967298. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "y") { - $ERROR('#3: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[4294967297] = "x"; obj.length = 4294967298; obj.sort(); obj[0] === "y". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== "z") { - $ERROR('#4: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[4294967297] = "x"; obj.length = 4294967298; obj.sort(); obj[1] === "z". Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[4294967297] !== "x") { - $ERROR('#5: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[4294967297] = "x"; obj.length = 4294967298; obj.sort(); obj[4294967297] === "x". Actual: ' + (obj[4294967297])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T3.js deleted file mode 100644 index d8a686392b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T3.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A4_T3; - * @section: 15.4.4.11; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = -4294967294; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A4_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T3.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = -4294967294", - -test: function testcase() { - var obj = {}; -obj.sort = Array.prototype.sort; -obj[0] = "z"; -obj[1] = "y"; -obj[2] = "x"; -obj.length = -4294967294; - -//CHECK#1 -if (obj.sort() !== obj) { - $ERROR('#1: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[2] = "x"; obj.length = -4294967294; obj.sort() === obj. Actual: ' + (obj.sort())); -} - -//CHECK#2 -if (obj.length !== -4294967294) { - $ERROR('#2: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[2] = "x"; obj.length = -4294967294; obj.sort(); obj.length === -4294967294. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "y") { - $ERROR('#3: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[2] = "x"; obj.length = -4294967294; obj.sort(); obj[0] === "y". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== "z") { - $ERROR('#4: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[2] = "x"; obj.length = -4294967294; obj.sort(); obj[1] === "z". Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[2] !== "x") { - $ERROR('#5: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[2] = "x"; obj.length = -4294967294; obj.sort(); obj[2] === "x". Actual: ' + (obj[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js deleted file mode 100644 index 11aa3798e1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A5_T1; - * @section: 15.4.4.11; - * @assertion: Array.sort should not eat exceptions; - * @description: comparefn function throw "error"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A5_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js", - -assertion: "Array.sort should not eat exceptions", - -description: "comparefn function throw \"error\"", - -test: function testcase() { - //CHECK#1 -var myComparefn = function(x,y) { - throw "error"; -} -var x = [1,0]; -try { - x.sort(myComparefn) - $ERROR('#1.1: Array.sort should not eat exceptions'); -} catch(e) { - if (e !== "error") { - $ERROR('#1.2: Array.sort should not eat exceptions'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A6_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A6_T2.js deleted file mode 100644 index 4d39bbf5ea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A6_T2.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.11_A6_T2; - * @section: 15.4.4.11, 8.6.2.1, 8.6.2.5; - * @assertion: [[Get]], [[Delete]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A6_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A6_T2.js", - -assertion: "[[Get]], [[Delete]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = -1; -var x = [1,0]; -x.length = 2; -x.sort(); - -//CHECK#1 -if (x[0] !== 0) { - $ERROR('#1: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#2 -if (x[1] !== 1) { - $ERROR('#2: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x[1] === 1. Actual: ' + (x[1])); -} - -x.length = 0; - -//CHECK#3 -if (x[0] !== undefined) { - $ERROR('#3: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x.length = 0; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== -1) { - $ERROR('#4: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x.length = 0; x[1] === -1. Actual: ' + (x[1])); -} - -Object.prototype[1] = -1; -Object.prototype.length = 2; -Object.prototype.sort = Array.prototype.sort; -x = {0:1,1:0}; -x.sort(); - -//CHECK#5 -if (x[0] !== 0) { - $ERROR('#5: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== 1) { - $ERROR('#6: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); x[1] === 1. Actual: ' + (x[1])); -} - -delete x[0]; -delete x[1]; - -//CHECK#7 -if (x[0] !== undefined) { - $ERROR('#7: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); delete x[0]; delete x[1]; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#8 -if (x[1] !== -1) { - $ERROR('#8: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); delete x[0]; delete x[1]; x[1] === -1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.1.js deleted file mode 100644 index c6c5b138e4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.11_A7.1; -* @section: 15.4.4.11, 15.2.4.7, 12.6.4; -* @assertion: The length property of sort has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A7.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.1.js", - -assertion: "The length property of sort has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.sort.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.sort.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.sort.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.sort){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.sort) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.2.js deleted file mode 100644 index c9e9605c0b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.11_A7.2; -* @section: 15.4.4.11, 15.2.4.5, 11.4.1; -* @assertion: The length property of sort has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A7.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.2.js", - -assertion: "The length property of sort has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.sort.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.sort.prototype.hasOwnProperty(\'length\') === true. Actual: ' + (Array.sort.prototype.hasOwnProperty('length'))); -} - -delete Array.prototype.sort.length; - -//CHECK#2 -if (Array.prototype.sort.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.sort.length; Array.prototype.sort.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.sort.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.sort.length === undefined) { - $ERROR('#3: delete Array.prototype.sort.length; Array.prototype.sort.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.3.js deleted file mode 100644 index 4fe53037d8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.11_A7.3; -* @section: 15.4.4.11; -* @assertion: The length property of sort has the attribute ReadOnly; -* @description: Checking if varying the length fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A7.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.3.js", - -assertion: "The length property of sort has the attribute ReadOnly", - -description: "Checking if varying the length fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.sort.length; -Array.prototype.sort.length = Infinity; -if (Array.prototype.sort.length !== x) { - $ERROR('#1: x = Array.prototype.sort.length; Array.prototype.sort.length = Infinity; Array.prototype.sort.length === x. Actual: ' + (Array.prototype.sort.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.4.js deleted file mode 100644 index bd5c34a0e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.11_A7.4; -* @section: 15.4.4.11; -* @assertion: The length property of sort is 1; -* @description: sort.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A7.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.4.js", - -assertion: "The length property of sort is 1", - -description: "sort.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.sort.length !== 1) { - $ERROR('#1: Array.prototype.sort.length === 1. Actual: ' + (Array.prototype.sort.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.5.js deleted file mode 100644 index 7308e48624..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.11_A7.5; -* @section: 15.4.4.11, 15.2.4.7, 12.6.4; -* @assertion: The sort property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A7.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.5.js", - -assertion: "The sort property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('sort') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'sort\') === false. Actual: ' + (Array.propertyIsEnumerable('sort'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "sort") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "sort") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.6.js deleted file mode 100644 index 4f7dba67d9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.11_A7.6; -* @section: 15.4.4.11; -* @assertion: The sort property of Array has not prototype property; -* @description: Checking Array.prototype.sort.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A7.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.6.js", - -assertion: "The sort property of Array has not prototype property", - -description: "Checking Array.prototype.sort.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.sort.prototype !== undefined) { - $ERROR('#1: Array.prototype.sort.prototype === undefined. Actual: ' + (Array.prototype.sort.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.7.js deleted file mode 100644 index 00b557b376..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.11_A7.7; -* @section: 15.4.4.11, 11.2.2; -* @assertion: The sort property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A7.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A7.7.js", - -assertion: "The sort property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.sort(); - $ERROR('#1.1: new Array.prototype.sort() throw TypeError. Actual: ' + (new Array.prototype.sort())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.sort() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js deleted file mode 100644 index d3a5086481..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.11_A8; -* @section: 15.4.4.11; -* @assertion: Call the comparefn passing undefined as the this value (step 13b); -* @description: comparefn tests that its this value is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.11_A8", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js", - -assertion: "Call the comparefn passing undefined as the this value (step 13b)", - -description: "comparefn tests that its this value is undefined", - -test: function testcase() { - var global = this; -[2,3].sort(function(x,y) { - "use strict"; - - if (this === global) { - $FAIL('#1: Sort leaks global'); - } - if (this !== undefined) { - $FAIL('#2: Sort comparefn should be called with this===undefined. ' + - 'Actual: ' + this); - } - return x - y; -}); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T1.js deleted file mode 100644 index c393ff4267..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.1_T1; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: length > deleteCount > start = 0, itemCount = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T1.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length > deleteCount > start = 0, itemCount = 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(0,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(0,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(0,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(0,3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(0,3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(0,3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(0,3); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 3) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(0,3); x[0] === 3. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T2.js deleted file mode 100644 index c3ce2a99e6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.1_T2; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: length > deleteCount > start = 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T2.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length > deleteCount > start = 0, itemCount > 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(0,3,4,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(0,3,4,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(0,3,4,5); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(0,3,4,5); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(0,3,4,5); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(0,3,4,5); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(0,3,4,5); x.length === 3. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 4) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(0,3,4,5); x[0] === 4. Actual: ' + (x[0])); -} - -//CHECK#8 -if (x[1] !== 5) { - $ERROR('#8: var x = [0,1,2,3]; var arr = x.splice(0,3,4,5); x[1] === 5. Actual: ' + (x[1])); -} - -//CHECK#9 -if (x[2] !== 3) { - $ERROR('#9: var x = [0,1,2,3]; var arr = x.splice(0,3,4,5); x[2] === 3. Actual: ' + (x[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T3.js deleted file mode 100644 index f4cbfb2631..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T3.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.1_T3; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: length = deleteCount > start = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T3.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length = deleteCount > start = 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(0,4); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(0,4); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 4) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(0,4); arr.length === 4. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(0,4); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(0,4); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(0,4); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(0,4); arr[3] === 3. Actual: ' + (arr[3])); -} - -//CHECK#7 -if (x.length !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(0,4); x.length === 0. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T4.js deleted file mode 100644 index d3922f5317..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T4.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.1_T4; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: length > deleteCount > start > 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.1_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T4.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length > deleteCount > start > 0, itemCount > 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(1,3,4,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(1,3,4,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(1,3,4,5); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 1) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(1,3,4,5); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 2) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(1,3,4,5); arr[1] === 2. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 3) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(1,3,4,5); arr[2] === 3. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(1,3,4,5); x.length === 3. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(1,3,4,5); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#8 -if (x[1] !== 4) { - $ERROR('#8: var x = [0,1,2,3]; var arr = x.splice(1,3,4,5); x[1] === 4. Actual: ' + (x[1])); -} - -//CHECK#9 -if (x[2] !== 5) { - $ERROR('#9: var x = [0,1,2,3]; var arr = x.splice(1,3,4,5); x[2] === 5. Actual: ' + (x[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T5.js deleted file mode 100644 index 0a2ba8efd2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.1_T5; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: deleteCount > length > start = 0, itemCount = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.1_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T5.js", - -assertion: "If start is positive, use min(start, length).", - -description: "deleteCount > length > start = 0, itemCount = 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(0,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(0,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 4) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(0,5); arr.length === 4. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(0,5); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(0,5); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(0,5); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(0,5); arr[3] === 3. Actual: ' + (arr[3])); -} - -//CHECK#7 -if (x.length !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(0,5); x.length === 0. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T6.js deleted file mode 100644 index b9a2811068..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T6.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.1_T6; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: length = deleteCount > start > 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.1_T6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.1_T6.js", - -assertion: "If start is positive, use min(start, length).", - -description: "length = deleteCount > start > 0, itemCount > 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(1,4,4,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(1,4,4,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(1,4,4,5); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 1) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(1,4,4,5); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 2) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(1,4,4,5); arr[1] === 2. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 3) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(1,4,4,5); arr[2] === 3. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(1,4,4,5); x.length === 3. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(1,4,4,5); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#8 -if (x[1] !== 4) { - $ERROR('#8: var x = [0,1,2,3]; var arr = x.splice(1,4,4,5); x[1] === 4. Actual: ' + (x[1])); -} - -//CHECK#9 -if (x[2] !== 5) { - $ERROR('#9: var x = [0,1,2,3]; var arr = x.splice(1,4,4,5); x[2] === 5. Actual: ' + (x[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T1.js deleted file mode 100644 index 403277c044..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.2_T1; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is negative, use 0; - * @description: -length = start < deleteCount < 0, itemCount = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T1.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "-length = start < deleteCount < 0, itemCount = 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(-2,-1); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(-2,-1); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(-2,-1); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 2) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(-2,-1); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(-2,-1); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(-2,-1); x[1] === 1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T2.js deleted file mode 100644 index 4dfcac70e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.2_T2; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is negative, use 0; - * @description: -length < start = deleteCount < 0, itemCount = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T2.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "-length < start = deleteCount < 0, itemCount = 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(-1,-1); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(-1,-1); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(-1,-1); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 2) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(-1,-1); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(-1,-1); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(-1,-1); x[1] === 1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T3.js deleted file mode 100644 index a31f7f82ce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T3.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.2_T3; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is negative, use 0; - * @description: -length = start < deleteCount < 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T3.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "-length = start < deleteCount < 0, itemCount > 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(-2,-1,2,3); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(-2,-1,2,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(-2,-1,2,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 4) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(-2,-1,2,3); x.length === 4. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 2) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(-2,-1,2,3); x[0] === 2. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 3) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(-2,-1,2,3); x[1] === 3. Actual: ' + (x[1])); -} - -//CHECK#5 -if (x[2] !== 0) { - $ERROR('#5: var x = [0,1]; var arr = x.splice(-2,-1,2,3); x[2] === 0. Actual: ' + (x[2])); -} - -//CHECK#6 -if (x[3] !== 1) { - $ERROR('#6: var x = [0,1]; var arr = x.splice(-2,-1,2,3); x[3] === 1. Actual: ' + (x[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T4.js deleted file mode 100644 index c2074378a1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T4.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.2_T4; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is negative, use 0; - * @description: -length < start = deleteCount < 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.2_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T4.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "-length < start = deleteCount < 0, itemCount > 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(-1,-1,2,3); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(-1,-1,2,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(-1,-1,2,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 4) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(-1,-1,2,3); x.length === 4. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(-1,-1,2,3); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 2) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(-1,-1,2,3); x[1] === 2. Actual: ' + (x[1])); -} - -//CHECK#5 -if (x[2] !== 3) { - $ERROR('#5: var x = [0,1]; var arr = x.splice(-1,-1,2,3); x[2] === 3. Actual: ' + (x[2])); -} - -//CHECK#6 -if (x[3] !== 1) { - $ERROR('#6: var x = [0,1]; var arr = x.splice(-1,-1,2,3); x[3] === 1. Actual: ' + (x[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T5.js deleted file mode 100644 index a0be79a1aa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.2_T5; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is negative, use 0; - * @description: start < -length < deleteCount < 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.2_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.2_T5.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "start < -length < deleteCount < 0, itemCount > 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(-3,-1,2,3); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(-3,-1,2,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(-3,-1,2,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 4) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(-3,-1,2,3); x.length === 4. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 2) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(-3,-1,2,3); x[0] === 2. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 3) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(-3,-1,2,3); x[1] === 3. Actual: ' + (x[1])); -} - -//CHECK#5 -if (x[2] !== 0) { - $ERROR('#5: var x = [0,1]; var arr = x.splice(-3,-1,2,3); x[2] === 0. Actual: ' + (x[2])); -} - -//CHECK#6 -if (x[3] !== 1) { - $ERROR('#6: var x = [0,1]; var arr = x.splice(-3,-1,2,3); x[3] === 1. Actual: ' + (x[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T1.js deleted file mode 100644 index b3eeacca9b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.3_T1; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is negative, use 0; - * @description: -length < deleteCount < start = 0, itemCount = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T1.js", - -assertion: "If start is positive, use min(start, length).", - -description: "-length < deleteCount < start = 0, itemCount = 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(0,-1); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(0,-1); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(0,-1); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 2) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(0,-1); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(0,-1); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(0,-1); x[1] === 1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T2.js deleted file mode 100644 index ff79c567df..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.3_T2; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is negative, use 0; - * @description: -length = -start < deleteCount < 0, itemCount = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T2.js", - -assertion: "If start is positive, use min(start, length).", - -description: "-length = -start < deleteCount < 0, itemCount = 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(2,-1); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(2,-1); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(2,-1); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 2) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(2,-1); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(2,-1); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(2,-1); x[1] === 1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T3.js deleted file mode 100644 index d62be48e63..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T3.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.3_T3; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is negative, use 0; - * @description: -length < deleteCount < start = 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T3.js", - -assertion: "If start is positive, use min(start, length).", - -description: "-length < deleteCount < start = 0, itemCount > 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(0,-1,2,3); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(0,-1,2,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(0,-1,2,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 4) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(0,-1,2,3); x.length === 4. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 2) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(0,-1,2,3); x[0] === 2. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 3) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(0,-1,2,3); x[1] === 3. Actual: ' + (x[1])); -} - -//CHECK#5 -if (x[2] !== 0) { - $ERROR('#5: var x = [0,1]; var arr = x.splice(0,-1,2,3); x[2] === 0. Actual: ' + (x[2])); -} - -//CHECK#6 -if (x[3] !== 1) { - $ERROR('#6: var x = [0,1]; var arr = x.splice(0,-1,2,3); x[3] === 1. Actual: ' + (x[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T4.js deleted file mode 100644 index e13477212c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T4.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.3_T4; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is negative, use 0; - * @description: -length = -start < deleteCount < 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.3_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T4.js", - -assertion: "If start is positive, use min(start, length).", - -description: "-length = -start < deleteCount < 0, itemCount > 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(2,-1,2,3); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(2,-1,2,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(2,-1,2,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 4) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(2,-1,2,3); x.length === 4. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(2,-1,2,3); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(2,-1,2,3); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#5 -if (x[2] !== 2) { - $ERROR('#5: var x = [0,1]; var arr = x.splice(2,-1,2,3); x[2] === 2. Actual: ' + (x[2])); -} - -//CHECK#6 -if (x[3] !== 3) { - $ERROR('#6: var x = [0,1]; var arr = x.splice(2,-1,2,3); x[3] === 3. Actual: ' + (x[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T5.js deleted file mode 100644 index 405e45bdab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.3_T5; - * @section: 15.4.4.12; - * @assertion: If start is positive, use min(start, length). - * If deleteCount is negative, use 0; - * @description: -start < -length < deleteCount < 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.3_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.3_T5.js", - -assertion: "If start is positive, use min(start, length).", - -description: "-start < -length < deleteCount < 0, itemCount > 0", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(3,-1,2,3); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(3,-1,2,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(3,-1,2,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 4) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(3,-1,2,3); x.length === 4. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(3,-1,2,3); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(3,-1,2,3); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#5 -if (x[2] !== 2) { - $ERROR('#5: var x = [0,1]; var arr = x.splice(3,-1,2,3); x[2] === 2. Actual: ' + (x[2])); -} - -//CHECK#6 -if (x[3] !== 3) { - $ERROR('#6: var x = [0,1]; var arr = x.splice(3,-1,2,3); x[3] === 3. Actual: ' + (x[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T1.js deleted file mode 100644 index d45c292817..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T1.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.4_T1; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: length = -start > deleteCount > 0, itemCount = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T1.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "length = -start > deleteCount > 0, itemCount = 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(-4,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(-4,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(-4,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(-4,3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(-4,3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(-4,3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(-4,3); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 3) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(-4,3); x[0] === 3. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T2.js deleted file mode 100644 index b3e9c093a7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.4_T2; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: length = -start > deleteCount > 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T2.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "length = -start > deleteCount > 0, itemCount > 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(-4,3,4,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(-4,3,4,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(-4,3,4,5); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(-4,3,4,5); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(-4,3,4,5); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(-4,3,4,5); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(-4,3,4,5); x.length === 3. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 4) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(-4,3,4,5); x[0] === 4. Actual: ' + (x[0])); -} - -//CHECK#8 -if (x[1] !== 5) { - $ERROR('#8: var x = [0,1,2,3]; var arr = x.splice(-4,3,4,5); x[1] === 5. Actual: ' + (x[1])); -} - -//CHECK#9 -if (x[2] !== 3) { - $ERROR('#9: var x = [0,1,2,3]; var arr = x.splice(-4,3,4,5); x[2] === 3. Actual: ' + (x[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T3.js deleted file mode 100644 index f32a6453a0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T3.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.4_T3; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: -start > length = deleteCount > 0, itemCount = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.4_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T3.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "-start > length = deleteCount > 0, itemCount = 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(-5,4); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(-5,4); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 4) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(-5,4); arr.length === 4. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(-5,4); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(-5,4); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(-5,4); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(-5,4); arr[3] === 3. Actual: ' + (arr[3])); -} - -//CHECK#7 -if (x.length !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(-5,4); x.length === 0. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T4.js deleted file mode 100644 index f8159e0773..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T4.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.4_T4; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: length > -start = deleteCount > 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.4_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T4.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "length > -start = deleteCount > 0, itemCount > 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(-3,3,4,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(-3,3,4,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(-3,3,4,5); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 1) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(-3,3,4,5); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 2) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(-3,3,4,5); arr[1] === 2. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 3) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(-3,3,4,5); arr[2] === 3. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(-3,3,4,5); x.length === 3. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(-3,3,4,5); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#8 -if (x[1] !== 4) { - $ERROR('#8: var x = [0,1,2,3]; var arr = x.splice(-3,3,4,5); x[1] === 4. Actual: ' + (x[1])); -} - -//CHECK#9 -if (x[2] !== 5) { - $ERROR('#9: var x = [0,1,2,3]; var arr = x.splice(-3,3,4,5); x[2] === 5. Actual: ' + (x[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T5.js deleted file mode 100644 index d1fc4e5cc4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.4_T5; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: -start > deleteCount > length > 0, itemCount = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.4_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T5.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "-start > deleteCount > length > 0, itemCount = 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(-9,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(-9,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 4) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(-9,5); arr.length === 4. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(-9,5); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(-9,5); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(-9,5); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(-9,5); arr[3] === 3. Actual: ' + (arr[3])); -} - -//CHECK#7 -if (x.length !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(-9,5); x.length === 0. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T6.js deleted file mode 100644 index b4238a19f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T6.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.4_T6; - * @section: 15.4.4.12; - * @assertion: If start is negative, use max(start + length, 0). - * If deleteCount is positive, use min(deleteCount, length - start); - * @description: length = deleteCount > -start > 0, itemCount > 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.4_T6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.4_T6.js", - -assertion: "If start is negative, use max(start + length, 0).", - -description: "length = deleteCount > -start > 0, itemCount > 0", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(-3,4,4,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(-3,4,4,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(-3,4,4,5); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 1) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(-3,4,4,5); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 2) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(-3,4,4,5); arr[1] === 2. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 3) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(-3,4,4,5); arr[2] === 3. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(-3,4,4,5); x.length === 3. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(-3,4,4,5); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#8 -if (x[1] !== 4) { - $ERROR('#8: var x = [0,1,2,3]; var arr = x.splice(-3,4,4,5); x[1] === 4. Actual: ' + (x[1])); -} - -//CHECK#9 -if (x[2] !== 5) { - $ERROR('#9: var x = [0,1,2,3]; var arr = x.splice(-3,4,4,5); x[2] === 5. Actual: ' + (x[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T1.js deleted file mode 100644 index 64854be537..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T1.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.5_T1; - * @section: 15.4.4.12; - * @assertion: Splice with undefined arguments; - * @description: start === undefined, end === undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.5_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T1.js", - -assertion: "Splice with undefined arguments", - -description: "start === undefined, end === undefined", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(undefined, undefined); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(undefined, undefined); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(undefined, undefined); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (x.length !== 4) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(undefined, undefined); x.length === 4. Actual: ' + (x.length)); -} - -//CHECK#4 -if (x[0] !== 0) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(undefined, undefined); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#5 -if (x[1] !== 1) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(undefined, undefined); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#6 -if (x[2] !== 2) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(undefined, undefined); x[2] === 2. Actual: ' + (x[2])); -} - -//CHECK#7 -if (x[3] !== 3) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(undefined, undefined); x[3] === 3. Actual: ' + (x[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T2.js deleted file mode 100644 index e697415135..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T2.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A1.5_T2; - * @section: 15.4.4.12; - * @assertion: Splice with undefined arguments; - * @description: end === undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A1.5_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A1.5_T2.js", - -assertion: "Splice with undefined arguments", - -description: "end === undefined", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(1,undefined); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(1,undefined); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(1,undefined); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (x.length !== 4) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(1,undefined); x.length === 4. Actual: ' + (x.length)); -} - -//CHECK#4 -if (x[0] !== 0) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(1,undefined); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#5 -if (x[1] !== 1) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(1,undefined); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#6 -if (x[2] !== 2) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(1,undefined); x[2] === 2. Actual: ' + (x[2])); -} - -//CHECK#7 -if (x[3] !== 3) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(1,undefined); x[3] === 3. Actual: ' + (x[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T1.js deleted file mode 100644 index e7bef5ebcc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T1.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.1_T1; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from start; - * @description: start is not integer; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T1.js", - -assertion: "Operator use ToInteger from start", - -description: "start is not integer", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(1.5,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(1.5,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(1.5,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 1) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(1.5,3); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 2) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(1.5,3); arr[1] === 2. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 3) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(1.5,3); arr[2] === 3. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(1.5,3); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(1.5,3); x[0] === 0. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T2.js deleted file mode 100644 index ecdd9d1c88..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T2.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.1_T2; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from start; - * @description: start = NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T2.js", - -assertion: "Operator use ToInteger from start", - -description: "start = NaN", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(NaN,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(NaN,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(NaN,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(NaN,3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(NaN,3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(NaN,3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(NaN,3); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 3) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(NaN,3); x[0] === 3. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T3.js deleted file mode 100644 index 2b8690cade..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T3.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.1_T3; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from start; - * @description: start = Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T3.js", - -assertion: "Operator use ToInteger from start", - -description: "start = Infinity", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(Number.POSITIVE_INFINITY,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(Number.POSITIVE_INFINITY,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 0) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(Number.POSITIVE_INFINITY,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var x = x.splice(Number.POSITIVE_INFINITY,3); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var x = x.splice(Number.POSITIVE_INFINITY,3); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#5 -if (x[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var x = x.splice(Number.POSITIVE_INFINITY,3); x[2] === 2. Actual: ' + (x[2])); -} - -//CHECK#6 -if (x[3] !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var x = x.splice(Number.POSITIVE_INFINITY,3); x[3] === 3. Actual: ' + (x[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T4.js deleted file mode 100644 index bf316c757d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T4.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.1_T4; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from start; - * @description: start = -Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.1_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T4.js", - -assertion: "Operator use ToInteger from start", - -description: "start = -Infinity", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(Number.NEGATIVE_INFINITY,3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(Number.NEGATIVE_INFINITY,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(Number.NEGATIVE_INFINITY,3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(Number.NEGATIVE_INFINITY,3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(Number.NEGATIVE_INFINITY,3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(Number.NEGATIVE_INFINITY,3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(Number.NEGATIVE_INFINITY,3); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 3) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(Number.NEGATIVE_INFINITY,3); x[0] === 3. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T5.js deleted file mode 100644 index be731603f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T5.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.1_T5; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from start; - * @description: ToInteger use ToNumber; - * @description: ToInteger use ToNumber; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.1_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T5.js", - -assertion: "Operator use ToInteger from start", - -description: "ToInteger use ToNumber", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice({valueOf: function() {return 0}, toString: function() {return 3}},3); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice({valueOf: function() {return 0}, toString: function() {return 3}},3); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice({valueOf: function() {return 0}, toString: function() {return 3}},3); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 3) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice({valueOf: function() {return 0}, toString: function() {return 3}},3); x[0] === 3. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T1.js deleted file mode 100644 index 1ac24ddfe8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T1.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.2_T1; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from deleteCount; - * @description: deleteCount is not integer; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T1.js", - -assertion: "Operator use ToInteger from deleteCount", - -description: "deleteCount is not integer", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(1,3.5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(1,3.5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(1,3.5); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 1) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(1,3.5); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 2) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(1,3.5); arr[1] === 2. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 3) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(1,3.5); arr[2] === 3. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(1,3.5); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(1,3.5); x[0] === 0. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T2.js deleted file mode 100644 index 8c5439c0c4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.2_T2; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from deleteCount; - * @description: deleteCount = NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T2.js", - -assertion: "Operator use ToInteger from deleteCount", - -description: "deleteCount = NaN", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(0,NaN); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(0,NaN); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(0,NaN); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 2) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(0,NaN); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(0,NaN); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(0,NaN); x[1] === 1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T3.js deleted file mode 100644 index 6469b263a1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T3.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.2_T3; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from deleteCount; - * @description: deleteCount = Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T3.js", - -assertion: "Operator use ToInteger from deleteCount", - -description: "deleteCount = Infinity", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(0,Number.POSITIVE_INFINITY); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(0,Number.POSITIVE_INFINITY); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 4) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(0,Number.POSITIVE_INFINITY); arr.length === 4. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(0,Number.POSITIVE_INFINITY); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(0,Number.POSITIVE_INFINITY); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(0,Number.POSITIVE_INFINITY); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (arr[3] !== 3) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(0,Number.POSITIVE_INFINITY); arr[3] === 3. Actual: ' + (arr[3])); -} - -//CHECK#7 -if (x.length !== 0) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(0,Number.POSITIVE_INFINITY); x.length === 0. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T4.js deleted file mode 100644 index 57016a35f6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.2_T4; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from deleteCount; - * @description: deleteCount = -Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.2_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T4.js", - -assertion: "Operator use ToInteger from deleteCount", - -description: "deleteCount = -Infinity", - -test: function testcase() { - var x = [0,1]; -var arr = x.splice(0,Number.NEGATIVE_INFINITY); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.splice(0,Number.NEGATIVE_INFINITY); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.splice(0,Number.NEGATIVE_INFINITY); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (x.length !== 2) { - $ERROR('#2: var x = [0,1]; var arr = x.splice(0,Number.NEGATIVE_INFINITY); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: var x = [0,1]; var arr = x.splice(0,Number.NEGATIVE_INFINITY); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: var x = [0,1]; var arr = x.splice(0,Number.NEGATIVE_INFINITY); x[1] === 1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T5.js deleted file mode 100644 index ee1f0e8843..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T5.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2.2_T5; - * @section: 15.4.4.12; - * @assertion: Operator use ToInteger from deleteCount; - * @description: ToInteger use ToNumber; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2.2_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.2_T5.js", - -assertion: "Operator use ToInteger from deleteCount", - -description: "ToInteger use ToNumber", - -test: function testcase() { - var x = [0,1,2,3]; -var arr = x.splice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var x = [0,1,2,3]; var arr = x.splice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var x = [0,1,2,3]; var arr = x.splice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var x = [0,1,2,3]; var arr = x.splice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var x = [0,1,2,3]; var arr = x.splice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var x = [0,1,2,3]; var arr = x.splice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: var x = [0,1,2,3]; var arr = x.splice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -if (x[0] !== 3) { - $ERROR('#7: var x = [0,1,2,3]; var arr = x.splice(0,{valueOf: function() {return 3}, toString: function() {return 0}}); x[0] === 3. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T1.js deleted file mode 100644 index 3576deae2c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T1.js +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2_T1; - * @section: 15.4.4.12; - * @assertion: The splice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If start is positive, use min(start, length). - * If deleteCount is positive, use min(deleteCount, length - start); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T1.js", - -assertion: "The splice function is intentionally generic.", - -description: "If start is positive, use min(start, length).", - -test: function testcase() { - var obj = {0:0,1:1,2:2,3:3}; -obj.length = 4; -obj.splice = Array.prototype.splice; -var arr = obj.splice(0,3,4,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (obj.length !== 3) { - $ERROR('#6: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); obj.length === 3. Actual: ' + (obj.length)); -} - -//CHECK#7 -if (obj[0] !== 4) { - $ERROR('#7: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); obj[0] === 4. Actual: ' + (obj[0])); -} - -//CHECK#8 -if (obj[1] !== 5) { - $ERROR('#8: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); obj[1] === 5. Actual: ' + (obj[1])); -} - -//CHECK#9 -if (obj[2] !== 3) { - $ERROR('#9: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); obj[2] === 3. Actual: ' + (obj[2])); -} - -//CHECK#10 -if (obj[3] !== undefined) { - $ERROR('#10: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(0,3,4,5); obj[3] === undefined. Actual: ' + (obj[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T2.js deleted file mode 100644 index f64a29a567..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T2.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2_T2; - * @section: 15.4.4.12; - * @assertion: The splice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If start is negative, use max(start + length, 0). - * If deleteCount is negative, use 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T2.js", - -assertion: "The splice function is intentionally generic.", - -description: "If start is negative, use max(start + length, 0).", - -test: function testcase() { - var obj = {0:0,1:1}; -obj.length = 2; -obj.splice = Array.prototype.splice; -var arr = obj.splice(-2,-1,2,3); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(-2,-1,2,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(-2,-1,2,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (obj.length !== 4) { - $ERROR('#2: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(-2,-1,2,3); obj.length === 4. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== 2) { - $ERROR('#3: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(-2,-1,2,3); obj[0] === 2. Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== 3) { - $ERROR('#4: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(-2,-1,2,3); obj[1] === 3. Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[2] !== 0) { - $ERROR('#5: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(-2,-1,2,3); obj[2] === 0. Actual: ' + (obj[2])); -} - -//CHECK#6 -if (obj[3] !== 1) { - $ERROR('#6: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(-2,-1,2,3); obj[3] === 1. Actual: ' + (obj[3])); -} - -//CHECK#7 -if (obj[4] !== undefined) { - $ERROR('#7: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(-2,-1,2,3); obj[4] === undefined. Actual: ' + (obj[4])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T3.js deleted file mode 100644 index 07b62d1bb1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T3.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2_T3; - * @section: 15.4.4.12; - * @assertion: The splice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If start is positive, use min(start, length). - * If deleteCount is negative, use 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T3.js", - -assertion: "The splice function is intentionally generic.", - -description: "If start is positive, use min(start, length).", - -test: function testcase() { - var obj = {0:0,1:1}; -obj.length = 2; -obj.splice = Array.prototype.splice; -var arr = obj.splice(0,-1,2,3); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(0,-1,2,3); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(0,-1,2,3); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (obj.length !== 4) { - $ERROR('#2: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(0,-1,2,3); obj.length === 4. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== 2) { - $ERROR('#3: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(0,-1,2,3); obj[0] === 2. Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== 3) { - $ERROR('#4: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(0,-1,2,3); obj[1] === 3. Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[2] !== 0) { - $ERROR('#5: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(0,-1,2,3); obj[2] === 0. Actual: ' + (obj[2])); -} - -//CHECK#6 -if (obj[3] !== 1) { - $ERROR('#6: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(0,-1,2,3); obj[3] === 1. Actual: ' + (obj[3])); -} - -//CHECK#7 -if (obj[4] !== undefined) { - $ERROR('#7: var obj = {0:0,1:1}; obj.length = 2; obj.splice = Array.prototype.splice; var arr = obj.splice(0,-1,2,3); obj[4] === undefined. Actual: ' + (obj[4])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T4.js deleted file mode 100644 index e25d930b18..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T4.js +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A2_T4; - * @section: 15.4.4.12; - * @assertion: The splice function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If start is negative, use max(start + length, 0). - * If deleteCount is positive, use min(deleteCount, length - start); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A2_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2_T4.js", - -assertion: "The splice function is intentionally generic.", - -description: "If start is negative, use max(start + length, 0).", - -test: function testcase() { - var obj = {0:0,1:1,2:2,3:3}; -obj.length = 4; -obj.splice = Array.prototype.splice; -var arr = obj.splice(-4,3,4,5); - -//CHECK#1 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#2 -if (arr.length !== 3) { - $ERROR('#2: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); arr.length === 3. Actual: ' + (arr.length)); -} - -//CHECK#3 -if (arr[0] !== 0) { - $ERROR('#3: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (arr[1] !== 1) { - $ERROR('#4: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#5 -if (arr[2] !== 2) { - $ERROR('#5: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#6 -if (obj.length !== 3) { - $ERROR('#6: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); obj.length === 3. Actual: ' + (obj.length)); -} - -//CHECK#7 -if (obj[0] !== 4) { - $ERROR('#7: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); obj[0] === 4. Actual: ' + (obj[0])); -} - -//CHECK#8 -if (obj[1] !== 5) { - $ERROR('#8: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); obj[1] === 5. Actual: ' + (obj[1])); -} - -//CHECK#9 -if (obj[2] !== 3) { - $ERROR('#9: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); obj[2] === 3. Actual: ' + (obj[2])); -} - -//CHECK#10 -if (obj[3] !== undefined) { - $ERROR('#10: var obj = {0:0,1:1,2:2,3:3}; obj.length = 4; obj.splice = Array.prototype.splice; var arr = obj.splice(-4,3,4,5); obj[3] === undefined. Actual: ' + (obj[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T1.js deleted file mode 100644 index 7e174e8b6c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T1.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A3_T1; - * @section: 15.4.4.12; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length is arbitrarily; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T1.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length is arbitrarily", - -test: function testcase() { - var obj = {}; -obj.splice = Array.prototype.splice; -obj[0] = "x"; -obj[4294967295] = "y"; -obj.length = 4294967296; -var arr = obj.splice(4294967295, 1); - -//CHECK#1 -if (arr.length !== 0) { - $ERROR('#1: var obj = {}; obj.splice = Array.prototype.splice; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; var arr = obj.splice(4294967295,1); arr.length === 0. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (obj.length !== 0) { - $ERROR('#2: var obj = {}; obj.splice = Array.prototype.splice; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; var arr = obj.splice(4294967295,1); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "x") { - $ERROR('#3: var obj = {}; obj.splice = Array.prototype.splice; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; var arr = obj.splice(4294967295,1); obj[0] === "x". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[4294967295] !== "y") { - $ERROR('#4: var obj = {}; obj.splice = Array.prototype.splice; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; var arr = obj.splice(4294967295,1); obj[4294967295] === "y". Actual: ' + (obj[4294967295])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T2.js deleted file mode 100644 index 019dfbdafe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T2.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A3_T2; - * @section: 15.4.4.12; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length is arbitrarily; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T2.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length is arbitrarily", - -test: function testcase() { - var obj = {}; -obj.splice = Array.prototype.splice; -obj[0] = "x"; -obj.length = 4294967297; -var arr = obj.splice(0,1); - -//CHECK#1 -if (arr.length !== 1) { - $ERROR('#1: var obj = {}; obj.splice = Array.prototype.splice; obj[0] = "x"; obj[0] = "y"; obj.length = 4294967297; var arr = obj.splice(0,1); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (arr[0] !== "x") { - $ERROR('#2: var obj = {}; obj.splice = Array.prototype.splice; obj[0] = "x"; obj[0] = "y"; obj.length = 1; var arr = obj.splice(0,1); arr[0] === "x". Actual: ' + (arr[0])); -} - -//CHECK#3 -if (obj.length !== 0) { - $ERROR('#3: var obj = {}; obj.splice = Array.prototype.splice; obj[0] = "x"; obj[0] = "y"; obj.length = 1; var arr = obj.splice(0,1); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#4 -if (obj[0] !== undefined) { - $ERROR('#4: var obj = {}; obj.splice = Array.prototype.splice; obj[0] = "x"; obj[0] = "y"; obj.length = 1; var arr = obj.splice(0,1); obj[0] === undefined. Actual: ' + (obj[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T3.js deleted file mode 100644 index 311318ccd8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T3.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A3_T3; - * @section: 15.4.4.12; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length is arbitrarily; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T3.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length is arbitrarily", - -test: function testcase() { - var obj = {}; -obj.splice = Array.prototype.splice; -obj[4294967294] = "x"; -obj.length = -1; -var arr = obj.splice(4294967294,1); - -//CHECK#1 -if (arr.length !== 1) { - $ERROR('#1: var obj = {}; obj.splice = Array.prototype.splice; obj[4294967294] = "x"; obj.length = -1; var arr = obj.splice(4294967294,1); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (arr[0] !== "x") { - $ERROR('#2: var obj = {}; obj.splice = Array.prototype.splice; obj[4294967294] = "x"; obj.length = 1; var arr = obj.splice(4294967294,1); arr[0] === "x". Actual: ' + (arr[0])); -} - -//CHECK#3 -if (obj.length !== 4294967294) { - $ERROR('#3: var obj = {}; obj.splice = Array.prototype.splice; obj[4294967294] = "x"; obj.length = 1; var arr = obj.splice(4294967294,1); obj.length === 4294967294. Actual: ' + (obj.length)); -} - -//CHECK#4 -if (obj[4294967294] !== undefined) { - $ERROR('#4: var obj = {}; obj.splice = Array.prototype.splice; obj[4294967294] = "x"; obj.length = 1; var arr = obj.splice(4294967294,1); obj[4294967294] === undefined. Actual: ' + (obj[4294967294])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T1.js deleted file mode 100644 index dff77d9ba3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T1.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A4_T1; - * @section: 15.4.4.12, 8.6.2.1; - * @assertion: [[Get]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T1.js", - -assertion: "[[Get]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = -1; -var x = [0,1]; -var arr = x.splice(1,1); - -//CHECK#1 -if (arr.length !== 1) { - $ERROR('#1: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (arr[0] !== 1) { - $ERROR('#2: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#3 -if (arr[1] !== -1) { - $ERROR('#3: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1); arr[1] === -1. Actual: ' + (arr[1])); -} - -//CHECK#4 -if (x.length !== 1) { - $ERROR('#4: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#5 -if (x[0] !== 0) { - $ERROR('#5: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== -1) { - $ERROR('#6: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1); x[1] === -1. Actual: ' + (x[1])); -} - - -Object.prototype[1] = -1; -Object.prototype.length = 2; -Object.prototype.splice = Array.prototype.splice; -x = {0:0, 1:1}; -var arr = x.splice(1,1); - -//CHECK#7 -if (arr.length !== 1) { - $ERROR('#7: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#8 -if (arr[0] !== 1) { - $ERROR('#8: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#9 -if (arr[1] !== -1) { - $ERROR('#9: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1); arr[1] === -1. Actual: ' + (arr[1])); -} - -//CHECK#10 -if (x.length !== 1) { - $ERROR('#10: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#11 -if (x[0] !== 0) { - $ERROR('#11: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#12 -if (x[1] !== -1) { - $ERROR('#12: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1); x[1] === -1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T2.js deleted file mode 100644 index 208342f526..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T2.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A4_T2; - * @section: 15.4.4.12, 8.6.2.1; - * @assertion: [[Get]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T2.js", - -assertion: "[[Get]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = -1; -var x = [0,1]; -var arr = x.splice(1,1,2); - -//CHECK#1 -if (arr.length !== 1) { - $ERROR('#1: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1,2); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (arr[0] !== 1) { - $ERROR('#2: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1,2); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#3 -if (arr[1] !== -1) { - $ERROR('#3: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1,2); arr[1] === -1. Actual: ' + (arr[1])); -} - -//CHECK#4 -if (x.length !== 2) { - $ERROR('#4: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1,2); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#5 -if (x[0] !== 0) { - $ERROR('#5: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1,2); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== 2) { - $ERROR('#6: Array.prototype[1] = -1; x = [0,1]; var arr = x.splice(1,1,2); x[1] === 2. Actual: ' + (x[1])); -} - - -Object.prototype[1] = -1; -Object.prototype.length = 2; -Object.prototype.splice = Array.prototype.splice; -x = {0:0, 1:1}; -var arr = x.splice(1,1,2); - -//CHECK#7 -if (arr.length !== 1) { - $ERROR('#7: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1,2); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#8 -if (arr[0] !== 1) { - $ERROR('#8: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1,2); arr[0] === 1. Actual: ' + (arr[0])); -} - -//CHECK#9 -if (arr[1] !== -1) { - $ERROR('#9: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1,2); arr[1] === -1. Actual: ' + (arr[1])); -} - -//CHECK#10 -if (x.length !== 2) { - $ERROR('#10: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1,2); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#11 -if (x[0] !== 0) { - $ERROR('#11: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1,2); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#12 -if (x[1] !== 2) { - $ERROR('#12: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.splice = Array.prototype.splice; x = {0:0, 1:1}; var arr = x.splice(1,1,2); x[1] === 2. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T3.js deleted file mode 100644 index 1fc24e0317..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T3.js +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.12_A4_T3; - * @section: 15.4.4.12, 8.6.2.1; - * @assertion: [[Get]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A4_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T3.js", - -assertion: "[[Get]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[0] = -1; -var x = []; -x.length = 1; -var arr = x.splice(0,1); - -//CHECK#1 -if (arr.length !== 1) { - $ERROR('#1: Array.prototype[0] = -1; x = []; x.length = 1; var arr = x.splice(0,1); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#2 -if (arr[0] !== -1) { - $ERROR('#2: Array.prototype[0] = -1; x = []; x.length = 1; var arr = x.splice(0,1); arr[0] === -1. Actual: ' + (arr[0])); -} - -delete arr[0]; - -//CHECK#3 -if (arr[0] !== -1) { - $ERROR('#3: Array.prototype[0] = -1; x = []; x.length = 1; var arr = x.splice(0,1); delete arr[0]; arr[0] === -1. Actual: ' + (arr[0])); -} - -//CHECK#4 -if (x.length !== 0) { - $ERROR('#4: Array.prototype[0] = -1; x = []; x.length = 1; var arr = x.splice(0,1); x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#5 -if (x[0] !== -1) { - $ERROR('#5: Array.prototype[0] = -1; x = []; x.length = 1; var arr = x.splice(0,1); x[0] === -1. Actual: ' + (x[0])); -} - -Object.prototype[0] = -1; -Object.prototype.length = 1; -Object.prototype.splice = Array.prototype.splice; -x = {}; -var arr = x.splice(0,1); - -//CHECK#6 -if (arr.length !== 1) { - $ERROR('#6: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.splice = Array.prototype.splice; x = {}; var arr = x.splice(0,1); arr.length === 1. Actual: ' + (arr.length)); -} - -//CHECK#7 -if (arr[0] !== -1) { - $ERROR('#7: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.splice = Array.prototype.splice; x = {}; var arr = x.splice(0,1); arr[0] === -1. Actual: ' + (arr[0])); -} - -delete arr[0]; - -//CHECK#8 -if (arr[0] !== -1) { - $ERROR('#8: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.splice = Array.prototype.splice; x = {}; var arr = x.splice(0,1); delete arr[0]; arr[0] === -1. Actual: ' + (arr[0])); -} - -//CHECK#9 -if (x.length !== 0) { - $ERROR('#9: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.splice = Array.prototype.splice; x = {}; var arr = x.splice(0,1); x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#10 -if (x[0] !== -1) { - $ERROR('#10: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.splice = Array.prototype.splice; x = {}; var arr = x.splice(0,1); x[0] === -1. Actual: ' + (x[0])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.1.js deleted file mode 100644 index b91039bdc4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.12_A5.1; -* @section: 15.4.4.12, 15.2.4.7, 12.6.4; -* @assertion: The length property of splice has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A5.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.1.js", - -assertion: "The length property of splice has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.splice.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.splice.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.splice.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.splice){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.splice) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.2.js deleted file mode 100644 index 2141358793..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.12_A5.2; -* @section: 15.4.4.12, 15.2.4.5, 11.4.1; -* @assertion: The length property of splice has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A5.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.2.js", - -assertion: "The length property of splice has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.splice.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.splice.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.splice.hasOwnProperty('length'))); -} - -delete Array.prototype.splice.length; - -//CHECK#2 -if (Array.prototype.splice.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.splice.length; Array.prototype.splice.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.splice.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.splice.length === undefined) { - $ERROR('#3: delete Array.prototype.splice.length; Array.prototype.splice.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.3.js deleted file mode 100644 index fcc988edec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.12_A5.3; -* @section: 15.4.4.12; -* @assertion: The length property of splice has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A5.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.3.js", - -assertion: "The length property of splice has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.splice.length; -Array.prototype.splice.length = Infinity; -if (Array.prototype.splice.length !== x) { - $ERROR('#1: x = Array.prototype.splice.length; Array.prototype.splice.length = Infinity; Array.prototype.splice.length === x. Actual: ' + (Array.prototype.splice.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.4.js deleted file mode 100644 index 6d38062a85..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.12_A5.4; -* @section: 15.4.4.12; -* @assertion: The length property of splice is 2; -* @description: splice.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A5.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.4.js", - -assertion: "The length property of splice is 2", - -description: "splice.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.splice.length !== 2) { - $ERROR('#1: Array.prototype.splice.length === 2. Actual: ' + (Array.prototype.splice.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.5.js deleted file mode 100644 index 7b9fae8af4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.12_A5.5; -* @section: 15.4.4.12, 15.2.4.7, 12.6.4; -* @assertion: The splice property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A5.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.5.js", - -assertion: "The splice property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('splice') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'splice\') === false. Actual: ' + (Array.propertyIsEnumerable('splice'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "splice") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "splice") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.6.js deleted file mode 100644 index fb77b619d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.12_A5.6; -* @section: 15.4.4.12; -* @assertion: The splice property of Array has not prototype property; -* @description: Checking Array.prototype.splice.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A5.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.6.js", - -assertion: "The splice property of Array has not prototype property", - -description: "Checking Array.prototype.splice.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.splice.prototype !== undefined) { - $ERROR('#1: Array.prototype.splice.prototype === undefined. Actual: ' + (Array.prototype.splice.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.7.js deleted file mode 100644 index 32eeec446c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.12_A5.7; -* @section: 15.4.4.12, 11.2.2; -* @assertion: The splice property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.12_A5.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A5.7.js", - -assertion: "The splice property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.splice(); - $ERROR('#1.1: new Array.prototype.splice() throw TypeError. Actual: ' + (new Array.prototype.splice())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.splice() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T1.js deleted file mode 100644 index 7473a39555..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T1.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A1_T1; - * @section: 15.4.4.13; - * @assertion: The arguments are prepended to the start of the array, such that - * their order within the array is the same as the order in which they appear in - * the argument list; - * @description: Checking case when unsift is given no arguments or one argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T1.js", - -assertion: "The arguments are prepended to the start of the array, such that", - -description: "Checking case when unsift is given no arguments or one argument", - -test: function testcase() { - //CHECK#1 -var x = new Array(); -var unshift = x.unshift(1); -if (unshift !== 1) { - $ERROR('#1: x = new Array(); x.unshift(1) === 1. Actual: ' + (unshift)); -} - -//CHECK#2 -if (x[0] !== 1) { - $ERROR('#2: x = new Array(); x.unshift(1); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#3 -var unshift = x.unshift(); -if (unshift !== 1) { - $ERROR('#3: x = new Array(); x.unshift(1); x.unshift() === 1. Actual: ' + (unshift)); -} - -//CHECK#4 -if (x[1] !== undefined) { - $ERROR('#4: x = new Array(); x.unshift(1); x.unshift(); x[1] === unedfined. Actual: ' + (x[1])); -} - -//CHECK#5 -var unshift = x.unshift(-1); -if (unshift !== 2) { - $ERROR('#5: x = new Array(); x.unshift(1); x.unshift(); x.unshift(-1) === 2. Actual: ' + (unshift)); -} - -//CHECK#6 -if (x[0] !== -1) { - $ERROR('#6: x = new Array(); x.unshift(1); x.unshift(-1); x[0] === -1. Actual: ' + (x[0])); -} - -//CHECK#7 -if (x[1] !== 1) { - $ERROR('#7: x = new Array(); x.unshift(1); x.unshift(-1); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#8 -if (x.length !== 2) { - $ERROR('#8: x = new Array(); x.unshift(1); x.unshift(); x.unshift(-1); x.length === 2. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T2.js deleted file mode 100644 index e5ce97b465..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A1_T2; - * @section: 15.4.4.13; - * @assertion: The arguments are prepended to the start of the array, such that - * their order within the array is the same as the order in which they appear in - * the argument list; - * @description: Checking case when unsift is given many arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A1_T2.js", - -assertion: "The arguments are prepended to the start of the array, such that", - -description: "Checking case when unsift is given many arguments", - -test: function testcase() { - //CHECK#1 -var x = []; -if (x.length !== 0) { - $ERROR('#1: x = []; x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#2 -x[0] = 0; -var unshift = x.unshift(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); -if (unshift !== 6) { - $ERROR('#2: x = []; x[0] = 0; x.unshift(true, Number.POSITIVE_INFINITY, "NaN", "1", -1) === 6. Actual: ' + (unshift)); -} - -//CHECK#3 -if (x[5] !== 0) { - $ERROR('#3: x = []; x[0] = 0; x.unshift(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[5] === 0. Actual: ' + (x[5])); -} - -//CHECK#4 -if (x[0] !== true) { - $ERROR('#4: x = []; x[0] = 0; x.unshift(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[0] === true. Actual: ' + (x[0])); -} - -//CHECK#5 -if (x[1] !== Number.POSITIVE_INFINITY) { - $ERROR('#5: x = []; x[0] = 0; x.unshift(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[1] === Number.POSITIVE_INFINITY. Actual: ' + (x[1])); -} - -//CHECK#6 -if (x[2] !== "NaN") { - $ERROR('#6: x = []; x[0] = 0; x.unshift(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[2] === "NaN". Actual: ' + (x[2])); -} - -//CHECK#7 -if (x[3] !== "1") { - $ERROR('#7: x = []; x[0] = 0; x.unshift(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[3] === "1". Actual: ' + (x[3])); -} - -//CHECK#8 -if (x[4] !== -1) { - $ERROR('#8: x = []; x[0] = 0; x.unshift(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[4] === -1. Actual: ' + (x[4])); -} - -//CHECK#9 -if (x.length !== 6) { - $ERROR('#9: x = []; x[0] = 0; x.unshift(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x.length === 6. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T1.js deleted file mode 100644 index a71859923d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T1.js +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A2_T1; - * @section: 15.4.4.13; - * @assertion: The unshift function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: The arguments are prepended to the start of the array, such that - * their order within the array is the same as the order in which they appear in - * the argument list; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T1.js", - -assertion: "The unshift function is intentionally generic.", - -description: "The arguments are prepended to the start of the array, such that", - -test: function testcase() { - var obj = {}; -obj.unshift = Array.prototype.unshift; - -if (obj.length !== undefined) { - $ERROR('#0: var obj = {}; obj.length === undefined. Actual: ' + (obj.length)); -} else { - //CHECK#1 - var unshift = obj.unshift(-1); - if (unshift !== 1) { - $ERROR('#1: var obj = {}; obj.unshift = Array.prototype.unshift; obj.unshift(-1) === 1. Actual: ' + (unshift)); - } - //CHECK#2 - if (obj.length !== 1) { - $ERROR('#2: var obj = {}; obj.unshift = Array.prototype.unshift; obj.unshift(-1); obj.length === 1. Actual: ' + (obj.length)); - } - //CHECK#3 - if (obj["0"] !== -1) { - $ERROR('#3: var obj = {}; obj.unshift = Array.prototype.unshift; obj.unshift(-1); obj["0"] === -1. Actual: ' + (obj["0"])); - } -} - -//CHECK#4 -obj.length = undefined; -var unshift = obj.unshift(-4); -if (unshift !== 1) { - $ERROR('#4: var obj = {}; obj.length = undefined; obj.unshift = Array.prototype.unshift; obj.unshift(-4) === 1. Actual: ' + (unshift)); -} - -//CHECK#5 -if (obj.length !== 1) { - $ERROR('#5: var obj = {}; obj.length = undefined; obj.unshift = Array.prototype.unshift; obj.unshift(-4); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#6 -if (obj["0"] !== -4) { - $ERROR('#6: var obj = {}; obj.length = undefined; obj.unshift = Array.prototype.unshift; obj.unshift(-4); obj["0"] === -4. Actual: ' + (obj["0"])); -} - -//CHECK#7 -obj.length = null -var unshift = obj.unshift(-7); -if (unshift !== 1) { - $ERROR('#7: var obj = {}; obj.length = null; obj.unshift = Array.prototype.unshift; obj.unshift(-7) === 1. Actual: ' + (unshift)); -} - -//CHECK#8 -if (obj.length !== 1) { - $ERROR('#8: var obj = {}; obj.length = null; obj.unshift = Array.prototype.unshift; obj.unshift(-7); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#9 -if (obj["0"] !== -7) { - $ERROR('#9: var obj = {}; obj.length = null; obj.unshift = Array.prototype.unshift; obj.unshift(-7); obj["0"] === -7. Actual: ' + (obj["0"])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T2.js deleted file mode 100644 index a0a3c35bf9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T2.js +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A2_T2; - * @section: 15.4.4.13; - * @assertion: The unshift function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: The arguments are prepended to the start of the array, such that - * their order within the array is the same as the order in which they appear in - * the argument list; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T2.js", - -assertion: "The unshift function is intentionally generic.", - -description: "The arguments are prepended to the start of the array, such that", - -test: function testcase() { - var obj = {}; -obj.unshift = Array.prototype.unshift; - -//CHECK#1 -obj.length = NaN; -var unshift = obj.unshift(-1); -if (unshift !== 1) { - $ERROR('#1: var obj = {}; obj.length = NaN; obj.unshift = Array.prototype.unshift; obj.unshift(-1) === 1. Actual: ' + (unshift)); -} - -//CHECK#2 -if (obj.length !== 1) { - $ERROR('#2: var obj = {}; obj.length = NaN; obj.unshift = Array.prototype.unshift; obj.unshift(-1); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj["0"] !== -1) { - $ERROR('#3: var obj = {}; obj.length = NaN; obj.unshift = Array.prototype.unshift; obj.unshift(-1); obj["0"] === -1. Actual: ' + (obj["0"])); -} - -//CHECK#4 -obj.length = Number.POSITIVE_INFINITY; -var unshift = obj.unshift(-4); -if (unshift !== 1) { - $ERROR('#4: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.unshift = Array.prototype.unshift; obj.unshift(-4) === 1. Actual: ' + (unshift)); -} - -//CHECK#5 -if (obj.length !== 1) { - $ERROR('#6: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.unshift = Array.prototype.unshift; obj.unshift(-4); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#6 -if (obj["0"] !== -4) { - $ERROR('#6: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.unshift = Array.prototype.unshift; obj.unshift(-4); obj["0"] === -4. Actual: ' + (obj["0"])); -} - -//CHECK#7 -obj.length = Number.NEGATIVE_INFINITY; -var unshift = obj.unshift(-7); -if (unshift !== 1) { - $ERROR('#7: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.unshift = Array.prototype.unshift; obj.unshift(-7) === 1. Actual: ' + (unshift)); -} - -//CHECK#8 -if (obj.length !== 1) { - $ERROR('#8: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.unshift = Array.prototype.unshift; obj.unshift(-7); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#9 -if (obj["0"] !== -7) { - $ERROR('#9: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.unshift = Array.prototype.unshift; obj.unshift(-7); obj["0"] === -7. Actual: ' + (obj["0"])); -} - -//CHECK#10 -obj.length = 0.5; -var unshift = obj.unshift(-10); -if (unshift !== 1) { - $ERROR('#10: var obj = {}; obj.length = 0.5; obj.unshift = Array.prototype.unshift; obj.unshift(-10) === 1. Actual: ' + (unshift)); -} - -//CHECK#11 -if (obj.length !== 1) { - $ERROR('#11: var obj = {}; obj.length = 0.5; obj.unshift = Array.prototype.unshift; obj.unshift(-10); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#12 -if (obj["0"] !== -10) { - $ERROR('#12: var obj = {}; obj.length = 0.5; obj.unshift = Array.prototype.unshift; obj.unshift(-10); obj["0"] === -10. Actual: ' + (obj["0"])); -} - -//CHECK#13 -obj.length = 1.5; -var unshift = obj.unshift(-13); -if (unshift !== 2) { - $ERROR('#13: var obj = {}; obj.length = 1.5; obj.unshift = Array.prototype.unshift; obj.unshift(-13) === 2. Actual: ' + (unshift)); -} - -//CHECK#14 -if (obj.length !== 2) { - $ERROR('#14: var obj = {}; obj.length = 1.5; obj.unshift = Array.prototype.unshift; obj.unshift(-13); obj.length === 2. Actual: ' + (obj.length)); -} - -//CHECK#15 -if (obj["0"] !== -13) { - $ERROR('#15: var obj = {}; obj.length = 1.5; obj.unshift = Array.prototype.unshift; obj.unshift(-13); obj["0"] === -13. Actual: ' + (obj["0"])); -} - -//CHECK#16 -obj.length = new Number(0); -var unshift = obj.unshift(-16); -if (unshift !== 1) { - $ERROR('#16: var obj = {}; obj.length = new Number(0); obj.unshift = Array.prototype.unshift; obj.unshift(-16) === 1. Actual: ' + (unshift)); -} - -//CHECK#17 -if (obj.length !== 1) { - $ERROR('#17: var obj = {}; obj.length = new Number(0); obj.unshift = Array.prototype.unshift; obj.unshift(-16); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#18 -if (obj["0"] !== -16) { - $ERROR('#18: var obj = {}; obj.length = new Number(0); obj.unshift = Array.prototype.unshift; obj.unshift(-16); obj["0"] === -16. Actual: ' + (obj["0"])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T3.js deleted file mode 100644 index f90fb49241..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T3.js +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A2_T3; - * @section: 15.4.4.13; - * @assertion: The unshift function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Operator use ToNumber from length. - * If Type(value) is Object, evaluate ToPrimitive(value, Number); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T3.js", - -assertion: "The unshift function is intentionally generic.", - -description: "Operator use ToNumber from length.", - -test: function testcase() { - var obj = {}; -obj.unshift = Array.prototype.unshift; - -//CHECK#1 -obj.length = {valueOf: function() {return 3}}; -var unshift = obj.unshift(); -if (unshift !== 3) { - $ERROR('#1: obj.length = {valueOf: function() {return 3}} obj.unshift() === 3. Actual: ' + (unshift)); -} - -//CHECK#2 -obj.length = {valueOf: function() {return 3}, toString: function() {return 1}}; -var unshift = obj.unshift(); -if (unshift !== 3) { - $ERROR('#0: obj.length = {valueOf: function() {return 3}, toString: function() {return 1}} obj.unshift() === 3. Actual: ' + (unshift)); -} - -//CHECK#3 -obj.length = {valueOf: function() {return 3}, toString: function() {return {}}}; -var unshift = obj.unshift(); -if (unshift !== 3) { - $ERROR('#1: obj.length = {valueOf: function() {return 3}, toString: function() {return {}}} obj.unshift() === 3. Actual: ' + (unshift)); -} - -//CHECK#4 -try { - obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; - var unshift = obj.unshift(); - if (unshift !== 3) { - $ERROR('#4.1: obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; obj.unshift() === ",". Actual: ' + (unshift)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; obj.unshift() not throw "error"'); - } else { - $ERROR('#4.3: obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; obj.unshift() not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -obj.length = {toString: function() {return 1}}; -var unshift = obj.unshift(); -if (unshift !== 1) { - $ERROR('#5: obj.length = {toString: function() {return 1}} obj.unshift() === 1. Actual: ' + (unshift)); -} - -//CHECK#6 -obj.length = {valueOf: function() {return {}}, toString: function() {return 1}} -var unshift = obj.unshift(); -if (unshift !== 1) { - $ERROR('#6: obj.length = {valueOf: function() {return {}}, toString: function() {return 1}} obj.unshift() === 1. Actual: ' + (unshift)); -} - -//CHECK#7 -try { - - obj.length = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - var unshift = obj.unshift(); - $ERROR('#7.1: obj.length = {valueOf: function() {throw "error"}, toString: function() {return 1}}; obj.unshift() throw "error". Actual: ' + (unshift)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: obj.length = {valueOf: function() {throw "error"}, toString: function() {return 1}}; obj.unshift() throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - - obj.length = {valueOf: function() {return {}}, toString: function() {return {}}}; - var unshift = obj.unshift(); - $ERROR('#8.1: obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.unshift() throw TypeError. Actual: ' + (unshift)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.unshift() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T1.js deleted file mode 100644 index b53fd538d5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T1.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A3_T1; - * @section: 15.4.4.13; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967296; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T1.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967296", - -test: function testcase() { - var obj = {}; -obj.unshift = Array.prototype.unshift; -obj.length = 4294967296; - -//CHECK#1 -var unshift = obj.unshift("x", "y", "z"); -if (unshift !== 3) { - $ERROR('#1: var obj = {}; obj.unshift = Array.prototype.unshift; obj.length = 4294967296; obj.unshift("x", "y", "z") === 3. Actual: ' + (unshift)); -} - -//CHECK#2 -if (obj.length !== 3) { - $ERROR('#2: var obj = {}; obj.unshift = Array.prototype.unshift; obj.length = 4294967296; obj.unshift("x", "y", "z"); obj.length === 3. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "x") { - $ERROR('#3: var obj = {}; obj.unshift = Array.prototype.unshift; obj.length = 4294967296; obj.unshift("x", "y", "z"); obj[0] === "x". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== "y") { - $ERROR('#4: var obj = {}; obj.unshift = Array.prototype.unshift; obj.length = 4294967296; obj.unshift("x", "y", "z"); obj[1] === "y". Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[2] !== "z") { - $ERROR('#5: var obj = {}; obj.unshift = Array.prototype.unshift; obj.length = 4294967296; obj.unshift("x", "y", "z"); obj[2] === "z". Actual: ' + (obj[2])); -} - -var obj = {}; -obj.unshift = Array.prototype.unshift; -obj.length = 4294967296; - -//CHECK#6 -var unshift = obj.unshift(); -if (unshift !== 0) { - $ERROR('#6: var obj = {}; obj.unshift = Array.prototype.unshift; obj.length = 4294967296; obj.unshift() === 0. Actual: ' + (unshift)); -} - -//CHECK#7 -if (obj.length !== 0) { - $ERROR('#7: var obj = {}; obj.unshift = Array.prototype.unshift; obj.length = 4294967296; obj.unshift(); obj.length === 0. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T2.js deleted file mode 100644 index 24bc33d817..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T2.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A3_T2; - * @section: 15.4.4.13; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = -4294967295; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T2.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = -4294967295", - -test: function testcase() { - var obj = {}; -obj.unshift = Array.prototype.unshift; -obj[0] = ""; -obj.length = -4294967295; - -//CHECK#1 -var unshift = obj.unshift("x", "y", "z"); -if (unshift !== 4) { - $ERROR('#1: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = -4294967295; obj.unshift("x", "y", "z") === 4. Actual: ' + (unshift)); -} - -//CHECK#2 -if (obj.length !== 4) { - $ERROR('#2: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = -4294967295; obj.unshift("x", "y", "z"); obj.length === 4. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "x") { - $ERROR('#3: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = -4294967295; obj.unshift("x", "y", "z"); obj[0] === "x". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== "y") { - $ERROR('#4: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = -4294967295; obj.unshift("x", "y", "z"); obj[1] === "y". Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[2] !== "z") { - $ERROR('#5: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = -4294967295; obj.unshift("x", "y", "z"); obj[2] === "z". Actual: ' + (obj[2])); -} - -//CHECK#6 -if (obj[3] !== "") { - $ERROR('#6: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = -4294967295; obj.unshift("x", "y", "z"); obj[3] === "". Actual: ' + (obj[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T3.js deleted file mode 100644 index 313eea3ead..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T3.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A3_T3; - * @section: 15.4.4.13; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967297; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T3.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967297", - -test: function testcase() { - var obj = {}; -obj.unshift = Array.prototype.unshift; -obj[0] = ""; -obj.length = 4294967297; - -//CHECK#1 -var unshift = obj.unshift("x", "y", "z"); -if (unshift !== 4) { - $ERROR('#1: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = 4294967297; obj.unshift("x", "y", "z") === 4. Actual: ' + (unshift)); -} - -//CHECK#2 -if (obj.length !== 4) { - $ERROR('#2: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = 4294967297; obj.unshift("x", "y", "z"); obj.length === 4. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "x") { - $ERROR('#3: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = 4294967297; obj.unshift("x", "y", "z"); obj[0] === "x". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== "y") { - $ERROR('#4: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = 4294967297; obj.unshift("x", "y", "z"); obj[1] === "y". Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[2] !== "z") { - $ERROR('#5: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = 4294967297; obj.unshift("x", "y", "z"); obj[2] === "z". Actual: ' + (obj[2])); -} - -//CHECK#6 -if (obj[3] !== "") { - $ERROR('#6: var obj = {}; obj.unshift = Array.prototype.unshift; obj[0] = ""; obj.length = 4294967297; obj.unshift("x", "y", "z"); obj[3] === "". Actual: ' + (obj[3])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T1.js deleted file mode 100644 index 8c8c3a2326..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T1.js +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A4_T1; - * @section: 15.4.4.13, 8.6.2.1, 8.6.2.5; - * @assertion: [[Get]], [[Delete]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T1.js", - -assertion: "[[Get]], [[Delete]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[0] = -1; -x = [1]; -x.length = 1; - -//CHECK#1 -var unshift = x.unshift(0); -if (unshift !== 2) { - $ERROR('#1: Array.prototype[0] = -1; x = [1]; x.length = 1; x.unshift(0) === 2. Actual: ' + (unshift)); -} - -//CHECK#2 -if (x[0] !== 0) { - $ERROR('#2: Array.prototype[0] = -1; x = [1]; x.length = 1; x.unshift(0); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== 1) { - $ERROR('#3: Array.prototype[0] = -1; x = [1]; x.length = 1; x.unshift(0); x[1] === 1. Actual: ' + (x[1])); -} - -delete x[0]; - -//CHECK#4 -if (x[0] !== -1) { - $ERROR('#4: Array.prototype[0] = -1; x = [1]; x.length = 1; x.unshift(0); delete x[0]; x[0] === -1. Actual: ' + (x[0])); -} - -Object.prototype[0] = -1; -Object.prototype.length = 1; -Object.prototype.unshift = Array.prototype.unshift; -x = {0:1}; - -//CHECK#5 -var unshift = x.unshift(0); -if (unshift !== 2) { - $ERROR('#5: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {0:0}; x.unshift(0) === 2. Actual: ' + (unshift)); -} - -//CHECK#6 -if (x[0] !== 0) { - $ERROR('#6: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {0:0}; x.unshift(0); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#7 -if (x[1] !== 1) { - $ERROR('#7: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {0:0}; x.unshift(0); x[1] === 1. Actual: ' + (x[1])); -} - -delete x[0]; - -//CHECK#8 -if (x[0] !== -1) { - $ERROR('#8: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {0:0}; x.unshift(0); delete x[0]; x[0] === -1. Actual: ' + (x[0])); -} - -//CHECK#9 -if (x.length !== 2) { - $ERROR('#9: Object.prototype[0] = -1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {0:0}; x.unshift(0); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#10 -delete x.length; -if (x.length !== 1) { - $ERROR('#10: Object.prototype[1] = -1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {0:0}; x.unshift(0); delete x; x.length === 1. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T2.js deleted file mode 100644 index b49f89c3f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T2.js +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.13_A4_T2; - * @section: 15.4.4.13, 8.6.2.1, 8.6.2.5; - * @assertion: [[Get]], [[Delete]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A4_T2.js", - -assertion: "[[Get]], [[Delete]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[0] = 1; -var x = []; -x.length = 1; - -//CHECK#1 -var unshift = x.unshift(0); -if (unshift !== 2) { - $ERROR('#1: Array.prototype[0] = 1; x = []; x.length = 1; x.unshift(0) === 2. Actual: ' + (unshift)); -} - -//CHECK#2 -if (x[0] !== 0) { - $ERROR('#2: Array.prototype[0] = 1; x = []; x.length = 1; x.unshift(0); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== 1) { - $ERROR('#3: Array.prototype[0] = 1; x = []; x.length = 1; x.unshift(0); x[1] === 1. Actual: ' + (x[1])); -} - -delete x[0]; - -//CHECK#4 -if (x[0] !== 1) { - $ERROR('#4: Array.prototype[0] = 1; x = [1]; x.length = 1; x.unshift(0); delete x[0]; x[0] === 1. Actual: ' + (x[0])); -} - -Object.prototype[0] = 1; -Object.prototype.length = 1; -Object.prototype.unshift = Array.prototype.unshift; -x = {}; - -//CHECK#5 -var unshift = x.unshift(0); -if (unshift !== 2) { - $ERROR('#5: Object.prototype[0] = 1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {}; x.unshift(0) === 2. Actual: ' + (unshift)); -} - -//CHECK#6 -if (x[0] !== 0) { - $ERROR('#6: Object.prototype[0] = 1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {}; x.unshift(0); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#7 -if (x[1] !== 1) { - $ERROR('#7: Object.prototype[0] = 1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {}; x.unshift(0); x[1] === 1. Actual: ' + (x[1])); -} - -delete x[0]; - -//CHECK#8 -if (x[0] !== 1) { - $ERROR('#8: Object.prototype[0] = 1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {}; x.unshift(0); delete x[0]; x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#9 -if (x.length !== 2) { - $ERROR('#9: Object.prototype[0] = 1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {}; x.unshift(0); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#10 -delete x.length; -if (x.length !== 1) { - $ERROR('#10: Object.prototype[1] = 1; Object.prototype.length = 1; Object.prototype.unshift = Array.prototype.unshift; x = {}; x.unshift(0); delete x; x.length === 1. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.1.js deleted file mode 100644 index 3bbc922073..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.13_A5.1; -* @section: 15.4.4.13, 15.2.4.7, 12.6.4; -* @assertion: The length property of unshift has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A5.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.1.js", - -assertion: "The length property of unshift has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.unshift.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.unshift.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.unshift.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.unshift){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.unshift) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.2.js deleted file mode 100644 index ea213ccc4a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.13_A5.2; -* @section: 15.4.4.13, 15.2.4.5, 11.4.1; -* @assertion: The length property of unshift has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A5.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.2.js", - -assertion: "The length property of unshift has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.unshift.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.unshift.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.unshift.hasOwnProperty('length'))); -} - -delete Array.prototype.unshift.length; - -//CHECK#2 -if (Array.prototype.unshift.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.unshift.length; Array.prototype.unshift.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.unshift.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.unshift.length === undefined) { - $ERROR('#3: delete Array.prototype.unshift.length; Array.prototype.unshift.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.3.js deleted file mode 100644 index dd0bb17ade..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.13_A5.3; -* @section: 15.4.4.13; -* @assertion: The length property of unshift has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A5.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.3.js", - -assertion: "The length property of unshift has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.unshift.length; -Array.prototype.unshift.length = Infinity; -if (Array.prototype.unshift.length !== x) { - $ERROR('#1: x = Array.prototype.unshift.length; Array.prototype.unshift.length = Infinity; Array.prototype.unshift.length === x. Actual: ' + (Array.prototype.unshift.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.4.js deleted file mode 100644 index 22a447e85d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.13_A5.4; -* @section: 15.4.4.13; -* @assertion: The length property of unshift is 1; -* @description: unshift.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A5.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.4.js", - -assertion: "The length property of unshift is 1", - -description: "unshift.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.unshift.length !== 1) { - $ERROR('#1: Array.prototype.unshift.length === 1. Actual: ' + (Array.prototype.unshift.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.5.js deleted file mode 100644 index ed225fb95c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.5.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.13_A5.5; -* @section: 15.4.4.13, 15.2.4.7, 12.6.4; -* @assertion: The unshift property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A5.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.5.js", - -assertion: "The unshift property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('unshift') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'unshift\') === false. Actual: ' + (Array.propertyIsEnumerable('unshift'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "unshift") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "unshift") result = false; } result === true;'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.6.js deleted file mode 100644 index 1dbf580420..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.13_A5.6; -* @section: 15.4.4.13; -* @assertion: The unshift property of Array has not prototype property; -* @description: Checking Array.prototype.unshift.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A5.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.6.js", - -assertion: "The unshift property of Array has not prototype property", - -description: "Checking Array.prototype.unshift.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.unshift.prototype !== undefined) { - $ERROR('#1: Array.prototype.unshift.prototype === undefined. Actual: ' + (Array.prototype.unshift.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.7.js deleted file mode 100644 index 948419dee5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.13_A5.7; -* @section: 15.4.4.13, 11.2.2; -* @assertion: The unshift property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.13_A5.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A5.7.js", - -assertion: "The unshift property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.unshift(); - $ERROR('#1.1: new Array.prototype.unshift() throw TypeError. Actual: ' + (new Array.prototype.unshift())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.unshift() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A1.js deleted file mode 100644 index 06cfd27caf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A1.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.18_A1; - * @section: 15.4.4.18; - * @assertion: array.forEach can be frozen while in progress - * @description: Freezes array.forEach during a forEach to see if it works -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.18_A1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A1.js", - -assertion: "array.forEach can be frozen while in progress", - -description: "Freezes array.forEach during a forEach to see if it works", - -test: function testcase() { - ['z'].forEach(function(){ Object.freeze(Array.prototype.forEach); }); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A2.js deleted file mode 100644 index 400e59d0ca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.18_A2; - * @section: 15.4.4.18; - * @assertion: array.forEach can be frozen while in progress - * @description: Freezes array.forEach during a forEach to see if it works -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.18_A2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A2.js", - -assertion: "array.forEach can be frozen while in progress", - -description: "Freezes array.forEach during a forEach to see if it works", - -test: function testcase() { - function foo() { - ['z'].forEach(function(){ Object.freeze(Array.prototype.forEach); }); -} -foo(); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A1_T1.js deleted file mode 100644 index 023402e02e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A1_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.1_A1_T1; - * @section: 15.4.4.1; - * @assertion: The initial value of Array.prototype.constructor is - * the built-in Array constructor; - * @description: Array.prototype.constructor === Array; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.1_A1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A1_T1.js", - -assertion: "The initial value of Array.prototype.constructor is", - -description: "Array.prototype.constructor === Array", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.constructor !== Array) { - $ERROR('#1: Array.prototype.constructor === Array. Actual: ' + (Array.prototype.constructor)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A2.js deleted file mode 100644 index c22cd884d0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.1_A2; - * @section: 15.4.4.1, 15.2.4.7, 12.6.4; - * @assertion: The constructor property of Array has the attribute DontEnum; - * @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.1_A2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.1_Array_prototype_constructor/S15.4.4.1_A2.js", - -assertion: "The constructor property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('constructor') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'constructor\') === false. Actual: ' + (Array.propertyIsEnumerable('constructor'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "constructor") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "constructor") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T1.js deleted file mode 100644 index 8041785558..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.2_A1_T1; - * @section: 15.4.4.2; - * @assertion: The result of calling this function is the same as if - * the built-in join method were invoked for this object with no argument; - * @description: If Result(2) is zero, return the empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T1.js", - -assertion: "The result of calling this function is the same as if", - -description: "If Result(2) is zero, return the empty string", - -test: function testcase() { - //CHECK#1 -var x = new Array(); -if (x.toString() !== x.join()) { - $ERROR('#1.1: x = new Array(); x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== "") { - $ERROR('#1.2: x = new Array(); x.toString() === "". Actual: ' + (x.toString())); - } -} - -//CHECK#2 -x = []; -x[0] = 1; -x.length = 0; -if (x.toString() !== x.join()) { - $ERROR('#2.1: x = []; x[0] = 1; x.length = 0; x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== "") { - $ERROR('#2.2: x = []; x[0] = 1; x.length = 0; x.toString() === "". Actual: ' + (x.toString())); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T2.js deleted file mode 100644 index 1c7c7ebb3c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T2.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.2_A1_T2; - * @section: 15.4.4.2; - * @assertion: The result of calling this function is the same as if - * the built-in join method were invoked for this object with no argument; - * @description: The elements of the array are converted to strings, and these strings are - * then concatenated, separated by occurrences of the separator. If no separator is provided, - * a single comma is used as the separator; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T2.js", - -assertion: "The result of calling this function is the same as if", - -description: "The elements of the array are converted to strings, and these strings are", - -test: function testcase() { - //CHECK#1 -var x = new Array(0,1,2,3); -if (x.toString() !== x.join()) { - $ERROR('#1.1: x = new Array(0,1,2,3); x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== "0,1,2,3") { - $ERROR('#1.2: x = new Array(0,1,2,3); x.toString() === "0,1,2,3". Actual: ' + (x.toString())); - } -} - -//CHECK#2 -x = []; -x[0] = 0; -x[3] = 3; -if (x.toString() !== x.join()) { - $ERROR('#2.1: x = []; x[0] = 0; x[3] = 3; x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== "0,,,3") { - $ERROR('#2.2: x = []; x[0] = 0; x[3] = 3; x.toString() === "0,,,3". Actual: ' + (x.toString())); - } -} - -//CHECK#3 -x = Array(undefined,1,null,3); -if (x.toString() !== x.join()) { - $ERROR('#3.1: x = Array(undefined,1,null,3); x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== ",1,,3") { - $ERROR('#3.2: x = Array(undefined,1,null,3); x.toString() === ",1,,3". Actual: ' + (x.toString())); - } -} - -//CHECK#4 -x = []; -x[0] = 0; -if (x.toString() !== x.join()) { - $ERROR('#4.1: x = []; x[0] = 0; x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== "0") { - $ERROR('#4.2: x = []; x[0] = 0; x.toString() === "0". Actual: ' + (x.toString())); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T3.js deleted file mode 100644 index 168f75b818..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T3.js +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.2_A1_T3; - * @section: 15.4.4.2; - * @assertion: The result of calling this function is the same as if - * the built-in join method were invoked for this object with no argument; - * @description: Operator use ToString from array arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T3.js", - -assertion: "The result of calling this function is the same as if", - -description: "Operator use ToString from array arguments", - -test: function testcase() { - //CHECK#0 -var x = new Array("","",""); -if (x.toString() !== x.join()) { - $ERROR('#0.1: var x = new Array("","",""); x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== ",,") { - $ERROR('#0.2: var x = new Array("","",""); x.toString() === ",,". Actual: ' + (x.toString())); - } -} - -//CHECK#1 -var x = new Array("\\","\\","\\"); -if (x.toString() !== x.join()) { - $ERROR('#1.1: var x = new Array("\\","\\","\\"); x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== "\\,\\,\\") { - $ERROR('#1.2: var x = new Array("\\","\\","\\"); x.toString() === "\\,\\,\\". Actual: ' + (x.toString())); - } -} - -//CHECK#2 -var x = new Array("&", "&", "&"); -if (x.toString() !== x.join()) { - $ERROR('#2.1: var x = new Array("&", "&", "&"); x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== "&,&,&") { - $ERROR('#2.2: var x = new Array("&", "&", "&"); x.toString() === "&,&,&". Actual: ' + (x.toString())); - } -} - -//CHECK#3 -var x = new Array(true,true,true); -if (x.toString() !== x.join()) { - $ERROR('#3.1: var x = new Array(true,true,true); x.toString(true,true,true) === x.join(). Actual: ' + (x.toString(true,true,true))); -} else { - if (x.toString() !== "true,true,true") { - $ERROR('#3.2: var x = new Array(true,true,true); x.toString(true,true,true) === "true,true,true". Actual: ' + (x.toString(true,true,true))); - } -} - -//CHECK#4 -var x = new Array(null,null,null); -if (x.toString() !== x.join()) { - $ERROR('#4.1: var x = new Array(null,null,null); x.toString(null,null,null) === x.join(). Actual: ' + (x.toString(null,null,null))); -} else { - if (x.toString() !== ",,") { - $ERROR('#4.2: var x = new Array(null,null,null); x.toString(null,null,null) === ",,". Actual: ' + (x.toString(null,null,null))); - } -} - -//CHECK#5 -var x = new Array(undefined,undefined,undefined); -if (x.toString() !== x.join()) { - $ERROR('#5.1: var x = new Array(undefined,undefined,undefined); x.toString(undefined,undefined,undefined) === x.join(). Actual: ' + (x.toString(undefined,undefined,undefined))); -} else { - if (x.toString() !== ",,") { - $ERROR('#5.2: var x = new Array(undefined,undefined,undefined); x.toString(undefined,undefined,undefined) === ",,". Actual: ' + (x.toString(undefined,undefined,undefined))); - } -} - -//CHECK#6 -var x = new Array(Infinity,Infinity,Infinity); -if (x.toString() !== x.join()) { - $ERROR('#6.1: var x = new Array(Infinity,Infinity,Infinity); x.toString(Infinity,Infinity,Infinity) === x.join(). Actual: ' + (x.toString(Infinity,Infinity,Infinity))); -} else { - if (x.toString() !== "Infinity,Infinity,Infinity") { - $ERROR('#6.2: var x = new Array(Infinity,Infinity,Infinity); x.toString(Infinity,Infinity,Infinity) === "Infinity,Infinity,Infinity". Actual: ' + (x.toString(Infinity,Infinity,Infinity))); - } -} - -//CHECK#7 -var x = new Array(NaN,NaN,NaN); -if (x.toString() !== x.join()) { - $ERROR('#7.1: var x = new Array(NaN,NaN,NaN); x.toString(NaN,NaN,NaN) === x.join(). Actual: ' + (x.toString(NaN,NaN,NaN))); -} else { - if (x.toString() !== "NaN,NaN,NaN") { - $ERROR('#7.2: var x = new Array(NaN,NaN,NaN); x.toString(NaN,NaN,NaN) === "NaN,NaN,NaN". Actual: ' + (x.toString(NaN,NaN,NaN))); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T4.js deleted file mode 100644 index 6e8b6b970f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T4.js +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.2_A1_T4; - * @section: 15.4.4.2; - * @assertion: The result of calling this function is the same as if - * the built-in join method were invoked for this object with no argument; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A1_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A1_T4.js", - -assertion: "The result of calling this function is the same as if", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, String)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return "+"}}; -var x = new Array(object); -if (x.toString() !== x.join()) { - $ERROR('#1.1: var object = {valueOf: function() {return "+"}} var x = new Array(object); x.toString() === x.join(). Actual: ' + (x.toString())); -} else { - if (x.toString() !== "[object Object]") { - $ERROR('#1.2: var object = {valueOf: function() {return "+"}} var x = new Array(object); x.toString() === "[object Object]". Actual: ' + (x.toString())); - } -} - -//CHECK#2 -var object = {valueOf: function() {return "+"}, toString: function() {return "*"}}; -var x = new Array(object); -if (x.toString() !== x.join()) { - $ERROR('#2.1: var object = {valueOf: function() {return "+"}, toString: function() {return x.join()}} var x = new Array(object); x.toString() === "*". Actual: ' + (x.toString())); -} else { - if (x.toString() !== "*") { - $ERROR('#2.2: var object = {valueOf: function() {return "+"}, toString: function() {return "*"}} var x = new Array(object); x.toString() === "*". Actual: ' + (x.toString())); - } -} - -//CHECK#3 -var object = {valueOf: function() {return "+"}, toString: function() {return {}}}; -var x = new Array(object); -if (x.toString() !== x.join()) { - $ERROR('#3.1: var object = {valueOf: function() {return x.join()}, toString: function() {return {}}} var x = new Array(object); x.toString() === "+". Actual: ' + (x.toString())); -} else { - if (x.toString() !== "+") { - $ERROR('#3.2: var object = {valueOf: function() {return "+"}, toString: function() {return {}}} var x = new Array(object); x.toString() === "+". Actual: ' + (x.toString())); - } -} - -//CHECK#4 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}}; - var x = new Array(object); - if (x.toString() !== x.join()) { - $ERROR('#4.1: var object = {valueOf: function() {throw "error"}, toString: function() {return x.join()}} var x = new Array(object); x.toString() === "*". Actual: ' + (x.toString())); - } else { - if (x.toString() !== "*") { - $ERROR('#4.2: var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}} var x = new Array(object); x.toString() === "*". Actual: ' + (x.toString())); - } - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.3: var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}} var x = new Array(object); x.toString() not throw "error"'); - } else { - $ERROR('#4.4: var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}} var x = new Array(object); x.toString() not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return "*"}}; -var x = new Array(object); -if (x.toString() !== x.join()) { - $ERROR('#5.1: var object = {toString: function() {return x.join()}} var x = new Array(object); x.toString() === "*". Actual: ' + (x.toString())); -} else { - if (x.toString() !== "*") { - $ERROR('#5.2: var object = {toString: function() {return "*"}} var x = new Array(object); x.toString() === "*". Actual: ' + (x.toString())); - } -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return "*"}} -var x = new Array(object); -if (x.toString() !== x.join()) { - $ERROR('#6.1: var object = {valueOf: function() {return {}}, toString: function() {return x.join()}} var x = new Array(object); x.toString() === "*". Actual: ' + (x.toString())); -} else { - if (x.toString() !== "*") { - $ERROR('#6.2: var object = {valueOf: function() {return {}}, toString: function() {return "*"}} var x = new Array(object); x.toString() === "*". Actual: ' + (x.toString())); - } -} - -//CHECK#7 -try { - var object = {valueOf: function() {return "+"}, toString: function() {throw "error"}}; - var x = new Array(object); - x.toString(); - $ERROR('#7.1: var object = {valueOf: function() {return "+"}, toString: function() {throw "error"}} var x = new Array(object); x.toString() throw "error". Actual: ' + (x.toString())); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {return "+"}, toString: function() {throw "error"}} var x = new Array(object); x.toString() throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - var x = new Array(object); - x.toString(); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}} var x = new Array(object); x.toString() throw TypeError. Actual: ' + (x.toString())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}} var x = new Array(object); x.toString() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A2_T1.js deleted file mode 100644 index 1e9ad8d715..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A2_T1.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.2_A2_T1; - * @section: 15.4.4.2; - * @assertion: The toString function is not generic. - * it throws a TypeError exception if its this value is not an Array object; - * @description: {}.toString = Array.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A2_T1.js", - -assertion: "The toString function is not generic.", - -description: "{}.toString = Array.prototype.toString", - -test: function testcase() { - var obj = {}; -obj.toString = Array.prototype.toString; - -//CHECK#1 -try { - obj.toString(); - $ERROR('#1.1: var obj = {}; obj.toString = Array.prototype.toString; obj.toString() throw TypeError. Actual: ' + (obj.toString())); -} catch(e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: var obj = {}; obj.toString = Array.prototype.toString; obj.toString() throw TypeError. Actual: ' + (e)); - } -} - -obj[0] = 1; -obj.length = 1; - -//CHECK#2 -try { - obj.toString(); - $ERROR('#2.1: var obj = {}; obj.toString = Array.prototype.toString; obj[0] = 1; obj.length = 1; obj.toString() throw TypeError. Actual: ' + (obj.toString())); -} catch(e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var obj = {}; obj.toString = Array.prototype.toString; obj[0] = 1; obj.length = 1; obj.toString() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A3_T1.js deleted file mode 100644 index a592520802..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A3_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.2_A3_T1; - * @section: 15.4.4.2, 8.6.2.1; - * @assertion: [[Get]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A3_T1.js", - -assertion: "[[Get]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype", - -test: function testcase() { - //CHECK#1 -Array.prototype[1] = 1; -var x = [0]; -x.length = 2; -if (x.toString() !== "0,1") { - $ERROR('#1: Array.prototype[1] = 1; x = [0]; x.length = 2; x.toString() === "0,1". Actual: ' + (x.toString())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.1.js deleted file mode 100644 index ad133f2079..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.2_A4.1; -* @section: 15.4.4.2, 15.2.4.7, 12.6.4; -* @assertion: The length property of toString has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A4.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.1.js", - -assertion: "The length property of toString has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.toString.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.toString.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.toString.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.toString){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.toString) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.2.js deleted file mode 100644 index 93a19f571f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.2_A4.2; -* @section: 15.4.4.2, 15.2.4.5, 11.4.1; -* @assertion: The length property of toString has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A4.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.2.js", - -assertion: "The length property of toString has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.toString.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.toString.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.toString.hasOwnProperty('length'))); -} - -delete Array.prototype.toString.length; - -//CHECK#2 -if (Array.prototype.toString.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.toString.length; Array.prototype.toString.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.toString.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.toString.length === undefined) { - $ERROR('#3: delete Array.prototype.toString.length; Array.prototype.toString.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.3.js deleted file mode 100644 index 8cbf353f95..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.2_A4.3; -* @section: 15.4.4.2; -* @assertion: The length property of toString has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A4.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.3.js", - -assertion: "The length property of toString has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.toString.length; -Array.prototype.toString.length = Infinity; -if (Array.prototype.toString.length !== x) { - $ERROR('#1: x = Array.prototype.toString.length; Array.prototype.toString.length = Infinity; Array.prototype.toString.length === x. Actual: ' + (Array.prototype.toString.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.4.js deleted file mode 100644 index d047274831..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.2_A4.4; -* @section: 15.4.4.2; -* @assertion: The length property of toString is 0; -* @description: toString.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A4.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.4.js", - -assertion: "The length property of toString is 0", - -description: "toString.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.toString.length !== 0) { - $ERROR('#1: Array.prototype.toString.length === 0. Actual: ' + (Array.prototype.toString.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.5.js deleted file mode 100644 index 6ed800d216..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.2_A4.5; -* @section: 15.4.4.2, 15.2.4.7, 12.6.4; -* @assertion: The toString property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A4.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.5.js", - -assertion: "The toString property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('toString') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'toString\') === false. Actual: ' + (Array.propertyIsEnumerable('toString'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "toString") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "toString") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.6.js deleted file mode 100644 index f9e17101cb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.2_A4.6; -* @section: 15.4.4.2; -* @assertion: The toString property of Array has not prototype property; -* @description: Checking Array.prototype.toString.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A4.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.6.js", - -assertion: "The toString property of Array has not prototype property", - -description: "Checking Array.prototype.toString.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.toString.prototype !== undefined) { - $ERROR('#1: Array.prototype.toString.prototype === undefined. Actual: ' + (Array.prototype.toString.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.7.js deleted file mode 100644 index 50f55de784..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.2_A4.7; -* @section: 15.4.4.2, 11.2.2; -* @assertion: The toString property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.2_A4.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.2_Array_prototype_toString/S15.4.4.2_A4.7.js", - -assertion: "The toString property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.toString(); - $ERROR('#1.1: new Array.prototype.toString() throw TypeError. Actual: ' + (new Array.prototype.toString())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.toString() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A1_T1.js deleted file mode 100644 index dce8190605..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A1_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.3_A1_T1; - * @section: 15.4.4.3; - * @assertion: The elements of the array are converted to strings using their - * toLocaleString methods, and these strings are then concatenated, separated - * by occurrences of a separator string that has been derived in an - * implementation-defined locale-specific way; - * @description: it is the function that should be invoked; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A1_T1.js", - -assertion: "The elements of the array are converted to strings using their", - -description: "it is the function that should be invoked", - -test: function testcase() { - var n = 0; -var obj = {toLocaleString: function() {n++}}; -var arr = [undefined, obj, null, obj, obj]; -arr.toLocaleString(); - -//CHECK#1 -if (n !== 3) { - $ERROR('#1: var n = 0; var obj = {toLocaleString: function() {n++}}; var arr = [undefined, obj, null, obj, obj]; arr.toLocaleString(); n === 3. Actual: ' + (n)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A2_T1.js deleted file mode 100644 index 38c6ef2a73..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A2_T1.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.3_A2_T1; - * @section: 15.4.4.3; - * @assertion: The toLocalString function is not generic. - * it throws a TypeError exception if its this value is not an Array object; - * @description: {}.toLocaleString = Array.prototype.toLocaleString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A2_T1.js", - -assertion: "The toLocalString function is not generic.", - -description: "{}.toLocaleString = Array.prototype.toLocaleString", - -test: function testcase() { - var obj = {}; -obj.toLocaleString = Array.prototype.toLocaleString; - -//CHECK#1 -try { - obj.toLocaleString(); - $ERROR('#1.1: var obj = {}; obj.toLocaleString = Array.prototype.toLocaleString; obj.toLocaleString() throw TypeError. Actual: ' + (obj.toLocaleString())); -} catch(e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: var obj = {}; obj.toLocaleString = Array.prototype.toLocaleString; obj.toLocaleString() throw TypeError. Actual: ' + (e)); - } -} - -obj[0] = 1; -obj.length = 1; - -//CHECK#2 -try { - obj.toLocaleString(); - $ERROR('#2.1: var obj = {}; obj.toLocaleString = Array.prototype.toLocaleString; obj[0] = 1; obj.length = 1; obj.toLocaleString() throw TypeError. Actual: ' + (obj.toLocaleString())); -} catch(e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#2.2: var obj = {}; obj.toLocaleString = Array.prototype.toLocaleString; obj[0] = 1; obj.length = 1; obj.toLocaleString() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A3_T1.js deleted file mode 100644 index e61c6bad84..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A3_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.3_A3_T1; - * @section: 15.4.4.3, 8.6.2.1; - * @assertion: [[Get]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A3_T1.js", - -assertion: "[[Get]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype", - -test: function testcase() { - //CHECK#1 -var n = 0; -var obj = {toLocaleString: function() {n++}}; -Array.prototype[1] = obj; -var x = [obj]; -x.length = 2; -x.toLocaleString(); -if (n !== 2) { - $ERROR('#1: var n = 0; var obj = {toLocaleString: function() {n++}}; Array.prototype[1] = obj; x = [obj]; x.length = 2; x.toLocaleString(); n === 2. Actual: ' + (n)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.1.js deleted file mode 100644 index 6175a9477f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.3_A4.1; -* @section: 15.4.4.3, 15.2.4.7, 12.6.4; -* @assertion: The length property of toLocaleString has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A4.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.1.js", - -assertion: "The length property of toLocaleString has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.toLocaleString.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.toLocaleString.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.toLocaleString.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.toLocaleString){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.toLocaleString) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.2.js deleted file mode 100644 index ff3703768e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.3_A4.2; -* @section: 15.4.4.3, 15.2.4.5, 11.4.1; -* @assertion: The length property of toLocaleString has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A4.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.2.js", - -assertion: "The length property of toLocaleString has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.toLocaleString.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.toLocaleString.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.toLocaleString.hasOwnProperty('length'))); -} - -delete Array.prototype.toLocaleString.length; - -//CHECK#2 -if (Array.prototype.toLocaleString.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.toLocaleString.length; Array.prototype.toLocaleString.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.toLocaleString.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.toLocaleString.length === undefined) { - $ERROR('#3: delete Array.prototype.toLocaleString.length; Array.prototype.toLocaleString.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.3.js deleted file mode 100644 index aae452bc64..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.3_A4.3; -* @section: 15.4.4.3; -* @assertion: The length property of toLocaleString has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A4.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.3.js", - -assertion: "The length property of toLocaleString has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.toLocaleString.length; -Array.prototype.toLocaleString.length = Infinity; -if (Array.prototype.toLocaleString.length !== x) { - $ERROR('#1: x = Array.prototype.toLocaleString.length; Array.prototype.toLocaleString.length = Infinity; Array.prototype.toLocaleString.length === x. Actual: ' + (Array.prototype.toLocaleString.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.4.js deleted file mode 100644 index 122ca900e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.3_A4.4; -* @section: 15.4.4.3; -* @assertion: The length property of toLocaleString is 0; -* @description: toLocaleString.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A4.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.4.js", - -assertion: "The length property of toLocaleString is 0", - -description: "toLocaleString.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.toLocaleString.length !== 0) { - $ERROR('#1: Array.prototype.toLocaleString.length === 0. Actual: ' + (Array.prototype.toLocaleString.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.5.js deleted file mode 100644 index a197e83e0d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.3_A4.5; -* @section: 15.4.4.3, 15.2.4.7, 12.6.4; -* @assertion: The toLocaleString property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A4.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.5.js", - -assertion: "The toLocaleString property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('toLocaleString') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'toLocaleString\') === false. Actual: ' + (Array.propertyIsEnumerable('toLocaleString'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "toLocaleString") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "toLocaleString") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.6.js deleted file mode 100644 index 9e960648a1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.3_A4.6; -* @section: 15.4.4.3; -* @assertion: The toLocaleString property of Array has not prototype property; -* @description: Checking Array.prototype.toLocaleString.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A4.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.6.js", - -assertion: "The toLocaleString property of Array has not prototype property", - -description: "Checking Array.prototype.toLocaleString.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.toLocaleString.prototype !== undefined) { - $ERROR('#1: Array.prototype.toLocaleString.prototype === undefined. Actual: ' + (Array.prototype.toLocaleString.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.7.js deleted file mode 100644 index 9728eecade..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.3_A4.7; -* @section: 15.4.4.3, 11.2.2; -* @assertion: The toLocaleString property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.3_A4.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.3_Array_prototype_toLocaleString/S15.4.4.3_A4.7.js", - -assertion: "The toLocaleString property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.toLocaleString(); - $ERROR('#1.1: new Array.prototype.toLocaleString() throw TypeError. Actual: ' + (new Array.prototype.toLocaleString())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.toLocaleString() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T1.js deleted file mode 100644 index c3286136dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T1.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.4_A1_T1; - * @section: 15.4.4.4; - * @assertion: When the concat method is called with zero or more arguments item1, item2, - * etc., it returns an array containing the array elements of the object followed by - * the array elements of each argument in order; - * @description: Checking this algorithm, items are Array object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T1.js", - -assertion: "When the concat method is called with zero or more arguments item1, item2,", - -description: "Checking this algorithm, items are Array object", - -test: function testcase() { - var x = new Array(); -var y = new Array(0,1); -var z = new Array(2,3,4); -var arr = x.concat(y,z); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = new Array(); var y = new Array(0,1); var z = new Array(2,3,4); var arr = x.concat(y,z); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr[0] !== 0) { - $ERROR('#1: var x = new Array(); var y = new Array(0,1); var z = new Array(2,3,4); var arr = x.concat(y,z); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#2 -if (arr[1] !== 1) { - $ERROR('#2: var x = new Array(); var y = new Array(0,1); var z = new Array(2,3,4); var arr = x.concat(y,z); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#3 -if (arr[2] !== 2) { - $ERROR('#3: var x = new Array(); var y = new Array(0,1); var z = new Array(2,3,4); var arr = x.concat(y,z); arr[2] === 2. Actual: ' + (arr[2])); -} - -//CHECK#4 -if (arr[3] !== 3) { - $ERROR('#4: var x = new Array(); var y = new Array(0,1); var z = new Array(2,3,4); var arr = x.concat(y,z); arr[3] === 3. Actual: ' + (arr[3])); -} - -//CHECK#5 -if (arr[4] !== 4) { - $ERROR('#5: var x = new Array(); var y = new Array(0,1); var z = new Array(2,3,4); var arr = x.concat(y,z); arr[4] === 4. Actual: ' + (arr[4])); -} - -//CHECK#6 -if (arr.length !== 5) { - $ERROR('#6: var x = new Array(); var y = new Array(0,1); var z = new Array(2,3,4); var arr = x.concat(y,z); arr.length === 5. Actual: ' + (arr.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T2.js deleted file mode 100644 index 7858d11685..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T2.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.4_A1_T2; - * @section: 15.4.4.4; - * @assertion: When the concat method is called with zero or more arguments item1, item2, - * etc., it returns an array containing the array elements of the object followed by - * the array elements of each argument in order; - * @description: Checking this algorithm, items are objects and primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T2.js", - -assertion: "When the concat method is called with zero or more arguments item1, item2,", - -description: "Checking this algorithm, items are objects and primitives", - -test: function testcase() { - var x = [0]; -var y = new Object(); -var z = new Array(1,2); -var arr = x.concat(y,z, -1, true, "NaN"); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr[0] !== 0) { - $ERROR('#1: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#2 -if (arr[1] !== y) { - $ERROR('#2: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[1] === y. Actual: ' + (arr[1])); -} - -//CHECK#3 -if (arr[2] !== 1) { - $ERROR('#3: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[2] === 1. Actual: ' + (arr[2])); -} - -//CHECK#4 -if (arr[3] !== 2) { - $ERROR('#4: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[3] === 2. Actual: ' + (arr[3])); -} - -//CHECK#5 -if (arr[4] !== -1) { - $ERROR('#5: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[4] === -1. Actual: ' + (arr[4])); -} - -//CHECK#6 -if (arr[5] !== true) { - $ERROR('#6: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[5] === true. Actual: ' + (arr[5])); -} - -//CHECK#7 -if (arr[6] !== "NaN") { - $ERROR('#7: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[6] === "NaN". Actual: ' + (arr[6])); -} - -//CHECK#8 -if (arr.length !== 7) { - $ERROR('#8: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr.length === 7. Actual: ' + (arr.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T3.js deleted file mode 100644 index e5af98a26a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T3.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.4_A1_T3; - * @section: 15.4.4.4; - * @assertion: When the concat method is called with zero or more arguments item1, item2, - * etc., it returns an array containing the array elements of the object followed by - * the array elements of each argument in order; - * @description: Checking this algorithm with no items; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T3.js", - -assertion: "When the concat method is called with zero or more arguments item1, item2,", - -description: "Checking this algorithm with no items", - -test: function testcase() { - var x = [0,1]; -var arr = x.concat(); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [0,1]; var arr = x.concat(); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr[0] !== 0) { - $ERROR('#1: var x = [0,1]; var arr = x.concat(); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#2 -if (arr[1] !== 1) { - $ERROR('#2: var x = [0,1]; var arr = x.concat(); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#3 -if (arr.length !== 2) { - $ERROR('#3: var x = [0,1]; var arr = x.concat(); arr.length === 2. Actual: ' + (arr.length)); -} - -//CHECK#4 -if (arr === x) { - $ERROR('#4: var x = [0,1]; var arr = x.concat(); arr !== x'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T4.js deleted file mode 100644 index 5a83dc3c59..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T4.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.4_A1_T4; - * @section: 15.4.4.4; - * @assertion: When the concat method is called with zero or more arguments item1, item2, - * etc., it returns an array containing the array elements of the object followed by - * the array elements of each argument in order; - * @description: Checking this algorithm, items are [], [,]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A1_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A1_T4.js", - -assertion: "When the concat method is called with zero or more arguments item1, item2,", - -description: "Checking this algorithm, items are [], [,]", - -test: function testcase() { - var x = [,1]; -var arr = x.concat([], [,]); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = [,1]; var arr = x.concat([], [,]); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr[0] !== undefined) { - $ERROR('#1: var x = [,1]; var arr = x.concat([], [,]); arr[0] === undefined. Actual: ' + (arr[0])); -} - -//CHECK#2 -if (arr[1] !== 1) { - $ERROR('#2: var x = [,1]; var arr = x.concat([], [,]); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#2 -if (arr[2] !== undefined) { - $ERROR('#2: var x = [,1]; var arr = x.concat([], [,]); arr[2] === undefined. Actual: ' + (arr[2])); -} - -//CHECK#4 -if (arr.length !== 3) { - $ERROR('#4: var x = [,1]; var arr = x.concat([], [,]); arr.length === 3. Actual: ' + (arr.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T1.js deleted file mode 100644 index aba5b1020a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T1.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.4_A2_T1; - * @section: 15.4.4.4; - * @assertion: The concat function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Checking this for Object object, items are objects and primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T1.js", - -assertion: "The concat function is intentionally generic.", - -description: "Checking this for Object object, items are objects and primitives", - -test: function testcase() { - var x = {}; -x.concat = Array.prototype.concat; -var y = new Object(); -var z = new Array(1,2); -var arr = x.concat(y,z, -1, true, "NaN"); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr[0] !== x) { - $ERROR('#1: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[0] === x. Actual: ' + (arr[0])); -} - -//CHECK#2 -if (arr[1] !== y) { - $ERROR('#2: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[1] === y. Actual: ' + (arr[1])); -} - -//CHECK#3 -if (arr[2] !== 1) { - $ERROR('#3: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[2] === 1. Actual: ' + (arr[2])); -} - -//CHECK#4 -if (arr[3] !== 2) { - $ERROR('#4: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[3] === 2. Actual: ' + (arr[3])); -} - -//CHECK#5 -if (arr[4] !== -1) { - $ERROR('#5: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[4] === -1. Actual: ' + (arr[4])); -} - -//CHECK#6 -if (arr[5] !== true) { - $ERROR('#6: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[5] === true. Actual: ' + (arr[5])); -} - -//CHECK#7 -if (arr[6] !== "NaN") { - $ERROR('#7: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr[6] === "NaN". Actual: ' + (arr[6])); -} - -//CHECK#8 -if (arr.length !== 7) { - $ERROR('#8: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr.length === 7. Actual: ' + (arr.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T2.js deleted file mode 100644 index 1bf9cb462f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.4_A2_T2; - * @section: 15.4.4.4; - * @assertion: The concat function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Checking this for Object object with no items; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A2_T2.js", - -assertion: "The concat function is intentionally generic.", - -description: "Checking this for Object object with no items", - -test: function testcase() { - var x = {}; -x.concat = Array.prototype.concat; -var arr = x.concat(); - -//CHECK#0 -arr.getClass = Object.prototype.toString; -if (arr.getClass() !== "[object " + "Array" + "]") { - $ERROR('#0: var x = {}; x.concat = Array.prototype.concat; var arr = x.concat() arr is Array object. Actual: ' + (arr.getClass())); -} - -//CHECK#1 -if (arr[0] !== x) { - $ERROR('#1: var x = {}; x.concat = Array.prototype.concat; var arr = x.concat(); arr[0] === x. Actual: ' + (arr[0])); -} - -//CHECK#2 -if (arr.length !== 1) { - $ERROR('#2: var x = {}; x.concat = Array.prototype.concat; var arr = x.concat(); arr.length === 1. Actual: ' + (arr.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A3_T1.js deleted file mode 100644 index ed0e4c1d92..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A3_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.4_A3_T1; - * @section: 15.4.4.4, 8.6.2.1, 15.2.4.5; - * @assertion: [[Get]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A3_T1.js", - -assertion: "[[Get]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = 1; -var x = [0]; -x.length = 2; -var arr = x.concat(); - -//CHECK#1 -if (arr[0] !== 0) { - $ERROR('#1: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.concat(); arr[0] === 0. Actual: ' + (arr[0])); -} - -//CHECK#2 -if (arr[1] !== 1) { - $ERROR('#2: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.concat(); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#3 -if (arr.hasOwnProperty('1') !== true) { - $ERROR('#3: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.concat(); arr.hasOwnProperty(\'1\') === true. Actual: ' + (arr.hasOwnProperty('1'))); -} - -Object.prototype[1] = 1; -Object.prototype.length = 2; -Object.prototype.concat = Array.prototype.concat; -x = {0:0}; -var arr = x.concat(); - -//CHECK#4 -if (arr[0] !== x) { - $ERROR('#4: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr[0] === x. Actual: ' + (arr[0])); -} - -//CHECK#5 -if (arr[1] !== 1) { - $ERROR('#5: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr[1] === 1. Actual: ' + (arr[1])); -} - -//CHECK#6 -if (arr.hasOwnProperty('1') !== false) { - $ERROR('#6: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr.hasOwnProperty(\'1\') === false. Actual: ' + (arr.hasOwnProperty('1'))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.1.js deleted file mode 100644 index 17f79cf462..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.4_A4.1; -* @section: 15.4.4.4, 15.2.4.7, 12.6.4; -* @assertion: The length property of concat has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A4.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.1.js", - -assertion: "The length property of concat has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.concat.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.concat.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.concat.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.concat){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.concat) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.2.js deleted file mode 100644 index 442ffeb064..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.4_A4.2; -* @section: 15.4.4.4, 15.2.4.5, 11.4.1; -* @assertion: The length property of concat has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A4.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.2.js", - -assertion: "The length property of concat has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.concat.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.concat.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.concat.hasOwnProperty('length'))); -} - -delete Array.prototype.concat.length; - -//CHECK#2 -if (Array.prototype.concat.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.concat.length; Array.prototype.concat.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.concat.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.concat.length === undefined) { - $ERROR('#3: delete Array.prototype.concat.length; Array.prototype.concat.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.3.js deleted file mode 100644 index 292a4c5c95..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.4_A4.3; -* @section: 15.4.4.4; -* @assertion: The length property of concat has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A4.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.3.js", - -assertion: "The length property of concat has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.concat.length; -Array.prototype.concat.length = Infinity; -if (Array.prototype.concat.length !== x) { - $ERROR('#1: x = Array.prototype.concat.length; Array.prototype.concat.length = Infinity; Array.prototype.concat.length === x. Actual: ' + (Array.prototype.concat.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.4.js deleted file mode 100644 index 98c9c18967..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.4_A4.4; -* @section: 15.4.4.4; -* @assertion: The length property of concat is 1; -* @description: concat.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A4.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.4.js", - -assertion: "The length property of concat is 1", - -description: "concat.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.concat.length !== 1) { - $ERROR('#1: Array.prototype.concat.length === 1. Actual: ' + (Array.prototype.concat.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.5.js deleted file mode 100644 index a1f87a5b09..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.4_A4.5; -* @section: 15.4.4.4, 15.2.4.7, 12.6.4; -* @assertion: The concat property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A4.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.5.js", - -assertion: "The concat property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('concat') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'concat\') === false. Actual: ' + (Array.propertyIsEnumerable('concat'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "concat") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "concat") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.6.js deleted file mode 100644 index d6b7259ee1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.4_A4.6; -* @section: 15.4.4.4; -* @assertion: The concat property of Array has not prototype property; -* @description: Checking Array.prototype.concat.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A4.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.6.js", - -assertion: "The concat property of Array has not prototype property", - -description: "Checking Array.prototype.concat.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.concat.prototype !== undefined) { - $ERROR('#1: Array.prototype.concat.prototype === undefined. Actual: ' + (Array.prototype.concat.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.7.js deleted file mode 100644 index 3196328914..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.4_A4.7; -* @section: 15.4.4.4, 11.2.2; -* @assertion: The concat property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.4_A4.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.4_Array_prototype_concat/S15.4.4.4_A4.7.js", - -assertion: "The concat property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.concat(); - $ERROR('#1.1: new Array.prototype.concat() throw TypeError. Actual: ' + (new Array.prototype.concat())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.concat() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.1_T1.js deleted file mode 100644 index 022188c43e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.1_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A1.1_T1; - * @section: 15.4.4.5; - * @assertion: If length is zero, return the empty string; - * @description: Checking this use new Array() and []; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.1_T1.js", - -assertion: "If length is zero, return the empty string", - -description: "Checking this use new Array() and []", - -test: function testcase() { - //CHECK#1 -var x = new Array(); -if (x.join() !== "") { - $ERROR('#1: x = new Array(); x.join() === "". Actual: ' + (x.join())); -} - -//CHECK#2 -x = []; -x[0] = 1; -x.length = 0; -if (x.join() !== "") { - $ERROR('#2: x = []; x[0] = 1; x.length = 0; x.join() === "". Actual: ' + (x.join())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T1.js deleted file mode 100644 index cf2b87aad0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A1.2_T1; - * @section: 15.4.4.5; - * @assertion: If separator is undefined, a single comma is used as the separator; - * @description: Checking this use new Array() and []; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T1.js", - -assertion: "If separator is undefined, a single comma is used as the separator", - -description: "Checking this use new Array() and []", - -test: function testcase() { - //CHECK#1 -var x = new Array(0,1,2,3); -if (x.join() !== "0,1,2,3") { - $ERROR('#1: x = new Array(0,1,2,3); x.join() === "0,1,2,3". Actual: ' + (x.join())); -} - -//CHECK#2 -x = []; -x[0] = 0; -x[3] = 3; -if (x.join() !== "0,,,3") { - $ERROR('#2: x = []; x[0] = 0; x[3] = 3; x.join() === "0,,,3". Actual: ' + (x.join())); -} - -//CHECK#3 -x = []; -x[0] = 0; -if (x.join() !== "0") { - $ERROR('#3: x = []; x[0] = 0; x.join() === "0". Actual: ' + (x.join())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T2.js deleted file mode 100644 index cd3c9a8c00..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A1.2_T2; - * @section: 15.4.4.5; - * @assertion: If separator is undefined, a single comma is used as the separator; - * @description: Checking this use new Array() and []; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A1.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.2_T2.js", - -assertion: "If separator is undefined, a single comma is used as the separator", - -description: "Checking this use new Array() and []", - -test: function testcase() { - //CHECK#1 -var x = new Array(0,1,2,3); -if (x.join(undefined) !== "0,1,2,3") { - $ERROR('#1: x = new Array(0,1,2,3); x.join(undefined) === "0,1,2,3". Actual: ' + (x.join(undefined))); -} - -//CHECK#2 -x = []; -x[0] = 0; -x[3] = 3; -if (x.join(undefined) !== "0,,,3") { - $ERROR('#2: x = []; x[0] = 0; x[3] = 3; x.join(undefined) === "0,,,3". Actual: ' + (x.join(undefined))); -} - -//CHECK#3 -x = []; -x[0] = 0; -if (x.join(undefined) !== "0") { - $ERROR('#3: x = []; x[0] = 0; x.join(undefined) === "0". Actual: ' + (x.join(undefined))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.3_T1.js deleted file mode 100644 index f6d012e324..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.3_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A1.3_T1; - * @section: 15.4.4.5; - * @assertion: If array element is undefined or null, use the empty string; - * @description: Checking this use new Array() and []; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A1.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A1.3_T1.js", - -assertion: "If array element is undefined or null, use the empty string", - -description: "Checking this use new Array() and []", - -test: function testcase() { - //CHECK#1 -var x = []; -x[0] = undefined; -if (x.join() !== "") { - $ERROR('#1: x = []; x[0] = undefined; x.join() === "". Actual: ' + (x.join())); -} - -//CHECK#2 -x = []; -x[0] = null; -if (x.join() !== "") { - $ERROR('#2: x = []; x[0] = null; x.join() === "". Actual: ' + (x.join())); -} - -//CHECK#3 -x = Array(undefined,1,null,3); -if (x.join() !== ",1,,3") { - $ERROR('#3: x = Array(undefined,1,null,3); x.join() === ",1,,3". Actual: ' + (x.join())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T1.js deleted file mode 100644 index a5cb9b12e7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T1.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A2_T1; - * @section: 15.4.4.5; - * @assertion: The join function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If ToUint32(length) is zero, return the empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T1.js", - -assertion: "The join function is intentionally generic.", - -description: "If ToUint32(length) is zero, return the empty string", - -test: function testcase() { - var obj = {}; -obj.join = Array.prototype.join; - -if (obj.length !== undefined) { - $ERROR('#0: var obj = {}; obj.length === undefined. Actual: ' + (obj.length)); -} else { - //CHECK#1 - if (obj.join() !== "") { - $ERROR('#1: var obj = {}; obj.join = Array.prototype.join; obj.join() === "". Actual: ' + (obj.join())); - } - //CHECK#2 - if (obj.length !== undefined) { - $ERROR('#2: var obj = {}; obj.join = Array.prototype.join; obj.join(); obj.length === undefined. Actual: ' + (obj.length)); - } -} - -//CHECK#3 -obj.length = undefined; -if (obj.join() !== "") { - $ERROR('#3: var obj = {}; obj.length = undefined; obj.join = Array.prototype.join; obj.join() === ". Actual: ' + (obj.join())); -} - -//CHECK#4 -if (obj.length !== undefined) { - $ERROR('#4: var obj = {}; obj.length = undefined; obj.join = Array.prototype.join; obj.join(); obj.length === undefined. Actual: ' + (obj.length)); -} - -//CHECK#5 -obj.length = null -if (obj.join() !== "") { - $ERROR('#5: var obj = {}; obj.length = null; obj.join = Array.prototype.join; obj.join() === "". Actual: ' + (obj.join())); -} - -//CHECK#6 -if (obj.length !== null) { - $ERROR('#6: var obj = {}; obj.length = null; obj.join = Array.prototype.join; obj.join(); obj.length === null. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T2.js deleted file mode 100644 index 0cb6fdd47b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T2.js +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A2_T2; - * @section: 15.4.4.5; - * @assertion: The join function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If ToUint32(length) is zero, return the empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T2.js", - -assertion: "The join function is intentionally generic.", - -description: "If ToUint32(length) is zero, return the empty string", - -test: function testcase() { - var obj = {}; -obj.join = Array.prototype.join; - -//CHECK#1 -obj.length = NaN; -if (obj.join() !== "") { - $ERROR('#1: var obj = {}; obj.length = NaN; obj.join = Array.prototype.join; obj.join() === "". Actual: ' + (obj.join())); -} - -//CHECK#2 -if (isNaN(obj.length) !== true) { - $ERROR('#2: var obj = {}; obj.length = NaN; obj.join = Array.prototype.join; obj.join(); obj.length === Not-a-Number. Actual: ' + (obj.length)); -} - -//CHECK#3 -obj.length = Number.POSITIVE_INFINITY; -if (obj.join() !== "") { - $ERROR('#3: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.join = Array.prototype.join; obj.join() === "". Actual: ' + (obj.join())); -} - -//CHECK#4 -if (obj.length !== Number.POSITIVE_INFINITY) { - $ERROR('#4: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.join = Array.prototype.join; obj.join(); obj.length === Number.POSITIVE_INFINITY. Actual: ' + (obj.length)); -} - -//CHECK#5 -obj.length = Number.NEGATIVE_INFINITY; -if (obj.join() !== "") { - $ERROR('#5: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.join = Array.prototype.join; obj.join() === "". Actual: ' + (obj.join())); -} - -//CHECK#6 -if (obj.length !== Number.NEGATIVE_INFINITY) { - $ERROR('#6: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.join = Array.prototype.join; obj.join(); obj.length === Number.NEGATIVE_INFINITY. Actual: ' + (obj.length)); -} - -//CHECK#7 -obj.length = -0; -if (obj.join() !== "") { - $ERROR('#7: var obj = {}; obj.length = -0; obj.join = Array.prototype.join; obj.join() === "". Actual: ' + (obj.join())); -} - -//CHECK#8 -if (obj.length !== -0) { - $ERROR('#8: var obj = {}; obj.length = -0; obj.join = Array.prototype.join; obj.join(); obj.length === 0. Actual: ' + (obj.length)); -} else { - if (1/obj.length !== Number.NEGATIVE_INFINITY) { - $ERROR('#8: var obj = {}; obj.length = -0; obj.join = Array.prototype.join; obj.join(); obj.length === -0. Actual: ' + (obj.length)); - } -} - -//CHECK#9 -obj.length = 0.5; -if (obj.join() !== "") { - $ERROR('#9: var obj = {}; obj.length = 0.5; obj.join = Array.prototype.join; obj.join() === "". Actual: ' + (obj.join())); -} - -//CHECK#10 -if (obj.length !== 0.5) { - $ERROR('#10: var obj = {}; obj.length = 0.5; obj.join = Array.prototype.join; obj.join(); obj.length === 0.5. Actual: ' + (obj.length)); -} - -//CHECK#11 -var x = new Number(0); -obj.length = x; -if (obj.join() !== "") { - $ERROR('#11: var x = new Number(0); var obj = {}; obj.length = x; obj.join = Array.prototype.join; obj.join() === "". Actual: ' + (obj.join())); -} - -//CHECK#12 -if (obj.length !== x) { - $ERROR('#12: var x = new Number(0); var obj = {}; obj.length = x; obj.join = Array.prototype.join; obj.join(); obj.length === x. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T3.js deleted file mode 100644 index 91a7ca4c91..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T3.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A2_T3; - * @section: 15.4.4.5; - * @assertion: The join function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If ToUint32(length) is zero, return the empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T3.js", - -assertion: "The join function is intentionally generic.", - -description: "If ToUint32(length) is zero, return the empty string", - -test: function testcase() { - var obj = {}; -obj.join = Array.prototype.join; - -//CHECK#1 -obj.length = 4.5; -if (obj.join() !== ",,,") { - $ERROR('#1: var obj = {}; obj.length = 4.5; obj.join = Array.prototype.join; obj.join() === ",,,". Actual: ' + (obj.join())); -} - -//CHECK#2 -obj[0] = undefined; -obj[1] = 1; -obj[2] = null; -if (obj.join() !== ",1,,") { - $ERROR('#1: var obj = {}; obj.length = 4.5; obj[0] = undefined; obj[1] = 1; obj[2] = null; obj.join = Array.prototype.join; obj.join() === ",1,,". Actual: ' + (obj.join())); -} - -//CHECK#3 -if (obj.length !== 4.5) { - $ERROR('#1: var obj = {}; obj.length = 4.5; obj[0] = undefined; obj[1] = 1; obj[2] = null; obj.join = Array.prototype.join; obj.join(); obj.length === 4.5. Actual: ' + (obj.length)); -} - -var obj = {}; -obj.join = Array.prototype.join; - -//CHECK#4 -var x = new Number(4.5); -obj.length = x; -if (obj.join() !== ",,,") { - $ERROR('#4: var obj = {}; var x = new Number(4.5); obj.length = x; obj.join = Array.prototype.join; obj.join() === ",,,". Actual: ' + (obj.join())); -} - -//CHECK#5 -obj[0] = undefined; -obj[1] = 1; -obj[2] = null; -if (obj.join() !== ",1,,") { - $ERROR('#5: var obj = {}; var x = new Number(4.5); obj.length = x; obj[0] = undefined; obj[1] = 1; obj[2] = null; obj.join = Array.prototype.join; obj.join() === ",1,,". Actual: ' + (obj.join())); -} - -//CHECK#6 -if (obj.length !== x) { - $ERROR('#6: var obj = {}; var x = new Number(4.5); obj.length = x; obj[0] = undefined; obj[1] = 1; obj[2] = null; obj.join = Array.prototype.join; obj.join(); obj.length === x. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T4.js deleted file mode 100644 index b7826c797f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T4.js +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A2_T4; - * @section: 15.4.4.5; - * @assertion: The join function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Operator use ToNumber from length. - * If Type(value) is Object, evaluate ToPrimitive(value, Number); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A2_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A2_T4.js", - -assertion: "The join function is intentionally generic.", - -description: "Operator use ToNumber from length.", - -test: function testcase() { - var obj = {}; -obj.join = Array.prototype.join; - -//CHECK#1 -obj.length = {valueOf: function() {return 3}}; -if (obj.join() !== ",,") { - $ERROR('#1: obj.length = {valueOf: function() {return 3}} obj.join() === ",,". Actual: ' + (obj.join())); -} - -//CHECK#2 -obj.length = {valueOf: function() {return 3}, toString: function() {return 2}}; -if (obj.join() !== ",,") { - $ERROR('#2: obj.length = {valueOf: function() {return 3}, toString: function() {return 2}} obj.join() === ",,". Actual: ' + (obj.join())); -} - -//CHECK#3 -obj.length = {valueOf: function() {return 3}, toString: function() {return {}}}; -if (obj.join() !== ",,") { - $ERROR('#3: obj.length = {valueOf: function() {return 3}, toString: function() {return {}}} obj.join() === ",,". Actual: ' + (obj.join())); -} - -//CHECK#4 -try { - obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; - if (obj.join() !== ",,") { - $ERROR('#4.1: obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; obj.join() === ",". Actual: ' + (obj.join())); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; obj.join() not throw "error"'); - } else { - $ERROR('#4.3: obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; obj.join() not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -obj.length = {toString: function() {return 2}}; -if (obj.join() !== ",") { - $ERROR('#5: obj.length = {toString: function() {return 2}} obj.join() === ",". Actual: ' + (obj.join())); -} - -//CHECK#6 -obj.length = {valueOf: function() {return {}}, toString: function() {return 2}} -if (obj.join() !== ",") { - $ERROR('#6: obj.length = {valueOf: function() {return {}}, toString: function() {return 2}} obj.join() === ",". Actual: ' + (obj.join())); -} - -//CHECK#7 -try { - obj.length = {valueOf: function() {throw "error"}, toString: function() {return 2}}; - obj.join(); - $ERROR('#7.1: obj.length = {valueOf: function() {throw "error"}, toString: function() {return 2}}; obj.join() throw "error". Actual: ' + (obj.join())); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: obj.length = {valueOf: function() {throw "error"}, toString: function() {return 2}}; obj.join() throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - obj.length = {valueOf: function() {return {}}, toString: function() {return {}}}; - obj.join(); - $ERROR('#8.1: obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.join() throw TypeError. Actual: ' + (obj.join())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8,2: obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.join() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T1.js deleted file mode 100644 index ae8c1e51b0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A3.1_T1; - * @section: 15.4.4.5; - * @assertion: Operator use ToString from separator; - * @description: Checking separator in ["", "\\", "&", true, Infinity, null, undefind, NaN]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A3.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T1.js", - -assertion: "Operator use ToString from separator", - -description: "Checking separator in [\"\", \"\\\\\", \"&\", true, Infinity, null, undefind, NaN]", - -test: function testcase() { - //CHECK#0 -var x = new Array(0,1,2,3); -if (x.join("") !== "0123") { - $ERROR('#0: x = new Array(0,1,2,3); x.join("") === "0123". Actual: ' + (x.join(""))); -} - -//CHECK#1 -x = new Array(0,1,2,3); -if (x.join("\\") !== "0\\1\\2\\3") { - $ERROR('#1: x = new Array(0,1,2,3); x.join("\\") === "0\\1\\2\\3". Actual: ' + (x.join("\\"))); -} - -//CHECK#2 -if (x.join("&") !== "0&1&2&3") { - $ERROR('#2: x = new Array(0,1,2,3); x.join("&") === "0&1&2&3". Actual: ' + (x.join("&"))); -} - -//CHECK#3 -if (x.join(true) !== "0true1true2true3") { - $ERROR('#3: x = new Array(0,1,2,3); x.join(true) === "0true1true2true3". Actual: ' + (x.join(true))); -} - -//CHECK#4 -if (x.join(Infinity) !== "0Infinity1Infinity2Infinity3") { - $ERROR('#4: x = new Array(0,1,2,3); x.join(Infinity) === "0Infinity1Infinity2Infinity3". Actual: ' + (x.join(Infinity))); -} - -//CHECK#5 -if (x.join(null) !== "0null1null2null3") { - $ERROR('#3: 5 = new Array(0,1,2,3); x.join(null) === "0null1null2null3". Actual: ' + (x.join(null))); -} - -//CHECK#6 -if (x.join(undefined) !== "0,1,2,3") { - $ERROR('#6: x = new Array(0,1,2,3); x.join(undefined) === "0,1,2,3". Actual: ' + (x.join(undefined))); -} - -//CHECK#7 -if (x.join(NaN) !== "0NaN1NaN2NaN3") { - $ERROR('#7: x = new Array(0,1,2,3); x.join("NaN") === "0NaN1NaN2NaN3". Actual: ' + (x.join("NaN"))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T2.js deleted file mode 100644 index 73e50ebc81..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T2.js +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A3.1_T2; - * @section: 15.4.4.5; - * @assertion: Operator use ToString from separator; - * @description: If Type(separator) is Object, evaluate ToPrimitive(separator, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A3.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.1_T2.js", - -assertion: "Operator use ToString from separator", - -description: "If Type(separator) is Object, evaluate ToPrimitive(separator, String)", - -test: function testcase() { - var x = new Array(0,1,2,3); -//CHECK#1 -var object = {valueOf: function() {return "+"}}; -if (x.join(object) !== "0[object Object]1[object Object]2[object Object]3") { - $ERROR('#1: var object = {valueOf: function() {return "+"}}; x.join(object) === "0[object Object]1[object Object]2[object Object]3". Actual: ' + (x.join(object))); -} - -//CHECK#2 -var object = {valueOf: function() {return "+"}, toString: function() {return "*"}}; -if (x.join(object) !== "0*1*2*3") { - $ERROR('#2: var object = {valueOf: function() {return "+"}, toString: function() {return "*"}}; x.join(object) === "0*1*2*3". Actual: ' + (x.join(object))); -} - -//CHECK#3 -var object = {valueOf: function() {return "+"}, toString: function() {return {}}}; -if (x.join(object) !== "0+1+2+3") { - $ERROR('#3: var object = {valueOf: function() {return "+"}, toString: function() {return {}}}; x.join(object) === "0+1+2+3". Actual: ' + (x.join(object))); -} - -//CHECK#4 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}}; - if (x.join(object) !== "0*1*2*3") { - $ERROR('#4.1: var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}}; x.join(object) === "0*1*2*3". Actual: ' + (x.join(object))); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}}; x.join(object) not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}}; x.join(object) not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return "*"}}; -if (x.join(object) !== "0*1*2*3") { - $ERROR('#5: var object = {toString: function() {return "*"}}; x.join(object) === "0*1*2*3". Actual: ' + (x.join(object))); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return "*"}} -if (x.join(object) !== "0*1*2*3") { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return "*"}}; x.join(object) === "0*1*2*3". Actual: ' + (x.join(object))); -} - -//CHECK#7 -try { - var object = {valueOf: function() {return "+"}, toString: function() {throw "error"}}; - x.join(object); - $ERROR('#7.1: var object = {valueOf: function() {return "+"}, toString: function() {throw "error"}}; x.join(object) throw "error". Actual: ' + (x.join(object))); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {return "+"}, toString: function() {throw "error"}}; x.join(object) throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - x.join(object); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; x.join(object) throw TypeError. Actual: ' + (x.join(object))); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; x.join(object) throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T1.js deleted file mode 100644 index 37e4664326..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T1.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A3.2_T1; - * @section: 15.4.4.5; - * @assertion: Operator use ToString from array arguments; - * @description: Checking arguments and separator in ["", "\\", "&", true, Infinity, null, undefind, NaN]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A3.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T1.js", - -assertion: "Operator use ToString from array arguments", - -description: "Checking arguments and separator in [\"\", \"\\\\\", \"&\", true, Infinity, null, undefind, NaN]", - -test: function testcase() { - //CHECK#0 -var x = new Array("","",""); -if (x.join("") !== "") { - $ERROR('#0: var x = new Array("","",""); x.join("") === "". Actual: ' + (x.join(""))); -} - -//CHECK#1 -var x = new Array("\\","\\","\\"); -if (x.join("\\") !== "\\\\\\\\\\") { - $ERROR('#1: var x = new Array("\\","\\","\\"); x.join("\\") === "\\\\\\\\\\". Actual: ' + (x.join("\\"))); -} - -//CHECK#2 -var x = new Array("&", "&", "&"); -if (x.join("&") !== "&&&&&") { - $ERROR('#2: var x = new Array("&", "&", "&"); x.join("&") === "&&&&&". Actual: ' + (x.join("&"))); -} - -//CHECK#3 -var x = new Array(true,true,true); -if (x.join() !== "true,true,true") { - $ERROR('#3: var x = new Array(true,true,true); x.join(true,true,true) === "true,true,true". Actual: ' + (x.join(true,true,true))); -} - -//CHECK#4 -var x = new Array(null,null,null); -if (x.join() !== ",,") { - $ERROR('#4: var x = new Array(null,null,null); x.join(null,null,null) === ",,". Actual: ' + (x.join(null,null,null))); -} - -//CHECK#5 -var x = new Array(undefined,undefined,undefined); -if (x.join() !== ",,") { - $ERROR('#5: var x = new Array(undefined,undefined,undefined); x.join(undefined,undefined,undefined) === ",,". Actual: ' + (x.join(undefined,undefined,undefined))); -} - -//CHECK#6 -var x = new Array(Infinity,Infinity,Infinity); -if (x.join() !== "Infinity,Infinity,Infinity") { - $ERROR('#6: var x = new Array(Infinity,Infinity,Infinity); x.join(Infinity,Infinity,Infinity) === "Infinity,Infinity,Infinity". Actual: ' + (x.join(Infinity,Infinity,Infinity))); -} - -//CHECK#7 -var x = new Array(NaN,NaN,NaN); -if (x.join() !== "NaN,NaN,NaN") { - $ERROR('#7: var x = new Array(NaN,NaN,NaN); x.join(NaN,NaN,NaN) === "NaN,NaN,NaN". Actual: ' + (x.join(NaN,NaN,NaN))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T2.js deleted file mode 100644 index f1ab632dd0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T2.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A3.2_T2; - * @section: 15.4.4.5; - * @assertion: Operator use ToString from array arguments; - * @description: If Type(argument) is Object, evaluate ToPrimitive(argument, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A3.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A3.2_T2.js", - -assertion: "Operator use ToString from array arguments", - -description: "If Type(argument) is Object, evaluate ToPrimitive(argument, String)", - -test: function testcase() { - //CHECK#1 -var object = {valueOf: function() {return "+"}}; -var x = new Array(object); -if (x.join() !== "[object Object]") { - $ERROR('#1: var object = {valueOf: function() {return "+"}} var x = new Array(object); x.join() === "[object Object]". Actual: ' + (x.join())); -} - -//CHECK#2 -var object = {valueOf: function() {return "+"}, toString: function() {return "*"}}; -var x = new Array(object); -if (x.join() !== "*") { - $ERROR('#2: var object = {valueOf: function() {return "+"}, toString: function() {return "*"}} var x = new Array(object); x.join() === "*". Actual: ' + (x.join())); -} - -//CHECK#3 -var object = {valueOf: function() {return "+"}, toString: function() {return {}}}; -var x = new Array(object); -if (x.join() !== "+") { - $ERROR('#3: var object = {valueOf: function() {return "+"}, toString: function() {return {}}} var x = new Array(object); x.join() === "+". Actual: ' + (x.join())); -} - -//CHECK#4 -try { - var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}}; - var x = new Array(object); - if (x.join() !== "*") { - $ERROR('#4.1: var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}} var x = new Array(object); x.join() === "*". Actual: ' + (x.join())); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}} var x = new Array(object); x.join() not throw "error"'); - } else { - $ERROR('#4.3: var object = {valueOf: function() {throw "error"}, toString: function() {return "*"}} var x = new Array(object); x.join() not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -var object = {toString: function() {return "*"}}; -var x = new Array(object); -if (x.join() !== "*") { - $ERROR('#5: var object = {toString: function() {return "*"}} var x = new Array(object); x.join() === "*". Actual: ' + (x.join())); -} - -//CHECK#6 -var object = {valueOf: function() {return {}}, toString: function() {return "*"}} -var x = new Array(object); -if (x.join() !== "*") { - $ERROR('#6: var object = {valueOf: function() {return {}}, toString: function() {return "*"}} var x = new Array(object); x.join() === "*". Actual: ' + (x.join())); -} - -//CHECK#7 -try { - var object = {valueOf: function() {return "+"}, toString: function() {throw "error"}}; - var x = new Array(object); - x.join(); - $ERROR('#7.1: var object = {valueOf: function() {return "+"}, toString: function() {throw "error"}} var x = new Array(object); x.join() throw "error". Actual: ' + (x.join())); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: var object = {valueOf: function() {return "+"}, toString: function() {throw "error"}} var x = new Array(object); x.join() throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - var x = new Array(object); - x.join(); - $ERROR('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}} var x = new Array(object); x.join() throw TypeError. Actual: ' + (x.join())); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}} var x = new Array(object); x.join() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T1.js deleted file mode 100644 index a27a10035b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A4_T1; - * @section: 15.4.4.5; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967296; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T1.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967296", - -test: function testcase() { - var obj = {}; -obj.join = Array.prototype.join; -obj[0] = "x"; -obj[4294967295] = "y"; -obj.length = 4294967296; - -//CHECK#1 -if (obj.join("") !== "") { - $ERROR('#1: var obj = {}; obj.join = Array.prototype.join; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.join("") === "". Actual: ' + (obj.join(""))); -} - -//CHECK#2 -if (obj.length !== 4294967296) { - $ERROR('#2: var obj = {}; obj.join = Array.prototype.join; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.join(""); obj.length === 4294967296. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T2.js deleted file mode 100644 index 1c471bcd1f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A4_T2; - * @section: 15.4.4.5; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967297; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T2.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967297", - -test: function testcase() { - var obj = {}; -obj.join = Array.prototype.join; -obj[0] = "x"; -obj[1] = "y"; -obj[4294967296] = "z"; -obj.length = 4294967297; - -//CHECK#1 -if (obj.join("") !== "x") { - $ERROR('#1: var obj = {}; obj.join = Array.prototype.join; obj[0] = "x"; obj[1] = "y"; obj[4294967296] = "z"; obj.length = 4294967297; obj.join("") === "x". Actual: ' + (obj.join(""))); -} - -//CHECK#2 -if (obj.length !== 4294967297) { - $ERROR('#2: var obj = {}; obj.join = Array.prototype.join; obj[0] = "x"; obj[1] = "y"; obj[4294967296] = "z"; obj.length = 4294967297; obj.join(""); obj.length === 4294967297. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T3.js deleted file mode 100644 index 40e45e3b69..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A4_T3; - * @section: 15.4.4.5; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = -4294967294; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A4_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A4_T3.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = -4294967294", - -test: function testcase() { - var obj = {}; -obj.join = Array.prototype.join; -obj[0] = "x"; -obj[1] = "y"; -obj[2] = "z"; -obj.length = -4294967294; - -//CHECK#1 -if (obj.join("") !== "xy") { - $ERROR('#1: var obj = {}; obj.join = Array.prototype.join; obj[0] = "x"; obj[1] = "y"; obj[2] = "z"; obj.length = -4294967294; obj.join("") === "xy". Actual: ' + (obj.join(""))); -} - -//CHECK#2 -if (obj.length !== -4294967294) { - $ERROR('#2: var obj = {}; obj.join = Array.prototype.join; obj[0] = "x"; obj[1] = "y"; obj[2] = "z"; obj.length = -4294967294; obj.join(""); obj.length === -4294967294. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A5_T1.js deleted file mode 100644 index aa39967960..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A5_T1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.5_A5_T1; - * @section: 15.4.4.5, 8.6.2.1; - * @assertion: [[Get]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A5_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A5_T1.js", - -assertion: "[[Get]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - //CHECK#1 -Array.prototype[1] = 1; -var x = [0]; -x.length = 2; -if (x.join() !== "0,1") { - $ERROR('#1: Array.prototype[1] = 1; x = [0]; x.length = 2; x.join() === "0,1". Actual: ' + (x.join())); -} - -//CHECK#2 -Object.prototype[1] = 1; -Object.prototype.length = 2; -Object.prototype.join = Array.prototype.join; -x = {0:0}; -if (x.join() !== "0,1") { - $ERROR('#2: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.join = Array.prototype.join; x = {0:0}; x.join() === "0,1". Actual: ' + (x.join())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.1.js deleted file mode 100644 index 2f6fe5fb49..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.5_A6.1; -* @section: 15.4.4.5, 15.2.4.7, 12.6.4; -* @assertion: The length property of join has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A6.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.1.js", - -assertion: "The length property of join has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.join.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.join.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.join.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.join){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.join) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.2.js deleted file mode 100644 index f2da61f313..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.5_A6.2; -* @section: 15.4.4.5, 15.2.4.5, 11.4.1; -* @assertion: The length property of join has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A6.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.2.js", - -assertion: "The length property of join has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.join.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.join.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.join.hasOwnProperty('length'))); -} - -delete Array.prototype.join.length; - -//CHECK#2 -if (Array.prototype.join.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.join.length; Array.prototype.join.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.join.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.join.length === undefined) { - $ERROR('#3: delete Array.prototype.join.length; Array.prototype.join.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.3.js deleted file mode 100644 index 09993646ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.5_A6.3; -* @section: 15.4.4.5; -* @assertion: The length property of join has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A6.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.3.js", - -assertion: "The length property of join has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.join.length; -Array.prototype.join.length = Infinity; -if (Array.prototype.join.length !== x) { - $ERROR('#1: x = Array.prototype.join.length; Array.prototype.join.length = Infinity; Array.prototype.join.length === x. Actual: ' + (Array.prototype.join.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.4.js deleted file mode 100644 index 339610bee8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.5_A6.4; -* @section: 15.4.4.5; -* @assertion: The length property of join is 1; -* @description: join.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A6.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.4.js", - -assertion: "The length property of join is 1", - -description: "join.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.join.length !== 1) { - $ERROR('#1: Array.prototype.join.length === 1. Actual: ' + (Array.prototype.join.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.5.js deleted file mode 100644 index ffe5a2b849..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.5_A6.5; -* @section: 15.4.4.5, 15.2.4.7, 12.6.4; -* @assertion: The join property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A6.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.5.js", - -assertion: "The join property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('join') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'join\') === false. Actual: ' + (Array.propertyIsEnumerable('join'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "join") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "join") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.6.js deleted file mode 100644 index e2e06b260b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.5_A6.6; -* @section: 15.4.4.5; -* @assertion: The join property of Array has not prototype property; -* @description: Checking Array.prototype.join.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A6.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.6.js", - -assertion: "The join property of Array has not prototype property", - -description: "Checking Array.prototype.join.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.join.prototype !== undefined) { - $ERROR('#1: Array.prototype.join.prototype === undefined. Actual: ' + (Array.prototype.join.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.7.js deleted file mode 100644 index 143b49c686..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.5_A6.7; -* @section: 15.4.4.5, 11.2.2; -* @assertion: The join property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.5_A6.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.5_Array_prototype_join/S15.4.4.5_A6.7.js", - -assertion: "The join property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.join(); - $ERROR('#1.1: new Array.prototype.join() throw TypeError. Actual: ' + (new Array.prototype.join())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.join() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.1_T1.js deleted file mode 100644 index 2d05e7fb73..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.1_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A1.1_T1; - * @section: 15.4.4.6; - * @assertion: If length equal zero, call the [[Put]] method of this object - * with arguments "length" and 0 and return undefined; - * @description: Checking this algorithm; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.1_T1.js", - -assertion: "If length equal zero, call the [[Put]] method of this object", - -description: "Checking this algorithm", - -test: function testcase() { - //CHECK#1 -var x = new Array(); -var pop = x.pop(); -if (pop !== undefined) { - $ERROR('#1: var x = new Array(); x.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#2 -if (x.length !== 0) { - $ERROR('#2: var x = new Array(); x.pop(); x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#3 -var x = Array(1,2,3); -x.length = 0; -var pop = x.pop(); -if (pop !== undefined) { - $ERROR('#2: var x = Array(1,2,3); x.length = 0; x.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#4 -if (x.length !== 0) { - $ERROR('#4: var x = new Array(1,2,3); x.length = 0; x.pop(); x.length === 0. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.2_T1.js deleted file mode 100644 index 513595feff..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.2_T1.js +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A1.2_T1; - * @section: 15.4.4.6; - * @assertion: The last element of the array is removed from the array - * and returned; - * @description: Checking this use new Array() and []; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A1.2_T1.js", - -assertion: "The last element of the array is removed from the array", - -description: "Checking this use new Array() and []", - -test: function testcase() { - //CHECK#1 -var x = new Array(0,1,2,3); -var pop = x.pop(); -if (pop !== 3) { - $ERROR('#1: x = new Array(0,1,2,3); x.pop() === 3. Actual: ' + (pop)); -} - -//CHECK#2 -if (x.length !== 3) { - $ERROR('#2: x = new Array(0,1,2,3); x.pop(); x.length == 3'); -} - -//CHECK#3 -if (x[3] !== undefined) { - $ERROR('#3: x = new Array(0,1,2,3); x.pop(); x[3] == undefined'); -} - -//CHECK#4 -if (x[2] !== 2) { - $ERROR('#4: x = new Array(0,1,2,3); x.pop(); x[2] == 2'); -} - -//CHECK#5 -x = []; -x[0] = 0; -x[3] = 3; -var pop = x.pop(); -if (pop !== 3) { - $ERROR('#5: x = []; x[0] = 0; x[3] = 3; x.pop() === 3. Actual: ' + (pop)); -} - -//CHECK#6 -if (x.length !== 3) { - $ERROR('#6: x = []; x[0] = 0; x[3] = 3; x.pop(); x.length == 3'); -} - -//CHECK#7 -if (x[3] !== undefined) { - $ERROR('#7: x = []; x[0] = 0; x[3] = 3; x.pop(); x[3] == undefined'); -} - -//CHECK#8 -if (x[2] !== undefined) { - $ERROR('#8: x = []; x[0] = 0; x[3] = 3; x.pop(); x[2] == undefined'); -} - -//CHECK#9 -x.length = 1; -var pop = x.pop(); -if (pop !== 0) { - $ERROR('#9: x = []; x[0] = 0; x[3] = 3; x.pop(); x.length = 1; x.pop() === 0. Actual: ' + (pop)); -} - -//CHECK#10 -if (x.length !== 0) { - $ERROR('#10: x = []; x[0] = 0; x[3] = 3; x.pop(); x.length = 1; x.pop(); x.length === 0. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T1.js deleted file mode 100644 index b42855c4ea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T1.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A2_T1; - * @section: 15.4.4.6; - * @assertion: The pop function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If ToUint32(length) equal zero, call the [[Put]] method - * of this object with arguments "length" and 0 and return undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T1.js", - -assertion: "The pop function is intentionally generic.", - -description: "If ToUint32(length) equal zero, call the [[Put]] method", - -test: function testcase() { - var obj = {}; -obj.pop = Array.prototype.pop; - -if (obj.length !== undefined) { - $ERROR('#0: var obj = {}; obj.length === undefined. Actual: ' + (obj.length)); -} else { - //CHECK#1 - var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#1: var obj = {}; obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); - } - //CHECK#2 - if (obj.length !== 0) { - $ERROR('#2: var obj = {}; obj.pop = Array.prototype.pop; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); - } -} - -//CHECK#3 -obj.length = undefined; -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#3: var obj = {}; obj.length = undefined; obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#4 -if (obj.length !== 0) { - $ERROR('#4: var obj = {}; obj.length = undefined; obj.pop = Array.prototype.pop; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#5 -obj.length = null -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#5: var obj = {}; obj.length = null; obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#6 -if (obj.length !== 0) { - $ERROR('#6: var obj = {}; obj.length = null; obj.pop = Array.prototype.pop; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T2.js deleted file mode 100644 index 3c0f4960ef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T2.js +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A2_T2; - * @section: 15.4.4.6; - * @assertion: The pop function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If ToUint32(length) equal zero, call the [[Put]] method - * of this object with arguments "length" and 0 and return undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T2.js", - -assertion: "The pop function is intentionally generic.", - -description: "If ToUint32(length) equal zero, call the [[Put]] method", - -test: function testcase() { - var obj = {}; -obj.pop = Array.prototype.pop; - -//CHECK#1 -obj.length = NaN; -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#1: var obj = {}; obj.length = NaN; obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#2 -if (obj.length !== 0) { - $ERROR('#2: var obj = {}; obj.length = NaN; obj.pop = Array.prototype.pop; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#3 -obj.length = Number.POSITIVE_INFINITY; -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#3: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#4 -if (obj.length !== 0) { - $ERROR('#4: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.pop = Array.prototype.pop; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#5 -obj.length = Number.NEGATIVE_INFINITY; -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#5: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#6 -if (obj.length !== 0) { - $ERROR('#6: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.pop = Array.prototype.pop; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#7 -obj.length = -0; -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#7: var obj = {}; obj.length = -0; obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#8 -if (obj.length !== 0) { - $ERROR('#8: var obj = {}; obj.length = -0; obj.pop = Array.prototype.pop; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} else { - if (1/obj.length !== Number.POSITIVE_INFINITY) { - $ERROR('#8: var obj = {}; obj.length = -0; obj.pop = Array.prototype.pop; obj.pop(); obj.length === +0. Actual: ' + (obj.length)); - } -} - -//CHECK#9 -obj.length = 0.5; -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#9: var obj = {}; obj.length = 0.5; obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#10 -if (obj.length !== 0) { - $ERROR('#10: var obj = {}; obj.length = 0.5; obj.pop = Array.prototype.pop; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#11 -obj.length = new Number(0); -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#11: var obj = {}; obj.length = new Number(0); obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#12 -if (obj.length !== 0) { - $ERROR('#12: var obj = {}; obj.length = new Number(0); obj.pop = Array.prototype.pop; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T3.js deleted file mode 100644 index cc4ab9d448..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A2_T3; - * @section: 15.4.4.6; - * @assertion: The pop function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: The last element ToUint32(length) - 1 of the array is removed from the array - * and returned; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T3.js", - -assertion: "The pop function is intentionally generic.", - -description: "The last element ToUint32(length) - 1 of the array is removed from the array", - -test: function testcase() { - var obj = {}; -obj.pop = Array.prototype.pop; - -//CHECK#1 -obj.length = 2.5; -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#1: var obj = {}; obj.length = 2.5; obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#2 -if (obj.length !== 1) { - $ERROR('#2: var obj = {}; obj.length = 2.5; obj.pop = Array.prototype.pop; obj.pop(); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#3 -obj.length = new Number(2); -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#11: var obj = {}; obj.length = new Number(2); obj.pop = Array.prototype.pop; obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#3 -if (obj.length !== 1) { - $ERROR('#12: var obj = {}; obj.length = new Number(2); obj.pop = Array.prototype.pop; obj.pop(); obj.length === 1. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T4.js deleted file mode 100644 index e50e05d1fa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T4.js +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A2_T4; - * @section: 15.4.4.6; - * @assertion: The pop function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Operator use ToNumber from length. - * If Type(value) is Object, evaluate ToPrimitive(value, Number); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A2_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T4.js", - -assertion: "The pop function is intentionally generic.", - -description: "Operator use ToNumber from length.", - -test: function testcase() { - var obj = {}; -obj.pop = Array.prototype.pop; - -//CHECK#1 -obj[0] = -1; -obj.length = {valueOf: function() {return 1}}; -var pop = obj.pop(); -if (pop !== -1) { - $ERROR('#1: obj[0] = -1; obj.length = {valueOf: function() {return 1}} obj.pop() === -1. Actual: ' + (pop)); -} - -//CHECK#2 -obj[0] = -1; -obj.length = {valueOf: function() {return 1}, toString: function() {return 0}}; -var pop = obj.pop(); -if (pop !== -1) { - $ERROR('#0: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {return 0}} obj.pop() === -1. Actual: ' + (pop)); -} - -//CHECK#3 -obj[0] = -1; -obj.length = {valueOf: function() {return 1}, toString: function() {return {}}}; -var pop = obj.pop(); -if (pop !== -1) { - $ERROR('#3: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {return {}}} obj.pop() === -1. Actual: ' + (pop)); -} - -//CHECK#4 -try { - obj[0] = -1; - obj.length = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - var pop = obj.pop(); -if (pop !== -1) { - $ERROR('#4.1: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {throw "error"}}; obj.pop() === ",". Actual: ' + (pop)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {throw "error"}}; obj.pop() not throw "error"'); - } else { - $ERROR('#4.3: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {throw "error"}}; obj.pop() not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -obj[0] = -1; -obj.length = {toString: function() {return 0}}; -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#5: obj[0] = -1; obj.length = {toString: function() {return 0}} obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#6 -obj[0] = -1; -obj.length = {valueOf: function() {return {}}, toString: function() {return 0}} -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#6: obj[0] = -1; obj.length = {valueOf: function() {return {}}, toString: function() {return 0}} obj.pop() === undefined. Actual: ' + (pop)); -} - -//CHECK#7 -try { - obj[0] = -1; - obj.length = {valueOf: function() {throw "error"}, toString: function() {return 0}}; - var pop = obj.pop(); - $ERROR('#7.1: obj[0] = -1; obj.length = {valueOf: function() {throw "error"}, toString: function() {return 0}}; obj.pop() throw "error". Actual: ' + (pop)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: obj[0] = -1; obj.length = {valueOf: function() {throw "error"}, toString: function() {return 0}}; obj.pop() throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - obj[0] = -1; - obj.length = {valueOf: function() {return {}}, toString: function() {return {}}}; - var pop = obj.pop(); - $ERROR('#8.1: obj[0] = -1; obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.pop() throw TypeError. Actual: ' + (pop)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: obj[0] = -1; obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.pop() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T1.js deleted file mode 100644 index b1c5a544d2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T1.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A3_T1; - * @section: 15.4.4.6; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967296; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T1.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967296", - -test: function testcase() { - var obj = {}; -obj.pop = Array.prototype.pop; -obj[0] = "x"; -obj[4294967295] = "y"; -obj.length = 4294967296; - -//CHECK#1 -var pop = obj.pop(); -if (pop !== undefined) { - $ERROR('#1: var obj = {}; obj.pop = Array.prototype.pop; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.pop() === unedfined. Actual: ' + (pop)); -} - -//CHECK#2 -if (obj.length !== 0) { - $ERROR('#2: var obj = {}; obj.pop = Array.prototype.pop; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "x") { - $ERROR('#3: var obj = {}; obj.pop = Array.prototype.pop; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.pop(); obj[0] === "x". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[4294967295] !== "y") { - $ERROR('#4: var obj = {}; obj.pop = Array.prototype.pop; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.pop(); obj[4294967295] === "y". Actual: ' + (obj[4294967295])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T2.js deleted file mode 100644 index bd857427bb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T2.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A3_T2; - * @section: 15.4.4.6; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967297; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T2.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967297", - -test: function testcase() { - var obj = {}; -obj.pop = Array.prototype.pop; -obj[0] = "x"; -obj[4294967296] = "y"; -obj.length = 4294967297; - -//CHECK#1 -var pop = obj.pop(); -if (pop !== "x") { - $ERROR('#1: var obj = {}; obj.pop = Array.prototype.pop; obj[0] = "x"; obj[4294967296] = "y"; obj.length = 4294967297; obj.pop() === "x". Actual: ' + (pop)); -} - -//CHECK#2 -if (obj.length !== 0) { - $ERROR('#2: var obj = {}; obj.pop = Array.prototype.pop; obj[0] = "x"; obj[4294967296] = "y"; obj.length = 4294967297; obj.pop(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== undefined) { - $ERROR('#3: var obj = {}; obj.pop = Array.prototype.pop; obj[0] = "x"; obj[4294967296] = "y"; obj.length = 4294967297; obj.pop(); obj[0] === undefined. Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[4294967296] !== "y") { - $ERROR('#4: var obj = {}; obj.pop = Array.prototype.pop; obj[0] = "x"; obj[4294967296] = "y"; obj.length = 4294967297; obj.pop(); obj[4294967296] === "y". Actual: ' + (obj[4294967296])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T3.js deleted file mode 100644 index b26f7dd0ae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A3_T3; - * @section: 15.4.4.6; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = -1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T3.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = -1", - -test: function testcase() { - var obj = {}; -obj.pop = Array.prototype.pop; -obj[4294967294] = "x"; -obj.length = -1; - -//CHECK#1 -var pop = obj.pop(); -if (pop !== "x") { - $ERROR('#1: var obj = {}; obj.pop = Array.prototype.pop; obj[4294967294] = "x"; obj.length = -1; obj.pop() === "x". Actual: ' + (pop)); -} - -//CHECK#2 -if (obj.length !== 4294967294) { - $ERROR('#2: var obj = {}; obj.pop = Array.prototype.pop; obj[4294967294] = "x"; obj.length = -1; obj.pop(); obj.length === 4294967294. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[4294967294] !== undefined) { - $ERROR('#3: var obj = {}; obj.pop = Array.prototype.pop; obj[4294967294] = "x"; obj.length = -1; obj.pop(); obj[4294967294] === undefined. Actual: ' + (obj[4294967294])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T1.js deleted file mode 100644 index 78d711b972..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A4_T1; - * @section: 15.4.4.6, 8.6.2.1, 8.6.2.5; - * @assertion: [[Get]], [[Delete]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T1.js", - -assertion: "[[Get]], [[Delete]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = 1; -var x = [0]; -x.length = 2; - -//CHECK#1 -var pop = x.pop(); -if (pop !== 1) { - $ERROR('#1: Array.prototype[1] = 1; x = [0]; x.length = 2; x.pop() === 1. Actual: ' + (pop)); -} - -//CHECK#2 -if (x[1] !== 1) { - $ERROR('#2: Array.prototype[1] = 1; x = [0]; x.length = 2; x.pop(); x[1] === 1. Actual: ' + (x[1])); -} - -Object.prototype[1] = 1; -Object.prototype.length = 2; -Object.prototype.pop = Array.prototype.pop; -x = {0:0}; - -//CHECK#3 -var pop = x.pop(); -if (pop !== 1) { - $ERROR('#3: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.pop = Array.prototype.pop; x = {0:0}; x.pop() === 1. Actual: ' + (pop)); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.pop = Array.prototype.pop; x = {0:0}; x.pop(); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.pop = Array.prototype.pop; x = {0:0}; x.pop(); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -delete x.length; -if (x.length !== 2) { - $ERROR('#7: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.pop = Array.prototype.pop; x = {0:0}; x.pop(); delete x; x.length === 2. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T2.js deleted file mode 100644 index e5f9e4b3b4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T2.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.6_A4_T2; - * @section: 15.4.4.6, 8.6.2.1; - * @assertion: [[Get]], [[Delete]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A4_T2.js", - -assertion: "[[Get]], [[Delete]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = -1; -var x = [0,1]; -x.length = 2; - -//CHECK#1 -var pop = x.pop(); -if (pop !== 1) { - $ERROR('#1: Array.prototype[1] = -1; x = [0,1]; x.length = 2; x.pop() === 1. Actual: ' + (pop)); -} - -//CHECK#2 -if (x[1] !== -1) { - $ERROR('#2: Array.prototype[1] = -1; x = [0,1]; x.length = 2; x.pop(); x[1] === -1. Actual: ' + (x[1])); -} - -Object.prototype[1] = -1; -Object.prototype.length = 2; -Object.prototype.pop = Array.prototype.pop; -x = {0:0,1:1}; - -//CHECK#3 -var pop = x.pop(); -if (pop !== 1) { - $ERROR('#3: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.pop = Array.prototype.pop; x = {0:0,1:1}; x.pop() === 1. Actual: ' + (pop)); -} - -//CHECK#4 -if (x[1] !== -1) { - $ERROR('#4: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.pop = Array.prototype.pop; x = {0:0,1:1}; x.pop(); x[1] === -1. Actual: ' + (x[1])); -} - -//CHECK#6 -if (x.length !== 1) { - $ERROR('#6: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.pop = Array.prototype.pop; x = {0:0,1:1}; x.pop(); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -delete x.length; -if (x.length !== 2) { - $ERROR('#7: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.pop = Array.prototype.pop; x = {0:0,1:1}; x.pop(); delete x; x.length === 2. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.1.js deleted file mode 100644 index 272dac5dab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.6_A5.1; -* @section: 15.4.4.6, 15.2.4.7, 12.6.4; -* @assertion: The length property of pop has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A5.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.1.js", - -assertion: "The length property of pop has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.pop.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.pop.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.pop.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.pop){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.pop) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.2.js deleted file mode 100644 index 20d2baf707..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.6_A5.2; -* @section: 15.4.4.6, 15.2.4.5, 11.4.1; -* @assertion: The length property of pop has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A5.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.2.js", - -assertion: "The length property of pop has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.pop.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.pop.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.pop.hasOwnProperty('length'))); -} - -delete Array.prototype.pop.length; - -//CHECK#2 -if (Array.prototype.pop.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.pop.length; Array.prototype.pop.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.pop.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.pop.length === undefined) { - $ERROR('#3: delete Array.prototype.pop.length; Array.prototype.pop.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.3.js deleted file mode 100644 index 1cbf43510f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.6_A5.3; -* @section: 15.4.4.6; -* @assertion: The length property of pop has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A5.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.3.js", - -assertion: "The length property of pop has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.pop.length; -Array.prototype.pop.length = Infinity; -if (Array.prototype.pop.length !== x) { - $ERROR('#1: x = Array.prototype.pop.length; Array.prototype.pop.length = Infinity; Array.prototype.pop.length === x. Actual: ' + (Array.prototype.pop.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.4.js deleted file mode 100644 index daafc4cd69..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.6_A5.4; -* @section: 15.4.4.6; -* @assertion: The length property of pop is 0; -* @description: pop.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A5.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.4.js", - -assertion: "The length property of pop is 0", - -description: "pop.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.pop.length !== 0) { - $ERROR('#1: Array.prototype.pop.length === 0. Actual: ' + (Array.prototype.pop.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.5.js deleted file mode 100644 index 29e3f6cabb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.6_A5.5; -* @section: 15.4.4.6, 15.2.4.7, 12.6.4; -* @assertion: The pop property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A5.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.5.js", - -assertion: "The pop property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('pop') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'pop\') === false. Actual: ' + (Array.propertyIsEnumerable('pop'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "pop") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "pop") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.6.js deleted file mode 100644 index 84b2c56970..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.6_A5.6; -* @section: 15.4.4.6; -* @assertion: The pop property of Array has not prototype property; -* @description: Checking Array.prototype.pop.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A5.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.6.js", - -assertion: "The pop property of Array has not prototype property", - -description: "Checking Array.prototype.pop.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.pop.prototype !== undefined) { - $ERROR('#1: Array.prototype.pop.prototype === undefined. Actual: ' + (Array.prototype.pop.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.7.js deleted file mode 100644 index df7399d14e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.6_A5.7; -* @section: 15.4.4.6, 11.2.2; -* @assertion: The pop property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.6_A5.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.6_Array_prototype_pop/S15.4.4.6_A5.7.js", - -assertion: "The pop property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.pop(); - $ERROR('#1.1: new Array.prototype.pop() throw TypeError. Actual: ' + (new Array.prototype.pop())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.pop() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T1.js deleted file mode 100644 index 0479ded962..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T1.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A1_T1; - * @section: 15.4.4.7; - * @assertion: The arguments are appended to the end of the array, in - * the order in which they appear. The new length of the array is returned - * as the result of the call; - * @description: Checking case when push is given no arguments or one argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T1.js", - -assertion: "The arguments are appended to the end of the array, in", - -description: "Checking case when push is given no arguments or one argument", - -test: function testcase() { - //CHECK#1 -var x = new Array(); -var push = x.push(1); -if (push !== 1) { - $ERROR('#1: x = new Array(); x.push(1) === 1. Actual: ' + (push)); -} - -//CHECK#2 -if (x[0] !== 1) { - $ERROR('#2: x = new Array(); x.push(1); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#3 -var push = x.push(); -if (push !== 1) { - $ERROR('#3: x = new Array(); x.push(1); x.push() === 1. Actual: ' + (push)); -} - -//CHECK#4 -if (x[1] !== undefined) { - $ERROR('#4: x = new Array(); x.push(1); x.push(); x[1] === unedfined. Actual: ' + (x[1])); -} - -//CHECK#5 -var push = x.push(-1); -if (push !== 2) { - $ERROR('#5: x = new Array(); x.push(1); x.push(); x.push(-1) === 2. Actual: ' + (push)); -} - -//CHECK#6 -if (x[1] !== -1) { - $ERROR('#6: x = new Array(); x.push(1); x.push(-1); x[1] === -1. Actual: ' + (x[1])); -} - -//CHECK#7 -if (x.length !== 2) { - $ERROR('#7: x = new Array(); x.push(1); x.push(); x.push(-1); x.length === 2. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T2.js deleted file mode 100644 index 6e7e2e887d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T2.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A1_T2; - * @section: 15.4.4.7; - * @assertion: The arguments are appended to the end of the array, in - * the order in which they appear. The new length of the array is returned - * as the result of the call; - * @description: Checking case when push is given many arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A1_T2.js", - -assertion: "The arguments are appended to the end of the array, in", - -description: "Checking case when push is given many arguments", - -test: function testcase() { - //CHECK#1 -var x = []; -if (x.length !== 0) { - $ERROR('#1: x = []; x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#2 -x[0] = 0; -var push = x.push(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); -if (push !== 6) { - $ERROR('#2: x = []; x[0] = 0; x.push(true, Number.POSITIVE_INFINITY, "NaN", "1", -1) === 6. Actual: ' + (push)); -} - -//CHECK#3 -if (x[0] !== 0) { - $ERROR('#3: x = []; x[0] = 0; x.push(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== true) { - $ERROR('#4: x = []; x[0] = 0; x.push(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[1] === true. Actual: ' + (x[1])); -} - -//CHECK#5 -if (x[2] !== Number.POSITIVE_INFINITY) { - $ERROR('#5: x = []; x[0] = 0; x.push(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[2] === Number.POSITIVE_INFINITY. Actual: ' + (x[2])); -} - -//CHECK#6 -if (x[3] !== "NaN") { - $ERROR('#6: x = []; x[0] = 0; x.push(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[3] === "NaN". Actual: ' + (x[3])); -} - -//CHECK#7 -if (x[4] !== "1") { - $ERROR('#7: x = []; x[0] = 0; x.push(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[4] === "1". Actual: ' + (x[4])); -} - -//CHECK#8 -if (x[5] !== -1) { - $ERROR('#8: x = []; x[0] = 0; x.push(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x[5] === -1. Actual: ' + (x[5])); -} - -//CHECK#9 -if (x.length !== 6) { - $ERROR('#9: x = []; x[0] = 0; x.push(true, Number.POSITIVE_INFINITY, "NaN", "1", -1); x.length === 6. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T1.js deleted file mode 100644 index afd010ca41..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T1.js +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A2_T1; - * @section: 15.4.4.7; - * @assertion: The push function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: The arguments are appended to the end of the array, in - * the order in which they appear. The new length of the array is returned - * as the result of the call; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T1.js", - -assertion: "The push function is intentionally generic.", - -description: "The arguments are appended to the end of the array, in", - -test: function testcase() { - var obj = {}; -obj.push = Array.prototype.push; - -if (obj.length !== undefined) { - $ERROR('#0: var obj = {}; obj.length === undefined. Actual: ' + (obj.length)); -} else { - //CHECK#1 - var push = obj.push(-1); -if (push !== 1) { - $ERROR('#1: var obj = {}; obj.push = Array.prototype.push; obj.push(-1) === 1. Actual: ' + (push)); - } - //CHECK#2 - if (obj.length !== 1) { - $ERROR('#2: var obj = {}; obj.push = Array.prototype.push; obj.push(-1); obj.length === 1. Actual: ' + (obj.length)); - } - //CHECK#3 - if (obj["0"] !== -1) { - $ERROR('#3: var obj = {}; obj.push = Array.prototype.push; obj.push(-1); obj["0"] === -1. Actual: ' + (obj["0"])); - } -} - -//CHECK#4 -obj.length = undefined; -var push = obj.push(-4); -if (push !== 1) { - $ERROR('#4: var obj = {}; obj.length = undefined; obj.push = Array.prototype.push; obj.push(-4) === 1. Actual: ' + (push)); -} - -//CHECK#5 -if (obj.length !== 1) { - $ERROR('#5: var obj = {}; obj.length = undefined; obj.push = Array.prototype.push; obj.push(-4); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#6 -if (obj["0"] !== -4) { - $ERROR('#6: var obj = {}; obj.length = undefined; obj.push = Array.prototype.push; obj.push(-4); obj["0"] === -4. Actual: ' + (obj["0"])); -} - -//CHECK#7 -obj.length = null -var push = obj.push(-7); -if (push !== 1) { - $ERROR('#7: var obj = {}; obj.length = null; obj.push = Array.prototype.push; obj.push(-7) === 1. Actual: ' + (push)); -} - -//CHECK#8 -if (obj.length !== 1) { - $ERROR('#8: var obj = {}; obj.length = null; obj.push = Array.prototype.push; obj.push(-7); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#9 -if (obj["0"] !== -7) { - $ERROR('#9: var obj = {}; obj.length = null; obj.push = Array.prototype.push; obj.push(-7); obj["0"] === -7. Actual: ' + (obj["0"])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T2.js deleted file mode 100644 index 27a309108c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T2.js +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A2_T2; - * @section: 15.4.4.7; - * @assertion: The push function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: The arguments are appended to the end of the array, in - * the order in which they appear. The new length of the array is returned - * as the result of the call; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T2.js", - -assertion: "The push function is intentionally generic.", - -description: "The arguments are appended to the end of the array, in", - -test: function testcase() { - var obj = {}; -obj.push = Array.prototype.push; - -//CHECK#1 -obj.length = NaN; -var push = obj.push(-1); -if (push !== 1) { - $ERROR('#1: var obj = {}; obj.length = NaN; obj.push = Array.prototype.push; obj.push(-1) === 1. Actual: ' + (push)); -} - -//CHECK#2 -if (obj.length !== 1) { - $ERROR('#2: var obj = {}; obj.length = NaN; obj.push = Array.prototype.push; obj.push(-1); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj["0"] !== -1) { - $ERROR('#3: var obj = {}; obj.length = NaN; obj.push = Array.prototype.push; obj.push(-1); obj["0"] === -1. Actual: ' + (obj["0"])); -} - -//CHECK#4 -obj.length = Number.POSITIVE_INFINITY; -var push = obj.push(-4); -if (push !== 1) { - $ERROR('#4: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.push = Array.prototype.push; obj.push(-4) === 1. Actual: ' + (push)); -} - -//CHECK#5 -if (obj.length !== 1) { - $ERROR('#6: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.push = Array.prototype.push; obj.push(-4); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#6 -if (obj["0"] !== -4) { - $ERROR('#6: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.push = Array.prototype.push; obj.push(-4); obj["0"] === -4. Actual: ' + (obj["0"])); -} - -//CHECK#7 -obj.length = Number.NEGATIVE_INFINITY; -var push = obj.push(-7); -if (push !== 1) { - $ERROR('#7: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.push = Array.prototype.push; obj.push(-7) === 1. Actual: ' + (push)); -} - -//CHECK#8 -if (obj.length !== 1) { - $ERROR('#8: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.push = Array.prototype.push; obj.push(-7); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#9 -if (obj["0"] !== -7) { - $ERROR('#9: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.push = Array.prototype.push; obj.push(-7); obj["0"] === -7. Actual: ' + (obj["0"])); -} - -//CHECK#10 -obj.length = 0.5; -var push = obj.push(-10); -if (push !== 1) { - $ERROR('#10: var obj = {}; obj.length = 0.5; obj.push = Array.prototype.push; obj.push(-10) === 1. Actual: ' + (push)); -} - -//CHECK#11 -if (obj.length !== 1) { - $ERROR('#11: var obj = {}; obj.length = 0.5; obj.push = Array.prototype.push; obj.push(-10); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#12 -if (obj["0"] !== -10) { - $ERROR('#12: var obj = {}; obj.length = 0.5; obj.push = Array.prototype.push; obj.push(-10); obj["0"] === -10. Actual: ' + (obj["0"])); -} - -//CHECK#13 -obj.length = 1.5; -var push = obj.push(-13); -if (push !== 2) { - $ERROR('#13: var obj = {}; obj.length = 1.5; obj.push = Array.prototype.push; obj.push(-13) === 2. Actual: ' + (push)); -} - -//CHECK#14 -if (obj.length !== 2) { - $ERROR('#14: var obj = {}; obj.length = 1.5; obj.push = Array.prototype.push; obj.push(-13); obj.length === 2. Actual: ' + (obj.length)); -} - -//CHECK#15 -if (obj["1"] !== -13) { - $ERROR('#15: var obj = {}; obj.length = 1.5; obj.push = Array.prototype.push; obj.push(-13); obj["1"] === -13. Actual: ' + (obj["1"])); -} - -//CHECK#16 -obj.length = new Number(0); -var push = obj.push(-16); -if (push !== 1) { - $ERROR('#16: var obj = {}; obj.length = new Number(0); obj.push = Array.prototype.push; obj.push(-16) === 1. Actual: ' + (push)); -} - -//CHECK#17 -if (obj.length !== 1) { - $ERROR('#17: var obj = {}; obj.length = new Number(0); obj.push = Array.prototype.push; obj.push(-16); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#18 -if (obj["0"] !== -16) { - $ERROR('#18: var obj = {}; obj.length = new Number(0); obj.push = Array.prototype.push; obj.push(-16); obj["0"] === -16. Actual: ' + (obj["0"])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T3.js deleted file mode 100644 index 948888229b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T3.js +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A2_T3; - * @section: 15.4.4.7; - * @assertion: The push function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Operator use ToNumber from length. - * If Type(value) is Object, evaluate ToPrimitive(value, Number); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T3.js", - -assertion: "The push function is intentionally generic.", - -description: "Operator use ToNumber from length.", - -test: function testcase() { - var obj = {}; -obj.push = Array.prototype.push; - -//CHECK#1 -obj.length = {valueOf: function() {return 3}}; -var push = obj.push(); -if (push !== 3) { - $ERROR('#1: obj.length = {valueOf: function() {return 3}} obj.push() === 3. Actual: ' + (push)); -} - -//CHECK#2 -obj.length = {valueOf: function() {return 3}, toString: function() {return 1}}; -var push = obj.push(); -if (push !== 3) { - $ERROR('#0: obj.length = {valueOf: function() {return 3}, toString: function() {return 1}} obj.push() === 3. Actual: ' + (push)); -} - -//CHECK#3 -obj.length = {valueOf: function() {return 3}, toString: function() {return {}}}; -var push = obj.push(); -if (push !== 3) { - $ERROR('#1: obj.length = {valueOf: function() {return 3}, toString: function() {return {}}} obj.push() === 3. Actual: ' + (push)); -} - -//CHECK#4 -try { - - obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; - var push = obj.push(); -if (push !== 3) { - $ERROR('#4.1: obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; obj.push() === ",". Actual: ' + (push)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; obj.push() not throw "error"'); - } else { - $ERROR('#4.3: obj.length = {valueOf: function() {return 3}, toString: function() {throw "error"}}; obj.push() not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -obj.length = {toString: function() {return 1}}; -var push = obj.push(); -if (push !== 1) { - $ERROR('#5: obj.length = {toString: function() {return 1}} obj.push() === 1. Actual: ' + (push)); -} - -//CHECK#6 -obj.length = {valueOf: function() {return {}}, toString: function() {return 1}} -var push = obj.push(); -if (push !== 1) { - $ERROR('#6: obj.length = {valueOf: function() {return {}}, toString: function() {return 1}} obj.push() === 1. Actual: ' + (push)); -} - -//CHECK#7 -try { - - obj.length = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - var push = obj.push(); - $ERROR('#7.1: obj.length = {valueOf: function() {throw "error"}, toString: function() {return 1}}; obj.push() throw "error". Actual: ' + (push)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: obj.length = {valueOf: function() {throw "error"}, toString: function() {return 1}}; obj.push() throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - - obj.length = {valueOf: function() {return {}}, toString: function() {return {}}}; - var push = obj.push(); - $ERROR('#8.1: obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.push() throw TypeError. Actual: ' + (push)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.push() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A3.js deleted file mode 100644 index cb878e13f3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A3; - * @section: 15.4.4.7; - * @assertion: Check ToUint32(length) for Array object; - * @description: If ToUint32(length) !== length, throw RangeError; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A3.js", - -assertion: "Check ToUint32(length) for Array object", - -description: "If ToUint32(length) !== length, throw RangeError", - -test: function testcase() { - var x = []; -x.length = 4294967295; - -//CHECK#1 -var push = x.push(); -if (push !== 4294967295) { - $ERROR('#1: x = []; x.length = 4294967295; x.push() === 4294967295. Actual: ' + (push)); -} - -//CHECK#2 -try { - x.push("x"); - $ERROR('#2.1: x = []; x.length = 4294967295; x.push("x") throw RangeError. Actual: ' + (push)); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#2.2: x = []; x.length = 4294967295; x.push("x") throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#3 -if (x[4294967295] !== "x") { - $ERROR('#3: x = []; x.length = 4294967295; try {x.push("x")}catch(e){}; x[4294967295] === "x". Actual: ' + (x[4294967295])); -} - -//CHECK#4 -if (x.length !== 4294967295) { - $ERROR('#4: x = []; x.length = 4294967295; try {x.push("x")}catch(e){}; x.length === 4294967295. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T1.js deleted file mode 100644 index 22aec2c927..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T1.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A4_T1; - * @section: 15.4.4.7; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967296; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T1.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967296", - -test: function testcase() { - var obj = {}; -obj.push = Array.prototype.push; -obj.length = 4294967296; - -//CHECK#1 -var push = obj.push("x", "y", "z"); -if (push !== 3) { - $ERROR('#1: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967296; obj.push("x", "y", "z") === 3. Actual: ' + (push)); -} - -//CHECK#2 -if (obj.length !== 3) { - $ERROR('#2: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967296; obj.push("x", "y", "z"); obj.length === 3. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "x") { - $ERROR('#3: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967296; obj.push("x", "y", "z"); obj[0] === "x". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== "y") { - $ERROR('#4: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967296; obj.push("x", "y", "z"); obj[1] === "y". Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[2] !== "z") { - $ERROR('#5: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967296; obj.push("x", "y", "z"); obj[2] === "z". Actual: ' + (obj[2])); -} - -var obj = {}; -obj.push = Array.prototype.push; -obj.length = 4294967296; - -//CHECK#6 -var push = obj.push(); -if (push !== 0) { - $ERROR('#6: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967296; obj.push() === 0. Actual: ' + (push)); -} - -//CHECK#7 -if (obj.length !== 0) { - $ERROR('#7: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967296; obj.push(); obj.length === 0. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js deleted file mode 100644 index 14e3ac7788..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A4_T2; - * @section: 15.4.4.7; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967295; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967295", - -test: function testcase() { - var obj = {}; -obj.push = Array.prototype.push; -obj.length = 4294967295; - -//CHECK#1 -var push = obj.push("x", "y", "z"); -if (push !== 4294967298) { - $ERROR('#1: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z") === 4294967298. Actual: ' + (push)); -} - -//CHECK#2 -if (obj.length !== 4294967298) { - $ERROR('#2: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z"); obj.length === 4294967298. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[4294967295] !== "x") { - $ERROR('#3: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z"); obj[4294967295] === "x". Actual: ' + (obj[4294967295])); -} - -//CHECK#4 -if (obj[4294967296] !== "y") { - $ERROR('#4: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z"); obj[4294967296] === "y". Actual: ' + (obj[4294967296])); -} - -//CHECK#5 -if (obj[4294967297] !== "z") { - $ERROR('#5: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z"); obj[4294967297] === "z". Actual: ' + (obj[4294967297])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T3.js deleted file mode 100644 index e462bf470a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T3.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A4_T3; - * @section: 15.4.4.7; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = -1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A4_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T3.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = -1", - -test: function testcase() { - var obj = {}; -obj.push = Array.prototype.push; -obj.length = -1; - -//CHECK#1 -var push = obj.push("x", "y", "z"); -if (push !== 4294967298) { - $ERROR('#1: var obj = {}; obj.push = Array.prototype.push; obj.length = -1; obj.push("x", "y", "z") === 4294967298. Actual: ' + (push)); -} - -//CHECK#2 -if (obj.length !== 4294967298) { - $ERROR('#2: var obj = {}; obj.push = Array.prototype.push; obj.length = -1; obj.push("x", "y", "z"); obj.length === 4294967298. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[4294967295] !== "x") { - $ERROR('#3: var obj = {}; obj.push = Array.prototype.push; obj.length = -1; obj.push("x", "y", "z"); obj[4294967295] === "x". Actual: ' + (obj[4294967295])); -} - -//CHECK#4 -if (obj[4294967296] !== "y") { - $ERROR('#4: var obj = {}; obj.push = Array.prototype.push; obj.length = -1; obj.push("x", "y", "z"); obj[4294967296] === "y". Actual: ' + (obj[4294967296])); -} - -//CHECK#5 -if (obj[4294967297] !== "z") { - $ERROR('#5: var obj = {}; obj.push = Array.prototype.push; obj.length = -1; obj.push("x", "y", "z"); obj[4294967297] === "z". Actual: ' + (obj[4294967297])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A5_T1.js deleted file mode 100644 index ff9bb88d1f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A5_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.7_A5_T1; - * @section: 15.4.4.7, 8.6.2.1; - * @assertion: [[Get]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A5_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A5_T1.js", - -assertion: "[[Get]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Object.prototype[1] = -1; -Object.prototype.length = 1; -Object.prototype.push = Array.prototype.push; -var x = {0:0}; - -//CHECK#1 -var push = x.push(1); -if (push !== 2) { - $ERROR('#1: Object.prototype[1] = 1; Object.prototype.length = -1; Object.prototype.push = Array.prototype.push; x = {0:0}; x.push(1) === 2. Actual: ' + (push)); -} - -//CHECK#2 -if (x.length !== 2) { - $ERROR('#2: Object.prototype[1] = 1; Object.prototype.length = -1; Object.prototype.push = Array.prototype.push; x = {0:0}; x.push(1); x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[1] !== 1) { - $ERROR('#3: Object.prototype[1] = 1; Object.prototype.length = -1; Object.prototype.push = Array.prototype.push; x = {0:0}; x.push(1); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#4 -delete x[1]; -if (x[1] !== -1) { - $ERROR('#4: Object.prototype[1] = 1; Object.prototype.length = -1; Object.prototype.push = Array.prototype.push; x = {0:0}; x.push(1); delete x[1]; x[1] === -1. Actual: ' + (x[1])); -} - -//CHECK#5 -delete x.length; -if (x.length !== 1) { - $ERROR('#5: Object.prototype[1] = 1; Object.prototype.length = -1; Object.prototype.push = Array.prototype.push; x = {0:0}; delete x; x.push(1); x.length === 1. Actual: ' + (x.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.1.js deleted file mode 100644 index 5377c4aaf6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.7_A6.1; -* @section: 15.4.4.7, 15.2.4.7, 12.6.4; -* @assertion: The length property of push has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A6.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.1.js", - -assertion: "The length property of push has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.push.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.push.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.push.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.push){ - if (p === "length") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.push) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.2.js deleted file mode 100644 index 9997e84a17..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.7_A6.2; -* @section: 15.4.4.7, 15.2.4.5, 11.4.1; -* @assertion: The length property of push has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A6.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.2.js", - -assertion: "The length property of push has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.push.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.push.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.push.hasOwnProperty('length'))); -} - -delete Array.prototype.push.length; - -//CHECK#2 -if (Array.prototype.push.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.push.length; Array.prototype.push.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.push.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.push.length === undefined) { - $ERROR('#3: delete Array.prototype.push.length; Array.prototype.push.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js deleted file mode 100644 index 618f188593..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.7_A6.3; -* @section: 15.4.4.7; -* @assertion: The length property of push has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A6.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js", - -assertion: "The length property of push has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.push.length; -Array.prototype.push.length = Infinity; -if (Array.prototype.push.length !== x) { - $ERROR('#1: x = Array.prototype.push.length; Array.prototype.push.length = Infinity; Array.prototype.push.length === x. Actual: ' + (Array.prototype.push.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.4.js deleted file mode 100644 index a34e9c29d5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.7_A6.4; -* @section: 15.4.4.7; -* @assertion: The length property of push is 1; -* @description: push.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A6.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.4.js", - -assertion: "The length property of push is 1", - -description: "push.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.push.length !== 1) { - $ERROR('#1: Array.prototype.push.length === 1. Actual: ' + (Array.prototype.push.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.5.js deleted file mode 100644 index 2412428cc3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.7_A6.5; -* @section: 15.4.4.7, 15.2.4.7, 12.6.4; -* @assertion: The push property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A6.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.5.js", - -assertion: "The push property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('push') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'push\') === false. Actual: ' + (Array.propertyIsEnumerable('push'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "push") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "push") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.6.js deleted file mode 100644 index 1d6189a55e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.7_A6.6; -* @section: 15.4.4.7; -* @assertion: The push property of Array has not prototype property; -* @description: Checking Array.prototype.push.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A6.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.6.js", - -assertion: "The push property of Array has not prototype property", - -description: "Checking Array.prototype.push.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.push.prototype !== undefined) { - $ERROR('#1: Array.prototype.push.prototype === undefined. Actual: ' + (Array.prototype.push.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.7.js deleted file mode 100644 index 117b24abf4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.7_A6.7; -* @section: 15.4.4.7, 11.2.2; -* @assertion: The push property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.7_A6.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.7.js", - -assertion: "The push property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.push(); - $ERROR('#1.1: new Array.prototype.push() throw TypeError. Actual: ' + (new Array.prototype.push())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.push() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T1.js deleted file mode 100644 index 42a8fd2d5d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T1.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A1_T1; - * @section: 15.4.4.8; - * @assertion: The elements of the array are rearranged so as to reverse their order. - * The object is returned as the result of the call; - * @description: Checking case when reverse is given no arguments or one argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T1.js", - -assertion: "The elements of the array are rearranged so as to reverse their order.", - -description: "Checking case when reverse is given no arguments or one argument", - -test: function testcase() { - //CHECK#1 -var x = []; -var reverse = x.reverse(); -if (reverse !== x) { - $ERROR('#1: x = []; x.reverse() === x. Actual: ' + (reverse)); -} - -//CHECK#2 -x = []; -x[0] = 1; -var reverse = x.reverse(); -if (reverse !== x) { - $ERROR('#2: x = []; x[0] = 1; x.reverse() === x. Actual: ' + (reverse)); -} - -//CHECK#3 -x = new Array(1,2); -var reverse = x.reverse(); -if (reverse !== x) { - $ERROR('#3: x = new Array(1,2); x.reverse() === x. Actual: ' + (reverse)); -} - -//CHECK#4 -if (x[0] !== 2) { - $ERROR('#4: x = new Array(1,2); x.reverse(); x[0] === 2. Actual: ' + (x[0])); -} - -//CHECK#5 -if (x[1] !== 1) { - $ERROR('#5: x = new Array(1,2); x.reverse(); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#6 -if (x.length !== 2) { - $ERROR('#6: x = new Array(1,2); x.reverse(); x.length === 2. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T2.js deleted file mode 100644 index 1e0895c6f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T2.js +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A1_T2; - * @section: 15.4.4.8; - * @assertion: The elements of the array are rearranged so as to reverse their order. - * The object is returned as the result of the call; - * @description: Checking this algorithm, elements are objects and primitives; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A1_T2.js", - -assertion: "The elements of the array are rearranged so as to reverse their order.", - -description: "Checking this algorithm, elements are objects and primitives", - -test: function testcase() { - //CHECK#1 -var x = []; -x[0] = true; -x[2] = Infinity; -x[4] = undefined; -x[5] = undefined; -x[8] = "NaN"; -x[9] = "-1"; - -var reverse = x.reverse(); -if (reverse !== x) { - $ERROR('#1: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse() === x. Actual: ' + (reverse)); -} - -//CHECK#2 -if (x[0] !== "-1") { - $ERROR('#2: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[0] === "-1". Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== "NaN") { - $ERROR('#3: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[1] === "NaN". Actual: ' + (x[1])); -} - -//CHECK#4 -if (x[2] !== undefined) { - $ERROR('#4: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[2] === undefined. Actual: ' + (x[2])); -} - -//CHECK#5 -if (x[3] !== undefined) { - $ERROR('#5: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[3] === undefined. Actual: ' + (x[3])); -} - -//CHECK#6 -if (x[4] !== undefined) { - $ERROR('#6: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[4] === undefined. Actual: ' + (x[4])); -} - -//CHECK#7 -if (x[5] !== undefined) { - $ERROR('#7: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[5] === undefined. Actual: ' + (x[5])); -} - -//CHECK#8 -if (x[6] !== undefined) { - $ERROR('#8: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[6] === undefined. Actual: ' + (x[6])); -} - -//CHECK#9 -if (x[7] !== Infinity) { - $ERROR('#9: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[7] === Infinity. Actual: ' + (x[7])); -} - -//CHECK#10 -if (x[8] !== undefined) { - $ERROR('#10: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[8] === undefined. Actual: ' + (x[8])); -} - -//CHECK#11 -if (x[9] !== true) { - $ERROR('#11: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x[9] === true. Actual: ' + (x[9])); -} - -x.length = 9; - -var reverse = x.reverse(); -if (reverse !== x) { - $ERROR('#1: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse() === x. Actual: ' + (reverse)); -} - -//CHECK#12 -if (x[0] !== undefined) { - $ERROR('#12: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse(); x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#13 -if (x[1] !== Infinity) { - $ERROR('#13: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse(); x[1] === Infinity. Actual: ' + (x[1])); -} - -//CHECK#14 -if (x[2] !== undefined) { - $ERROR('#14: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse(); x[2] === undefined. Actual: ' + (x[2])); -} - -//CHECK#15 -if (x[3] !== undefined) { - $ERROR('#15: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse(); x[3] === undefined. Actual: ' + (x[3])); -} - -//CHECK#16 -if (x[4] !== undefined) { - $ERROR('#16: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse(); x[4] === undefined. Actual: ' + (x[4])); -} - -//CHECK#17 -if (x[5] !== undefined) { - $ERROR('#17: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse(); x[5] === undefined. Actual: ' + (x[5])); -} - -//CHECK#18 -if (x[6] !== undefined) { - $ERROR('#18: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse(); x[6] === undefined. Actual: ' + (x[6])); -} - -//CHECK#19 -if (x[7] !== "NaN") { - $ERROR('#19: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse(); x[7] === "NaN". Actual: ' + (x[7])); -} - -//CHECK#20 -if (x[8] !== "-1") { - $ERROR('#20: x = []; x[0] = true; x[2] = Infinity; x[4] = undefined; x[5] = undefined; x[8] = "NaN"; x[9] = "-1"; x.reverse(); x.length = 9; x.reverse(); x[8] === "-1". Actual: ' + (x[8])); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T1.js deleted file mode 100644 index 1ef878f78b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T1.js +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A2_T1; - * @section: 15.4.4.8; - * @assertion: The reverse function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Checking this for Object object, elements are objects and primitives, length is integer; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T1.js", - -assertion: "The reverse function is intentionally generic.", - -description: "Checking this for Object object, elements are objects and primitives, length is integer", - -test: function testcase() { - //CHECK#1 -var obj = {}; -obj.length = 10; -obj.reverse = Array.prototype.reverse; - -obj[0] = true; -obj[2] = Infinity; -obj[4] = undefined; -obj[5] = undefined; -obj[8] = "NaN"; -obj[9] = "-1"; - -var reverse = obj.reverse(); -if (reverse !== obj) { - $ERROR('#1: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse() === obj. Actual: ' + (reverse)); -} - -//CHECK#2 -if (obj[0] !== "-1") { - $ERROR('#2: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[0] === "-1". Actual: ' + (obj[0])); -} - -//CHECK#3 -if (obj[1] !== "NaN") { - $ERROR('#3: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[1] === "NaN". Actual: ' + (obj[1])); -} - -//CHECK#4 -if (obj[2] !== undefined) { - $ERROR('#4: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[2] === undefined. Actual: ' + (obj[2])); -} - -//CHECK#5 -if (obj[3] !== undefined) { - $ERROR('#5: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[3] === undefined. Actual: ' + (obj[3])); -} - -//CHECK#6 -if (obj[4] !== undefined) { - $ERROR('#6: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[4] === undefined. Actual: ' + (obj[4])); -} - -//CHECK#7 -if (obj[5] !== undefined) { - $ERROR('#7: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[5] === undefined. Actual: ' + (obj[5])); -} - -//CHECK#8 -if (obj[6] !== undefined) { - $ERROR('#8: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[6] === undefined. Actual: ' + (obj[6])); -} - -//CHECK#9 -if (obj[7] !== Infinity) { - $ERROR('#9: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[7] === Infinity. Actual: ' + (obj[7])); -} - -//CHECK#10 -if (obj[8] !== undefined) { - $ERROR('#10: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[8] === undefined. Actual: ' + (obj[8])); -} - -//CHECK#11 -if (obj[9] !== true) { - $ERROR('#11: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[9] === true. Actual: ' + (obj[9])); -} - -obj.length = 9; - -var reverse = obj.reverse(); -if (reverse !== obj) { - $ERROR('#1: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse() === obj. Actual: ' + (reverse)); -} - -//CHECK#12 -if (obj[0] !== undefined) { - $ERROR('#12: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse(); obj[0] === undefined. Actual: ' + (obj[0])); -} - -//CHECK#13 -if (obj[1] !== Infinity) { - $ERROR('#13: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse(); obj[1] === Infinity. Actual: ' + (obj[1])); -} - -//CHECK#14 -if (obj[2] !== undefined) { - $ERROR('#14: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse(); obj[2] === undefined. Actual: ' + (obj[2])); -} - -//CHECK#15 -if (obj[3] !== undefined) { - $ERROR('#15: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse(); obj[3] === undefined. Actual: ' + (obj[3])); -} - -//CHECK#16 -if (obj[4] !== undefined) { - $ERROR('#16: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse(); obj[4] === undefined. Actual: ' + (obj[4])); -} - -//CHECK#17 -if (obj[5] !== undefined) { - $ERROR('#17: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse(); obj[5] === undefined. Actual: ' + (obj[5])); -} - -//CHECK#18 -if (obj[6] !== undefined) { - $ERROR('#18: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse(); obj[6] === undefined. Actual: ' + (obj[6])); -} - -//CHECK#19 -if (obj[7] !== "NaN") { - $ERROR('#19: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse(); obj[7] === "NaN". Actual: ' + (obj[7])); -} - -//CHECK#20 -if (obj[8] !== "-1") { - $ERROR('#20: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = 9; obj.reverse(); obj[8] === "-1". Actual: ' + (obj[8])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T2.js deleted file mode 100644 index 4384481cf2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T2.js +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A2_T2; - * @section: 15.4.4.8; - * @assertion: The reverse function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Checking this for Object object, elements are objects and primitives, length is not integer; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T2.js", - -assertion: "The reverse function is intentionally generic.", - -description: "Checking this for Object object, elements are objects and primitives, length is not integer", - -test: function testcase() { - //CHECK#1 -var obj = {}; -obj.length = 10.5; -obj.reverse = Array.prototype.reverse; - -obj[0] = true; -obj[2] = Infinity; -obj[4] = undefined; -obj[5] = undefined; -obj[8] = "NaN"; -obj[9] = "-1"; - -var reverse = obj.reverse(); -if (reverse !== obj) { - $ERROR('#1: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse() === obj. Actual: ' + (reverse)); -} - -//CHECK#2 -if (obj[0] !== "-1") { - $ERROR('#2: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[0] === "-1". Actual: ' + (obj[0])); -} - -//CHECK#3 -if (obj[1] !== "NaN") { - $ERROR('#3: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[1] === "NaN". Actual: ' + (obj[1])); -} - -//CHECK#4 -if (obj[2] !== undefined) { - $ERROR('#4: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[2] === undefined. Actual: ' + (obj[2])); -} - -//CHECK#5 -if (obj[3] !== undefined) { - $ERROR('#5: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[3] === undefined. Actual: ' + (obj[3])); -} - -//CHECK#6 -if (obj[4] !== undefined) { - $ERROR('#6: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[4] === undefined. Actual: ' + (obj[4])); -} - -//CHECK#7 -if (obj[5] !== undefined) { - $ERROR('#7: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[5] === undefined. Actual: ' + (obj[5])); -} - -//CHECK#8 -if (obj[6] !== undefined) { - $ERROR('#8: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[6] === undefined. Actual: ' + (obj[6])); -} - -//CHECK#9 -if (obj[7] !== Infinity) { - $ERROR('#9: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[7] === Infinity. Actual: ' + (obj[7])); -} - -//CHECK#10 -if (obj[8] !== undefined) { - $ERROR('#10: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[8] === undefined. Actual: ' + (obj[8])); -} - -//CHECK#11 -if (obj[9] !== true) { - $ERROR('#11: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[9] === true. Actual: ' + (obj[9])); -} - -obj.length = new Number(9.5); - -var reverse = obj.reverse(); -if (reverse !== obj) { - $ERROR('#1: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse() === obj. Actual: ' + (reverse)); -} - -//CHECK#12 -if (obj[0] !== undefined) { - $ERROR('#12: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse(); obj[0] === undefined. Actual: ' + (obj[0])); -} - -//CHECK#13 -if (obj[1] !== Infinity) { - $ERROR('#13: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse(); obj[1] === Infinity. Actual: ' + (obj[1])); -} - -//CHECK#14 -if (obj[2] !== undefined) { - $ERROR('#14: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse(); obj[2] === undefined. Actual: ' + (obj[2])); -} - -//CHECK#15 -if (obj[3] !== undefined) { - $ERROR('#15: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse(); obj[3] === undefined. Actual: ' + (obj[3])); -} - -//CHECK#16 -if (obj[4] !== undefined) { - $ERROR('#16: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse(); obj[4] === undefined. Actual: ' + (obj[4])); -} - -//CHECK#17 -if (obj[5] !== undefined) { - $ERROR('#17: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse(); obj[5] === undefined. Actual: ' + (obj[5])); -} - -//CHECK#18 -if (obj[6] !== undefined) { - $ERROR('#18: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse(); obj[6] === undefined. Actual: ' + (obj[6])); -} - -//CHECK#19 -if (obj[7] !== "NaN") { - $ERROR('#19: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse(); obj[7] === "NaN". Actual: ' + (obj[7])); -} - -//CHECK#20 -if (obj[8] !== "-1") { - $ERROR('#20: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = 10.5; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new Number(9.5); obj.reverse(); obj[8] === "-1". Actual: ' + (obj[8])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T3.js deleted file mode 100644 index a36ff84dea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T3.js +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A2_T3; - * @section: 15.4.4.8; - * @assertion: The reverse function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Checking this for Object object, elements are objects and primitives, length is string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A2_T3.js", - -assertion: "The reverse function is intentionally generic.", - -description: "Checking this for Object object, elements are objects and primitives, length is string", - -test: function testcase() { - //CHECK#1 -var obj = {}; -obj.length = "10"; -obj.reverse = Array.prototype.reverse; - -obj[0] = true; -obj[2] = Infinity; -obj[4] = undefined; -obj[5] = undefined; -obj[8] = "NaN"; -obj[9] = "-1"; - -var reverse = obj.reverse(); -if (reverse !== obj) { - $ERROR('#1: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse() === obj. Actual: ' + (reverse)); -} - -//CHECK#2 -if (obj[0] !== "-1") { - $ERROR('#2: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[0] === "-1". Actual: ' + (obj[0])); -} - -//CHECK#3 -if (obj[1] !== "NaN") { - $ERROR('#3: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[1] === "NaN". Actual: ' + (obj[1])); -} - -//CHECK#4 -if (obj[2] !== undefined) { - $ERROR('#4: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[2] === undefined. Actual: ' + (obj[2])); -} - -//CHECK#5 -if (obj[3] !== undefined) { - $ERROR('#5: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[3] === undefined. Actual: ' + (obj[3])); -} - -//CHECK#6 -if (obj[4] !== undefined) { - $ERROR('#6: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[4] === undefined. Actual: ' + (obj[4])); -} - -//CHECK#7 -if (obj[5] !== undefined) { - $ERROR('#7: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[5] === undefined. Actual: ' + (obj[5])); -} - -//CHECK#8 -if (obj[6] !== undefined) { - $ERROR('#8: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[6] === undefined. Actual: ' + (obj[6])); -} - -//CHECK#9 -if (obj[7] !== Infinity) { - $ERROR('#9: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[7] === Infinity. Actual: ' + (obj[7])); -} - -//CHECK#10 -if (obj[8] !== undefined) { - $ERROR('#10: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[8] === undefined. Actual: ' + (obj[8])); -} - -//CHECK#11 -if (obj[9] !== true) { - $ERROR('#11: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj[9] === true. Actual: ' + (obj[9])); -} - -obj.length = new String("9"); - -var reverse = obj.reverse(); -if (reverse !== obj) { - $ERROR('#1: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse() === obj. Actual: ' + (reverse)); -} - -//CHECK#12 -if (obj[0] !== undefined) { - $ERROR('#12: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse(); obj[0] === undefined. Actual: ' + (obj[0])); -} - -//CHECK#13 -if (obj[1] !== Infinity) { - $ERROR('#13: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse(); obj[1] === Infinity. Actual: ' + (obj[1])); -} - -//CHECK#14 -if (obj[2] !== undefined) { - $ERROR('#14: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse(); obj[2] === undefined. Actual: ' + (obj[2])); -} - -//CHECK#15 -if (obj[3] !== undefined) { - $ERROR('#15: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse(); obj[3] === undefined. Actual: ' + (obj[3])); -} - -//CHECK#16 -if (obj[4] !== undefined) { - $ERROR('#16: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse(); obj[4] === undefined. Actual: ' + (obj[4])); -} - -//CHECK#17 -if (obj[5] !== undefined) { - $ERROR('#17: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse(); obj[5] === undefined. Actual: ' + (obj[5])); -} - -//CHECK#18 -if (obj[6] !== undefined) { - $ERROR('#18: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse(); obj[6] === undefined. Actual: ' + (obj[6])); -} - -//CHECK#19 -if (obj[7] !== "NaN") { - $ERROR('#19: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse(); obj[7] === "NaN". Actual: ' + (obj[7])); -} - -//CHECK#20 -if (obj[8] !== "-1") { - $ERROR('#20: var obj = {}; obj.reverse = Array.prototype.reverse; obj.length = "10"; obj[0] = true; obj[2] = Infinity; obj[4] = undefined; obj[5] = undefined; obj[8] = "NaN"; obj[9] = "-1"; obj.reverse(); obj.length = new String("9"); obj.reverse(); obj[8] === "-1". Actual: ' + (obj[8])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T1.js deleted file mode 100644 index 4429c39de7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T1.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A3_T1; - * @section: 15.4.4.8; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967296; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T1.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967296", - -test: function testcase() { - var obj = {}; -obj.reverse = Array.prototype.reverse; -obj[0] = "x"; -obj[4294967295] = "y"; -obj.length = 4294967296; - -//CHECK#1 -var reverse = obj.reverse(); -if (reverse !== obj) { - $ERROR('#1: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.reverse() === obj. Actual: ' + (reverse)); -} - -//CHECK#2 -if (obj.length !== 4294967296) { - $ERROR('#2: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.reverse(); obj.length === 4294967296. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "x") { - $ERROR('#3: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.reverse(); obj[0] == "x"'); -} - -//CHECK#4 -if (obj[4294967295] !== "y") { - $ERROR('#4: var obj = {}; obj.reverse = Array.prototype.reverse; obj[] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.reverse(); obj[4294967295] == "y"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T2.js deleted file mode 100644 index 9e28c56d67..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T2.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A3_T2; - * @section: 15.4.4.8; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = 4294967298; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T2.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = 4294967298", - -test: function testcase() { - var obj = {}; -obj.reverse = Array.prototype.reverse; -obj[0] = "x"; -obj[1] = "y"; -obj[4294967297] = "z"; -obj.length = 4294967298; - -//CHECK#1 -var reverse = obj.reverse(); -if (reverse !== obj) { - $ERROR('#1: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[4294967297] = "z"; obj.length = 4294967298; obj.reverse() === obj. Actual: ' + (reverse)); -} - -//CHECK#2 -if (obj.length !== 4294967298) { - $ERROR('#2: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[4294967297] = "z"; obj.length = 4294967298; obj.reverse(); obj.length === 4294967298. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "y") { - $ERROR('#3: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[4294967297] = "z"; obj.length = 4294967298; obj.reverse(); obj[0] === "y". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== "x") { - $ERROR('#4: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[4294967297] = "z"; obj.length = 4294967298; obj.reverse(); obj[1] === "x". Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[4294967297] !== "z") { - $ERROR('#5: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[4294967297] = "z"; obj.length = 4294967298; obj.reverse(); obj[4294967297] === "z". Actual: ' + (obj[4294967297])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T3.js deleted file mode 100644 index 62b195ec02..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T3.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A3_T3; - * @section: 15.4.4.8; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length = -4294967294; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T3.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length = -4294967294", - -test: function testcase() { - var obj = {}; -obj.reverse = Array.prototype.reverse; -obj[0] = "x"; -obj[1] = "y"; -obj[2] = "z"; -obj.length = -4294967294; - -//CHECK#1 -var reverse = obj.reverse(); -if (reverse !== obj) { - $ERROR('#1: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[2] = "z"; obj.length = -4294967294; obj.reverse() === obj. Actual: ' + (reverse)); -} - -//CHECK#2 -if (obj.length !== -4294967294) { - $ERROR('#2: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[2] = "z"; obj.length = -4294967294; obj.reverse(); obj.length === -4294967294. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "y") { - $ERROR('#3: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[2] = "z"; obj.length = -4294967294; obj.reverse(); obj[0] === "y". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== "x") { - $ERROR('#4: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[2] = "z"; obj.length = -4294967294; obj.reverse(); obj[1] === "x". Actual: ' + (obj[1])); -} - -//CHECK#5 -if (obj[2] !== "z") { - $ERROR('#5: var obj = {}; obj.reverse = Array.prototype.reverse; obj[0] = "x"; obj[1] = "y"; obj[2] = "z"; obj.length = -4294967294; obj.reverse(); obj[2] === "z". Actual: ' + (obj[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T1.js deleted file mode 100644 index 1074d783f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T1.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A4_T1; - * @section: 15.4.4.8, 8.6.2.1, 8.6.2.5; - * @assertion: [[Get]], [[Delete]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T1.js", - -assertion: "[[Get]], [[Delete]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = 1; -var x = [0]; -x.length = 2; -x.reverse(); - -//CHECK#1 -if (x[0] !== 1) { - $ERROR('#1: Array.prototype[1] = 1; x = [0]; x.length = 2; x.reverse(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#2 -if (x[1] !== 0) { - $ERROR('#2: Array.prototype[1] = 1; x = [0]; x.length = 2; x.reverse(); x[1] === 0. Actual: ' + (x[1])); -} - -x.length = 0; - -//CHECK#3 -if (x[0] !== undefined) { - $ERROR('#3: Array.prototype[1] = 1; x = [0]; x.length = 2; x.reverse(); x.length = 0; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== 1) { - $ERROR('#4: Array.prototype[1] = 1; x = [0]; x.length = 2; x.reverse(); x.length = 0; x[1] === 1. Actual: ' + (x[1])); -} - -Object.prototype[1] = 1; -Object.prototype.length = 2; -Object.prototype.reverse = Array.prototype.reverse; -x = {0:0}; -x.reverse(); - -//CHECK#5 -if (x[0] !== 1) { - $ERROR('#5: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.reverse = Array.prototype.reverse; x = {0:0}; x.reverse(); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== 0) { - $ERROR('#6: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.reverse = Array.prototype.reverse; x = {0:0}; x.reverse(); x[1] === 0. Actual: ' + (x[1])); -} - -delete x[0]; -delete x[1]; - -//CHECK#7 -if (x[0] !== undefined) { - $ERROR('#7: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.reverse = Array.prototype.reverse; x = {0:0}; x.reverse(); delete x[0]; delete x[1]; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#8 -if (x[1] !== 1) { - $ERROR('#8: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.reverse = Array.prototype.reverse; x = {0:0}; x.reverse(); delete x[0]; delete x[1]; x[1] === 1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T2.js deleted file mode 100644 index da4e2d36a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T2.js +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.8_A4_T2; - * @section: 15.4.4.8, 8.6.2.1, 8.6.2.5; - * @assertion: [[Get]], [[Delete]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A4_T2.js", - -assertion: "[[Get]], [[Delete]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = -1; -var x = [0,1]; -x.length = 2; -x.reverse(); - -//CHECK#1 -if (x[0] !== 1) { - $ERROR('#1: Array.prototype[1] = -1; x = [0,1]; x.length = 2; x.reverse(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#2 -if (x[1] !== 0) { - $ERROR('#2: Array.prototype[1] = -1; x = [0,1]; x.length = 2; x.reverse(); x[1] === 0. Actual: ' + (x[1])); -} - -x.length = 0; - -//CHECK#3 -if (x[0] !== undefined) { - $ERROR('#3: Array.prototype[1] = -1; x = [0,1]; x.length = 2; x.reverse(); x.length = 0; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x[1] !== -1) { - $ERROR('#4: Array.prototype[1] = -1; x = [0,1]; x.length = 2; x.reverse(); x.length = 0; x[1] === -1. Actual: ' + (x[1])); -} - -Object.prototype[1] = -1; -Object.prototype.length = 2; -Object.prototype.reverse = Array.prototype.reverse; -x = {0:0,1:1}; -x.reverse(); - -//CHECK#5 -if (x[0] !== 1) { - $ERROR('#5: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.reverse = Array.prototype.reverse; x = {0:0,1:1}; x.reverse(); x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== 0) { - $ERROR('#6: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.reverse = Array.prototype.reverse; x = {0:0,1:1}; x.reverse(); x[1] === 0. Actual: ' + (x[1])); -} - -delete x[0]; -delete x[1]; - -//CHECK#7 -if (x[0] !== undefined) { - $ERROR('#7: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.reverse = Array.prototype.reverse; x = {0:0,1:1}; x.reverse(); delete x[0]; delete x[1]; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#8 -if (x[1] !== -1) { - $ERROR('#8: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.reverse = Array.prototype.reverse; x = {0:0,1:1}; x.reverse(); delete x[0]; delete x[1]; x[1] === -1. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.1.js deleted file mode 100644 index aacd8c4771..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.8_A5.1; -* @section: 15.4.4.8, 15.2.4.7, 12.6.4; -* @assertion: The length property of reverse has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A5.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.1.js", - -assertion: "The length property of reverse has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.reverse.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.reverse.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.reverse.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (p in Array.reverse){ - if (p === "length") { - var result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.reverse) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.2.js deleted file mode 100644 index 69222ee898..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.8_A5.2; -* @section: 15.4.4.8, 15.2.4.5, 11.4.1; -* @assertion: The length property of reverse has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A5.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.2.js", - -assertion: "The length property of reverse has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.reverse.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.reverse.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.reverse.hasOwnProperty('length'))); -} - -delete Array.prototype.reverse.length; - -//CHECK#2 -if (Array.prototype.reverse.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.reverse.length; Array.prototype.reverse.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.reverse.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.reverse.length === undefined) { - $ERROR('#3: delete Array.prototype.reverse.length; Array.prototype.reverse.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.3.js deleted file mode 100644 index 276530f7f2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.8_A5.3; -* @section: 15.4.4.8; -* @assertion: The length property of reverse has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A5.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.3.js", - -assertion: "The length property of reverse has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.reverse.length; -Array.prototype.reverse.length = Infinity; -if (Array.prototype.reverse.length !== x) { - $ERROR('#1: x = Array.prototype.reverse.length; Array.prototype.reverse.length = Infinity; Array.prototype.reverse.length === x. Actual: ' + (Array.prototype.reverse.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.4.js deleted file mode 100644 index acef257fa9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.8_A5.4; -* @section: 15.4.4.8; -* @assertion: The length property of reverse is 0; -* @description: reverse.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A5.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.4.js", - -assertion: "The length property of reverse is 0", - -description: "reverse.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.reverse.length !== 0) { - $ERROR('#1: Array.prototype.reverse.length === 0. Actual: ' + (Array.prototype.reverse.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.5.js deleted file mode 100644 index e790a5dd53..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.8_A5.5; -* @section: 15.4.4.8, 15.2.4.7, 12.6.4; -* @assertion: The reverse property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A5.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.5.js", - -assertion: "The reverse property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('reverse') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'reverse\') === false. Actual: ' + (Array.propertyIsEnumerable('reverse'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "reverse") { - result = false; - } -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "reverse") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.6.js deleted file mode 100644 index 0c0dce7c03..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.8_A5.6; -* @section: 15.4.4.8; -* @assertion: The reverse property of Array has not prototype property; -* @description: Checking Array.prototype.reverse.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A5.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.6.js", - -assertion: "The reverse property of Array has not prototype property", - -description: "Checking Array.prototype.reverse.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.reverse.prototype !== undefined) { - $ERROR('#1: Array.prototype.reverse.prototype === undefined. Actual: ' + (Array.prototype.reverse.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.7.js deleted file mode 100644 index da3fba4c9f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.8_A5.7; -* @section: 15.4.4.8, 11.2.2; -* @assertion: The reverse property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.8_A5.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A5.7.js", - -assertion: "The reverse property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.reverse(); - $ERROR('#1.1: new Array.prototype.reverse() throw TypeError. Actual: ' + (new Array.prototype.reverse())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.reverse() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.1_T1.js deleted file mode 100644 index 0e3b511cba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.1_T1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A1.1_T1; - * @section: 15.4.4.9; - * @assertion: If length equal zero, call the [[Put]] method of this object - * with arguments "length" and 0 and return undefined; - * @description: Checking this algorithm; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.1_T1.js", - -assertion: "If length equal zero, call the [[Put]] method of this object", - -description: "Checking this algorithm", - -test: function testcase() { - //CHECK#1 -var x = new Array(); -var shift = x.shift(); -if (shift !== undefined) { - $ERROR('#1: var x = new Array(); x.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#2 -if (x.length !== 0) { - $ERROR('#2: var x = new Array(); x.shift(); x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#3 -var x = Array(1,2,3); -x.length = 0; -var shift = x.shift(); -if (shift !== undefined) { - $ERROR('#2: var x = Array(1,2,3); x.length = 0; x.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#4 -if (x.length !== 0) { - $ERROR('#4: var x = new Array(1,2,3); x.length = 0; x.shift(); x.length === 0. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.2_T1.js deleted file mode 100644 index 67ac928a82..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.2_T1.js +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A1.2_T1; - * @section: 15.4.4.9; - * @assertion: The first element of the array is removed from the array and - * returned; - * @description: Checking this use new Array() and []; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A1.2_T1.js", - -assertion: "The first element of the array is removed from the array and", - -description: "Checking this use new Array() and []", - -test: function testcase() { - //CHECK#1 -var x = new Array(0,1,2,3); -var shift = x.shift(); -if (shift !== 0) { - $ERROR('#1: x = new Array(0,1,2,3); x.shift() === 0. Actual: ' + (shift)); -} - -//CHECK#2 -if (x.length !== 3) { - $ERROR('#2: x = new Array(0,1,2,3); x.shift(); x.length == 3'); -} - -//CHECK#3 -if (x[0] !== 1) { - $ERROR('#3: x = new Array(0,1,2,3); x.shift(); x[0] == 1'); -} - -//CHECK#4 -if (x[1] !== 2) { - $ERROR('#4: x = new Array(0,1,2,3); x.shift(); x[1] == 2'); -} - -//CHECK#5 -x = []; -x[0] = 0; -x[3] = 3; -var shift = x.shift(); -if (shift !== 0) { - $ERROR('#5: x = []; x[0] = 0; x[3] = 3; x.shift() === 0. Actual: ' + (shift)); -} - -//CHECK#6 -if (x.length !== 3) { - $ERROR('#6: x = []; x[0] = 0; x[3] = 3; x.shift(); x.length == 3'); -} - -//CHECK#7 -if (x[0] !== undefined) { - $ERROR('#7: x = []; x[0] = 0; x[3] = 3; x.shift(); x[0] == undefined'); -} - -//CHECK#8 -if (x[12] !== undefined) { - $ERROR('#8: x = []; x[0] = 0; x[3] = 3; x.shift(); x[1] == undefined'); -} - -//CHECK#9 -x.length = 1; -var shift = x.shift(); -if (shift !== undefined) { - $ERROR('#9: x = []; x[0] = 0; x[3] = 3; x.shift(); x.length = 1; x.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#10 -if (x.length !== 0) { - $ERROR('#10: x = []; x[0] = 0; x[3] = 3; x.shift(); x.length = 1; x.shift(); x.length === 0. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T1.js deleted file mode 100644 index 019dc8cbb8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T1.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A2_T1; - * @section: 15.4.4.9; - * @assertion: The shift function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If ToUint32(length) equal zero, call the [[Put]] method - * of this object with arguments "length" and 0 and return undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T1.js", - -assertion: "The shift function is intentionally generic.", - -description: "If ToUint32(length) equal zero, call the [[Put]] method", - -test: function testcase() { - var obj = {}; -obj.shift = Array.prototype.shift; - -if (obj.length !== undefined) { - $ERROR('#0: var obj = {}; obj.length === undefined. Actual: ' + (obj.length)); -} else { - //CHECK#1 - var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#1: var obj = {}; obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); - } - //CHECK#2 - if (obj.length !== 0) { - $ERROR('#2: var obj = {}; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); - } -} - -//CHECK#3 -obj.length = undefined; -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#3: var obj = {}; obj.length = undefined; obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#4 -if (obj.length !== 0) { - $ERROR('#4: var obj = {}; obj.length = undefined; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#5 -obj.length = null -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#5: var obj = {}; obj.length = null; obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#6 -if (obj.length !== 0) { - $ERROR('#6: var obj = {}; obj.length = null; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T2.js deleted file mode 100644 index e59ff139d2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T2.js +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A2_T2; - * @section: 15.4.4.9; - * @assertion: The shift function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: If ToUint32(length) equal zero, call the [[Put]] method - * of this object with arguments "length" and 0 and return undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T2.js", - -assertion: "The shift function is intentionally generic.", - -description: "If ToUint32(length) equal zero, call the [[Put]] method", - -test: function testcase() { - var obj = {}; -obj.shift = Array.prototype.shift; - -//CHECK#1 -obj.length = NaN; -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#1: var obj = {}; obj.length = NaN; obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#2 -if (obj.length !== 0) { - $ERROR('#2: var obj = {}; obj.length = NaN; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#3 -obj.length = Number.POSITIVE_INFINITY; -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#3: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#4 -if (obj.length !== 0) { - $ERROR('#4: var obj = {}; obj.length = Number.POSITIVE_INFINITY; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#5 -obj.length = Number.NEGATIVE_INFINITY; -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#5: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#6 -if (obj.length !== 0) { - $ERROR('#6: var obj = {}; obj.length = Number.NEGATIVE_INFINITY; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#7 -obj.length = -0; -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#7: var obj = {}; obj.length = -0; obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#8 -if (obj.length !== 0) { - $ERROR('#8: var obj = {}; obj.length = -0; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} else { - if (1/obj.length !== Number.POSITIVE_INFINITY) { - $ERROR('#8: var obj = {}; obj.length = -0; obj.shift = Array.prototype.shift; obj.shift(); obj.length === +0. Actual: ' + (obj.length)); - } -} - -//CHECK#9 -obj.length = 0.5; -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#9: var obj = {}; obj.length = 0.5; obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#10 -if (obj.length !== 0) { - $ERROR('#10: var obj = {}; obj.length = 0.5; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#11 -obj.length = new Number(0); -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#11: var obj = {}; obj.length = new Number(0); obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#12 -if (obj.length !== 0) { - $ERROR('#12: var obj = {}; obj.length = new Number(0); obj.shift = Array.prototype.shift; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T3.js deleted file mode 100644 index 75443c2219..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A2_T3; - * @section: 15.4.4.9; - * @assertion: The shift function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: The first element of the array is removed from the array and - * returned; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T3.js", - -assertion: "The shift function is intentionally generic.", - -description: "The first element of the array is removed from the array and", - -test: function testcase() { - var obj = {}; -obj.shift = Array.prototype.shift; - -//CHECK#1 -obj.length = 2.5; -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#1: var obj = {}; obj.length = 2.5; obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#2 -if (obj.length !== 1) { - $ERROR('#2: var obj = {}; obj.length = 2.5; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#3 -obj.length = new Number(2); -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#11: var obj = {}; obj.length = new Number(2); obj.shift = Array.prototype.shift; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#3 -if (obj.length !== 1) { - $ERROR('#12: var obj = {}; obj.length = new Number(2); obj.shift = Array.prototype.shift; obj.shift(); obj.length === 1. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T4.js deleted file mode 100644 index 1a44ce42d8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T4.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A2_T4; - * @section: 15.4.4.9; - * @assertion: The shift function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: The first element of the array is removed from the array and - * returned; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A2_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T4.js", - -assertion: "The shift function is intentionally generic.", - -description: "The first element of the array is removed from the array and", - -test: function testcase() { - var obj = {}; -obj["0"] = 0; -obj["3"] = 3; -obj.shift = Array.prototype.shift; - -//CHECK#1 -obj.length = 4; -var shift = obj.shift(); -if (shift !== 0) { - $ERROR('#1: var obj = {}; obj["0"] = 0; obj["3"] = 3; obj.length = 4; obj.shift = Array.prototype.shift; obj.shift() === 0. Actual: ' + (shift)); -} - -//CHECK#2 -if (obj.length !== 3) { - $ERROR('#2: var obj = {}; obj["0"] = 0; obj["3"] = 3; obj.length = 4; obj.shift = Array.prototype.shift; obj.shift(); obj.length === 3. Actual: ' + (obj.length)); -} - -//CHECK#3 -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#3: var obj = {}; obj["0"] = 0; obj["3"] = 3; obj.length = 4; obj.shift = Array.prototype.shift; obj.shift(); obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#4 -if (obj.length !== 2) { - $ERROR('#4: var obj = {}; obj["0"] = 0; obj["3"] = 3; obj.length = 4; obj.shift = Array.prototype.shift; obj.shift(); obj.shift(); obj.length === 2. Actual: ' + (obj.length)); -} - -//CHECK#5 -obj.length = 1; -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#5: var obj = {}; obj["0"] = 0; obj["3"] = 3; obj.length = 4; obj.shift = Array.prototype.shift; obj.shift(); obj.shift(); obj.length = 1; obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#6 -if (obj.length !== 0) { - $ERROR('#6: var obj = {}; obj["0"] = 0; obj["3"] = 3; obj.length = 4; obj.shift = Array.prototype.shift; obj.shift(); obj.shift(); obj.length = 1; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T5.js deleted file mode 100644 index 60d0071c32..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T5.js +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A2_T5; - * @section: 15.4.4.9; - * @assertion: The shift function is intentionally generic. - * It does not require that its this value be an Array object; - * @description: Operator use ToNumber from length. - * If Type(value) is Object, evaluate ToPrimitive(value, Number); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A2_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T5.js", - -assertion: "The shift function is intentionally generic.", - -description: "Operator use ToNumber from length.", - -test: function testcase() { - var obj = {}; -obj.shift = Array.prototype.shift; - -//CHECK#1 -obj[0] = -1; -obj.length = {valueOf: function() {return 1}}; -var shift = obj.shift(); -if (shift !== -1) { - $ERROR('#1: obj[0] = -1; obj.length = {valueOf: function() {return 1}} obj.shift() === -1. Actual: ' + (shift)); -} - -//CHECK#2 -obj[0] = -1; -obj.length = {valueOf: function() {return 1}, toString: function() {return 0}}; -var shift = obj.shift(); -if (shift !== -1) { - $ERROR('#0: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {return 0}} obj.shift() === -1. Actual: ' + (shift)); -} - -//CHECK#3 -obj[0] = -1; -obj.length = {valueOf: function() {return 1}, toString: function() {return {}}}; -var shift = obj.shift(); -if (shift !== -1) { - $ERROR('#3: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {return {}}} obj.shift() === -1. Actual: ' + (shift)); -} - -//CHECK#4 -try { - obj[0] = -1; - obj.length = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - var shift = obj.shift(); -if (shift !== -1) { - $ERROR('#4.1: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {throw "error"}}; obj.shift() === ",". Actual: ' + (shift)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {throw "error"}}; obj.shift() not throw "error"'); - } else { - $ERROR('#4.3: obj[0] = -1; obj.length = {valueOf: function() {return 1}, toString: function() {throw "error"}}; obj.shift() not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -obj[0] = -1; -obj.length = {toString: function() {return 0}}; -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#5: obj[0] = -1; obj.length = {toString: function() {return 0}} obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#6 -obj[0] = -1; -obj.length = {valueOf: function() {return {}}, toString: function() {return 0}} -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#6: obj[0] = -1; obj.length = {valueOf: function() {return {}}, toString: function() {return 0}} obj.shift() === undefined. Actual: ' + (shift)); -} - -//CHECK#7 -try { - obj[0] = -1; - obj.length = {valueOf: function() {throw "error"}, toString: function() {return 0}}; - var shift = obj.shift(); - $ERROR('#7.1: obj[0] = -1; obj.length = {valueOf: function() {throw "error"}, toString: function() {return 0}}; obj.shift() throw "error". Actual: ' + (shift)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: obj[0] = -1; obj.length = {valueOf: function() {throw "error"}, toString: function() {return 0}}; obj.shift() throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - obj[0] = -1; - obj.length = {valueOf: function() {return {}}, toString: function() {return {}}}; - var shift = obj.shift(); - $ERROR('#8.1: obj[0] = -1; obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.shift() throw TypeError. Actual: ' + (shift)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: obj[0] = -1; obj.length = {valueOf: function() {return {}}, toString: function() {return {}}} obj.shift() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T1.js deleted file mode 100644 index de6afde3a3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T1.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A3_T1; - * @section: 15.4.4.9; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length is arbitrarily; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T1.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length is arbitrarily", - -test: function testcase() { - var obj = {}; -obj.shift = Array.prototype.shift; -obj[0] = "x"; -obj[4294967295] = "y"; -obj.length = 4294967296; - -//CHECK#1 -var shift = obj.shift(); -if (shift !== undefined) { - $ERROR('#1: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.shift() === unedfined. Actual: ' + (shift)); -} - -//CHECK#2 -if (obj.length !== 0) { - $ERROR('#2: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "x") { - $ERROR('#3: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.shift(); obj[0] === "x". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[4294967295] !== "y") { - $ERROR('#4: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[4294967295] = "y"; obj.length = 4294967296; obj.shift(); obj[4294967295] === "y". Actual: ' + (obj[4294967295])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T2.js deleted file mode 100644 index ee7bc220b7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T2.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A3_T2; - * @section: 15.4.4.9; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length is arbitrarily; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T2.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length is arbitrarily", - -test: function testcase() { - var obj = {}; -obj.shift = Array.prototype.shift; -obj[0] = "x"; -obj[1] = "y"; -obj[4294967296] = "z"; -obj.length = 4294967297; - -//CHECK#1 -var shift = obj.shift(); -if (shift !== "x") { - $ERROR('#1: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[1] = "y"; obj[4294967296] = "z"; obj.length = 4294967297; obj.shift() === "x". Actual: ' + (shift)); -} - -//CHECK#2 -if (obj.length !== 0) { - $ERROR('#2: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[1] = "y"; obj[4294967296] = "z"; obj.length = 4294967297; obj.shift(); obj.length === 0. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== undefined) { - $ERROR('#3: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[1] = "y"; obj[4294967296] = "z"; obj.length = 4294967297; obj.shift(); obj[0] === undefined. Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== "y") { - $ERROR('#4: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[1] = "y"; obj[4294967296] = "z"; obj.length = 4294967297; obj.shift(); obj[1] === "y". Actual: ' + (obj[1])); -} - -//CHECK#4 -if (obj[4294967296] !== "z") { - $ERROR('#4: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[1] = "y"; obj[4294967296] = "z"; obj.length = 4294967297; obj.shift(); obj[4294967296] === "z". Actual: ' + (obj[4294967296])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T3.js deleted file mode 100644 index bf2ab737a3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T3.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A3_T3; - * @section: 15.4.4.9; - * @assertion: Check ToUint32(length) for non Array objects; - * @description: length is arbitrarily; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T3.js", - -assertion: "Check ToUint32(length) for non Array objects", - -description: "length is arbitrarily", - -test: function testcase() { - var obj = {}; -obj.shift = Array.prototype.shift; -obj[0] = "x"; -obj[1] = "y"; -obj.length = -4294967294; - -//CHECK#1 -var shift = obj.shift(); -if (shift !== "x") { - $ERROR('#1: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[1] = "y"; obj.length = -4294967294; obj.shift() === "x". Actual: ' + (shift)); -} - -//CHECK#2 -if (obj.length !== 1) { - $ERROR('#2: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[1] = "y"; obj.length = -4294967294; obj.shift(); obj.length === 1. Actual: ' + (obj.length)); -} - -//CHECK#3 -if (obj[0] !== "y") { - $ERROR('#3: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x"; obj[1] = "y"; obj.length = -4294967294; obj.shift(); obj[0] === "y". Actual: ' + (obj[0])); -} - -//CHECK#4 -if (obj[1] !== undefined) { - $ERROR('#4: var obj = {}; obj.shift = Array.prototype.shift; obj[0] = "x" obj[1] = "y"; obj.length = -4294967294; obj.shift(); obj[1] === undefined. Actual: ' + (obj[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T1.js deleted file mode 100644 index b7d71b0402..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T1.js +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A4_T1; - * @section: 15.4.4.9, 8.6.2.1, 8.6.2.5; - * @assertion: [[Get]], [[Delete]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A4_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T1.js", - -assertion: "[[Get]], [[Delete]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = 1; -var x = [0]; -x.length = 2; - -//CHECK#1 -var shift = x.shift(); -if (shift !== 0) { - $ERROR('#1: Array.prototype[1] = 1; x = [0]; x.length = 2; x.shift() === 0. Actual: ' + (shift)); -} - -//CHECK#2 -if (x[0] !== 1) { - $ERROR('#2: Array.prototype[1] = 1; x = [0]; x.length = 2; x.shift(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== 1) { - $ERROR('#3: Array.prototype[1] = 1; x = [0]; x.length = 2; x.shift(); x[1] === 1. Actual: ' + (x[1])); -} - -Object.prototype[1] = 1; -Object.prototype.length = 2; -Object.prototype.shift = Array.prototype.shift; -x = {0:0}; - -//CHECK#4 -var shift = x.shift(); -if (shift !== 0) { - $ERROR('#4: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0}; x.shift() === 0. Actual: ' + (shift)); -} - -//CHECK#5 -if (x[0] !== 1) { - $ERROR('#5: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0}; x.shift(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== 1) { - $ERROR('#6: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0}; x.shift(); x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#7 -if (x.length !== 1) { - $ERROR('#7: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0}; x.shift(); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#8 -delete x.length; -if (x.length !== 2) { - $ERROR('#8: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0}; x.shift(); delete x; x.length === 2. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T2.js deleted file mode 100644 index 1479c1c82b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T2.js +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.9_A4_T2; - * @section: 15.4.4.9, 8.6.2.1; - * @assertion: [[Get]], [[Delete]] from not an inherited property; - * @description: [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A4_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A4_T2.js", - -assertion: "[[Get]], [[Delete]] from not an inherited property", - -description: "[[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype", - -test: function testcase() { - Array.prototype[1] = -1; -var x = [0,1]; -x.length = 2; - -//CHECK#1 -var shift = x.shift(); -if (shift !== 0) { - $ERROR('#1: Array.prototype[1] = -1; x = [0,1]; x.length = 2; x.shift() === 0. Actual: ' + (shift)); -} - -//CHECK#2 -if (x[0] !== 1) { - $ERROR('#2: Array.prototype[1] = -1; x = [0,1]; x.length = 2; x.shift(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#3 -if (x[1] !== -1) { - $ERROR('#3: Array.prototype[1] = -1; x = [0,1]; x.length = 2; x.shift(); x[1] === -1. Actual: ' + (x[1])); -} - -Object.prototype[1] = -1; -Object.prototype.length = 2; -Object.prototype.shift = Array.prototype.shift; -x = {0:0,1:1}; - -//CHECK#4 -var shift = x.shift(); -if (shift !== 0) { - $ERROR('#4: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0,1:1}; x.shift() === 0. Actual: ' + (shift)); -} - -//CHECK#5 -if (x[0] !== 1) { - $ERROR('#5: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0,1:1}; x.shift(); x[0] === 1. Actual: ' + (x[0])); -} - -//CHECK#6 -if (x[1] !== -1) { - $ERROR('#6: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0,1:1}; x.shift(); x[1] === -1. Actual: ' + (x[1])); -} - -//CHECK#7 -if (x.length !== 1) { - $ERROR('#7: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0,1:1}; x.shift(); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#8 -delete x.length; -if (x.length !== 2) { - $ERROR('#8: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.shift = Array.prototype.shift; x = {0:0,1:1}; x.shift(); delete x; x.length === 2. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.1.js deleted file mode 100644 index cd6762bcba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.9_A5.1; -* @section: 15.4.4.9, 15.2.4.7, 12.6.4; -* @assertion: The length property of shift has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A5.1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.1.js", - -assertion: "The length property of shift has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.shift.propertyIsEnumerable('length') !== false) { - $ERROR('#1: Array.prototype.shift.propertyIsEnumerable(\'length\') === false. Actual: ' + (Array.prototype.shift.propertyIsEnumerable('length'))); -} - -//CHECK#2 -var result = true; -for (var p in Array.shift){ - if (p === "length") { - result = false; -} -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array.shift) { if (p === "length") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.2.js deleted file mode 100644 index ce02feb588..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.2.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.9_A5.2; -* @section: 15.4.4.9, 15.2.4.5, 11.4.1; -* @assertion: The length property of shift has the attribute DontDelete; -* @description: Checking use hasOwnProperty, delete; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A5.2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.2.js", - -assertion: "The length property of shift has the attribute DontDelete", - -description: "Checking use hasOwnProperty, delete", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.shift.hasOwnProperty('length') !== true) { - $FAIL('#1: Array.prototype.shift.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.shift.hasOwnProperty('length'))); -} - -delete Array.prototype.shift.length; - -//CHECK#2 -if (Array.prototype.shift.hasOwnProperty('length') !== true) { - $ERROR('#2: delete Array.prototype.shift.length; Array.prototype.shift.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.shift.hasOwnProperty('length'))); -} - -//CHECK#3 -if (Array.prototype.shift.length === undefined) { - $ERROR('#3: delete Array.prototype.shift.length; Array.prototype.shift.length !== undefined'); -} - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.3.js deleted file mode 100644 index e80526d27b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.3.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.9_A5.3; -* @section: 15.4.4.9; -* @assertion: The length property of shift has the attribute ReadOnly; -* @description: Checking if varying the length property fails; -* @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A5.3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.3.js", - -assertion: "The length property of shift has the attribute ReadOnly", - -description: "Checking if varying the length property fails", - -test: function testcase() { - //CHECK#1 -var x = Array.prototype.shift.length; -Array.prototype.shift.length = Infinity; -if (Array.prototype.shift.length !== x) { - $ERROR('#1: x = Array.prototype.shift.length; Array.prototype.shift.length = Infinity; Array.prototype.shift.length === x. Actual: ' + (Array.prototype.shift.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.4.js deleted file mode 100644 index 48d61fc30d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.9_A5.4; -* @section: 15.4.4.9; -* @assertion: The length property of shift is 0; -* @description: shift.length === 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A5.4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.4.js", - -assertion: "The length property of shift is 0", - -description: "shift.length === 1", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.shift.length !== 0) { - $ERROR('#1: Array.prototype.shift.length === 0. Actual: ' + (Array.prototype.shift.length)); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.5.js deleted file mode 100644 index 5ad4e4fdd3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.9_A5.5; -* @section: 15.4.4.9, 15.2.4.7, 12.6.4; -* @assertion: The shift property of Array has the attribute DontEnum; -* @description: Checking use propertyIsEnumerable, for-in; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A5.5", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.5.js", - -assertion: "The shift property of Array has the attribute DontEnum", - -description: "Checking use propertyIsEnumerable, for-in", - -test: function testcase() { - //CHECK#1 -if (Array.propertyIsEnumerable('shift') !== false) { - $ERROR('#1: Array.propertyIsEnumerable(\'shift\') === false. Actual: ' + (Array.propertyIsEnumerable('shift'))); -} - -//CHECK#2 -var result = true; -for (var p in Array){ - if (p === "shift") { - result = false; -} -} - -if (result !== true) { - $ERROR('#2: result = true; for (p in Array) { if (p === "shift") result = false; } result === true;'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.6.js deleted file mode 100644 index da1aa6d242..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.9_A5.6; -* @section: 15.4.4.9; -* @assertion: The shift property of Array has not prototype property; -* @description: Checking Array.prototype.shift.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A5.6", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.6.js", - -assertion: "The shift property of Array has not prototype property", - -description: "Checking Array.prototype.shift.prototype", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.shift.prototype !== undefined) { - $ERROR('#1: Array.prototype.shift.prototype === undefined. Actual: ' + (Array.prototype.shift.prototype)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.7.js deleted file mode 100644 index a4fef7a7f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.9_A5.7; -* @section: 15.4.4.9, 11.2.2; -* @assertion: The shift property of Array can't be used as constructor; -* @description: If property does not implement the internal [[Construct]] method, throw a TypeError exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4.9_A5.7", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.9_Array_prototype_shift/S15.4.4.9_A5.7.js", - -assertion: "The shift property of Array can\'t be used as constructor", - -description: "If property does not implement the internal [[Construct]] method, throw a TypeError exception", - -test: function testcase() { - //CHECK#1 - -try { - new Array.prototype.shift(); - $ERROR('#1.1: new Array.prototype.shift() throw TypeError. Actual: ' + (new Array.prototype.shift())); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: new Array.prototype.shift() throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T1.js deleted file mode 100644 index 3a5ffc9dae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T1.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4_A1.1_T1; - * @section: 15.4.4, 15.2.4.5; - * @assertion: The value of the internal [[Prototype]] property of - * the Array prototype object is the Object prototype object; - * @description: Create new property of Function.prototype. When Array.prototype object has this property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T1.js", - -assertion: "The value of the internal [[Prototype]] property of", - -description: "Create new property of Function.prototype. When Array.prototype object has this property", - -test: function testcase() { - Object.prototype.myproperty = 1; - -//CHECK#1 -if (Array.prototype.myproperty !== 1) { - $ERROR('#1: Object.prototype.myproperty = 1; Array.prototype.myproperty === 1. Actual: ' + (Array.prototype.myproperty)); -} - -//CHECK#2 -if (Array.prototype.hasOwnProperty('myproperty') !== false) { - $ERROR('#2: Object.prototype.myproperty = 1; Array.prototype.hasOwnProperty(\'myproperty\') === false. Actual: ' + (Array.prototype.hasOwnProperty('myproperty'))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T2.js deleted file mode 100644 index de79b0809f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4_A1.1_T2; - * @section: 15.4.4; - * @assertion:The Array prototype object is itself an array; its [[Class]] is "Array", -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4_A1.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T2.js", - -assertion: "The Array prototype object is itself an array; its [[Class]] is \"Array\",", - -description: "", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.toString.call(Array.prototype) !== "[object Array]") { - $ERROR('The Array prototype object is itself an array; its' + - '[[Class]] is "Array".'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T3.js deleted file mode 100644 index 283da3e076..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4_A1.1_T3; - * @section: 15.4.4, 15.2.4.6; - * @assertion: The value of the internal [[Prototype]] property of - * the Array prototype object is the Object prototype object; - * @description: Checking use isPrototypeOf; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4_A1.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T3.js", - -assertion: "The value of the internal [[Prototype]] property of", - -description: "Checking use isPrototypeOf", - -test: function testcase() { - //CHECK#1 -if (Object.prototype.isPrototypeOf(Array.prototype) !== true) { - $ERROR('#1: Object.prototype.isPrototypeOf(Array.prototype) === true. Actual: ' + (Object.prototype.isPrototypeOf(Array.prototype))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.2_T1.js deleted file mode 100644 index 2ef270b38f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.2_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4_A1.2_T1; - * @section: 15.4.4, 15.2.4.2; - * @assertion: The [[Class]] property of the Array prototype object is set to "Array"; - * @description: Checking use Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.2_T1.js", - -assertion: "The [[Class]] property of the Array prototype object is set to \"Array\"", - -description: "Checking use Object.prototype.toString", - -test: function testcase() { - //CHECK#1 -Array.prototype.getClass = Object.prototype.toString; -if (Array.prototype.getClass() !== "[object " + "Array" + "]") { - $ERROR('#1: Array.prototype.getClass = Object.prototype.toString; Array.prototype is Array object. Actual: ' + (Array.prototype.getClass())); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.3_T1.js deleted file mode 100644 index cd37aaed0d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4_A1.3_T1; - * @section: 15.4.4; - * @assertion: Array prototype object has length property whose value is +0; - * @description: Array.prototype.length === 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4_A1.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.3_T1.js", - -assertion: "Array prototype object has length property whose value is +0", - -description: "Array.prototype.length === 0", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.length !== 0) { - $ERROR('#1.1: Array.prototype.length === 0. Actual: ' + (Array.prototype.length)); -} else { - if (1 / Array.prototype.length !== Number.POSITIVE_INFINITY) { - $ERROR('#1.2: Array.prototype.length === +0. Actual: ' + (Array.prototype.length)); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T1.js deleted file mode 100644 index e00eeb284b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4_A2.1_T1; - * @section: 15.4.4, 15.2.4.5; - * @assertion: The Array prototype object does not have a valueOf property of - * its own; however, it inherits the valueOf property from the valueOf - * property from the Object prototype Object; - * @description: Checking use hasOwnProperty; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4_A2.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T1.js", - -assertion: "The Array prototype object does not have a valueOf property of", - -description: "Checking use hasOwnProperty", - -test: function testcase() { - //CHECK#1 -if (Array.prototype.hasOwnProperty('valueOf') !== false) { - $ERROR('#1: Array.prototype.hasOwnProperty(\'valueOf\') === false. Actual: ' + (Array.prototype.hasOwnProperty('valueOf'))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T2.js deleted file mode 100644 index 6646b9123c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4_A2.1_T2; - * @section: 15.4.4; - * @assertion: The Array prototype object does not have a valueOf property of - * its own; however, it inherits the valueOf property from the valueOf - * property from the Object prototype Object; - * @description: Change valueOf property of Object.prototype. When Array.prototype.valueOf also change; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.4_A2.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A2.1_T2.js", - -assertion: "The Array prototype object does not have a valueOf property of", - -description: "Change valueOf property of Object.prototype. When Array.prototype.valueOf also change", - -test: function testcase() { - Object.prototype.valueOf = 1; - -//CHECK#1 -if (Array.prototype.valueOf !== 1) { - $ERROR('#1: Object.prototype.valueOf = 1; Array.prototype.valueOf === 1. Actual: ' + (Array.prototype.valueOf)); -} - -//CHECK#2 -var x = new Array(); -if (x.valueOf !== 1) { - $ERROR('#1: Object.prototype.valueOf = 1; x = new Array(); x.valueOf === 1. Actual: ' + (x.valueOf)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T1.js deleted file mode 100644 index 00dae20630..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T1.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A1.1_T1; - * @section: 15.4.5.1, 15.4; - * @assertion: If ToUint32(length) !== ToNumber(length), throw RangeError; - * @description: length in [4294967296, -1, 1.5]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T1.js", - -assertion: "If ToUint32(length) !== ToNumber(length), throw RangeError", - -description: "length in [4294967296, -1, 1.5]", - -test: function testcase() { - //CHECK#1 -try { - var x = []; - x.length = 4294967296; - $ERROR('#1.1: x = []; x.length = 4294967296 throw RangeError. Actual: x.length === ' + (x.length)); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#1.2: x = []; x.length = 4294967296 throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - x = []; - x.length = -1; - $ERROR('#2.1: x = []; x.length = -1 throw RangeError. Actual: x.length === ' + (x.length)); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#2.2: x = []; x.length = -1 throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#3 -try { - x = []; - x.length = 1.5; - $ERROR('#3.1: x = []; x.length = 1.5 throw RangeError. Actual: x.length === ' + (x.length)); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#3.2: x = []; x.length = 1.5 throw RangeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T2.js deleted file mode 100644 index 869dc5bf05..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T2.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A1.1_T2; - * @section: 15.4.5.1, 15.4; - * @assertion: If ToUint32(length) !== ToNumber(length), throw RangeError; - * @description: length in [NaN, Infinity, -Infinity, undefined]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A1.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.1_T2.js", - -assertion: "If ToUint32(length) !== ToNumber(length), throw RangeError", - -description: "length in [NaN, Infinity, -Infinity, undefined]", - -test: function testcase() { - //CHECK#1 -try { - var x = []; - x.length = NaN; - $ERROR('#1.1: x = []; x.length = NaN throw RangeError. Actual: x.length === ' + (x.length)); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#1.2: x = []; x.length = NaN throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#2 -try { - x = []; - x.length = Number.POSITIVE_INFINITY; - $ERROR('#2.1: x = []; x.length = Number.POSITIVE_INFINITY throw RangeError. Actual: x.length === ' + (x.length)); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#2.2: x = []; x.length = Number.POSITIVE_INFINITY throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#3 -try { - x = []; - x.length = Number.NEGATIVE_INFINITY; - $ERROR('#3.1: x = []; x.length = Number.NEGATIVE_INFINITY throw RangeError. Actual: x.length === ' + (x.length)); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#3.2: x = []; x.length = Number.NEGATIVE_INFINITY throw RangeError. Actual: ' + (e)); - } -} - -//CHECK#4 -try { - x = []; - x.length = undefined; - $ERROR('#4.1: x = []; x.length = undefined throw RangeError. Actual: x.length === ' + (x.length)); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#4.2: x = []; x.length = undefined throw RangeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T1.js deleted file mode 100644 index c750e063ec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A1.2_T1; - * @section: 15.4.5.1, 15.4; - * @assertion: For every integer k that is less than the value of - * the length property of A but not less than ToUint32(length), - * if A itself has a property (not an inherited property) named ToString(k), - * then delete that property; - * @description: Change length of array; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A1.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T1.js", - -assertion: "For every integer k that is less than the value of", - -description: "Change length of array", - -test: function testcase() { - //CHECK#1 -var x = [0,,2,,4]; -x.length = 4; -if (x[4] !== undefined) { - $ERROR('#1: x = [0,,2,,4]; x.length = 4; x[4] === undefined. Actual: ' + (x[4])); -} - -//CHECK#2 -x.length = 3; -if (x[3] !== undefined) { - $ERROR('#2: x = [0,,2,,4]; x.length = 4; x.length = 3; x[3] === undefined. Actual: ' + (x[3])); -} - -//CHECK#3 -if (x[2] !== 2) { - $ERROR('#3: x = [0,,2,,4]; x.length = 4; x.length = 3; x[2] === 2. Actual: ' + (x[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T2.js deleted file mode 100644 index 64f6268892..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T2.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A1.2_T2; - * @section: 15.4.5.1, 15.4; - * @assertion: For every integer k that is less than the value of - * the length property of A but not less than ToUint32(length), - * if A itself has a property (not an inherited property) named ToString(k), - * then delete that property; - * @description: Checking an inherited property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A1.2_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T2.js", - -assertion: "For every integer k that is less than the value of", - -description: "Checking an inherited property", - -test: function testcase() { - //CHECK#1 -Array.prototype[2] = -1; -var x = [0,1,2]; -if (x[2] !== 2) { - $ERROR('#1: Array.prototype[2] = -1; x = [0,1,3]; x[2] === 2. Actual: ' + (x[2])); -} - -//CHECK#2 -x.length = 2; -if (x[2] !== -1) { - $ERROR('#2: Array.prototype[2] = -1; x = [0,1,3]; x.length = 2; x[2] === -1. Actual: ' + (x[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T3.js deleted file mode 100644 index 486b9a2043..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A1.2_T3; - * @section: 15.4.5.1, 15.4, 15.2.4.5; - * @assertion: For every integer k that is less than the value of - * the length property of A but not less than ToUint32(length), - * if A itself has a property (not an inherited property) named ToString(k), - * then delete that property; - * @description: Checking an inherited property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A1.2_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.2_T3.js", - -assertion: "For every integer k that is less than the value of", - -description: "Checking an inherited property", - -test: function testcase() { - //CHECK#1 -Array.prototype[2] = 2; -var x = [0,1]; -x.length = 3; -if (x.hasOwnProperty('2') !== false) { - $ERROR('#1: Array.prototype[2] = 2; x = [0,1]; x.length = 3; x.hasOwnProperty(\'2\') === false. Actual: ' + (x.hasOwnProperty('2'))); -} - -//CHECK#2 -x.length = 2; -if (x[2] !== 2) { - $ERROR('#2: Array.prototype[2] = 2; x = [0,1]; x.length = 3; x.length = 2; x[2] === 2. Actual: ' + (x[2])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T1.js deleted file mode 100644 index 8eddb4fcb7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T1.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A1.3_T1; - * @section: 15.4.5.1, 15.4; - * @assertion: Set the value of property length of A to Uint32(length); - * @description: length is object or primitve; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A1.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T1.js", - -assertion: "Set the value of property length of A to Uint32(length)", - -description: "length is object or primitve", - -test: function testcase() { - //CHECK#1 -var x = []; -x.length = true; -if (x.length !== 1) { - $ERROR('#1: x = []; x.length = true; x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#2 -x = [0]; -x.length = null; -if (x.length !== 0) { - $ERROR('#2: x = [0]; x.length = null; x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#3 -x = [0]; -x.length = new Boolean(false); -if (x.length !== 0) { - $ERROR('#3: x = [0]; x.length = new Boolean(false); x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#4 -x = []; -x.length = new Number(1); -if (x.length !== 1) { - $ERROR('#4: x = []; x.length = new Number(1); x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#5 -x = []; -x.length = "1"; -if (x.length !== 1) { - $ERROR('#5: x = []; x.length = "1"; x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#6 -x = []; -x.length = new String("1"); -if (x.length !== 1) { - $ERROR('#6: x = []; x.length = new String("1"); x.length === 1. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T2.js deleted file mode 100644 index 8279c55c97..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T2.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A1.3_T2; - * @section: 15.4.5.1, 15.4; - * @assertion: Set the value of property length of A to Uint32(length); - * @description: Uint32 use ToNumber and ToPrimitve; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A1.3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A1.3_T2.js", - -assertion: "Set the value of property length of A to Uint32(length)", - -description: "Uint32 use ToNumber and ToPrimitve", - -test: function testcase() { - //CHECK#1 -var x = []; -x.length = {valueOf: function() {return 2}}; -if (x.length !== 2) { - $ERROR('#1: x = []; x.length = {valueOf: function() {return 2}}; x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#2 -x = []; -x.length = {valueOf: function() {return 2}, toString: function() {return 1}}; -if (x.length !== 2) { - $ERROR('#0: x = []; x.length = {valueOf: function() {return 2}, toString: function() {return 1}}; x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#3 -x = []; -x.length = {valueOf: function() {return 2}, toString: function() {return {}}}; -if (x.length !== 2) { - $ERROR('#3: x = []; x.length = {valueOf: function() {return 2}, toString: function() {return {}}}; x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#4 -try { - x = []; - x.length = {valueOf: function() {return 2}, toString: function() {throw "error"}}; - if (x.length !== 2) { - $ERROR('#4.1: x = []; x.length = {valueOf: function() {return 2}, toString: function() {throw "error"}}; x.length === ",". Actual: ' + (x.length)); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: x = []; x.length = {valueOf: function() {return 2}, toString: function() {throw "error"}}; x.length not throw "error"'); - } else { - $ERROR('#4.3: x = []; x.length = {valueOf: function() {return 2}, toString: function() {throw "error"}}; x.length not throw Error. Actual: ' + (e)); - } -} - -//CHECK#5 -x = []; -x.length = {toString: function() {return 1}}; -if (x.length !== 1) { - $ERROR('#5: x = []; x.length = {toString: function() {return 1}}; x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#6 -x = []; -x.length = {valueOf: function() {return {}}, toString: function() {return 1}} -if (x.length !== 1) { - $ERROR('#6: x = []; x.length = {valueOf: function() {return {}}, toString: function() {return 1}}; x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#7 -try { - x = []; - x.length = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - x.length; - $ERROR('#7.1: x = []; x.length = {valueOf: function() {throw "error"}, toString: function() {return 1}}; x.length throw "error". Actual: ' + (x.length)); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: x = []; x.length = {valueOf: function() {throw "error"}, toString: function() {return 1}}; x.length throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - x = []; - x.length = {valueOf: function() {return {}}, toString: function() {return {}}}; - x.length; - $ERROR('#8.1: x = []; x.length = {valueOf: function() {return {}}, toString: function() {return {}}} x.length throw TypeError. Actual: ' + (x.length)); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: x = []; x.length = {valueOf: function() {return {}}, toString: function() {return {}}} x.length throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.1_T1.js deleted file mode 100644 index 4c11ee1b5d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.1_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A2.1_T1; - * @section: 15.4.5.1, 15.4; - * @assertion: If P is not an array index, return - * (Create a property with name P, set its value to V and give it empty attributes); - * @description: P in [4294967295, -1, true]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A2.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.1_T1.js", - -assertion: "If P is not an array index, return", - -description: "P in [4294967295, -1, true]", - -test: function testcase() { - //CHECK#1 -var x = []; -x[4294967295] = 1; -if (x.length !== 0) { - $ERROR('#1.1: x = []; x[4294967295] = 1; x.length === 0. Actual: ' + (x.length)); -} - -if (x[4294967295] !== 1) { - $ERROR('#1.2: x = []; x[4294967295] = 1; x[4294967295] === 1. Actual: ' + (x[4294967295])); -} - -//CHECK#2 -x = []; -x[-1] = 1; -if (x.length !== 0) { - $ERROR('#2.1: x = []; x[-1] = 1; x.length === 0. Actual: ' + (x.length)); -} - -if (x[-1] !== 1) { - $ERROR('#2.2: x = []; x[-1] = 1; x[-1] === 1. Actual: ' + (x[-1])); -} - -//CHECK#3 -x = []; -x[true] = 1; -if (x.length !== 0) { - $ERROR('#3.1: x = []; x[true] = 1; x.length === 0. Actual: ' + (x.length)); -} - -if (x[true] !== 1) { - $ERROR('#3.2: x = []; x[true] = 1; x[true] === 1. Actual: ' + (x[true])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.2_T1.js deleted file mode 100644 index 9bce7e9c88..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.2_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A2.2_T1; - * @section: 15.4.5.1, 15.4; - * @assertion: If ToUint32(P) is less than the value of - * the length property of A, then return; - * @description: length === 100, P in [0, 98, 99]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A2.2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.2_T1.js", - -assertion: "If ToUint32(P) is less than the value of", - -description: "length === 100, P in [0, 98, 99]", - -test: function testcase() { - //CHECK#1 -var x = Array(100); -x[0] = 1; -if (x.length !== 100) { - $ERROR('#1: x = Array(100); x[0] = 1; x.length === 100. Actual: ' + (x.length)); -} - -//CHECK#2 -x[98] = 1; -if (x.length !== 100) { - $ERROR('#2: x = Array(100); x[0] = 1; x[98] = 1; x.length === 100. Actual: ' + (x.length)); -} - -//CHECK#3 -x[99] = 1; -if (x.length !== 100) { - $ERROR('#3: x = Array(100); x[0] = 1; x[98] = 1; x[99] = 1; x.length === 100. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.3_T1.js deleted file mode 100644 index 6f78ba9b45..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.3_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.1_A2.3_T1; - * @section: 15.4.5.1, 15.4; - * @assertion: If ToUint32(P) is less than the value of - * the length property of A, change (or set) length to ToUint32(P)+1; - * @description: length = 100, P in [100, 199]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.1_A2.3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.1_Put/S15.4.5.1_A2.3_T1.js", - -assertion: "If ToUint32(P) is less than the value of", - -description: "length = 100, P in [100, 199]", - -test: function testcase() { - //CHECK#1 -var x = Array(100); -x[100] = 1; -if (x.length !== 101) { - $ERROR('#1: x = Array(100); x[100] = 1; x.length === 101. Actual: ' + (x.length)); -} - -//CHECK#2 -x[199] = 1; -if (x.length !== 200) { - $ERROR('#2: x = Array(100); x[100] = 1; x[199] = 1; x.length === 100. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T1.js deleted file mode 100644 index 71c5c5ae4d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T1.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.2_A1_T1; - * @section: 15.4.5.2, 15.4; - * @assertion: Every Array object has a length property whose value is - * always a nonnegative integer less than 2^32. The value of the length property is - * numerically greater than the name of every property whose name is an array index; - * @description: Checking boundary points; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.2_A1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T1.js", - -assertion: "Every Array object has a length property whose value is", - -description: "Checking boundary points", - -test: function testcase() { - //CHECK#1 -var x = []; -if (x.length !== 0) { - $ERROR('#1: x = []; x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#2 -x[0] = 1; -if (x.length !== 1) { - $ERROR('#2: x = []; x[1] = 1; x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#3 -x[1] = 1; -if (x.length !== 2) { - $ERROR('#3: x = []; x[0] = 1; x[1] = 1; x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#4 -x[2147483648] = 1; -if (x.length !== 2147483649) { - $ERROR('#4: x = []; x[0] = 1; x[1] = 1; x[2147483648] = 1; x.length === 2147483649. Actual: ' + (x.length)); -} - -//CHECK#5 -x[4294967294] = 1; -if (x.length !== 4294967295) { - $ERROR('#5: x = []; x[0] = 1; x[1] = 1; x[2147483648] = 1; x[42949672954] = 1; x.length === 4294967295. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T2.js deleted file mode 100644 index cd2c69510f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T2.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.2_A1_T2; - * @section: 15.4.5.2, 15.4; - * @assertion: Every Array object has a length property whose value is - * always a nonnegative integer less than 2^32. The value of the length property is - * numerically greater than the name of every property whose name is an array index; - * @description: P = "2^32 - 1" is not index array; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.2_A1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A1_T2.js", - -assertion: "Every Array object has a length property whose value is", - -description: "P = \"2^32 - 1\" is not index array", - -test: function testcase() { - //CHECK#1 -var x = []; -x[4294967295] = 1; -if (x.length !== 0) { - $ERROR('#1: x = []; x[4294967295] = 1; x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#2 -var y =[]; -y[1] = 1; -y[4294967295] = 1; -if (y.length !== 2) { - $ERROR('#2: y = []; y[1] = 1; y[4294967295] = 1; y.length === 2. Actual: ' + (y.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A2_T1.js deleted file mode 100644 index 7d17e0dbfd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.2_A2_T1; - * @section: 15.4.5.2, 15.4; - * @assertion: If a property is added whose name is an array index, - * the length property is changed; - * @description: Checking length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.2_A2_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A2_T1.js", - -assertion: "If a property is added whose name is an array index,", - -description: "Checking length property", - -test: function testcase() { - //CHECK#1 -var x = []; -if (x.length !== 0) { - $ERROR('#1: x = []; x.length === 0. Actual: ' + (x.length)); -} - -//CHECK#2 -x[0] = 1; -if (x.length !== 1) { - $ERROR('#2: x = []; x[1] = 1; x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#3 -x[1] = 1; -if (x.length !== 2) { - $ERROR('#3: x = []; x[0] = 1; x[1] = 1; x.length === 2. Actual: ' + (x.length)); -} - -//CHECK#4 -x[9] = 1; -if (x.length !== 10) { - $ERROR('#4: x = []; x[0] = 1; x[1] = 1; x[9] = 1; x.length === 10. Actual: ' + (x.length)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T1.js deleted file mode 100644 index afe2f8b50e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T1.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.2_A3_T1; - * @section: 15.4.5.2, 15.4; - * @assertion: If the length property is changed, every property whose name - * is an array index whose value is not smaller than the new length is automatically deleted; - * @description: If new length greater than the name of every property whose name - * is an array index; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.2_A3_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T1.js", - -assertion: "If the length property is changed, every property whose name", - -description: "If new length greater than the name of every property whose name", - -test: function testcase() { - //CHECK#1 -var x = []; -x.length = 1; -if (x.length !== 1) { - $ERROR('#1: x = []; x.length = 1; x.length === 1. Actual: ' + (x.length)); -} - -//CHECK#2 -x[5] = 1; -x.length = 10; -if (x.length !== 10) { - $ERROR('#2: x = []; x.length = 1; x[5] = 1; x.length = 10; x.length === 10. Actual: ' + (x.length)); -} - -//CHECK#3 -if (x[5] !== 1) { - $ERROR('#3: x = []; x.length = 1; x[5] = 1; x.length = 10; x[5] = 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T2.js deleted file mode 100644 index 9d8f5d1245..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.2_A3_T2; - * @section: 15.4.5.2, 15.4; - * @assertion: If the length property is changed, every property whose name - * is an array index whose value is not smaller than the new length is automatically deleted; - * @description: If new length greater than the name of every property whose name - * is an array index; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.2_A3_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T2.js", - -assertion: "If the length property is changed, every property whose name", - -description: "If new length greater than the name of every property whose name", - -test: function testcase() { - //CHECK#1 -var x = []; -x[1] = 1; -x[3] = 3; -x[5] = 5; -x.length = 4; -if (x.length !== 4) { - $ERROR('#1: x = []; x[1] = 1; x[3] = 3; x[5] = 5; x.length = 4; x.length === 4. Actual: ' + (x.length)); -} - -//CHECK#2 -if (x[5] !== undefined) { - $ERROR('#2: x = []; x[1] = 1; x[3] = 3; x[5] = 5; x.length = 4; x[5] === undefined. Actual: ' + (x[5])); -} - -//CHECK#3 -if (x[3] !== 3) { - $ERROR('#3: x = []; x[1] = 1; x[3] = 3; x[5] = 5; x.length = 4; x[3] === 3. Actual: ' + (x[3])); -} - -//CHECK#4 -x.length = new Number(6); -if (x[5] !== undefined) { - $ERROR('#4: x = []; x[1] = 1; x[3] = 3; x[5] = 5; x.length = 4; x.length = new Number(6); x[5] === undefined. Actual: ' + (x[5])); -} - -//CHECK#5 -x.length = 0; -if (x[0] !== undefined) { - $ERROR('#5: x = []; x[1] = 1; x[3] = 3; x[5] = 5; x.length = 4; x.length = new Number(6); x.length = 0; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#6 -x.length = 1; -if (x[1] !== undefined) { - $ERROR('#6: x = []; x[1] = 1; x[3] = 3; x[5] = 5; x.length = 4; x.length = new Number(6); x.length = 0; x.length = 1; x[1] === undefined. Actual: ' + (x[1])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T3.js deleted file mode 100644 index ce5ae92fd1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T3.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.2_A3_T3; - * @section: 15.4.5.2, 15.4.2.2; - * @assertion: If the length property is changed, every property whose name - * is an array index whose value is not smaller than the new length is automatically deleted; - * @description: [[Put]] (length, 4294967296); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.2_A3_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T3.js", - -assertion: "If the length property is changed, every property whose name", - -description: "[[Put]] (length, 4294967296)", - -test: function testcase() { - //CHECK#1 -var x = []; -x.length = 4294967295; -if (x.length !== 4294967295) { - $ERROR('#1: x = []; x.length = 4294967295; x.length === 4294967295'); -} - -//CHECK#2 -try { - x = []; - x.length = 4294967296; - $ERROR('#2.1: x = []; x.length = 4294967296 throw RangeError. Actual: x.length === ' + (x.length)); -} catch(e) { - if ((e instanceof RangeError) !== true) { - $ERROR('#2.2: x = []; x.length = 4294967296 throw RangeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T4.js deleted file mode 100644 index dadda87ad2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T4.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.5.2_A3_T4; - * @section: 15.4.5.2, 15.4.2.2; - * @assertion: If the length property is changed, every property whose name - * is an array index whose value is not smaller than the new length is automatically deleted; - * @description: If new length greater than the name of every property whose name - * is an array index; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4.5.2_A3_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/15.4.5_Properties_of_Array_Instances/15.4.5.2_length/S15.4.5.2_A3_T4.js", - -assertion: "If the length property is changed, every property whose name", - -description: "If new length greater than the name of every property whose name", - -test: function testcase() { - //CHECK#1 -var x = [0,1,2]; -x[4294967294] = 4294967294; -x.length = 2; - -//CHECK#1 -if (x[0] !== 0) { - $ERROR('#1: x = [0,1,2]; x[4294967294] = 4294967294; x.length = 2; x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#2 -if (x[1] !== 1) { - $ERROR('#2: x = [0,1,2]; x[4294967294] = 4294967294; x.length = 2; x[1] === 1. Actual: ' + (x[1])); -} - -//CHECK#3 -if (x[2] !== undefined) { - $ERROR('#3: x = [0,1,2]; x[4294967294] = 4294967294; x.length = 2; x[2] === undefined. Actual: ' + (x[2])); -} - -//CHECK#4 -if (x[4294967294] !== undefined) { - $ERROR('#4: x = [0,1,2]; x[4294967294] = 4294967294; x.length = 2; x[4294967294] === undefined. Actual: ' + (x[4294967294])); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T1.js deleted file mode 100644 index f673ca99be..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T1; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: Checking for boolean primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T1", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T1.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "Checking for boolean primitive", - -test: function testcase() { - //CHECK#1 -x = []; -x[true] = 1; -if (x[1] !== undefined) { - $ERROR('#1: x = []; x[true] = 1; x[1] === undefined. Actual: ' + (x[1])); -} - -//CHECK#2 -if (x["true"] !== 1) { - $ERROR('#2: x = []; x[true] = 1; x["true"] === 1. Actual: ' + (x["true"])); -} - -//CHECK#3 -x[false] = 0; -if (x[0] !== undefined) { - $ERROR('#3: x = []; x[true] = 1; x[false] = 0; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x["false"] !== 0) { - $ERROR('#4: x = []; x[false] = 1; x["false"] === 0. Actual: ' + (x["false"])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T10.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T10.js deleted file mode 100644 index e2e9e8cc21..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T10.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T10; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: Array index is power of two; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T10", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T10.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "Array index is power of two", - -test: function testcase() { - //CHECK# -x = []; -k = 1; -for (i = 0; i < 32; i++) { - k = k * 2; - x[k - 2] = k; -} - -k = 1; -for (i = 0; i < 32; i++) { - k = k * 2; - if (x[k - 2] !== k) { - $ERROR('#' + (k - 2) + ': '); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T2.js deleted file mode 100644 index 34febb7ffc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T2.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T2; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: Checking for number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T2", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T2.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "Checking for number primitive", - -test: function testcase() { - //CHECK#1 -x = []; -x[NaN] = 1; -if (x[0] !== undefined) { - $ERROR('#1: x = []; x[NaN] = 1; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#2 -if (x["NaN"] !== 1) { - $ERROR('#2: x = []; x[NaN] = 1; x["NaN"] === 1. Actual: ' + (x["NaN"])); -} - -//CHECK#3 -y = []; -y[Number.POSITIVE_INFINITY] = 1; -if (y[0] !== undefined) { - $ERROR('#3: y = []; y[Number.POSITIVE_INFINITY] = 1; y[0] === undefined. Actual: ' + (y[0])); -} - -//CHECK#4 -if (y["Infinity"] !== 1) { - $ERROR('#4: y = []; y[Number.POSITIVE_INFINITY] = 1; y["Infinity"] === 1. Actual: ' + (y["Infinity"])); -} - -//CHECK#5 -z = []; -z[Number.NEGATIVE_INFINITY] = 1; -if (z[0] !== undefined) { - $ERROR('#5: z = []; z[Number.NEGATIVE_INFINITY] = 1; z[0] === undefined. Actual: ' + (z[0])); -} - -//CHECK#6 -if (z["-Infinity"] !== 1) { - $ERROR('#6: z = []; z[Number.NEGATIVE_INFINITY] = 1; z["-Infinity"] === 1. Actual: ' + (z["-Infinity"])); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T3.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T3.js deleted file mode 100644 index 05c5b39ddb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T3.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T3; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: Checking for number primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T3", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T3.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "Checking for number primitive", - -test: function testcase() { - //CHECK#1 -x = []; -x[4294967296] = 1; -if (x[0] !== undefined) { - $ERROR('#1: x = []; x[4294967296] = 1; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#2 -if (x["4294967296"] !== 1) { - $ERROR('#2: x = []; x[4294967296] = 1; x["4294967296"] === 1. Actual: ' + (x["4294967296"])); -} - -//CHECK#3 -y = []; -y[4294967297] = 1; -if (y[1] !== undefined) { - $ERROR('#3: y = []; y[4294967297] = 1; y[1] === undefined. Actual: ' + (y[1])); -} - -//CHECK#4 -if (y["4294967297"] !== 1) { - $ERROR('#4: y = []; y[4294967297] = 1; y["4294967297"] === 1. Actual: ' + (y["4294967297"])); -} - -//CHECK#5 -z = []; -z[1.1] = 1; -if (z[1] !== undefined) { - $ERROR('#5: z = []; z[1.1] = 1; z[1] === undefined. Actual: ' + (z[1])); -} - -//CHECK#6 -if (z["1.1"] !== 1) { - $ERROR('#6: z = []; z[1.1] = 1; z["1.1"] === 1. Actual: ' + (z["1.1"])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T4.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T4.js deleted file mode 100644 index 7dd95d040d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T4.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T4; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: Checking for string primitive; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T4", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T4.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "Checking for string primitive", - -test: function testcase() { - //CHECK#1 -x = []; -x["0"] = 0; -if (x[0] !== 0) { - $ERROR('#1: x = []; x["0"] = 0; x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#2 -y = []; -y["1"] = 1; -if (y[1] !== 1) { - $ERROR('#2: y = []; y["1"] = 1; y[1] === 1. Actual: ' + (y[1])); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T5.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T5.js deleted file mode 100644 index 15a8ec5960..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T5.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T5; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: Checking for null and undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T5", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T5.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "Checking for null and undefined", - -test: function testcase() { - //CHECK#1 -x = []; -x[null] = 0; -if (x[0] !== undefined) { - $ERROR('#1: x = []; x[null] = 1; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#2 -if (x["null"] !== 0) { - $ERROR('#2: x = []; x[null] = 1; x["null"] === 0. Actual: ' + (x["null"])); -} - -//CHECK#3 -y = []; -y[undefined] = 0; -if (y[0] !== undefined) { - $ERROR('#3: y = []; y[undefined] = 0; y[0] === undefined. Actual: ' + (y[0])); -} - -//CHECK#4 -if (y["undefined"] !== 0) { - $ERROR('#4: y = []; y[undefined] = 1; y["undefined"] === 0. Actual: ' + (y["undefined"])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T6.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T6.js deleted file mode 100644 index d9991db5aa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T6.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T6; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: Checking for Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T6", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T6.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "Checking for Boolean object", - -test: function testcase() { - //CHECK#1 -x = []; -x[new Boolean(true)] = 1; -if (x[1] !== undefined) { - $ERROR('#1: x = []; x[new Boolean(true)] = 1; x[1] === undefined. Actual: ' + (x[1])); -} - -//CHECK#2 -if (x["true"] !== 1) { - $ERROR('#2: x = []; x[true] = 1; x["true"] === 1. Actual: ' + (x["true"])); -} - -//CHECK#3 -x[new Boolean(false)] = 0; -if (x[0] !== undefined) { - $ERROR('#3: x = []; x[true] = 1; x[new Boolean(false)] = 0; x[0] === undefined. Actual: ' + (x[0])); -} - -//CHECK#4 -if (x["false"] !== 0) { - $ERROR('#4: x = []; x[false] = 1; x["false"] === 0. Actual: ' + (x["false"])); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T7.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T7.js deleted file mode 100644 index e5823b5ee5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T7.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T7; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: Checking for Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T7", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T7.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "Checking for Number object", - -test: function testcase() { - //CHECK#1 -x = []; -x[new Number(0)] = 0; -if (x[0] !== 0) { - $ERROR('#1: x = []; x[new Number(0)] = 0; x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#2 -y = []; -y[new Number(1)] = 1; -if (y[1] !== 1) { - $ERROR('#2: y = []; y[new Number(1)] = 1; y[1] === 1. Actual: ' + (y[1])); -} - -//CHECK#3 -z = []; -z[new Number(1.1)] = 1; -if (z["1.1"] !== 1) { - $ERROR('#3: z = []; z[new Number(1.1)] = 1; z["1.1"] === 1. Actual: ' + (z["1.1"])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T8.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T8.js deleted file mode 100644 index 290ada63a9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T8.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T8; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: Checking for Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T8", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T8.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "Checking for Number object", - -test: function testcase() { - //CHECK#1 -x = []; -x[new String("0")] = 0; -if (x[0] !== 0) { - $ERROR('#1: x = []; x[new String("0")] = 0; x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#2 -y = []; -y[new String("1")] = 1; -if (y[1] !== 1) { - $ERROR('#2: y = []; y[new String("1")] = 1; y[1] === 1. Actual: ' + (y[1])); -} - -//CHECK#3 -z = []; -z[new String("1.1")] = 1; -if (z["1.1"] !== 1) { - $ERROR('#3: z = []; z[new String("1.1")] = 1; z["1.1"] === 1. Actual: ' + (z["1.1"])); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T9.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T9.js deleted file mode 100644 index 9fe3873cb0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/S15.4_A1.1_T9.js +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4_A1.1_T9; - * @section: 15.4, 11.2.1; - * @assertion: A property name P (in the form of a string value) is an array index - * if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32 - 1; - * @description: If Type(value) is Object, evaluate ToPrimitive(value, String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.4_A1.1_T9", - -path: "TestCases/15_Native/15.4_Array_Objects/S15.4_A1.1_T9.js", - -assertion: "A property name P (in the form of a string value) is an array index", - -description: "If Type(value) is Object, evaluate ToPrimitive(value, String)", - -test: function testcase() { - //CHECK#1 -x = []; -var object = {valueOf: function() {return 1}}; -x[object] = 0; -if (x["[object Object]"] !== 0) { - $ERROR('#1: x = []; var object = {valueOf: function() {return 1}}; x[object] = 0; x["[object Object]"] === 0. Actual: ' + (x["[object Object]"])); -} - -//CHECK#2 -x = []; -var object = {valueOf: function() {return 1}, toString: function() {return 0}}; -x[object] = 0; -if (x[0] !== 0) { - $ERROR('#2: x = []; var object = {valueOf: function() {return 1}, toString: function() {return 0}}; x[object] = 0; x[0] === 0. Actual: ' + (x[0])); -} - -//CHECK#3 -x = []; -var object = {valueOf: function() {return 1}, toString: function() {return {}}}; -x[object] = 0; -if (x[1] !== 0) { - $ERROR('#3: x = []; var object = {valueOf: function() {return 1}, toString: function() {return {}}}; x[object] = 0; x[1] === 0. Actual: ' + (x[1])); -} - -//CHECK#4 -try { - x = []; - var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; - x[object] = 0; - if (x[1] !== 0) { - $ERROR('#4.1: x = []; var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; x[object] = 0; x[1] === 1. Actual: ' + (x[1])); - } -} -catch (e) { - if (e === "error") { - $ERROR('#4.2: x = []; var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; x[object] = 0; x[1] === 1. Actual: ' + ("error")); - } else { - $ERROR('#4.3: x = []; var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; x[object] = 0; x[1] === 1. Actual: ' + (e)); - } -} - -//CHECK#5 -x = []; -var object = {toString: function() {return 1}}; -x[object] = 0; -if (x[1] !== 0) { - $ERROR('#5: x = []; var object = {toString: function() {return 1}}; x[object] = 0; x[1] === 0. Actual: ' + (x[1])); -} - -//CHECK#6 -x = []; -var object = {valueOf: function() {return {}}, toString: function() {return 1}} -x[object] = 0; -if (x[1] !== 0) { - $ERROR('#6: x = []; var object = {valueOf: function() {return {}}, toString: function() {return 1}}; x[object] = 0; x[1] === 0. Actual: ' + (x[1])); -} - -//CHECK#7 -try { - x = []; - var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; - x[object]; - $ERROR('#7.1: x = []; var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; x[object] throw "error". Actual: ' + (x[object])); -} -catch (e) { - if (e !== "error") { - $ERROR('#7.2: x = []; var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; x[object] throw "error". Actual: ' + (e)); - } -} - -//CHECK#8 -try { - x = []; - var object = {valueOf: function() {return {}}, toString: function() {return {}}}; - x[object]; - $ERROR('#8.1: x = []; var object = {valueOf: function() {return {}}, toString: function() {return {}}}; x[object] throw TypeError. Actual: ' + (x[object])); -} -catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#8.2: x = []; var object = {valueOf: function() {return {}}, toString: function() {return {}}}; x[object] throw TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T1.js deleted file mode 100644 index 0ff7e856ae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T1; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(function(){}()); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T1.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(function(){}())", - -test: function testcase() { - var __str = String(function(){}()); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(function(){}()); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "undefined") { - $ERROR('#2: __str = String(function(){}()); __str === "undefined". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T10.js deleted file mode 100644 index 37e2a4ab90..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T10.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T10; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(1) and String(-1); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T10.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(1) and String(-1)", - -test: function testcase() { - var __str = String(1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(1); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "1") { - $ERROR('#2: __str = String(1); __str === "1". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(-1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#3: __str = String(-1); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "-1") { - $ERROR('#4: __str = String(-1); __str === "-1". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T11.js deleted file mode 100644 index 6977d817a0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T11.js +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T11; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(1/0) and String(-1/0), and call with +/-Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T11.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(1/0) and String(-1/0), and call with +/-Infinity", - -test: function testcase() { - var __str = String(1/0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(1/0); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "Infinity") { - $ERROR('#2: __str = String(1/0); __str === "Infinity". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(-1/0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __str !== "string") { - $ERROR('#3: __str = String(-1/0); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str !== "-Infinity") { - $ERROR('#4: __str = String(-1/0); __str === "-Infinity". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(Infinity); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof __str !== "string") { - $ERROR('#5: __str = String(Infinity); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__str !== "Infinity") { - $ERROR('#6: __str = String(Infinity); __str === "Infinity". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(-Infinity); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -if (typeof __str !== "string") { - $ERROR('#7: __str = String(-Infinity); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#8 -if (__str !== "-Infinity") { - $ERROR('#8: __str = String(-Infinity); __str === "-Infinity". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(Number.POSITIVE_INFINITY); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#9 -if (typeof __str !== "string") { - $ERROR('#9: __str = String(Number.POSITIVE_INFINITY); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#10 -if (__str !== "Infinity") { - $ERROR('#10: __str = String(Number.POSITIVE_INFINITY); __str === "Infinity". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(Number.NEGATIVE_INFINITY); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#11 -if (typeof __str !== "string") { - $ERROR('#11: __str = String(Number.NEGATIVE_INFINITY); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#12 -if (__str !== "-Infinity") { - $ERROR('#12: __str = String(Number.NEGATIVE_INFINITY); __str === "-Infinity". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T12.js deleted file mode 100644 index 0bfddee817..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T12.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T12; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(1/"a"), String("b"* null) and String(Number.NaN); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T12.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(1/\"a\"), String(\"b\"* null) and String(Number.NaN)", - -test: function testcase() { - var __str = String(1/"a"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(1/"a"); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "NaN") { - $ERROR('#2: __str = String(1/"a"); __str === "NaN". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String("b"*null); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __str !== "string") { - $ERROR('#3: __str = String("b"*null); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str !== "NaN") { - $ERROR('#4: __str = String("b"*null); __str === "NaN". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(Number.NaN); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof __str !== "string") { - $ERROR('#5: __str = String(Number.NaN); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__str !== "NaN") { - $ERROR('#6: __str = String(Number.NaN); __str === "NaN". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T13.js deleted file mode 100644 index 8a81b1e2d8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T13.js +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T13; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(true) and String(false); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T13.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(true) and String(false)", - -test: function testcase() { - var __str = String(true); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(true); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "true") { - $ERROR('#2: __str = String(true); __str === "true". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(false); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __str !== "string") { - $ERROR('#3: __str = String(false); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str !== "false") { - $ERROR('#4: __str = String(false); __str === "false". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(Boolean(true)); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof __str !== "string") { - $ERROR('#5: __str = String(Boolean(true)); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__str !== "true") { - $ERROR('#6: __str = String(Boolean(true)); __str === "true". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(Boolean(false)); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -if (typeof __str !== "string") { - $ERROR('#7: __str = String(Boolean(false)); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#8 -if (__str !== "false") { - $ERROR('#8: __str = String(Boolean(false)); __str === "false". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T14.js deleted file mode 100644 index 144bb5f16f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T14.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T14; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(0) and String(-0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T14.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(0) and String(-0)", - -test: function testcase() { - var __str = String(0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(0); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "0") { - $ERROR('#2: __str = String(0); __str === "0". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(-0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#3: __str = String(-0); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "0") { - $ERROR('#4: __str = String(-0); __str === "0". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T15.js deleted file mode 100644 index e5878c224d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T15.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T15; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(string_object); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T15", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T15.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(string_object)", - -test: function testcase() { - var __obj__str = "caps"; - -//__obj__str.prop=1; - -var __str = String(__obj__str); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str !== __obj__str) { - $ERROR('#1: __obj__str = "caps"; __str = String(__obj__str); __str === __obj__str. Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T16.js deleted file mode 100644 index 1c4265c166..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T16.js +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T16; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String() with .12345 and analogous numbers; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T16", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T16.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String() with .12345 and analogous numbers", - -test: function testcase() { - var __str = String(.12345); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(.12345); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "0.12345") { - $ERROR('#2: __str = String(.12345); __str === "0.12345". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(.012345); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __str !== "string") { - $ERROR('#3: __str = String(.012345); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str !== "0.012345") { - $ERROR('#4: __str = String(.012345); __str === "0.012345". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(.0012345); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof __str !== "string") { - $ERROR('#5: __str = String(.0012345); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__str !== "0.0012345") { - $ERROR('#6: __str = String(.0012345); __str === "0.0012345". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(.00000012345); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -if (typeof __str !== "string") { - $ERROR('#7: __str = String(.00000012345); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#8 -if (__str !== "1.2345e-7") { - $ERROR('#8: __str = String(.00000012345); __str === "1.2345e-7". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T17.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T17.js deleted file mode 100644 index 749ebe3ba8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T17.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T17; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String() with numbers that have more than 1 significant digit after point; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T17", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T17.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String() with numbers that have more than 1 significant digit after point", - -test: function testcase() { - var __str = String(1.2345); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(1.2345); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "1.2345") { - $ERROR('#2: __str = String(1.2345); __str === "1.2345". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(1.234567890); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __str !== "string") { - $ERROR('#3: __str = String(1.234567890); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str !== "1.23456789") { - $ERROR('#4: __str = String(1.234567890); __str === "1.23456789". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(1.234500000000000000000000000); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof __str !== "string") { - $ERROR('#5: __str = String(1.234500000000000000000000000); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__str !== "1.2345") { - $ERROR('#6: __str = String(1.234500000000000000000000000); __str === "1.2345". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T18.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T18.js deleted file mode 100644 index aaa162c177..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T18.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T18; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String() with numbers that have more than 1 significant digit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T18", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T18.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String() with numbers that have more than 1 significant digit", - -test: function testcase() { - __str = String(1000000000000000000000); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(1000000000000000000000); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "1e+21") { - $ERROR('#2: __str = String(1000000000000000000000); __str === "1e+21". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = String(10000000000000000000000); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __str !== "string") { - $ERROR('#3: __str = String(10000000000000000000000); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str !== "1e+22") { - $ERROR('#4: __str = String(10000000000000000000000); __str === "1e+22". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T19.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T19.js deleted file mode 100644 index 6d4d7fef56..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T19.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T19; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String() with Array of numbers; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T19", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T19.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String() with Array of numbers", - -test: function testcase() { - var __str = String(new Array(1,2,3)); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(new Array(1,2,3)); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "1,2,3") { - $ERROR('#2: __str = String(new Array(1,2,3)); __str === "1,2,3". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T2.js deleted file mode 100644 index 4c9b73794d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T2; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(null); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T2.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(null)", - -test: function testcase() { - var __str = String(null); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(null); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "null") { - $ERROR('#2: __str = String(null); __str === "null". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T3.js deleted file mode 100644 index c829d7600c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T3; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(void 0); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T3.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(void 0)", - -test: function testcase() { - var __str = String(void 0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(void 0); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "undefined") { - $ERROR('#2: __str = String(void 0); __str === "undefined". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T4.js deleted file mode 100644 index 6083d16ecb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T4.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T4; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(undefined); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T4.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(undefined)", - -test: function testcase() { - var __str = String(undefined); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(undefined); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "undefined") { - $ERROR('#2: __str = String(undefined); __str === "undefined". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T5.js deleted file mode 100644 index 35f09d79a2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T5; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(x), where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T5.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(x), where x is undefined variable", - -test: function testcase() { - var __str = String(x); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: var x; __str = String(x); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "undefined") { - $ERROR('#2: var x; __str = String(x); __str === "undefined". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T6.js deleted file mode 100644 index 467b9b9c1a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T6.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T6; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Checking by using eval, Call String(eval());; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T6.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Checking by using eval, Call String(eval())", - -test: function testcase() { - var __str = String(eval()); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(eval()); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "undefined") { - $ERROR('#2: __str = String(eval()); __str === "undefined". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T7.js deleted file mode 100644 index 409c30e74b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T7.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T7; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String({}); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T7.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String({})", - -test: function testcase() { - var __str = String({}); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String({}); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "[object "+"Object"+"]") { - $ERROR('#2: __str = String({}); __str === "[object Object]". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T8.js deleted file mode 100644 index 4ba84f2e5b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T8.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T8; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(new Array); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T8.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(new Array)", - -test: function testcase() { - var __old__Array__prototype__toString = Array.prototype.toString; - -Array.prototype.toString=function(){return "__ARRAY__";}; - -var __str = String(new Array); - -// restore old toString method just in case -Array.prototype.toString=__old__Array__prototype__toString; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(new Array); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "__ARRAY__") { - $ERROR('#2: Array.prototype.toString=function(){return "__ARRAY__";}; __str = String(new Array); __str === "__ARRAY__". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T9.js deleted file mode 100644 index 226efc18f3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A1_T9; -* @section: 15.5.1.1; -* @assertion: When String is called as a function rather than as a constructor, it performs a type conversion; -* @description: Call String(this); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A1_T9.js", - -assertion: "When String is called as a function rather than as a constructor, it performs a type conversion", - -description: "Call String(this)", - -test: function testcase() { - var toString=function(){return "__THIS__";}; - -var __str = String(this); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(this); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "__THIS__") { - $ERROR('#2: toString=function(){return "__THIS__";}; __str = String(this); __str === "__THIS__". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A2_T1.js deleted file mode 100644 index 71d83fd1d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A2_T1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.1.1_A2_T1; -* @section: 15.5.1.1; -* @assertion: If value is not supplied, the empty string "" is returned; -* @description: Call String(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.1.1_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.1_The_String_Constructor_Called_as_a_Function/S15.5.1.1_A2_T1.js", - -assertion: "If value is not supplied, the empty string \"\" is returned", - -description: "Call String()", - -test: function testcase() { - var __str = String(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "string") { - $ERROR('#1: __str = String(); typeof __str === "string". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !== "") { - $ERROR('#2: __str = String(); __str === "". Actual: __str ==='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T1.js deleted file mode 100644 index 379acf4825..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T1.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T1; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with expression "new String"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T1.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with expression \"new String\"", - -test: function testcase() { - var __str = new String; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String; typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String; __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str != "") { - $ERROR('#2: __str = new String; __str == "". Actual: __str =='+__str); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ( __str === "") { - $ERROR('#3: __str = new String; __str !== ""'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T10.js deleted file mode 100644 index aa42480284..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T10.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T10; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String(function object)" as the function object's prototype.toString property was changed; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T10.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String(function object)\" as the function object\'s prototype.toString property was changed", - -test: function testcase() { - function __FACTORY(){}; - -__FACTORY.prototype.toString=function(){return "tostr"}; - -var __obj = new __FACTORY; - -var __str = new String(__obj); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(__obj); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(__obj); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str != "tostr") { - $ERROR('#2: __str = new String(__obj); __str =="tostr". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T11.js deleted file mode 100644 index 18bc8cdd30..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T11.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T11; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String(function object)" after changing function object's valueOf and toString properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T11.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String(function object)\" after changing function object\'s valueOf and toString properties", - -test: function testcase() { - function __obj(){}; - -__obj.valueOf=function(){return true;}; - -__obj.toString=function(){return {};}; - -var __str = new String(__obj); - - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: function __obj(){}; __str = new String(__obj); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(__obj); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="true") { - $ERROR('#2: function __obj(){}; __str = new String(__obj); __str =="true". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T12.js deleted file mode 100644 index 3a3a64bddd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T12.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T12; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String(function object)", after changing the function object toString property, which causes exception throw; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T12.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String(function object)\", after changing the function object toString property, which causes exception throw", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr"}}; - -__obj.valueOf=function(){return true}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var __str = new String(__obj); - $ERROR('#1: var __obj = {toString:function(){throw "intostr"}}; __str = new String(__obj) lead throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: e==="intostr". Actual: e==='+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T13.js deleted file mode 100644 index 1df5896e1e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T13.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T13; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String(function object)" after changing function object's valueOf property, which causes exception throw; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T13.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String(function object)\" after changing function object\'s valueOf property, which causes exception throw", - -test: function testcase() { - var __obj = {toString:function(){return f; function f(){}}}; - -__obj.valueOf=function(){throw "invalueof"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var __str = new String(__obj); - $ERROR('#1: __obj.valueOf=function(){throw "invalueof"}; __str = new String(__obj) lead throwing exception'); -} catch (e) { - if (e!=="invalueof") { - $ERROR('#1.1: e==="invalueof". Actual: e==='+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T16.js deleted file mode 100644 index 85a2fe51a1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T16.js +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T16; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String()" initialized with .12345 and other numbers; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T16", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T16.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String()\" initialized with .12345 and other numbers", - -test: function testcase() { - __str =new String(.12345); -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str =new String(.12345); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str =new String(.12345); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="0.12345") { - $ERROR('#2: __str =new String(.12345); __str =="0.12345". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str =new String(.012345); -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __str !== "object") { - $ERROR('#3: __str =new String(.012345); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2.5 -if (__str.constructor !== String) { - $ERROR('#3.5: __str =new String(.012345); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str !="0.012345") { - $ERROR('#4: __str =new String(.012345); __str =="0.012345". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str =new String(.0012345); -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof __str !== "object") { - $ERROR('#5: __str =new String(.0012345); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5.5 -if (__str.constructor !== String) { - $ERROR('#5.5: __str =new String(.0012345); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__str !="0.0012345") { - $ERROR('#6: __str =new String(.0012345); __str =="0.0012345". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str =new String(.00000012345); -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -if (typeof __str !== "object") { - $ERROR('#7: __str =new String(.00000012345); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7.5 -if (__str.constructor !== String) { - $ERROR('#7.5: __str =new String(.00000012345); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#8 -if (__str !="1.2345e-7") { - $ERROR('#8: __str =new String(.00000012345); __str =="1.2345e-7". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T17.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T17.js deleted file mode 100644 index bf884de477..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T17.js +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T17; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String()" initialized with numbers that have more than 1 significant digit following the point; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T17", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T17.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String()\" initialized with numbers that have more than 1 significant digit following the point", - -test: function testcase() { - var __str = new String(1.2345); -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(1.2345); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(1.2345); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="1.2345") { - $ERROR('#2: __str = new String(1.2345); __str =="1.2345". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = new String(1.234567890); -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __str !== "object") { - $ERROR('#3: __str = new String(1.234567890); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3.5 -if (__str.constructor !== String) { - $ERROR('#3.5: __str = new String(1.234567890); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str !="1.23456789") { - $ERROR('#4: __str = new String(1.234567890); __str =="1.23456789". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = new String(1.234500000000000000000000000); -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (typeof __str !== "object") { - $ERROR('#5: __str = new String(1.234500000000000000000000000); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5.5 -if (__str.constructor !== String) { - $ERROR('#5.5: __str = new String(1.234500000000000000000000000); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__str !="1.2345") { - $ERROR('#6: __str = new String(1.234500000000000000000000000); __str =="1.2345". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T18.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T18.js deleted file mode 100644 index ead3ffaec5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T18.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T18; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Create string object with "new String()" initialized with numbers that have more than 1 significant digit; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T18", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T18.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Create string object with \"new String()\" initialized with numbers that have more than 1 significant digit", - -test: function testcase() { - var __str = new String(1000000000000000000000); -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(1000000000000000000000); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(1000000000000000000000); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="1e+21") { - $ERROR('#2: __str = new String(1000000000000000000000); __str =="1e+21". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str = new String(10000000000000000000000); -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (typeof __str !== "object") { - $ERROR('#3: __str = new String(10000000000000000000000); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3.5 -if (__str.constructor !== String) { - $ERROR('#3.5: __str = new String(10000000000000000000000); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str !="1e+22") { - $ERROR('#4: __str = new String(10000000000000000000000); __str =="1e+22". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T19.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T19.js deleted file mode 100644 index af5db9154d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T19.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T19; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String()" initialized with Array of numbers; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T19", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T19.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String()\" initialized with Array of numbers", - -test: function testcase() { - var __str = new String(new Array(1,2,3)); -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(new Array(1,2,3)); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(new Array(1,2,3)); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="1,2,3") { - $ERROR('#2: __str = new String(new Array(1,2,3)); __str =="1,2,3". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T2.js deleted file mode 100644 index a1030af11a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T2; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String()"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T2.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String()\"", - -test: function testcase() { - var __str = new String(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="") { - $ERROR('#2: __str = new String(); __str =="". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ( __str === "") { - $ERROR('#3: __str = new String(); __str !== ""'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T3.js deleted file mode 100644 index 64e2a0e2ab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T3.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T3; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String("")"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T3.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String(\"\")\"", - -test: function testcase() { - var __str = new String(""); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(""); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(""); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="") { - $ERROR('#2: __str = new String(""); __str =="". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ( __str === "") { - $ERROR('#3: __str = new String(""); __str !== ""'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T4.js deleted file mode 100644 index c123a09e28..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T4.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T4; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Create string object with "new String(1.0)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T4.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Create string object with \"new String(1.0)\"", - -test: function testcase() { - var __str = new String(1.0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(1.0); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(1.0); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !=1.0+"") { - $ERROR('#2: __str = new String(1.0); __str ==1.0+"". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T5.js deleted file mode 100644 index 7f949b5e2b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T5.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T5; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String(NaN)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T5.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String(NaN)\"", - -test: function testcase() { - var __str = new String(NaN); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(NaN); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(NaN); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !=(1/"s")+"") { - $ERROR('#2: __str = new String(NaN); __str ==(1/"s")+"". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T6.js deleted file mode 100644 index 5024529905..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T6.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T6; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String(false)"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T6.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String(false)\"", - -test: function testcase() { - var __str = new String(false); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(false); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(false); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !=false+"") { - $ERROR('#2: __str = new String(false); __str ==false+"". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T7.js deleted file mode 100644 index 5df2ca62e9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T7.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T7; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String({})"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T7.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String({})\"", - -test: function testcase() { - var __stored__Object__prototype__toString = Object.prototype.toString; - -Object.prototype.toString=function(){return "SHIFTED"}; - -var __str = new String({}); - -Object.prototype.toString = __stored__Object__prototype__toString; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String({}); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String({}); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="SHIFTED") { - $ERROR('#2: Object.prototype.toString=function(){return "SHIFTED"}; __str = new String({}); __str =="SHIFTED". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T8.js deleted file mode 100644 index c9ef293e03..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T8.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T8; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String(function(){})"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T8.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String(function(){})\"", - -test: function testcase() { - var __stored__Function__prototype__toString = Function.prototype.toString; - -Function.prototype.toString=function(){return "SHIFTED"}; - -var __str = new String(function(){}); - -Function.prototype.toString = __stored__Function__prototype__toString; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(function(){}); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(function(){}); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="SHIFTED") { - $ERROR('#2: Function.prototype.toString=function(){return "SHIFTED"}; __str = new String(function(){}); __str =="SHIFTED". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T9.js deleted file mode 100644 index 032222adab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T9.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A1_T9; -* @section: 15.5.2.1; -* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and -* The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied; -* @description: Creating string object with "new String(function(){return [1,2,3]}())"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A1_T9.js", - -assertion: "When \"String\" is called as part of a new expression, it is a constructor: it initialises the newly created object and", - -description: "Creating string object with \"new String(function(){return [1,2,3]}())\"", - -test: function testcase() { - var __str = new String(function(){return [1,2,3]}()); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __str !== "object") { - $ERROR('#1: __str = new String(function(){return [1,2,3]}()); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1.5 -if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(function(){return [1,2,3]}()); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str !="1,2,3") { - $ERROR('#2: __str = new String(function(){return [1,2,3]}()); __str =="1,2,3". Actual: __str =='+__str ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T1.js deleted file mode 100644 index cafa773f25..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A2_T1; -* @section: 15.5.2.1, 15.5.3.1; -* @assertion: The [[Prototype]] property of the newly constructed object is set to the original String prototype object; -* @description: Creating string object with "new String(string)" to check prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T1.js", - -assertion: "The [[Prototype]] property of the newly constructed object is set to the original String prototype object", - -description: "Creating string object with \"new String(string)\" to check prototype", - -test: function testcase() { - var __str__obj = new String("abba"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.isPrototypeOf(__str__obj))) { - $ERROR('#1: var __str__obj = new String("abba"); String.prototype.isPrototypeOf(__str__obj)===true'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T2.js deleted file mode 100644 index 616e0cc742..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A2_T2; -* @section: 15.5.2.1, 15.5.3.1; -* @assertion: The [[Prototype]] property of the newly constructed object is set to the original String prototype object; -* @description: Creating string object with "new String(string)" adding custom property; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A2_T2.js", - -assertion: "The [[Prototype]] property of the newly constructed object is set to the original String prototype object", - -description: "Creating string object with \"new String(string)\" adding custom property", - -test: function testcase() { - var __str__obj = new String("shocking blue"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str__obj["__custom__prop"]!==undefined) { - $ERROR('#1: var __str__obj = new String("shocking blue"); __str__obj["__custom__prop"]===undefined. Actual: __str__obj["__custom__prop"]==='+__str__obj["__custom__prop"]); -} -// -////////////////////////////////////////////////////////////////////////////// - -String.prototype.__custom__prop = "bor"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str__obj["__custom__prop"]!=="bor") { - $ERROR('#2: var __str__obj = new String("shocking blue"); String.prototype.__custom__prop = "bor"; __str__obj["__custom__prop"]==="bor". Actual: __str__obj["__custom__prop"]==='+__str__obj["__custom__prop"]); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A3.js deleted file mode 100644 index 97654059a1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A3.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.2.1_A3; -* @section: 15.5.2.1; -* @assertion: The [[Class]] property of the newly constructed object is set to "String"; -* @description: Creating string object with "new String(string)" and changing toString property to Object.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.2.1_A3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.2_The_String_Constructor/S15.5.2.1_A3.js", - -assertion: "The [[Class]] property of the newly constructed object is set to \"String\"", - -description: "Creating string object with \"new String(string)\" and changing toString property to Object.prototype.toString", - -test: function testcase() { - var __str__obj = new String("seamaid"); - -__str__obj.toString = Object.prototype.toString; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str__obj.toString() !== "[object "+"String"+"]") { - $ERROR('#1: var __str__obj = new String("seamaid"); __str__obj.toString = Object.prototype.toString; __str__obj.toString() === "[object String]". Actual: __str__obj.toString() ==='+__str__obj.toString() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A1.js deleted file mode 100644 index 72f8ae73d2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3.1_A1; -* @section: 15.5.3.1, 15.5.4; -* @assertion: The String has property prototype; -* @description: Checking String.hasOwnProperty('prototype'); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3.1_A1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A1.js", - -assertion: "The String has property prototype", - -description: "Checking String.hasOwnProperty(\'prototype\')", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.hasOwnProperty('prototype'))) { - $ERROR('#1: String.hasOwnProperty(\'prototype\') return true. Actual: '+String.hasOwnProperty('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A2.js deleted file mode 100644 index 41d0751d82..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A2.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3.1_A2; -* @section: 15.5.3.1, 15.5.4; -* @assertion: The String.prototype property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3.1_A2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A2.js", - -assertion: "The String.prototype property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.hasOwnProperty('prototype'))) { - $FAIL('#0: String.hasOwnProperty(\'prototype\') return true. Actual: '+String.hasOwnProperty('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.propertyIsEnumerable('prototype')) { - $ERROR('#1: String.propertyIsEnumerable(\'prototype\') return false. Actual: '+String.propertyIsEnumerable('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String){ - if (p==="prototype") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String){ if (p==="prototype") count++;}; count === 0. Actual: count ==='+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js deleted file mode 100644 index 533ff26fd0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3.1_A3; -* @section: 15.5.3.1, 15.5.4; -* @assertion: The String.prototype property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3.1_A3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js", - -assertion: "The String.prototype property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.hasOwnProperty('prototype'))) { - $FAIL('#1: String.hasOwnProperty(\'prototype\') return true. Actual: '+String.hasOwnProperty('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - -delete String.prototype; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.hasOwnProperty('prototype'))) { - $ERROR('#2: delete String.prototype; String.hasOwnProperty(\'prototype\') return true. Actual: '+String.hasOwnProperty('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A4.js deleted file mode 100644 index 3b79d45824..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A4.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3.1_A4; -* @section: 15.5.3.1, 15.5.4; -* @assertion: The String.prototype property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3.1_A4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A4.js", - -assertion: "The String.prototype property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.hasOwnProperty('prototype'))) { - $FAIL('#1: String.hasOwnProperty(\'prototype\') return true. Actual: '+String.hasOwnProperty('prototype')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype; - -String.prototype = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype !== __obj) { - $ERROR('#2: __obj = String.prototype; String.prototype = function(){return "shifted";}; String.prototype === __obj. Actual: String.prototype ==='+String.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A1.js deleted file mode 100644 index b80b936d34..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3.2_A1; -* @section: 15.5.3.2; -* @assertion: The length property of the fromCharCode function is 1; -* @description: Checking String.fromCharCode.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3.2_A1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A1.js", - -assertion: "The length property of the fromCharCode function is 1", - -description: "Checking String.fromCharCode.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof String.fromCharCode !== "function") { - $ERROR('#1: typeof String.fromCharCode === "function". Actual: typeof String.fromCharCode ==='+typeof String.fromCharCode ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.hasOwnProperty("fromCharCode"))) { - $ERROR('#2: String.hasOwnProperty("fromCharCode") return true. Actual: '+String.hasOwnProperty("fromCharCode")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (String.fromCharCode.length !== 1) { - $ERROR('#3: String.fromCharCode.length === 1. Actual: String.fromCharCode.length ==='+String.fromCharCode.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A2.js deleted file mode 100644 index efe51fea87..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3.2_A2; -* @section: 15.5.3.2; -* @assertion: String.fromCharCode () returns empty string; -* @description: Call String.fromCharCode(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3.2_A2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A2.js", - -assertion: "String.fromCharCode () returns empty string", - -description: "Call String.fromCharCode()", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.fromCharCode() !== "") { - $ERROR('#1: String.fromCharCode () returns empty string. Actual: '+String.fromCharCode()); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T1.js deleted file mode 100644 index 07128c670b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3.2_A3_T1; -* @section: 15.5.3.2; -* @assertion: String.fromCharCode ( [ char0 [ , char1 [ , ... ] ] ] ); -* @description: Call String.fromCharCode(65,66,66,65); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3.2_A3_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T1.js", - -assertion: "String.fromCharCode ( [ char0 [ , char1 [ , ... ] ] ] )", - -description: "Call String.fromCharCode(65,66,66,65)", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.fromCharCode(65,66,66,65) !== "ABBA") { - $ERROR('#1: String.fromCharCode(65,66,66,65) === "ABBA". Actual: String.fromCharCode(65,66,66,65) ==='+String.fromCharCode(65,66,66,65) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T2.js deleted file mode 100644 index eb0c2d52cc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3.2_A3_T2; -* @section: 15.5.3.2; -* @assertion: String.fromCharCode ( [ char0 [ , char1 [ , ... ] ] ] ); -* @description: Create function variable, that equal String.fromCharCode, delete original String.fromCharCode and use created variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3.2_A3_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A3_T2.js", - -assertion: "String.fromCharCode ( [ char0 [ , char1 [ , ... ] ] ] )", - -description: "Create function variable, that equal String.fromCharCode, delete original String.fromCharCode and use created variable", - -test: function testcase() { - var __fcc__func = String.fromCharCode; - -delete String.fromCharCode; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__fcc__func(65,66,66,65) !== "ABBA") { - $ERROR('#1: __fcc__func = String.fromCharCode; delete String.fromCharCode; __fcc__func(65,66,66,65) === "ABBA". Actual: __fcc__func(65,66,66,65) ==='+__fcc__func(65,66,66,65) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A4.js deleted file mode 100644 index d388c25619..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A4.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3.2_A4; -* @section: 15.5.3.2; -* @assertion: String.fromCharCode has not [[construct]] method; -* @description: Checking if creating "new String.fromCharCode" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3.2_A4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.2_A4.js", - -assertion: "String.fromCharCode has not [[construct]] method", - -description: "Checking if creating \"new String.fromCharCode\" fails", - -test: function testcase() { - var __fcc__func = String.fromCharCode; - -delete String.fromCharCode; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var __obj = new __fcc__func(65,66,66,65); - $FAIL('#1: __fcc__func = String.fromCharCode; var __obj = new __fcc__func(65,66,66,65) lead to throwing exception'); -} catch (e) {} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A1.js deleted file mode 100644 index 07e44e0983..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3_A1; -* @section: 15.5.3, 15.5.4; -* @assertion: String has length property whose value is 1; -* @description: Checking String.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3_A1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A1.js", - -assertion: "String has length property whose value is 1", - -description: "Checking String.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -// CHECK# -if (String.length !== 1) { - $ERROR('String has length property whose value is 1. Actual: String.length==='+String.length); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T1.js deleted file mode 100644 index 225169576a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3_A2_T1; -* @section: 15.5.3, 15.5.4; -* @assertion: The value of the internal [[Prototype]] property of the String constructor is the Function prototype object; -* @description: Checking Function.prototype.isPrototypeOf(String); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T1.js", - -assertion: "The value of the internal [[Prototype]] property of the String constructor is the Function prototype object", - -description: "Checking Function.prototype.isPrototypeOf(String)", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -// CHECK# -if (!(Function.prototype.isPrototypeOf(String))) { - $ERROR('#1: Function.prototype.isPrototypeOf(String) return true. Actual: '+Function.prototype.isPrototypeOf(String)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T2.js deleted file mode 100644 index ff7266eaa3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.3_A2_T2; -* @section: 15.5.3, 15.5.4; -* @assertion: The value of the internal [[Prototype]] property of the String constructor is the Function prototype object; -* @description: Add custom property to Function.prototype and check it at String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.3_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3_A2_T2.js", - -assertion: "The value of the internal [[Prototype]] property of the String constructor is the Function prototype object", - -description: "Add custom property to Function.prototype and check it at String", - -test: function testcase() { - Function.prototype.indicator = 1; - -////////////////////////////////////////////////////////////////////////////// -// CHECK# -if (String.indicator !== 1) { - $ERROR('#1: Function.prototype.indicator = 1; String.indicator === 1. Actual: String.indicator ==='+String.indicator ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A10.js deleted file mode 100644 index ac5af69d82..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A10; -* @section: 15.5.4.10; -* @assertion: The String.prototype.match.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.match.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A10.js", - -assertion: "The String.prototype.match.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.match.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.match.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.match.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.match.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.match.length; - -String.prototype.match.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.match.length !== __obj) { - $ERROR('#2: __obj = String.prototype.match.length; String.prototype.match.length = function(){return "shifted";}; String.prototype.match.length === __obj. Actual: '+String.prototype.match.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A11.js deleted file mode 100644 index 51d9761b6f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A11; -* @section: 15.5.4.10; -* @assertion: The length property of the match method is 1; -* @description: Checking String.prototype.match.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A11.js", - -assertion: "The length property of the match method is 1", - -description: "Checking String.prototype.match.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.match.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.match.hasOwnProperty("length") return true. Actual: '+String.prototype.match.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.match.length !== 1) { - $ERROR('#2: String.prototype.match.length === 1. Actual: '+String.prototype.match.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T1.js deleted file mode 100644 index 4f05302897..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T1; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Arguments is true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T1.js", - -assertion: "String.prototype.match (regexp)", - -description: "Arguments is true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.match = String.prototype.match; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.match(true)[0] !== "true") { - $ERROR('#1: __instance = new Object(true); __instance.match = String.prototype.match; __instance.match(true)[0] === "true". Actual: '+__instance.match(true)[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T10.js deleted file mode 100644 index 65279e330a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T10.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T10; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Call match (regexp) function with object argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T10.js", - -assertion: "String.prototype.match (regexp)", - -description: "Call match (regexp) function with object argument", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __str = "ABB\u0041BABAB"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (match(__obj)[0] !=="AB") { - $ERROR('#1: var x; var __obj = {toString:function(){return "\u0041B";}}; var __str = "ABB\u0041BABAB"; match(__obj)[0] ==="AB". Actual: '+match(__obj)[0] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T11.js deleted file mode 100644 index 4b1917e60f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T11.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T11; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Override toString function, toString throw exception, then call match (regexp) function with this object as argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T11.js", - -assertion: "String.prototype.match (regexp)", - -description: "Override toString function, toString throw exception, then call match (regexp) function with this object as argument", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr";}} -var __str = {str__:"ABB\u0041BABAB"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - with(str__){ - try { - var x = match(__obj); - $FAIL('#1: "var x = match(__obj)" lead to throwing exception'); - } catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T12.js deleted file mode 100644 index 969a6030fa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T12.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T12; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Override toString and valueOf functions, valueOf throw exception, then call match (regexp) function with this object as argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T12.js", - -assertion: "String.prototype.match (regexp)", - -description: "Override toString and valueOf functions, valueOf throw exception, then call match (regexp) function with this object as argument", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}} -var __str = new String("ABB\u0041BABAB"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - try { - var x = match(__obj); - $FAIL('#1: "var x = match(__obj)" lead to throwing exception'); - } catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T13.js deleted file mode 100644 index 97230e775b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T13.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T13; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Override toString and valueOf functions, then call match (regexp) function with this object as argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T13.js", - -assertion: "String.prototype.match (regexp)", - -description: "Override toString and valueOf functions, then call match (regexp) function with this object as argument", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){return 1;}} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("ABB\u0041B\u0031ABAB\u0031BBAA".match(__obj)[0] !=="1") { - $ERROR('#1: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; "ABB\\u0041B\\u0031ABAB\\u0031BBAA".match(__obj)[0] ==="1". Actual: '+("ABB\u0041B\u0031ABAB\u0031BBAA".match(__obj)[0]) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ("ABB\u0041B\u0031ABAB\u0031BBAA".match(__obj).length !== 1) { - $ERROR('#3: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; "ABB\\u0041B\\u0031ABAB\\u0031BBAA".match(__obj).length === 1. Actual: '+("ABB\u0041B\u0031ABAB\u0031BBAA".match(__obj).length) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T14.js deleted file mode 100644 index e4d3876f2f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T14.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T14; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Call match (regexp) function with RegExp object as argument from string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T14.js", - -assertion: "String.prototype.match (regexp)", - -description: "Call match (regexp) function with RegExp object as argument from string", - -test: function testcase() { - var __reg = new RegExp("77"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("ABB\u0041BABAB\u0037\u0037BBAA".match(__reg)[0] !== "77") { - $ERROR('#1: var __reg = new RegExp("77"); "ABB\\u0041BABAB\\u0037\\u0037BBAA".match(__reg)[0] === "77". Actual: '+("ABB\u0041BABAB\u0037\u0037BBAA".match(__reg)[0]) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T2.js deleted file mode 100644 index becf767ab2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T2; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Argument is function that return boolean, and instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T2.js", - -assertion: "String.prototype.match (regexp)", - -description: "Argument is function that return boolean, and instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.match = String.prototype.match; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.match(function(){return false;}())[0] !== "false") { - $ERROR('#1: __instance = new Boolean; __instance.match = String.prototype.match; __instance.match(function(){return false;}())[0] === "false". Actual: '+__instance.match(function(){return false;}())[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T3.js deleted file mode 100644 index 726f73de6d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T3; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T3.js", - -assertion: "String.prototype.match (regexp)", - -description: "Checking by using eval", - -test: function testcase() { - var match = String.prototype.match; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (match(eval("\"bj\""))[0] !== "bj") { - $ERROR('#1: match = String.prototype.match; match(eval("\\"bj\\""))[0] === "bj". Actual: '+match(eval("\"bj\""))[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T4.js deleted file mode 100644 index c822d7ad4a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T4.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T4; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Call match (regexp) function without arguments of string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T4.js", - -assertion: "String.prototype.match (regexp)", - -description: "Call match (regexp) function without arguments of string", - -test: function testcase() { - var __matched = "".match(); - -var __expected = RegExp().exec(""); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__matched.length !== __expected.length) { - $ERROR('#1: __matched = "".match(); __expected = RegExp().exec(""); __matched.length === __expected.length. Actual: '+__matched.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__matched.index !== __expected.index) { - $ERROR('#2: __matched = "".match(); __expected = RegExp().exec(""); __matched.index === __expected.index. Actual: '+__matched.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__matched.input !== __expected.input) { - $ERROR('#3: __matched = "".match(); __expected = RegExp().exec(""); __matched.input === __expected.input. Actual: '+__matched.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__matched[index]!==__expected[index]) { - $ERROR('#4.'+index+': __matched = "".match(); __expected = RegExp().exec(""); __matched['+index+']===__expected['+index+']. Actual: '+__matched[index]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T5.js deleted file mode 100644 index b2de5cf5ff..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T5; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Call match (regexp) function with null argument of function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T5.js", - -assertion: "String.prototype.match (regexp)", - -description: "Call match (regexp) function with null argument of function object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(null) evaluates to "null" match(null) evaluates to match("null") -if (function(){return "gnulluna"}().match(null)[0] !== "null") { - $ERROR('#1: function(){return "gnulluna"}().match(null)[0] === "null". Actual: '+function(){return "gnulluna"}().match(null)[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T6.js deleted file mode 100644 index 1dea4fc184..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T6.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T6; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Call match (regexp) function with x argument of new String object, where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T6.js", - -assertion: "String.prototype.match (regexp)", - -description: "Call match (regexp) function with x argument of new String object, where x is undefined variable", - -test: function testcase() { - var __matched = new String("undefined").match(x); - -var __expected = RegExp(x).exec("undefined"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__matched.length !== __expected.length) { - $ERROR('#1: __matched = new String("undefined").match(x); __expected = RegExp(x).exec("undefined"); __matched.length === __expected.length. Actual: '+__matched.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__matched.index !== __expected.index) { - $ERROR('#2: __matched = new String("undefined").match(x); __expected = RegExp(x).exec("undefined"); __matched.index === __expected.index. Actual: '+__matched.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__matched.input !== __expected.input) { - $ERROR('#3: __matched = new String("undefined").match(x); __expected = RegExp(x).exec("undefined"); __matched.input === __expected.input. Actual: '+__matched.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__matched[index]!==__expected[index]) { - $ERROR('#4.'+index+': __matched = new String("undefined").match(x); __expected = RegExp(x).exec("undefined"); __matched['+index+']===__expected['+index+']. Actual: '+__matched[index]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T7.js deleted file mode 100644 index 2c488b700a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T7.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T7; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Call match (regexp) function with undefined argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T7.js", - -assertion: "String.prototype.match (regexp)", - -description: "Call match (regexp) function with undefined argument of string object", - -test: function testcase() { - var __matched = String("undefined").match(undefined); - -var __expected = RegExp(undefined).exec("undefined"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__matched.length !== __expected.length) { - $ERROR('#1: __matched = String("undefined").match(undefined); __expected = RegExp(undefined).exec("undefined"); __matched.length === __expected.length. Actual: '+__matched.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__matched.index !== __expected.index) { - $ERROR('#2: __matched = String("undefined").match(undefined); __expected = RegExp(undefined).exec("undefined"); __matched.index === __expected.index. Actual: '+__matched.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__matched.input !== __expected.input) { - $ERROR('#3: __matched = String("undefined").match(undefined); __expected = RegExp(undefined).exec("undefined"); __matched.input === __expected.input. Actual: '+__matched.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__matched[index]!==__expected[index]) { - $ERROR('#4.'+index+': __matched = String("undefined").match(undefined); __expected = RegExp(undefined).exec("undefined"); __matched['+index+']===__expected['+index+']. Actual: '+__matched[index]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T8.js deleted file mode 100644 index 7958abc91d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T8.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T8; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Call match (regexp) function with void 0 argument of string object; -* -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T8.js", - -assertion: "String.prototype.match (regexp)", - -description: "Call match (regexp) function with void 0 argument of string object", - -test: function testcase() { - var __obj = {toString:function(){}}; - -var __matched = String(__obj).match(void 0); - -var __expected = RegExp(void 0).exec("undefined"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__matched.length !== __expected.length) { - $ERROR('#1: __obj = {toString:function(){}}; __matched = String(__obj).match(void 0); __expected = RegExp(void 0).exec("undefined"); __matched.length === __expected.length. Actual: '+__matched.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__matched.index !== __expected.index) { - $ERROR('#2: __obj = {toString:function(){}}; __matched = String(__obj).match(void 0); __expected = RegExp(void 0).exec("undefined"); __matched.index === __expected.index. Actual: '+__matched.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__matched.input !== __expected.input) { - $ERROR('#3: __obj = {toString:function(){}}; __matched = String(__obj).match(void 0); __expected = RegExp(void 0).exec("undefined"); __matched.input === __expected.input. Actual: '+__matched.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__matched[index]!==__expected[index]) { - $ERROR('#4.'+index+': __obj = {toString:function(){}}; __matched = String(__obj).match(void 0); __expected = RegExp(void 0).exec("undefined"); __matched['+index+']===__expected['+index+']. Actual: '+__matched[index]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T9.js deleted file mode 100644 index b74b767e8a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T9.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A1_T9; -* @section: 15.5.4.10; -* @assertion: String.prototype.match (regexp); -* @description: Call match (regexp) function with function(){}() argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T9.js", - -assertion: "String.prototype.match (regexp)", - -description: "Call match (regexp) function with function(){}() argument of string object", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -var __matched = new String(__obj).match(function(){}()); - -var __expected = RegExp(undefined).exec("undefined"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__matched.length !== __expected.length) { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; __matched = new String(__obj).match(function(){}()); __expected = RegExp(undefined).exec("undefined"); __matched.length === __expected.length. Actual: '+__matched.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__matched.index !== __expected.index) { - $ERROR('#2: __obj = {valueOf:function(){}, toString:void 0}; __matched = new String(__obj).match(function(){}()); __expected = RegExp(undefined).exec("undefined"); __matched.index === __expected.index. Actual: '+__matched.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__matched.input !== __expected.input) { - $ERROR('#3: __obj = {valueOf:function(){}, toString:void 0}; __matched = new String(__obj).match(function(){}()); __expected = RegExp(undefined).exec("undefined"); __matched.input === __expected.input. Actual: '+__matched.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__matched[index]!==__expected[index]) { - $ERROR('#4.'+index+': __obj = {valueOf:function(){}, toString:void 0}; __matched = new String(__obj).match(function(){}()); __expected = RegExp(undefined).exec("undefined"); __matched['+index+']===__expected['+index+']. Actual: '+__matched[index]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T1.js deleted file mode 100644 index 0536218bc2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T1; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is 3; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T1.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is 3", - -test: function testcase() { - var __string = "1234567890"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(3)[0]!== "3") { - $ERROR('#1: __string = "1234567890"; __string.match(3)[0]=== "3". Actual: '+__string.match(3)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__string.match(3).length !==1) { - $ERROR('#2: __string = "1234567890"; __string.match(3).length ===1. Actual: '+__string.match(3).length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__string.match(3).index !==2) { - $ERROR('#3: __string = "1234567890"; __string.match(3).index ===2. Actual: '+__string.match(3).index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__string.match(3).input !==__string) { - $ERROR('#4: __string = "1234567890"; __string.match(3).input ===__string. Actual: '+__string.match(3).input ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T10.js deleted file mode 100644 index d8f75546f9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T10.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T10; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/. Last match is undefined. -* And regular expression object have property lastIndex = tested_string.lastIndexOf("0"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T10.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/. Last match is undefined.", - -test: function testcase() { - var __string = "Boston, MA 02134"; - -var __matches=["02134", "02134", undefined]; - -var __re = /([\d]{5})([-\ ]?[\d]{4})?$/; - -__re.lastIndex = __string.lastIndexOf("0"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(__re).length!== 3) { - $ERROR('#1: __string.match(__re).length=== 3. Actual: '+__string.match(__re).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__string.match(__re).index !==__string.lastIndexOf("0")) { - $ERROR('#2: __string.match(__re).index ===__string.lastIndexOf("0"). Actual: '+__string.match(__re).index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var mi=0; mi<__matches.length; mi++) { - if (__string.match(__re)[mi]!==__matches[mi]) { - $ERROR('#3.'+mi+': __string.match(__re)['+mi+']===__matches['+mi+']. Actual: '+__string.match(__re)[mi]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T11.js deleted file mode 100644 index 41a15770bf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T11.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T11; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/. Last match is undefined. -* And regular expression object have property lastIndex = tested_string.lastIndexOf("0")+1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T11.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/. Last match is undefined.", - -test: function testcase() { - var __string = "Boston, MA 02134"; - -var __matches=["02134", "02134", undefined]; - -var __re = /([\d]{5})([-\ ]?[\d]{4})?$/; - -__re.lastIndex = __string.lastIndexOf("0")+1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(__re).length!== 3) { - $ERROR('#1: __string.match(__re).length=== 3. Actual: '+__string.match(__re).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__string.match(__re).index !==__string.lastIndexOf("0")) { - $ERROR('#2: __string.match(__re).index ===__string.lastIndexOf("0"). Actual: '+__string.match(__re).index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var mi=0; mi<__matches.length; mi++) { - if (__string.match(__re)[mi]!==__matches[mi]) { - $ERROR('#3.'+mi+': __string.match(__re)['+mi+']===__matches['+mi+']. Actual: '+__string.match(__re)[mi]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T12.js deleted file mode 100644 index fe4776d562..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T12.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T12; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is variable that have value /([\d]{5})([-\ ]?[\d]{4})?$/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T12.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is variable that have value /([\\d]{5})([-\\ ]?[\\d]{4})?$/g", - -test: function testcase() { - var __matches=["02134"]; - -var __string = "Boston, MA 02134"; - -var __re = /([\d]{5})([-\ ]?[\d]{4})?$/g; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(__re).length!== __matches.length) { - $ERROR('#1: __string.match(__re).length=== __matches.length. Actual: '+__string.match(__re).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__string.match(__re)[0]!==__matches[0]) { - $ERROR('#2: __string.match(__re)[0]===__matches[0]. Actual: '+__string.match(__re)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T13.js deleted file mode 100644 index ce2a2384c1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T13.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T13; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/g. -* And regular expression object have property lastIndex = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T13.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/g.", - -test: function testcase() { - var __matches=["02134"]; - -var __re = /([\d]{5})([-\ ]?[\d]{4})?$/g; -__re.lastIndex = 0; - -var __string = "Boston, MA 02134"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(__re).length!== __matches.length) { - $ERROR('#1: __string.match(__re).length=== __matches.length. Actual: '+__string.match(__re).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__string.match(__re)[0]!==__matches[0]) { - $ERROR('#3: __string.match(__re)[0]===__matches[0]. Actual: '+__string.match(__re)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T14.js deleted file mode 100644 index 1e1e8f5c3e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T14.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T14; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/g. -* And regular expression object have property lastIndex = tested_string.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T14.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/g.", - -test: function testcase() { - var __string = "Boston, MA 02134"; - -var __matches=["02134"]; - -var __re = /([\d]{5})([-\ ]?[\d]{4})?$/g; - -__re.lastIndex = __string.length; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(__re).length!== __matches.length) { - $ERROR('#1: __string.match(__re).length=== __matches.length. Actual: '+__string.match(__re).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__string.match(__re)[0]!==__matches[0]) { - $ERROR('#3: __string.match(__re)[0]===__matches[0]. Actual: '+__string.match(__re)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T15.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T15.js deleted file mode 100644 index 7d34adb671..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T15.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T15; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/. -* And regular expression object have property lastIndex = tested_string.lastIndexOf("0"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T15", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T15.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/.", - -test: function testcase() { - var __string = "Boston, MA 02134"; - -var __matches=["02134"]; - -var __re = /([\d]{5})([-\ ]?[\d]{4})?$/g; - -__re.lastIndex = __string.lastIndexOf("0"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(__re).length!== __matches.length) { - $ERROR('#1: __string.match(__re).length=== __matches.length. Actual: '+__string.match(__re).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__string.match(__re)[0]!==__matches[0]) { - $ERROR('#3: __string.match(__re)[0]===__matches[0]. Actual: '+__string.match(__re)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T16.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T16.js deleted file mode 100644 index 35908f52fe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T16.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T16; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/. -* And regular expression object have property lastIndex = tested_string.lastIndexOf("0")+1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T16", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T16.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/.", - -test: function testcase() { - var __string = "Boston, MA 02134"; - -var __matches=["02134"]; - -var __re = /([\d]{5})([-\ ]?[\d]{4})?$/g; - -__re.lastIndex = __string.lastIndexOf("0")+1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(__re).length!== __matches.length) { - $ERROR('#1: __string.match(__re).length=== __matches.length. Actual: '+__string.match(__re).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__string.match(__re)[0]!==__matches[0]) { - $ERROR('#3: __string.match(__re)[0]===__matches[0]. Actual: '+__string.match(__re)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T17.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T17.js deleted file mode 100644 index d100a4f7db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T17.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T17; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /0./; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T17", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T17.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /0./", - -test: function testcase() { - var __re = /0./; - -var __num = 10203040506070809000; - -Number.prototype.match = String.prototype.match; - -//__matches = ["02"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__num.match(__re)[0]!== "02") { - $ERROR('#1: __num.match(__re)[0]=== "02". Actual: '+__num.match(__re)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__num.match(__re).length !==1) { - $ERROR('#2: __num.match(__re).length ===1. Actual: '+__num.match(__re).length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__num.match(__re).index !==1) { - $ERROR('#3: __num.match(__re).index ===1. Actual: '+__num.match(__re).index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__num.match(__re).input !==String(__num)) { - $ERROR('#4: __num.match(__re).input ===String(__num). Actual: '+__num.match(__re).input ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T18.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T18.js deleted file mode 100644 index 0db8dde09a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T18.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T18; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /0./. -* And regular expression object have property lastIndex = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T18", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T18.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /0./.", - -test: function testcase() { - var __re = /0./; - -__re.lastIndex = 0; - -var __num = 10203040506070809000; - -Number.prototype.match = String.prototype.match; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__num.match(__re)[0]!== "02") { - $ERROR('#1: __num.match(__re)[0]=== "02". Actual: '+__num.match(__re)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__num.match(__re).length !==1) { - $ERROR('#2: __num.match(__re).length ===1. Actual: '+__num.match(__re).length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__num.match(__re).index !==1) { - $ERROR('#3: __num.match(__re).index ===1. Actual: '+__num.match(__re).index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__num.match(__re).input !==String(__num)) { - $ERROR('#4: __num.match(__re).input ===String(__num). Actual: '+__num.match(__re).input ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T2.js deleted file mode 100644 index e9ca9a9dad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T2.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T2; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /34/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T2.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /34/g", - -test: function testcase() { - var __matches=["34","34","34"]; - -var __string = "343443444"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(/34/g).length!== 3) { - $ERROR('#1: __string = "343443444"; __string.match(/34/g).length=== 3. Actual: '+__string.match(/34/g).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -for(var mi=0; mi<__matches.length; mi++) { - if (__string.match(/34/g)[mi]!==__matches[mi]) { - $ERROR('#2.'+mi+': __matches=["34","34","34"]; __string = "343443444"; __string.match(/34/g)['+mi+']===__matches['+mi+']. Actual: '+__string.match(/34/g)[mi]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T3.js deleted file mode 100644 index 2754616709..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T3.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T3; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /\d{1}/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T3.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /\\d{1}/g", - -test: function testcase() { - var __matches=["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]; - -var __string = "123456abcde7890"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(/\d{1}/g).length!== 10) { - $ERROR('#1: __string = "123456abcde7890"; __string.match(/\\d{1}/g).length=== 10. Actual: '+__string.match(/\d{1}/g).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -for(var mi=0; mi<__matches.length; mi++) { - if (__string.match(/\d{1}/g)[mi]!==__matches[mi]) { - $ERROR('#2.'+mi+': __matches=["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]; __string = "123456abcde7890"; __string.match(/\\d{1}/g)['+mi+']===__matches['+mi+']. Actual: '+__string.match(/\d{1}/g)[mi]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T4.js deleted file mode 100644 index 345addee5d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T4.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T4; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /\d{2}/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T4.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /\\d{2}/g", - -test: function testcase() { - var __matches=["12", "34", "56", "78", "90"]; - -var __string = "123456abcde7890"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(/\d{2}/g).length!== 5) { - $ERROR('#1: __string = "123456abcde7890"; __string.match(/\\d{2}/g).length=== 5. Actual: '+__string.match(/\d{2}/g).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -for(var mi=0; mi<__matches.length; mi++) { - if (__string.match(/\d{2}/g)[mi]!==__matches[mi]) { - $ERROR('#2.'+mi+': __matches=["12", "34", "56", "78", "90"]; __string = "123456abcde7890"; __string.match(/\\d{2}/g)['+mi+']===__matches['+mi+']. Actual: '+__string.match(/\d{2}/g)[mi]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T5.js deleted file mode 100644 index c92d427e46..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T5.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T5; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /\D{2}/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T5.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /\\D{2}/g", - -test: function testcase() { - var __matches=["ab", "cd"]; - -var __string = "123456abcde7890"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(/\D{2}/g).length!== 2) { - $ERROR('#1: __string = "123456abcde7890"; __string.match(/\\D{2}/g).length=== 2. Actual: '+__string.match(/\D{2}/g).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -for(var mi=0; mi<__matches.length; mi++) { - if (__string.match(/\D{2}/g)[mi]!==__matches[mi]) { - $ERROR('#2.'+mi+': __matches=["ab", "cd"]; __string = "123456abcde7890"; __string.match(/\\D{2}/g)['+mi+']===__matches['+mi+']. Actual: '+__string.match(/\D{2}/g)[mi]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T6.js deleted file mode 100644 index 50548a970c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T6.js +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T6; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/. Last match is void 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T6.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/. Last match is void 0", - -test: function testcase() { - var __string = "Boston, Mass. 02134"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/)[0]!== "02134") { - $ERROR('#1: __string = "Boston, Mass. 02134"; __string.match(/([\\d]{5})([-\\ ]?[\\d]{4})?$/)[0]=== "02134". Actual: '+__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/)[1]!== "02134") { - $ERROR('#2: __string = "Boston, Mass. 02134"; __string.match(/([\\d]{5})([-\\ ]?[\\d]{4})?$/)[1]=== "02134". Actual: '+__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/)[1]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/)[2]!== void 0) { - $ERROR('#3: __string = "Boston, Mass. 02134"; __string.match(/([\\d]{5})([-\\ ]?[\\d]{4})?$/)[2]=== void 0. Actual: '+__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/)[2]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/).length !==3) { - $ERROR('#4: __string = "Boston, Mass. 02134"; __string.match(/([\\d]{5})([-\\ ]?[\\d]{4})?$/).length ===3. Actual: '+__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/).length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/).index !==14) { - $ERROR('#5: __string = "Boston, Mass. 02134"; __string.match(/([\\d]{5})([-\\ ]?[\\d]{4})?$/).index ===14. Actual: '+__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/).index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/).input !==__string) { - $ERROR('#6: __string = "Boston, Mass. 02134"; __string.match(/([\\d]{5})([-\\ ]?[\\d]{4})?$/).input ===__string. Actual: '+__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/).input ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T7.js deleted file mode 100644 index 9995257fa6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T7.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T7; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T7.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/g", - -test: function testcase() { - var __matches=["02134"]; - -var __string = "Boston, Mass. 02134"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/g).length!== 1) { - $ERROR('#1: __string = "Boston, Mass. 02134"; __string.match(/([\\d]{5})([-\\ ]?[\\d]{4})?$/g).length=== 1. Actual: '+__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/g).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/g)[0]!==__matches[0]) { - $ERROR('#2: __matches=["02134"]; __string = "Boston, Mass. 02134"; __string.match(/([\\d]{5})([-\\ ]?[\\d]{4})?$/g)[0]===__matches[0]. Actual: '+__string.match(/([\d]{5})([-\ ]?[\d]{4})?$/g)[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T8.js deleted file mode 100644 index 2040587d1c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T8.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T8; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/. Last match is undefined. -* And regular expression object have property lastIndex = 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T8.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/. Last match is undefined.", - -test: function testcase() { - var __matches=["02134", "02134", undefined]; - -var __re = /([\d]{5})([-\ ]?[\d]{4})?$/; -__re.lastIndex = 0; - -var __string = "Boston, MA 02134"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(__re).length!== 3) { - $ERROR('#1: __string = "Boston, MA 02134"; __re = /([\d]{5})([-\ ]?[\d]{4})?$/; __string.match(__re).length=== 3. Actual: '+__string.match(__re).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__string.match(__re).index !==__string.lastIndexOf("0")) { - $ERROR('#2: __string = "Boston, MA 02134"; __re = /([\d]{5})([-\ ]?[\d]{4})?$/; __re.lastIndex = 0; __string.match(__re).index ===__string.lastIndexOf("0"). Actual: '+__string.match(__re).index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var mi=0; mi<__matches.length; mi++) { - if (__string.match(__re)[mi]!==__matches[mi]) { - $ERROR('#3.'+mi+': __string = "Boston, MA 02134"; __re = /([\d]{5})([-\ ]?[\d]{4})?$/; __matches=["02134", "02134", undefined]; __string.match(__re)['+mi+']===__matches['+mi+']. Actual: '+__string.match(__re)[mi]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T9.js deleted file mode 100644 index 9dd04d3e9e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T9.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A2_T9; -* @section: 15.5.4.10, 15.10.6.2; -* @assertion: match returns array as specified in 15.10.6.2; -* @description: Regular expression is /([\d]{5})([-\ ]?[\d]{4})?$/. Last match is undefined. -* And regular expression object have property lastIndex = tested_string.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A2_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A2_T9.js", - -assertion: "match returns array as specified in 15.10.6.2", - -description: "Regular expression is /([\\d]{5})([-\\ ]?[\\d]{4})?$/. Last match is undefined.", - -test: function testcase() { - var __string = "Boston, MA 02134"; - -var __matches=["02134", "02134", undefined]; - -var __re = /([\d]{5})([-\ ]?[\d]{4})?$/; - -__re.lastIndex = __string.length; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.match(__re).length!== 3) { - $ERROR('#1: __string = "Boston, MA 02134"; __re = /([\d]{5})([-\ ]?[\d]{4})?$/; __string.match(__re).length=== 3. Actual: '+__string.match(__re).length); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__string.match(__re).index !==__string.lastIndexOf("0")) { - $ERROR('#2: __string = "Boston, MA 02134"; __re = /([\d]{5})([-\ ]?[\d]{4})?$/; __re.lastIndex = __string.length; __string.match(__re).index ===__string.lastIndexOf("0"). Actual: '+__string.match(__re).index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var mi=0; mi<__matches.length; mi++) { - if (__string.match(__re)[mi]!==__matches[mi]) { - $ERROR('#3.'+mi+': __string = "Boston, MA 02134"; __re = /([\d]{5})([-\ ]?[\d]{4})?$/; __matches=["02134", "02134", undefined]; __string.match(__re)['+mi+']===__matches['+mi+']. Actual: '+__string.match(__re)[mi]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A6.js deleted file mode 100644 index 291a9862f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A6; -* @section: 15.5.4.10, 13.2; -* @assertion: String.prototype.match has not prototype property; -* @description: Checking String.prototype.match.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A6.js", - -assertion: "String.prototype.match has not prototype property", - -description: "Checking String.prototype.match.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.match.prototype !== undefined) { - $ERROR('#1: String.prototype.match.prototype === undefined. Actual: '+String.prototype.match.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A7.js deleted file mode 100644 index 7b264478fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A7.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A7; -* @section: 15.5.4.10, 13.2; -* @assertion: String.prototype.match can't be used as constructor; -* @description: Checking if creating "String.prototype.match object" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A7.js", - -assertion: "String.prototype.match can\'t be used as constructor", - -description: "Checking if creating \"String.prototype.match object\" fails", - -test: function testcase() { - var __FACTORY = String.prototype.match; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.match; __FACTORY = String.prototype.match; __instance = new __FACTORY lead to throwing exception'); -} catch (e) {} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A8.js deleted file mode 100644 index 3e81e9e572..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A8; -* @section: 15.5.4.10; -* @assertion: The String.prototype.match.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.match.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A8.js", - -assertion: "The String.prototype.match.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.match.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.match.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.match.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.match.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.match.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.match.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.match){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.match){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A9.js deleted file mode 100644 index 5e6fd46503..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.10_A9; -* @section: 15.5.4.10; -* @assertion: The String.prototype.match.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.match.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.10_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.10_String.prototype.match/S15.5.4.10_A9.js", - -assertion: "The String.prototype.match.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.match.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.match.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.match.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.match.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.match.length) { - $ERROR('#1: delete String.prototype.match.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.match.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.match.length; String.prototype.match.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.match.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A10.js deleted file mode 100644 index eaa267260b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A10; -* @section: 15.5.4.11; -* @assertion: The String.prototype.replace.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.replace.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A10.js", - -assertion: "The String.prototype.replace.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.replace.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.replace.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.replace.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.replace.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.replace.length; - -String.prototype.replace.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.replace.length !== __obj) { - $ERROR('#2: __obj = String.prototype.replace.length; String.prototype.replace.length = function(){return "shifted";}; String.prototype.replace.length === __obj. Actual: '+String.prototype.replace.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A11.js deleted file mode 100644 index cacc8b9c6b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A11; -* @section: 15.5.4.11; -* @assertion: The length property of the replace method is 2; -* @description: Checking String.prototype.replace.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A11.js", - -assertion: "The length property of the replace method is 2", - -description: "Checking String.prototype.replace.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.replace.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.replace.hasOwnProperty("length") return true. Actual: '+String.prototype.replace.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.replace.length !== 2) { - $ERROR('#2: String.prototype.replace.length === 2. Actual: '+String.prototype.replace.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js deleted file mode 100644 index 3ffb02f44b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A12; -* @section: 15.5.4.11; -* @assertion: Call replaceValue passing undefined as the this value; -* @description: replaceValue tests that its this value is undefined; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js", - -assertion: "Call replaceValue passing undefined as the this value", - -description: "replaceValue tests that its this value is undefined", - -test: function testcase() { - var global = this; -'x'.replace(/x/, function() { - "use strict"; - - if (this === global) { - $FAIL('#1: String replace leaks global'); - } - if (this !== undefined) { - $FAIL('#2: replaceValue should be called with this===undefined. ' + - 'Actual: ' + this); - } - return 'y'; -}); - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T1.js deleted file mode 100644 index 8428b7ef7f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T1; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Arguments are true and 1, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T1.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Arguments are true and 1, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.replace = String.prototype.replace; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.replace(true, 1) !== "1") { - $ERROR('#1: __instance = new Object(true); __instance.replace = String.prototype.replace; __instance.replace(true, 1) === "1". Actual: '+__instance.replace(true, 1) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T10.js deleted file mode 100644 index 00021188fe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T10.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T10; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with object and function arguments of string. Object have overrided toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T10.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with object and function arguments of string. Object have overrided toString function", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}}; - -var __str = "ABB\u0041BABAB"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (replace(__obj, function(){return x;}) !== "undefinedBABABAB") { - $ERROR('#1: var x; var __obj = {toString:function(){return "\u0041B";}}; var __str = "ABB\u0041BABAB"; replace(__obj, function(){return x;}) === "undefinedBABABAB". Actual: '+replace(__obj, function(){return x;}) ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T11.js deleted file mode 100644 index ef5b895535..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T11.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T11; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with objects arguments of string object. Objects have overrided toString function, that throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T11.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with objects arguments of string object. Objects have overrided toString function, that throw exception", - -test: function testcase() { - var __obj = {toString:function(){throw "insearchValue";}}; -var __obj2 = {toString:function(){throw "inreplaceValue";}}; -var __str = {str__:"ABB\u0041BABAB"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - with(str__){ - try { - var x = replace(__obj,__obj2); - $FAIL('#1: "var x = replace(__obj,__obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="insearchValue") { - $ERROR('#1.1: Exception === "insearchValue". Actual: '+e); - } - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T12.js deleted file mode 100644 index d83783dee6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T12.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T12; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with objects arguments of String object. -* First objects have overrided toString and valueOf functions, valueOf throw exception. -* Second objects have overrided toString function, that throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T12.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with objects arguments of String object.", - -test: function testcase() { - var __obj = {toString:function(){return {};}, valueOf:function(){throw "insearchValue";}}; -var __obj2 = {toString:function(){throw "inreplaceValue";}}; -var __str = new String("ABB\u0041BABAB"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - try { - var x = replace(__obj, __obj2); - $FAIL('#1: "var x = replace(__obj,__obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="insearchValue") { - $ERROR('#1.1: Exception === "insearchValue". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T13.js deleted file mode 100644 index 70e9b254e7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T13.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T13; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with objects arguments of string. -* First objects have overrided toString and valueOf functions. -* Second objects have overrided toString function, that throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T13.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with objects arguments of string.", - -test: function testcase() { - var __obj = {toString:function(){return {};}, valueOf:function(){return 1;}}; -var __obj2 = {toString:function(){throw "inreplaceValue";}}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = "ABB\u0041BABAB\u0031BBAA".replace(__obj, __obj2); - $FAIL('#1: var x = "ABB\\u0041BABAB\\u0031BBAA".replace(__obj,__obj2) lead to throwing exception'); -} catch (e) { - if (e!=="inreplaceValue") { - $ERROR('#1.1: Exception === "inreplaceValue". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T14.js deleted file mode 100644 index 8a6f378f0a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T14.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T14; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Instance is string, searchValue is regular expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T14.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Instance is string, searchValue is regular expression", - -test: function testcase() { - var __reg = new RegExp("77"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("ABB\u0041BABAB\u0037\u0037BBAA".replace(__reg, 1) !== "ABBABABAB\u0031BBAA") { - $ERROR('#1: var __reg = new RegExp("77"); "ABB\\u0041BABAB\\u0037\\u0037BBAA".replace(__reg, 1) === "ABBABABAB\\u0031BBAA". Actual: '+("ABB\u0041BABAB\u0037\u0037BBAA".replace(__reg, 1)) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T15.js deleted file mode 100644 index c89efd9657..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T15.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T15; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Instance is Object, searchValue is regular expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T15", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T15.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Instance is Object, searchValue is regular expression", - -test: function testcase() { - var __obj = {toString:function(){return /77/}}; - -var __instance = new Object(1100.00777001); - -Object.prototype.replace = String.prototype.replace; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __instance.replace(__obj, 1) === "1100.0017001"; - $FAIL('#1.0: x = __instance.replace(__obj, 1) === "1100.0017001" lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Exception is instance of TypeError. Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T16.js deleted file mode 100644 index 01e3e39b55..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T16.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T16; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Instance is Number, searchValue is regular expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T16", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T16.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Instance is Number, searchValue is regular expression", - -test: function testcase() { - var __re = /77/; - -var __instance = new Number(1100.00777001); - -Number.prototype.replace = String.prototype.replace; - -var __obj = {toString:function(){return function(a1,a2,a3){return a2+"z"};}} -//__obj = function(a1,a2,a3){return a2+"z"}; - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __instance.replace(__re, __obj) === "1100.007z7001"; - $FAIL('#1.0: x = __instance.replace(__obj, 1) === "1100.007z7001" lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Exception is instance of TypeError. Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T17.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T17.js deleted file mode 100644 index 72832db3c2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T17.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T17; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Instance is String object, searchValue is regular expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T17", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T17.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Instance is String object, searchValue is regular expression", - -test: function testcase() { - var __re = new RegExp(x,"g"); - -var __instance = String("asdf"); - -var __str = "1"; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.replace(__re, __str) !== "1a1s1d1f1") { - $ERROR('#1: var x; var __re = new RegExp(x,"g"); __instance = String("asdf"); __str = "1"; __instance.replace(__re, __str) === "1a1s1d1f1". Actual: '+__instance.replace(__re, __str) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T2.js deleted file mode 100644 index fcc933cdcd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T2; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Argument is function that return boolean, and instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T2.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Argument is function that return boolean, and instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.replace = String.prototype.replace; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.replace(function(){return false;}(),x) !== "undefined") { - $ERROR('#1: var x; __instance = new Boolean; __instance.replace = String.prototype.replace; __instance.replace(function(){return false;}(),x) === "undefined". Actual: '+__instance.replace(function(){return false;}(),x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3.js deleted file mode 100644 index 5f0ccbb65f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T3; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Checking by using eval", - -test: function testcase() { - replace = String.prototype.replace; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -__class__ = toString(); -__toggle = 1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -__replaced = replace(eval("\"b\""),"^"); - -__golden = ""; -for(var i=0; i<__class__.length; i++) { - if ((__class__.charAt(i)==="b")&&(__toggle)) { - __golden+="^"; - __toggle = 0; - } else { - __golden+=__class__.charAt(i); - } - -} -if (__replaced !==__golden) { - $ERROR('#1: __replaced ===__golden. Actual: '+__replaced ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T4.js deleted file mode 100644 index 2c1e7ad025..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T4; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with null and function(a1,a2,a3){return a2+"";} arguments of function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T4.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with null and function(a1,a2,a3){return a2+\"\";} arguments of function object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (function(){return "gnulluna"}().replace(null,function(a1,a2,a3){return a2+"";}) !== "g1una") { - $ERROR('#1: function(){return "gnulluna"}().replace(null,function(a1,a2,a3){return a2+"";}) === "g1una". Actual: '+function(){return "gnulluna"}().replace(null,function(a1,a2,a3){return a2+"";}) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T5.js deleted file mode 100644 index 6369fe0aac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T5.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T5; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with null and Function() arguments of function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T5.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with null and Function() arguments of function object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (function(){return "gnulluna"}().replace(null, Function()) !== "gundefineduna") { - $ERROR('#1: function(){return "gnulluna"}().replace(null, Function()) === "gundefineduna". Actual: '+function(){return "gnulluna"}().replace(null, Function()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T6.js deleted file mode 100644 index fff3e49bae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T6; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with x and Function("return arguments[1]+42;") arguments of new String object. x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T6.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with x and Function(\"return arguments[1]+42;\") arguments of new String object. x is undefined variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (new String("undefined").replace(x,Function("return arguments[1]+42;")) !== "42") { - $ERROR('#1: var x; new String("undefined").replace(x,Function("return arguments[1]+42;")) === "42". Actual: '+new String("undefined").replace(x,Function("return arguments[1]+42;")) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T7.js deleted file mode 100644 index af8bcc2429..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T7.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T7; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with string and undefined arguments of String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T7.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with string and undefined arguments of String object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String(void 0).replace("e",undefined) !== "undundefinedfined") { - $ERROR('#1: String(void 0).replace("e",undefined) === "undundefinedfined". Actual: '+String(void 0).replace("e",undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T8.js deleted file mode 100644 index b8aeaa4f10..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T8; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with regular expression and void 0 arguments of String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T8.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with regular expression and void 0 arguments of String object", - -test: function testcase() { - var __obj = {toString:function(){}}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String(__obj).replace(/e/g,void 0) !== "undundefinedfinundefinedd") { - $ERROR('#1: __obj = {toString:function(){}}; String(__obj).replace(/e/g,void 0) === "undundefinedfinundefinedd". Actual: '+String(__obj).replace(/e/g,void 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T9.js deleted file mode 100644 index fbf5d8c04a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T9.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T9; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Call replace (searchValue, replaceValue) function with functions arguments of new String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T9.js", - -assertion: "String.prototype.replace (searchValue, replaceValue)", - -description: "Call replace (searchValue, replaceValue) function with functions arguments of new String object", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (new String(__obj).replace(function(){}(),__func) !== "undefined0undefined") { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; function __func(a1,a2,a3){return a1+a2+a3;}; new String(__obj).replace(function(){}(),__func) === "undefined0undefined". Actual: '+new String(__obj).replace(function(){}(),__func) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func(a1,a2,a3){return a1+a2+a3;}; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T1.js deleted file mode 100644 index b2a8da92e1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T1; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Don`t use $ in replaceValue, searchValue is regular expression /sh/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T1.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Don`t use $ in replaceValue, searchValue is regular expression /sh/g", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/g; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re,'sch')!=='She sells seaschells by the seaschore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/g; __str.replace(__re,\'sch\')===\'She sells seaschells by the seaschore.\'. Actual: '+__str.replace(__re,'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T10.js deleted file mode 100644 index 6126c5e301..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T10.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T10; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Use $' in replaceValue, searchValue is regular expression /sh/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T10.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Use $\' in replaceValue, searchValue is regular expression /sh/", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, "$'" + 'sch')!=='She sells seaells by the seashore.schells by the seashore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/; __str.replace(__re, "$\'" + \'sch\')===\'She sells seaells by the seashore.schells by the seashore.\'. Actual: '+__str.replace(__re, "$'" + 'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T2.js deleted file mode 100644 index badfab6fe2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T2; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Use $$ in replaceValue, searchValue is regular expression /sh/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T2.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Use $$ in replaceValue, searchValue is regular expression /sh/g", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/g; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re,"$$" + 'sch')!=='She sells sea$schells by the sea$schore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/g; __str.replace(__re,"$$" + \'sch\')===\'She sells sea$schells by the sea$schore.\'. Actual: '+__str.replace(__re,"$$" + 'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T3.js deleted file mode 100644 index d313e932b3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T3; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Use $& in replaceValue, searchValue is regular expression /sh/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T3.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Use $& in replaceValue, searchValue is regular expression /sh/g", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/g; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re,"$&" + 'sch')!=='She sells seashschells by the seashschore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/g; __str.replace(__re,"$&" + \'sch\')===\'She sells seashschells by the seashschore.\'. Actual: '+__str.replace(__re,"$&" + 'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T4.js deleted file mode 100644 index 42d49d45d0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T4.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T4; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Use $` in replaceValue, searchValue is regular expression /sh/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T4.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Use $` in replaceValue, searchValue is regular expression /sh/g", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/g; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, "$`" + 'sch')!=='She sells seaShe sells seaschells by the seaShe sells seashells by the seaschore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/g; __str.replace(__re, "$`" + \'sch\')===\'She sells seaShe sells seaschells by the seaShe sells seashells by the seaschore.\'. Actual: '+__str.replace(__re, "$`" + 'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T5.js deleted file mode 100644 index 2554cc5d06..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T5; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Use $' in replaceValue, searchValue is regular expression /sh/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T5.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Use $\' in replaceValue, searchValue is regular expression /sh/g", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/g; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, "$'" + 'sch')!=='She sells seaells by the seashore.schells by the seaore.schore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/g; __str.replace(__re, "$\'" + \'sch\')===\'She sells seaells by the seashore.schells by the seaore.schore.\'. Actual: '+__str.replace(__re, "$'" + 'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T6.js deleted file mode 100644 index e1d742c5d0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T6.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T6; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Don`t use $ in replaceValue, searchValue is regular expression /sh/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T6.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Don`t use $ in replaceValue, searchValue is regular expression /sh/", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, 'sch')!=='She sells seaschells by the seashore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/; __str.replace(__re, \'sch\')===\'She sells seaschells by the seashore.\'. Actual: '+__str.replace(__re, 'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T7.js deleted file mode 100644 index 42628ff03e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T7.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T7; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Use $$ in replaceValue, searchValue is regular expression /sh/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T7.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Use $$ in replaceValue, searchValue is regular expression /sh/", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, "$$" + 'sch')!=='She sells sea$schells by the seashore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/; __str.replace(__re, "$$" + \'sch\')===\'She sells sea$schells by the seashore.\'. Actual: '+__str.replace(__re, "$$" + 'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T8.js deleted file mode 100644 index 551fc7203a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T8.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T8; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Use $& in replaceValue, searchValue is regular expression /sh/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T8.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Use $& in replaceValue, searchValue is regular expression /sh/", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, "$&" + 'sch')!=='She sells seashschells by the seashore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/; __str.replace(__re, "$&" + \'sch\')===\'She sells seashschells by the seashore.\'. Actual: '+__str.replace(__re, "$&" + 'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T9.js deleted file mode 100644 index 9a55416055..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T9.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A2_T9; -* @section: 15.5.4.11; -* @assertion: The $ replacements are done left-to-right, and, once such are placement is performed, the new -* replacement text is not subject to further replacements; -* @description: Use $` in replaceValue, searchValue is regular expression /sh/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A2_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A2_T9.js", - -assertion: "The $ replacements are done left-to-right, and, once such are placement is performed, the new", - -description: "Use $` in replaceValue, searchValue is regular expression /sh/", - -test: function testcase() { - var __str = 'She sells seashells by the seashore.'; -var __re = /sh/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, "$`" + 'sch')!=='She sells seaShe sells seaschells by the seashore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/; __str.replace(__re, "$`" + \'sch\')===\'She sells seaShe sells seaschells by the seashore.\'. Actual: '+__str.replace(__re, "$`" + 'sch')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T1.js deleted file mode 100644 index 2ac4b8ca61..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A3_T1; -* @section: 15.5.4.11; -* @assertion: replace with regexp /(uid=)(\d+)/ returns; -* @description: replaceValue is "$11" + 15; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A3_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T1.js", - -assertion: "replace with regexp /(uid=)(\\d+)/ returns", - -description: "replaceValue is \"$11\" + 15", - -test: function testcase() { - var __str = 'uid=31'; -var __re = /(uid=)(\d+)/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, "$11" + 15)!=='uid=115') { - $ERROR('#1: var __str = \'uid=31\'; var __re = /(uid=)(\d+)/; __str.replace(__re, "$11" + 15)===\'uid=115\'. Actual: '+__str.replace(__re, "$11" + 15)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T2.js deleted file mode 100644 index 5dfe6576ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T2.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A3_T2; -* @section: 15.5.4.11; -* @assertion: replace with regexp /(uid=)(\d+)/ returns; -* @description: replaceValue is "$11" + '15'; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A3_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T2.js", - -assertion: "replace with regexp /(uid=)(\\d+)/ returns", - -description: "replaceValue is \"$11\" + \'15\'", - -test: function testcase() { - var __str = 'uid=31'; -var __re = /(uid=)(\d+)/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, "$11" + '15')!=='uid=115') { - $ERROR('#1: var __str = \'uid=31\'; var __re = /(uid=)(\d+)/; __str.replace(__re, "$11" + \'15\')===\'uid=115\'. Actual: '+__str.replace(__re, "$11" + '15')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T3.js deleted file mode 100644 index b549149ea1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A3_T3; -* @section: 15.5.4.11; -* @assertion: replace with regexp /(uid=)(\d+)/ returns; -* @description: replaceValue is "$11" + 'A15'; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A3_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A3_T3.js", - -assertion: "replace with regexp /(uid=)(\\d+)/ returns", - -description: "replaceValue is \"$11\" + \'A15\'", - -test: function testcase() { - var __str = 'uid=31'; -var __re = /(uid=)(\d+)/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__re, "$11" + 'A15')!=='uid=1A15' ) { - $ERROR('#1: var __str = \'uid=31\'; var __re = /(uid=)(\d+)/; __str.replace(__re, "$11" + \'A15\')===\'uid=1A15\' . Actual: '+__str.replace(__re, "$11" + 'A15')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T1.js deleted file mode 100644 index 8c12fc904b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A4_T1; -* @section: 15.5.4.11; -* @assertion: replace with regexp /([a-z]+)([0-9]+)/ and replace function returns ; -* @description: searchValue is /([a-z]+)([0-9]+)/; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A4_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T1.js", - -assertion: "replace with regexp /([a-z]+)([0-9]+)/ and replace function returns", - -description: "searchValue is /([a-z]+)([0-9]+)/", - -test: function testcase() { - var __str = "abc12 def34"; -var __pattern = /([a-z]+)([0-9]+)/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__pattern, __replFN)!=='12abc def34') { - $ERROR('#1: var __str = "abc12 def34"; var __pattern = /([a-z]+)([0-9]+)/; function __replFN() {return arguments[2] + arguments[1];}; __str.replace(__pattern, __replFN)===\'12abc def34\'. Actual: '+__str.replace(__pattern, __replFN)); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __replFN() { - return arguments[2] + arguments[1]; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T2.js deleted file mode 100644 index 9eebb872fc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T2.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A4_T2; -* @section: 15.5.4.11; -* @assertion: replace with regexp /([a-z]+)([0-9]+)/ and replace function returns ; -* @description: searchValue is /([a-z]+)([0-9]+)/g; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A4_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T2.js", - -assertion: "replace with regexp /([a-z]+)([0-9]+)/ and replace function returns", - -description: "searchValue is /([a-z]+)([0-9]+)/g", - -test: function testcase() { - var __str = "abc12 def34"; -var __pattern = /([a-z]+)([0-9]+)/g; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__pattern, __replFN)!=='12abc 34def') { - $ERROR('#1: var __str = "abc12 def34"; var __pattern = /([a-z]+)([0-9]+)/g; function __replFN() {return arguments[2] + arguments[1];}; __str.replace(__pattern, __replFN)===\'12abc 34def\'. Actual: '+__str.replace(__pattern, __replFN)); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __replFN() { - return arguments[2] + arguments[1]; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T3.js deleted file mode 100644 index 80dad14e9a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A4_T3; -* @section: 15.5.4.11; -* @assertion: replace with regexp /([a-z]+)([0-9]+)/ and replace function returns ; -* @description: searchValue is /([a-z]+)([0-9]+)/i; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A4_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T3.js", - -assertion: "replace with regexp /([a-z]+)([0-9]+)/ and replace function returns", - -description: "searchValue is /([a-z]+)([0-9]+)/i", - -test: function testcase() { - var __str = "aBc12 def34"; -var __pattern = /([a-z]+)([0-9]+)/i; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__pattern, __replFN)!=='12aBc def34') { - $ERROR('#1: var __str = "aBc12 def34"; var __pattern = /([a-z]+)([0-9]+)/i; function __replFN() {return arguments[2] + arguments[1];}; __str.replace(__pattern, __replFN)===\'12aBc def34\'. Actual: '+__str.replace(__pattern, __replFN)); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __replFN() { - return arguments[2] + arguments[1]; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T4.js deleted file mode 100644 index d8b43cdc75..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A4_T4; -* @section: 15.5.4.11; -* @assertion: replace with regexp /([a-z]+)([0-9]+)/ and replace function returns ; -* @description: searchValue is /([a-z]+)([0-9]+)/ig; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A4_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A4_T4.js", - -assertion: "replace with regexp /([a-z]+)([0-9]+)/ and replace function returns", - -description: "searchValue is /([a-z]+)([0-9]+)/ig", - -test: function testcase() { - var __str = "aBc12 dEf34"; -var __pattern = /([a-z]+)([0-9]+)/ig; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__pattern, __replFN)!=='12aBc 34dEf') { - $ERROR('#1: var __str = "aBc12 dEf34"; var __pattern = /([a-z]+)([0-9]+)/ig; function __replFN() {return arguments[2] + arguments[1];}; __str.replace(__pattern, __replFN)===\'12aBc 34dEf\'. Actual: '+__str.replace(__pattern, __replFN)); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __replFN() { - return arguments[2] + arguments[1]; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A5_T1.js deleted file mode 100644 index 349ab6a9e9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A5_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A5_T1; -* @section: 15.5.4.11; -* @assertion: Use replace with regexp as searchValue and use $ in replaceValue; -* @description: searchValue is regexp /^(a+)\1*,\1+$/ and replaceValue is "$1"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A5_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A5_T1.js", - -assertion: "Use replace with regexp as searchValue and use $ in replaceValue", - -description: "searchValue is regexp /^(a+)\\1*,\\1+$/ and replaceValue is \"$1\"", - -test: function testcase() { - var __str = "aaaaaaaaaa,aaaaaaaaaaaaaaa"; -var __pattern = /^(a+)\1*,\1+$/; -var __repl = "$1"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str.replace(__pattern, __repl)!=='aaaaa') { - $ERROR('#1: var __str = "aaaaaaaaaa,aaaaaaaaaaaaaaa"; var __pattern = /^(a+)\1*,\1+$/; var __repl = "$1"; __str.replace(__pattern, __repl)===\'aaaaa\'. Actual: '+__str.replace(__pattern, __repl)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A6.js deleted file mode 100644 index 2688886b61..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A6.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A6; -* @section: 15.5.4.11, 13.2; -* @assertion: String.prototype.replace has not prototype property; -* @description: Checking String.prototype.replace.prototype; -* -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A6.js", - -assertion: "String.prototype.replace has not prototype property", - -description: "Checking String.prototype.replace.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.replace.prototype !== undefined) { - $ERROR('#1: String.prototype.replace.prototype === undefined. Actual: '+String.prototype.replace.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A7.js deleted file mode 100644 index be2287863c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A7.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A7; -* @section: 15.5.4.11, 13.2; -* @assertion: String.prototype.replace can't be used as constructor; -* @description: Checking if creating the String.prototype.replace object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A7.js", - -assertion: "String.prototype.replace can\'t be used as constructor", - -description: "Checking if creating the String.prototype.replace object fails", - -test: function testcase() { - var __FACTORY = String.prototype.replace; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.replace; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) {} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A8.js deleted file mode 100644 index 870be14590..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A8; -* @section: 15.5.4.11; -* @assertion: The String.prototype.replace.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.replace.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A8.js", - -assertion: "The String.prototype.replace.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.replace.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.replace.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.replace.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.replace.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.replace.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.replace.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -count=0; - -for (p in String.prototype.replace){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.replace){if (p==="length") count++;} count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A9.js deleted file mode 100644 index 7ae6b7bc99..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A9; -* @section: 15.5.4.11; -* @assertion: The String.prototype.replace.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.replace.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.11_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A9.js", - -assertion: "The String.prototype.replace.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.replace.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.replace.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.replace.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.replace.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.replace.length) { - $ERROR('#1: delete String.prototype.replace.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.replace.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.replace.length; String.prototype.replace.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.replace.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1.1_T1.js deleted file mode 100644 index 1c02de7420..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1.1_T1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1.1_T1; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) without arguments behaves like with argument "undefined"; -* @description: Call search() is the same search(undefined); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1.1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1.1_T1.js", - -assertion: "String.prototype.search (regexp) without arguments behaves like with argument \"undefined\"", - -description: "Call search() is the same search(undefined)", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -var x = "".search(); -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A10.js deleted file mode 100644 index fd77294ba4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A10; -* @section: 15.5.4.12; -* @assertion: The String.prototype.search.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.search.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A10.js", - -assertion: "The String.prototype.search.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.search.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.search.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.search.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.search.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.search.length; - -String.prototype.search.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.search.length !== __obj) { - $ERROR('#2: __obj = String.prototype.search.length; String.prototype.search.length = function(){return "shifted";}; String.prototype.search.length === __obj. Actual: '+String.prototype.search.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A11.js deleted file mode 100644 index 3c30476674..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A11; -* @section: 15.5.4.12; -* @assertion: The length property of the search method is 1; -* @description: Checking String.prototype.search.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A11.js", - -assertion: "The length property of the search method is 1", - -description: "Checking String.prototype.search.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.search.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.search.hasOwnProperty("length") return true. Actual: '+String.prototype.search.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.search.length !== 1) { - $ERROR('#2: String.prototype.search.length === 1. Actual: '+String.prototype.search.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T1.js deleted file mode 100644 index 2c5128d633..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T1; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T1.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.search = String.prototype.search; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.search(true) !== 0) { - $ERROR('#1: __instance = new Object(true); __instance.search = String.prototype.search; __instance.search(true) === 0. Actual: '+__instance.search(true) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T10.js deleted file mode 100644 index 19a4a4edf5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T10.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T10; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is object, and instance is string. -* Object with overrided toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T10.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is object, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}}; -var __str = "ssABB\u0041BABAB"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (search(__obj) !==2) { - $ERROR('#1: var __obj = {toString:function(){return "\u0041B";}}; var __str = "ssABB\u0041BABAB"; search(__obj) ===2. Actual: '+search(__obj) ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T11.js deleted file mode 100644 index 5f4cece7ba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T11.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T11; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is object, and instance is string. -* Object with overrided toString function, that throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T11.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is object, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr";}} -var __str = {str__:"ABB\u0041BABAB"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - with(str__){ - try { - var x = search(__obj); - $FAIL('#1: var x = search(__obj) lead to throwing exception'); - } catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T12.js deleted file mode 100644 index 6068f0d19b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T12.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T12; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is object, and instance is string. -* Object with overrided toString and valueOf functions, valueOf throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T12.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is object, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}} -var __str = new String("ABB\u0041BABAB"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - try { - var x = search(__obj); - $FAIL('#1: var x = search(__obj) lead to throwing exception'); - } catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T13.js deleted file mode 100644 index 46fbbf65b2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T13.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T13; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is object, and instance is string. -* Object with overrided toString and valueOf functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T13.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is object, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){return 1;}} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("ABB\u0041B\u0031ABAB\u0031BBAA".search(__obj) !==5) { - $ERROR('#1: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; "ABB\\u0041B\\u0031ABAB\\u0031BBAA".search(__obj) ===5. Actual: '+("ABB\u0041B\u0031ABAB\u0031BBAA".search(__obj)) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T14.js deleted file mode 100644 index 735cf6a385..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T14.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T14; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Instance is string, argument is regular expression; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T14.js", - -assertion: "String.prototype.search (regexp)", - -description: "Instance is string, argument is regular expression", - -test: function testcase() { - var __reg = new RegExp("77"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("ABB\u0041BABAB\u0037\u0037BBAA".search(__reg) !== 9) { - $ERROR('#1: var __reg = new RegExp("77"); "ABB\\u0041BABAB\\u0037\\u0037BBAA".search(__reg) === 9. Actual: '+("ABB\u0041BABAB\u0037\u0037BBAA".search(__reg)) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T2.js deleted file mode 100644 index ed740d72cb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T2; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is function call, and instance is Boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T2.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is function call, and instance is Boolean", - -test: function testcase() { - var __instance = new Boolean; - -__instance.search = String.prototype.search; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.search(function(){return false;}()) !== 0) { - $ERROR('#1: __instance = new Boolean; __instance.search = String.prototype.search; __instance.search(function(){return false;}()) === 0. Actual: '+__instance.search(function(){return false;}()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3.js deleted file mode 100644 index e0978527c8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T3; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3.js", - -assertion: "String.prototype.search (regexp)", - -description: "Checking by using eval", - -test: function testcase() { - var search = String.prototype.search; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (search(eval("\"bj\"")) !== 2) { - $ERROR('#1: search = String.prototype.search; search(eval("\\"bj\\"")) === 2. Actual: '+search(eval("\"bj\"")) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T4.js deleted file mode 100644 index 1332dd671f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T4.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T4; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Call search (regexp) without arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T4.js", - -assertion: "String.prototype.search (regexp)", - -description: "Call search (regexp) without arguments", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString() evaluates to "" search() evaluates to search("") -if ("".search() !== 0) { - $ERROR('#1: "".search() === 0. Actual: '+("".search()) ); -} - -if ("--undefined--".search() != 0) { - $ERROR('#1: "--undefined--".search() === 0. Actual: '+("--undefined--".search()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T5.js deleted file mode 100644 index b105db1bdd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T5; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is null, and instance is function call, that return string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T5.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is null, and instance is function call, that return string", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(null) evaluates to "null" search(null) evaluates to search("null") -if (function(){return "gnulluna"}().search(null) !== 1) { - $ERROR('#1: function(){return "gnulluna"}().search(null) === 1. Actual: '+function(){return "gnulluna"}().search(null) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T6.js deleted file mode 100644 index e863001285..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T6; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is x, and instance is new String, x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T6.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is x, and instance is new String, x is undefined variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" search(undefined) evaluates to search("undefined") -if (new String("undefined").search(x) !== 0) { - $ERROR('#1: var x; new String("undefined").search(x) === 0. Actual: '+new String("undefined").search(x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T7.js deleted file mode 100644 index cf18bbbfd9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T7; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is undefined, and instance is new String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T7.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is undefined, and instance is new String", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" search(undefined) evaluates to search("undefined") -if (String("undefined").search(undefined) !== 0) { - $ERROR('#1: String("undefined").search(undefined) === 0. Actual: '+String("undefined").search(undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T8.js deleted file mode 100644 index f34c09b621..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T8; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is void 0, and instance is String object with overrided toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T8.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is void 0, and instance is String object with overrided toString function", - -test: function testcase() { - var __obj = {toString:function(){}}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(void 0) evaluates to "undefined" search(void 0) evaluates to search("undefined") -if (String(__obj).search(void 0) !== 0) { - $ERROR('#1: __obj = {toString:function(){}}; String(__obj).search(void 0) === 0. Actual: '+String(__obj).search(void 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T9.js deleted file mode 100644 index 083246db1c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T9; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Argument is function call, and instance is String object with overrided toString and valueOf functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T9.js", - -assertion: "String.prototype.search (regexp)", - -description: "Argument is function call, and instance is String object with overrided toString and valueOf functions", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" search(undefined) evaluates to search("undefined") -if (new String(__obj).search(function(){}()) !== 0) { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; new String(__obj).search(function(){}()) === 0. Actual: '+new String(__obj).search(function(){}()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T1.js deleted file mode 100644 index e9c10c8fc9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A2_T1; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) returns ...; -* @description: Simple search substring inside string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T1.js", - -assertion: "String.prototype.search (regexp) returns ...", - -description: "Simple search substring inside string", - -test: function testcase() { - var aString = new String("test string"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (aString.search("string")!== 5) { - $ERROR('#1: var aString = new String("test string"); aString.search("string")=== 5. Actual: '+aString.search("string")); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T2.js deleted file mode 100644 index e5094bdb17..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A2_T2; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) returns ...; -* @description: Checking case sensitive of search, argument is string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T2.js", - -assertion: "String.prototype.search (regexp) returns ...", - -description: "Checking case sensitive of search, argument is string", - -test: function testcase() { - var aString = new String("test string"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (aString.search("String")!== -1) { - $ERROR('#1: var aString = new String("test string"); aString.search("String")=== -1. Actual: '+aString.search("String")); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T3.js deleted file mode 100644 index f208545d08..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A2_T3; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) returns ...; -* @description: Checking disabling of case sensitive of search, argument is RegExp; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A2_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T3.js", - -assertion: "String.prototype.search (regexp) returns ...", - -description: "Checking disabling of case sensitive of search, argument is RegExp", - -test: function testcase() { - var aString = new String("test string"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (aString.search(/String/i)!== 5) { - $ERROR('#1: var aString = new String("test string"); aString.search(/String/i)=== 5. Actual: '+aString.search(/String/i)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T4.js deleted file mode 100644 index 119e2e3407..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A2_T4; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) returns ...; -* @description: Checking case sensitive of search, argument is RegExp with uppercase symbols; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A2_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T4.js", - -assertion: "String.prototype.search (regexp) returns ...", - -description: "Checking case sensitive of search, argument is RegExp with uppercase symbols", - -test: function testcase() { - var bString = new String("one two three four five"); -var regExp = /Four/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (bString.search(regExp)!== -1) { - $ERROR('#1: var bString = new String("one two three four five"); var regExp = /Four/; bString.search(regExp)=== -1. Actual: '+bString.search(regExp)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T5.js deleted file mode 100644 index 8a4227228f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T5.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A2_T5; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) returns ...; -* @description: Checking case sensitive of search, argument is RegExp without uppercase symbols; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A2_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T5.js", - -assertion: "String.prototype.search (regexp) returns ...", - -description: "Checking case sensitive of search, argument is RegExp without uppercase symbols", - -test: function testcase() { - var bString = new String("one two three four five"); -var regExp = /four/; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (bString.search(regExp)!== 14) { - $ERROR('#1: var bString = new String("one two three four five"); var regExp = /four/; bString.search(regExp)=== 14. Actual: '+bString.search(regExp)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T6.js deleted file mode 100644 index c4a1e0ecfc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A2_T6; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) returns ...; -* @description: Searching the non-existent "notexist" substring; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A2_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T6.js", - -assertion: "String.prototype.search (regexp) returns ...", - -description: "Searching the non-existent \"notexist\" substring", - -test: function testcase() { - var aString = new String("test string"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (aString.search("notexist")!== -1) { - $ERROR('#1: var aString = new String("test string"); aString.search("notexist")=== -1. Actual: '+aString.search("notexist")); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T7.js deleted file mode 100644 index 6a2be489db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A2_T7; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) returns ...; -* @description: Simple search sentence inside string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A2_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A2_T7.js", - -assertion: "String.prototype.search (regexp) returns ...", - -description: "Simple search sentence inside string", - -test: function testcase() { - var aString = new String("test string probe"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (aString.search("string pro")!== 5) { - $ERROR('#1: var aString = new String("test string probe"); aString.search("string pro")=== 5. Actual: '+aString.search("string pro")); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T1.js deleted file mode 100644 index 976997c9a3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A3_T1; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) ignores global properties of regexp; -* @description: Checking results of search regexp with and without global properties; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A3_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T1.js", - -assertion: "String.prototype.search (regexp) ignores global properties of regexp", - -description: "Checking results of search regexp with and without global properties", - -test: function testcase() { - var aString = new String("power of the power of the power of the power of the power of the power of the great sword"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (aString.search(/the/)!== aString.search(/the/g)) { - $ERROR('#1: var aString = new String("power of the power of the power of the power of the power of the power of the great sword"); aString.search(/the/)=== aString.search(/the/g). Actual: '+aString.search(/the/)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T2.js deleted file mode 100644 index b007ed84c5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A3_T2; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp) ignores global properties of regexp; -* @description: Checking results of search regexp with and without global properties. Unicode symbols used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A3_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A3_T2.js", - -assertion: "String.prototype.search (regexp) ignores global properties of regexp", - -description: "Checking results of search regexp with and without global properties. Unicode symbols used", - -test: function testcase() { - var aString = new String("power \u006F\u0066 the power of the power \u006F\u0066 the power of the power \u006F\u0066 the power of the great sword"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (aString.search(/of/)!== aString.search(/of/g)) { - $ERROR('#1: var aString = new String("power \\u006F\\u0066 the power of the power \\u006F\\u0066 the power of the power \\u006F\\u0066 the power of the great sword"); aString.search(/of/)=== aString.search(/of/g). Actual: '+aString.search(/of/)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A6.js deleted file mode 100644 index 25ab6b4f0f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A6; -* @section: 15.5.4.12, 13.2; -* @assertion: String.prototype.search has not prototype property; -* @description: Checking String.prototype.search.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A6.js", - -assertion: "String.prototype.search has not prototype property", - -description: "Checking String.prototype.search.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.search.prototype !== undefined) { - $ERROR('#1: String.prototype.search.prototype === undefined. Actual: '+String.prototype.search.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A7.js deleted file mode 100644 index 9b05e08840..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A7.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A7; -* @section: 15.5.4.12, 13.2; -* @assertion: String.prototype.search can't be used as constructor; -* @description: Checking if creating the String.prototype.search object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A7.js", - -assertion: "String.prototype.search can\'t be used as constructor", - -description: "Checking if creating the String.prototype.search object fails", - -test: function testcase() { - var __FACTORY = String.prototype.search; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.search; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.1: __FACTORY = String.prototype.search; "__instance = new __FACTORY" throw a TypeError. Actual: ' + (e)); - } - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A8.js deleted file mode 100644 index 34b4a3a1b3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A8; -* @section: 15.5.4.12; -* @assertion: The String.prototype.search.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.search.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A8.js", - -assertion: "The String.prototype.search.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.search.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.search.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.search.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.search.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.search.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.search.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.search){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.search){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A9.js deleted file mode 100644 index 59d4ff2095..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A9; -* @section: 15.5.4.12; -* @assertion: The String.prototype.search.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.search.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.12_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A9.js", - -assertion: "The String.prototype.search.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.search.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.search.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.search.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.search.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.search.length) { - $ERROR('#1: delete String.prototype.search.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.search.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.search.length; String.prototype.search.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.search.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A10.js deleted file mode 100644 index d9ad68fdca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A10; -* @section: 15.5.4.13; -* @assertion: The String.prototype.slice.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.slice.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A10.js", - -assertion: "The String.prototype.slice.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.slice.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.slice.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.slice.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.slice.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.slice.length; - -String.prototype.slice.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.slice.length !== __obj) { - $ERROR('#2: __obj = String.prototype.slice.length; String.prototype.slice.length = function(){return "shifted";}; String.prototype.slice.length === __obj. Actual: '+String.prototype.slice.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A11.js deleted file mode 100644 index cfeed74789..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A11; -* @section: 15.5.4.13; -* @assertion: The length property of the slice method is 2; -* @description: Checking String.prototype.slice.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A11.js", - -assertion: "The length property of the slice method is 2", - -description: "Checking String.prototype.slice.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.slice.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.slice.hasOwnProperty("length") return true. Actual: '+String.prototype.slice.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.slice.length !== 2) { - $ERROR('#2: String.prototype.slice.length === 2. Actual: '+String.prototype.slice.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T1.js deleted file mode 100644 index c7fbba752b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T1; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are false and true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T1.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are false and true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.slice = String.prototype.slice; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.slice(false, true) !== "t") { - $ERROR('#1: __instance = new Object(true); __instance.slice = String.prototype.slice; __instance.slice(false, true) === "t". Actual: '+__instance.slice(false, true) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T10.js deleted file mode 100644 index 5118290f24..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T10.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T10; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are object and function call, and instance is String, object have overrided valueOf function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T10.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are object and function call, and instance is String, object have overrided valueOf function", - -test: function testcase() { - var __obj = {valueOf:function(){return 2;}}; - -var __str = "\u0035ABBBABAB"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (slice(__obj, function(){return slice(0,1);}()) !== "BBB") { - $ERROR('#1: var x; var __obj = {valueOf:function(){return 2;}}; var __str = "\u0035ABBBABAB"; slice(__obj, function(){return slice(0,1);}()) === "BBB". Actual: '+slice(__obj, function(){return slice(0,1);}()) ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T11.js deleted file mode 100644 index 2ad17f102d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T11.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T11; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are objects, and instance is string, objects have overrided valueOf function, that return exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T11.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are objects, and instance is string, objects have overrided valueOf function, that return exception", - -test: function testcase() { - var __obj = {valueOf:function(){throw "instart";}}; -var __obj2 = {valueOf:function(){throw "inend";}}; -var __str = {str__:"ABB\u0041BABAB"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - with(str__){ - try { - var x = slice(__obj,__obj2); - $FAIL('#1: "var x = slice(__obj,__obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="instart") { - $ERROR('#1.1: Exception === "instart". Actual: '+e); - } - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T12.js deleted file mode 100644 index 8f08f54e6c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T12.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T12; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are objects, and instance is string. -* First object have overrided valueOf function and toString function, that return exception. -* Second object have overrided valueOf function, that return exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T12.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {valueOf:function(){return {};}, toString:function(){throw "instart";}}; -var __obj2 = {valueOf:function(){throw "inend";}}; -var __str = new String("ABB\u0041BABAB"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - try { - var x = slice(__obj, __obj2); - $FAIL('#1: "var x = slice(__obj,__obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="instart") { - $ERROR('#1.1: Exception === "instart". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T13.js deleted file mode 100644 index f1dad0e537..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T13.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T13; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are objects, and instance is string. -* First object have overrided valueOf and toString functions. -* Second object have overrided toString function, that return exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T13.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {valueOf:function(){return {};}, toString:function(){return 1;}}; -var __obj2 = {toString:function(){throw "inend";}}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = "ABB\u0041BABAB\u0031BBAA".slice(__obj, __obj2); - $FAIL('#1: "var x = slice(__obj,__obj2)" lead to throwing exception'); -} catch (e) { - if (e!=="inend") { - $ERROR('#1.1: Exception === "inend". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T14.js deleted file mode 100644 index dbb42e548a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T14.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T14; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Used one argument, that is function(){}(). Instance is string; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T14.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Used one argument, that is function(){}(). Instance is string", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("report".slice(function(){}()) !== "report") { - $ERROR('#1: "report".slice(function(){}()) === "report". Actual: '+"report".slice(function(){}()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T15.js deleted file mode 100644 index 12b4fec4dc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T15.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T15; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Call slice without arguments. Instance is Number with prototype.slice = String.prototype.slice; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T15", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T15.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Call slice without arguments. Instance is Number with prototype.slice = String.prototype.slice", - -test: function testcase() { - var __num = 11.001002; - -Number.prototype.slice = String.prototype.slice; - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__num.slice()!=="11.001002") { - $ERROR('#1: var __num = 11.001002; Number.prototype.slice = String.prototype.slice; __num.slice()==="11.001002". Actual: '+__num.slice()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T2.js deleted file mode 100644 index 92a58118d5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T2; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are function call and x, and instance is Boolean. x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T2.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are function call and x, and instance is Boolean. x is undefined variable", - -test: function testcase() { - var __instance = new Boolean; - -__instance.slice = String.prototype.slice; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.slice(function(){return true;}(),x) !== "alse") { - $ERROR('#1: var x; __instance = new Boolean; __instance.slice = String.prototype.slice; __instance.slice(function(){return true;}(),x) === "alse". Actual: '+__instance.slice(function(){return true;}(),x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T3.js deleted file mode 100644 index d050c70cfd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T3; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T3.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Checking by using eval", - -test: function testcase() { - var slice = String.prototype.slice; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -var __class__ = toString(); -var __toggle = 1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (slice(eval("\"1\""),{valueOf:function(){return "0x0007"}})!=="object") { - $ERROR('#1: slice = String.prototype.slice; slice(eval("\\"1\\""),{valueOf:function(){return "0x0007"}})==="object". Actual: '+slice(eval("\"1\""),{valueOf:function(){return "0x0007"}})); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T4.js deleted file mode 100644 index 63cb13c29b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T4; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are null and number, and instance is function call, that returned string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T4.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are null and number, and instance is function call, that returned string", - -test: function testcase() { - //since ToInteger(null) yelds 0 -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (function(){return "gnulluna"}().slice(null, -3) !== "gnull") { - $ERROR('#1: function(){return "gnulluna"}().slice(null, -3) === "gnull". Actual: '+function(){return "gnulluna"}().slice(null, -3) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T5.js deleted file mode 100644 index 6aca3a8b32..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T5.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T5; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are null and call other slice(start, end), and instance is function object, that have overrided valueOf and toString functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T5.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are null and call other slice(start, end), and instance is function object, that have overrided valueOf and toString functions", - -test: function testcase() { - __func.valueOf=function(){return "gnulluna"}; -__func.toString=function(){return __func;}; - -Function.prototype.slice=String.prototype.slice; - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func.slice(null, Function().slice(__func,5).length) !== "gnull") { - $ERROR('#1: __func.slice(null, Function().slice(__func,5).length) === "gnull". Actual: '+__func.slice(null, Function().slice(__func,5).length) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func(){}; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T6.js deleted file mode 100644 index bf247620c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T6; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are x and number, and instance is new String, x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T6.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are x and number, and instance is new String, x is undefined variable", - -test: function testcase() { - //since ToInteger(undefined yelds 0) -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (new String("undefined").slice(x,3) !== "und") { - $ERROR('#1: var x; new String("undefined").slice(x,3) === "und". Actual: '+new String("undefined").slice(x,3) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T7.js deleted file mode 100644 index c22803af7d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T7; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are symbol and undefined, and instance is String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T7.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are symbol and undefined, and instance is String", - -test: function testcase() { - //since ToInteger("e") yelds 0 -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String(void 0).slice("e",undefined) !== "undefined") { - $ERROR('#1: String(void 0).slice("e",undefined) === "undefined". Actual: '+String(void 0).slice("e",undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T8.js deleted file mode 100644 index 71b92d97f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T8; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are negative number and void 0, and instance is String(object), object have overrided toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T8.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are negative number and void 0, and instance is String(object), object have overrided toString function", - -test: function testcase() { - __obj = {toString:function(){}}; - -//since void 0 yelds 0 -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String(__obj).slice(-4,void 0) !== "ined") { - $ERROR('#1: __obj = {toString:function(){}}; String(__obj).slice(-4,void 0) === "ined". Actual: '+String(__obj).slice(-4,void 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T9.js deleted file mode 100644 index a0d3802d40..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T9; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Arguments are undefined and object, and instance is String(object), object have overrided valueOf and toString functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T9.js", - -assertion: "String.prototype.slice (start, end)", - -description: "Arguments are undefined and object, and instance is String(object), object have overrided valueOf and toString functions", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -//since ToInteger(undefined) yelds 0 -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (new String(__obj).slice(/*(function(){})()*/undefined,__obj) !== "") { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; new String(__obj).slice(//*(function(){})()*//undefined,__obj) === "". Actual: '+new String(__obj).slice(/*(function(){})()*/undefined,__obj) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T1.js deleted file mode 100644 index 9f1cc507dc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A2_T1; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) returns a string value(not object); -* @description: Checking type of slice(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T1.js", - -assertion: "String.prototype.slice (start, end) returns a string value(not object)", - -description: "Checking type of slice()", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __string.slice() !== "string") { - $ERROR('#1: __string = new String("this is a string object"); typeof __string.slice() === "string". Actual: '+typeof __string.slice() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T2.js deleted file mode 100644 index 63ccda29fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A2_T2; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) returns a string value(not object); -* @description: start is NaN, end is Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T2.js", - -assertion: "String.prototype.slice (start, end) returns a string value(not object)", - -description: "start is NaN, end is Infinity", - -test: function testcase() { - var __string = new String('this is a string object'); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.slice(NaN, Infinity) !== "this is a string object") { - $ERROR('#1: __string = new String(\'this is a string object\'); __string.slice(NaN, Infinity) === "this is a string object". Actual: '+__string.slice(NaN, Infinity) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T3.js deleted file mode 100644 index fa551f406f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A2_T3; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) returns a string value(not object); -* @description: Call slice from empty String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A2_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T3.js", - -assertion: "String.prototype.slice (start, end) returns a string value(not object)", - -description: "Call slice from empty String object", - -test: function testcase() { - var __string = new String(""); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.slice(1,0) !== "") { - $ERROR('#1: __string = new String(""); __string.slice(1,0) === "". Actual: '+__string.slice(1,0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T4.js deleted file mode 100644 index 41ea5b86b4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A2_T4; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) returns a string value(not object); -* @description: start is Infinity, end is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A2_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T4.js", - -assertion: "String.prototype.slice (start, end) returns a string value(not object)", - -description: "start is Infinity, end is NaN", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.slice(Infinity, NaN) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.slice(Infinity, NaN) === "". Actual: '+__string.slice(Infinity, NaN) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T5.js deleted file mode 100644 index 797262198d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A2_T5; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) returns a string value(not object); -* @description: start is Infinity, end is Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A2_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T5.js", - -assertion: "String.prototype.slice (start, end) returns a string value(not object)", - -description: "start is Infinity, end is Infinity", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.slice(Infinity, Infinity) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.slice(Infinity, Infinity) === "". Actual: '+__string.slice(Infinity, Infinity) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T6.js deleted file mode 100644 index a32054f6fc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A2_T6; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) returns a string value(not object); -* @description: start is negative float number, end is 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A2_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T6.js", - -assertion: "String.prototype.slice (start, end) returns a string value(not object)", - -description: "start is negative float number, end is 0", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.slice(-0.01,0) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.slice(-0.01,0) === "". Actual: '+__string.slice(-0.01,0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T7.js deleted file mode 100644 index 885b35c9d4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A2_T7; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) returns a string value(not object); -* @description: start is tested_string.length, end is tested_string.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A2_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T7.js", - -assertion: "String.prototype.slice (start, end) returns a string value(not object)", - -description: "start is tested_string.length, end is tested_string.length", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.slice(__string.length, __string.length) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.slice(__string.length, __string.length) === "". Actual: '+__string.slice(__string.length, __string.length) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T8.js deleted file mode 100644 index 980a3b29c3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A2_T8; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) returns a string value(not object); -* @description: start is tested_string.length+1, end is 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A2_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T8.js", - -assertion: "String.prototype.slice (start, end) returns a string value(not object)", - -description: "start is tested_string.length+1, end is 0", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.slice(__string.length+1, 0) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.slice(__string.length+1, 0) === "". Actual: '+__string.slice(__string.length+1, 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T9.js deleted file mode 100644 index 2cdf3f1ae3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T9.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A2_T9; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) returns a string value(not object); -* @description: start is -Infinity, end is -Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A2_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A2_T9.js", - -assertion: "String.prototype.slice (start, end) returns a string value(not object)", - -description: "start is -Infinity, end is -Infinity", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.slice(-Infinity, -Infinity) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.slice(-Infinity, -Infinity) === "". Actual: '+__string.slice(-Infinity, -Infinity) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T1.js deleted file mode 100644 index 5087c7cccc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A3_T1; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) can be applied to object instances; -* @description: Apply String.prototype.slice to Object instance; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A3_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T1.js", - -assertion: "String.prototype.slice (start, end) can be applied to object instances", - -description: "Apply String.prototype.slice to Object instance", - -test: function testcase() { - var __instance = new Object(); - -__instance.slice = String.prototype.slice; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.slice(0,8) !== "[object ") { - $ERROR('#1: __instance = new Object(); __instance.slice = String.prototype.slice; __instance.slice(0,8) === "[object ". Actual: '+__instance.slice(0,8) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T2.js deleted file mode 100644 index 3fcfde28a7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A3_T2; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) can be applied to object instances; -* @description: Apply String.prototype.slice to Object instance, use other value for start and end values; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A3_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T2.js", - -assertion: "String.prototype.slice (start, end) can be applied to object instances", - -description: "Apply String.prototype.slice to Object instance, use other value for start and end values", - -test: function testcase() { - var __instance = new Object(); - -__instance.slice = String.prototype.slice; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.slice(8,__instance.toString().length) !== "Object]") { - $ERROR('#1: __instance = new Object(); __instance.slice = String.prototype.slice; __instance.slice(8,__instance.toString().length) === "Object]". Actual: '+__instance.slice(8,__instance.toString().length) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T3.js deleted file mode 100644 index 58cd07f44e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A3_T3; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) can be applied to object instances; -* @description: Apply String.prototype.slice to Object instance, and call instance.slice(...).slice(...); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A3_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T3.js", - -assertion: "String.prototype.slice (start, end) can be applied to object instances", - -description: "Apply String.prototype.slice to Object instance, and call instance.slice(...).slice(...)", - -test: function testcase() { - var __instance = function(){}; - -__instance.slice = String.prototype.slice; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.slice(-Infinity,8).slice(1,Infinity) !== "unction") { - $ERROR('#1: __instance = function(){}; __instance.slice = String.prototype.slice; __instance.slice(-Infinity,8).slice(1,Infinity) === "unction". Actual: '+__instance.slice(-Infinity,8).slice(1,Infinity) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T4.js deleted file mode 100644 index 214efad6c5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T4.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A3_T4; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end) can be applied to object instances; -* @description: Checknig if applying String.prototype.slice to Function object instance passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A3_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A3_T4.js", - -assertion: "String.prototype.slice (start, end) can be applied to object instances", - -description: "Checknig if applying String.prototype.slice to Function object instance passes", - -test: function testcase() { - __FACTORY.prototype.toString = function() { return this.value+''; }; - -var __instance = new __FACTORY(void 0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.slice(0,100) !== "undefined") { - $ERROR('#1: __instance.slice(0,100) === "undefined". Actual: '+__instance.slice(0,100) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __FACTORY( value ) { - this.value = value, - this.slice= String.prototype.slice; - //this.substring = String.prototype.substring; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A6.js deleted file mode 100644 index 32613bee9e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A6; -* @section: 15.5.4.13, 13.2; -* @assertion: String.prototype.slice has not prototype property; -* @description: Checking String.prototype.slice.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A6.js", - -assertion: "String.prototype.slice has not prototype property", - -description: "Checking String.prototype.slice.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.slice.prototype !== undefined) { - $ERROR('#1: String.prototype.slice.prototype === undefined. Actual: '+String.prototype.slice.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A7.js deleted file mode 100644 index 41b53eb32f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A7; -* @section: 15.5.4.13, 13.2; -* @assertion: String.prototype.slice can't be used as constructor; -* @description: Checking if creating the String.prototype.slice object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A7.js", - -assertion: "String.prototype.slice can\'t be used as constructor", - -description: "Checking if creating the String.prototype.slice object fails", - -test: function testcase() { - var __FACTORY = String.prototype.slice; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.slice; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) { - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A8.js deleted file mode 100644 index 0175fc9e11..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A8; -* @section: 15.5.4.13; -* @assertion: The String.prototype.slice.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.slice.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A8.js", - -assertion: "The String.prototype.slice.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.slice.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.slice.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.slice.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.slice.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.slice.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.slice.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.slice){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.slice){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A9.js deleted file mode 100644 index b30417d951..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A9; -* @section: 15.5.4.13; -* @assertion: The String.prototype.slice.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.slice.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.13_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A9.js", - -assertion: "The String.prototype.slice.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.slice.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.slice.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.slice.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.slice.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.slice.length) { - $ERROR('#1: delete String.prototype.slice.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.slice.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.slice.length; String.prototype.slice.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.slice.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A10.js deleted file mode 100644 index 3431c20f88..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A10; -* @section: 15.5.4.14; -* @assertion: The String.prototype.split.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.split.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A10.js", - -assertion: "The String.prototype.split.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.split.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.split.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.split.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.split.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.split.length; - -String.prototype.split.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.split.length !== __obj) { - $ERROR('#2: __obj = String.prototype.split.length; String.prototype.split.length = function(){return "shifted";}; String.prototype.split.length === __obj. Actual: '+String.prototype.split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A11.js deleted file mode 100644 index 2055ed8c83..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A11; -* @section: 15.5.4.14; -* @assertion: The length property of the split method is 2; -* @description: Checking String.prototype.split.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A11.js", - -assertion: "The length property of the split method is 2", - -description: "Checking String.prototype.split.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.split.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.split.hasOwnProperty("length") return true. Actual: '+String.prototype.split.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.split.length !== 2) { - $ERROR('#2: String.prototype.split.length === 2. Actual: '+String.prototype.split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T1.js deleted file mode 100644 index b458ea2588..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T1.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T1; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Arguments are false and true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T1.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Arguments are false and true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.split = String.prototype.split; - -var __split = __instance.split(true, false); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: __instance = new Object(true); __instance.split = String.prototype.split; __split = __instance.split(true, false); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: __instance = new Object(true); __instance.split = String.prototype.split; __split = __instance.split(true, false); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 0) { - $ERROR('#3: __instance = new Object(true); __instance.split = String.prototype.split; __split = __instance.split(true, false); __split.length === 0. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T10.js deleted file mode 100644 index f23d3f951f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T10.js +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T10; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Arguments are objects, and instance is string. -* First object have overrided toString function. -* Second object have overrided valueOf function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T10.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){return "\u0042B";}} -var __obj2 = {valueOf:function(){return true;}} -var __str = "ABB\u0041BABAB"; - -with(__str){ - __split = split(__obj, __obj2); -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: var __obj = {toString:function(){return "u0042B";}}; var __obj2 = {valueOf:function(){return true;}}; var __str = "ABBu0041BABAB"; with(__str){__split = split(__obj, __obj2);}; typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: var __obj = {toString:function(){return "u0042B";}}; var __obj2 = {valueOf:function(){return true;}}; var __str = "ABBu0041BABAB"; with(__str){__split = split(__obj, __obj2);}; __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 1) { - $ERROR('#3: var __obj = {toString:function(){return "u0042B";}}; var __obj2 = {valueOf:function(){return true;}}; var __str = "ABBu0041BABAB"; with(__str){__split = split(__obj, __obj2);}; __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[0] !== "A") { - $ERROR('#4: var __obj = {toString:function(){return "u0042B";}}; var __obj2 = {valueOf:function(){return true;}}; var __str = "ABBu0041BABAB"; with(__str){__split = split(__obj, __obj2);}; __split[0] === "A". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T11.js deleted file mode 100644 index ef859ac424..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T11.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T11; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Arguments are objects, and instance is string. -* First object have overrided toString function. -* Second object have overrided valueOf function, that throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T11.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){throw "intointeger";}} -var __str = {str__:"ABB\u0041BABAB"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - with(str__){ - try { - var x = split(__obj, __obj2); - $FAIL('#1: "var x = split(__obj, __obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="intointeger") { - $ERROR('#1.1: Exception === "intointeger". Actual: '+e); - } - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T12.js deleted file mode 100644 index ac9efd17ec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T12.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T12; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Arguments are objects, and instance is string. -* First object have overrided toString function. -* Second object have overrided valueOf function and toString function, that throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T12.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){return {};},toString:function(){throw "intointeger";}} -var __str = new String("ABB\u0041BABAB"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - try { - var x = split(__obj, __obj2); - $FAIL('#1: "var x = split(__obj, __obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="intointeger") { - $ERROR('#1.1: Exception === "intointeger". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T13.js deleted file mode 100644 index d2dd03bb5f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T13.js +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T13; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Arguments are objects, and instance is string. -* First object have overrided toString function. -* Second object have overrided valueOf and toString functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T13.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){return "\u0042\u0042";}} -var __obj2 = {valueOf:function(){return {};},toString:function(){return "2";}} - -var __split = "ABB\u0041BABAB\u0042cc^^\u0042Bvv%%B\u0042xxx".split(__obj, __obj2); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: var __obj = {toString:function(){return "u0042u0042";}}; var __obj2 = {valueOf:function(){return {};},toString:function(){return "2";}}; __split = "ABBu0041BABABu0042cc^^u0042Bvv%%Bu0042xxx".split(__obj, __obj2); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: var __obj = {toString:function(){return "u0042u0042";}}; var __obj2 = {valueOf:function(){return {};},toString:function(){return "2";}}; __split = "ABBu0041BABABu0042cc^^u0042Bvv%%Bu0042xxx".split(__obj, __obj2); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 2) { - $ERROR('#3: var __obj = {toString:function(){return "u0042u0042";}}; var __obj2 = {valueOf:function(){return {};},toString:function(){return "2";}}; __split = "ABBu0041BABABu0042cc^^u0042Bvv%%Bu0042xxx".split(__obj, __obj2); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[0] !== "A") { - $ERROR('#4: var __obj = {toString:function(){return "u0042u0042";}}; var __obj2 = {valueOf:function(){return {};},toString:function(){return "2";}}; __split = "ABBu0041BABABu0042cc^^u0042Bvv%%Bu0042xxx".split(__obj, __obj2); __split[0] === "A". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[1] !== "ABABA") { - $ERROR('#5: var __obj = {toString:function(){return "u0042u0042";}}; var __obj2 = {valueOf:function(){return {};},toString:function(){return "2";}}; __split = "ABBu0041BABABu0042cc^^u0042Bvv%%Bu0042xxx".split(__obj, __obj2); __split[1] === "ABABA". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T14.js deleted file mode 100644 index 6d1c4c3c2b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T14.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T14; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Arguments are objects, and instance is string. -* First object have overrided toString function, that throw exception. -* Second object have overrided valueOf function, that throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T14.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr";}}; -var __obj2 = {valueOf:function(){throw "intoint";}}; -var __instance = new Number(10001.10001); -Number.prototype.split=String.prototype.split; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__instance){ - try { - var x = split(__obj, __obj2); - $FAIL('#1: "var x = split(__obj, __obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="intoint") { - $ERROR('#1.1: Exception === "intoint". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T15.js deleted file mode 100644 index 33316d29ac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T15.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T15; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Arguments are objects, and instance is string. -* First object have overrided toString function and valueOf function, that throw exception. -* Second object have overrided valueOf function, that throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T15", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T15.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}}; - -var __obj2 = {valueOf:function(){throw "intointeger";}}; - -__FACTORY.prototype.split = String.prototype.split; - -var __instance = new __FACTORY(void 0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __instance.split(__obj, __obj2); - $FAIL('#1: "var x = __instance.split(__obj, __obj2)" lead to throwing exception'); -} catch (e) { - if (e!=="intointeger") { - $ERROR('#1.1: Exception === "intointeger". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -function __FACTORY( value ) { - this.value = value; - this.toString = function() { return new Number; }; - this.valueOf=function(){return this.value+""}; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js deleted file mode 100644 index 6b4a516cbe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T16; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Argument is object, and instance is Number. -* Object have overrided toString function, that return regexp; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T16", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Argument is object, and instance is Number.", - -test: function testcase() { - var __obj = {toString:function(){return /\u0037\u0037/g;}}; - -Number.prototype.split=String.prototype.split; - -try { - var __split = 6776767677.006771122677555.split(__obj); - $FAIL('#1: "__split = 6776767677.006771122677555.split(__obj)" lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Exception is instance of TypeError. Actual: '+e); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T17.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T17.js deleted file mode 100644 index 669f88650f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T17.js +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T17; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Argument is regexp, and instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T17", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T17.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Argument is regexp, and instance is Number", - -test: function testcase() { - var __re = /\u0037\u0037/g; - -Number.prototype.split=String.prototype.split; - -__split = 6776767677.006771122677555.split(__re); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: var __re = /u0037u0037/g; Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: var __re = /u0037u0037/g; Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 4) { - $ERROR('#3: var __re = /u0037u0037/g; Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re); __split.length === 4. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[0] !== "6") { - $ERROR('#4: var __re = /u0037u0037/g; Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re); __split[0] === "6". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[1] !== "67676") { - $ERROR('#5: var __re = /u0037u0037/g; Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re); __split[1] === "67676". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__split[2] !== ".006") { - $ERROR('#6: var __re = /u0037u0037/g; Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re); __split[2] === ".006". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -if (__split[3] !== "1") { - $ERROR('#7: var __re = /u0037u0037/g; Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re); __split[3] === "1". Actual: '+__split[3] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T18.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T18.js deleted file mode 100644 index 8c78db4791..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T18.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T18; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T18", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T18.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Checking by using eval", - -test: function testcase() { - var __re = new RegExp("00"); - -Number.prototype.split=String.prototype.split; - -var __split = 6776767677.006771122677555.split(__re, eval("\"1\"")); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: var __re = new RegExp("00"); Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re, eval(""1"")); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: var __re = new RegExp("00"); Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re, eval(""1"")); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 1) { - $ERROR('#3: var __re = new RegExp("00"); Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re, eval(""1"")); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "6776767677.") { - $ERROR('#3: var __re = new RegExp("00"); Number.prototype.split=String.prototype.split; __split = 6776767677.006771122677555.split(__re, eval(""1"")); __split[0] === "6776767677.". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T2.js deleted file mode 100644 index 58c20bc85f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T2.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T2; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Arguments are boolean expression, function call and null, and instance is Boolean; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T2.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Arguments are boolean expression, function call and null, and instance is Boolean", - -test: function testcase() { - var __instance = new Boolean; - -__instance.split = String.prototype.split; - -var __split = __instance.split("A"!=="\u0041", function(){return 0;}(),null); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: __instance = new Boolean; __instance.split = String.prototype.split; __split = __instance.split("A"!=="u0041", function(){return 0;}(),null); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: __instance = new Boolean; __instance.split = String.prototype.split; __split = __instance.split("A"!=="u0041", function(){return 0;}(),null); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 0) { - $ERROR('#3: __instance = new Boolean; __instance.split = String.prototype.split; __split = __instance.split("A"!=="u0041", function(){return 0;}(),null); __split.length === 0. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T3.js deleted file mode 100644 index be41d28dd4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T3.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T3; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T3.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Checking by using eval", - -test: function testcase() { - var split = String.prototype.split; - -var __obj__lim = {valueOf:function(){return 5;}}; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -var __class__ = toString(); - -var __split = split(eval("\"[\""),__obj__lim); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 2) { - $ERROR('#3: __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[1].substring(0,6) !== "object") { - $ERROR('#4: __split[1].substring(0,6) === "object". Actual: '+__split[1].substring(0,6) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T4.js deleted file mode 100644 index 490f2dfccd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T4.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T4; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Call split without arguments, and instance is empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T4.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Call split without arguments, and instance is empty string", - -test: function testcase() { - //since ToString() evaluates to "" split() evaluates to split("",0) -var __split = "".split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: __split = "".split(); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: __split = "".split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 1) { - $ERROR('#3: __split = "".split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[0] !== "") { - $ERROR('#4: __split = "".split(); __split[0] === "". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T5.js deleted file mode 100644 index 47d086ce5c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T5.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T5; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Argument is null, and instance is function call that returned string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T5.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Argument is null, and instance is function call that returned string", - -test: function testcase() { - //since ToString(null) evaluates to "null" split(null) evaluates to split("null",0) -var __split = function(){return "gnulluna"}().split(null); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: __split = function(){return "gnulluna"}().split(null); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: __split = function(){return "gnulluna"}().split(null); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 2) { - $ERROR('#3: __split = function(){return "gnulluna"}().split(null); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[0] !== "g") { - $ERROR('#4: __split = function(){return "gnulluna"}().split(null); __split[0] === "g". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[1] !== "una") { - $ERROR('#5: __split = function(){return "gnulluna"}().split(null); __split[1] === "una". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T6.js deleted file mode 100644 index d38b2d0a2c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T6.js +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T6; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Argument is x, and instance is new String. x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T6.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Argument is x, and instance is new String. x is undefined variable", - -test: function testcase() { - //since ToString(undefined) evaluates to "" split(undefined) evaluates to split("",0) -var __split = new String("1undefined").split(x); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: var x; __split = new String("1undefined").split(x); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: var x; __split = new String("1undefined").split(x); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 2) { - $ERROR('#3: var x; __split = new String("1undefined").split(x); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[0] !== "1") { - $ERROR('#4: var x; __split = new String("1undefined").split(x); __split[0] === "1". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[1] !== "") { - $ERROR('#5: var x; __split = new String("1undefined").split(x); __split[1] === "". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T7.js deleted file mode 100644 index 0ca8c6035c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T7.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T7; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Argument is undefined, and instance is String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T7.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Argument is undefined, and instance is String", - -test: function testcase() { - //since ToString(undefined) evaluates to "undefined" split(undefined) evaluates to split("undefined",0) -var __split = String("undefinedd").split(undefined); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: __split = String("undefinedd").split(undefined); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: __split = String("undefinedd").split(undefined); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 2) { - $ERROR('#3: __split = String("undefinedd").split(undefined); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[0] !== "") { - $ERROR('#4: __split = String("undefinedd").split(undefined); __split[0] === "". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[1] !== "d") { - $ERROR('#5: __split = String("undefinedd").split(undefined); __split[1] === "d". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T8.js deleted file mode 100644 index aa2ae7e46e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T8.js +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T8; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Argument is void 0, and instance is String(object), object have overrided toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T8.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Argument is void 0, and instance is String(object), object have overrided toString function", - -test: function testcase() { - var __obj = {toString:function(){}}; - -//since ToString(void 0) evaluates to "undefined" split(void 0) evaluates to split("undefined") -var __split = String(__obj).split(void 0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: __obj = {toString:function(){}}; __split = String(__obj).split(void 0); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: __obj = {toString:function(){}}; __split = String(__obj).split(void 0); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 2) { - $ERROR('#3: __obj = {toString:function(){}}; __split = String(__obj).split(void 0); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[0] !== "") { - $ERROR('#4: __obj = {toString:function(){}}; __split = String(__obj).split(void 0); __split[0] !== "". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[1] !== "") { - $ERROR('#5: __obj = {toString:function(){}}; __split = String(__obj).split(void 0); __split[1] === "". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T9.js deleted file mode 100644 index c5e3aa1df2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T9.js +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A1_T9; -* @section: 15.5.4.14; -* @assertion: String.prototype.split(separator, limit): -* i) can be transferred to other kinds of objects for use as a method. -* separator and limit can be any kinds of object since: -* ii) if separator is not RegExp ToString(separator) performs and -* iii) ToInteger(limit) performs; -* @description: Argument is function(){}(), and instance is String(object), object have overrided toString and valueOf functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T9.js", - -assertion: "String.prototype.split(separator, limit):", - -description: "Argument is function(){}(), and instance is String(object), object have overrided toString and valueOf functions", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -//since ToString(undefined) evaluates to "undefined" split(undefined) evaluates to split("undefined") -var __split = new String(__obj).split(function(){}()); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __split !== "object") { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); typeof __split === "object". Actual: '+typeof __split ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.constructor !== Array) { - $ERROR('#2: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split.length !== 2) { - $ERROR('#3: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[0] !== "") { - $ERROR('#4: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split[0] !== "". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[1] !== "") { - $ERROR('#5: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split[1] === "". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T1.js deleted file mode 100644 index e93c9223de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T1.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T1; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(","), instance is String("one,two,three,four,five"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T1.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\",\"), instance is String(\"one,two,three,four,five\")", - -test: function testcase() { - var __string = new String("one,two,three,four,five"); - -var __split = __string.split(","); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one,two,three,four,five"); __split = __string.split(","); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 5) { - $ERROR('#2: var __string = new String("one,two,three,four,five"); __split = __string.split(","); __split.length === 5. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "one") { - $ERROR('#3: var __string = new String("one,two,three,four,five"); __split = __string.split(","); __split[0] === "one". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "two") { - $ERROR('#4: var __string = new String("one,two,three,four,five"); __split = __string.split(","); __split[1] === "two". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[2] !== "three") { - $ERROR('#5: var __string = new String("one,two,three,four,five"); __split = __string.split(","); __split[2] === "three". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__split[3] !== "four") { - $ERROR('#6: var __string = new String("one,two,three,four,five"); __split = __string.split(","); __split[3] === "four". Actual: '+__split[3] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -if (__split[4] !== "five") { - $ERROR('#7: var __string = new String("one,two,three,four,five"); __split = __string.split(","); __split[4] === "five". Actual: '+__split[4] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T10.js deleted file mode 100644 index 1a601262df..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T10.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T10; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(123), instance is "this123is123a123string123object"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T10.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(123), instance is \"this123is123a123string123object\"", - -test: function testcase() { - var __string = "this123is123a123string123object"; -var __expected = ["this", "is", "a", "string", "object"]; - -var __split = __string.split(123); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = "this123is123a123string123object"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(123); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __string = "this123is123a123string123object"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(123); __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for ( var i = 0; i < __expected.length; i++ ) { - if (__expected[i]!==__split[i]) { - $ERROR('#3.'+i+': var __string = "this123is123a123string123object"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(123); __expected['+i+']===__split['+i+']. Actual: '+__expected[i]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T11.js deleted file mode 100644 index 2088171fed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T11.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T11; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(":"), instance is String("one-1,two-2,four-4"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T11.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\":\"), instance is String(\"one-1,two-2,four-4\")", - -test: function testcase() { - var __string = new String("one-1,two-2,four-4"); - -var __split = __string.split(":"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one-1,two-2,four-4"); __split = __string.split(":"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String("one-1,two-2,four-4"); __split = __string.split(":"); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "one-1,two-2,four-4") { - $ERROR('#3: var __string = new String("one-1,two-2,four-4"); __split = __string.split(":"); __split[0] === "one-1,two-2,four-4". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T12.js deleted file mode 100644 index 11ac5af325..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T12.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T12; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("r-42"), instance is String("one-1 two-2 four-4"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T12.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"r-42\"), instance is String(\"one-1 two-2 four-4\")", - -test: function testcase() { - var __string = new String("one-1 two-2 four-4"); - -var __split = __string.split("r-42"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one-1 two-2 four-4"); __split = __string.split("r-42"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String("one-1 two-2 four-4"); __split = __string.split("r-42"); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "one-1 two-2 four-4") { - $ERROR('#3: var __string = new String("one-1 two-2 four-4"); __split = __string.split("r-42"); __split[0] === "one-1 two-2 four-4". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T13.js deleted file mode 100644 index 0ea00654db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T13.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T13; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("-4"), instance is String("one-1 two-2 four-4"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T13.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"-4\"), instance is String(\"one-1 two-2 four-4\")", - -test: function testcase() { - var __string = new String("one-1 two-2 four-4"); - -var __split = __string.split("-4"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one-1 two-2 four-4"); __split = __string.split("-4"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 2) { - $ERROR('#2: var __string = new String("one-1 two-2 four-4"); __split = __string.split("-4"); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "one-1 two-2 four") { - $ERROR('#3: var __string = new String("one-1 two-2 four-4"); __split = __string.split("-4"); __split[0] === "one-1 two-2 four". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#3: var __string = new String("one-1 two-2 four-4"); __split = __string.split("-4"); __split[1] === "". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T14.js deleted file mode 100644 index 5b188e71db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T14.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T14; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("on"), instance is String("one-1 two-2 four-4"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T14.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"on\"), instance is String(\"one-1 two-2 four-4\")", - -test: function testcase() { - var __string = new String("one-1 two-2 four-4"); - -var __split = __string.split("on"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one-1 two-2 four-4"); __split = __string.split("on"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 2) { - $ERROR('#2: var __string = new String("one-1 two-2 four-4"); __split = __string.split("on"); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "") { - $ERROR('#3: var __string = new String("one-1 two-2 four-4"); __split = __string.split("on"); __split[0] === "". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "e-1 two-2 four-4") { - $ERROR('#4: var __string = new String("one-1 two-2 four-4"); __split = __string.split("on"); __split[1] === "e-1 two-2 four-4". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T15.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T15.js deleted file mode 100644 index d3bc76428a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T15.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T15; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(""), instance is empty String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T15", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T15.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"\"), instance is empty String object", - -test: function testcase() { - var __string = new String(); - -var __split = __string.split(""); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String(); __split = __string.split(""); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 0) { - $ERROR('#2: var __string = new String(); __split = __string.split(""); __split.length === 0. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== undefined) { - $ERROR('#3: var __string = new String(); __split = __string.split(""); __split[0] === undefined. Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T16.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T16.js deleted file mode 100644 index 1cadc9d2f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T16.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T16; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(" "), instance is empty String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T16", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T16.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\" \"), instance is empty String object", - -test: function testcase() { - var __string = new String(); - -var __split = __string.split(" "); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String(); __split = __string.split(" "); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String(); __split = __string.split(" "); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "") { - $ERROR('#3: var __string = new String(); __split = __string.split(" "); __split[0] === "". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T17.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T17.js deleted file mode 100644 index dcac811567..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T17.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T17; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(""), instance is String(" "); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T17", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T17.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"\"), instance is String(\" \")", - -test: function testcase() { - var __string = new String(" "); - -var __split = __string.split(""); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String(" "); __split = __string.split(""); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String(" "); __split = __string.split(""); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== " ") { - $ERROR('#3: var __string = new String(" "); __split = __string.split(""); __split[0] === " ". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T18.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T18.js deleted file mode 100644 index 5e4743f02b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T18.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T18; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(" "), instance is String(" "); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T18", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T18.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\" \"), instance is String(\" \")", - -test: function testcase() { - var __string = new String(" "); - -var __split = __string.split(" "); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String(" "); __split = __string.split(" "); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 2) { - $ERROR('#2: var __string = new String(" "); __split = __string.split(" "); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "") { - $ERROR('#3: var __string = new String(" "); __split = __string.split(" "); __split[0] === "". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String(" "); __split = __string.split(" "); __split[1] === "". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T19.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T19.js deleted file mode 100644 index c0286812e4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T19.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T19; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("x"), instance is empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T19", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T19.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"x\"), instance is empty string", - -test: function testcase() { - var __string = ""; - -var __split = __string.split("x"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = ""; __split = __string.split("x"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = ""; __split = __string.split("x"); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "") { - $ERROR('#3: var __string = ""; __split = __string.split("x"); __split[0] === "". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T2.js deleted file mode 100644 index 512ff0cef5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T2.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T2; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(" "), instance is String("one two three four five"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T2.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\" \"), instance is String(\"one two three four five\")", - -test: function testcase() { - var __string = new String("one two three four five"); - -var __split = __string.split(" "); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one two three four five"); __split = __string.split(" "); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 5) { - $ERROR('#2: var __string = new String("one two three four five"); __split = __string.split(" "); __split.length === 5. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "one") { - $ERROR('#3: var __string = new String("one two three four five"); __split = __string.split(" "); __split[0] === "one". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "two") { - $ERROR('#4: var __string = new String("one two three four five"); __split = __string.split(" "); __split[1] === "two". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[2] !== "three") { - $ERROR('#5: var __string = new String("one two three four five"); __split = __string.split(" "); __split[2] === "three". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__split[3] !== "four") { - $ERROR('#6: var __string = new String("one two three four five"); __split = __string.split(" "); __split[3] === "four". Actual: '+__split[3] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#7 -if (__split[4] !== "five") { - $ERROR('#7: var __string = new String("one two three four five"); __split = __string.split(" "); __split[4] === "five". Actual: '+__split[4] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T20.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T20.js deleted file mode 100644 index 32eb243bf8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T20.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T20; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(new RegExp); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T20", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T20.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(new RegExp)", - -test: function testcase() { - var __string = new String("one-1 two-2 three-3"); - -var __split = __string.split(new RegExp); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one-1 two-2 three-3"); __split = __string.split(new RegExp); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __string.length) { - $ERROR('#2: var __string = new String("one-1 two-2 three-3"); __split = __string.split(new RegExp); __split.length === __string.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for ( var i = 0; i < __string.length; i++ ) { - if (__string.charAt(i)!==__split[i]) { - $ERROR('#3.'+i+': var __string = new String("one-1 two-2 three-3"); __split = __string.split(new RegExp); __string.charAt('+i+')===__split['+i+']. Actual: '+__string.charAt(i)); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T21.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T21.js deleted file mode 100644 index 842c6bec4f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T21.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T21; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("ll"), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T21", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T21.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"ll\"), instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __split = __string.split("ll"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); __split = __string.split("ll"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 2) { - $ERROR('#2: var __string = new String("hello"); __split = __string.split("ll"); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); __split = __string.split("ll"); __split[0] === "he". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "o") { - $ERROR('#4: var __string = new String("hello"); __split = __string.split("ll"); __split[1] === "o". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T22.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T22.js deleted file mode 100644 index ff25d6884d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T22.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T22; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("l"), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T22", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T22.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"l\"), instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __split = __string.split("l"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); __split = __string.split("l"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 3) { - $ERROR('#2: var __string = new String("hello"); __split = __string.split("l"); __split.length === 3. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); __split = __string.split("l"); __split[0] === "he". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String("hello"); __split = __string.split("l"); __split[1] === "". Actual: '+__split[1]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[2] !== "o") { - $ERROR('#5: var __string = new String("hello"); __split = __string.split("l"); __split[2] === "o". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T23.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T23.js deleted file mode 100644 index f3f1b71669..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T23.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T23; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("x"), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T23", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T23.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"x\"), instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __split = __string.split("x"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); __split = __string.split("x"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String("hello"); __split = __string.split("x"); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "hello") { - $ERROR('#3: var __string = new String("hello"); __split = __string.split("x"); __split[0] === "hello". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T24.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T24.js deleted file mode 100644 index 206e767bbb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T24.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T24; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("h"), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T24", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T24.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"h\"), instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __split = __string.split("h"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); __split = __string.split("h"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 2) { - $ERROR('#2: var __string = new String("hello"); __split = __string.split("h"); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "") { - $ERROR('#3: var __string = new String("hello"); __split = __string.split("h"); __split[0] === "". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "ello") { - $ERROR('#4: var __string = new String("hello"); __split = __string.split("h"); __split[1] === "ello". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T25.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T25.js deleted file mode 100644 index c4296faa01..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T25.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T25; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("o"), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T25", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T25.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"o\"), instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __split = __string.split("o"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); __split = __string.split("o"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 2) { - $ERROR('#2: var __string = new String("hello"); __split = __string.split("o"); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "hell") { - $ERROR('#3: var __string = new String("hello"); __split = __string.split("o"); __split[0] === "hell". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String("hello"); __split = __string.split("o"); __split[1] === "". Actual: '+__split[1]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T26.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T26.js deleted file mode 100644 index e9080a94e4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T26.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T26; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("hello"), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T26", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T26.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"hello\"), instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __split = __string.split("hello"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); __split = __string.split("hello"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 2) { - $ERROR('#2: var __string = new String("hello"); __split = __string.split("hello"); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "") { - $ERROR('#3: var __string = new String("hello"); __split = __string.split("hello"); __split[0] === "". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String("hello"); __split = __string.split("hello"); __split[1] === "". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T27.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T27.js deleted file mode 100644 index 3b65ebb65f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T27.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T27; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(undefined), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T27", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T27.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(undefined), instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __split = __string.split(undefined); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); __split = __string.split(undefined); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String("hello"); __split = __string.split(undefined); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "hello") { - $ERROR('#3: var __string = new String("hello"); __split = __string.split(undefined); __split[0] === "hello". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T28.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T28.js deleted file mode 100644 index 22e5d65b3c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T28.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T28; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("hellothere"), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T28", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T28.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"hellothere\"), instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __split = __string.split("hellothere"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); __split = __string.split("hellothere"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String("hello"); __split = __string.split("hellothere"); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "hello") { - $ERROR('#3: var __string = new String("hello"); __split = __string.split("hellothere"); __split[0] === "hello". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T29.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T29.js deleted file mode 100644 index 915d469dc0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T29.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T29; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(1), instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T29", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T29.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(1), instance is Number", - -test: function testcase() { - var __instance = new Number(100111122133144155); - -Number.prototype.split = String.prototype.split; - -var __split = __instance.split(1); - -var __expected = ["","00","","","","22","33","44","60"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T3.js deleted file mode 100644 index b16bcd3f8d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T3.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T3; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(/ /,2), instance is String("one two three four five"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T3.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(/ /,2), instance is String(\"one two three four five\")", - -test: function testcase() { - var __string = new String("one two three four five"); - -var __split = __string.split(/ /,2); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one two three four five"); __split = __string.split(/ /,2); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 2) { - $ERROR('#2: var __string = new String("one two three four five"); __split = __string.split(/ /,2); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "one") { - $ERROR('#3: var __string = new String("one two three four five"); __split = __string.split(/ /,2); __split[0] === "one". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "two") { - $ERROR('#4: var __string = new String("one two three four five"); __split = __string.split(/ /,2); __split[1] === "two". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T30.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T30.js deleted file mode 100644 index ad452158d6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T30.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T30; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(1,1), instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T30", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T30.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(1,1), instance is Number", - -test: function testcase() { - var __instance = new Number(100111122133144155); - -Number.prototype.split = String.prototype.split; - -var __split = __instance.split(1,1); - -var __expected = [""]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: __split[0] === '+__expected[0]+'. Actual: '+__split[index] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T31.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T31.js deleted file mode 100644 index 4bf355e5f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T31.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T31; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(1,2), instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T31", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T31.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(1,2), instance is Number", - -test: function testcase() { - var __instance = new Number(100111122133144155); - -Number.prototype.split = String.prototype.split; - -var __split = __instance.split(1,2); - -var __expected = ["","00"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split[index] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T32.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T32.js deleted file mode 100644 index 62bc15f452..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T32.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T32; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(1,0), instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T32", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T32.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(1,0), instance is Number", - -test: function testcase() { - var __instance = new Number(100111122133144155); - -Number.prototype.split = String.prototype.split; - -var __split = __instance.split(1,0); - -var __expected = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: __split[0] === '+__expected[0]+'. Actual: '+__split[index] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T33.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T33.js deleted file mode 100644 index b3598f7649..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T33.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T33; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(1,100), instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T33", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T33.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(1,100), instance is Number", - -test: function testcase() { - var __instance = new Number(100111122133144155); - -Number.prototype.split = String.prototype.split; - -var __split = __instance.split(1,100); - -var __expected = ["","00","","","","22","33","44","60"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split[index] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T34.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T34.js deleted file mode 100644 index 58c45a098e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T34.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T34; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(1,void 0), instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T34", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T34.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(1,void 0), instance is Number", - -test: function testcase() { - var __instance = new Number(100111122133144155); - -Number.prototype.split = String.prototype.split; - -var __split = __instance.split(1,void 0); - -var __expected = ["","00","","","","22","33","44","60"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3: __split[index] === __expected[index]. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T35.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T35.js deleted file mode 100644 index cff01af4b0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T35.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T35; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(1, Math.pow(2,32)-1), instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T35", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T35.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(1, Math.pow(2,32)-1), instance is Number", - -test: function testcase() { - var __instance = new Number(100111122133144155); - -Number.prototype.split = String.prototype.split; - -var __split = __instance.split(1, Math.pow(2,32)-1); - -var __expected = ["","00","","","","22","33","44","60"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split[index] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T36.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T36.js deleted file mode 100644 index be250b59b0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T36.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T36; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(1,"boo"), instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T36", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T36.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(1,\"boo\"), instance is Number", - -test: function testcase() { - var __instance = new Number(100111122133144155); - -Number.prototype.split = String.prototype.split; - -var __split = __instance.split(1, "boo"); - -var __expected = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: __split[0] === '+__expected[0]+'. Actual: '+__split[index] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T37.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T37.js deleted file mode 100644 index e396f05ffd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T37.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T37; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(1,-Math.pow(2,32)+1), instance is Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T37", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T37.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(1,-Math.pow(2,32)+1), instance is Number", - -test: function testcase() { - var __instance = new Number(100111122133144155); - -Number.prototype.split = String.prototype.split; - -var __split = __instance.split(1, -Math.pow(2,32)+1); - -var __expected = [""]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: __split[0] === '+__expected[0]+'. Actual: '+__split[index] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T38.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T38.js deleted file mode 100644 index 7358cb0a7c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T38.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T38; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("l",NaN), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T38", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T38.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"l\",NaN), instance is String(\"hello\")", - -test: function testcase() { - var __instance = new String("hello"); - -var __split = __instance.split("l", NaN); - -var __expected = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new String("hello"); __split = __instance.split("l", NaN); __expected = []; __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __instance = new String("hello"); __split = __instance.split("l", NaN); __expected = []; __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: var __instance = new String("hello"); __split = __instance.split("l", NaN); __expected = []; __split[0] === '+__expected[0]+'. Actual: '+__split[index] ); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T39.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T39.js deleted file mode 100644 index b42fe57df0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T39.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T39; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("l",0), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T39", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T39.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"l\",0), instance is String(\"hello\")", - -test: function testcase() { - var __instance = new String("hello"); - -var __split = __instance.split("l", 0); - -var __expected = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new String("hello"); __split = __instance.split("l", 0); __expected = []; __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __instance = new String("hello"); __split = __instance.split("l", 0); __expected = []; __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: var __instance = new String("hello"); __split = __instance.split("l", 0); __expected = []; __split[0] === '+__expected[0]+'. Actual: '+__split[index] ); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T4.js deleted file mode 100644 index bd09d5ff63..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T4.js +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T4; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(""), instance is String("one two three"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T4.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"\"), instance is String(\"one two three\")", - -test: function testcase() { - var __string = new String("one two three"); - -var __split = __string.split(""); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one two three"); __split = __string.split(""); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __string.length) { - $ERROR('#2: var __string = new String("one two three"); __split = __string.split(""); __split.length === __string.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "o") { - $ERROR('#3: var __string = new String("one two three"); __split = __string.split(""); __split[0] === "o". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "n") { - $ERROR('#4: var __string = new String("one two three"); __split = __string.split(""); __split[1] === "n". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[11] !== "e") { - $ERROR('#5: var __string = new String("one two three"); __split = __string.split(""); __split[11] === "e". Actual: '+__split[11] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#6 -if (__split[12] !== "e") { - $ERROR('#6: var __string = new String("one two three"); __split = __string.split(""); __split[12] === "e". Actual: '+__split[12] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T40.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T40.js deleted file mode 100644 index f2c7db1713..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T40.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T40; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("l",1), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T40", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T40.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"l\",1), instance is String(\"hello\")", - -test: function testcase() { - var __instance = new String("hello"); - -var __split = __instance.split("l", 1); - -var __expected = ["he"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new String("hello"); __split = __instance.split("l", 1); __expected = ["he"]; __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __instance = new String("hello"); __split = __instance.split("l", 1); __expected = ["he"]; __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: var __instance = new String("hello"); __split = __instance.split("l", 1); __expected = ["he"]; __split[0] === '+__expected[0]+'. Actual: '+__split[index] ); -} -// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T41.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T41.js deleted file mode 100644 index d720263db0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T41.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T41; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("l",2), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T41", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T41.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"l\",2), instance is String(\"hello\")", - -test: function testcase() { - var __instance = new String("hello"); - -var __split = __instance.split("l", 2); - -var __expected = ["he",""]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new String("hello"); __split = __instance.split("l", 2); __expected = ["he",""]; __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __instance = new String("hello"); __split = __instance.split("l", 2); __expected = ["he",""]; __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': var __instance = new String("hello"); __split = __instance.split("l", 2); __expected = ["he",""]; __split[index] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T42.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T42.js deleted file mode 100644 index 954b2c3459..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T42.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T42; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("l",3), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T42", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T42.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"l\",3), instance is String(\"hello\")", - -test: function testcase() { - var __instance = new String("hello"); - -var __split = __instance.split("l", 3); - -var __expected = ["he","","o"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new String("hello"); __split = __instance.split("l", 3); __expected = ["he","","o"]; __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __instance = new String("hello"); __split = __instance.split("l", 3); __expected = ["he","","o"]; __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': var __instance = new String("hello"); __split = __instance.split("l", 3); __expected = ["he","","o"]; __split[index] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T43.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T43.js deleted file mode 100644 index 3cf83ee9f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T43.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T43; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split("l",4), instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T43", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T43.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\"l\",4), instance is String(\"hello\")", - -test: function testcase() { - var __instance = new String("hello"); - -var __split = __instance.split("l", 4); - -var __expected = ["he","","o"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new String("hello"); __split = __instance.split("l", 4); __expected = ["he","","o"]; __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __instance = new String("hello"); __split = __instance.split("l", 4); __expected = ["he","","o"]; __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': var __instance = new String("hello"); __split = __instance.split("l", 4); __expected = ["he","","o"]; __split[index] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T5.js deleted file mode 100644 index b94b2e1964..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T5.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T5; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(/,/), instance is String("one-1,two-2,four-4"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T5.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(/,/), instance is String(\"one-1,two-2,four-4\")", - -test: function testcase() { - var __string = new String("one-1,two-2,four-4"); - -var __split = __string.split(/,/); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one-1,two-2,four-4"); __split = __string.split(/,/); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 3) { - $ERROR('#2: var __string = new String("one-1,two-2,four-4"); __split = __string.split(/,/); __split.length === 3. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "one-1") { - $ERROR('#3: var __string = new String("one-1,two-2,four-4"); __split = __string.split(/,/); __split[0] === "one-1". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "two-2") { - $ERROR('#4: var __string = new String("one-1,two-2,four-4"); __split = __string.split(/,/); __split[1] === "two-2". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[2] !== "four-4") { - $ERROR('#5: var __string = new String("one-1,two-2,four-4"); __split = __string.split(/,/); __split[2] === "four-4". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T6.js deleted file mode 100644 index 5e66db8766..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T6.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T6; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(''), instance is String("one-1 two-2 four-4"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T6.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(\'\'), instance is String(\"one-1 two-2 four-4\")", - -test: function testcase() { - var __string = new String("one-1 two-2 three-3"); - -var __split = __string.split(''); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one-1 two-2 three-3"); __split = __string.split(\'\'); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __string.length) { - $ERROR('#2: var __string = new String("one-1 two-2 three-3"); __split = __string.split(\'\'); __split.length === __string.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for ( var i = 0; i < __string.length; i++ ) { - if (__split[i]!==__string.charAt(i)) { - $ERROR('#3.'+i+': var __string = new String("one-1 two-2 three-3"); __split = __string.split(\'\'); __split['+i+']===__string.charAt('+i+'). Actual: '+__split[i]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T7.js deleted file mode 100644 index 1673130eba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T7.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T7; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(void 0), instance is "thisundefinedisundefinedaundefinedstringundefinedobject"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T7.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(void 0), instance is \"thisundefinedisundefinedaundefinedstringundefinedobject\"", - -test: function testcase() { - var __string = "thisundefinedisundefinedaundefinedstringundefinedobject"; -var __expected = ["this", "is", "a", "string", "object"]; - -var __split = __string.split(void 0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = "thisundefinedisundefinedaundefinedstringundefinedobject"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(void 0); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __string = "thisundefinedisundefinedaundefinedstringundefinedobject"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(void 0); __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for ( var i = 0; i < __expected.length; i++ ) { - if (__expected[i]!==__split[i]) { - $ERROR('#3.'+i+': var __string = "thisundefinedisundefinedaundefinedstringundefinedobject"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(void 0); __expected['+i+']==='+__split[i]+'. Actual: '+__expected[i]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T8.js deleted file mode 100644 index 70c4cdcbe7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T8.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T8; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(null), instance is "thisnullisnullanullstringnullobject"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T8.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(null), instance is \"thisnullisnullanullstringnullobject\"", - -test: function testcase() { - var __string = "thisnullisnullanullstringnullobject"; -var __expected = ["this", "is", "a", "string", "object"]; - -var __split = __string.split(null); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = "thisnullisnullanullstringnullobject"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(null); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __string = "thisnullisnullanullstringnullobject"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(null); __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for ( var i = 0; i < __expected.length; i++ ) { - if (__expected[i]!==__split[i]) { - $ERROR('#3.'+i+': var __string = "thisnullisnullanullstringnullobject"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(null); __expected['+i+']==='+__split[i]+'. Actual: '+__expected[i]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T9.js deleted file mode 100644 index 7eb228611a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T9.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A2_T9; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. The substrings are determined by searching from left to right for occurrences of -* separator; these occurrences are not part of any substring in the returned array, but serve to divide up -* the string value. The value of separator may be a string of any length or it may be a RegExp object; -* @description: Call split(true), instance is "thistrueistrueatruestringtrueobject"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A2_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A2_T9.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Call split(true), instance is \"thistrueistrueatruestringtrueobject\"", - -test: function testcase() { - var __string = "thistrueistrueatruestringtrueobject"; -var __expected = ["this", "is", "a", "string", "object"]; - -var __split = __string.split(true); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = "thistrueistrueatruestringtrueobject"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(true); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: var __string = "thistrueistrueatruestringtrueobject"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(true); __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for ( var i = 0; i < __expected.length; i++ ) { - if (__expected[i]!==__split[i]) { - $ERROR('#3.'+i+': var __string = "thistrueistrueatruestringtrueobject"; var __expected = ["this", "is", "a", "string", "object"]; __split = __string.split(true); __expected['+i+']==='+__split[i]+'. Actual: '+__expected[i]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T1.js deleted file mode 100644 index c0b01b5542..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T1; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is String("one,two,three,four,five"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T1.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is String(\"one,two,three,four,five\")", - -test: function testcase() { - var __string = new String("one,two,three,four,five"); - -var __split = __string.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("one,two,three,four,five"); __split = __string.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String("one,two,three,four,five"); __split = __string.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "one,two,three,four,five") { - $ERROR('#3: var __string = new String("one,two,three,four,five"); __split = __string.split(); __split[0] === "one,two,three,four,five". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T10.js deleted file mode 100644 index edd90d4f0c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T10.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T10; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is new String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T10.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is new String", - -test: function testcase() { - var __string = new String; - -var __split = __string.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String; __split = __string.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String; __split = __string.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "") { - $ERROR('#3: var __string = new String; __split = __string.split(); __split[0] === "". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T11.js deleted file mode 100644 index f3919d4137..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T11.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T11; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is String(" "); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T11.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is String(\" \")", - -test: function testcase() { - var __string = new String(" "); - -var __split = __string.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String(" "); __split = __string.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String(" "); __split = __string.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== " ") { - $ERROR('#3: var __string = new String(" "); __split = __string.split(); __split[0] === " ". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T2.js deleted file mode 100644 index 2fb04de0f8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T2.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T2; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is Object(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T2.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is Object()", - -test: function testcase() { - var __instance = new Object(); - -__instance.split = String.prototype.split; - -var __split = __instance.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new Object(); __instance.split = String.prototype.split; __split = __instance.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __instance = new Object(); __instance.split = String.prototype.split; __split = __instance.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "[object Object]") { - $ERROR('#3: var __instance = new Object(); __instance.split = String.prototype.split; __split = __instance.split(); __split[0] === "[object Object]". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T3.js deleted file mode 100644 index 2ae034144b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T3.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T3; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is function(){}; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T3.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is function(){}", - -test: function testcase() { - var __instance = function(){}; - -__instance.split = String.prototype.split; - -var __split = __instance.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = function(){}; __instance.split = String.prototype.split; __split = __instance.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __instance = function(){}; __instance.split = String.prototype.split; __split = __instance.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0].substring(0,8) !== "function") { - $ERROR('#3: var __instance = function(){}; __instance.split = String.prototype.split; __split = __instance.split(); __split[0].substring(0,8) === "function". Actual: '+__split[0].substring(0,8) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T4.js deleted file mode 100644 index ec8b3e96ef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T4.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T4; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is Number(NaN); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T4.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is Number(NaN)", - -test: function testcase() { - var __instance = new Number(NaN); - -__instance.split = String.prototype.split; - -var __split = __instance.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new Number(NaN); __instance.split = String.prototype.split; __split = __instance.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __instance = new Number(NaN); __instance.split = String.prototype.split; __split = __instance.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "NaN") { - $ERROR('#3: var __instance = new Number(NaN); __instance.split = String.prototype.split; __split = __instance.split(); __split[0] === "NaN". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T5.js deleted file mode 100644 index a3e5b528ec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T5.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T5; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is Number(-1234567890); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T5.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is Number(-1234567890)", - -test: function testcase() { - var __instance = new Number(-1234567890); - -__instance.split = String.prototype.split; - -var __split = __instance.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new Number(-1234567890); __instance.split = String.prototype.split; __split = __instance.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __instance = new Number(-1234567890); __instance.split = String.prototype.split; __split = __instance.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "-1234567890") { - $ERROR('#3: var __instance = new Number(-1234567890); __instance.split = String.prototype.split; __split = __instance.split(); __split[0] === "-1234567890". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T6.js deleted file mode 100644 index 99a465a6a2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T6.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T6; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is Number(-1e21); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T6.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is Number(-1e21)", - -test: function testcase() { - var __instance = new Number(-1e21); - -__instance.split = String.prototype.split; - -var __split = __instance.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new Number(-1e21); __instance.split = String.prototype.split; __split = __instance.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __instance = new Number(-1e21); __instance.split = String.prototype.split; __split = __instance.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __instance.toString()) { - $ERROR('#3: var __instance = new Number(-1e21); __instance.split = String.prototype.split; __split = __instance.split(); __split[0] === __instance.toString(). Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T7.js deleted file mode 100644 index ba5682d78a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T7.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T7; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is Math; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T7.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is Math", - -test: function testcase() { - var __instance = Math; - -__instance.split = String.prototype.split; - -var __split = __instance.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = Math; __instance.split = String.prototype.split; __split = __instance.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __instance = Math; __instance.split = String.prototype.split; __split = __instance.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "[object Math]") { - $ERROR('#3: var __instance = Math; __instance.split = String.prototype.split; __split = __instance.split(); __split[0] === "[object Math]". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T8.js deleted file mode 100644 index 1779184fd8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T8.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T8; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is Array(1,2,3,4,5); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T8.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is Array(1,2,3,4,5)", - -test: function testcase() { - var __instance = new Array(1,2,3,4,5); - -__instance.split = String.prototype.split; - -var __split = __instance.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new Array(1,2,3,4,5); __instance.split = String.prototype.split; __split = __instance.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __instance = new Array(1,2,3,4,5); __instance.split = String.prototype.split; __split = __instance.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "1,2,3,4,5") { - $ERROR('#3: var __instance = new Array(1,2,3,4,5); __instance.split = String.prototype.split; __split = __instance.split(); __split[0] === "1,2,3,4,5". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T9.js deleted file mode 100644 index 1ef946fc62..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T9.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A3_T9; -* @section: 15.5.4.14; -* @assertion: String.prototype.split() returns an Array object with: -* i) length equaled to 1, -* ii) [[Get]](0) equaled to the result of converting this object to a string; -* @description: Instance is Boolean; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A3_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A3_T9.js", - -assertion: "String.prototype.split() returns an Array object with:", - -description: "Instance is Boolean", - -test: function testcase() { - var __instance = new Boolean; - -__instance.split = String.prototype.split; - -var __split = __instance.split(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __instance = new Boolean; __instance.split = String.prototype.split; __split = __instance.split(); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __instance = new Boolean; __instance.split = String.prototype.split; __split = __instance.split(); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "false") { - $ERROR('#3: var __instance = new Boolean; __instance.split = String.prototype.split; __split = __instance.split(); __split[0] === "false". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T1.js deleted file mode 100644 index b23f5a4d3c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T1.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T1; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Argument is regexp /l/, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T1.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Argument is regexp /l/, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = /l/; - -var __split = __string.split(__re); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 3) { - $ERROR('#2: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re); __split.length === 3. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re); __split[0] === "he". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re); __split[1] === "". Actual: '+__split[1]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[2] !== "o") { - $ERROR('#5: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re); __split[2] === "o". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T10.js deleted file mode 100644 index c6ffc61fe1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T10.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T10; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Argument is new RegExp, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T10.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Argument is new RegExp, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = new RegExp; - -var __split = __string.split(__re); - -var __expected = ["h","e","l","l","o"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T11.js deleted file mode 100644 index a5c572e275..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T11.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T11; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are new RegExp and 0, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T11.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are new RegExp and 0, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = new RegExp; - -var __split = __string.split(__re, 0); - -var __expected = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: __split[0] === '+__expected[0]+'. Actual: '+__split[index] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T12.js deleted file mode 100644 index 28c879711d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T12.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T12; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are new RegExp and 1, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T12.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are new RegExp and 1, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = new RegExp; - -var __split = __string.split(__re, 1); - -var __expected = ["h"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: __split[0] === '+__expected[0]+'. Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T13.js deleted file mode 100644 index ce613059da..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T13.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T13; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are new RegExp and 2, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T13.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are new RegExp and 2, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = new RegExp; - -var __split = __string.split(__re, 2); - -var __expected = ["h", "e"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T14.js deleted file mode 100644 index 881998dec3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T14.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T14; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are new RegExp and 3, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T14.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are new RegExp and 3, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = new RegExp; - -var __split = __string.split(__re, 3); - -var __expected = ["h", "e", "l"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T15.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T15.js deleted file mode 100644 index 6ac7fb32a7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T15.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T15; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are new RegExp and 4, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T15", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T15.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are new RegExp and 4, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = new RegExp; - -var __split = __string.split(__re, 4); - -var __expected = ["h", "e", "l" ,"l"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T16.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T16.js deleted file mode 100644 index abd7dfda48..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T16.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T16; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are new RegExp and void 0, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T16", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T16.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are new RegExp and void 0, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = new RegExp; - -var __split = __string.split(__re, void 0); - -var __expected = ["h", "e", "l", "l", "o"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T17.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T17.js deleted file mode 100644 index 79b2b13cb5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T17.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T17; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are new RegExp and undefined, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T17", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T17.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are new RegExp and undefined, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = new RegExp; - -var __split = __string.split(__re, undefined); - -var __expected = ["h", "e", "l", "l", "o"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T18.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T18.js deleted file mode 100644 index 690160cec5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T18.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T18; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are new RegExp and "hi", and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T18", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T18.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are new RegExp and \"hi\", and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = new RegExp; - -var __split = __string.split(__re, "hi"); - -var __expected = []; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T19.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T19.js deleted file mode 100644 index 536ae26cc7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T19.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T19; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Argument is regexp /\s/, and instance is String("a b c de f"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T19", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T19.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Argument is regexp /\\s/, and instance is String(\"a b c de f\")", - -test: function testcase() { - var __string = new String("a b c de f"); - -var __re = /\s/; - -var __split = __string.split(__re); - -var __expected = ["a","b","c","de","f"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T2.js deleted file mode 100644 index 3eb79c107a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T2.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T2; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are regexp /l/ and 0, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T2.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are regexp /l/ and 0, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = /l/; - -var __split = __string.split(__re,0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,0); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 0) { - $ERROR('#2: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,0); __split.length === 0. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T20.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T20.js deleted file mode 100644 index 6bd320e941..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T20.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T20; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are regexp /\s/ and 3, and instance is String("a b c de f"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T20", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T20.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are regexp /\\s/ and 3, and instance is String(\"a b c de f\")", - -test: function testcase() { - var __string = new String("a b c de f"); - -var __re = /\s/; - -var __split = __string.split(__re,3); - -var __expected = ["a","b","c"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T21.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T21.js deleted file mode 100644 index 2b7e1e28a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T21.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T21; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Argument is regexp /\X/, and instance is String("a b c de f"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T21", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T21.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Argument is regexp /\\X/, and instance is String(\"a b c de f\")", - -test: function testcase() { - var __string = new String("a b c de f"); - -var __re = /X/; - -var __split = __string.split(__re); - -var __expected = ["a b c de f"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== __expected[0]) { - $ERROR('#3: __split[0] === '+__expected[0]+'. Actual: '+__split[index] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T22.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T22.js deleted file mode 100644 index f3bb4d3d66..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T22.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T22; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Argument is regexp /\d+/, and instance is String("dfe23iu 34 =+65--"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T22", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T22.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Argument is regexp /\\d+/, and instance is String(\"dfe23iu 34 =+65--\")", - -test: function testcase() { - var __string = new String("dfe23iu 34 =+65--"); - -var __re = /\d+/; - -var __split = __string.split(__re); - -var __expected = ["dfe","iu "," =+","--"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T23.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T23.js deleted file mode 100644 index b2a02be0b8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T23.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T23; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Argument is regexp RegExp('\\d+'), and instance is String("dfe23iu 34 =+65--"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T23", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T23.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Argument is regexp RegExp(\'\\\\d+\'), and instance is String(\"dfe23iu 34 =+65--\")", - -test: function testcase() { - var __string = new String("dfe23iu 34 =+65--"); - -var __re = new RegExp('\\d+'); - -var __split = __string.split(__re); - -var __expected = ["dfe","iu "," =+","--"]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T24.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T24.js deleted file mode 100644 index c2015554b0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T24.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T24; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Argument is regexp /[a-z]/, and instance is String("abc"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T24", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T24.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Argument is regexp /[a-z]/, and instance is String(\"abc\")", - -test: function testcase() { - var __string = new String("abc"); - -var __re = /[a-z]/; - -var __split = __string.split(__re); - -var __expected = ["","","",""]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T25.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T25.js deleted file mode 100644 index 00a5f38302..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T25.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T25; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Argument is RegExp('[a-z]'), and instance is String("abc"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T25", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T25.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Argument is RegExp(\'[a-z]\'), and instance is String(\"abc\")", - -test: function testcase() { - var __string = new String("abc"); - -var __re = new RegExp('[a-z]'); - -var __split = __string.split(__re); - -var __expected = ["","","",""]; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -for(var index=0; index<__expected.length; index++) { - if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T3.js deleted file mode 100644 index 1ea38cebb2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T3.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T3; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are regexp /l/ and 1, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T3.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are regexp /l/ and 1, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = /l/; - -var __split = __string.split(__re,1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,1); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 1) { - $ERROR('#2: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,1); __split.length === 1. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,1); __split[0] === "he". Actual: '+__split[0] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T4.js deleted file mode 100644 index be749946c8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T4.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T4; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are regexp /l/ and 2, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T4.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are regexp /l/ and 2, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = /l/; - -var __split = __string.split(__re,2); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,2); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 2) { - $ERROR('#2: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,2); __split.length === 2. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,2); __split[0] === "he". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,2); __split[1] === "". Actual: '+__split[1] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T5.js deleted file mode 100644 index 585ba04a92..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T5.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T5; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are regexp /l/ and 3, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T5.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are regexp /l/ and 3, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = /l/; - -var __split = __string.split(__re,3); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,3); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 3) { - $ERROR('#2: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,3); __split.length === 3. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,3); __split[0] === "he". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,3); __split[1] === "". Actual: '+__split[1]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[2] !== "o") { - $ERROR('#5: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,3); __split[2] === "o". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T6.js deleted file mode 100644 index ebdf868fdf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T6.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T6; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are regexp /l/ and 4, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T6.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are regexp /l/ and 4, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = /l/; - -var __split = __string.split(__re,4); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,4); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 3) { - $ERROR('#2: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,4); __split.length === 3. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,4); __split[0] === "he". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,4); __split[1] === "". Actual: '+__split[1]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[2] !== "o") { - $ERROR('#5: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re,4); __split[2] === "o". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T7.js deleted file mode 100644 index 9e4841e812..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T7.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T7; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are regexp /l/ and void 0, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T7.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are regexp /l/ and void 0, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = /l/; - -var __split = __string.split(__re, void 0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, void 0); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 3) { - $ERROR('#2: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, void 0); __split.length === 3. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, void 0); __split[0] === "he". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, void 0); __split[1] === "". Actual: '+__split[1]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[2] !== "o") { - $ERROR('#5: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, void 0); __split[2] === "o". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T8.js deleted file mode 100644 index b5c51aa6dc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T8.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T8; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are regexp /l/ and "hi", and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T8.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are regexp /l/ and \"hi\", and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = /l/; - -var __split = __string.split(__re, "hi"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, "hi"); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 0) { - $ERROR('#2: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, "hi"); __split.length === 0. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T9.js deleted file mode 100644 index 33beddb4ea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T9.js +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A4_T9; -* @section: 15.5.4.14; -* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have -* been stored. If separator is a regular expression then -* inside of SplitMatch helper the [[Match]] method of R is called giving it the arguments corresponding; -* @description: Arguments are regexp /l/ and undefined, and instance is String("hello"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A4_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A4_T9.js", - -assertion: "String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have", - -description: "Arguments are regexp /l/ and undefined, and instance is String(\"hello\")", - -test: function testcase() { - var __string = new String("hello"); - -var __re = /l/; - -var __split = __string.split(__re, undefined); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, undefined); __split.constructor === Array. Actual: '+__split.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__split.length !== 3) { - $ERROR('#2: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, undefined); __split.length === 3. Actual: '+__split.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, undefined); __split[0] === "he". Actual: '+__split[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__split[1] !== "") { - $ERROR('#4: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, undefined); __split[1] === "". Actual: '+__split[1]); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__split[2] !== "o") { - $ERROR('#5: var __string = new String("hello"); var __re = /l/; __split = __string.split(__re, undefined); __split[2] === "o". Actual: '+__split[2] ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A6.js deleted file mode 100644 index 98f79b98af..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A6; -* @section: 15.5.4.14, 13.2; -* @assertion: String.prototype.split has not prototype property; -* @description: Checking String.prototype.split.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A6.js", - -assertion: "String.prototype.split has not prototype property", - -description: "Checking String.prototype.split.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.split.prototype !== undefined) { - $ERROR('#1: String.prototype.split.prototype === undefined. Actual: '+String.prototype.split.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A7.js deleted file mode 100644 index 8e3c94ee13..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A7.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A7; -* @section: 15.5.4.14, 13.2; -* @assertion: String.prototype.split can't be used as constructor; -* @description: Checking if creating the String.prototype.split object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A7.js", - -assertion: "String.prototype.split can\'t be used as constructor", - -description: "Checking if creating the String.prototype.split object fails", - -test: function testcase() { - var __FACTORY = String.prototype.split; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.split; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) {} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A8.js deleted file mode 100644 index e3a46d825f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A8; -* @section: 15.5.4.14; -* @assertion: The String.prototype.split.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.split.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A8.js", - -assertion: "The String.prototype.split.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.split.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.split.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.split.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.split.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.split.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.split.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.split){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.split){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A9.js deleted file mode 100644 index 660139516c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.14_A9; -* @section: 15.5.4.14; -* @assertion: The String.prototype.split.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.split.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.14_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A9.js", - -assertion: "The String.prototype.split.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.split.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.split.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.split.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.split.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.split.length) { - $ERROR('#1: delete String.prototype.split.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.split.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.split.length; String.prototype.split.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.split.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A10.js deleted file mode 100644 index d1919f2cc4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A10; -* @section: 15.5.4.15; -* @assertion: The String.prototype.substring.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.substring.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A10.js", - -assertion: "The String.prototype.substring.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.substring.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.substring.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.substring.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.substring.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.substring.length; - -String.prototype.substring.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.substring.length !== __obj) { - $ERROR('#2: __obj = String.prototype.substring.length; String.prototype.substring.length = function(){return "shifted";}; String.prototype.substring.length === __obj. Actual: '+String.prototype.substring.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A11.js deleted file mode 100644 index 2135833ef6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A11; -* @section: 15.5.4.15; -* @assertion: The length property of the substring method is 2; -* @description: Checking String.prototype.substring.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A11.js", - -assertion: "The length property of the substring method is 2", - -description: "Checking String.prototype.substring.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.substring.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.substring.hasOwnProperty("length") return true. Actual: '+String.prototype.substring.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.substring.length !== 2) { - $ERROR('#2: String.prototype.substring.length === 2. Actual: '+String.prototype.substring.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T1.js deleted file mode 100644 index 5907210180..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T1; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are false and true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T1.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are false and true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(false, true) !== "t") { - $ERROR('#1: __instance = new Object(true); __instance.substring = String.prototype.substring; __instance.substring(false, true) === "t". Actual: '+__instance.substring(false, true) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T10.js deleted file mode 100644 index 1c5e1f317b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T10.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T10; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are object and function call, and instance is String, object have overrided valueOf function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T10.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are object and function call, and instance is String, object have overrided valueOf function", - -test: function testcase() { - var __obj = {valueOf:function(){return 2;}}; - -var __str = "\u0035ABBBABAB"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (substring(__obj, function(){return substring(0,1);}()) !== "BBB") { - $ERROR('#1: var __obj = {valueOf:function(){return 2;}}; var __str = "\u0035ABBBABAB"; substring(__obj, function(){return substring(0,1);}()) === "BBB". Actual: '+substring(__obj, function(){return substring(0,1);}()) ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T11.js deleted file mode 100644 index 7926f00851..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T11.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T11; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are objects, and instance is string, objects have overrided valueOf function, that return exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T11.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are objects, and instance is string, objects have overrided valueOf function, that return exception", - -test: function testcase() { - var __obj = {valueOf:function(){throw "instart";}}; -var __obj2 = {valueOf:function(){throw "inend";}}; -var __str = {str__:"ABB\u0041BABAB"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - with(str__){ - try { - var x = substring(__obj,__obj2); - $FAIL('#1: "var x = substring(__obj,__obj2)" lead to throw exception'); - } catch (e) { - if (e!=="instart") { - $ERROR('#1.1: Exception === "instart". Actual: '+e); - } - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T12.js deleted file mode 100644 index 73ae4b111a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T12.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T12; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are objects, and instance is string. -* First object have overrided valueOf function and toString function, that return exception. -* Second object have overrided valueOf function, that return exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T12.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {valueOf:function(){return {};}, toString:function(){throw "instart";}}; -var __obj2 = {valueOf:function(){throw "inend";}}; -var __str = new String("ABB\u0041BABAB"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - try { - var x = substring(__obj, __obj2); - $FAIL('#1: "var x = substring(__obj,__obj2)" lead to throw exception'); - } catch (e) { - if (e!=="instart") { - $ERROR('#1.1: Exception ==="instart". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T13.js deleted file mode 100644 index d588e72b44..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T13.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T13; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are objects, and instance is string. -* First object have overrided valueOf and toString functions. -* Second object have overrided toString function, that return exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T13.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are objects, and instance is string.", - -test: function testcase() { - var __obj = {valueOf:function(){return {};}, toString:function(){return 1;}}; -var __obj2 = {toString:function(){throw "inend";}}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = "ABB\u0041BABAB\u0031BBAA".substring(__obj, __obj2); - $FAIL('#1: var x = "ABB\\u0041BABAB\\u0031BBAA".substring(__obj,__obj2) lead to throw exception'); -} catch (e) { - if (e!=="inend") { - $ERROR('#1.1: Exception === "inend". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T14.js deleted file mode 100644 index e7e4e81d3a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T14.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T14; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Used one argument, that is function(){}(). Instance is string; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T14.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Used one argument, that is function(){}(). Instance is string", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("report".substring(function(){}()) !== "report") { - $ERROR('#1: "report".substring(function(){}()) === "report". Actual: '+"report".substring(function(){}()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T15.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T15.js deleted file mode 100644 index 9ff27419c4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T15.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T15; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Call substring without arguments. Instance is Number with prototype.substring = String.prototype.substring; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T15", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T15.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Call substring without arguments. Instance is Number with prototype.substring = String.prototype.substring", - -test: function testcase() { - var __num = 11.001002; - -Number.prototype.substring = String.prototype.substring; - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__num.substring()!=="11.001002") { - $ERROR('#1: var __num = 11.001002; Number.prototype.substring = String.prototype.substring; __num.substring()==="11.001002". Actual: '+__num.substring()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T2.js deleted file mode 100644 index 5e2a0ed4fb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T2; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are function call and x, and instance is Boolean. x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T2.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are function call and x, and instance is Boolean. x is undefined variable", - -test: function testcase() { - var __instance = new Boolean; - -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(function(){return true;}(),x) !== "alse") { - $ERROR('#1: var x; __instance = new Boolean; __instance.substring = String.prototype.substring; __instance.substring(function(){return true;}(),x) === "alse". Actual: '+__instance.substring(function(){return true;}(),x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T3.js deleted file mode 100644 index b60ffd841d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T3.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T3; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T3.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Checking by using eval", - -test: function testcase() { - var substring = String.prototype.substring; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -var __class__ = toString(); -var __toggle = 1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (substring(eval("\"1\""),{valueOf:function(){return "0x0007"}})!=="object") { - $ERROR('#1: substring(eval("\\"1\\""),{valueOf:function(){return "0x0007"}})==="object". Actual: '+substring(eval("\"1\""),{valueOf:function(){return "0x0007"}})); -}; -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T4.js deleted file mode 100644 index 07588460fa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T4; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are null and number, and instance is function call, that returned string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T4.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are null and number, and instance is function call, that returned string", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (function(){return "gnulluna"}().substring(null, -3) !== "") { - $ERROR('#1: function(){return "gnulluna"}().substring(null, -3) === "". Actual: '+function(){return "gnulluna"}().substring(null, -3) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T5.js deleted file mode 100644 index e42556f3cd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T5.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T5; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are null and Function(), and instance is function object, that have overrided valueOf function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T5.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are null and Function(), and instance is function object, that have overrided valueOf function", - -test: function testcase() { - __func.valueOf=function(){return "gnulluna"}; - -Function.prototype.substring=String.prototype.substring; - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__func.substring(null, Function()) !== "") { - $ERROR('#1: __func.valueOf=function(){return "gnulluna"}; Function.prototype.substring=String.prototype.substring; function __func(){}; __func.substring(null, Function()) === "". Actual: '+__func.substring(null, Function()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __func(){}; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T6.js deleted file mode 100644 index e820409fdc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T6; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are x and number, and instance is new String, x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T6.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are x and number, and instance is new String, x is undefined variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (new String("undefined").substring(x,3) !== "und") { - $ERROR('#1: var x; new String("undefined").substring(x,3) === "und". Actual: '+new String("undefined").substring(x,3) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T7.js deleted file mode 100644 index 0325c99c3c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T7.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T7; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are symbol and undefined, and instance is String; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T7.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are symbol and undefined, and instance is String", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String(void 0).substring("e",undefined) !== "undefined") { - $ERROR('#1: String(void 0).substring("e",undefined) === "undefined". Actual: '+String(void 0).substring("e",undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T8.js deleted file mode 100644 index 92dca6ccec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T8; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are negative number and void 0, and instance is String(object), object have overrided toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T8.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are negative number and void 0, and instance is String(object), object have overrided toString function", - -test: function testcase() { - var __obj = {toString:function(){}}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String(__obj).substring(-4,void 0) !== "undefined") { - $ERROR('#1: __obj = {toString:function(){}}; String(__obj).substring(-4,void 0) === "undefined". Actual: '+String(__obj).substring(-4,void 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T9.js deleted file mode 100644 index ee2efe9adb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T9.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T9; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Arguments are undefined and object, and instance is new String(object), object have overrided valueOf and toString functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T9.js", - -assertion: "String.prototype.substring (start, end)", - -description: "Arguments are undefined and object, and instance is new String(object), object have overrided valueOf and toString functions", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (new String(__obj).substring(/*(function(){})()*/undefined,undefined) !== "undefined") { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; new String(__obj).substring(/*(function(){})()*/undefined,undefined) === "undefined". Actual: '+new String(__obj).substring(/*(function(){})()*/undefined,undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T1.js deleted file mode 100644 index 06de2eb689..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T1; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: Checking type of substring(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T1.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "Checking type of substring()", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __string.substring() !== "string") { - $ERROR('#1: __string = new String("this is a string object"); typeof __string.substring() === "string". Actual: '+typeof __string.substring() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T10.js deleted file mode 100644 index 1ac62f7c4e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T10.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T10; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: start is 0, end is 8; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T10.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "start is 0, end is 8", - -test: function testcase() { - var __string = new String("this_is_a_string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.substring(0,8) !== "this_is_") { - $ERROR('#1: __string = new String("this_is_a_string object"); __string.substring(0,8) === "this_is_". Actual: '+__string.substring(0,8) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T2.js deleted file mode 100644 index 534391880d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T2; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: start is NaN, end is Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T2.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "start is NaN, end is Infinity", - -test: function testcase() { - var __string = new String('this is a string object'); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.substring(NaN, Infinity) !== "this is a string object") { - $ERROR('#1: __string = new String(\'this is a string object\'); __string.substring(NaN, Infinity) === "this is a string object". Actual: '+__string.substring(NaN, Infinity) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T3.js deleted file mode 100644 index e258f0d6bc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T3; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: Call substring from empty String object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T3.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "Call substring from empty String object", - -test: function testcase() { - var __string = new String(""); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.substring(1,0) !== "") { - $ERROR('#1: __string = new String(""); __string.substring(1,0) === "". Actual: '+__string.substring(1,0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T4.js deleted file mode 100644 index 485d912fcc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T4; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: start is Infinity, end is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T4.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "start is Infinity, end is NaN", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.substring(Infinity, NaN) !== "this is a string object") { - $ERROR('#1: __string = new String("this is a string object"); __string.substring(Infinity, NaN) === "this is a string object". Actual: '+__string.substring(Infinity, NaN) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T5.js deleted file mode 100644 index e89bc86954..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T5; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: start is Infinity, end is Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T5.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "start is Infinity, end is Infinity", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.substring(Infinity, Infinity) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.substring(Infinity, Infinity) === "". Actual: '+__string.substring(Infinity, Infinity) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T6.js deleted file mode 100644 index b2aff49981..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T6; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: start is negative float number, end is 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T6.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "start is negative float number, end is 0", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.substring(-0.01,0) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.substring(-0.01,0) === "". Actual: '+__string.substring(-0.01,0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T7.js deleted file mode 100644 index 07a57d73ba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T7; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: start is tested_string.length, end is tested_string.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T7.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "start is tested_string.length, end is tested_string.length", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.substring(__string.length, __string.length) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.substring(__string.length, __string.length) === "". Actual: '+__string.substring(__string.length, __string.length) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T8.js deleted file mode 100644 index 26e6e71bbe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T8; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: start is tested_string.length+1, end is 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T8.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "start is tested_string.length+1, end is 0", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.substring(__string.length+1, 0) !== "this is a string object") { - $ERROR('#1: __string = new String("this is a string object"); __string.substring(__string.length+1, 0) === "this is a string object". Actual: '+__string.substring(__string.length+1, 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T9.js deleted file mode 100644 index 4d83f6aaa8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T9.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A2_T9; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) returns a string value(not object); -* @description: start is -Infinity, end is -Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A2_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A2_T9.js", - -assertion: "String.prototype.substring (start, end) returns a string value(not object)", - -description: "start is -Infinity, end is -Infinity", - -test: function testcase() { - var __string = new String("this is a string object"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__string.substring(-Infinity, -Infinity) !== "") { - $ERROR('#1: __string = new String("this is a string object"); __string.substring(-Infinity, -Infinity) === "". Actual: '+__string.substring(-Infinity, -Infinity) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T1.js deleted file mode 100644 index c82747ba37..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T1; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Array instance. Start is Infinity, end is -Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T1.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Array instance. Start is Infinity, end is -Infinity", - -test: function testcase() { - var __instance = new Array(1,2,3,4,5); -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(Infinity,-Infinity) !== "1,2,3,4,5") { - $ERROR('#1: __instance = new Array(1,2,3,4,5); __instance.substring = String.prototype.substring; __instance.substring(Infinity,-Infinity) === "1,2,3,4,5". Actual: '+__instance.substring(Infinity,-Infinity) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T10.js deleted file mode 100644 index fd0f6f8034..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T10.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T10; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Checknig if applying String.prototype.substring to Function object instance passes; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T10.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Checknig if applying String.prototype.substring to Function object instance passes", - -test: function testcase() { - __FACTORY.prototype.substring = String.prototype.substring; - -var __instance = new __FACTORY(void 0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(0, 100) !== "undefined") { - $ERROR('#1: __instance.substring(0, 100) === "undefined". Actual: '+__instance.substring(0, 100) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -function __FACTORY( value ) { - this.value = value; - this.toString = function() { return this.value+''; } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T11.js deleted file mode 100644 index 031365284a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T11.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T11; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Boolean instance. Start is new Array(), end is new Boolean(1); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T11.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Boolean instance. Start is new Array(), end is new Boolean(1)", - -test: function testcase() { - var __instance = new Boolean(); - -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(new Array(), new Boolean(1)) !== "f") { - $ERROR('#1: __instance = new Boolean(); __instance.substring = String.prototype.substring; __instance.substring(new Array(), new Boolean(1)) === "f". Actual: '+__instance.substring(new Array(), new Boolean(1)) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T2.js deleted file mode 100644 index 390a1c0b48..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T2; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Array instance. Start is 9, end is -Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T2.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Array instance. Start is 9, end is -Infinity", - -test: function testcase() { - var __instance = new Array(1,2,3,4,5); -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(9,-Infinity) !== "1,2,3,4,5") { - $ERROR('#1: __instance = new Array(1,2,3,4,5); __instance.substring = String.prototype.substring; __instance.substring(9,-Infinity) === "1,2,3,4,5". Actual: '+__instance.substring(9,-Infinity) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T3.js deleted file mode 100644 index b3679e8d27..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T3; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Array instance. Start is true, end is false; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T3.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Array instance. Start is true, end is false", - -test: function testcase() { - var __instance = new Array(1,2,3,4,5); -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(true, false) !== "1") { - $ERROR('#1: __instance = new Array(1,2,3,4,5); __instance.substring = String.prototype.substring; __instance.substring(true, false) === "1". Actual: '+__instance.substring(true, false) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T4.js deleted file mode 100644 index b2cb7d3e31..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T4.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T4; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Array instance. Start is '4', end is '5'; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T4.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Array instance. Start is \'4\', end is \'5\'", - -test: function testcase() { - var __instance = new Array(1,2,3,4,5); -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring('4', '5') !== "3") { - $ERROR('#1: __instance = new Array(1,2,3,4,5); __instance.substring = String.prototype.substring; __instance.substring(\'4\', \'5\') === "3". Actual: '+__instance.substring('4', '5') ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T5.js deleted file mode 100644 index 596daf2257..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T5; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Object instance. Start is 8, end is 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T5.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Object instance. Start is 8, end is 0", - -test: function testcase() { - var __instance = new Object(); -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(8,0) !== "[object ") { - $ERROR('#1: __instance = new Object(); __instance.substring = String.prototype.substring; __instance.substring(8,0) === "[object ". Actual: '+__instance.substring(8,0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T6.js deleted file mode 100644 index df5068bf4f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T6.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T6; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Object instance. Start is 8, end is length of object.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T6.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Object instance. Start is 8, end is length of object.toString", - -test: function testcase() { - var __instance = new Object(); -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(8, __instance.toString().length) !== "Object]") { - $ERROR('#1: __instance = new Object(); __instance.substring = String.prototype.substring; __instance.substring(8, __instance.toString().length) === "Object]". Actual: '+__instance.substring(8, __instance.toString().length) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T7.js deleted file mode 100644 index 714b061c4f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T7.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T7; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Object instance. Call instance.substring(...).substring(...); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T7.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Object instance. Call instance.substring(...).substring(...)", - -test: function testcase() { - var __instance = function(){}; - -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(-Infinity,8) !== "function") { - $ERROR('#1: __instance = function(){}; __instance.substring = String.prototype.substring; __instance.substring(-Infinity,8) === "function". Actual: '+__instance.substring(8,Infinity).substring(-Infinity,1) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T8.js deleted file mode 100644 index 19fc93743f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T8.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T8; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Number instance. Start is Infinity, end is NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T8.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Number instance. Start is Infinity, end is NaN", - -test: function testcase() { - var __instance = new Number(NaN); - -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(Infinity, NaN) !== "NaN") { - $ERROR('#1: __instance = new Number(NaN); __instance.substring = String.prototype.substring; __instance.substring(Infinity, NaN) === "NaN". Actual: '+__instance.substring(Infinity, NaN) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T9.js deleted file mode 100644 index 3a5665f4bc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T9.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A3_T9; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end) can be applied to non String object instance and -* returns a string value(not object); -* @description: Apply String.prototype.substring to Math instance. Start is Math.PI, end is -10; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A3_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A3_T9.js", - -assertion: "String.prototype.substring (start, end) can be applied to non String object instance and", - -description: "Apply String.prototype.substring to Math instance. Start is Math.PI, end is -10", - -test: function testcase() { - var __instance = Math; - -__instance.substring = String.prototype.substring; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.substring(Math.PI, -10) !== "[ob") { - $ERROR('#1: __instance = Math; __instance.substring = String.prototype.substring; __instance.substring(Math.PI, -10) === "[ob". Actual: '+__instance.substring(Math.PI, -10) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A6.js deleted file mode 100644 index b7c5d27f92..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A6; -* @section: 15.5.4.15, 13.2; -* @assertion: String.prototype.substring has not prototype property; -* @description: Checking String.prototype.substring.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A6.js", - -assertion: "String.prototype.substring has not prototype property", - -description: "Checking String.prototype.substring.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.substring.prototype !== undefined) { - $ERROR('#1: String.prototype.substring.prototype === undefined. Actual: '+String.prototype.substring.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A7.js deleted file mode 100644 index 63ba8e511f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A7.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A7; -* @section: 15.5.4.15, 13.2; -* @assertion: String.prototype.substring can't be used as constructor; -* @description: Checking if creating the String.prototype.substring object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A7.js", - -assertion: "String.prototype.substring can\'t be used as constructor", - -description: "Checking if creating the String.prototype.substring object fails", - -test: function testcase() { - var __FACTORY = String.prototype.substring; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.substring; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: undefined = 1 throw a TypeError. Actual: ' + (e)); - } - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A8.js deleted file mode 100644 index 9fa5851527..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A8; -* @section: 15.5.4.15; -* @assertion: The String.prototype.substring.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.substring.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A8.js", - -assertion: "The String.prototype.substring.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.substring.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.substring.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.substring.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.substring.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.substring.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.substring.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (var p in String.prototype.substring){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.substring){if (p==="length") count++;} count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A9.js deleted file mode 100644 index 0642dd2eff..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A9; -* @section: 15.5.4.15; -* @assertion: The String.prototype.substring.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.substring.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.15_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A9.js", - -assertion: "The String.prototype.substring.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.substring.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.substring.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.substring.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.substring.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.substring.length) { - $ERROR('#1: delete String.prototype.substring.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.substring.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.substring.length; String.prototype.substring.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.substring.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A10.js deleted file mode 100644 index e09f90580f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A10; -* @section: 15.5.4.16; -* @assertion: The String.prototype.toLowerCase.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.toLowerCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A10.js", - -assertion: "The String.prototype.toLowerCase.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.toLowerCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.toLowerCase.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.toLowerCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLowerCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.toLowerCase.length; - -String.prototype.toLowerCase.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.toLowerCase.length !== __obj) { - $ERROR('#2: __obj = String.prototype.toLowerCase.length; String.prototype.toLowerCase.length = function(){return "shifted";}; String.prototype.toLowerCase.length === __obj. Actual: '+String.prototype.toLowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A11.js deleted file mode 100644 index 70201336ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A11; -* @section: 15.5.4.16; -* @assertion: The length property of the toLowerCase method is 0; -* @description: Checking String.prototype.toLowerCase.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A11.js", - -assertion: "The length property of the toLowerCase method is 0", - -description: "Checking String.prototype.toLowerCase.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.toLowerCase.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.toLowerCase.hasOwnProperty("length") return true. Actual: '+String.prototype.toLowerCase.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.toLowerCase.length !== 0) { - $ERROR('#2: String.prototype.toLowerCase.length === 0. Actual: '+String.prototype.toLowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T1.js deleted file mode 100644 index d4486998e9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T1; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Arguments is true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T1.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Arguments is true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.toLowerCase = String.prototype.toLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.toLowerCase() !== "true") { - $ERROR('#1: __instance = new Object(true); __instance.toLowerCase = String.prototype.toLowerCase; __instance.toLowerCase() === "true". Actual: '+__instance.toLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T10.js deleted file mode 100644 index 21e31bdb28..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T10.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T10; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Call toLowerCase() function of object with overrode toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T10.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Call toLowerCase() function of object with overrode toString function", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -__obj.toLowerCase = String.prototype.toLowerCase; - - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.toLowerCase() !=="ab") { - $ERROR('#1: var __obj = {toString:function(){return "\u0041B";}}; __obj.toLowerCase = String.prototype.toLowerCase; __obj.toLowerCase() ==="ab". Actual: '+__obj.toLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T11.js deleted file mode 100644 index 5e22e88a19..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T11; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Override toString function, toString throw exception, then call toLowerCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T11.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Override toString function, toString throw exception, then call toLowerCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr";}} -__obj.toLowerCase = String.prototype.toLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.toLowerCase(); - $FAIL('#1: "var x = __obj.toLowerCase()" lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T12.js deleted file mode 100644 index 3ddc905ae6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T12.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T12; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Override toString and valueOf functions, valueOf throw exception, then call toLowerCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T12.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Override toString and valueOf functions, valueOf throw exception, then call toLowerCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}} -__obj.toLowerCase = String.prototype.toLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.toLowerCase(); - $FAIL('#1: "var x = __obj.toLowerCase()" lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T13.js deleted file mode 100644 index b88649fcae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T13.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T13; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Override toString and valueOf functions, then call toLowerCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T13.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Override toString and valueOf functions, then call toLowerCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){return 1;}} -__obj.toLowerCase = String.prototype.toLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.toLowerCase() !=="1") { - $ERROR('#1: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; __obj.toLowerCase = String.prototype.toLowerCase; __obj.toLowerCase() ==="1". Actual: '+__obj.toLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.toLowerCase().length !== 1) { - $ERROR('#2: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; __obj.toLowerCase = String.prototype.toLowerCase; __obj.toLowerCase().length === 1. Actual: '+__obj.toLowerCase().length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T14.js deleted file mode 100644 index ce0c59fc96..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T14.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T14; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Call toLowerCase() function for RegExp object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T14.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Call toLowerCase() function for RegExp object", - -test: function testcase() { - var __reg = new RegExp("ABC"); -__reg.toLowerCase = String.prototype.toLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__reg.toLowerCase() !== "/abc/") { - $ERROR('#1: var __reg = new RegExp("ABC"); __reg.toLowerCase = String.prototype.toLowerCase; __reg.toLowerCase() === "/abc/". Actual: '+__reg.toLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T2.js deleted file mode 100644 index 0ab85fc5ee..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T2; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T2.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Instance is Boolean object", - -test: function testcase() { - __instance = new Boolean; - -__instance.toLowerCase = String.prototype.toLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.toLowerCase() !== "false") { - $ERROR('#1: __instance = new Boolean; __instance.toLowerCase = String.prototype.toLowerCase; __instance.toLowerCase() === "false". Actual: '+__instance.toLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T3.js deleted file mode 100644 index efc5e79a38..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T3; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T3.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Checking by using eval", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (eval("\"BJ\"").toLowerCase() !== "bj") { - $ERROR('#1: eval("\\"BJ\\"").toLowerCase() === "bj". Actual: '+eval("\"BJ\"").toLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T4.js deleted file mode 100644 index 37ee474a6a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T4.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T4; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Call toLowerCase() function without arguments of string and from empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T4.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Call toLowerCase() function without arguments of string and from empty string", - -test: function testcase() { - var __lowerCase = "".toLowerCase(); - -var __expected = ""; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__lowerCase.length !== __expected.length) { - $ERROR('#1: __lowerCase = "".toLowerCase(); __expected = ""; __lowerCase.length === __expected.length. Actual: '+__lowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__lowerCase.index !== __expected.index) { - $ERROR('#2: __lowerCase = "".toLowerCase(); __expected = ""; __lowerCase.index === __expected.index. Actual: '+__lowerCase.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__lowerCase.input !== __expected.input) { - $ERROR('#3: __lowerCase = "".toLowerCase(); __expected = ""; __lowerCase.input === __expected.input. Actual: '+__lowerCase.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__lowerCase[0]!==__expected[0]) { - $ERROR('#4: __lowerCase = "".toLowerCase(); __expected = ""; __lowerCase[0]==='+__expected[0]+'. Actual: '+__lowerCase[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T5.js deleted file mode 100644 index fb15a15c02..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T5; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Call toLowerCase() function for function call; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T5.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Call toLowerCase() function for function call", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(null) evaluates to "null" match(null) evaluates to match("null") -if (function(){return "GnulLuNa"}().toLowerCase() !== "gnulluna") { - $ERROR('#1: function(){return "GnulLuNa"}().toLowerCase() === "gnulluna". Actual: '+function(){return "GnulLuNa"}().toLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T6.js deleted file mode 100644 index 9258f3be7a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T6.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T6; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Call toLowerCase() function of Number.NEGATIVE_INFINITY; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T6.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Call toLowerCase() function of Number.NEGATIVE_INFINITY", - -test: function testcase() { - Number.prototype.toLowerCase = String.prototype.toLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((Number.NEGATIVE_INFINITY).toLowerCase() !== "-infinity") { - $ERROR('#1: Number.prototype.toLowerCase = String.prototype.toLowerCase; (Number.NEGATIVE_INFINITY).toLowerCase() === "-infinity". Actual: '+(Number.NEGATIVE_INFINITY).toLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T7.js deleted file mode 100644 index 9f2ec59bff..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T7; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Call toLowerCase() function of NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T7.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Call toLowerCase() function of NaN", - -test: function testcase() { - Number.prototype.toLowerCase = String.prototype.toLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (NaN.toLowerCase()!== "nan") { - $ERROR('#1: Number.prototype.toLowerCase = String.prototype.toLowerCase; NaN.toLowerCase()=== "nan". Actual: '+NaN.toLowerCase()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T8.js deleted file mode 100644 index 73325739d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T8.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T8; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Call toLowerCase() function of Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T8.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Call toLowerCase() function of Infinity", - -test: function testcase() { - Number.prototype.toLowerCase = String.prototype.toLowerCase; - -if (Infinity.toLowerCase()!== "infinity") { - $ERROR('#1: Number.prototype.toLowerCase = String.prototype.toLowerCase; Infinity.toLowerCase()=== "infinity". Actual: '+Infinity.toLowerCase()); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T9.js deleted file mode 100644 index c5a1823332..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T9.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A1_T9; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase(); -* @description: Call toLowerCase() function of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T9.js", - -assertion: "String.prototype.toLowerCase()", - -description: "Call toLowerCase() function of string object", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -var __lowerCase = new String(__obj).toLowerCase(); - -var __expected ="undefined"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__lowerCase.length !== __expected.length) { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLowerCase(); __expected ="undefined"; __lowerCase.length === __expected.length. Actual: '+__lowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__lowerCase.index !== __expected.index) { - $ERROR('#2: __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLowerCase(); __expected ="undefined"; __lowerCase.index === __expected.index. Actual: '+__lowerCase.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__lowerCase.input !== __expected.input) { - $ERROR('#3: __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLowerCase(); __expected ="undefined"; __lowerCase.input === __expected.input. Actual: '+__lowerCase.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__lowerCase[index]!==__expected[index]) { - $ERROR('#4.'+index+': __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLowerCase(); __expected ="undefined"; __lowerCase['+index+']==='+__expected[index]+'. Actual: '+__lowerCase[index]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A2_T1.js deleted file mode 100644 index a0b484c317..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A2_T1; -* @section: 15.5.4.16; -* @assertion: String.prototype.toLowerCase() return a string, but not a String object; -* @description: Checking returned result; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A2_T1.js", - -assertion: "String.prototype.toLowerCase() return a string, but not a String object", - -description: "Checking returned result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("Hello, WoRlD!".toLowerCase() !== "hello, world!") { - $ERROR('#1: "Hello, WoRlD!".toLowerCase() === "hello, world!". Actual: '+("Hello, WoRlD!".toLowerCase()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if ("Hello, WoRlD!".toLowerCase() !== String("hello, world!")) { - $ERROR('#2: "Hello, WoRlD!".toLowerCase() === String("hello, world!"). Actual: '+("Hello, WoRlD!".toLowerCase()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ("Hello, WoRlD!".toLowerCase() ===new String("hello, world!")) { - $ERROR('#3: "Hello, WoRlD!".toLowerCase() !== new String("hello, world!")'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A6.js deleted file mode 100644 index 9d12b4dade..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A6; -* @section: 15.5.4.16, 13.2; -* @assertion: String.prototype.toLowerCase has not prototype property; -* @description: Checking String.prototype.toLowerCase.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A6.js", - -assertion: "String.prototype.toLowerCase has not prototype property", - -description: "Checking String.prototype.toLowerCase.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.toLowerCase.prototype !== undefined) { - $ERROR('#1: String.prototype.toLowerCase.prototype === undefined. Actual: '+String.prototype.toLowerCase.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A7.js deleted file mode 100644 index a283f78865..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A7.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A7; -* @section: 15.5.4.16, 13.2; -* @assertion: String.prototype.toLowerCase can't be used as constructor; -* @description: Checking if creating the String.prototype.toLowerCase object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A7.js", - -assertion: "String.prototype.toLowerCase can\'t be used as constructor", - -description: "Checking if creating the String.prototype.toLowerCase object fails", - -test: function testcase() { - var __FACTORY = String.prototype.toLowerCase; - -try { - var __instance = new __FACTORY; - $FAIL('#1: var __FACTORY = String.prototype.toLowerCase; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.1: var __FACTORY = String.prototype.toLowerCase; "__instance = new __FACTORY" throws a TypeError. Actual: ' + (e)); - } -}; - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A8.js deleted file mode 100644 index 0e9be05666..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A8; -* @section: 15.5.4.16; -* @assertion: The String.prototype.toLowerCase.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.toLowerCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A8.js", - -assertion: "The String.prototype.toLowerCase.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.toLowerCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.toLowerCase.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.toLowerCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLowerCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.toLowerCase.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.toLowerCase.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.toLowerCase){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.toLowerCase){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A9.js deleted file mode 100644 index fb4befffcb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.16_A9; -* @section: 15.5.4.16; -* @assertion: The String.prototype.toLowerCase.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.toLowerCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.16_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A9.js", - -assertion: "The String.prototype.toLowerCase.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.toLowerCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.toLowerCase.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.toLowerCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLowerCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.toLowerCase.length) { - $ERROR('#1: delete String.prototype.toLowerCase.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.toLowerCase.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.toLowerCase.length; String.prototype.toLowerCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLowerCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A10.js deleted file mode 100644 index 23d5da6e1f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A10; -* @section: 15.5.4.17; -* @assertion: The String.prototype.toLocaleLowerCase.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.toLocaleLowerCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A10.js", - -assertion: "The String.prototype.toLocaleLowerCase.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.toLocaleLowerCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.toLocaleLowerCase.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.toLocaleLowerCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLocaleLowerCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -__obj = String.prototype.toLocaleLowerCase.length; - -String.prototype.toLocaleLowerCase.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.toLocaleLowerCase.length !== __obj) { - $ERROR('#2: __obj = String.prototype.toLocaleLowerCase.length; String.prototype.toLocaleLowerCase.length = function(){return "shifted";}; String.prototype.toLocaleLowerCase.length === __obj. Actual: '+String.prototype.toLocaleLowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A11.js deleted file mode 100644 index ae07125615..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A11; -* @section: 15.5.4.17; -* @assertion: The length property of the toLocaleLowerCase method is 0; -* @description: Checking String.prototype.toLocaleLowerCase.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A11.js", - -assertion: "The length property of the toLocaleLowerCase method is 0", - -description: "Checking String.prototype.toLocaleLowerCase.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.toLocaleLowerCase.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.toLocaleLowerCase.hasOwnProperty("length") return true. Actual: '+String.prototype.toLocaleLowerCase.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.toLocaleLowerCase.length !== 0) { - $ERROR('#2: String.prototype.toLocaleLowerCase.length === 0. Actual: '+String.prototype.toLocaleLowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T1.js deleted file mode 100644 index 5c053f9ba2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T1; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Arguments is true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T1.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Arguments is true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.toLocaleLowerCase() !== "true") { - $ERROR('#1: __instance = new Object(true); __instance.toLocaleLowerCase = String.prototype.toLocaleLowerCase; __instance.toLocaleLowerCase() === "true". Actual: '+__instance.toLocaleLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T10.js deleted file mode 100644 index ed85b262f1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T10.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T10; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Call toLocaleLowerCase() function of object with overrode toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T10.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Call toLocaleLowerCase() function of object with overrode toString function", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -__obj.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.toLocaleLowerCase() !=="ab") { - $ERROR('#1: var __obj = {toString:function(){return "\u0041B";}}; __obj.toLocaleLowerCase = String.prototype.toLocaleLowerCase; __obj.toLocaleLowerCase() ==="ab". Actual: '+__obj.toLocaleLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T11.js deleted file mode 100644 index ecee148457..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T11; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Override toString function, toString throw exception, then call toLocaleLowerCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T11.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Override toString function, toString throw exception, then call toLocaleLowerCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr";}} -__obj.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.toLocaleLowerCase(); - $FAIL('#1: "var x = __obj.toLocaleLowerCase()" lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T12.js deleted file mode 100644 index d2633cc65c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T12.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T12; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Override toString and valueOf functions, valueOf throw exception, then call toLocaleLowerCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T12.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Override toString and valueOf functions, valueOf throw exception, then call toLocaleLowerCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}} -__obj.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.toLocaleLowerCase(); - $FAIL('#1: "var x = __obj.toLocaleLowerCase()" lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T13.js deleted file mode 100644 index 7b53b46d32..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T13.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T13; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Override toString and valueOf functions, then call toLocaleLowerCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T13.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Override toString and valueOf functions, then call toLocaleLowerCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){return 1;}} -__obj.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.toLocaleLowerCase() !=="1") { - $ERROR('#1: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; __obj.toLocaleLowerCase = String.prototype.toLocaleLowerCase; __obj.toLocaleLowerCase() ==="1". Actual: '+__obj.toLocaleLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.toLocaleLowerCase().length !== 1) { - $ERROR('#2: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; __obj.toLocaleLowerCase = String.prototype.toLocaleLowerCase; __obj.toLocaleLowerCase().length === 1. Actual: '+__obj.toLocaleLowerCase().length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T14.js deleted file mode 100644 index 47bb955db3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T14.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T14; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Call toLocaleLowerCase() function for RegExp object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T14.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Call toLocaleLowerCase() function for RegExp object", - -test: function testcase() { - var __reg = new RegExp("ABC"); -__reg.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__reg.toLocaleLowerCase() !== "/abc/") { - $ERROR('#1: var __reg = new RegExp("ABC"); __reg.toLocaleLowerCase = String.prototype.toLocaleLowerCase; __reg.toLocaleLowerCase() === "/abc/". Actual: '+__reg.toLocaleLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T2.js deleted file mode 100644 index 36834a1d8b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T2; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T2.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.toLocaleLowerCase() !== "false") { - $ERROR('#1: __instance = new Boolean; __instance.toLocaleLowerCase = String.prototype.toLocaleLowerCase; __instance.toLocaleLowerCase() === "false". Actual: '+__instance.toLocaleLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T3.js deleted file mode 100644 index 41f086b68e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T3; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T3.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Checking by using eval", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (eval("\"BJ\"").toLocaleLowerCase() !== "bj") { - $ERROR('#1: eval("\\"BJ\\"").toLocaleLowerCase() === "bj". Actual: '+eval("\"BJ\"").toLocaleLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T4.js deleted file mode 100644 index fdd6182522..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T4.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T4; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Call toLocaleLowerCase() function without arguments of string and from empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T4.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Call toLocaleLowerCase() function without arguments of string and from empty string", - -test: function testcase() { - var __lowerCase = "".toLocaleLowerCase(); - -var __expected = ""; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__lowerCase.length !== __expected.length) { - $ERROR('#1: __lowerCase = "".toLocaleLowerCase(); __expected = ""; __lowerCase.length === __expected.length. Actual: '+__lowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__lowerCase.index !== __expected.index) { - $ERROR('#2: __lowerCase = "".toLocaleLowerCase(); __expected = ""; __lowerCase.index === __expected.index. Actual: '+__lowerCase.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__lowerCase.input !== __expected.input) { - $ERROR('#3: __lowerCase = "".toLocaleLowerCase(); __expected = ""; __lowerCase.input === __expected.input. Actual: '+__lowerCase.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__lowerCase[0]!==__expected[0]) { - $ERROR('#4: __lowerCase = "".toLocaleLowerCase(); __expected = ""; __lowerCase[0]===__expected[0]. Actual: '+__lowerCase[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T5.js deleted file mode 100644 index ffd34ad10e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T5; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Call toLocaleLowerCase() function for function call; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T5.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Call toLocaleLowerCase() function for function call", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(null) evaluates to "null" match(null) evaluates to match("null") -if (function(){return "GnulLuNa"}().toLocaleLowerCase() !== "gnulluna") { - $ERROR('#1: function(){return "GnulLuNa"}().toLocaleLowerCase() === "gnulluna". Actual: '+function(){return "GnulLuNa"}().toLocaleLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T6.js deleted file mode 100644 index 98865bf118..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T6; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Call toLocaleLowerCase() function of Number.NEGATIVE_INFINITY; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T6.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Call toLocaleLowerCase() function of Number.NEGATIVE_INFINITY", - -test: function testcase() { - Number.prototype.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((Number.NEGATIVE_INFINITY).toLocaleLowerCase() !== "-infinity") { - $ERROR('#1: Number.prototype.toLocaleLowerCase = String.prototype.toLocaleLowerCase; (Number.NEGATIVE_INFINITY).toLocaleLowerCase() === "-infinity". Actual: '+(Number.NEGATIVE_INFINITY).toLocaleLowerCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T7.js deleted file mode 100644 index defec02d0f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T7; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Call toLocaleLowerCase() function of NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T7.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Call toLocaleLowerCase() function of NaN", - -test: function testcase() { - Number.prototype.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (NaN.toLocaleLowerCase()!== "nan") { - $ERROR('#1: Number.prototype.toLocaleLowerCase = String.prototype.toLocaleLowerCase; NaN.toLocaleLowerCase()=== "nan". Actual: '+NaN.toLocaleLowerCase()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T8.js deleted file mode 100644 index 31b376239b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T8.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T8; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Call toLocaleLowerCase() function of Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T8.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Call toLocaleLowerCase() function of Infinity", - -test: function testcase() { - Number.prototype.toLocaleLowerCase = String.prototype.toLocaleLowerCase; - -if (Infinity.toLocaleLowerCase()!== "infinity") { - $ERROR('#1: Number.prototype.toLocaleLowerCase = String.prototype.toLocaleLowerCase; Infinity.toLocaleLowerCase()=== "infinity". Actual: '+Infinity.toLocaleLowerCase()); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T9.js deleted file mode 100644 index 556ba699ec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T9.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A1_T9; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase(); -* @description: Call toLocaleLowerCase() function of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A1_T9.js", - -assertion: "String.prototype.toLocaleLowerCase()", - -description: "Call toLocaleLowerCase() function of string object", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -var __lowerCase = new String(__obj).toLocaleLowerCase(); - - -var __expected ="undefined"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__lowerCase.length !== __expected.length) { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLocaleLowerCase(); __expected ="undefined"; __lowerCase.length === __expected.length. Actual: '+__lowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__lowerCase.index !== __expected.index) { - $ERROR('#2: __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLocaleLowerCase(); __expected ="undefined"; __lowerCase.index === __expected.index. Actual: '+__lowerCase.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__lowerCase.input !== __expected.input) { - $ERROR('#3: __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLocaleLowerCase(); __expected ="undefined"; __lowerCase.input === __expected.input. Actual: '+__lowerCase.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__lowerCase[index]!==__expected[index]) { - $ERROR('#4.'+index+': __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLocaleLowerCase(); __expected ="undefined"; __lowerCase['+index+']=== '+__expected[index]+'. Actual: '+__lowerCase[index]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A2_T1.js deleted file mode 100644 index 7037e9a8fc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A2_T1; -* @section: 15.5.4.17; -* @assertion: String.prototype.toLocaleLowerCase() return a string, but not a String object; -* @description: Checking returned result; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A2_T1.js", - -assertion: "String.prototype.toLocaleLowerCase() return a string, but not a String object", - -description: "Checking returned result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("Hello, WoRlD!".toLocaleLowerCase() !== "hello, world!") { - $ERROR('#1: "Hello, WoRlD!".toLocaleLowerCase() === "hello, world!". Actual: '+("Hello, WoRlD!".toLocaleLowerCase()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if ("Hello, WoRlD!".toLocaleLowerCase() !== String("hello, world!")) { - $ERROR('#2: "Hello, WoRlD!".toLocaleLowerCase() === String("hello, world!"). Actual: '+("Hello, WoRlD!".toLocaleLowerCase()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ("Hello, WoRlD!".toLocaleLowerCase() === new String("hello, world!")) { - $ERROR('#3: "Hello, WoRlD!".toLocaleLowerCase() !== new String("hello, world!")'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A6.js deleted file mode 100644 index 9f2dc32b3c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A6; -* @section: 15.5.4.17, 13.2; -* @assertion: String.prototype.toLocaleLowerCase has not prototype property; -* @description: Checking String.prototype.toLocaleLowerCase.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A6.js", - -assertion: "String.prototype.toLocaleLowerCase has not prototype property", - -description: "Checking String.prototype.toLocaleLowerCase.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.toLocaleLowerCase.prototype !== undefined) { - $ERROR('#1: String.prototype.toLocaleLowerCase.prototype === undefined. Actual: '+String.prototype.toLocaleLowerCase.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A7.js deleted file mode 100644 index 4a2e6d7041..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A7.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A7; -* @section: 15.5.4.17, 13.2; -* @assertion: String.prototype.toLocaleLowerCase can't be used as constructor; -* @description: Checking if creating the String.prototype.toLocaleLowerCase object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A7.js", - -assertion: "String.prototype.toLocaleLowerCase can\'t be used as constructor", - -description: "Checking if creating the String.prototype.toLocaleLowerCase object fails", - -test: function testcase() { - var __FACTORY = String.prototype.toLocaleLowerCase; - -try { - var __instance = new __FACTORY; - $FAIL('#1: var __FACTORY = String.prototype.toLocaleLowerCase; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.1: var __FACTORY = String.prototype.toLocaleLowerCase; "var __instance = new __FACTORY" throw a TypeError. Actual: ' + (e)); - } - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A8.js deleted file mode 100644 index 67b50cd33a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A8; -* @section: 15.5.4.17; -* @assertion: The String.prototype.toLocaleLowerCase.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.toLocaleLowerCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A8.js", - -assertion: "The String.prototype.toLocaleLowerCase.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.toLocaleLowerCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.toLocaleLowerCase.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.toLocaleLowerCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLocaleLowerCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.toLocaleLowerCase.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.toLocaleLowerCase.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (var p in String.prototype.toLocaleLowerCase){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.toLocaleLowerCase){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A9.js deleted file mode 100644 index e2c9627efb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.17_A9; -* @section: 15.5.4.17; -* @assertion: The String.prototype.toLocaleLowerCase.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.toLocaleLowerCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.17_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.17_String.prototype.toLocaleLowerCase/S15.5.4.17_A9.js", - -assertion: "The String.prototype.toLocaleLowerCase.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.toLocaleLowerCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.toLocaleLowerCase.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.toLocaleLowerCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLocaleLowerCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.toLocaleLowerCase.length) { - $ERROR('#1: delete String.prototype.toLocaleLowerCase.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.toLocaleLowerCase.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.toLocaleLowerCase.length; String.prototype.toLocaleLowerCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLocaleLowerCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A10.js deleted file mode 100644 index c63e481c38..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A10; -* @section: 15.5.4.18; -* @assertion: The String.prototype.toUpperCase.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.toUpperCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A10.js", - -assertion: "The String.prototype.toUpperCase.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.toUpperCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.toUpperCase.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.toUpperCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toUpperCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.toUpperCase.length; - -String.prototype.toUpperCase.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.toUpperCase.length !== __obj) { - $ERROR('#2: __obj = String.prototype.toUpperCase.length; String.prototype.toUpperCase.length = function(){return "shifted";}; String.prototype.toUpperCase.length === __obj. Actual: '+String.prototype.toUpperCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A11.js deleted file mode 100644 index 159eb6d3c4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A11; -* @section: 15.5.4.18; -* @assertion: The length property of the toUpperCase method is 0; -* @description: Checking String.prototype.toUpperCase.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A11.js", - -assertion: "The length property of the toUpperCase method is 0", - -description: "Checking String.prototype.toUpperCase.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.toUpperCase.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.toUpperCase.hasOwnProperty("length") return true. Actual: '+String.prototype.toUpperCase.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.toUpperCase.length !== 0) { - $ERROR('#2: String.prototype.toUpperCase.length === 0. Actual: '+String.prototype.toUpperCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T1.js deleted file mode 100644 index 189e413f7e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T1; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Arguments is true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T1.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Arguments is true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.toUpperCase = String.prototype.toUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.toUpperCase() !== "TRUE") { - $ERROR('#1: __instance = new Object(true); __instance.toUpperCase = String.prototype.toUpperCase; __instance.toUpperCase() === "TRUE". Actual: '+__instance.toUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T10.js deleted file mode 100644 index 34e8892f9d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T10.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T10; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Call toUpperCase() function of object with overrode toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T10.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Call toUpperCase() function of object with overrode toString function", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041b";}} -__obj.toUpperCase = String.prototype.toUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.toUpperCase() !=="AB") { - $ERROR('#1: var __obj = {toString:function(){return "\u0041b";}}; __obj.toUpperCase = String.prototype.toUpperCase; __obj.toUpperCase() ==="AB". Actual: '+__obj.toUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T11.js deleted file mode 100644 index 0ce5df0976..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T11.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T11; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Override toString function, toString throw exception, then call toUpperCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T11.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Override toString function, toString throw exception, then call toUpperCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr";}} -__obj.toUpperCase = String.prototype.toUpperCase; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.toUpperCase(); - $FAIL('#1: "var x = __obj.toUpperCase()" lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T12.js deleted file mode 100644 index c1772317cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T12.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T12; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Override toString and valueOf functions, valueOf throw exception, then call toUpperCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T12.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Override toString and valueOf functions, valueOf throw exception, then call toUpperCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}} -__obj.toUpperCase = String.prototype.toUpperCase; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.toUpperCase(); - $FAIL('#1: "var x = __obj.toUpperCase()" lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T13.js deleted file mode 100644 index 959e8ede22..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T13.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T13; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Override toString and valueOf functions, then call toUpperCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T13.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Override toString and valueOf functions, then call toUpperCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){return 1;}} -__obj.toUpperCase = String.prototype.toUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.toUpperCase() !=="1") { - $ERROR('#1: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; __obj.toUpperCase = String.prototype.toUpperCase; __obj.toUpperCase() ==="1". Actual: '+__obj.toUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.toUpperCase().length !== 1) { - $ERROR('#2: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; __obj.toUpperCase = String.prototype.toUpperCase; __obj.toUpperCase().length === 1. Actual: '+__obj.toUpperCase().length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T14.js deleted file mode 100644 index 5f9edd051d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T14.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T14; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Call toUpperCase() function of RegExp object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T14.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Call toUpperCase() function of RegExp object", - -test: function testcase() { - var __reg = new RegExp("abc"); -__reg.toUpperCase = String.prototype.toUpperCase; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__reg.toUpperCase() !== "/ABC/") { - $ERROR('#1: var __reg = new RegExp("abc"); __reg.toUpperCase = String.prototype.toUpperCase; __reg.toUpperCase() === "/ABC/". Actual: '+__reg.toUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T2.js deleted file mode 100644 index 5d23e3d246..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T2; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T2.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.toUpperCase = String.prototype.toUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.toUpperCase() !== "FALSE") { - $ERROR('#1: __instance = new Boolean; __instance.toUpperCase = String.prototype.toUpperCase; __instance.toUpperCase() === "FALSE". Actual: '+__instance.toUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T3.js deleted file mode 100644 index e3eb699889..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T3; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T3.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Checking by using eval", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (eval("\"bj\"").toUpperCase() !== "BJ") { - $ERROR('#1: eval("\\"bj\\"").toUpperCase() === "BJ". Actual: '+eval("\"bj\"").toUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T4.js deleted file mode 100644 index 4ba8682cff..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T4.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T4; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Call toUpperCase() function without arguments of string and from empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T4.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Call toUpperCase() function without arguments of string and from empty string", - -test: function testcase() { - var __lowerCase = "".toUpperCase(); - -var __expected = ""; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__lowerCase.length !== __expected.length) { - $ERROR('#1: __lowerCase = "".toUpperCase(); __expected = ""; __lowerCase.length === __expected.length. Actual: '+__lowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__lowerCase.index !== __expected.index) { - $ERROR('#2: __lowerCase = "".toUpperCase(); __expected = ""; __lowerCase.index === __expected.index. Actual: '+__lowerCase.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__lowerCase.input !== __expected.input) { - $ERROR('#3: __lowerCase = "".toUpperCase(); __expected = ""; __lowerCase.input === __expected.input. Actual: '+__lowerCase.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__lowerCase[0]!==__expected[0]) { - $ERROR('#4: __lowerCase = "".toUpperCase(); __expected = ""; __lowerCase[0]==='+__expected[0]+'. Actual: '+__lowerCase[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T5.js deleted file mode 100644 index facfb94778..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T5; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Call toUpperCase() function of function call; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T5.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Call toUpperCase() function of function call", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(null) evaluates to "null" match(null) evaluates to match("null") -if (function(){return "GnulLuNa"}().toUpperCase() !== "GNULLUNA") { - $ERROR('#1: function(){return "GnulLuNa"}().toUpperCase() === "GNULLUNA". Actual: '+function(){return "GnulLuNa"}().toUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T6.js deleted file mode 100644 index 53fa10cadd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T6; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Call toUpperCase() function of Number.NEGATIVE_INFINITY; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T6.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Call toUpperCase() function of Number.NEGATIVE_INFINITY", - -test: function testcase() { - Number.prototype.toUpperCase = String.prototype.toUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((Number.NEGATIVE_INFINITY).toUpperCase() !== "-INFINITY") { - $ERROR('#1: Number.prototype.toUpperCase = String.prototype.toUpperCase; (Number.NEGATIVE_INFINITY).toUpperCase() === "-INFINITY". Actual: '+(Number.NEGATIVE_INFINITY).toUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T7.js deleted file mode 100644 index 85eb7f4022..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T7; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Call toUpperCase() function of NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T7.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Call toUpperCase() function of NaN", - -test: function testcase() { - Number.prototype.toUpperCase = String.prototype.toUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (NaN.toUpperCase()!== "NAN") { - $ERROR('#1: Number.prototype.toUpperCase = String.prototype.toUpperCase; NaN.toUpperCase()=== "NAN". Actual: '+NaN.toUpperCase()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T8.js deleted file mode 100644 index 8317b3e425..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T8.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T8; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Call toUpperCase() function of Infinity; -* -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T8.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Call toUpperCase() function of Infinity", - -test: function testcase() { - Number.prototype.toUpperCase = String.prototype.toUpperCase; - -if (Infinity.toUpperCase()!== "INFINITY") { - $ERROR('#1: Number.prototype.toUpperCase = String.prototype.toUpperCase; Infinity.toUpperCase()=== "INFINITY". Actual: '+Infinity.toUpperCase()); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T9.js deleted file mode 100644 index c9146017eb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T9.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A1_T9; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase(); -* @description: Call toUpperCase() function of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A1_T9.js", - -assertion: "String.prototype.toUpperCase()", - -description: "Call toUpperCase() function of string object", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -var __upperCase = new String(__obj).toUpperCase(); - -var __expected ="UNDEFINED"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__upperCase.length !== __expected.length) { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; __upperCase = new String(__obj).toUpperCase(); __expected ="UNDEFINED"; __upperCase.length === __expected.length. Actual: '+__upperCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__upperCase.index !== __expected.index) { - $ERROR('#2: __obj = {valueOf:function(){}, toString:void 0}; __upperCase = new String(__obj).toUpperCase(); __expected ="UNDEFINED"; __upperCase.index === __expected.index. Actual: '+__upperCase.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__upperCase.input !== __expected.input) { - $ERROR('#3: __obj = {valueOf:function(){}, toString:void 0}; __upperCase = new String(__obj).toUpperCase(); __expected ="UNDEFINED"; __upperCase.input === __expected.input. Actual: '+__upperCase.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__upperCase[index]!==__expected[index]) { - $ERROR('#4.'+index+': __obj = {valueOf:function(){}, toString:void 0}; __upperCase = new String(__obj).toUpperCase(); __expected ="UNDEFINED"; __upperCase['+index+']==='+__expected[index]+'. Actual: '+__upperCase[index]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A2_T1.js deleted file mode 100644 index 918cd5f2d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A2_T1; -* @section: 15.5.4.18; -* @assertion: String.prototype.toUpperCase() return a string, but not a String object; -* @description: Checking returned result; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A2_T1.js", - -assertion: "String.prototype.toUpperCase() return a string, but not a String object", - -description: "Checking returned result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("Hello, WoRlD!".toUpperCase() !== "HELLO, WORLD!") { - $ERROR('#1: "Hello, WoRlD!".toUpperCase() === "HELLO, WORLD!". Actual: '+("Hello, WoRlD!".toUpperCase()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if ("Hello, WoRlD!".toUpperCase() !== String("HELLO, WORLD!")) { - $ERROR('#2: "Hello, WoRlD!".toUpperCase() === String("HELLO, WORLD!"). Actual: '+("Hello, WoRlD!".toUpperCase()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ("Hello, WoRlD!".toUpperCase() ===new String("HELLO, WORLD!")) { - $ERROR('#3: "Hello, WoRlD!".toUpperCase() !== new String("HELLO, WORLD!")'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A6.js deleted file mode 100644 index ce181044a6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A6; -* @section: 15.5.4.18, 13.2; -* @assertion: String.prototype.toUpperCase has not prototype property; -* @description: Checking String.prototype.toUpperCase.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A6.js", - -assertion: "String.prototype.toUpperCase has not prototype property", - -description: "Checking String.prototype.toUpperCase.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.toUpperCase.prototype !== undefined) { - $ERROR('#1: String.prototype.toUpperCase.prototype === undefined. Actual: '+String.prototype.toUpperCase.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A7.js deleted file mode 100644 index a2220a6b68..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A7; -* @section: 15.5.4.18, 13.2; -* @assertion: String.prototype.toUpperCase can't be used as constructor; -* @description: Checking if creating the String.prototype.toUpperCase object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A7.js", - -assertion: "String.prototype.toUpperCase can\'t be used as constructor", - -description: "Checking if creating the String.prototype.toUpperCase object fails", - -test: function testcase() { - var __FACTORY = String.prototype.toUpperCase; - -try { - var __instance = new __FACTORY; - $FAIL('#1: var __FACTORY = String.prototype.toUpperCase; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.1: var __FACTORY = String.prototype.toUpperCase; "__instance = new __FACTORY" throw a TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A8.js deleted file mode 100644 index 2b7cf50f2a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A8; -* @section: 15.5.4.18; -* @assertion: The String.prototype.toUpperCase.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.toUpperCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A8.js", - -assertion: "The String.prototype.toUpperCase.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.toUpperCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.toUpperCase.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.toUpperCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toUpperCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.toUpperCase.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.toUpperCase.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.toUpperCase){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.toUpperCase){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A9.js deleted file mode 100644 index dfedce6cf9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.18_A9; -* @section: 15.5.4.18; -* @assertion: The String.prototype.toUpperCase.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.toUpperCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.18_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.18_String.prototype.toUpperCase/S15.5.4.18_A9.js", - -assertion: "The String.prototype.toUpperCase.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.toUpperCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.toUpperCase.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.toUpperCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toUpperCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.toUpperCase.length) { - $ERROR('#1: delete String.prototype.toUpperCase.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.toUpperCase.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.toUpperCase.length; String.prototype.toUpperCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toUpperCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A10.js deleted file mode 100644 index a8ea96b306..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A10; -* @section: 15.5.4.19; -* @assertion: The String.prototype.toLocaleUpperCase.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.toLocaleUpperCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A10.js", - -assertion: "The String.prototype.toLocaleUpperCase.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.toLocaleUpperCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.toLocaleUpperCase.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.toLocaleUpperCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLocaleUpperCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.toLocaleUpperCase.length; - -String.prototype.toLocaleUpperCase.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.toLocaleUpperCase.length !== __obj) { - $ERROR('#2: __obj = String.prototype.toLocaleUpperCase.length; String.prototype.toLocaleUpperCase.length = function(){return "shifted";}; String.prototype.toLocaleUpperCase.length === __obj. Actual: '+String.prototype.toLocaleUpperCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A11.js deleted file mode 100644 index 81b7b23b42..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A11; -* @section: 15.5.4.19; -* @assertion: The length property of the toLocaleUpperCase method is 0; -* @description: Checking String.prototype.toLocaleUpperCase.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A11.js", - -assertion: "The length property of the toLocaleUpperCase method is 0", - -description: "Checking String.prototype.toLocaleUpperCase.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.toLocaleUpperCase.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.toLocaleUpperCase.hasOwnProperty("length") return true. Actual: '+String.prototype.toLocaleUpperCase.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.toLocaleUpperCase.length !== 0) { - $ERROR('#2: String.prototype.toLocaleUpperCase.length === 0. Actual: '+String.prototype.toLocaleUpperCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T1.js deleted file mode 100644 index 9480e8684a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T1; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Arguments is true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T1.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Arguments is true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.toLocaleUpperCase = String.prototype.toLocaleUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.toLocaleUpperCase() !== "TRUE") { - $ERROR('#1: __instance = new Object(true); __instance.toLocaleUpperCase = String.prototype.toLocaleUpperCase; __instance.toLocaleUpperCase() === "TRUE". Actual: '+__instance.toLocaleUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T10.js deleted file mode 100644 index d517cbeeb8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T10.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T10; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Call toLocaleUpperCase() function of object with overrode toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T10.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Call toLocaleUpperCase() function of object with overrode toString function", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041b";}} -__obj.toLocaleUpperCase = String.prototype.toLocaleUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.toLocaleUpperCase() !=="AB") { - $ERROR('#1: var __obj = {toString:function(){return "\u0041b";}}; __obj.toLocaleUpperCase = String.prototype.toLocaleUpperCase; __obj.toLocaleUpperCase() ==="AB". Actual: '+__obj.toLocaleUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T11.js deleted file mode 100644 index 72d059dbe2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T11.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T11; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Override toString function, toString throw exception, then call toLocaleUpperCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T11.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Override toString function, toString throw exception, then call toLocaleUpperCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr";}} -__obj.toLocaleUpperCase = String.prototype.toLocaleUpperCase; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.toLocaleUpperCase(); - $FAIL('#1: "var x = __obj.toLocaleUpperCase()" lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T12.js deleted file mode 100644 index b7d657590c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T12.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T12; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Override toString and valueOf functions, valueOf throw exception, then call toLocaleUpperCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T12.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Override toString and valueOf functions, valueOf throw exception, then call toLocaleUpperCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}} -__obj.toLocaleUpperCase = String.prototype.toLocaleUpperCase; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.toLocaleUpperCase(); - $FAIL('#1: "var x = __obj.toLocaleUpperCase()" lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T13.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T13.js deleted file mode 100644 index ce4fbaeb72..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T13.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T13; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Override toString and valueOf functions, then call toLocaleUpperCase() function for this object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T13", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T13.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Override toString and valueOf functions, then call toLocaleUpperCase() function for this object", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){return 1;}} -__obj.toLocaleUpperCase = String.prototype.toLocaleUpperCase; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__obj.toLocaleUpperCase() !=="1") { - $ERROR('#1: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; __obj.toLocaleUpperCase = String.prototype.toLocaleUpperCase; __obj.toLocaleUpperCase() ==="1". Actual: '+__obj.toLocaleUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__obj.toLocaleUpperCase().length !== 1) { - $ERROR('#2: var __obj = {toString:function(){return {};},valueOf:function(){return 1;}}; __obj.toLocaleUpperCase = String.prototype.toLocaleUpperCase; __obj.toLocaleUpperCase().length === 1. Actual: '+__obj.toLocaleUpperCase().length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T14.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T14.js deleted file mode 100644 index 3a792ff574..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T14.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T14; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Call toLocaleUpperCase() function for RegExp object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T14", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T14.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Call toLocaleUpperCase() function for RegExp object", - -test: function testcase() { - var __reg = new RegExp("abc"); -__reg.toLocaleUpperCase = String.prototype.toLocaleUpperCase; -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__reg.toLocaleUpperCase() !== "/ABC/") { - $ERROR('#1: var __reg = new RegExp("abc"); __reg.toLocaleUpperCase = String.prototype.toLocaleUpperCase; __reg.toLocaleUpperCase() === "/ABC/". Actual: '+__reg.toLocaleUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T2.js deleted file mode 100644 index 388dc85ebf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T2; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T2.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.toLocaleUpperCase = String.prototype.toLocaleUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.toLocaleUpperCase() !== "FALSE") { - $ERROR('#1: __instance = new Boolean; __instance.toLocaleUpperCase = String.prototype.toLocaleUpperCase; __instance.toLocaleUpperCase() === "FALSE". Actual: '+__instance.toLocaleUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T3.js deleted file mode 100644 index 1761132962..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T3; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T3.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Checking by using eval", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (eval("\"bj\"").toLocaleUpperCase() !== "BJ") { - $ERROR('#1: eval("\\"bj\\"").toLocaleUpperCase() === "BJ". Actual: '+eval("\"bj\"").toLocaleUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T4.js deleted file mode 100644 index 22afcaa56c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T4.js +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T4; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Call toLocaleUpperCase() function without arguments of string and from empty string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T4.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Call toLocaleUpperCase() function without arguments of string and from empty string", - -test: function testcase() { - var __lowerCase = "".toLocaleUpperCase(); -var __expected = ""; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__lowerCase.length !== __expected.length) { - $ERROR('#1: __lowerCase = "".toLocaleUpperCase(); __expected = ""; __lowerCase.length === __expected.length. Actual: '+__lowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__lowerCase.index !== __expected.index) { - $ERROR('#2: __lowerCase = "".toLocaleUpperCase(); __expected = ""; __lowerCase.index === __expected.index. Actual: '+__lowerCase.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__lowerCase.input !== __expected.input) { - $ERROR('#3: __lowerCase = "".toLocaleUpperCase(); __expected = ""; __lowerCase.input === __expected.input. Actual: '+__lowerCase.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__lowerCase[0]!==__expected[0]) { - $ERROR('#4: __lowerCase = "".toLocaleUpperCase(); __lowerCase[0]==='+__expected[0]+'. Actual: '+__lowerCase[0]); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T5.js deleted file mode 100644 index f6c45f942e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T5; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Call toLocaleUpperCase() function of function call; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T5.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Call toLocaleUpperCase() function of function call", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(null) evaluates to "null" match(null) evaluates to match("null") -if (function(){return "GnulLuNa"}().toLocaleUpperCase() !== "GNULLUNA") { - $ERROR('#1: function(){return "GnulLuNa"}().toLocaleUpperCase() === "GNULLUNA". Actual: '+function(){return "GnulLuNa"}().toLocaleUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T6.js deleted file mode 100644 index 751fc61a20..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T6; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Call toLocaleUpperCase() function of Number.NEGATIVE_INFINITY; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T6.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Call toLocaleUpperCase() function of Number.NEGATIVE_INFINITY", - -test: function testcase() { - Number.prototype.toLocaleUpperCase = String.prototype.toLocaleUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((Number.NEGATIVE_INFINITY).toLocaleUpperCase() !== "-INFINITY") { - $ERROR('#1: Number.prototype.toLocaleUpperCase = String.prototype.toLocaleUpperCase; (Number.NEGATIVE_INFINITY).toLocaleUpperCase() === "-INFINITY". Actual: '+(Number.NEGATIVE_INFINITY).toLocaleUpperCase() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T7.js deleted file mode 100644 index c6bf965254..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T7; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Call toLocaleUpperCase() function of NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T7.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Call toLocaleUpperCase() function of NaN", - -test: function testcase() { - Number.prototype.toLocaleUpperCase = String.prototype.toLocaleUpperCase; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (NaN.toLocaleUpperCase()!== "NAN") { - $ERROR('#1: Number.prototype.toLocaleUpperCase = String.prototype.toLocaleUpperCase; NaN.toLocaleUpperCase()=== "NAN". Actual: '+NaN.toLocaleUpperCase()); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T8.js deleted file mode 100644 index 9a9767355f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T8.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T8; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Call toLocaleUpperCase() function of Infinity; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T8.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Call toLocaleUpperCase() function of Infinity", - -test: function testcase() { - Number.prototype.toLocaleUpperCase = String.prototype.toLocaleUpperCase; - -if (Infinity.toLocaleUpperCase()!== "INFINITY") { - $ERROR('#1: Number.prototype.toLocaleUpperCase = String.prototype.toLocaleUpperCase; Infinity.toLocaleUpperCase()=== "INFINITY". Actual: '+Infinity.toLocaleUpperCase()); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T9.js deleted file mode 100644 index 07ef92c876..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T9.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A1_T9; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase(); -* @description: Call toLocaleUpperCase() function of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T9.js", - -assertion: "String.prototype.toLocaleUpperCase()", - -description: "Call toLocaleUpperCase() function of string object", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -var __lowerCase = new String(__obj).toLocaleUpperCase(); - -var __expected ="UNDEFINED"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__lowerCase.length !== __expected.length) { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLocaleUpperCase(); __expected ="UNDEFINED"; __lowerCase.length === __expected.length. Actual: '+__lowerCase.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__lowerCase.index !== __expected.index) { - $ERROR('#2: __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLocaleUpperCase(); __expected ="UNDEFINED"; __lowerCase.index === __expected.index. Actual: '+__lowerCase.index ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__lowerCase.input !== __expected.input) { - $ERROR('#3: __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLocaleUpperCase(); __expected ="UNDEFINED"; __lowerCase.input === __expected.input. Actual: '+__lowerCase.input ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__lowerCase[index]!==__expected[index]) { - $ERROR('#4.'+index+': __obj = {valueOf:function(){}, toString:void 0}; __lowerCase = new String(__obj).toLocaleUpperCase(); __expected ="UNDEFINED"; __lowerCase['+index+']==='+__expected[index]+'. Actual: '+__lowerCase[index]); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A2_T1.js deleted file mode 100644 index a7e90e2d64..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A2_T1; -* @section: 15.5.4.19; -* @assertion: String.prototype.toLocaleUpperCase() return a string, but not a String object; -* @description: Checking returned result; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A2_T1.js", - -assertion: "String.prototype.toLocaleUpperCase() return a string, but not a String object", - -description: "Checking returned result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("Hello, WoRlD!".toLocaleUpperCase() !== "HELLO, WORLD!") { - $ERROR('#1: "Hello, WoRlD!".toLocaleUpperCase() === "HELLO, WORLD!". Actual: '+("Hello, WoRlD!".toLocaleUpperCase()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if ("Hello, WoRlD!".toLocaleUpperCase() !== String("HELLO, WORLD!")) { - $ERROR('#2: "Hello, WoRlD!".toLocaleUpperCase() === String("HELLO, WORLD!"). Actual: '+("Hello, WoRlD!".toLocaleUpperCase()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if ("Hello, WoRlD!".toLocaleUpperCase() ===new String("HELLO, WORLD!")) { - $ERROR('#3: "Hello, WoRlD!".toLocaleUpperCase() !== new String("HELLO, WORLD!"'); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A6.js deleted file mode 100644 index 03cdff16e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A6; -* @section: 15.5.4.19, 13.2; -* @assertion: String.prototype.toLocaleUpperCase has not prototype property; -* @description: Checking String.prototype.toLocaleUpperCase.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A6.js", - -assertion: "String.prototype.toLocaleUpperCase has not prototype property", - -description: "Checking String.prototype.toLocaleUpperCase.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.toLocaleUpperCase.prototype !== undefined) { - $ERROR('#1: String.prototype.toLocaleUpperCase.prototype === undefined. Actual: '+String.prototype.toLocaleUpperCase.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A7.js deleted file mode 100644 index 77b610f4c6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A7; -* @section: 15.5.4.19, 13.2; -* @assertion: String.prototype.toLocaleUpperCase can't be used as constructor; -* @description: Checking if creating the String.prototype.toLocaleUpperCase object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A7.js", - -assertion: "String.prototype.toLocaleUpperCase can\'t be used as constructor", - -description: "Checking if creating the String.prototype.toLocaleUpperCase object fails", - -test: function testcase() { - var __FACTORY = String.prototype.toLocaleUpperCase; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.toLocaleUpperCase; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.1: var __instance = new __FACTORY; Object has no construct lead a TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A8.js deleted file mode 100644 index 33f8aff4c3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A8; -* @section: 15.5.4.19; -* @assertion: The String.prototype.toLocaleUpperCase.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.toLocaleUpperCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A8.js", - -assertion: "The String.prototype.toLocaleUpperCase.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.toLocaleUpperCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.toLocaleUpperCase.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.toLocaleUpperCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLocaleUpperCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.toLocaleUpperCase.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.toLocaleUpperCase.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (var p in String.prototype.toLocaleUpperCase){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.toLocaleUpperCase){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A9.js deleted file mode 100644 index b2c8b63f46..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.19_A9; -* @section: 15.5.4.19; -* @assertion: The String.prototype.toLocaleUpperCase.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.toLocaleUpperCase.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.19_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A9.js", - -assertion: "The String.prototype.toLocaleUpperCase.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.toLocaleUpperCase.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.toLocaleUpperCase.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.toLocaleUpperCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLocaleUpperCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.toLocaleUpperCase.length) { - $ERROR('#1: delete String.prototype.toLocaleUpperCase.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.toLocaleUpperCase.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.toLocaleUpperCase.length; String.prototype.toLocaleUpperCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLocaleUpperCase.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1.1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1.1.js deleted file mode 100644 index ca4bdef7b2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1.1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1.1; -* @section: 15.5.4.4, 13.2; -* @assertion: String.prototype.charAt() can accept many arguments; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1.1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1.1.js", - -assertion: "String.prototype.charAt() can accept many arguments", - -description: "Checking by using eval", - -test: function testcase() { - function __FACTORY(){this.toString = function(){ return "wizard";};}; - -__FACTORY.prototype.charAt = String.prototype.charAt; - -__instance = new __FACTORY; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__instance){ - if (__instance.charAt(eval("1"),true,null,{})!== "i") { - $ERROR('#1: __instance.charAt(eval("1"),true,null,{})=== "i". Actual: '+__instance.charAt(eval("1"),true,null,{})); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A10.js deleted file mode 100644 index 2bd8ddfc81..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A10; -* @section: 15.5.4.4; -* @assertion: The String.prototype.charAt.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.charAt.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A10.js", - -assertion: "The String.prototype.charAt.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.charAt.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.charAt.hasOwnProperty('length'))) { - $ERROR('#1: String.prototype.charAt.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.charAt.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.charAt.length; - -String.prototype.charAt.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.charAt.length !== __obj) { - $ERROR('#2: __obj = String.prototype.charAt.length; String.prototype.charAt.length = function(){return "shifted";}; String.prototype.charAt.length === __obj. Actual: '+String.prototype.charAt.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A11.js deleted file mode 100644 index d813f1c3be..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A11; -* @section: 15.5.4.4; -* @assertion: The length property of the charAt method is 1; -* @description: Checking String.prototype.charAt.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A11.js", - -assertion: "The length property of the charAt method is 1", - -description: "Checking String.prototype.charAt.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.charAt.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.charAt.hasOwnProperty("length") return true. Actual: '+String.prototype.charAt.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.charAt.length !== 1) { - $ERROR('#2: String.prototype.charAt.length === 1. Actual: '+String.prototype.charAt.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T1.js deleted file mode 100644 index 94895804ac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T1; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: pos is false and true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T1.js", - -assertion: "String.prototype.charAt(pos)", - -description: "pos is false and true, and instance is object", - -test: function testcase() { - var __instance = new Object(42); - -__instance.charAt = String.prototype.charAt; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.charAt(false)+__instance.charAt(true) !== "42") { - $ERROR('#1: __instance = new Object(42); __instance.charAt = String.prototype.charAt; __instance = new Object(42); __instance.charAt = String.prototype.charAt; __instance.charAt(false)+__instance.charAt(true) === "42". Actual: '+__instance.charAt(false)+__instance.charAt(true) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T10.js deleted file mode 100644 index 4a0a613088..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T10.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T10; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: Call charAt() function with object argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T10.js", - -assertion: "String.prototype.charAt(pos)", - -description: "Call charAt() function with object argument", - -test: function testcase() { - var __obj = {toString:function(){return 1;}} -var __str = "lego"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (charAt(__obj) !== "e") { - $ERROR('#1: var __obj = {toString:function(){return 1;}}; var __str = "lego"; charAt(__obj) === "e". Actual: charAt(__obj) ==='+charAt(__obj) ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T2.js deleted file mode 100644 index 6be55c876d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T2; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: pos is equation with false and true, and instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T2.js", - -assertion: "String.prototype.charAt(pos)", - -description: "pos is equation with false and true, and instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.charAt = String.prototype.charAt; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.charAt(false)+__instance.charAt(true)+__instance.charAt(true+1) !== "fal") { - $ERROR('#1: __instance = new Boolean; __instance.charAt = String.prototype.charAt; __instance = new Boolean; __instance.charAt = String.prototype.charAt; __instance.charAt(false)+__instance.charAt(true)+__instance.charAt(true+1) === "fal". Actual: '+__instance.charAt(false)+__instance.charAt(true)+__instance.charAt(true+1) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T3.js deleted file mode 100644 index 791adc9716..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T3.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T3; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: Use numbers and strings as pos; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T3.js", - -assertion: "String.prototype.charAt(pos)", - -description: "Use numbers and strings as pos", - -test: function testcase() { - var charAt = String.prototype.charAt; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (charAt("1") + charAt(2) + charAt("3") + charAt(4) + charAt("5") + charAt(6) !== "object") { - $ERROR('#1: charAt = String.prototype.charAt; charAt("1") + charAt(2) + charAt("3") + charAt(4) + charAt("5") + charAt(6) === "object". Actual: '+charAt("1") + charAt(2) + charAt("3") + charAt(4) + charAt("5") + charAt(6) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T4.js deleted file mode 100644 index 6a4670c16b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T4; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: Call charAt() function without argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T4.js", - -assertion: "String.prototype.charAt(pos)", - -description: "Call charAt() function without argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger() evaluates to 0 charAt() evaluates to charAt(0) -if ("lego".charAt() !== "l") { - $ERROR('#1: "lego".charAt() === "l". Actual: "lego".charAt() ==='+("lego".charAt()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T5.js deleted file mode 100644 index 2edabc892c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T5; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: Call charAt() function with null argument of function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T5.js", - -assertion: "String.prototype.charAt(pos)", - -description: "Call charAt() function with null argument of function object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(null) evaluates to 0 charAt() evaluates to charAt(0) -if (function(){return "lego"}().charAt(null) !== "l") { - $ERROR('#1: function(){return "lego"}().charAt(null) === "l". Actual: function(){return "lego"}().charAt(null) ==='+function(){return "lego"}().charAt(null) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T6.js deleted file mode 100644 index 87ad9b71bb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T6; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: Call charAt() function with x argument of new String object, where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T6.js", - -assertion: "String.prototype.charAt(pos)", - -description: "Call charAt() function with x argument of new String object, where x is undefined variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(undefined) evaluates to 0 charAt() evaluates to charAt(0) -if (new String("lego").charAt(x) !== "l") { - $ERROR('#1: var x; new String("lego").charAt(x) === "l". Actual: new String("lego").charAt(x) ==='+new String("lego").charAt(x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T7.js deleted file mode 100644 index 51dd8244b4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T7; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: Call charAt() function with undefined argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T7.js", - -assertion: "String.prototype.charAt(pos)", - -description: "Call charAt() function with undefined argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(undefined) evaluates to 0 charAt() evaluates to charAt(0) -if (String("lego").charAt(undefined) !== "l") { - $ERROR('#1: String("lego").charAt(undefined) === "l". Actual: String("lego").charAt(undefined) ==='+String("lego").charAt(undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T8.js deleted file mode 100644 index 4a8028904a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T8.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T8; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: Call charAt() function with void 0 argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T8.js", - -assertion: "String.prototype.charAt(pos)", - -description: "Call charAt() function with void 0 argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(void 0) evaluates to 0 charAt() evaluates to charAt(0) -if (String(42).charAt(void 0) !== "4") { - $ERROR('#1: String(42).charAt(void 0) === "4". Actual: String(42).charAt(void 0) ==='+String(42).charAt(void 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T9.js deleted file mode 100644 index 5477909fb7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T9.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T9; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: Call charAt() function with function(){}() argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T9.js", - -assertion: "String.prototype.charAt(pos)", - -description: "Call charAt() function with function(){}() argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(undefined) evaluates to 0 charAt() evaluates to charAt(0) -if (new String(42).charAt(function(){}()) !== "4") { - $ERROR('#1: new String(42).charAt(function(){}()) === "4". Actual: new String(42).charAt(function(){}()) ==='+new String(42).charAt(function(){}()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A2.js deleted file mode 100644 index 5c3848d30f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A2; -* @section: 15.5.4.4; -* @assertion: When String.prototype.charAt(pos) calls if ToInteger(pos) less than 0 the empty string returns; -* @description: Call charAt(pos) with negative pos; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A2.js", - -assertion: "When String.prototype.charAt(pos) calls if ToInteger(pos) less than 0 the empty string returns", - -description: "Call charAt(pos) with negative pos", - -test: function testcase() { - function __FACTORY(){}; - -__FACTORY.prototype.charAt = String.prototype.charAt; - -var __instance = new __FACTORY; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.charAt(-1) !== "") { - $ERROR('#1: __instance.charAt(-1) === "". Actual: __instance.charAt(-1) ==='+__instance.charAt(-1) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A3.js deleted file mode 100644 index b4ae107699..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A3; -* @section: 15.5.4.4; -* @assertion: When String.prototype.charAt(pos) calls if ToInteger(pos) not less than ToString(this value) the empty string returns; -* @description: pos is bigger of string length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A3.js", - -assertion: "When String.prototype.charAt(pos) calls if ToInteger(pos) not less than ToString(this value) the empty string returns", - -description: "pos is bigger of string length", - -test: function testcase() { - var __instance = new String("ABC"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.charAt(3) !== "") { - $ERROR('#1: __instance = new String("ABC"); __instance.charAt(3) === "". Actual: __instance.charAt(3) ==='+__instance.charAt(3) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T1.js deleted file mode 100644 index 8e33bd92f3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A4_T1; -* @section: 15.5.4.4; -* @assertion: If pos is a value of Number type that is an integer, then the result of x.charAt(pos) is equal to the result of x.substring(pos, pos+1); -* @description: Compare results of x.charAt(pos) and x.substring(pos, pos+1); -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A4_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T1.js", - -assertion: "If pos is a value of Number type that is an integer, then the result of x.charAt(pos) is equal to the result of x.substring(pos, pos+1)", - -description: "Compare results of x.charAt(pos) and x.substring(pos, pos+1)", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(var i=0; i<6; i++) { - if ("ABC\u0041\u0042\u0043".charAt(i) !== "\u0041\u0042\u0043ABC".substring(i, i+1)) { - $ERROR('#'+i+': "ABC\\u0041\\u0042\\u0043".charAt('+i+') === "\\u0041\\u0042\\u0043ABC".substring('+i+', '+(i+1)+'). Actual: "ABC\\u0041\\u0042\\u0043".charAt('+i+') ==='+("ABC\u0041\u0042\u0043".charAt(i)) ); - } -} - -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T2.js deleted file mode 100644 index 1573ca1ad3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A4_T2; -* @section: 15.5.4.4; -* @assertion: If pos is a value of Number type that is an integer, then the result of x.charAt(pos) is equal to the result of x.substring(pos, pos+1); -* @description: Compare results of x.charAt(pos) and x.substring(pos, pos+1), wheb pos is smaller of zero; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A4_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T2.js", - -assertion: "If pos is a value of Number type that is an integer, then the result of x.charAt(pos) is equal to the result of x.substring(pos, pos+1)", - -description: "Compare results of x.charAt(pos) and x.substring(pos, pos+1), wheb pos is smaller of zero", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(var i=-2; i<0; i++) { - if ("ABC\u0041\u0042\u0043".charAt(i) !== "\u0041\u0042\u0043ABC".substring(i, i+1)) { - $ERROR('#'+(i+2)+': "ABC\\u0041\\u0042\\u0043".charAt('+i+') === "\\u0041\\u0042\\u0043ABC".substring('+i+', '+(i+1)+'). Actual: "ABC\\u0041\\u0042\\u0043".charAt('+i+') ==='+("ABC\u0041\u0042\u0043".charAt(i)) ); - } -} - -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T3.js deleted file mode 100644 index 71803c0f23..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A4_T3; -* @section: 15.5.4.4; -* @assertion: If pos is a value of Number type that is an integer, then the result of x.charAt(pos) is equal to the result of x.substring(pos, pos+1); -* @description: Compare results of x.charAt(pos) and x.substring(pos, pos+1), wheb pos is bigger string length; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A4_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A4_T3.js", - -assertion: "If pos is a value of Number type that is an integer, then the result of x.charAt(pos) is equal to the result of x.substring(pos, pos+1)", - -description: "Compare results of x.charAt(pos) and x.substring(pos, pos+1), wheb pos is bigger string length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for(var i=6; i<8; i++) { - if ("ABC\u0041\u0042\u0043".charAt(i) !== "\u0041\u0042\u0043ABC".substring(i, i+1)) { - $ERROR('#'+(i-5)+': "ABC\\u0041\\u0042\\u0043".charAt('+i+') === "\\u0041\\u0042\\u0043ABC".substring('+i+', '+(i+1)+'). Actual: "ABC\\u0041\\u0042\\u0043".charAt('+i+') ==='+("ABC\u0041\u0042\u0043".charAt(i))); - } -} - -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A5.js deleted file mode 100644 index ddb1e466ec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A5.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A5; -* @section: 15.5.4.4; -* @assertion: When String.prototype.charAt(pos) calls first calls ToString, giving it the this value as its argument; -* @description: Change toString function, it trow exception, and call charAt(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A5.js", - -assertion: "When String.prototype.charAt(pos) calls first calls ToString, giving it the this value as its argument", - -description: "Change toString function, it trow exception, and call charAt()", - -test: function testcase() { - var __obj={ - valueOf:1, - toString:function(){throw 'intostring'}, - charAt:String.prototype.charAt -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.charAt(); - $FAIL('#1: __obj={valueOf:1,toString:function(){throw \'intostring\'},charAt:String.prototype.charAt}; "var x = __obj.charAt()" lead to throwing exception'); -} catch (e) { - if (e !== 'intostring') { - $ERROR('#1.1: Exception === \'intostring\'. Actual: exception ==='+e ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A6.js deleted file mode 100644 index c7da4f4e11..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A6; -* @section: 15.5.4.4, 13.2; -* @assertion: String.prototype.charAt has not prototype property; -* @description: Checking String.prototype.charAt.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A6.js", - -assertion: "String.prototype.charAt has not prototype property", - -description: "Checking String.prototype.charAt.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.charAt.prototype !== undefined) { - $ERROR('#1: String.prototype.charAt.prototype === undefined. Actual: '+String.prototype.charAt.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A7.js deleted file mode 100644 index e172ed060a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A7.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A7; -* @section: 15.5.4.4, 13.2; -* @assertion: String.prototype.charAt can't be used as constructor; -* @description: Checking if creating the String.prototype.charAt object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A7.js", - -assertion: "String.prototype.charAt can\'t be used as constructor", - -description: "Checking if creating the String.prototype.charAt object fails", - -test: function testcase() { - var __FACTORY = String.prototype.charAt; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.charAt; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: undefined = 1 throw a TypeError. Actual: ' + (e)); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A8.js deleted file mode 100644 index f07b683377..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A8; -* @section: 15.5.4.4; -* @assertion: The String.prototype.charAt.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.charAt.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A8.js", - -assertion: "The String.prototype.charAt.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.charAt.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.charAt.hasOwnProperty('length'))) { - $ERROR('#0: String.prototype.charAt.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.charAt.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.charAt.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.charAt.propertyIsEnumerable(\'length\') return false. Actual: '+String.prototype.charAt.propertyIsEnumerable('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.charAt){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.charAt){if (p==="length") count++;}; count === 0. Actual: count ==='+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A9.js deleted file mode 100644 index 710e484472..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A9; -* @section: 15.5.4.4; -* @assertion: The String.prototype.charAt.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.charAt.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.4_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A9.js", - -assertion: "The String.prototype.charAt.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.charAt.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.charAt.hasOwnProperty('length'))) { - $ERROR('#0: String.prototype.charAt.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.charAt.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.charAt.length) { - $ERROR('#1: delete String.prototype.charAt.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.charAt.hasOwnProperty('length'))) { - $ERROR('#2: delete String.prototype.charAt.length; String.prototype.charAt.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.charAt.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1.1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1.1.js deleted file mode 100644 index c35fa3e2e5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1.1.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1.1; -* @section: 15.5.4.5, 13.2; -* @assertion: String.prototype.charCodeAt() can accept many arguments; -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1.1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1.1.js", - -assertion: "String.prototype.charCodeAt() can accept many arguments", - -description: "Checking by using eval", - -test: function testcase() { - function __FACTORY(){this.toString = function(){ return "wizard";};}; - -__FACTORY.prototype.charCodeAt = String.prototype.charCodeAt; - -var __instance = new __FACTORY; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__instance){ - - if (__instance.charCodeAt(eval("1"),true,null,{})!== 0x69) { - $ERROR('#1: __instance.charCodeAt(eval("1"),true,null,{})=== 0x69. Actual: __instance.charCodeAt(eval("1"),true,null,{})==='+__instance.charCodeAt(eval("1"),true,null,{})); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A10.js deleted file mode 100644 index c81ff7d80e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A10; -* @section: 15.5.4.5; -* @assertion: The String.prototype.charCodeAt.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.charCodeAt.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A10.js", - -assertion: "The String.prototype.charCodeAt.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.charCodeAt.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.charCodeAt.hasOwnProperty('length'))) { - $ERROR('#1: String.prototype.charCodeAt.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.charCodeAt.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.charCodeAt.length; - -String.prototype.charCodeAt.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.charCodeAt.length !== __obj) { - $ERROR('#2: __obj = String.prototype.charCodeAt.length; String.prototype.charCodeAt.length = function(){return "shifted";}; String.prototype.charCodeAt.length === __obj. Actual: '+String.prototype.charCodeAt.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A11.js deleted file mode 100644 index 1f349578cb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A11; -* @section: 15.5.4.5; -* @assertion: The length property of the charCodeAt method is 1; -* @description: Checking String.prototype.charCodeAt.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A11.js", - -assertion: "The length property of the charCodeAt method is 1", - -description: "Checking String.prototype.charCodeAt.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.charCodeAt.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.charCodeAt.hasOwnProperty("length") return true. Actual: '+String.prototype.charCodeAt.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.charCodeAt.length !== 1) { - $ERROR('#2: String.prototype.charCodeAt.length === 1. Actual: '+String.prototype.charCodeAt.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T1.js deleted file mode 100644 index d55c8a127b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T1; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: pos is false and true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T1.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "pos is false and true, and instance is object", - -test: function testcase() { - var __instance = new Object(42); - -__instance.charCodeAt = String.prototype.charCodeAt; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((__instance.charCodeAt(false) !== 52)||(__instance.charCodeAt(true) !== 50)) { - $ERROR('#1: __instance = new Object(42); __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(false) === 52 and __instance.charCodeAt(true) === 50. Actual: __instance.charCodeAt(false) ==='+__instance.charCodeAt(false)+' and __instance.charCodeAt(true) ==='+__instance.charCodeAt(true) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T10.js deleted file mode 100644 index 2927590a76..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T10.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T10; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: Call charCodeAt() function with object argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T10.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "Call charCodeAt() function with object argument", - -test: function testcase() { - var __obj = {toString:function(){return 1;}} -var __str = "lego"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (charCodeAt(__obj) !== 0x65) { - $ERROR('#1: var __obj = {toString:function(){return 1;}}; var __str = "lego"; charCodeAt(__obj) === 0x65. Actual: charCodeAt(__obj) ==='+charCodeAt(__obj) ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T2.js deleted file mode 100644 index 2c75f3c728..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T2.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T2; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: pos is equation with false and true, and instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T2.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "pos is equation with false and true, and instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.charCodeAt = String.prototype.charCodeAt; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.charCodeAt(false)!==0x66) { - $ERROR('#1: __instance = new Boolean; __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(false)===0x66. Actual: '+__instance.charCodeAt(false)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__instance.charCodeAt(true)!==0x61) { - $ERROR('#2: __instance = new Boolean; __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(true)===0x61. Actual: '+__instance.charCodeAt(true)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__instance.charCodeAt(true+1) !== 0x6C) { - $ERROR('#3: __instance = new Boolean; __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(true+1) === 0x6C. Actual: '+__instance.charCodeAt(true+1) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T3.js deleted file mode 100644 index 994fff7058..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T3.js +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T3; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: Use numbers and strings as pos; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T3.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "Use numbers and strings as pos", - -test: function testcase() { - var charCodeAt = String.prototype.charCodeAt; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (charCodeAt("2") !== 0x62) { - $ERROR('#1: charCodeAt = String.prototype.charCodeAt; charCodeAt("2") === 0x62. Actual: '+charCodeAt("2") ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (charCodeAt(3) !== 0x6A) { - $ERROR('#2: charCodeAt = String.prototype.charCodeAt; charCodeAt(3) === 0x6A. Actual: '+charCodeAt(3) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (charCodeAt("4") !== 0x65) { - $ERROR('#3: charCodeAt = String.prototype.charCodeAt; charCodeAt("4") === 0x65. Actual: '+charCodeAt("4") ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (charCodeAt(5) !== 0x63) { - $ERROR('#4: charCodeAt = String.prototype.charCodeAt; charCodeAt(5) === 0x63. Actual: '+charCodeAt(5) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (charCodeAt("6") !== 0x74) { - $ERROR('#5: charCodeAt = String.prototype.charCodeAt; charCodeAt("6") === 0x74. Actual: '+charCodeAt("6") ); -} -// -////////////////////////////////////////////////////////////////////////////// - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T4.js deleted file mode 100644 index 63de2689ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T4; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: Call charCodeAt() function without argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T4.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "Call charCodeAt() function without argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since Number() evaluates to 0 charCodeAt() evaluates to charCodeAt(0) -if ("smart".charCodeAt() !== 0x73) { - $ERROR('#1: "smart".charCodeAt() === 0x73. Actual: "smart".charCodeAt() ==='+("smart".charCodeAt()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T5.js deleted file mode 100644 index c071ac7d8f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T5; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: Call charCodeAt() function with null argument of function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T5.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "Call charCodeAt() function with null argument of function object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(null) evaluates to 0 charCodeAt() evaluates to charCodeAt(0) -if (function(){return "lego"}().charCodeAt(null) !== 0x6C) { - $ERROR('#1: function(){return "lego"}().charCodeAt(null) === 0x6C. Actual: '+function(){return "lego"}().charCodeAt(null) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T6.js deleted file mode 100644 index 5f82c91027..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T6; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: Call charCodeAt() function with x argument of new String object, where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T6.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "Call charCodeAt() function with x argument of new String object, where x is undefined variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(undefined) evaluates to 0 charCodeAt() evaluates to charCodeAt(0) -if (new String("lego").charCodeAt(x) !== 0x6C) { - $ERROR('#1: var x; new String("lego").charCodeAt(x) === 0x6C. Actual: new String("lego").charCodeAt(x) ==='+new String("lego").charCodeAt(x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T7.js deleted file mode 100644 index 34d9c550d1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T7; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: Call charCodeAt() function with undefined argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T7.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "Call charCodeAt() function with undefined argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(undefined) evaluates to 0 charCodeAt() evaluates to charCodeAt(0) -if (String("lego").charCodeAt(undefined) !== 0x6C) { - $ERROR('#1: String("lego").charCodeAt(undefined) === 0x6C. Actual: String("lego").charCodeAt(undefined) ==='+String("lego").charCodeAt(undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T8.js deleted file mode 100644 index fefd392d96..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T8.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T8; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: Call charCodeAt() function with void 0 argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T8.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "Call charCodeAt() function with void 0 argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(void 0) evaluates to 0 charCodeAt() evaluates to charCodeAt(0) -if (String(42).charCodeAt(void 0) !== 0x34) { - $ERROR('#1: String(42).charCodeAt(void 0) === 0x34. Actual: String(42).charCodeAt(void 0) ==='+String(42).charCodeAt(void 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T9.js deleted file mode 100644 index 6728650e49..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T9.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T9; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: Call charCodeAt() function with function(){}() argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T9.js", - -assertion: "String.prototype.charCodeAt(pos)", - -description: "Call charCodeAt() function with function(){}() argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToInteger(undefined) evaluates to 0 charCodeAt() evaluates to charCodeAt(0) -if (new String(42).charCodeAt(function(){}()) !== 0x34) { - $ERROR('#1: new String(42).charCodeAt(function(){}()) === 0x34. Actual: new String(42).charCodeAt(function(){}()) ==='+new String(42).charCodeAt(function(){}()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A2.js deleted file mode 100644 index 49e74c84b8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A2.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A2; -* @section: 15.5.4.5; -* @assertion: When String.prototype.charCodeAt(pos) calls if ToInteger(pos) less than 0 the NaN returns; -* @description: Call charCodeAt(pos) with negative pos; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A2.js", - -assertion: "When String.prototype.charCodeAt(pos) calls if ToInteger(pos) less than 0 the NaN returns", - -description: "Call charCodeAt(pos) with negative pos", - -test: function testcase() { - function __FACTORY(){}; - -__FACTORY.prototype.charCodeAt = String.prototype.charCodeAt; - -var __instance = new __FACTORY; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!isNaN(__instance.charCodeAt(-1))) { - $ERROR('#1: function __FACTORY(){}; __FACTORY.prototype.charCodeAt = String.prototype.charCodeAt; __instance = new __FACTORY; isNaN(__instance.charCodeAt(-1)) return true. Actual: '+isNaN(__instance.charCodeAt(-1))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A3.js deleted file mode 100644 index 0c5f2f265d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A3; -* @section: 15.5.4.5; -* @assertion: When String.prototype.charCodeAt(pos) calls if ToInteger(pos) not less than ToString(this value) the NaN returns; -* @description: pos is bigger of string length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A3.js", - -assertion: "When String.prototype.charCodeAt(pos) calls if ToInteger(pos) not less than ToString(this value) the NaN returns", - -description: "pos is bigger of string length", - -test: function testcase() { - var __instance = new String("ABC"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!isNaN(__instance.charCodeAt(3))) { - $ERROR('#1: __instance = new String("ABC"); isNaN(__instance.charCodeAt(3)) return true. Actual: '+isNaN(__instance.charCodeAt(3))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A4.js deleted file mode 100644 index 6a02b6c636..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A4.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A4; -* @section: 15.5.4.5; -* @assertion: When String.prototype.charCodeAt(pos) calls first calls ToString, giving it the this value as its argument; -* @description: Change toString function, it trow exception, and call charCodeAt(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A4.js", - -assertion: "When String.prototype.charCodeAt(pos) calls first calls ToString, giving it the this value as its argument", - -description: "Change toString function, it trow exception, and call charCodeAt()", - -test: function testcase() { - var __obj={ - valueOf:1, - toString:function(){throw 'intostring'}, - charCodeAt:String.prototype.charCodeAt -} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __obj.charCodeAt(); - $FAIL('#1: "var x = __obj.charCodeAt()" lead to throwing exception'); -} catch (e) { - if (e !== 'intostring') { - $ERROR('#1.1: Exception === \'intostring\'. Actual: exception ==='+e ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A6.js deleted file mode 100644 index 5a7241e94b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A6; -* @section: 15.5.4.5, 13.2; -* @assertion: String.prototype.charCodeAt has not prototype property; -* @description: Checking String.prototype.charCodeAt.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A6.js", - -assertion: "String.prototype.charCodeAt has not prototype property", - -description: "Checking String.prototype.charCodeAt.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.charCodeAt.prototype !== undefined) { - $ERROR('#1: String.prototype.charCodeAt.prototype === undefined. Actual: '+String.prototype.charCodeAt.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A7.js deleted file mode 100644 index ef918e4781..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A7.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A7; -* @section: 15.5.4.5, 13.2; -* @assertion: String.prototype.charCodeAt can't be used as constructor; -* @description: Checking if creating the String.prototype.charCodeAt object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A7.js", - -assertion: "String.prototype.charCodeAt can\'t be used as constructor", - -description: "Checking if creating the String.prototype.charCodeAt object fails", - -test: function testcase() { - var __FACTORY = String.prototype.charCodeAt; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.charCodeAt; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) {} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A8.js deleted file mode 100644 index 8217af07da..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A8; -* @section: 15.5.4.5; -* @assertion: The String.prototype.charCodeAt.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.charCodeAt.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A8.js", - -assertion: "The String.prototype.charCodeAt.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.charCodeAt.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.charCodeAt.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.charCodeAt.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.charCodeAt.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.charCodeAt.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.charCodeAt.propertyIsEnumerable(\'length\') return false. Actual: '+String.prototype.charCodeAt.propertyIsEnumerable('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.charCodeAt){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.charCodeAt){if (p==="length") count++;} count === 0. Actual: count ==='+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A9.js deleted file mode 100644 index e10e6f9222..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A9; -* @section: 15.5.4.5; -* @assertion: The String.prototype.charCodeAt.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.charCodeAt.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.5_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A9.js", - -assertion: "The String.prototype.charCodeAt.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.charCodeAt.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.charCodeAt.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.charCodeAt.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.charCodeAt.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.charCodeAt.length) { - $ERROR('#1: delete String.prototype.charCodeAt.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.charCodeAt.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.charCodeAt.length; String.prototype.charCodeAt.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.charCodeAt.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A10.js deleted file mode 100644 index b82be9fd89..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A10; -* @section: 15.5.4.6; -* @assertion: The String.prototype.concat.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.concat.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A10.js", - -assertion: "The String.prototype.concat.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.concat.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.concat.hasOwnProperty('length'))) { - $ERROR('#1: String.prototype.concat.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.concat.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.concat.length; - -String.prototype.concat.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.concat.length !== __obj) { - $ERROR('#2: __obj = String.prototype.concat.length; String.prototype.concat.length = function(){return "shifted";}; String.prototype.concat.length === __obj. Actual: '+String.prototype.concat.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A11.js deleted file mode 100644 index b1a5884642..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A11; -* @section: 15.5.4.6; -* @assertion: The length property of the concat method is 1; -* @description: Checking String.prototype.concat.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A11.js", - -assertion: "The length property of the concat method is 1", - -description: "Checking String.prototype.concat.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.concat.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.concat.hasOwnProperty("length") return true. Actual: '+String.prototype.concat.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.concat.length !== 1) { - $ERROR('#2: String.prototype.concat.length === 1. Actual: '+String.prototype.concat.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T1.js deleted file mode 100644 index cd0e8383e3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T1; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Arguments are false and true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T1.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Arguments are false and true, and instance is object", - -test: function testcase() { - var __instance = new Object(42); - -__instance.concat = String.prototype.concat; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.concat(false,true) !== "42falsetrue") { - $ERROR('#1: __instance = new Object(42); __instance.concat = String.prototype.concat; __instance.concat(false,true) === "42falsetrue". Actual: '+__instance.concat(false,true) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T10.js deleted file mode 100644 index 41c9acc820..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T10.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T10; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Call concat([,[...]]) function with object arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T10.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Call concat([,[...]]) function with object arguments", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041";}} -var __obj2 = {toString:function(){return true;}} -var __obj3 = {toString:function(){return 42;}} -var __str = "lego"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (concat(__obj, __obj2, __obj3, x) !== "legoAtrue42undefined") { - $ERROR('#1: var x; var __obj = {toString:function(){return "\u0041";}}; var __obj2 = {toString:function(){return true;}}; var __obj3 = {toString:function(){return 42;}}; var __str = "lego"; concat(__obj, __obj2, __obj3, x) === "legoAtrue42undefined". Actual: '+concat(__obj, __obj2, __obj3, x) ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T2.js deleted file mode 100644 index 716336b84b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T2; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Arguments are equation with false and true, and instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T2.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Arguments are equation with false and true, and instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.concat = String.prototype.concat; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.concat("\u0041",true,true+1) !== "falseAtrue2") { - $ERROR('#1: __instance = new Boolean; __instance.concat = String.prototype.concat; __instance.concat("\\u0041",true,true+1) === "falseAtrue2". Actual: '+__instance.concat("\u0041",true,true+1) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3.js deleted file mode 100644 index 2886ad36b6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T3; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Use numbers and function object as arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Use numbers and function object as arguments", - -test: function testcase() { - var concat = String.prototype.concat; - -var __obj5 = {toString:function(){return 5;}}; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (concat(1,2,3,4,__obj5)!=__class__+"12345") { - $ERROR('#1: concat = String.prototype.concat; concat(1,2,3,4,__obj5)==__class__+"12345". Actual: concat(1,2,3,4,__obj5)=='+concat(1,2,3,4,__obj5)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T4.js deleted file mode 100644 index 4e091c1063..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T4; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Call concat([,[...]]) function without argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T4.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Call concat([,[...]]) function without argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString() evaluates to "" concat() evaluates to concat("") -if ("lego".concat() !== "lego") { - $ERROR('#1: "lego".concat() === "lego". Actual: '+("lego".concat()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T5.js deleted file mode 100644 index b21caacb43..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T5; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Call concat([,[...]]) function with null argument of function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T5.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Call concat([,[...]]) function with null argument of function object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(null) evaluates to "null" concat(null) evaluates to concat("null") -if (function(){return "lego"}().concat(null) !== "legonull") { - $ERROR('#1: function(){return "lego"}().concat(null) === "legonull". Actual: '+function(){return "lego"}().concat(null) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T6.js deleted file mode 100644 index a4697d416f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T6; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Call concat([,[...]]) function with x argument of new String object, where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T6.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Call concat([,[...]]) function with x argument of new String object, where x is undefined variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" concat(undefined) evaluates to concat("undefined") -if (new String("lego").concat(x) !== "legoundefined") { - $ERROR('#1: var x; new String("lego").concat(x) === "legoundefined". Actual: '+new String("lego").concat(x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T7.js deleted file mode 100644 index fce63992c5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T7; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Call concat([,[...]]) function with undefined argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T7.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Call concat([,[...]]) function with undefined argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" concat(undefined) evaluates to concat("undefined") -if (String("lego").concat(undefined) !== "legoundefined") { - $ERROR('#1: String("lego").concat(undefined) === "legoundefined". Actual: '+String("lego").concat(undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T8.js deleted file mode 100644 index 330c4effb2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T8.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T8; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Call concat([,[...]]) function with void 0 argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T8.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Call concat([,[...]]) function with void 0 argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(void 0) evaluates to "undefined" concat(void 0) evaluates to concat("undefined") -if (String(42).concat(void 0) !== "42undefined") { - $ERROR('#1: String(42).concat(void 0) === "42undefined". Actual: '+String(42).concat(void 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T9.js deleted file mode 100644 index f71e6b19ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T9.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T9; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Call concat([,[...]]) function with function(){}() argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T9.js", - -assertion: "String.prototype.concat([,[...]])", - -description: "Call concat([,[...]]) function with function(){}() argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" concat(undefined) evaluates to concat("undefined") -if (new String(42).concat(function(){}()) !== "42undefined") { - $ERROR('#1: new String(42).concat(function(){}()) === "42undefined". Actual: '+new String(42).concat(function(){}()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A2.js deleted file mode 100644 index 0e75693386..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A2; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]) can accept at least 128; -* @description: Call concat([,[...]]) function with 128 arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A2.js", - -assertion: "String.prototype.concat([,[...]]) can accept at least 128", - -description: "Call concat([,[...]]) function with 128 arguments", - -test: function testcase() { - var __instance = new Number(); - -__instance.concat = String.prototype.concat; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.concat( -0,1,2,3,4,5,6,7,8,9,0xA,0xB,0xC,0xD,0xE,0xF, -0,1,2,3,4,5,6,7,8,9,0xA,0xB,0xC,0xD,0xE,0xF, -0,1,2,3,4,5,6,7,8,9,0xA,0xB,0xC,0xD,0xE,0xF, -0,1,2,3,4,5,6,7,8,9,0xA,0xB,0xC,0xD,0xE,0xF, -0,1,2,3,4,5,6,7,8,9,0xA,0xB,0xC,0xD,0xE,0xF, -0,1,2,3,4,5,6,7,8,9,0xA,0xB,0xC,0xD,0xE,0xF, -0,1,2,3,4,5,6,7,8,9,0xA,0xB,0xC,0xD,0xE,0xF, -0,1,2,3,4,5,6,7,8,9,0xA,0xB,0xC,0xD,0xE,0xF -) !== "001234567891011121314150123456789101112131415012345678910111213141501234567891011121314150123456789101112131415012345678910111213141501234567891011121314150123456789101112131415") { - $ERROR('#1: Call concat([,[...]]) function with 128 arguments does not lead to throwing any errors'); -} -// -////////////////////////////////////////////////////////////////////////////// - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A3.js deleted file mode 100644 index d79aae0c3d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A3; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]) can't change the instance to be applied; -* @description: Checking if varying the instance that is applied fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A3.js", - -assertion: "String.prototype.concat([,[...]]) can\'t change the instance to be applied", - -description: "Checking if varying the instance that is applied fails", - -test: function testcase() { - var __instance = new String("one"); - -__instance.concat("two"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance != "one") { - $ERROR('#1: __instance = new String("one"); __instance.concat("two"); __instance = new String("one"); __instance.concat("two"); __instance == "one". Actual: '+__instance); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T1.js deleted file mode 100644 index 79ddc26c73..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T1.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A4_T1; -* @section: 15.5.4.6; -* @assertion: when String.prototype.concat([,[...]]) is called first Call ToString, giving it the this value as its argument; -* @description: Override toString function; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A4_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T1.js", - -assertion: "when String.prototype.concat([,[...]]) is called first Call ToString, giving it the this value as its argument", - -description: "Override toString function", - -test: function testcase() { - var __instance = {toString:function(){return "one"}}; - -__instance.concat = String.prototype.concat; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.concat("two",x) !== "onetwoundefined") { - $ERROR('#1: var x; __instance = {toString:function(){return "one"}}; __instance.concat = String.prototype.concat; __instance.concat("two",x) === "onetwoundefined". Actual: '+__instance.concat("two",x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T2.js deleted file mode 100644 index de11862b47..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A4_T2; -* @section: 15.5.4.6; -* @assertion: when String.prototype.concat([,[...]]) is called first Call ToString, giving it the this value as its argument; -* @description: Override toString function onto function, that throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A4_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A4_T2.js", - -assertion: "when String.prototype.concat([,[...]]) is called first Call ToString, giving it the this value as its argument", - -description: "Override toString function onto function, that throw exception", - -test: function testcase() { - var __instance = {toString:function(){throw "intostring";}}; -var __obj = {toString:function(){throw "infirstarg";}}; - -__instance.concat = String.prototype.concat; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - String.prototype.concat.call(__instance,__obj, notexist); - $FAIL('#1: "String.prototype.concat.call(__instance,__obj, notexist)" lead to throwing exception'); -} catch (e) { - if (e !== "intostring") { - $ERROR('#1: e === "intostring". Actual: '+e ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var notexist; - - - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A6.js deleted file mode 100644 index 065ec746c4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A6; -* @section: 15.5.4.6, 13.2; -* @assertion: String.prototype.concat has not prototype property; -* @description: Checking String.prototype.concat.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A6.js", - -assertion: "String.prototype.concat has not prototype property", - -description: "Checking String.prototype.concat.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.concat.prototype !== undefined) { - $ERROR('#1: String.prototype.concat.prototype === undefined. Actual: '+String.prototype.concat.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A7.js deleted file mode 100644 index 06ac3b6ee1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A7.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A7; -* @section: 15.5.4.6, 13.2; -* @assertion: String.prototype.concat can't be used as constructor; -* @description: Checking if creating the String.prototype.concat object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A7.js", - -assertion: "String.prototype.concat can\'t be used as constructor", - -description: "Checking if creating the String.prototype.concat object fails", - -test: function testcase() { - var __FACTORY = String.prototype.concat; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.concat; "__instance = new __FACTORY" lead throwing exception'); -} catch (e) {} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A8.js deleted file mode 100644 index b6a83de250..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A8; -* @section: 15.5.4.6; -* @assertion: The String.prototype.concat.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.concat.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A8.js", - -assertion: "The String.prototype.concat.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.concat.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.concat.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.concat.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.concat.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.concat.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.concat.propertyIsEnumerable(\'length\') return false. Actual: '+String.prototype.concat.propertyIsEnumerable('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -count = 0; - -for (p in String.prototype.concat){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count = 0; for (p in String.prototype.concat){ if (p==="length") count++;}; count === 0. Actual: '+count); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A9.js deleted file mode 100644 index 5e3f5d7f4d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A9; -* @section: 15.5.4.6; -* @assertion: The String.prototype.concat.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.concat.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.6_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A9.js", - -assertion: "The String.prototype.concat.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.concat.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.concat.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.concat.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.concat.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.concat.length) { - $ERROR('#1: delete String.prototype.concat.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.concat.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.concat.length; String.prototype.concat.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.concat.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A10.js deleted file mode 100644 index a2c5324082..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A10; -* @section: 15.5.4.7; -* @assertion: The String.prototype.indexOf.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.indexOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A10.js", - -assertion: "The String.prototype.indexOf.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.indexOf.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.indexOf.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.indexOf.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.indexOf.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.indexOf.length; - -String.prototype.indexOf.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.indexOf.length !== __obj) { - $ERROR('#2: __obj = String.prototype.indexOf.length; String.prototype.indexOf.length = function(){return "shifted";}; String.prototype.indexOf.length === __obj. Actual: '+String.prototype.indexOf.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A11.js deleted file mode 100644 index 7e0c8de6bb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A11; -* @section: 15.5.4.7; -* @assertion: The length property of the indexOf method is 1; -* @description: Checking String.prototype.indexOf.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A11.js", - -assertion: "The length property of the indexOf method is 1", - -description: "Checking String.prototype.indexOf.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.indexOf.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.indexOf.hasOwnProperty("length") return true. Actual: '+String.prototype.indexOf.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.indexOf.length !== 1) { - $ERROR('#2: String.prototype.indexOf.length === 1. Actual: '+String.prototype.indexOf.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T1.js deleted file mode 100644 index be365fd230..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T1; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Arguments are false and true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T1.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Arguments are false and true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - -__instance.indexOf = String.prototype.indexOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.indexOf(true, false) !== 0) { - $ERROR('#1: __instance = new Object(true); __instance.indexOf = String.prototype.indexOf; __instance.indexOf(true, false) === 0. Actual: '+__instance.indexOf(true, false) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T10.js deleted file mode 100644 index 1d016a2bb5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T10.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T10; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Call indexOf(searchString, position) function with object arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T10.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Call indexOf(searchString, position) function with object arguments", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){return true;}} -var __str = "ABB\u0041BABAB"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (indexOf(__obj, __obj2) !== 3) { - $ERROR('#1: var x; var __obj = {toString:function(){return "\u0041B";}}; var __obj2 = {valueOf:function(){return true;}}; var __str = "ABB\u0041BABAB"; indexOf(__obj, __obj2) === 3. Actual: '+indexOf(__obj, __obj2) ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T11.js deleted file mode 100644 index 9de51f5e3c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T11.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T11; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Instance is Date(0) object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T11.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Instance is Date(0) object", - -test: function testcase() { - var __instance = new Date(0); - -__instance.indexOf = String.prototype.indexOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((__instance.getTimezoneOffset()>0 ? __instance.indexOf('31') : __instance.indexOf('01')) !== 8) { - $ERROR('#1: __instance = new Date(0); __instance.indexOf = String.prototype.indexOf; (__instance.getTimezoneOffset()>0 ? __instance.indexOf(\'31\') : __instance.indexOf(\'01\')) === 8. Actual: '+(__instance.getTimezoneOffset()>0 ? __instance.indexOf('31') : __instance.indexOf('01')) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T12.js deleted file mode 100644 index da64657078..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T12.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T12; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Argument is string, and instance is array of strings; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T12.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Argument is string, and instance is array of strings", - -test: function testcase() { - var __instance = new Array('new','zoo','revue'); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.indexOf('new') !== 0) { - $ERROR('#1: __instance = new Array(\'new\',\'zoo\',\'revue\'); __instance.indexOf(\'new\') === 0. Actual: '+__instance.indexOf('new') ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__instance.indexOf('zoo') !== 1) { - $ERROR('#2: __instance = new Array(\'new\',\'zoo\',\'revue\'); __instance.indexOf(\'zoo\') === 1. Actual: '+__instance.indexOf('zoo') ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T2.js deleted file mode 100644 index e7112ea025..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T2; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Arguments are boolean equation, function and null, and instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T2.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Arguments are boolean equation, function and null, and instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.indexOf = String.prototype.indexOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.indexOf("A"!=="\u0041", function(){return 0;}(),null) !== 0) { - $ERROR('#1: __instance = new Boolean; __instance.indexOf = String.prototype.indexOf; __instance.indexOf("A"!=="\\u0041", function(){return 0;}(),null) === 0. Actual: '+__instance.indexOf("A"!=="\u0041", function(){return 0;}(),null) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T3.js deleted file mode 100644 index 0584ae9738..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T3; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T3.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Checking by using eval", - -test: function testcase() { - var indexOf = String.prototype.indexOf; - -var __obj__pos = {valueOf:function(){return 5;}}; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (indexOf(eval("\"[\""),__obj__pos)!=-1) { - $ERROR('#1: indexOf = String.prototype.indexOf; indexOf(eval("\\"[\\""),__obj__pos)==-1. Actual: indexOf(eval("\\"[\\""),__obj__pos)=='+indexOf(eval("\"[\""),__obj__pos)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T4.js deleted file mode 100644 index d6be1caaf1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T4; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Call indexOf(searchString, position) function without arguments of string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T4.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Call indexOf(searchString, position) function without arguments of string", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString() evaluates to "" indexOf() evaluates to indexOf("",0) -if ("".indexOf() !== -1) { - $ERROR('#1: "".indexOf() === -1. Actual: '+("".indexOf()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T5.js deleted file mode 100644 index 1bd66dc0de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T5; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Call indexOf(searchString, position) function with null argument of function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T5.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Call indexOf(searchString, position) function with null argument of function object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(null) evaluates to "null" indexOf(null) evaluates to indexOf("",0) -if (function(){return "gnulluna"}().indexOf(null) !== 1) { - $ERROR('#1: function(){return "gnulluna"}().indexOf(null) === 1. Actual: '+function(){return "gnulluna"}().indexOf(null) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T6.js deleted file mode 100644 index 134f9b4a37..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T6; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Call indexOf(searchString, position) function with x argument of new String object, where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T6.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Call indexOf(searchString, position) function with x argument of new String object, where x is undefined variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "" indexOf(undefined) evaluates to indexOf("",0) -if (new String("undefined").indexOf(x) !== 0) { - $ERROR('#1: var x; new String("undefined").indexOf(x) === 0. Actual: '+new String("undefined").indexOf(x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T7.js deleted file mode 100644 index 0a6b0fdd66..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T7; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Call indexOf(searchString, position) function with undefined argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T7.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Call indexOf(searchString, position) function with undefined argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" indexOf(undefined) evaluates to indexOf("undefined",0) -if (String("undefined").indexOf(undefined) !== 0) { - $ERROR('#1: String("undefined").indexOf(undefined) === 0. Actual: '+String("undefined").indexOf(undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T8.js deleted file mode 100644 index 6a3b4df62c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T8; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Call indexOf(searchString, position) function with void 0 argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T8.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Call indexOf(searchString, position) function with void 0 argument of string object", - -test: function testcase() { - var __obj = {toString:function(){}}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(void 0) evaluates to "undefined" indexOf(void 0) evaluates to indexOf("undefined") -if (String(__obj).indexOf(void 0) !== 0) { - $ERROR('#1: __obj = {toString:function(){}}; String(__obj).indexOf(void 0) === 0. Actual: '+String(__obj).indexOf(void 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T9.js deleted file mode 100644 index 81e9ba07d6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T9; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Call indexOf(searchString, position) function with function(){}() argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T9.js", - -assertion: "String.prototype.indexOf(searchString, position)", - -description: "Call indexOf(searchString, position) function with function(){}() argument of string object", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" indexOf(undefined) evaluates to indexOf("undefined") -if (new String(__obj).indexOf(function(){}()) !== 0) { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; new String(__obj).indexOf(function(){}()) === 0. Actual: '+new String(__obj).indexOf(function(){}()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T1.js deleted file mode 100644 index 69829a1141..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A2_T1; -* @section: 15.5.4.7; -* @assertion: When length of searchString less than length of ToString(this) -1 returns; -* @description: Call "abcd".indexOf("abcdab") and check result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T1.js", - -assertion: "When length of searchString less than length of ToString(this) -1 returns", - -description: "Call \"abcd\".indexOf(\"abcdab\") and check result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("abcd".indexOf("abcdab")!==-1) { - $ERROR('#1: "abcd".indexOf("abcdab")===-1. Actual: '+("abcd".indexOf("abcdab"))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T2.js deleted file mode 100644 index e379bca05d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A2_T2; -* @section: 15.5.4.7; -* @assertion: When length of searchString less than length of ToString(this) -1 returns; -* @description: Call "abcd".indexOf("abcdab",0) and check result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T2.js", - -assertion: "When length of searchString less than length of ToString(this) -1 returns", - -description: "Call \"abcd\".indexOf(\"abcdab\",0) and check result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("abcd".indexOf("abcdab",0)!==-1) { - $ERROR('#1: "abcd".indexOf("abcdab",0)===-1. Actual: '+("abcd".indexOf("abcdab",0))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T3.js deleted file mode 100644 index ef013832a6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A2_T3; -* @section: 15.5.4.7; -* @assertion: When length of searchString less than length of ToString(this) -1 returns; -* @description: Call "abcd".indexOf("abcdab",99) and check result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A2_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T3.js", - -assertion: "When length of searchString less than length of ToString(this) -1 returns", - -description: "Call \"abcd\".indexOf(\"abcdab\",99) and check result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("abcd".indexOf("abcdab",99)!==-1) { - $ERROR('#1: "abcd".indexOf("abcdab",99)===-1. Actual: '+("abcd".indexOf("abcdab",99))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T4.js deleted file mode 100644 index 4bb893a9af..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A2_T4; -* @section: 15.5.4.7; -* @assertion: When length of searchString less than length of ToString(this) -1 returns; -* @description: Call "abcd".indexOf("abcdab",NaN) and check result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A2_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A2_T4.js", - -assertion: "When length of searchString less than length of ToString(this) -1 returns", - -description: "Call \"abcd\".indexOf(\"abcdab\",NaN) and check result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("abcd".indexOf("abcdab",NaN)!==-1) { - $ERROR('#1: "abcd".indexOf("abcdab",NaN)===-1. Actual: '+("abcd".indexOf("abcdab",NaN))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T1.js deleted file mode 100644 index 08fbf88220..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A3_T1; -* @section: 15.5.4.7; -* @assertion: Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0 indexOf(searchString,0) returns; -* @description: Call "$$abcdabcd".indexOf("ab",NaN) and check result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A3_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T1.js", - -assertion: "Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0 indexOf(searchString,0) returns", - -description: "Call \"$$abcdabcd\".indexOf(\"ab\",NaN) and check result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("$$abcdabcd".indexOf("ab",NaN)!==2) { - $ERROR('#1: "$$abcdabcd".indexOf("ab",NaN)===2. Actual: '+("$$abcdabcd".indexOf("ab",NaN))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T2.js deleted file mode 100644 index 480f34b1cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A3_T2; -* @section: 15.5.4.7; -* @assertion: Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0 indexOf(searchString,0) returns; -* @description: Call "$$abcdabcd".indexOf("ab",eval("\"-99\"")) and check result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A3_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T2.js", - -assertion: "Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0 indexOf(searchString,0) returns", - -description: "Call \"$$abcdabcd\".indexOf(\"ab\",eval(\"\\\"-99\\\"\")) and check result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("$$abcdabcd".indexOf("ab",eval("\"-99\""))!==2) { - $ERROR('#1: "$$abcdabcd".indexOf("ab",eval("\\"-99\\""))===2. Actual: '+("$$abcdabcd".indexOf("ab",eval("\"-99\"")))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T3.js deleted file mode 100644 index fde70ad5eb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T3.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A3_T3; -* @section: 15.5.4.7; -* @assertion: Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0 indexOf(searchString,0) returns; -* @description: Call "$$abcdabcd".indexOf("ab",function(){return -Infinity;}()) and check result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A3_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A3_T3.js", - -assertion: "Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0 indexOf(searchString,0) returns", - -description: "Call \"$$abcdabcd\".indexOf(\"ab\",function(){return -Infinity;}()) and check result", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("$$abcdabcd".indexOf("ab", function(){return -Infinity;}())!==2) { - $ERROR('#1: "$$abcdabcd".indexOf("ab", function(){return -Infinity;}())===2. Actual: '+("$$abcdabcd".indexOf("ab", function(){return -Infinity;}()))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T1.js deleted file mode 100644 index a72407b7b9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A4_T1; -* @section: 15.5.4.7; -* @assertion: when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions, valueOf throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A4_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T1.js", - -assertion: "when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions, valueOf throw exception", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){throw "intointeger";}} -var __str = {str__:"ABB\u0041BABAB"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - with(str__){ - try { - var x = indexOf(__obj, __obj2); - $FAIL('#1: "var x = indexOf(__obj, __obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="intointeger") { - $ERROR('#1.1: Exception === "intointeger". Actual: '+e); - } - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T2.js deleted file mode 100644 index 644b323b9c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A4_T2; -* @section: 15.5.4.7; -* @assertion: when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions, second toString throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A4_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T2.js", - -assertion: "when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions, second toString throw exception", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){return {};},toString:function(){throw "intointeger";}} -var __str = new String("ABB\u0041BABAB"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - try { - var x = indexOf(__obj, __obj2); - $FAIL('#1: "var x = indexOf(__obj, __obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="intointeger") { - $ERROR('#1.1: Exception === "intointeger". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T3.js deleted file mode 100644 index 965f8dcba7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A4_T3; -* @section: 15.5.4.7; -* @assertion: when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A4_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T3.js", - -assertion: "when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){return {};},toString:function(){return "1";}} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("ABB\u0041BABAB".indexOf(__obj, __obj2)!==3) { - $ERROR('#1: var __obj = {toString:function(){return "\u0041B";}}; var __obj2 = {valueOf:function(){return {};},toString:function(){return "1";}}; "ABB\\u0041BABAB".indexOf(__obj, __obj2)===3. Actual: '+("ABB\u0041BABAB".indexOf(__obj, __obj2))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T4.js deleted file mode 100644 index d99223a8e1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T4.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A4_T4; -* @section: 15.5.4.7; -* @assertion: when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions, and they throw exceptions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A4_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T4.js", - -assertion: "when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions, and they throw exceptions", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr";}}; -var __obj2 = {valueOf:function(){throw "intoint";}}; -var __instance = new Number(10001.10001); -Number.prototype.indexOf=String.prototype.indexOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__instance){ - try { - var x = indexOf(__obj, __obj2); - $FAIL('#1: "var x = indexOf(__obj, __obj2)" lead to throwing exception'); - } catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T5.js deleted file mode 100644 index 3795721faa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T5.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A4_T5; -* @section: 15.5.4.7; -* @assertion: when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions, first and second valueOf throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A4_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A4_T5.js", - -assertion: "when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions, first and second valueOf throw exception", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}}; - -var __obj2 = {valueOf:function(){throw "intointeger";}}; - -__FACTORY.prototype.indexOf = String.prototype.indexOf; - -var __instance = new __FACTORY(void 0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __instance.indexOf(__obj, __obj2); - $FAIL('#1: "var x = __instance.indexOf(__obj, __obj2)" lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -function __FACTORY( value ) { - this.value = value; - this.toString = function() { return new Number; }; - this.valueOf=function(){return this.value+""}; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T1.js deleted file mode 100644 index 1c69207ebc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A5_T1; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf works properly; -* @description: Search one symbol from begin of string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A5_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T1.js", - -assertion: "String.prototype.indexOf works properly", - -description: "Search one symbol from begin of string", - -test: function testcase() { - var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for (var k = 0, i = 0x0020; i < 0x007e; i++, k++ ) { - if (TEST_STRING.indexOf( String.fromCharCode(i), 0 )!==k) { - $ERROR('#'+(i-0x0020)+': TEST_STRING.indexOf( String.fromCharCode('+i+'), 0 )==='+k+'. Actual: '+TEST_STRING.indexOf( String.fromCharCode(i), 0 )); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T2.js deleted file mode 100644 index 15ad33d91e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A5_T2; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf works properly; -* @description: Search one symbol from it`s position in the string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A5_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T2.js", - -assertion: "String.prototype.indexOf works properly", - -description: "Search one symbol from it`s position in the string", - -test: function testcase() { - var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for (var k = 0, i = 0x0020; i < 0x007e; i++, k++ ) { - if (TEST_STRING.indexOf( String.fromCharCode(i), k )!==k) { - $ERROR('#'+(i-0x0020)+': TEST_STRING.indexOf( String.fromCharCode('+i+'), '+k+' )==='+k+'. Actual: '+TEST_STRING.indexOf( String.fromCharCode(i), k )); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T3.js deleted file mode 100644 index 42bb238c99..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A5_T3; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf works properly; -* @description: Search one symbol from it`s position+1 in the string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A5_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T3.js", - -assertion: "String.prototype.indexOf works properly", - -description: "Search one symbol from it`s position+1 in the string", - -test: function testcase() { - var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for ( var k = 0, i = 0x0020; i < 0x007e; i++, k++ ) { - if (TEST_STRING.indexOf( String.fromCharCode(i), k+1 ) !== -1) { - $ERROR('#'+(i-0x0020)+': TEST_STRING.indexOf( String.fromCharCode('+i+'), '+(k+1)+' )===-1. Actual: '+TEST_STRING.indexOf( String.fromCharCode(i), k+1 )); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T4.js deleted file mode 100644 index 142483ab1a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T4.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A5_T4; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf works properly; -* @description: Search substring from begin of string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A5_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T4.js", - -assertion: "String.prototype.indexOf works properly", - -description: "Search substring from begin of string", - -test: function testcase() { - var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for (var k = 0, i = 0x0020; i < 0x007d; i++, k++ ) { - if (TEST_STRING.indexOf( (String.fromCharCode(i)+ String.fromCharCode(i+1) + String.fromCharCode(i+2)), 0 )!==k) { - $ERROR('#'+(i-0x0020)+': TEST_STRING.indexOf( (String.fromCharCode('+i+')+ String.fromCharCode('+(i+1)+') + String.fromCharCode('+(i+2)+')), 0 )==='+k+'. Actual: '+TEST_STRING.indexOf( (String.fromCharCode(i)+ String.fromCharCode(i+1) + String.fromCharCode(i+2)), 0 )); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T5.js deleted file mode 100644 index cbc6004053..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T5.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A5_T5; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf works properly; -* @description: Search substring from it`s position in the string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A5_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T5.js", - -assertion: "String.prototype.indexOf works properly", - -description: "Search substring from it`s position in the string", - -test: function testcase() { - var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for ( var k = 0, i = 0x0020; i < 0x007d; i++, k++ ) { - if (TEST_STRING.indexOf( (String.fromCharCode(i)+ String.fromCharCode(i+1)+ String.fromCharCode(i+2)),k ) !==k) { - $ERROR('#'+(i-0x0020)+': TEST_STRING.indexOf( (String.fromCharCode('+i+')+ String.fromCharCode('+(i+1)+') + String.fromCharCode('+(i+2)+')), '+k+' )==='+k+'. Actual: '+TEST_STRING.indexOf( (String.fromCharCode(i)+ String.fromCharCode(i+1) + String.fromCharCode(i+2)), k )); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T6.js deleted file mode 100644 index 75ad3e4a76..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T6.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A5_T6; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf works properly; -* @description: Search substring from it`s position+1 in the string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A5_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A5_T6.js", - -assertion: "String.prototype.indexOf works properly", - -description: "Search substring from it`s position+1 in the string", - -test: function testcase() { - var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -for (var k = 0, i = 0x0020; i < 0x007d; i++, k++ ) { - if (TEST_STRING.indexOf( (String.fromCharCode(i)+ String.fromCharCode(i+1)+ String.fromCharCode(i+2)), k+1 )!== -1) { - $ERROR('#'+(i-0x0020)+': TEST_STRING.indexOf( (String.fromCharCode('+i+')+ String.fromCharCode('+(i+1)+') + String.fromCharCode('+(i+2)+')), '+(k+1)+' )=== -1. Actual: '+TEST_STRING.indexOf( (String.fromCharCode(i)+ String.fromCharCode(i+1) + String.fromCharCode(i+2)), k+1 )); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A6.js deleted file mode 100644 index ff60858500..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A6; -* @section: 15.5.4.7, 13.2; -* @assertion: String.prototype.indexOf has not prototype property; -* @description: Checking String.prototype.indexOf.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A6.js", - -assertion: "String.prototype.indexOf has not prototype property", - -description: "Checking String.prototype.indexOf.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.indexOf.prototype !== undefined) { - $ERROR('#1: String.prototype.indexOf.prototype === undefined. Actual: '+String.prototype.indexOf.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A7.js deleted file mode 100644 index 83ac8b5375..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A7.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A7; -* @section: 15.5.4.7, 13.2; -* @assertion: String.prototype.indexOf can't be used as constructor; -* @description: Checking if creating the String.prototype.indexOf object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A7.js", - -assertion: "String.prototype.indexOf can\'t be used as constructor", - -description: "Checking if creating the String.prototype.indexOf object fails", - -test: function testcase() { - var __FACTORY = String.prototype.indexOf; - -try { - var __instance = new __FACTORY; - $FAIL('#1: var __FACTORY = String.prototype.indexOf; "__instance = new __FACTORY" lead to throwing exception'); -} catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: var __FACTORY = String.prototype.indexOf; "__instance = new __FACTORY" throw a TypeError. Actual: ' + (e)); - } - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A8.js deleted file mode 100644 index 60312ff4b4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A8; -* @section: 15.5.4.7; -* @assertion: The String.prototype.indexOf.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.indexOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A8.js", - -assertion: "The String.prototype.indexOf.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.indexOf.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.indexOf.hasOwnProperty('length'))) { - $ERROR('#0: String.prototype.indexOf.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.indexOf.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.indexOf.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.indexOf.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.indexOf){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.indexOf){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A9.js deleted file mode 100644 index 9156665952..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A9; -* @section: 15.5.4.7; -* @assertion: The String.prototype.indexOf.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.indexOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.7_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A9.js", - -assertion: "The String.prototype.indexOf.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.indexOf.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.indexOf.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.indexOf.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.indexOf.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.indexOf.length) { - $ERROR('#1: delete String.prototype.indexOf.length raturn false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.indexOf.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.indexOf.length; String.prototype.indexOf.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.indexOf.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A10.js deleted file mode 100644 index 8cd6b754cb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A10; -* @section: 15.5.4.8; -* @assertion: The String.prototype.lastIndexOf.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.lastIndexOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A10.js", - -assertion: "The String.prototype.lastIndexOf.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.lastIndexOf.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.lastIndexOf.hasOwnProperty('length'))) { - $FAIL('#1: String.prototype.lastIndexOf.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.lastIndexOf.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.lastIndexOf.length; - -String.prototype.lastIndexOf.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.lastIndexOf.length !== __obj) { - $ERROR('#2: __obj = String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.length = function(){return "shifted";}; String.prototype.lastIndexOf.length === __obj. Actual: '+String.prototype.lastIndexOf.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A11.js deleted file mode 100644 index f8296294c2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A11; -* @section: 15.5.4.8; -* @assertion: The length property of the lastIndexOf method is 1; -* @description: Checking String.prototype.lastIndexOf.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A11.js", - -assertion: "The length property of the lastIndexOf method is 1", - -description: "Checking String.prototype.lastIndexOf.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.lastIndexOf.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.lastIndexOf.hasOwnProperty("length") return true. Actual: '+String.prototype.lastIndexOf.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.lastIndexOf.length !== 1) { - $ERROR('#2: String.prototype.lastIndexOf.length === 1. Actual: '+String.prototype.lastIndexOf.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T1.js deleted file mode 100644 index 824e277aca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T1; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Arguments are false and true, and instance is object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T1.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Arguments are false and true, and instance is object", - -test: function testcase() { - var __instance = new Object(true); - - __instance.lastIndexOf = String.prototype.lastIndexOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.lastIndexOf(true, false) !== 0) { - $ERROR('#1: __instance = new Object(true); __instance.lastIndexOf = String.prototype.lastIndexOf; __instance.lastIndexOf(true, false) === 0. Actual: '+__instance.lastIndexOf(true, false) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T10.js deleted file mode 100644 index 85d2239ca1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T10.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T10; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Call lastIndexOf(searchString, position) function with object arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T10.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Call lastIndexOf(searchString, position) function with object arguments", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){return NaN;}} -var __str = "ABB\u0041BABAB"; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - if (lastIndexOf(__obj, __obj2) !== 7) { - $ERROR('#1: var x; var __obj = {toString:function(){return "\u0041B";}}; var __obj2 = {valueOf:function(){return NaN;}}; var __str = "ABB\u0041BABAB";lastIndexOf(__obj, __obj2) === 7. Actual: '+lastIndexOf(__obj, __obj2) ); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T11.js deleted file mode 100644 index d13e6e962b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T11.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T11; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Instance is Date(0) object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T11.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Instance is Date(0) object", - -test: function testcase() { - var __instance = new Date(100000000); - -__instance.lastIndexOf = String.prototype.lastIndexOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ((__instance.lastIndexOf('1970')) !== 11) { - $ERROR('#1: __instance = new Date(0); __instance.lastIndexOf = String.prototype.lastIndexOf; __instance.lastIndexOf(\'1970\') === 11. Actual: '+(__instance.lastIndexOf('1970')) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T12.js deleted file mode 100644 index 33fef5f6d0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T12.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T12; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Argument is string, and instance is array of strings; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T12", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T12.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Argument is string, and instance is array of strings", - -test: function testcase() { - var __instance = new Array('new','zoo','revue'); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.lastIndexOf('new') !== 0) { - $ERROR('#1: __instance = new Array(\'new\',\'zoo\',\'revue\'); __instance.lastIndexOf(\'new\') === 0. Actual: '+__instance.lastIndexOf('new') ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__instance.lastIndexOf('zoo') !== 1) { - $ERROR('#2: __instance = new Array(\'new\',\'zoo\',\'revue\'); __instance.lastIndexOf(\'zoo\') === 1. Actual: '+__instance.lastIndexOf('zoo') ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T2.js deleted file mode 100644 index 2dccf002bc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T2; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Arguments are boolean equation, function and null, and instance is Boolean object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T2.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Arguments are boolean equation, function and null, and instance is Boolean object", - -test: function testcase() { - var __instance = new Boolean; - -__instance.lastIndexOf = String.prototype.lastIndexOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.lastIndexOf("A"!=="\u0041", function(){return 0;}(),null) !== 0) { - $ERROR('#1: __instance = new Boolean; __instance.lastIndexOf = String.prototype.lastIndexOf; __instance.lastIndexOf("A"!=="\\u0041", function(){return 0;}(),null) === 0. Actual: '+__instance.lastIndexOf("A"!=="\u0041", function(){return 0;}(),null) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T3.js deleted file mode 100644 index 1ecb4382a7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T3; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Checking by using eval; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T3.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Checking by using eval", - -test: function testcase() { - var lastIndexOf = String.prototype.lastIndexOf; - -var __obj__pos = {valueOf:function(){return 7;}}; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (lastIndexOf(eval("\"[\""),__obj__pos)!= 0) { - $ERROR('#1: lastIndexOf(eval("\\"[\\""),__obj__pos)== 0. Actual: '+lastIndexOf(eval("\"[\""),__obj__pos)); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T4.js deleted file mode 100644 index 3b52ba8df9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T4.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T4; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Call lastIndexOf(searchString, position) function without arguments of string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T4.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Call lastIndexOf(searchString, position) function without arguments of string", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString() evaluates to "" lastIndexOf() evaluates to lastIndexOf("",0) -if ("".lastIndexOf() !== -1) { - $ERROR('#1: "".lastIndexOf() === -1. Actual: '+("".lastIndexOf()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T5.js deleted file mode 100644 index 4212382e18..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T5.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T5; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Call lastIndexOf(searchString, position) function with null argument of function object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T5.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Call lastIndexOf(searchString, position) function with null argument of function object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(null) evaluates to "null" lastIndexOf(null) evaluates to lastIndexOf("",0) -if (function(){return "gnullunazzgnull"}().lastIndexOf(null) !== 11) { - $ERROR('#1: function(){return "gnullunazzgnull"}().lastIndexOf(null) === 11. Actual: '+function(){return "gnullunazzgnull"}().lastIndexOf(null) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T6.js deleted file mode 100644 index 3555830360..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T6.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T6; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Call lastIndexOf(searchString, position) function with x argument of new String object, where x is undefined variable; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T6.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Call lastIndexOf(searchString, position) function with x argument of new String object, where x is undefined variable", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "" lastIndexOf(undefined) evaluates to lastIndexOf("",0) -if (new String("undefined").lastIndexOf(x) !== 0) { - $ERROR('#1: var x; new String("undefined").lastIndexOf(x) === 0. Actual: '+new String("undefined").lastIndexOf(x) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T7.js deleted file mode 100644 index 66f652f4a3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T7; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Call lastIndexOf(searchString, position) function with undefined argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T7.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Call lastIndexOf(searchString, position) function with undefined argument of string object", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" lastIndexOf(undefined) evaluates to lastIndexOf("undefined",0) -if (String("undefined").lastIndexOf(undefined) !== 0) { - $ERROR('#1: String("undefined").lastIndexOf(undefined) === 0. Actual: '+String("undefined").lastIndexOf(undefined) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T8.js deleted file mode 100644 index 9179b1309b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T8.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T8; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Call lastIndexOf(searchString, position) function with void 0 argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T8.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Call lastIndexOf(searchString, position) function with void 0 argument of string object", - -test: function testcase() { - var __obj = {toString:function(){}}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(void 0) evaluates to "undefined" lastIndexOf(void 0) evaluates to lastIndexOf("undefined",0) -if (String(__obj).lastIndexOf(void 0) !== 0) { - $ERROR('#1: __obj = {toString:function(){}}; String(__obj).lastIndexOf(void 0) === 0. Actual: '+String(__obj).lastIndexOf(void 0) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T9.js deleted file mode 100644 index 16d6ac558e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T9.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T9; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Call lastIndexOf(searchString, position) function with function(){}() argument of string object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A1_T9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T9.js", - -assertion: "String.prototype.lastIndexOf(searchString, position)", - -description: "Call lastIndexOf(searchString, position) function with function(){}() argument of string object", - -test: function testcase() { - var __obj = { - valueOf:function(){}, - toString:void 0 -}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -//since ToString(undefined) evaluates to "undefined" indexOf(undefined) evaluates to indexOf("undefined") -if (new String(__obj).lastIndexOf(function(){}()) !== 0) { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; new String(__obj).lastIndexOf(function(){}()) === 0. Actual: '+new String(__obj).lastIndexOf(function(){}()) ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T1.js deleted file mode 100644 index 0d05aeb8e7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A4_T1; -* @section: 15.5.4.8; -* @assertion: when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions, valueOf throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A4_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T1.js", - -assertion: "when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions, valueOf throw exception", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){throw "intointeger";}} -var __str = {str__:"ABB\u0041BABAB"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - with(str__){ - try { - var x = lastIndexOf(__obj, __obj2); - $FAIL('#1: var x = lastIndexOf(__obj, __obj2) lead to throwing exception'); - } catch (e) { - if (e!=="intointeger") { - $ERROR('#1.1: Exception === "intointeger". Actual: '+e); - } - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T2.js deleted file mode 100644 index 2a2746546a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A4_T2; -* @section: 15.5.4.8; -* @assertion: when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions, second toString throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A4_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T2.js", - -assertion: "when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions, second toString throw exception", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){return {};},toString:function(){throw "intointeger";}} -var __str = new String("ABB\u0041BABAB"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__str){ - try { - var x = lastIndexOf(__obj, __obj2); - $FAIL('#1: var x = lastIndexOf(__obj, __obj2) lead to throwing exception'); - } catch (e) { - if (e!=="intointeger") { - $ERROR('#1.1: Exception === "intointeger". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T3.js deleted file mode 100644 index 9942dfc64c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A4_T3; -* @section: 15.5.4.8; -* @assertion: when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A4_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T3.js", - -assertion: "when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions", - -test: function testcase() { - var __obj = {toString:function(){return "\u0041B";}} -var __obj2 = {valueOf:function(){return {};},toString:function(){}} - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if ("ABB\u0041BABAB".lastIndexOf(__obj, __obj2)!==7) { - $ERROR('#1: var __obj = {toString:function(){return "\u0041B";}}; var __obj2 = {valueOf:function(){return {};},toString:function(){}}; "ABB\\u0041BABAB".lastIndexOf(__obj, __obj2)===7. Actual: '+("ABB\u0041BABAB".lastIndexOf(__obj, __obj2))); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T4.js deleted file mode 100644 index e675935aea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T4.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A4_T4; -* @section: 15.5.4.8; -* @assertion: when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions, and they throw exceptions; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A4_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T4.js", - -assertion: "when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions, and they throw exceptions", - -test: function testcase() { - var __obj = {toString:function(){throw "intostr";}}; -var __obj2 = {valueOf:function(){throw "intoint";}}; -var __instance = new Number(10001.10001); -Number.prototype.lastIndexOf=String.prototype.lastIndexOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -with(__instance){ - try { - var x = lastIndexOf(__obj, __obj2); - $FAIL('#1: var x = lastIndexOf(__obj, __obj2) lead to throwing exception'); - } catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T5.js deleted file mode 100644 index dd4fa8fcf5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T5.js +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A4_T5; -* @section: 15.5.4.8; -* @assertion: when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument. -* Then Call ToString(searchString) and Call ToNumber(position); -* @description: Override toString and valueOf functions, first and second valueOf throw exception; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A4_T5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A4_T5.js", - -assertion: "when String.prototype.lastIndexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.", - -description: "Override toString and valueOf functions, first and second valueOf throw exception", - -test: function testcase() { - var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}}; - -var __obj2 = {valueOf:function(){throw "intointeger";}}; - -__FACTORY.prototype.lastIndexOf = String.prototype.lastIndexOf; - -var __instance = new __FACTORY(void 0); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var x = __instance.lastIndexOf(__obj, __obj2); - $FAIL('#1: var x = __instance.lastIndexOf(__obj, __obj2) lead to throwing exception'); -} catch (e) { - if (e!=="intostr") { - $ERROR('#1.1: Exception === "intostr". Actual: '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -function __FACTORY( value ) { - this.value = value; - this.toString = function() { return new Number; }; - this.valueOf=function(){return this.value+""}; -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A6.js deleted file mode 100644 index be605807a0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A6; -* @section: 15.5.4.8, 13.2; -* @assertion: String.prototype.lastIndexOf has not prototype property; -* @description: Checking String.prototype.lastIndexOf.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A6.js", - -assertion: "String.prototype.lastIndexOf has not prototype property", - -description: "Checking String.prototype.lastIndexOf.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.lastIndexOf.prototype !== undefined) { - $ERROR('#1: String.prototype.lastIndexOf.prototype === undefined. Actual: '+String.prototype.lastIndexOf.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A7.js deleted file mode 100644 index 90c9482de4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A7.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A7; -* @section: 15.5.4.8, 13.2; -* @assertion: String.prototype.lastIndexOf can't be used as constructor; -* @description: Checking if creating the String.prototype.lastIndexOf object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A7.js", - -assertion: "String.prototype.lastIndexOf can\'t be used as constructor", - -description: "Checking if creating the String.prototype.lastIndexOf object fails", - -test: function testcase() { - var __FACTORY = String.prototype.lastIndexOf; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.lastIndexOf; __instance = new __FACTORY lead to throwing exception'); -} catch (e) { - $PRINT(e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A8.js deleted file mode 100644 index d2131219f8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A8; -* @section: 15.5.4.8; -* @assertion: The String.prototype.lastIndexOf.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.lastIndexOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A8.js", - -assertion: "The String.prototype.lastIndexOf.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.lastIndexOf.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.lastIndexOf.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.lastIndexOf.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.lastIndexOf.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.lastIndexOf.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.lastIndexOf.propertyIsEnumerable(\'length\') return false. Actual: '+String.prototype.lastIndexOf.propertyIsEnumerable('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -count=0; - -for (p in String.prototype.lastIndexOf){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.lastIndexOf){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A9.js deleted file mode 100644 index e5128c838a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A9; -* @section: 15.5.4.8; -* @assertion: The String.prototype.lastIndexOf.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.lastIndexOf.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.8_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A9.js", - -assertion: "The String.prototype.lastIndexOf.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.lastIndexOf.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.lastIndexOf.hasOwnProperty('length'))) { - $FAIL('#0: String.prototype.lastIndexOf.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.lastIndexOf.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.lastIndexOf.length) { - $ERROR('#1: delete String.prototype.lastIndexOf.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.lastIndexOf.hasOwnProperty('length'))) { - $FAIL('#2: delete String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.lastIndexOf.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A10.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A10.js deleted file mode 100644 index 81c586b307..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.9_A10; -* @section: 15.5.4.9; -* @assertion: The String.prototype.localeCompare.length property has the attribute ReadOnly; -* @description: Checking if varying the String.prototype.localeCompare.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.9_A10", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A10.js", - -assertion: "The String.prototype.localeCompare.length property has the attribute ReadOnly", - -description: "Checking if varying the String.prototype.localeCompare.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.localeCompare.hasOwnProperty('length'))) { - $ERROR('#1: String.prototype.localeCompare.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.localeCompare.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -var __obj = String.prototype.localeCompare.length; - -String.prototype.localeCompare.length = function(){return "shifted";}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.localeCompare.length !== __obj) { - $ERROR('#2: __obj = String.prototype.localeCompare.length; String.prototype.localeCompare.length = function(){return "shifted";}; String.prototype.localeCompare.length === __obj. Actual: '+String.prototype.localeCompare.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A11.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A11.js deleted file mode 100644 index c4e591a8e6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A11.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.9_A11; -* @section: 15.5.4.9; -* @assertion: The length property of the localeCompare method is 1; -* @description: Checking String.prototype.localeCompare.length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.9_A11", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A11.js", - -assertion: "The length property of the localeCompare method is 1", - -description: "Checking String.prototype.localeCompare.length", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(String.prototype.localeCompare.hasOwnProperty("length"))) { - $ERROR('#1: String.prototype.localeCompare.hasOwnProperty("length") return true. Actual: '+String.prototype.localeCompare.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.localeCompare.length !== 1) { - $ERROR('#2: String.prototype.localeCompare.length === 1. Actual: '+String.prototype.localeCompare.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T1.js deleted file mode 100644 index 6f70bfe256..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.9_A1_T1; -* @section: 15.5.4.9; -* @assertion: String.prototype.localeCompare(that); -* @description: This string is symbol and arguments are symbols; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.9_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T1.js", - -assertion: "String.prototype.localeCompare(that)", - -description: "This string is symbol and arguments are symbols", - -test: function testcase() { - var str1 = new String("h"); -//CHECK#1 -var str2 = new String ("\x68"); -if (str1.localeCompare(str2)!==0){ - $ERROR('#1: var str1 = new String("h"); var str2 = new String ("\\x68"); str1.localeCompare(str2)===0. Actual: '+str1.localeCompare(str2)); -} - -//CHECK#2 -var str2 = new String ("\u0068"); -if (str1.localeCompare(str2)!==0){ - $ERROR('#2: var str1 = new String("h"); var str2 = new String ("\\u0068"); str1.localeCompare(str2)===0. Actual: '+str1.localeCompare(str2)); -} - -//CHECK#3 -var str2 = new String ("h"); -if (str1.localeCompare(str2)!==0){ - $ERROR('#3: var str1 = new String("h"); var str2 = new String ("h"); str1.localeCompare(str2)===0. Actual: '+str1.localeCompare(str2)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T2.js deleted file mode 100644 index b3fece3028..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.9_A1_T2; -* @section: 15.5.4.9; -* @assertion: String.prototype.localeCompare(that); -* @description: Call string_1.localeCompare(string_2) is equal -string_2.localeCompare(string_1); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.9_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A1_T2.js", - -assertion: "String.prototype.localeCompare(that)", - -description: "Call string_1.localeCompare(string_2) is equal -string_2.localeCompare(string_1)", - -test: function testcase() { - //CHECK#1 -var str1 = "h"; -var str2 = "H"; -if (str1.localeCompare(str2)!==-str2.localeCompare(str1)){ - $ERROR('#1.1: var str1 = "h"; var str2 = "H"; str1.localeCompare(str2)===-str2.localeCompare(str1). Actual: '+str1.localeCompare(str2)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A6.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A6.js deleted file mode 100644 index aaa8f91f14..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A6.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.9_A6; -* @section: 15.5.4.9, 13.2; -* @assertion: String.prototype.localeCompare has not prototype property; -* @description: Checking String.prototype.localeCompare.prototype; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.9_A6", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A6.js", - -assertion: "String.prototype.localeCompare has not prototype property", - -description: "Checking String.prototype.localeCompare.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.localeCompare.prototype !== undefined) { - $ERROR('#1: String.prototype.localeCompare.prototype === undefined. Actual: '+String.prototype.localeCompare.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A7.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A7.js deleted file mode 100644 index 28ef3b32a5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A7.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.9_A7; -* @section: 15.5.4.9, 13.2; -* @assertion: String.prototype.localeCompare can't be used as constructor; -* @description: Checking if creating the String.prototype.localeCompare object fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.9_A7", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A7.js", - -assertion: "String.prototype.localeCompare can\'t be used as constructor", - -description: "Checking if creating the String.prototype.localeCompare object fails", - -test: function testcase() { - var __FACTORY = String.prototype.localeCompare; - -try { - var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.localeCompare; __instance = new __FACTORY lead to throwing exception'); -} catch (e) {} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A8.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A8.js deleted file mode 100644 index c42e1f8e42..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A8.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.9_A8; -* @section: 15.5.4.9; -* @assertion: The String.prototype.localeCompare.length property has the attribute DontEnum; -* @description: Checking if enumerating the String.prototype.localeCompare.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.9_A8", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A8.js", - -assertion: "The String.prototype.localeCompare.length property has the attribute DontEnum", - -description: "Checking if enumerating the String.prototype.localeCompare.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.localeCompare.hasOwnProperty('length'))) { - $ERROR('#0: String.prototype.localeCompare.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.localeCompare.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (String.prototype.localeCompare.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.localeCompare.propertyIsEnumerable(\'length\') return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -var count=0; - -for (p in String.prototype.localeCompare){ - if (p==="length") count++; -} - -if (count !== 0) { - $ERROR('#2: count=0; for (p in String.prototype.localeCompare){if (p==="length") count++;}; count === 0. Actual: '+count ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A9.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A9.js deleted file mode 100644 index b5724d87ed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A9.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.9_A9; -* @section: 15.5.4.9; -* @assertion: The String.prototype.localeCompare.length property has the attribute DontDelete; -* @description: Checking if deleting the String.prototype.localeCompare.length property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.9_A9", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.9_String.prototype.localeCompare/S15.5.4.9_A9.js", - -assertion: "The String.prototype.localeCompare.length property has the attribute DontDelete", - -description: "Checking if deleting the String.prototype.localeCompare.length property fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#0 -if (!(String.prototype.localeCompare.hasOwnProperty('length'))) { - $ERROR('#0: String.prototype.localeCompare.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.localeCompare.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (delete String.prototype.localeCompare.length) { - $ERROR('#1: delete String.prototype.localeCompare.length return false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (!(String.prototype.localeCompare.hasOwnProperty('length'))) { - $ERROR('#2: delete String.prototype.localeCompare.length; String.prototype.localeCompare.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.localeCompare.hasOwnProperty('length')); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T1.js deleted file mode 100644 index c2de39c732..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.1_A1_T1; -* @section: 15.5.4.1; -* @assertion: The initial value of String.prototype.constructor is the built-in String constructor; -* @description: Checking String.prototype.constructor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.1_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T1.js", - -assertion: "The initial value of String.prototype.constructor is the built-in String constructor", - -description: "Checking String.prototype.constructor", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.constructor !== String) { - $ERROR('#1: String.prototype.constructor === String. Actual: String.prototype.constructor ==='+String.prototype.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T2.js deleted file mode 100644 index 031bfc301b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T2.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.1_A1_T2; -* @section: 15.5.4.1; -* @assertion: The initial value of String.prototype.constructor is the built-in String constructor; -* @description: Create new String.prototype.constructor object and check it; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.1_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.1_A1_T2.js", - -assertion: "The initial value of String.prototype.constructor is the built-in String constructor", - -description: "Create new String.prototype.constructor object and check it", - -test: function testcase() { - var __constr = String.prototype.constructor; - -var __instance = new __constr("choosing one"); - -////////////////////////////////////////////////////////////////////////////// -// CHECK#0 -if (__instance !="choosing one") { - $ERROR('#0: __constr = String.prototype.constructor; __instance = new __constr("choosing one"); __instance =="choosing one". Actual: __instance =='+__instance ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#1 -if (__instance.constructor !== String) { - $ERROR('#1: __constr = String.prototype.constructor; __instance = new __constr("choosing one"); __instance.constructor === String. Actual: __instance.constructor ==='+__instance.constructor ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#2 -if (!(String.prototype.isPrototypeOf(__instance))) { - $ERROR('#2: __constr = String.prototype.constructor; __instance = new __constr("choosing one"); String.prototype.isPrototypeOf(__instance) return true. Actual: '+String.prototype.isPrototypeOf(__instance)); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -// CHECK#3 -var __to_string_result = '[object '+ 'String' +']'; - -delete String.prototype.toString; - -if (__instance.toString() !== __to_string_result) { - $ERROR('#3: __constr = String.prototype.constructor; __instance = new __constr("choosing one"); delete String.prototype.toString; __instance.toString() === __to_string_result. Actual: __instance.toString() ==='+__instance.toString()+' __to_string_result ==='+__to_string_result ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T1.js deleted file mode 100644 index 1914557d62..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.2_A1_T1; -* @section: 15.5.4.2; -* @assertion: String.prototype.toString() returns this string value; -* @description: Create new String(number) and check it`s method toString(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.2_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T1.js", - -assertion: "String.prototype.toString() returns this string value", - -description: "Create new String(number) and check it`s method toString()", - -test: function testcase() { - var __string__obj = new String(1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__string__obj.toString() !== ""+1) { - $ERROR('#1: __string__obj = new String(1); __string__obj.toString() === ""+1. Actual: __string__obj.toString() ==='+__string__obj.toString() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T2.js deleted file mode 100644 index 83fe36cca8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.2_A1_T2; -* @section: 15.5.4.2; -* @assertion: String.prototype.toString() returns this string value; -* @description: Create new String(boolean) and check it`s method toString(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.2_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T2.js", - -assertion: "String.prototype.toString() returns this string value", - -description: "Create new String(boolean) and check it`s method toString()", - -test: function testcase() { - var __string__obj = new String(true); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__string__obj.toString() !== ""+true) { - $ERROR('#1: __string__obj = new String(true); __string__obj.toString() === ""+true. Actual: __string__obj.toString() ==='+__string__obj.toString() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T3.js deleted file mode 100644 index 9323485b98..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.2_A1_T3; -* @section: 15.5.4.2; -* @assertion: String.prototype.toString() returns this string value; -* @description: Create new String(string) and check it`s method toString(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.2_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T3.js", - -assertion: "String.prototype.toString() returns this string value", - -description: "Create new String(string) and check it`s method toString()", - -test: function testcase() { - var __string__obj = new String("metal"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__string__obj.toString() !== "metal") { - $ERROR('#1: __string__obj = new String("metal"); __string__obj.toString() === "metal". Actual: __string__obj.toString() ==='+__string__obj.toString() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T4.js deleted file mode 100644 index aa0131d22b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.2_A1_T4; -* @section: 15.5.4.2; -* @assertion: String.prototype.toString() returns this string value; -* @description: Create new String(function(){}()) and check it`s method toString(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.2_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A1_T4.js", - -assertion: "String.prototype.toString() returns this string value", - -description: "Create new String(function(){}()) and check it`s method toString()", - -test: function testcase() { - var __string__obj = new String(function(){}()); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__string__obj.toString() !== "undefined") { - $ERROR('#1: __string__obj = new String(function(){}()); __string__obj.toString() === "undefined". Actual: __string__obj.toString() ==='+__string__obj.toString() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T1.js deleted file mode 100644 index d81963826d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T1.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.2_A2_T1; -* @section: 15.5.4.2; -* @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a String object. Therefore, it cannot be transferred to other kinds of objects for use as a method; -* @description: Checking if creating variable String.prototype.toString fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.2_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T1.js", - -assertion: "The toString function is not generic; it throws a TypeError exception if its this value is not a String object. Therefore, it cannot be transferred to other kinds of objects for use as a method", - -description: "Checking if creating variable String.prototype.toString fails", - -test: function testcase() { - var __toString = String.prototype.toString; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __toString !== "function") { - $ERROR('#1: __toString = String.prototype.toString; typeof __toString === "function". Actual: typeof __toString ==='+typeof __toString ); -} - -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - var x = __toString(); - $FAIL('#2: "__toString = String.prototype.toString; var x = __toString();" lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#2.1: "__toString = String.prototype.toString; var x = __toString();" lead to throwing exception. Exception is instance of TypeError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T2.js deleted file mode 100644 index fb6c702838..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T2.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.2_A2_T2; -* @section: 15.5.4.2; -* @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a String object. Therefore, it cannot be transferred to other kinds of objects for use as a method; -* @description: Checking if creating the object String.prototype.toString fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.2_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A2_T2.js", - -assertion: "The toString function is not generic; it throws a TypeError exception if its this value is not a String object. Therefore, it cannot be transferred to other kinds of objects for use as a method", - -description: "Checking if creating the object String.prototype.toString fails", - -test: function testcase() { - var __obj={toString : String.prototype.toString}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __obj["toString"] !== "function") { - $ERROR('#1: var __obj={toString : String.prototype.toString}; typeof __obj["toString"] === "function". Actual: typeof __obj["toString"] ==='+typeof __obj["toString"] ); -} - -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - var x = (__obj == 1); - $FAIL('#2: "var x = (__obj == 1)" lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#2.1: Exception is instance of TypeError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A3_T1.js deleted file mode 100644 index 265fb17afd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A3_T1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.2_A3_T1; -* @section: 15.5.4.2, 15.5.4.3; -* @assertion: String.prototype.toString() is equal String.prototype.valueOf(); -* @description: Create new String() with various arguments and compare returned results of toString() and valueOf(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.2_A3_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A3_T1.js", - -assertion: "String.prototype.toString() is equal String.prototype.valueOf()", - -description: "Create new String() with various arguments and compare returned results of toString() and valueOf()", - -test: function testcase() { - //CHECK#1 -var str = new String(); -if(!(str.valueOf() == str.toString())) - $ERROR('#1: str = new String(),str.valueOf() == str.toString()'); - -//CHECK#2 -str = new String(true); -if(!(str.valueOf() == str.toString())) - $ERROR('#2: str = new String(true),str.valueOf() == str.toString()'); - -//CHECK#3 -str = new String(false); -if(!(str.valueOf() == str.toString())) - $ERROR('#3: str = new String(false),str.valueOf() == str.toString()'); - -//CHECK#4 -str = new String(Math.PI); -if(!(str.valueOf() == str.toString())) - $ERROR('#4: str = new String(Math.PI),str.valueOf() == str.toString()'); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A4_T1.js deleted file mode 100644 index 0b6634bd42..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A4_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.2_A4_T1; -* @section: 15.5.4.2; -* @assertion: String.prototype.toString have length property and it is equal 0; -* @description: Checking String.prototype.toString.length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.2_A4_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.2_A4_T1.js", - -assertion: "String.prototype.toString have length property and it is equal 0", - -description: "Checking String.prototype.toString.length property", - -test: function testcase() { - //CHECK#1 -if (String.prototype.toString.hasOwnProperty('length')!==true){ - $ERROR('#1: String.prototype.toString.hasOwnProperty(\'length\')===true. Actual: '+String.prototype.toString.hasOwnProperty('length')); -} -else{ -//CHECK#2 -if (String.prototype.toString.length!==0) - $ERROR('#2: String.prototype.toString.length===0. Actual: String.prototype.toString.length==='+String.prototype.toString.length); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T1.js deleted file mode 100644 index 8f577315f9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.3_A1_T1; -* @section: 15.5.4.3; -* @assertion: String.prototype.valueOf() returns this string value; -* @description: Create String object as new String(1) and check it`s valueOf(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.3_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T1.js", - -assertion: "String.prototype.valueOf() returns this string value", - -description: "Create String object as new String(1) and check it`s valueOf()", - -test: function testcase() { - var __string__obj = new String(1); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__string__obj.valueOf() !== ""+1) { - $ERROR('#1: __string__obj = new String(1); __string__obj.valueOf() === ""+1. Actual: __string__obj.valueOf() ==='+__string__obj.valueOf() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T2.js deleted file mode 100644 index c170ab95ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.3_A1_T2; -* @section: 15.5.4.3; -* @assertion: String.prototype.valueOf() returns this string value; -* @description: Create String object as new String(true) and check it`s valueOf(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.3_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T2.js", - -assertion: "String.prototype.valueOf() returns this string value", - -description: "Create String object as new String(true) and check it`s valueOf()", - -test: function testcase() { - var __string__obj = new String(true); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__string__obj.valueOf() !== ""+true) { - $ERROR('#1: __string__obj = new String(true); __string__obj.valueOf() === ""+true. Actual: __string__obj.valueOf() ==='+__string__obj.valueOf() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T3.js deleted file mode 100644 index 79ac3829a6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.3_A1_T3; -* @section: 15.5.4.3; -* @assertion: String.prototype.valueOf() returns this string value; -* @description: Create String object as new String(string) and check it`s valueOf(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.3_A1_T3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T3.js", - -assertion: "String.prototype.valueOf() returns this string value", - -description: "Create String object as new String(string) and check it`s valueOf()", - -test: function testcase() { - var __string__obj = new String("metal"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__string__obj.valueOf() !== "metal") { - $ERROR('#1: __string__obj = new String("metal"); __string__obj.valueOf() === "metal". Actual: __string__obj.valueOf() ==='+__string__obj.valueOf() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T4.js deleted file mode 100644 index e0343a6a5b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.3_A1_T4; -* @section: 15.5.4.3; -* @assertion: String.prototype.valueOf() returns this string value; -* @description: Create String object as new String(function(){}()) and check it`s valueOf(); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.3_A1_T4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A1_T4.js", - -assertion: "String.prototype.valueOf() returns this string value", - -description: "Create String object as new String(function(){}()) and check it`s valueOf()", - -test: function testcase() { - var __string__obj = new String(function(){}()); - -////////////////////////////////////////////////////////////////////////////// -//CHECK# -if (__string__obj.valueOf() !== "undefined") { - $ERROR('#1: __string__obj = new String(function(){}()); __string__obj.valueOf() === "undefined". Actual: __string__obj.valueOf() ==='+__string__obj.valueOf() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T1.js deleted file mode 100644 index 53f139c553..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T1.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.3_A2_T1; -* @section: 15.5.4.3; -* @assertion: The valueOf function is not generic; it throws a TypeError exception if its this value is not a String object. -* Therefore, it cannot be transferred to other kinds of objects for use as a method; -* @description: Checking if creating variable String.prototype.valueOf fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.3_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T1.js", - -assertion: "The valueOf function is not generic; it throws a TypeError exception if its this value is not a String object.", - -description: "Checking if creating variable String.prototype.valueOf fails", - -test: function testcase() { - var __valueOf = String.prototype.valueOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __valueOf !== "function") { - $ERROR('#1: __valueOf = String.prototype.valueOf; typeof __valueOf === "function". Actual: typeof __valueOf ==='+typeof __valueOf ); -} - -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - var x = __valueOf(); - $FAIL('#2: "__valueOf = String.prototype.valueOf; var x = __valueOf()" lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#2.1: Exception is instance of TypeError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T2.js deleted file mode 100644 index 40eb0444b5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T2.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.3_A2_T2; -* @section: 15.5.4.3; -* @assertion: The valueOf function is not generic; it throws a TypeError exception if its this value is not a String object. -* Therefore, it cannot be transferred to other kinds of objects for use as a method; -* @description: Checking if creating the object String.prototype.valueOf fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4.3_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4.3_A2_T2.js", - -assertion: "The valueOf function is not generic; it throws a TypeError exception if its this value is not a String object.", - -description: "Checking if creating the object String.prototype.valueOf fails", - -test: function testcase() { - var __obj={valueOf : String.prototype.valueOf}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (typeof __obj["valueOf"] !== "function") { - $ERROR('#1: var __obj={valueOf : String.prototype.valueOf}; typeof __obj["valueOf"] === "function". Actual: typeof __obj["valueOf"] ==='+typeof __obj["valueOf"] ); -} - -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try { - var x = (__obj == 1); - $FAIL('#2: "var __obj={valueOf : String.prototype.valueOf}; var x = (__obj == 1)" lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#2.1: Exception is instance of TypeError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A1.js deleted file mode 100644 index f11e5ce09c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A1.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4_A1; -* @section: 15.5.4; -* @assertion: The String prototype object is itself a String object (its [[Class]] is "String"); -* @description: first we delete String.prototype.toString cause it overrides Object prototype toString. -* Object.prototype.toString returns [object+[[class]]+]; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4_A1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A1.js", - -assertion: "The String prototype object is itself a String object (its [[Class]] is \"String\")", - -description: "first we delete String.prototype.toString cause it overrides Object prototype toString.", - -test: function testcase() { - delete String.prototype.toString; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype.toString() !== "[object "+"String"+"]") { - $ERROR('#1: delete String.prototype.toString; String.prototype.toString() === "[object "+"String"+"]". Actual: String.prototype.toString() ==='+String.prototype.toString() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A2.js deleted file mode 100644 index df943c7bd6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4_A2; -* @section: 15.5.4; -* @assertion: The String prototype object is itself a String object whose value is an empty string; -* @description: Checking String.prototype; -*/ - - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4_A2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A2.js", - -assertion: "The String prototype object is itself a String object whose value is an empty string", - -description: "Checking String.prototype", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (String.prototype !="") { - $ERROR('#1: String.prototype =="". Actual: String.prototype =='+String.prototype ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A3.js deleted file mode 100644 index a202546858..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4_A3; -* @section: 15.5.4, 15.2.3.1; -* @assertion: The value of the internal [[Prototype]] property of the String prototype object is the Object prototype object (15.2.3.1); -* @description: Checking Object.prototype.isPrototypeOf(String.prototype); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.4_A3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/S15.5.4_A3.js", - -assertion: "The value of the internal [[Prototype]] property of the String prototype object is the Object prototype object (15.2.3.1)", - -description: "Checking Object.prototype.isPrototypeOf(String.prototype)", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(Object.prototype.isPrototypeOf(String.prototype))) { - $ERROR('#1: Object.prototype.isPrototypeOf(String.prototype) return true. Actual: '+Object.prototype.isPrototypeOf(String.prototype)); -} -// -////////////////////////////////////////////////////////////////////////////// - -delete String.prototype.toString; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (String.prototype.toString() != "[object "+"String"+"]") { - $ERROR('#2: delete String.prototype.toString; String.prototype.toString() == "[object "+"String"+"]". Actual: String.prototype.toString() =='+String.prototype.toString() ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A1.js deleted file mode 100644 index ba2b3a9b0b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A1.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.5.1_A1; -* @section: 15.5.5.1; -* @assertion: length property contains the number of characters in the String value represented by this String object; -* @description: Create strings and check its length; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.5.1_A1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A1.js", - -assertion: "length property contains the number of characters in the String value represented by this String object", - -description: "Create strings and check its length", - -test: function testcase() { - var __str__instance = new String("ABC\u0041\u0042\u0043"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str__instance.length !== 6) { - $ERROR('#1: var __str__instance = new String("ABC\\u0041\\u0042\\u0043"); __str__instance.length === 6, where __str__instance is new String("ABC\\u0041\\u0042\\u0043"). Actual: __str__instance.length ==='+__str__instance.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str__instance = new String; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str__instance.length !== 0) { - $ERROR('#2: __str__instance = new String; __str__instance.length === 0, where __str__instance is new String. Actual: __str__instance.length ==='+__str__instance.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js deleted file mode 100644 index 0a86cf112e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.5.1_A2; -* @section: 15.5.5.1; -* @assertion: length property has the attributes {DontEnum}; -* @description: Checking if enumerating the length property of String fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.5.1_A2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js", - -assertion: "length property has the attributes {DontEnum}", - -description: "Checking if enumerating the length property of String fails", - -test: function testcase() { - var __str__instance = new String("globglob"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__str__instance.hasOwnProperty("length"))) { - $ERROR('#1: var __str__instance = new String("globglob"); __str__instance.hasOwnProperty("length") return true. Actual: '+__str__instance.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -for(prop in __str__instance){ - if (prop === "length") { - $ERROR('#2: length property has the attributes {DontEnum}'); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A3.js deleted file mode 100644 index 488884b50f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A3.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.5.1_A3; -* @section: 15.5.5.1; -* @assertion: length property has the attributes {DontDelete}; -* @description: Checking if deleting the length property of String fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.5.1_A3", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A3.js", - -assertion: "length property has the attributes {DontDelete}", - -description: "Checking if deleting the length property of String fails", - -test: function testcase() { - var __str__instance = new String("globglob"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__str__instance.hasOwnProperty("length"))) { - $ERROR('#1: var __str__instance = new String("globglob"); __str__instance.hasOwnProperty("length") return true. Actual: '+__str__instance.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (delete __str__instance === true) { - $ERROR('#2: var __str__instance = new String("globglob"); delete __str__instance !== true'); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (!(__str__instance.hasOwnProperty("length"))) { - $ERROR('#3: var __str__instance = new String("globglob"); delete __str__instance; __str__instance.hasOwnProperty("length") return true. Actual: '+__str__instance.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A4.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A4.js deleted file mode 100644 index ea21cf049b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A4.js +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.5.1_A4; -* @section: 15.5.5.1; -* @assertion: length property has the attributes {ReadOnly}; -* @description: Checking if varying the length property of String fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.5.1_A4", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A4.js", - -assertion: "length property has the attributes {ReadOnly}", - -description: "Checking if varying the length property of String fails", - -test: function testcase() { - var __str__instance = new String("globglob"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (!(__str__instance.hasOwnProperty("length"))) { - $ERROR('#1: var __str__instance = new String("globglob"); __str__instance.hasOwnProperty("length") return true. Actual: '+__str__instance.hasOwnProperty("length")); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str__instance.length !== 8) { - $ERROR('#2: var __str__instance = new String("globglob"); __str__instance.length === 8. Actual: __str__instance.length ==='+__str__instance.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str__instance.length=-1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__str__instance.length !== 8) { - $ERROR('#3: var __str__instance = new String("globglob"); __str__instance.length=-1; __str__instance.length === 8(after redefine length property). Actual: __str__instance.length ==='+__str__instance.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -with(__str__instance) - length = 0; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (__str__instance.length !== 8) { - $ERROR('#4: var __str__instance = new String("globglob"); with(__str__instance) length = 0; __str__instance.length === 8(after redefine length property with using "with"). Actual: __str__instance.length ==='+__str__instance.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str__instance.length++; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (__str__instance.length !== 8) { - $ERROR('#5: var __str__instance = new String("globglob"); __str__instance.length++; __str__instance.length === 8(after redefine length property with using "++"). Actual: __str__instance.length ==='+__str__instance.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A5.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A5.js deleted file mode 100644 index 3af4571a89..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.5.1_A5; -* @section: 15.5.5.1; -* @assertion: Once a String object is created, the length property is unchanging; -* @description: Change valueOf and toString of String object and check length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.5.1_A5", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A5.js", - -assertion: "Once a String object is created, the length property is unchanging", - -description: "Change valueOf and toString of String object and check length property", - -test: function testcase() { - var __str__instance = new String("ABC\u0041\u0042\u0043"); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__str__instance.length !== 6) { - $ERROR('#1: var __str__instance = new String("ABC\\u0041\\u0042\\u0043"); __str__instance.length === 6. Actual: __str__instance.length ==='+__str__instance.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - -__str__instance.valueOf = function(){return "ed"}; -__str__instance.toString = function(){return "ed"}; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__str__instance !="ed") { - $ERROR('#2: var __str__instance = new String("ABC\\u0041\\u0042\\u0043"); __str__instance.valueOf = function(){return "ed"}; __str__instance.toString = function(){return "ed"}; __str__instance =="ed". Actual: __str__instance =='+__str__instance ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__str__instance.length !== 6) { - $ERROR('#3: var __str__instance = new String("ABC\\u0041\\u0042\\u0043"); __str__instance.valueOf = function(){return "ed"}; __str__instance.toString = function(){return "ed"}; __str__instance.length === 6. Actual: __str__instance.length ==='+__str__instance.length ); -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T1.js deleted file mode 100644 index 9627ea956e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.5_A1_T1; -* @section: 15.5.5; -* @assertion: String instance has not [[call]] property; -* @description: Create new String and try call it; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.5_A1_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T1.js", - -assertion: "String instance has not [[call]] property", - -description: "Create new String and try call it", - -test: function testcase() { - var __str = new String; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - __str(); - $FAIL('#1: __str = new String; __str() lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Exception is instance of TypeError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T2.js deleted file mode 100644 index 2137635c13..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.5_A1_T2; -* @section: 15.5.5; -* @assertion: String instance has not [[call]] property; -* @description: Checking if creating new "String("a|b")()" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.5_A1_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A1_T2.js", - -assertion: "String instance has not [[call]] property", - -description: "Checking if creating new \"String(\"a|b\")()\" fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - String("a|b")(); - $FAIL('#1: String("a|b")() lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Exception is instance of TypeError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js deleted file mode 100644 index d324fa3568..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.5_A2_T1; -* @section: 15.5.5; -* @assertion: String instance has not [[construct]] property; -* @description: Create new string object and try new created_string; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.5_A2_T1", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js", - -assertion: "String instance has not [[construct]] property", - -description: "Create new string object and try new created_string", - -test: function testcase() { - var __str = new Object(""); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - new __str; - $FAIL('#1: __str = new Object(""); "new __str" lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Exception is instance of TypeError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T2.js deleted file mode 100644 index bab48c6409..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.5_A2_T2; -* @section: 15.5.5; -* @assertion: String instance has not [[construct]] property; -* @description: Checking if creating "new String" fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.5.5_A2_T2", - -path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T2.js", - -assertion: "String instance has not [[construct]] property", - -description: "Checking if creating \"new String\" fails", - -test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - new new String; - $FAIL('#1: "new new String" lead to throwing exception'); -} catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1.1: Exception is instance of TypeError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js deleted file mode 100644 index 6cd3f6567b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.1.1_A1_T1; - * @section: 15.6.1.1; - * @assertion: Returns a boolean value (not a Boolean object) computed by - * ToBoolean(value); - * @description: Used values 1, new String("1"), new Object(1) and called without argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.1.1_A1_T1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js", - -assertion: "Returns a boolean value (not a Boolean object) computed by", - -description: "Used values 1, new String(\"1\"), new Object(1) and called without argument", - -test: function testcase() { - //CHECK#1 -if( typeof Boolean() !== "boolean" ) { - $ERROR('#1: typeof Boolean() should be "boolean", actual is "'+typeof Boolean()+'"'); -} - -//CHECK#2 -if( typeof Boolean(1) !== "boolean" ) { - $ERROR('#2: typeof Boolean(1) should be "boolean", actual is "'+typeof Boolean(1)+'"'); -} - -//CHECK#3 -if( typeof Boolean(new String("1")) !== "boolean" ) { - $ERROR('#3: typeof Boolean(new String("1")) should be "boolean", actual is "'+typeof Boolean(new String("1"))+'"'); -} - -//CHECK#4 -if( typeof Boolean(new Object(1)) !== "boolean" ) { - $ERROR('#4: typeof Boolean(new Object(1)) should be "boolean", actual is "'+typeof Boolean(new Object(1))+'"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T2.js deleted file mode 100644 index e19bd914b3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T2.js +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.1.1_A1_T2; - * @section: 15.6.1.1; - * @assertion: Returns a boolean value (not a Boolean object) computed by - * ToBoolean(value); - * @description: Used various number values as argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.1.1_A1_T2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T2.js", - -assertion: "Returns a boolean value (not a Boolean object) computed by", - -description: "Used various number values as argument", - -test: function testcase() { - //CHECK#1 -if( typeof Boolean(0) !== "boolean" ) { - $ERROR('#1.1: typeof Boolean(0) should be "boolean", actual is "'+typeof Boolean(0)+'"'); -} -if( Boolean(0) !== false ) { - $ERROR('#1.2: Boolean(0) should be false, actual is '+Boolean(0)); -} - -//CHECK#2 -if( typeof Boolean(-1) !== "boolean" ) { - $ERROR('#2.1: typeof Boolean(-1) should be "boolean", actual is "'+typeof Boolean(-1)+'"'); -} -if( Boolean(-1) !== true ) { - $ERROR('#2.2: Boolean(-1) should be true, actual is '+Boolean(-1)); -} - -//CHECK#3 -if( typeof Boolean(-Infinity) !== "boolean" ) { - $ERROR('#3.1: typeof Boolean(-Infinity) should be "boolean", actual is "'+typeof Boolean(-Infinity)+'"'); -} -if( Boolean(-Infinity) !== true ) { - $ERROR('#3.2: Boolean(-Infinity) should be true, actual is '+Boolean(-Infinity)); -} - -//CHECK#4 -if( typeof Boolean(NaN) !== "boolean" ) { - $ERROR('#4.1: typeof Boolean(NaN) should be "boolean", actual is "'+typeof Boolean(NaN)+'"'); -} -if( Boolean(NaN) !== false ) { - $ERROR('#4.2: Boolean(NaN) should be false, actual is '+Boolean(NaN)); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T3.js deleted file mode 100644 index b9ccebbfaa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T3.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.1.1_A1_T3; - * @section: 15.6.1.1; - * @assertion: Returns a boolean value (not a Boolean object) computed by - * ToBoolean(value); - * @description: Used various string values as argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.1.1_A1_T3", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T3.js", - -assertion: "Returns a boolean value (not a Boolean object) computed by", - -description: "Used various string values as argument", - -test: function testcase() { - //CHECK#1 -if( typeof Boolean("0") !== "boolean" ) { - $ERROR('#1.1: typeof Boolean("0") should be "boolean", actual is "'+typeof Boolean("0")+'"'); -} -if( Boolean("0") !== true ) { - $ERROR('#1.2: Boolean("0") should be true'); -} - -//CHECK#2 -if( typeof Boolean("-1") !== "boolean" ) { - $ERROR('#2.1: typeof Boolean("-1") should be "boolean", actual is "'+typeof Boolean("-1")+'"'); -} -if( Boolean("-1") !== true ) { - $ERROR('#2.2: Boolean("-1") should be true'); -} - -//CHECK#3 -if( typeof Boolean("1") !== "boolean" ) { - $ERROR('#3.1: typeof Boolean("1") should be "boolean", actual is "'+typeof Boolean("1")+'"'); -} -if( Boolean("1") !== true ) { - $ERROR('#3.2: Boolean("1") should be true'); -} - -//CHECK#4 -if( typeof Boolean("false") !== "boolean" ) { - $ERROR('#4.1: typeof Boolean("false") should be "boolean", actual is "'+typeof Boolean("false")+'"'); -} -if( Boolean("false") !== true ) { - $ERROR('#4.2: Boolean("false") should be true'); -} - -//CHECK#5 -if( typeof Boolean("true") !== "boolean" ) { - $ERROR('#5.1: typeof Boolean("true") should be "boolean", actual is "'+typeof Boolean("true")+'"'); -} -if( Boolean("true") !== true ) { - $ERROR('#5.2: Boolean("true") should be true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T4.js deleted file mode 100644 index 8387e697be..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T4.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.1.1_A1_T4; - * @section: 15.6.1.1; - * @assertion: Returns a boolean value (not a Boolean object) computed by - * ToBoolean(value); - * @description: Used various undefined values and null as argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.1.1_A1_T4", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T4.js", - -assertion: "Returns a boolean value (not a Boolean object) computed by", - -description: "Used various undefined values and null as argument", - -test: function testcase() { - //CHECK#1 -if( typeof Boolean(undefined) !== "boolean" ) { - $ERROR('#1.1: typeof Boolean(undefined) should be "boolean", actual is "'+typeof Boolean(undefined)+'"'); -} -if( Boolean(undefined) !== false ) { - $ERROR('#1.2: Boolean(undefined) should be false'); -} - -//CHECK#2 -if( typeof Boolean(void 0) !== "boolean" ) { - $ERROR('#2.1: typeof Boolean(void 0) should be "boolean", actual is "'+typeof Boolean(void 0)+'"'); -} -if( Boolean(void 0) !== false ) { - $ERROR('#2.2: Boolean(void 0) should be false'); -} - -//CHECK#3 -if( typeof Boolean(function(){}()) !== "boolean" ) { - $ERROR('#3.1: typeof Boolean(function(){}()) should be "boolean", actual is "'+typeof Boolean(function(){}())+'"'); -} -if( Boolean(function(){}()) !== false ) { - $ERROR('#3.2: Boolean(function(){}()) should be false'); -} - -//CHECK#4 -if( typeof Boolean(null) !== "boolean" ) { - $ERROR('#4.1: typeof Boolean(null) should be "boolean", actual is "'+typeof Boolean(null)+'"'); -} -if( Boolean(null) !== false ) { - $ERROR('#4.2: Boolean(null) should be false'); -} - -//CHECK#5 -if( typeof Boolean(x) !== "boolean" ) { - $ERROR('#5.1: var x; typeof Boolean(x) should be "boolean", actual is "'+typeof Boolean(x)+'"'); -} -if( Boolean(x) !== false ) { - $ERROR('#5.2: var x; Boolean(x) should be false'); -} -var x; - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T5.js deleted file mode 100644 index 7e93a2c1ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T5.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.1.1_A1_T5; - * @section: 15.6.1.1; - * @assertion: Returns a boolean value (not a Boolean object) computed by - * ToBoolean(value); - * @description: Used various assigning values to any variable as argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.1.1_A1_T5", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T5.js", - -assertion: "Returns a boolean value (not a Boolean object) computed by", - -description: "Used various assigning values to any variable as argument", - -test: function testcase() { - //CHECK#1 -if( typeof Boolean(x=0) !== "boolean" ) { - $ERROR('#1.1: typeof Boolean(x=0) should be "boolean", actual is "'+typeof Boolean(x=0)+'"'); -} -if( Boolean(x=0) !== false ) { - $ERROR('#1.2: Boolean(x=0) should be false'); -} - -//CHECK#2 -if( typeof Boolean(x=1) !== "boolean" ) { - $ERROR('#2.1: typeof Boolean(x=1) should be "boolean", actual is "'+typeof Boolean(x=1)+'"'); -} -if( Boolean(x=1) !== true ) { - $ERROR('#2.2: Boolean(x=1) should be true'); -} - -//CHECK#3 -if( typeof Boolean(x=false) !== "boolean" ) { - $ERROR('#3.1: typeof Boolean(x=false) should be "boolean", actual is "'+typeof Boolean(x=false)+'"'); -} -if( Boolean(x=false) !== false ) { - $ERROR('#3.2: Boolean(x=false) should be false'); -} - -//CHECK#4 -if( typeof Boolean(x=true) !== "boolean" ) { - $ERROR('#4.1: typeof Boolean(x=true) should be "boolean", actual is "'+typeof Boolean(x=true)+'"'); -} -if( Boolean(x=true) !== true ) { - $ERROR('#4.2: Boolean(x=true) should be true'); -} - -//CHECK#5 -if( typeof Boolean(x=null) !== "boolean" ) { - $ERROR('#5.1: typeof Boolean(x=null) should be "boolean", actual is "'+typeof Boolean(x=null)+'"'); -} -if( Boolean(x=null) !== false ) { - $ERROR('#5.2: Boolean(x=null) should be false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A2.js deleted file mode 100644 index 4146bcef86..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.1.1_A2; - * @section: 15.6.1.1; - * @assertion: Boolean() returns false; - * @description: Call Boolean() and check result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.1.1_A2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A2.js", - -assertion: "Boolean() returns false", - -description: "Call Boolean() and check result", - -test: function testcase() { - //CHECK#1 -if( typeof Boolean() !== "boolean" ) { - $ERROR('#1: typeof Boolean() should be "boolean", actual is "'+typeof Boolean()+'"'); -} - -//CHECK#2 -if( Boolean() !== false ) { - $ERROR('#2: Boolean() should be false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A1.js deleted file mode 100644 index 36ab3c8374..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A1.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.2.1_A1; - * @section: 15.6.2.1; - * @assertion: When Boolean is called as part of a new expression it is - * a constructor: it initialises the newly created object; - * @description: Checking type of the newly created object and it value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.2.1_A1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A1.js", - -assertion: "When Boolean is called as part of a new expression it is", - -description: "Checking type of the newly created object and it value", - -test: function testcase() { - //CHECK#1 -if (typeof new Boolean() !== "object") { - $ERROR("#1: typeof new Boolean() === 'object'"); -} - -//CHECK#2 -if (new Boolean() === undefined) { - $ERROR("#2: new Boolean() should not be undefined"); -} - -//CHECK#3 -var x3 = new Boolean(); -if(typeof x3 !== "object"){ - $ERROR("#3: typeof new Boolean() !== 'object'"); -} - -//CHECK#4 -var x4 = new Boolean(); -if(x4 === undefined){ - $ERROR("#4: new Boolean() should not be undefined"); -} - -//CHECK#5 -if (typeof new Boolean(1) !== "object") { - $ERROR("#5: typeof new Boolean(10) === 'object'"); -} - -//CHECK#6 -if (new Boolean(1) === undefined) { - $ERROR("#6: new Boolean(1) should not be undefined"); -} - -//CHECK#7 -var x7 = new Boolean(1); -if(typeof x7 !== "object"){ - $ERROR("#7: typeof new Boolean(1) !== 'object'"); -} - -//CHECK#8 -var x8 = new Boolean(1); -if(x8 === undefined){ - $ERROR("#8: new Boolean(1) should not be undefined"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A2.js deleted file mode 100644 index b4b5c65a4f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.2.1_A2; - * @section: 15.6.2.1; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Boolean prototype object, the one that is the - * initial value of Boolean.prototype; - * @description: Checking prototype property of the newly created object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.2.1_A2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A2.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Checking prototype property of the newly created object", - -test: function testcase() { - // CHECK#1 -var x1 = new Boolean(1); -if (typeof x1.constructor.prototype !== "object") { - $ERROR('#1: typeof x1.constructor.prototype === "object"'); -} - -//CHECK#2 -var x2 = new Boolean(2); -if (!Boolean.prototype.isPrototypeOf(x2)) { - $ERROR('#2: Boolean.prototype.isPrototypeOf(x2)'); -} - -//CHECK#3 -var x3 = new Boolean(3); -if (Boolean.prototype !== x3.constructor.prototype) { - $ERROR('#3: Boolean.prototype === x3.constructor.prototype'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A3.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A3.js deleted file mode 100644 index 9e9f494de6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A3.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.2.1_A3; - * @section: 15.6.2.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set to ToBoolean(value); - * @description: Checking value of the newly created object; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.2.1_A3", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A3.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "Checking value of the newly created object", - -test: function testcase() { - // CHECK#1 -var x1 = new Boolean(1); -if (x1.valueOf() !== true) { - $ERROR('#1: var x1 = new Boolean(1); x1.valueOf() === true'); -} - -//CHECK#2 -var x2 = new Boolean(); -if (x2.valueOf() !== false) { - $ERROR('#2: var x2 = new Boolean(); x2.valueOf() === false'); -} - -//CHECK#3 -var x2 = new Boolean(0); -if (x2.valueOf() !== false) { - $ERROR('#3: var x2 = new Boolean(0); x2.valueOf() === false'); -} - -//CHECK#4 -var x2 = new Boolean(new Object()); -if (x2.valueOf() !== true) { - $ERROR('#4: var x2 = new Boolean(new Object()); x2.valueOf() === true'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A4.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A4.js deleted file mode 100644 index 5ae385b1ef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.2.1_A4; - * @section: 15.6.2.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Boolean"; - * @description: For testing toString function is used; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.2.1_A4", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.2_The_Boolean_Constructor/S15.6.2.1_A4.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "For testing toString function is used", - -test: function testcase() { - delete Boolean.prototype.toString; - -var obj = new Boolean(); - -//CHECK#1 -if (obj.toString() !== "[object Boolean]") { - $ERROR('#1: The [[Class]] property of the newly constructed object is set to "Boolean"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A1.js deleted file mode 100644 index b40df9384f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.3.1_A1; - * @section: 15.6.3.1; - * @assertion: The initial value of Boolean.prototype is the Boolean - * prototype object; - * @description: Checking Boolean.prototype property; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.3.1_A1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A1.js", - -assertion: "The initial value of Boolean.prototype is the Boolean", - -description: "Checking Boolean.prototype property", - -test: function testcase() { - //CHECK#1 -if (typeof Boolean.prototype !== "object") { - $ERROR('#1: typeof Boolean.prototype === "object"'); -} - -//CHECK#2 -if (Boolean.prototype != false) { - $ERROR('#2: Boolean.prototype == false'); -} - -delete Boolean.prototype.toString; - -if (Boolean.prototype.toString() !== "[object Boolean]") { - $ERROR('#3: The [[Class]] property of the Boolean prototype object is set to "Boolean"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A2.js deleted file mode 100644 index c6f058fed2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.3.1_A2; - * @section: 15.6.3.1; - * @assertion: Boolean.prototype has the attribute ReadOnly; - * @description: Checking if varying the Boolean.prototype property fails; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.3.1_A2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A2.js", - -assertion: "Boolean.prototype has the attribute ReadOnly", - -description: "Checking if varying the Boolean.prototype property fails", - -test: function testcase() { - // CHECK#1 -x = Boolean.prototype; -Boolean.prototype = 1; -if (Boolean.prototype !== x) { - $ERROR('#1: Boolean.prototype has the attribute ReadOnly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A3.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A3.js deleted file mode 100644 index 86409c61dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A3.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.3.1_A3; - * @section: 15.6.3.1; - * @assertion: Boolean.prototype has the attribute DontDelete; - * @description: Checking if deleting the Boolean.prototype property fails; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.3.1_A3", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A3.js", - -assertion: "Boolean.prototype has the attribute DontDelete", - -description: "Checking if deleting the Boolean.prototype property fails", - -test: function testcase() { - // CHECK#1 -if (delete Boolean.prototype !== false) { - $ERROR('#1: Boolean.prototype has the attribute DontDelete'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A4.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A4.js deleted file mode 100644 index 6eb38553fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.3.1_A4; - * @section: 15.6.3.1; - * @assertion: Boolean.prototype has the attribute DontEnum; - * @description: Checking if enumerating the Boolean.prototype property fails; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.3.1_A4", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/15.6.3.1_Boolean.prototype/S15.6.3.1_A4.js", - -assertion: "Boolean.prototype has the attribute DontEnum", - -description: "Checking if enumerating the Boolean.prototype property fails", - -test: function testcase() { - //CHECK#1 -for(x in Boolean) { - if(x === "prototype") { - $ERROR('#1: Boolean.prototype has the attribute DontEnum'); - } -} - -if (Boolean.propertyIsEnumerable('prototype')) { - $ERROR('#2: Boolean.prototype has the attribute DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A1.js deleted file mode 100644 index cae5c09f9f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.3_A1; - * @section: 15.6.3; - * @assertion: The Boolean constructor has the property "prototype"; - * @description: Checking existence of the property "prototype"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.3_A1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A1.js", - -assertion: "The Boolean constructor has the property \"prototype\"", - -description: "Checking existence of the property \"prototype\"", - -test: function testcase() { - if(!Boolean.hasOwnProperty("prototype")){ - $ERROR('#1: The Boolean constructor has the property "prototype"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A2.js deleted file mode 100644 index 914452454a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.6.3_A2; -* @section: 15.6.3; -* @assertion: The value of the internal [[Prototype]] property of the Boolean -* constructor is the Function prototype object; -* @description: Checking prototype of the Boolean constructor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.3_A2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A2.js", - -assertion: "The value of the internal [[Prototype]] property of the Boolean", - -description: "Checking prototype of the Boolean constructor", - -test: function testcase() { - //CHECK#1 -if (!(Function.prototype.isPrototypeOf(Boolean))) { - $ERROR('#1: the value of the internal [[Prototype]] property of the Boolean constructor is the Function prototype object.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A3.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A3.js deleted file mode 100644 index 7dbb3b60a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.6.3_A3; -* @section: 15.6.3; -* @assertion: Boolean constructor has length property whose value is 1; -* @description: Checking Boolean.length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.3_A3", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.3_Properties_of_the_Boolean_Constructor/S15.6.3_A3.js", - -assertion: "Boolean constructor has length property whose value is 1", - -description: "Checking Boolean.length property", - -test: function testcase() { - //CHECK#1 -if (!Boolean.hasOwnProperty("length")){ - $ERROR('#1: Boolean constructor has length property'); -} - -//CHECK#2 -if (Boolean.length !== 1) { - $ERROR('#2: Boolean constructor length property value is 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.1_A1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.1_A1.js deleted file mode 100644 index 96d04b7826..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.1_A1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.1_A1; - * @section: 15.6.4.1; - * @assertion: The initial value of Boolean.prototype.constructor is the - * built-in Boolean constructor; - * @description: Compare Boolean.prototype.constructor with Boolean; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.1_A1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.1_A1.js", - -assertion: "The initial value of Boolean.prototype.constructor is the", - -description: "Compare Boolean.prototype.constructor with Boolean", - -test: function testcase() { - //CHECK#1 -if(Boolean.prototype.constructor !== Boolean){ - $ERROR('#1: Boolean.prototype.constructor === Boolean'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T1.js deleted file mode 100644 index 66272a43f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T1.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.2_A1_T1; - * @section: 15.6.4.2; - * @assertion: toString: If this boolean value is true, then the string "true" - * is returned, otherwise, this boolean value must be false, and the string - * "false" is returned; - * @description: no arguments; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.2_A1_T1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T1.js", - -assertion: "toString: If this boolean value is true, then the string \"true\"", - -description: "no arguments", - -test: function testcase() { - //CHECK#1 -if(Boolean.prototype.toString() !== "false"){ - $ERROR('#1: Boolean.prototype.toString() === "false"'); -} - -//CHECK#2 -if((new Boolean()).toString() !== "false"){ - $ERROR('#2: (new Boolean()).toString() === "false"'); -} - -//CHECK#3 -if((new Boolean(false)).toString() !== "false"){ - $ERROR('#3: (new Boolean(false)).toString() === "false"'); -} - -//CHECK#4 -if((new Boolean(true)).toString() !== "true"){ - $ERROR('#4: (new Boolean(true)).toString() === "true"'); -} - -//CHECK#5 -if((new Boolean(1)).toString() !== "true"){ - $ERROR('#5: (new Boolean(1)).toString() === "true"'); -} - -//CHECK#6 -if((new Boolean(0)).toString() !== "false"){ - $ERROR('#6: (new Boolean(0)).toString() === "false"'); -} - -//CHECK#7 -if((new Boolean(new Object())).toString() !== "true"){ - $ERROR('#7: (new Boolean(new Object())).toString() === "true"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T2.js deleted file mode 100644 index 7476defdb4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T2.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.2_A1_T2; - * @section: 15.6.4.2; - * @assertion: toString: If this boolean value is true, then the string "true" - * is returned, otherwise, this boolean value must be false, and the string - * "false" is returned; - * @description: with some argument; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.2_A1_T2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A1_T2.js", - -assertion: "toString: If this boolean value is true, then the string \"true\"", - -description: "with some argument", - -test: function testcase() { - //CHECK#1 -if(Boolean.prototype.toString(true) !== "false"){ - $ERROR('#1: Boolean.prototype.toString(true) === "false"'); -} - -//CHECK#2 -if((new Boolean()).toString(true) !== "false"){ - $ERROR('#2: (new Boolean()).toString(true) === "false"'); -} - -//CHECK#3 -if((new Boolean(false)).toString(true) !== "false"){ - $ERROR('#3: (new Boolean(false)).toString(true) === "false"'); -} - -//CHECK#4 -if((new Boolean(true)).toString(false) !== "true"){ - $ERROR('#4: (new Boolean(true)).toString(false) === "true"'); -} - -//CHECK#5 -if((new Boolean(1)).toString(false) !== "true"){ - $ERROR('#5: (new Boolean(1)).toString(false) === "true"'); -} - -//CHECK#6 -if((new Boolean(0)).toString(true) !== "false"){ - $ERROR('#6: (new Boolean(0)).toString(true) === "false"'); -} - -//CHECK#7 -if((new Boolean(new Object())).toString(false) !== "true"){ - $ERROR('#7: (new Boolean(new Object())).toString(false) === "true"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T1.js deleted file mode 100644 index ae6350db46..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.2_A2_T1; - * @section: 15.6.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the String objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.2_A2_T1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T1.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the String objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new String(); - s1.toString = Boolean.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = new String(); - s2.myToString = Boolean.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T2.js deleted file mode 100644 index f547a2d460..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.2_A2_T2; - * @section: 15.6.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the Number objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.2_A2_T2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T2.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the Number objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Number(); - s1.toString = Boolean.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#1 -try{ - var s2 = new Number(); - s2.myToString = Boolean.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T3.js deleted file mode 100644 index 50f5fd8f30..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.2_A2_T3; - * @section: 15.6.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the Date objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.2_A2_T3", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T3.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the Date objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Date(); - s1.toString = Boolean.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#1 -try{ - var s2 = new Date(); - s2.myToString = Boolean.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T4.js deleted file mode 100644 index a7378987b3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.2_A2_T4; - * @section: 15.6.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the Object objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.2_A2_T4", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T4.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the Object objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Object(); - s1.toString = Boolean.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#1 -try{ - var s2 = new Object(); - s2.myToString = Boolean.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T5.js deleted file mode 100644 index 87703da835..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.2_A2_T5; - * @section: 15.6.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the other objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.2_A2_T5", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.2_A2_T5.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the other objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = {x: 1}; - s1.toString = Boolean.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#1 -try{ - var s2 = {x: 1}; - s2.myToString = Boolean.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.toString on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js deleted file mode 100644 index 9380bfd56d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.3_A1_T1; - * @section: 15.6.4.3; - * @assertion: Boolean.prototype.valueOf() returns this boolean value; - * @description: no arguments; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.3_A1_T1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js", - -assertion: "Boolean.prototype.valueOf() returns this boolean value", - -description: "no arguments", - -test: function testcase() { - //CHECK#1 -if(Boolean.prototype.valueOf() !== false){ - $ERROR('#1: Boolean.prototype.valueOf() === false'); -} - -//CHECK#2 -if((new Boolean()).valueOf() !== false){ - $ERROR('#2: (new Boolean()).valueOf() === false'); -} - -//CHECK#3 -if((new Boolean(0)).valueOf() !== false){ - $ERROR('#3: (new Boolean(0)).valueOf() === false'); -} - -//CHECK#4 -if((new Boolean(-1)).valueOf() !== true){ - $ERROR('#4: (new Boolean(-1)).valueOf() === true'); -} - -//CHECK#5 -if((new Boolean(1)).valueOf() !== true){ - $ERROR('#5: (new Boolean(1)).valueOf() === true'); -} - -//CHECK#6 -if((new Boolean(new Object())).valueOf() !== true){ - $ERROR('#6: (new Boolean(new Object())).valueOf() === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T2.js deleted file mode 100644 index 95a1be9ce4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T2.js +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.3_A1_T2; - * @section: 15.6.4.3; - * @assertion: Boolean.prototype.valueOf() returns this boolean value; - * @description: calling with argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.3_A1_T2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T2.js", - -assertion: "Boolean.prototype.valueOf() returns this boolean value", - -description: "calling with argument", - -test: function testcase() { - //CHECK#1 -if(Boolean.prototype.valueOf(true) !== false){ - $ERROR('#1: Boolean.prototype.valueOf(true) === false'); -} - -//CHECK#2 -if((new Boolean()).valueOf(true) !== false){ - $ERROR('#2: (new Boolean()).valueOf(true) === false'); -} - -//CHECK#3 -if((new Boolean(0)).valueOf(true) !== false){ - $ERROR('#3: (new Boolean(0)).valueOf(true) === false'); -} - -//CHECK#4 -if((new Boolean(-1)).valueOf(false) !== true){ - $ERROR('#4: (new Boolean(-1)).valueOf(false) === true'); -} - -//CHECK#5 -if((new Boolean(1)).valueOf(false) !== true){ - $ERROR('#5: (new Boolean(1)).valueOf(false) === true'); -} - -//CHECK#6 -if((new Boolean(new Object())).valueOf(false) !== true){ - $ERROR('#6: (new Boolean(new Object())).valueOf(false) === true'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T1.js deleted file mode 100644 index 9f6551a838..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T1.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.3_A2_T1; - * @section: 15.6.4.3; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the String objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.3_A2_T1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T1.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the String objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new String(); - s1.valueOf = Boolean.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#1 -try{ - var s2 = new String(); - s2.myValueOf = Boolean.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T2.js deleted file mode 100644 index 173a279ec3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T2.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.3_A2_T2; - * @section: 15.6.4.3; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the Number objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.3_A2_T2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T2.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the Number objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Number(); - s1.valueOf = Boolean.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#1 -try{ - var s2 = new Number(); - s2.myValueOf = Boolean.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T3.js deleted file mode 100644 index 036337cb6e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T3.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.3_A2_T3; - * @section: 15.6.4.3; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the Date objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.3_A2_T3", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T3.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the Date objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Date(); - s1.valueOf = Boolean.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#1 -try{ - var s2 = new Date(); - s2.myValueOf = Boolean.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T4.js deleted file mode 100644 index b3ec03549f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T4.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.3_A2_T4; - * @section: 15.6.4.3; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the Object objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.3_A2_T4", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T4.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the Object objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Object(); - s1.valueOf = Boolean.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#1 -try{ - var s2 = new Object(); - s2.myValueOf = Boolean.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T5.js deleted file mode 100644 index a85aa3d5a7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T5.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4.3_A2_T5; - * @section: 15.6.4.3; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Boolean object; - * @description: transferring to the other objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4.3_A2_T5", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A2_T5.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the other objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = {x: 1}; - s1.valueOf = Boolean.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - -//CHECK#1 -try{ - var s2 = {x: 1}; - s2.myValueOf = Boolean.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Boolean.prototype.valueOf on not a Boolean object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A1.js deleted file mode 100644 index c8d6be7524..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A1.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4_A1; - * @section: 15.6.4; - * @assertion: The Boolean prototype object is itself a Boolean object - * (its [[Class]] is "Boolean") whose value is false; - * @description: Checking type and value of Boolean.prototype; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4_A1", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A1.js", - -assertion: "The Boolean prototype object is itself a Boolean object", - -description: "Checking type and value of Boolean.prototype", - -test: function testcase() { - //CHECK#1 -if (typeof Boolean.prototype !== "object") { - $ERROR('#1: typeof Boolean.prototype === "object"'); -} - -//CHECK#2 -if (Boolean.prototype != false) { - $ERROR('#2: Boolean.prototype == false'); -} - -delete Boolean.prototype.toString; - -if (Boolean.prototype.toString() !== "[object Boolean]") { - $ERROR('#3: The [[Class]] property of the Boolean prototype object is set to "Boolean"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A2.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A2.js deleted file mode 100644 index 1b769fa38f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.6.4_A2; - * @section: 15.6.4; - * @assertion: The value of the internal [[Prototype]] property of the Boolean - * prototype object is the Object prototype object; - * @description: Checking Object.prototype.isPrototypeOf(Boolean.prototype); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.6.4_A2", - -path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A2.js", - -assertion: "The value of the internal [[Prototype]] property of the Boolean", - -description: "Checking Object.prototype.isPrototypeOf(Boolean.prototype)", - -test: function testcase() { - //CHECK#1 -if (!Object.prototype.isPrototypeOf(Boolean.prototype)) { - $ERROR('#1: Object prototype object is the prototype of Boolean prototype object'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A1.js deleted file mode 100644 index 29ac82a352..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A1.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.1.1_A1; - * @section: 15.7.1.1; - * @assertion: Number([value]) returns a number value (not a Number object) computed by ToNumber(value) if value was supplied; - * @description: Used values "10", 10, new String("10"), new Object(10) and "abc"; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.1.1_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A1.js", - -assertion: "Number([value]) returns a number value (not a Number object) computed by ToNumber(value) if value was supplied", - -description: "Used values \"10\", 10, new String(\"10\"), new Object(10) and \"abc\"", - -test: function testcase() { - //CHECK#1 -if( typeof Number("10") !== "number" ) { - $ERROR('#1: typeof Number("10") should be "number", actual is "'+typeof Number("10")+'"'); -} - -//CHECK#2 -if( typeof Number(10) !== "number" ) { - $ERROR('#2: typeof Number(10) should be "number", actual is "'+typeof Number(10)+'"'); -} - -//CHECK#3 -if( typeof Number(new String("10")) !== "number" ) { - $ERROR('#3: typeof Number(new String("10")) should be "number", actual is "'+typeof Number(new String("10"))+'"'); -} - -//CHECK#4 -if( typeof Number(new Object(10)) !== "number" ) { - $ERROR('#4: typeof Number(new Object(10)) should be "number", actual is "'+typeof Number(new Object(10))+'"'); -} - -//CHECK #5 -if( typeof Number("abc") !== "number" ) { - $ERROR('#5: typeof Number("abc") should be "number", actual is "'+typeof Number("abc")+'"'); -} - -//CHECK #6 -if( !isNaN(Number("abc"))) { - $ERROR('#6: Number("abc")) should be NaN'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A2.js deleted file mode 100644 index 515855c89e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A2.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.1.1_A2; - * @section: 15.7.1.1; - * @assertion: Number() returns +0; - * @description: Call Number() and check result; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.1.1_A2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.1_The_Number_Constructor_Called_as_a_Function/S15.7.1.1_A2.js", - -assertion: "Number() returns +0", - -description: "Call Number() and check result", - -test: function testcase() { - //CHECK#1 -if( typeof Number() !== "number" ) { - $ERROR('#1: typeof Number() should be "number", actual is "'+typeof Number()+'"'); -} - -//CHECK#2 -if( Number() !== 0 ) { - $ERROR('#2: Number() === 0, actual is '+Number()); -} else if( 1/Number() !== Number.POSITIVE_INFINITY ) { - $ERROR('#2: Number() === +0, actual is '+Number()); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A1.js deleted file mode 100644 index 69039393dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A1.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.2.1_A1; - * @section: 15.7.2.1; - * @assertion: When Number is called as part of a new expression it is - * a constructor: it initialises the newly created object; - * @description: Checking type of the newly created object and it value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.2.1_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A1.js", - -assertion: "When Number is called as part of a new expression it is", - -description: "Checking type of the newly created object and it value", - -test: function testcase() { - //CHECK#1 -if (typeof new Number() !== "object") { - $ERROR("#1: typeof new Number() === 'object'"); -} - -//CHECK#2 -if (new Number() === undefined) { - $ERROR("#2: new Number() should not be undefined"); -} - -//CHECK#3 -var x3 = new Number(); -if(typeof x3 !== "object"){ - $ERROR("#3: typeof new Number() === 'object'"); -} - -//CHECK#4 -var x4 = new Number(); -if(x4 === undefined){ - $ERROR("#4: new Number() should not be undefined"); -} - -//CHECK#5 -if (typeof new Number(10) !== "object") { - $ERROR("#5: typeof new Number(10) === 'object'"); -} - -//CHECK#6 -if (new Number(10) === undefined) { - $ERROR("#6: new Number(10) should not be undefined"); -} - -//CHECK#7 -var x7 = new Number(10); -if(typeof x7 !== "object"){ - $ERROR("#7: typeof new Number(10) === 'object'"); -} - -//CHECK#8 -var x8 = new Number(10); -if(x8 === undefined){ - $ERROR("#8: new Number(10) should not be undefined"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A2.js deleted file mode 100644 index 14de43dac5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A2.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.2.1_A2; - * @section: 15.7.2.1; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Number prototype object, the one that is the - * initial value of Number.prototype; - * @description: Checking prototype property of the newly created objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.2.1_A2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A2.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Checking prototype property of the newly created objects", - -test: function testcase() { - // CHECK#1 -var x1 = new Number(1); -if (typeof x1.constructor.prototype !== "object") { - $ERROR('#1: typeof x1.constructor.prototype === "object"'); -} - -//CHECK#2 -var x2 = new Number(2); -if (!Number.prototype.isPrototypeOf(x2)) { - $ERROR('#2: Number.prototype.isPrototypeOf(x2)'); -} - -//CHECK#3 -var x3 = new Number(3); -if (Number.prototype !== x3.constructor.prototype) { - $ERROR('#3: Number.prototype === x3.constructor.prototype'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A3.js deleted file mode 100644 index 3f6648cb7b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A3.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.2.1_A3; - * @section: 15.7.2.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set to ToNumber(value) if value was supplied, else to +0; - * @description: Checking value of the newly created object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.2.1_A3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A3.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "Checking value of the newly created object", - -test: function testcase() { - //CHECK#1 -var x1 = new Number(1); -if (x1.valueOf() !== 1) { - $ERROR('#1: var x1 = new Number(1); x1.valueOf() === 1'); -} - -//CHECK#2 -var x2 = new Number(); -if (x2.valueOf() !== 0) { - $ERROR('#2.1: var x2 = new Number(); x2.valueOf() === 0'); -} else if( 1/x2.valueOf() !== Number.POSITIVE_INFINITY ) { - $ERROR('#2.2: var x2 = new Number(); x2.valueOf() === +0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A4.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A4.js deleted file mode 100644 index 0dcf4198ec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A4.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.2.1_A4; - * @section: 15.7.2.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Number"; - * @description: For testing toString function is used; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.2.1_A4", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.2_The_Number_Constructor/S15.7.2.1_A4.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "For testing toString function is used", - -test: function testcase() { - delete Number.prototype.toString; - -var obj = new Number(); - -//CHECK#1 -if (obj.toString() !== "[object Number]") { - $ERROR('#1: The [[Class]] property of the newly constructed object is set to "Number"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T1.js deleted file mode 100644 index fd6ae19ecb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.1_A1_T1; - * @section: 15.7.3.1; - * @assertion: The Number property "prototype" has { DontEnum, DontDelete, ReadOnly } attributes; - * @description: Checking if varying the Number.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.1_A1_T1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T1.js", - -assertion: "The Number property \"prototype\" has { DontEnum, DontDelete, ReadOnly } attributes", - -description: "Checking if varying the Number.prototype property fails", - -test: function testcase() { - //CHECK#1 -var x = Number.prototype; -Number.prototype = 1; -if (Number.prototype !== x) { - $ERROR('#1: The Number.prototype property has the attributes ReadOnly'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T2.js deleted file mode 100644 index 9496ceebec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.1_A1_T2; - * @section: 15.7.3.1; - * @assertion: The Number property "prototype" has { DontEnum, DontDelete, ReadOnly } attributes; - * @description: Checking if deleting the Number.prototype property fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.1_A1_T2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T2.js", - -assertion: "The Number property \"prototype\" has { DontEnum, DontDelete, ReadOnly } attributes", - -description: "Checking if deleting the Number.prototype property fails", - -test: function testcase() { - // CHECK#1 -if (delete Number.prototype !== false) { - $ERROR('#1: The Number.prototype property has the attributes DontDelete'); -} - -if (!Number.hasOwnProperty('prototype')) { - $FAIL('#2: The Number.prototype property has the attributes DontDelete'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T3.js deleted file mode 100644 index 684697c7a8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T3.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.1_A1_T3; - * @section: 15.7.3.1; - * @assertion: The Number property "prototype" has { DontEnum, DontDelete, ReadOnly } attributes; - * @description: Checking if enumerating the Number.prototype property fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.1_A1_T3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A1_T3.js", - -assertion: "The Number property \"prototype\" has { DontEnum, DontDelete, ReadOnly } attributes", - -description: "Checking if enumerating the Number.prototype property fails", - -test: function testcase() { - if (Number.propertyIsEnumerable('prototype')) { - $ERROR('#1: The Number.prototype property has the attribute DontEnum'); -} - -for(x in Number) { - if(x === "prototype") { - $ERROR('#2: The Number.prototype has the attribute DontEnum'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T1.js deleted file mode 100644 index 93cfbb9aa7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T1.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.1_A2_T1; - * @section: 15.7.3.1; - * @assertion: Number.prototype is itself Number object; - * @description: Checking type of Number.prototype property - test based on - * deleting Number.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.1_A2_T1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T1.js", - -assertion: "Number.prototype is itself Number object", - -description: "Checking type of Number.prototype property - test based on", - -test: function testcase() { - //CHECK#1 -if (typeof Number.prototype !== "object") { - $ERROR('#1: typeof Number.prototype === "object"'); -} - -delete Number.prototype.toString; - -if (Number.prototype.toString() !== "[object Number]") { - $ERROR('#3: The [[Class]] property of the Number prototype object is set to "Number"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T2.js deleted file mode 100644 index f1cfcee612..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T2.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.1_A2_T2; - * @section: 15.7.3.1; - * @assertion: Number.prototype is itself Number object; - * @description: Checking type of Number.prototype property - test based on - * overwriting of Number.prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.1_A2_T2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A2_T2.js", - -assertion: "Number.prototype is itself Number object", - -description: "Checking type of Number.prototype property - test based on", - -test: function testcase() { - //CHECK#1 -if (typeof Number.prototype !== "object") { - $ERROR('#1: typeof Number.prototype === "object"'); -} - -Number.prototype.toString = Object.prototype.toString; - -if (Number.prototype.toString() !== "[object Number]") { - $ERROR('#3: The [[Class]] property of the Number prototype object is set to "Number"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A3.js deleted file mode 100644 index cb7d7e5416..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.1_A3; - * @section: 15.7.3.1; - * @assertion: Number.prototype value is +0; - * @description: Checking value of Number.prototype property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.1_A3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.1_Number.prototype/S15.7.3.1_A3.js", - -assertion: "Number.prototype value is +0", - -description: "Checking value of Number.prototype property", - -test: function testcase() { - //CHECK#1 -if (Number.prototype != 0) { - $ERROR('#2: Number.prototype == +0'); -} else if( 1/Number.prototype != Number.POSITIVE_INFINITY){ - $ERROR('#2: Number.prototype == +0'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A1.js deleted file mode 100644 index adf5b8158c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.2_A1; - * @section: 15.7.3.2; - * @assertion: Number.MAX_VALUE is approximately 1.7976931348623157e308; - * @description: Checking Number.MAX_VALUE value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.2_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A1.js", - -assertion: "Number.MAX_VALUE is approximately 1.7976931348623157e308", - -description: "Checking Number.MAX_VALUE value", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Number.MAX_VALUE, 1.7976931348623157e308)) { - $ERROR('#1: Number.MAX_VALUE approximately equal to 1.7976931348623157e308'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A2.js deleted file mode 100644 index f3071239fc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.2_A2; - * @section: 15.7.3.2; - * @assertion: Number.MAX_VALUE is ReadOnly; - * @description: Checking if varying Number.MAX_VALUE fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.2_A2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A2.js", - -assertion: "Number.MAX_VALUE is ReadOnly", - -description: "Checking if varying Number.MAX_VALUE fails", - -test: function testcase() { - // CHECK#1 -var x = Number.MAX_VALUE; -Number.MAX_VALUE = 1; -if (Number.MAX_VALUE !== x) { - $ERROR('#1: x = Number.MAX_VALUE; Number.MAX_VALUE = 1; Number.MAX_VALUE === x'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A3.js deleted file mode 100644 index a31128950e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.2_A3; - * @section: 15.7.3.2; - * @assertion: Number.MAX_VALUE is DontDelete; - * @description: Checking if deleting Number.MAX_VALUE fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.2_A3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A3.js", - -assertion: "Number.MAX_VALUE is DontDelete", - -description: "Checking if deleting Number.MAX_VALUE fails", - -test: function testcase() { - // CHECK#1 -if (delete Number.MAX_VALUE !== false) { - $ERROR('#1: delete Number.MAX_VALUE === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A4.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A4.js deleted file mode 100644 index 77a024761b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.2_A4; - * @section: 15.7.3.2; - * @assertion: Number.MAX_VALUE has the attribute DontEnum; - * @description: Checking if enumerating Number.MAX_VALUE fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.2_A4", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.2_Number.MAX_VALUE/S15.7.3.2_A4.js", - -assertion: "Number.MAX_VALUE has the attribute DontEnum", - -description: "Checking if enumerating Number.MAX_VALUE fails", - -test: function testcase() { - //CHECK#1 -for(var x in Number) { - if(x === "MAX_VALUE") { - $ERROR('#1: Number.MAX_VALUE has the attribute DontEnum'); - } -} - -if (Number.propertyIsEnumerable('MAX_VALUE')) { - $ERROR('#2: Number.MAX_VALUE has the attribute DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js deleted file mode 100644 index 067262cbba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.3_A1; - * @section: 15.7.3.3; - * @assertion: Number.MIN_VALUE is approximately 5e-324; - * @description: Checking Number.MIN_VALUE value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.3_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js", - -assertion: "Number.MIN_VALUE is approximately 5e-324", - -description: "Checking Number.MIN_VALUE value", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Number.MIN_VALUE, 5e-324)) { - $ERROR('#1: Number.MIN_VALUE approximately equal to 5e-324'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A2.js deleted file mode 100644 index af39add0d7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.3_A2; - * @section: 15.7.3.3; - * @assertion: Number.MIN_VALUE is ReadOnly; - * @description: Checking if varying Number.MIN_VALUE fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.3_A2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A2.js", - -assertion: "Number.MIN_VALUE is ReadOnly", - -description: "Checking if varying Number.MIN_VALUE fails", - -test: function testcase() { - // CHECK#1 -var x = Number.MIN_VALUE; -Number.MIN_VALUE = 1; -if (Number.MIN_VALUE !== x) { - $ERROR('#1: x = Number.MIN_VALUE; Number.MIN_VALUE = 1; Number.MIN_VALUE === x'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A3.js deleted file mode 100644 index 5e9fb5f92a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.3_A3; - * @section: 15.7.3.3; - * @assertion: Number.MIN_VALUE is DontDelete; - * @description: Checking if deleting Number.MIN_VALUE fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.3_A3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A3.js", - -assertion: "Number.MIN_VALUE is DontDelete", - -description: "Checking if deleting Number.MIN_VALUE fails", - -test: function testcase() { - //CHECK#1 -if (delete Number.MIN_VALUE !== false) { - $ERROR('#1: delete Number.MIN_VALUE === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A4.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A4.js deleted file mode 100644 index 7f51429b09..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.3_A4; - * @section: 15.7.3.3; - * @assertion: Number.MIN_VALUE has the attribute DontEnum; - * @description: Checking if enumerating Number.MIN_VALUE fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.3_A4", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A4.js", - -assertion: "Number.MIN_VALUE has the attribute DontEnum", - -description: "Checking if enumerating Number.MIN_VALUE fails", - -test: function testcase() { - //CHECK#1 -for(var x in Number) { - if(x === "MIN_VALUE") { - $ERROR('#1: Number.MIN_VALUE has the attribute DontEnum'); - } -} - -if (Number.propertyIsEnumerable('MIN_VALUE')) { - $ERROR('#2: Number.MIN_VALUE has the attribute DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A1.js deleted file mode 100644 index 4900e6a432..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.4_A1; - * @section: 15.7.3.4; - * @assertion: Number.NaN is Not-a-Number; - * @description: Checking isNaN(Number.NaN); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.4_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A1.js", - -assertion: "Number.NaN is Not-a-Number", - -description: "Checking isNaN(Number.NaN)", - -test: function testcase() { - // CHECK#1 -if (isNaN(Number.NaN) !== true) { - $ERROR('#1: Number.NaN === Not-a-Number'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A2.js deleted file mode 100644 index c7b95d031a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.4_A2; - * @section: 15.7.3.4; - * @assertion: Number.NaN is ReadOnly; - * @description: Checking if varying Number.NaN fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.4_A2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A2.js", - -assertion: "Number.NaN is ReadOnly", - -description: "Checking if varying Number.NaN fails", - -test: function testcase() { - // CHECK#1 -Number.NaN = 1; -if (isNaN(Number.NaN) !== true) { - $ERROR('#1: Number.NaN = 1; Number.NaN === Not-a-Number'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A3.js deleted file mode 100644 index 78da4500e9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.4_A3; - * @section: 15.7.3.4; - * @assertion: Number.NaN is DontDelete; - * @description: Checking if deleting Number.NaN fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.4_A3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A3.js", - -assertion: "Number.NaN is DontDelete", - -description: "Checking if deleting Number.NaN fails", - -test: function testcase() { - // CHECK#1 -if (delete Number.NaN !== false) { - $ERROR('#1: delete Number.NaN === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A4.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A4.js deleted file mode 100644 index 98c66f474b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.4_A4; - * @section: 15.7.3.4; - * @assertion: Number.NaN has the attribute DontEnum; - * @description: Checking if enumerating Number.NaN fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.4_A4", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.4_Number.NaN/S15.7.3.4_A4.js", - -assertion: "Number.NaN has the attribute DontEnum", - -description: "Checking if enumerating Number.NaN fails", - -test: function testcase() { - //CHECK#1 -for(var x in Number) { - if(x === "NaN") { - $ERROR('#1: Number.NaN has the attribute DontEnum'); - } -} - -if (Number.propertyIsEnumerable('NaN')) { - $ERROR('#2: Number.NaN has the attribute DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A1.js deleted file mode 100644 index 6a2f7074db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.5_A1; - * @section: 15.7.3.5; - * @assertion: Number.NEGATIVE_INFINITY is -Infinity; - * @description: Checking sign and finiteness of Number.NEGATIVE_INFINITY; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.5_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A1.js", - -assertion: "Number.NEGATIVE_INFINITY is -Infinity", - -description: "Checking sign and finiteness of Number.NEGATIVE_INFINITY", - -test: function testcase() { - // CHECK#1 -if (isFinite(Number.NEGATIVE_INFINITY) !== false) { - $ERROR('#1: Number.NEGATIVE_INFINITY === Not-a-Finite'); -} else { - if ((Number.NEGATIVE_INFINITY < 0) !== true) { - $ERROR('#1: Number.NEGATIVE_INFINITY === -Infinity'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A2.js deleted file mode 100644 index 1ca63f7f51..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.5_A2; - * @section: 15.7.3.5; - * @assertion: Number.NEGATIVE_INFINITY is ReadOnly; - * @description: Checking if varying Number.NEGATIVE_INFINITY fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.5_A2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A2.js", - -assertion: "Number.NEGATIVE_INFINITY is ReadOnly", - -description: "Checking if varying Number.NEGATIVE_INFINITY fails", - -test: function testcase() { - // CHECK#1 -Number.NEGATIVE_INFINITY = 1; -if (isFinite(Number.NEGATIVE_INFINITY)) { - $ERROR('#1: Number.NEGATIVE_INFINITY = 1; Number.NEGATIVE_INFINITY === -Infinity'); -} else { - if (Number.NEGATIVE_INFINITY >= 0) { - $ERROR('#1: Number.NEGATIVE_INFINITY = 1; Number.NEGATIVE_INFINITY === -Infinity'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A3.js deleted file mode 100644 index 236aeb1246..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.5_A3; - * @section: 15.7.3.5; - * @assertion: Number.NEGATIVE_INFINITY is DontDelete; - * @description: Checking if deleting Number.NEGATIVE_INFINITY fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.5_A3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A3.js", - -assertion: "Number.NEGATIVE_INFINITY is DontDelete", - -description: "Checking if deleting Number.NEGATIVE_INFINITY fails", - -test: function testcase() { - // CHECK#1 -if (delete Number.NEGATIVE_INFINITY !== false) { - $ERROR('#1: delete Number.NEGATIVE_INFINITY === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A4.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A4.js deleted file mode 100644 index a1c33167ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.5_A4; - * @section: 15.7.3.5; - * @assertion: Number.NEGATIVE_INFINITY has the attribute DontEnum; - * @description: Checking if enumerating Number.NEGATIVE_INFINITY fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.5_A4", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.5_Number.NEGATIVE_INFINITY/S15.7.3.5_A4.js", - -assertion: "Number.NEGATIVE_INFINITY has the attribute DontEnum", - -description: "Checking if enumerating Number.NEGATIVE_INFINITY fails", - -test: function testcase() { - //CHECK#1 -for(var x in Number) { - if(x === "NEGATIVE_INFINITY") { - $ERROR('#1: Number.NEGATIVE_INFINITY has the attribute DontEnum'); - } -} - -if (Number.propertyIsEnumerable('NEGATIVE_INFINITY')) { - $ERROR('#2: Number.NEGATIVE_INFINITY has the attribute DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A1.js deleted file mode 100644 index 40f6f2471a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.6_A1; - * @section: 15.7.3.6; - * @assertion: Number.POSITIVE_INFINITY is +Infinity; - * @description: Checking sign and finiteness of Number.POSITIVE_INFINITY; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.6_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A1.js", - -assertion: "Number.POSITIVE_INFINITY is +Infinity", - -description: "Checking sign and finiteness of Number.POSITIVE_INFINITY", - -test: function testcase() { - // CHECK#1 -if (isFinite(Number.POSITIVE_INFINITY) !== false) { - $ERROR('#1: Number.POSITIVE_INFINITY === Not-a-Finite'); -} else { - if ((Number.POSITIVE_INFINITY > 0) !== true) { - $ERROR('#1: Number.POSITIVE_INFINITY === +Infinity'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A2.js deleted file mode 100644 index 269b67c15d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A2.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.6_A2; - * @section: 15.7.3.6; - * @assertion: Number.POSITIVE_INFINITY is ReadOnly; - * @description: Checking if varying Number.POSITIVE_INFINITY fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.6_A2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A2.js", - -assertion: "Number.POSITIVE_INFINITY is ReadOnly", - -description: "Checking if varying Number.POSITIVE_INFINITY fails", - -test: function testcase() { - // CHECK#1 -Number.POSITIVE_INFINITY = 1; -if (isFinite(Number.POSITIVE_INFINITY)) { - $ERROR('#1: Number.POSITIVE_INFINITY = 1; Number.POSITIVE_INFINITY === +Infinity'); -} else { - if (Number.POSITIVE_INFINITY <= 0) { - $ERROR('#1: Number.POSITIVE_INFINITY = 1; Number.POSITIVE_INFINITY === +Infinity'); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A3.js deleted file mode 100644 index d583431380..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.6_A3; - * @section: 15.7.3.6; - * @assertion: Number.POSITIVE_INFINITY is DontDelete; - * @description: Checking if deleting Number.POSITIVE_INFINITY fails; - * @strict_mode_negative -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.6_A3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A3.js", - -assertion: "Number.POSITIVE_INFINITY is DontDelete", - -description: "Checking if deleting Number.POSITIVE_INFINITY fails", - -test: function testcase() { - // CHECK#1 -if (delete Number.POSITIVE_INFINITY !== false) { - $ERROR('#1: delete Number.POSITIVE_INFINITY === false'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A4.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A4.js deleted file mode 100644 index 00ca483148..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3.6_A4; - * @section: 15.7.3.6; - * @assertion: Number.POSITIVE_INFINITY has the attribute DontEnum; - * @description: Checking if enumerating Number.POSITIVE_INFINITY fails; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3.6_A4", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A4.js", - -assertion: "Number.POSITIVE_INFINITY has the attribute DontEnum", - -description: "Checking if enumerating Number.POSITIVE_INFINITY fails", - -test: function testcase() { - //CHECK#1 -for(var x in Number) { - if(x === "POSITIVE_INFINITY") { - $ERROR('#1: Number.POSITIVE_INFINITY has the attribute DontEnum'); - } -} - -if (Number.propertyIsEnumerable('POSITIVE_INFINITY')) { - $ERROR('#2: Number.POSITIVE_INFINITY has the attribute DontEnum'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A1.js deleted file mode 100644 index 779c4fac4a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3_A1; - * @section: 15.7.3; - * @assertion: The Number constructor has the property "prototype"; - * @description: Checking existence of the property "prototype"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A1.js", - -assertion: "The Number constructor has the property \"prototype\"", - -description: "Checking existence of the property \"prototype\"", - -test: function testcase() { - if(!Number.hasOwnProperty("prototype")){ - $ERROR('#1: The Number constructor has the property "prototype"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A2.js deleted file mode 100644 index d76c584652..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3_A2; - * @section: 15.7.3; - * @assertion: The Number constructor has the property "MAX_VALUE"; - * @description: Checking existence of the property "MAX_VALUE"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3_A2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A2.js", - -assertion: "The Number constructor has the property \"MAX_VALUE\"", - -description: "Checking existence of the property \"MAX_VALUE\"", - -test: function testcase() { - if(!Number.hasOwnProperty("MAX_VALUE")){ - $ERROR('#1: The Number constructor has the property "MAX_VALUE"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A3.js deleted file mode 100644 index aa9265b574..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A3.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3_A3; - * @section: 15.7.3; - * @assertion: The Number constructor has the property "MIN_VALUE"; - * @description: Checking existence of the property "MIN_VALUE"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3_A3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A3.js", - -assertion: "The Number constructor has the property \"MIN_VALUE\"", - -description: "Checking existence of the property \"MIN_VALUE\"", - -test: function testcase() { - if(!Number.hasOwnProperty("MIN_VALUE")){ - $ERROR('#1: The Number constructor has the property "MIN_VALUE"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A4.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A4.js deleted file mode 100644 index bac3d0d39d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A4.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3_A4; - * @section: 15.7.3; - * @assertion: The Number constructor has the property "NaN"; - * @description: Checking existence of the property "NaN"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3_A4", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A4.js", - -assertion: "The Number constructor has the property \"NaN\"", - -description: "Checking existence of the property \"NaN\"", - -test: function testcase() { - if(!Number.hasOwnProperty("NaN")){ - $ERROR('#1: The Number constructor has the property "NaN"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A5.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A5.js deleted file mode 100644 index 7c80ccc747..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A5.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3_A5; - * @section: 15.7.3; - * @assertion: The Number constructor has the property "NEGATIVE_INFINITY"; - * @description: Checking existence of the property "NEGATIVE_INFINITY"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3_A5", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A5.js", - -assertion: "The Number constructor has the property \"NEGATIVE_INFINITY\"", - -description: "Checking existence of the property \"NEGATIVE_INFINITY\"", - -test: function testcase() { - if(!Number.hasOwnProperty("NEGATIVE_INFINITY")){ - $ERROR('#1: The Number constructor has the property "NEGATIVE_INFINITY"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A6.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A6.js deleted file mode 100644 index 9969c6acfe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A6.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.3_A6; - * @section: 15.7.3; - * @assertion: The Number constructor has the property "POSITIVE_INFINITY"; - * @description: Checking existence of the property "POSITIVE_INFINITY"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3_A6", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A6.js", - -assertion: "The Number constructor has the property \"POSITIVE_INFINITY\"", - -description: "Checking existence of the property \"POSITIVE_INFINITY\"", - -test: function testcase() { - if(!Number.hasOwnProperty("POSITIVE_INFINITY")){ - $ERROR('#1: The Number constructor has the property "POSITIVE_INFINITY"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A7.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A7.js deleted file mode 100644 index cf44626e24..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A7.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.7.3_A7; -* @section: 15.7.3; -* @assertion: The value of the internal [[Prototype]] property of the Number -* constructor is the Function prototype object; -* @description: Checking Function.prototype.isPrototypeOf(Number); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3_A7", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A7.js", - -assertion: "The value of the internal [[Prototype]] property of the Number", - -description: "Checking Function.prototype.isPrototypeOf(Number)", - -test: function testcase() { - //CHECK#1 -if (!(Function.prototype.isPrototypeOf(Number))) { - $ERROR('#1: the value of the internal [[Prototype]] property of the Number constructor is the Function prototype object.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A8.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A8.js deleted file mode 100644 index ed9f8f4ad2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A8.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.7.3_A8; -* @section: 15.7.3; -* @assertion: Number constructor has length property whose value is 1; -* @description: Checking Number.length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.3_A8", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/S15.7.3_A8.js", - -assertion: "Number constructor has length property whose value is 1", - -description: "Checking Number.length property", - -test: function testcase() { - //CHECK#1 -if (!Number.hasOwnProperty("length")){ - $ERROR('#1: Number constructor has length property'); -} - -//CHECK#2 -if (Number.length !== 1) { - $ERROR('#2: Number constructor length property value is 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.1_Number.prototype.constructor/S15.7.4.1_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.1_Number.prototype.constructor/S15.7.4.1_A1.js deleted file mode 100644 index db719f40be..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.1_Number.prototype.constructor/S15.7.4.1_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.1_A1; - * @section: 15.7.4.1; - * @assertion: The initial value of Number.prototype.constructor is the - * built-in Number constructor; - * @description: Compare Number.prototype.constructor with Number; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.1_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.1_Number.prototype.constructor/S15.7.4.1_A1.js", - -assertion: "The initial value of Number.prototype.constructor is the", - -description: "Compare Number.prototype.constructor with Number", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.constructor !== Number){ - $ERROR('#1: Number.prototype.constructor === Number'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T01.js deleted file mode 100644 index 0f1e48a622..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T01.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A1_T01; - * @section: 15.7.4.2; - * @assertion: toString: If radix is the number 10 or undefined, then this - * number value is given as an argument to the ToString operator. - * the resulting string value is returned; - * @description: undefined radix; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A1_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T01.js", - -assertion: "toString: If radix is the number 10 or undefined, then this", - -description: "undefined radix", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString() !== "0"){ - $ERROR('#1: Number.prototype.toString() === "0"'); -} - -//CHECK#2 -if((new Number()).toString() !== "0"){ - $ERROR('#2: (new Number()).toString() === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString() !== "0"){ - $ERROR('#3: (new Number(0)).toString() === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString() !== "-1"){ - $ERROR('#4: (new Number(-1)).toString() === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString() !== "1"){ - $ERROR('#5: (new Number(1)).toString() === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString() !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString() === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString() !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString() === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString() !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString() === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T02.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T02.js deleted file mode 100644 index 09357b5218..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T02.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A1_T02; - * @section: 15.7.4.2; - * @assertion: toString: If radix is the number 10 or undefined, then this - * number value is given as an argument to the ToString operator. - * the resulting string value is returned; - * @description: radix is 10; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A1_T02", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T02.js", - -assertion: "toString: If radix is the number 10 or undefined, then this", - -description: "radix is 10", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(10) !== "0"){ - $ERROR('#1: Number.prototype.toString(10) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(10) !== "0"){ - $ERROR('#2: (new Number()).toString(10) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(10) !== "0"){ - $ERROR('#3: (new Number(0)).toString(10) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(10) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(10) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(10) !== "1"){ - $ERROR('#5: (new Number(1)).toString(10) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(10) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(10) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(10) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(10) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(10) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(10) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T03.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T03.js deleted file mode 100644 index 29fd9d8362..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T03.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A1_T03; - * @section: 15.7.4.2; - * @assertion: toString: If radix is the number 10 or undefined, then this - * number value is given as an argument to the ToString operator. - * the resulting string value is returned; - * @description: radix is undefined value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A1_T03", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A1_T03.js", - -assertion: "toString: If radix is the number 10 or undefined, then this", - -description: "radix is undefined value", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(undefined) !== "0"){ - $ERROR('#1: Number.prototype.toString(undefined) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(undefined) !== "0"){ - $ERROR('#2: (new Number()).toString(undefined) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(undefined) !== "0"){ - $ERROR('#3: (new Number(0)).toString(undefined) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(undefined) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(undefined) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(undefined) !== "1"){ - $ERROR('#5: (new Number(1)).toString(undefined) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(undefined) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(undefined) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(undefined) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(undefined) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(undefined) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(undefined) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T01.js deleted file mode 100644 index c9c5f637c5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T01.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T01; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 2; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T01.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 2", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(2) !== "0"){ - $ERROR('#1: Number.prototype.toString(2) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(2) !== "0"){ - $ERROR('#2: (new Number()).toString(2) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(2) !== "0"){ - $ERROR('#3: (new Number(0)).toString(2) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(2) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(2) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(2) !== "1"){ - $ERROR('#5: (new Number(1)).toString(2) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(2) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(2) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(2) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(2) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(2) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(2) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T02.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T02.js deleted file mode 100644 index a9fad534a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T02.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T02; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 3; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T02", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T02.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 3", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(3) !== "0"){ - $ERROR('#1: Number.prototype.toString(3) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(3) !== "0"){ - $ERROR('#2: (new Number()).toString(3) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(3) !== "0"){ - $ERROR('#3: (new Number(0)).toString(3) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(3) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(3) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(3) !== "1"){ - $ERROR('#5: (new Number(1)).toString(3) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(3) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(3) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(3) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(3) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(3) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(3) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T03.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T03.js deleted file mode 100644 index c2e9e83807..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T03.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T03; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 4; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T03", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T03.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 4", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(4) !== "0"){ - $ERROR('#1: Number.prototype.toString(4) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(4) !== "0"){ - $ERROR('#2: (new Number()).toString(4) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(4) !== "0"){ - $ERROR('#3: (new Number(0)).toString(4) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(4) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(4) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(4) !== "1"){ - $ERROR('#5: (new Number(1)).toString(4) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(4) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(4) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(4) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(4) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(4) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(4) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T04.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T04.js deleted file mode 100644 index fe8016d995..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T04.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T04; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 5; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T04", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T04.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 5", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(5) !== "0"){ - $ERROR('#1: Number.prototype.toString(5) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(5) !== "0"){ - $ERROR('#2: (new Number()).toString(5) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(5) !== "0"){ - $ERROR('#3: (new Number(0)).toString(5) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(5) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(5) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(5) !== "1"){ - $ERROR('#5: (new Number(1)).toString(5) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(5) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(5) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(5) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(5) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(5) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(5) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T05.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T05.js deleted file mode 100644 index bd2459e901..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T05.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T05; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 6; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T05", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T05.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 6", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(6) !== "0"){ - $ERROR('#1: Number.prototype.toString(6) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(6) !== "0"){ - $ERROR('#2: (new Number()).toString(6) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(6) !== "0"){ - $ERROR('#3: (new Number(0)).toString(6) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(6) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(6) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(6) !== "1"){ - $ERROR('#5: (new Number(1)).toString(6) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(6) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(6) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(6) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(6) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(6) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(6) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T06.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T06.js deleted file mode 100644 index 31d2e59c2c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T06.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T06; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 7; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T06", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T06.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 7", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(7) !== "0"){ - $ERROR('#1: Number.prototype.toString(7) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(7) !== "0"){ - $ERROR('#2: (new Number()).toString(7) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(7) !== "0"){ - $ERROR('#3: (new Number(0)).toString(7) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(7) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(7) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(7) !== "1"){ - $ERROR('#5: (new Number(1)).toString(7) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(7) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(7) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(7) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(7) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(7) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(7) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T07.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T07.js deleted file mode 100644 index 3f60969b8c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T07.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T07; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 8; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T07", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T07.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 8", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(8) !== "0"){ - $ERROR('#1: Number.prototype.toString(8) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(8) !== "0"){ - $ERROR('#2: (new Number()).toString(8) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(8) !== "0"){ - $ERROR('#3: (new Number(0)).toString(8) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(8) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(8) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(8) !== "1"){ - $ERROR('#5: (new Number(1)).toString(8) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(8) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(8) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(8) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(8) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(8) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(8) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T08.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T08.js deleted file mode 100644 index 8d90980874..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T08.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T08; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 9; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T08", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T08.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 9", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(9) !== "0"){ - $ERROR('#1: Number.prototype.toString(9) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(9) !== "0"){ - $ERROR('#2: (new Number()).toString(9) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(9) !== "0"){ - $ERROR('#3: (new Number(0)).toString(9) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(9) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(9) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(9) !== "1"){ - $ERROR('#5: (new Number(1)).toString(9) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(9) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(9) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(9) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(9) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(9) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(9) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T09.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T09.js deleted file mode 100644 index 599ca4ca68..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T09.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T09; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 11; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T09", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T09.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 11", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(11) !== "0"){ - $ERROR('#1: Number.prototype.toString(11) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(11) !== "0"){ - $ERROR('#2: (new Number()).toString(11) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(11) !== "0"){ - $ERROR('#3: (new Number(0)).toString(11) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(11) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(11) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(11) !== "1"){ - $ERROR('#5: (new Number(1)).toString(11) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(11) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(11) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(11) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(11) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(11) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(11) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T10.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T10.js deleted file mode 100644 index 2af363344a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T10.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T10; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 12; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T10", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T10.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 12", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(12) !== "0"){ - $ERROR('#1: Number.prototype.toString(12) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(12) !== "0"){ - $ERROR('#2: (new Number()).toString(12) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(12) !== "0"){ - $ERROR('#3: (new Number(0)).toString(12) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(12) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(12) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(12) !== "1"){ - $ERROR('#5: (new Number(1)).toString(12) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(12) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(12) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(12) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(12) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(12) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(12) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T11.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T11.js deleted file mode 100644 index db9a0cceda..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T11.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T11; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 13; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T11", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T11.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 13", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(13) !== "0"){ - $ERROR('#1: Number.prototype.toString(13) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(13) !== "0"){ - $ERROR('#2: (new Number()).toString(13) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(13) !== "0"){ - $ERROR('#3: (new Number(0)).toString(13) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(13) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(13) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(13) !== "1"){ - $ERROR('#5: (new Number(1)).toString(13) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(13) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(13) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(13) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(13) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(13) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(13) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T12.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T12.js deleted file mode 100644 index 8c89a3f300..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T12.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T12; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 14; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T12", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T12.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 14", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(14) !== "0"){ - $ERROR('#1: Number.prototype.toString(14) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(14) !== "0"){ - $ERROR('#2: (new Number()).toString(14) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(14) !== "0"){ - $ERROR('#3: (new Number(0)).toString(14) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(14) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(14) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(14) !== "1"){ - $ERROR('#5: (new Number(1)).toString(14) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(14) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(14) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(14) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(14) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(14) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(14) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T13.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T13.js deleted file mode 100644 index 4f21b521ce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T13.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T13; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 15; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T13", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T13.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 15", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(15) !== "0"){ - $ERROR('#1: Number.prototype.toString(15) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(15) !== "0"){ - $ERROR('#2: (new Number()).toString(15) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(15) !== "0"){ - $ERROR('#3: (new Number(0)).toString(15) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(15) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(15) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(15) !== "1"){ - $ERROR('#5: (new Number(1)).toString(15) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(15) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(15) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(15) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(15) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(15) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(15) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T14.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T14.js deleted file mode 100644 index 7384bb3281..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T14.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T14; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 16; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T14", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T14.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 16", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(16) !== "0"){ - $ERROR('#1: Number.prototype.toString(16) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(16) !== "0"){ - $ERROR('#2: (new Number()).toString(16) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(16) !== "0"){ - $ERROR('#3: (new Number(0)).toString(16) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(16) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(16) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(16) !== "1"){ - $ERROR('#5: (new Number(1)).toString(16) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(16) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(16) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(16) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(16) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(16) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(16) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T15.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T15.js deleted file mode 100644 index 3cb26f72f2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T15.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T15; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 17; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T15", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T15.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 17", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(17) !== "0"){ - $ERROR('#1: Number.prototype.toString(17) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(17) !== "0"){ - $ERROR('#2: (new Number()).toString(17) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(17) !== "0"){ - $ERROR('#3: (new Number(0)).toString(17) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(17) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(17) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(17) !== "1"){ - $ERROR('#5: (new Number(1)).toString(17) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(17) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(17) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(17) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(17) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(17) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(17) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T16.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T16.js deleted file mode 100644 index 4fc3198a38..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T16.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T16; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 18; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T16", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T16.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 18", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(18) !== "0"){ - $ERROR('#1: Number.prototype.toString(18) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(18) !== "0"){ - $ERROR('#2: (new Number()).toString(18) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(18) !== "0"){ - $ERROR('#3: (new Number(0)).toString(18) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(18) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(18) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(18) !== "1"){ - $ERROR('#5: (new Number(1)).toString(18) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(18) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(18) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(18) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(18) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(18) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(18) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T17.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T17.js deleted file mode 100644 index ee4d999d7f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T17.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T17; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 19; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T17", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T17.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 19", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(19) !== "0"){ - $ERROR('#1: Number.prototype.toString(19) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(19) !== "0"){ - $ERROR('#2: (new Number()).toString(19) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(19) !== "0"){ - $ERROR('#3: (new Number(0)).toString(19) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(19) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(19) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(19) !== "1"){ - $ERROR('#5: (new Number(1)).toString(19) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(19) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(19) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(19) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(19) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(19) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(19) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T18.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T18.js deleted file mode 100644 index 4901bbe3da..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T18.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T18; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 20; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T18", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T18.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 20", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(20) !== "0"){ - $ERROR('#1: Number.prototype.toString(20) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(20) !== "0"){ - $ERROR('#2: (new Number()).toString(20) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(20) !== "0"){ - $ERROR('#3: (new Number(0)).toString(20) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(20) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(20) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(20) !== "1"){ - $ERROR('#5: (new Number(1)).toString(20) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(20) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(20) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(20) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(20) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(20) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(20) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T19.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T19.js deleted file mode 100644 index 83a35ddb21..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T19.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T19; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 21; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T19", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T19.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 21", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(21) !== "0"){ - $ERROR('#1: Number.prototype.toString(21) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(21) !== "0"){ - $ERROR('#2: (new Number()).toString(21) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(21) !== "0"){ - $ERROR('#3: (new Number(0)).toString(21) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(21) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(21) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(21) !== "1"){ - $ERROR('#5: (new Number(1)).toString(21) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(21) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(21) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(21) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(21) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(21) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(21) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T20.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T20.js deleted file mode 100644 index 388f696330..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T20.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T20; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 22; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T20", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T20.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 22", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(22) !== "0"){ - $ERROR('#1: Number.prototype.toString(22) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(22) !== "0"){ - $ERROR('#2: (new Number()).toString(22) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(22) !== "0"){ - $ERROR('#3: (new Number(0)).toString(22) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(22) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(22) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(22) !== "1"){ - $ERROR('#5: (new Number(1)).toString(22) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(22) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(22) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(22) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(22) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(22) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(22) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T21.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T21.js deleted file mode 100644 index 40b76310b6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T21.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T21; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 23; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T21", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T21.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 23", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(23) !== "0"){ - $ERROR('#1: Number.prototype.toString(23) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(23) !== "0"){ - $ERROR('#2: (new Number()).toString(23) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(23) !== "0"){ - $ERROR('#3: (new Number(0)).toString(23) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(23) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(23) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(23) !== "1"){ - $ERROR('#5: (new Number(1)).toString(23) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(23) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(23) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(23) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(23) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(23) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(23) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T22.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T22.js deleted file mode 100644 index 29eb838759..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T22.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T22; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 24; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T22", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T22.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 24", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(24) !== "0"){ - $ERROR('#1: Number.prototype.toString(24) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(24) !== "0"){ - $ERROR('#2: (new Number()).toString(24) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(24) !== "0"){ - $ERROR('#3: (new Number(0)).toString(24) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(24) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(24) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(24) !== "1"){ - $ERROR('#5: (new Number(1)).toString(24) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(24) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(24) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(24) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(24) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(24) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(24) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T23.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T23.js deleted file mode 100644 index 3c71f32eac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T23.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T23; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 25; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T23", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T23.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 25", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(25) !== "0"){ - $ERROR('#1: Number.prototype.toString(25) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(25) !== "0"){ - $ERROR('#2: (new Number()).toString(25) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(25) !== "0"){ - $ERROR('#3: (new Number(0)).toString(25) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(25) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(25) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(25) !== "1"){ - $ERROR('#5: (new Number(1)).toString(25) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(25) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(25) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(25) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(25) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(25) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(25) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T24.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T24.js deleted file mode 100644 index 9d8cab2544..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T24.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T24; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 26; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T24", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T24.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 26", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(26) !== "0"){ - $ERROR('#1: Number.prototype.toString(26) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(26) !== "0"){ - $ERROR('#2: (new Number()).toString(26) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(26) !== "0"){ - $ERROR('#3: (new Number(0)).toString(26) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(26) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(26) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(26) !== "1"){ - $ERROR('#5: (new Number(1)).toString(26) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(26) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(26) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(26) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(26) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(26) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(26) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T25.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T25.js deleted file mode 100644 index 96084a09c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T25.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T25; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 27; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T25", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T25.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 27", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(27) !== "0"){ - $ERROR('#1: Number.prototype.toString(27) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(27) !== "0"){ - $ERROR('#2: (new Number()).toString(27) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(27) !== "0"){ - $ERROR('#3: (new Number(0)).toString(27) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(27) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(27) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(27) !== "1"){ - $ERROR('#5: (new Number(1)).toString(27) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(27) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(27) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(27) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(27) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(27) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(27) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T26.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T26.js deleted file mode 100644 index d47b53346e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T26.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T26; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 28; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T26", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T26.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 28", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(28) !== "0"){ - $ERROR('#1: Number.prototype.toString(28) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(28) !== "0"){ - $ERROR('#2: (new Number()).toString(28) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(28) !== "0"){ - $ERROR('#3: (new Number(0)).toString(28) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(28) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(28) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(28) !== "1"){ - $ERROR('#5: (new Number(1)).toString(28) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(28) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(28) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(28) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(28) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(28) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(28) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T27.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T27.js deleted file mode 100644 index c2c6235812..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T27.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T27; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 29; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T27", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T27.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 29", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(29) !== "0"){ - $ERROR('#1: Number.prototype.toString(29) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(29) !== "0"){ - $ERROR('#2: (new Number()).toString(29) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(29) !== "0"){ - $ERROR('#3: (new Number(0)).toString(29) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(29) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(29) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(29) !== "1"){ - $ERROR('#5: (new Number(1)).toString(29) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(29) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(29) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(29) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(29) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(29) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(29) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T28.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T28.js deleted file mode 100644 index eacb33a6bf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T28.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T28; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 30; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T28", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T28.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 30", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(30) !== "0"){ - $ERROR('#1: Number.prototype.toString(30) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(30) !== "0"){ - $ERROR('#2: (new Number()).toString(30) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(30) !== "0"){ - $ERROR('#3: (new Number(0)).toString(30) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(30) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(30) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(30) !== "1"){ - $ERROR('#5: (new Number(1)).toString(30) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(30) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(30) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(30) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(30) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(30) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(30) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T29.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T29.js deleted file mode 100644 index 0bd059eac7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T29.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T29; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 31; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T29", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T29.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 31", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(31) !== "0"){ - $ERROR('#1: Number.prototype.toString(31) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(31) !== "0"){ - $ERROR('#2: (new Number()).toString(31) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(31) !== "0"){ - $ERROR('#3: (new Number(0)).toString(31) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(31) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(31) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(31) !== "1"){ - $ERROR('#5: (new Number(1)).toString(31) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(31) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(31) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(31) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(31) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(31) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(31) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T30.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T30.js deleted file mode 100644 index 421b511b36..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T30.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T30; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 32; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T30", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T30.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 32", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(32) !== "0"){ - $ERROR('#1: Number.prototype.toString(32) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(32) !== "0"){ - $ERROR('#2: (new Number()).toString(32) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(32) !== "0"){ - $ERROR('#3: (new Number(0)).toString(32) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(32) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(32) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(32) !== "1"){ - $ERROR('#5: (new Number(1)).toString(32) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(32) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(32) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(32) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(32) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(32) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(32) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T31.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T31.js deleted file mode 100644 index 36af710c4f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T31.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T31; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 33; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T31", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T31.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 33", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(33) !== "0"){ - $ERROR('#1: Number.prototype.toString(33) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(33) !== "0"){ - $ERROR('#2: (new Number()).toString(33) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(33) !== "0"){ - $ERROR('#3: (new Number(0)).toString(33) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(33) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(33) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(33) !== "1"){ - $ERROR('#5: (new Number(1)).toString(33) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(33) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(33) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(33) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(33) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(33) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(33) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T32.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T32.js deleted file mode 100644 index 4dbfeb097c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T32.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T32; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 34; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T32", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T32.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 34", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(34) !== "0"){ - $ERROR('#1: Number.prototype.toString(34) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(34) !== "0"){ - $ERROR('#2: (new Number()).toString(34) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(34) !== "0"){ - $ERROR('#3: (new Number(0)).toString(34) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(34) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(34) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(34) !== "1"){ - $ERROR('#5: (new Number(1)).toString(34) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(34) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(34) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(34) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(34) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(34) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(34) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T33.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T33.js deleted file mode 100644 index 85e4e46b02..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T33.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T33; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 35; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T33", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T33.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 35", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(35) !== "0"){ - $ERROR('#1: Number.prototype.toString(35) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(35) !== "0"){ - $ERROR('#2: (new Number()).toString(35) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(35) !== "0"){ - $ERROR('#3: (new Number(0)).toString(35) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(35) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(35) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(35) !== "1"){ - $ERROR('#5: (new Number(1)).toString(35) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(35) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(35) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(35) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(35) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(35) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(35) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T34.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T34.js deleted file mode 100644 index ff6f2529bf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T34.js +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A2_T34; - * @section: 15.7.4.2; - * @assertion: toString: If radix is an integer from 2 to 36, but not 10, - * the result is a string, the choice of which is implementation-dependent; - * @description: radix is 36; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A2_T34", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A2_T34.js", - -assertion: "toString: If radix is an integer from 2 to 36, but not 10,", - -description: "radix is 36", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toString(36) !== "0"){ - $ERROR('#1: Number.prototype.toString(36) === "0"'); -} - -//CHECK#2 -if((new Number()).toString(36) !== "0"){ - $ERROR('#2: (new Number()).toString(36) === "0"'); -} - -//CHECK#3 -if((new Number(0)).toString(36) !== "0"){ - $ERROR('#3: (new Number(0)).toString(36) === "0"'); -} - -//CHECK#4 -if((new Number(-1)).toString(36) !== "-1"){ - $ERROR('#4: (new Number(-1)).toString(36) === "-1"'); -} - -//CHECK#5 -if((new Number(1)).toString(36) !== "1"){ - $ERROR('#5: (new Number(1)).toString(36) === "1"'); -} - -//CHECK#6 -if((new Number(Number.NaN)).toString(36) !== "NaN"){ - $ERROR('#6: (new Number(Number.NaN)).toString(36) === "NaN"'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).toString(36) !== "Infinity"){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(36) === "Infinity"'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).toString(36) !== "-Infinity"){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(36) === "-Infinity"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T01.js deleted file mode 100644 index 8b15fcafd7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T01.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A3_T01; - * @section: 15.7.4.2; - * @assertion: toString: radix should be an integer between 2 and 36; - * @description: radix is 1; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A3_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T01.js", - -assertion: "toString: radix should be an integer between 2 and 36", - -description: "radix is 1", - -test: function testcase() { - //CHECK#1 -try{ - var n = Number.prototype.toString(1); - $ERROR('#1: Number.prototype.toString(1) should throw an Error'); -} -catch(e){ -} - -//CHECK#2 -try{ - var n = (new Number()).toString(1); - $ERROR('#2: (new Number()).toString(1) should throw an Error'); -} -catch(e){ -} - -//CHECK#3 -try{ - var n = (new Number(0)).toString(1); - $ERROR('#3: (new Number(0)).toString(1) should throw an Error'); -} -catch(e){ -} - -//CHECK#4 -try{ - var n = (new Number(-1)).toString(1); - $ERROR('#4: (new Number(-1)).toString(1) should throw an Error'); -} -catch(e){ -} - -//CHECK#5 -try{ - var n =(new Number(1)).toString(1); - $ERROR('#5: (new Number(1)).toString(1) should throw an Error'); -} -catch(e){ -} - -//CHECK#6 -try{ - var n =(new Number(Number.NaN)).toString(1); - $ERROR('#6: (new Number(Number.NaN)).toString(1) should throw an Error'); -} -catch(e){ -} - -//CHECK#7 -try{ - var n =(new Number(Number.POSITIVE_INFINITY)).toString(1); - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(1) should throw an Error'); -} -catch(e){ -} - -//CHECK#8 -try{ - var n =(new Number(Number.NEGATIVE_INFINITY)).toString(1); - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(1) should throw an Error'); -} -catch(e){ -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T02.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T02.js deleted file mode 100644 index fdd5e9747e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T02.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A3_T02; - * @section: 15.7.4.2; - * @assertion: toString: radix should be an integer between 2 and 36; - * @description: radix is 37; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A3_T02", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T02.js", - -assertion: "toString: radix should be an integer between 2 and 36", - -description: "radix is 37", - -test: function testcase() { - //CHECK#1 -try{ - var n =Number.prototype.toString(37); - $ERROR('#1: Number.prototype.toString(37) should throw an Error'); -} -catch(e){ -} - -//CHECK#2 -try{ - var n =(new Number()).toString(37); - $ERROR('#2: (new Number()).toString(37) should throw an Error'); -} -catch(e){ -} - -//CHECK#3 -try{ - var n =(new Number(0)).toString(37); - $ERROR('#3: (new Number(0)).toString(37) should throw an Error'); -} -catch(e){ -} - -//CHECK#4 -try{ - var n =(new Number(-1)).toString(37); - $ERROR('#4: (new Number(-1)).toString(37) should throw an Error'); -} -catch(e){ -} - -//CHECK#5 -try{ - var n =(new Number(1)).toString(37); - $ERROR('#5: (new Number(1)).toString(37) should throw an Error'); -} -catch(e){ -} - -//CHECK#6 -try{ - var n =(new Number(Number.NaN)).toString(37); - $ERROR('#6: (new Number(Number.NaN)).toString(37) should throw an Error'); -} -catch(e){ -} - -//CHECK#7 -try{ - var n =(new Number(Number.POSITIVE_INFINITY)).toString(37); - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(37) should throw an Error'); -} -catch(e){ -} - -//CHECK#8 -try{ - var n =(new Number(Number.NEGATIVE_INFINITY)).toString(37); - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(37) should throw an Error'); -} -catch(e){ -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T03.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T03.js deleted file mode 100644 index 735721b944..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T03.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A3_T03; - * @section: 15.7.4.2; - * @assertion: toString: radix should be an integer between 2 and 36; - * @description: radix is null value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A3_T03", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T03.js", - -assertion: "toString: radix should be an integer between 2 and 36", - -description: "radix is null value", - -test: function testcase() { - //CHECK#1 -try{ - var n = Number.prototype.toString(null); - $ERROR('#1: Number.prototype.toString(null) should throw an Error'); -} -catch(e){ -} - -//CHECK#2 -try{ - var n = (new Number()).toString(null); - $ERROR('#2: (new Number()).toString(null) should throw an Error'); -} -catch(e){ -} - -//CHECK#3 -try{ - var n = (new Number(0)).toString(null); - $ERROR('#3: (new Number(0)).toString(null) should throw an Error'); -} -catch(e){ -} - -//CHECK#4 -try{ - var n = (new Number(-1)).toString(null); - $ERROR('#4: (new Number(-1)).toString(null) should throw an Error'); -} -catch(e){ -} - -//CHECK#5 -try{ - var n = (new Number(1)).toString(null); - $ERROR('#5: (new Number(1)).toString(null) should throw an Error'); -} -catch(e){ -} - -//CHECK#6 -try{ - var n = (new Number(Number.NaN)).toString(null); - $ERROR('#6: (new Number(Number.NaN)).toString(null) should throw an Error'); -} -catch(e){ -} - -//CHECK#7 -try{ - var n = (new Number(Number.POSITIVE_INFINITY)).toString(null); - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(null) should throw an Error'); -} -catch(e){ -} - -//CHECK#8 -try{ - var n = (new Number(Number.NEGATIVE_INFINITY)).toString(null); - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(null) should throw an Error'); -} -catch(e){ -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T04.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T04.js deleted file mode 100644 index 6b71ab4e87..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T04.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A3_T04; - * @section: 15.7.4.2; - * @assertion: toString: radix should be an integer between 2 and 36; - * @description: radix is 0; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A3_T04", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A3_T04.js", - -assertion: "toString: radix should be an integer between 2 and 36", - -description: "radix is 0", - -test: function testcase() { - //CHECK#1 -try{ - var n = Number.prototype.toString(0); - $ERROR('#1: Number.prototype.toString(0) should throw an Error'); -} -catch(e){ -} - -//CHECK#2 -try{ - var n = (new Number()).toString(0); - $ERROR('#2: (new Number()).toString(0) should throw an Error'); -} -catch(e){ -} - -//CHECK#3 -try{ - var n = (new Number(0)).toString(0); - $ERROR('#3: (new Number(0)).toString(0) should throw an Error'); -} -catch(e){ -} - -//CHECK#4 -try{ - var n = (new Number(-1)).toString(0); - $ERROR('#4: (new Number(-1)).toString(0) should throw an Error'); -} -catch(e){ -} - -//CHECK#5 -try{ - var n = (new Number(1)).toString(0); - $ERROR('#5: (new Number(1)).toString(0) should throw an Error'); -} -catch(e){ -} - -//CHECK#6 -try{ - var n = (new Number(Number.NaN)).toString(0); - $ERROR('#6: (new Number(Number.NaN)).toString(0) should throw an Error'); -} -catch(e){ -} - -//CHECK#7 -try{ - var n = (new Number(Number.POSITIVE_INFINITY)).toString(0); - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).toString(0) should throw an Error'); -} -catch(e){ -} - -//CHECK#8 -try{ - var n = (new Number(Number.NEGATIVE_INFINITY)).toString(0); - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).toString(0) should throw an Error'); -} -catch(e){ -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T01.js deleted file mode 100644 index ee1f62a389..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T01.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A4_T01; - * @section: 15.7.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the String objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A4_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T01.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the String objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new String(); - s1.toString = Number.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = new String(); - s2.myToString = Number.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T02.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T02.js deleted file mode 100644 index 5d74101d4b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T02.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A4_T02; - * @section: 15.7.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the Boolean objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A4_T02", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T02.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the Boolean objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Boolean(); - s1.toString = Number.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = new Boolean(); - s2.myToString = Number.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T03.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T03.js deleted file mode 100644 index a97809aa16..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T03.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A4_T03; - * @section: 15.7.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the Date objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A4_T03", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T03.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the Date objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Date(); - s1.toString = Number.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = new Date(); - s2.myToString = Number.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T04.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T04.js deleted file mode 100644 index 6a1606eed7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T04.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A4_T04; - * @section: 15.7.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the Object objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A4_T04", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T04.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the Object objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Object(); - s1.toString = Number.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = new Object(); - s2.myToString = Number.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T05.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T05.js deleted file mode 100644 index 1e67d002a0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T05.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.2_A4_T05; - * @section: 15.7.4.2; - * @assertion: The toString function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the other objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.2_A4_T05", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.2_Number.prototype.toString/S15.7.4.2_A4_T05.js", - -assertion: "The toString function is not generic, it cannot be transferred", - -description: "transferring to the other objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = {x: 1}; - s1.toString = Number.prototype.toString; - var v1 = s1.toString(); - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = {x: 1}; - s2.myToString = Number.prototype.toString; - var v2 = s2.myToString(); - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.toString on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T01.js deleted file mode 100644 index 44a47894ff..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T01.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.4_A1_T01; - * @section: 15.7.4.4; - * @assertion: Number.prototype.valueOf() returns this number value; - * @description: Call without argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.4_A1_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T01.js", - -assertion: "Number.prototype.valueOf() returns this number value", - -description: "Call without argument", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.valueOf() !== 0){ - $ERROR('#1: Number.prototype.valueOf() === 0'); -} - -//CHECK#2 -if((new Number()).valueOf() !== 0){ - $ERROR('#2: (new Number()).valueOf() === 0'); -} - -//CHECK#3 -if((new Number(0)).valueOf() !== 0){ - $ERROR('#3: (new Number(0)).valueOf() === 0'); -} - -//CHECK#4 -if((new Number(-1)).valueOf() !== -1){ - $ERROR('#4: (new Number(-1)).valueOf() === -1'); -} - -//CHECK#5 -if((new Number(1)).valueOf() !== 1){ - $ERROR('#5: (new Number(1)).valueOf() === 1'); -} - -//CHECK#6 -if(!isNaN((new Number(Number.NaN)).valueOf())){ - $ERROR('#6: (new Number(Number.NaN)).valueOf() === NaN'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).valueOf() !== Number.POSITIVE_INFINITY){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).valueOf() === Infinity'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).valueOf() !== Number.NEGATIVE_INFINITY){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).valueOf() === -Infinity'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T02.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T02.js deleted file mode 100644 index d6d5139840..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T02.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.4_A1_T02; - * @section: 15.7.4.4; - * @assertion: Number.prototype.valueOf() returns this number value; - * @description: calling with argument; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.4_A1_T02", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A1_T02.js", - -assertion: "Number.prototype.valueOf() returns this number value", - -description: "calling with argument", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.valueOf("argument") !== 0){ - $ERROR('#1: Number.prototype.valueOf("argument") === 0'); -} - -//CHECK#2 -if((new Number()).valueOf("argument") !== 0){ - $ERROR('#2: (new Number()).valueOf("argument") === 0'); -} - -//CHECK#3 -if((new Number(0)).valueOf("argument") !== 0){ - $ERROR('#3: (new Number(0)).valueOf("argument") === 0'); -} - -//CHECK#4 -if((new Number(-1)).valueOf("argument") !== -1){ - $ERROR('#4: (new Number(-1)).valueOf("argument") === -1'); -} - -//CHECK#5 -if((new Number(1)).valueOf("argument") !== 1){ - $ERROR('#5: (new Number(1)).valueOf("argument") === 1'); -} - -//CHECK#6 -if(!isNaN((new Number(Number.NaN)).valueOf("argument"))){ - $ERROR('#6: (new Number(Number.NaN)).valueOf("argument") === NaN'); -} - -//CHECK#7 -if((new Number(Number.POSITIVE_INFINITY)).valueOf("argument") !== Number.POSITIVE_INFINITY){ - $ERROR('#7: (new Number(Number.POSITIVE_INFINITY)).valueOf("argument") === Infinity'); -} - -//CHECK#8 -if((new Number(Number.NEGATIVE_INFINITY)).valueOf("argument") !== Number.NEGATIVE_INFINITY){ - $ERROR('#8: (new Number(Number.NEGATIVE_INFINITY)).valueOf("argument") === -Infinity'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T01.js deleted file mode 100644 index a2a2b024b6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T01.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.4_A2_T01; - * @section: 15.7.4.4; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the String objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.4_A2_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T01.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the String objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new String(); - s1.valueOf = Number.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = new String(); - s2.myValueOf = Number.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T02.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T02.js deleted file mode 100644 index dcba85f782..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T02.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.4_A2_T02; - * @section: 15.7.4.4; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the Boolean objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.4_A2_T02", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T02.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the Boolean objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Boolean(); - s1.valueOf = Number.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = new Boolean(); - s2.myValueOf = Number.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T03.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T03.js deleted file mode 100644 index 1e0fcda63f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T03.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.4_A2_T03; - * @section: 15.7.4.4; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the Date objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.4_A2_T03", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T03.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the Date objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Date(); - s1.valueOf = Number.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = new Date(); - s2.myValueOf = Number.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T04.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T04.js deleted file mode 100644 index 19f2e89be3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T04.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.4_A2_T04; - * @section: 15.7.4.4; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the Object objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.4_A2_T04", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T04.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the Object objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = new Object(); - s1.valueOf = Number.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = new Object(); - s2.myValueOf = Number.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T05.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T05.js deleted file mode 100644 index 0a84f64f57..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T05.js +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.4_A2_T05; - * @section: 15.7.4.4; - * @assertion: The valueOf function is not generic, it cannot be transferred - * to other kinds of objects for use as a method and there is should be - * a TypeError exception if its this value is not a Number object; - * @description: transferring to the other objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.4_A2_T05", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.4_Number.prototype.valueOf/S15.7.4.4_A2_T05.js", - -assertion: "The valueOf function is not generic, it cannot be transferred", - -description: "transferring to the other objects", - -test: function testcase() { - //CHECK#1 -try{ - var s1 = {x: 1}; - s1.valueOf = Number.prototype.valueOf; - var v1 = s1.valueOf(); - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#1: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - -//CHECK#2 -try{ - var s2 = {x: 1}; - s2.myValueOf = Number.prototype.valueOf; - var v2 = s2.myValueOf(); - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError'); -} -catch(e){ - if(!(e instanceof TypeError)){ - $ERROR('#2: Number.prototype.valueOf on not a Number object should throw TypeError, not '+e); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T01.js deleted file mode 100644 index c975a30e57..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T01.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.5_A1.1_T01; - * @section: 15.7.4.5; - * @assertion: Step 1: Let f be ToInteger(fractionDigits). (If fractionDigits - * is undefined, this step produces the value 0); - * @description: calling on Number prototype object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.5_A1.1_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T01.js", - -assertion: "Step 1: Let f be ToInteger(fractionDigits). (If fractionDigits", - -description: "calling on Number prototype object", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toFixed() !== "0"){ - $ERROR('#1: Number.prototype.toFixed() === "0"'); -} - -//CHECK#2 -if(Number.prototype.toFixed(0) !== "0"){ - $ERROR('#2: Number.prototype.toFixed(0) === "0"'); -} - -//CHECK#3 -if(Number.prototype.toFixed(1) !== "0.0"){ - $ERROR('#3: Number.prototype.toFixed(1) === "0.0"'); -} - -//CHECK#4 -if(Number.prototype.toFixed(1.1) !== "0.0"){ - $ERROR('#4: Number.prototype.toFixed(1.1) === "0.0"'); -} - -//CHECK#5 -if(Number.prototype.toFixed(0.9) !== "0"){ - $ERROR('#5: Number.prototype.toFixed(0.9) === "0"'); -} - -//CHECK#6 -if(Number.prototype.toFixed("1") !== "0.0"){ - $ERROR('#6: Number.prototype.toFixed("1") === "0.0"'); -} - -//CHECK#7 -if(Number.prototype.toFixed("1.1") !== "0.0"){ - $ERROR('#7: Number.prototype.toFixed("1.1") === "0.0"'); -} - -//CHECK#8 -if(Number.prototype.toFixed("0.9") !== "0"){ - $ERROR('#8: Number.prototype.toFixed("0.9") === "0"'); -} - -//CHECK#9 -if(Number.prototype.toFixed(Number.NaN) !== "0"){ - $ERROR('#9: Number.prototype.toFixed(Number.NaN) === "0"'); -} - -//CHECK#10 -if(Number.prototype.toFixed("some string") !== "0"){ - $ERROR('#9: Number.prototype.toFixed("some string") === "0"'); -} - -//CHECK#10 -try{ - if(Number.prototype.toFixed(-0.1) !== "0"){ - $ERROR('#10: Number.prototype.toFixed(-0.1) === "0"'); - } -} -catch(e){ - $ERROR('#10: Number.prototype.toFixed(-0.1) should not throw '+e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T02.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T02.js deleted file mode 100644 index dfbde50da6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T02.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.5_A1.1_T02; - * @section: 15.7.4.5; - * @assertion: Step 1: Let f be ToInteger(fractionDigits). (If fractionDigits - * is undefined, this step produces the value 0); - * @description: calling on Number object; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.5_A1.1_T02", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.1_T02.js", - -assertion: "Step 1: Let f be ToInteger(fractionDigits). (If fractionDigits", - -description: "calling on Number object", - -test: function testcase() { - //CHECK#1 -if((new Number(1)).toFixed() !== "1"){ - $ERROR('#1: (new Number(1)).prototype.toFixed() === "1"'); -} - -//CHECK#2 -if((new Number(1)).toFixed(0) !== "1"){ - $ERROR('#2: (new Number(1)).prototype.toFixed(0) === "1"'); -} - -//CHECK#3 -if((new Number(1)).toFixed(1) !== "1.0"){ - $ERROR('#3: (new Number(1)).prototype.toFixed(1) === "1.0"'); -} - -//CHECK#4 -if((new Number(1)).toFixed(1.1) !== "1.0"){ - $ERROR('#4: (new Number(1)).toFixed(1.1) === "1.0"'); -} - -//CHECK#5 -if((new Number(1)).toFixed(0.9) !== "1"){ - $ERROR('#5: (new Number(1)).toFixed(0.9) === "1"'); -} - -//CHECK#6 -if((new Number(1)).toFixed("1") !== "1.0"){ - $ERROR('#6: (new Number(1)).toFixed("1") === "1.0"'); -} - -//CHECK#7 -if((new Number(1)).toFixed("1.1") !== "1.0"){ - $ERROR('#7: (new Number(1)).toFixed("1.1") === "1.0"'); -} - -//CHECK#8 -if((new Number(1)).toFixed("0.9") !== "1"){ - $ERROR('#8: (new Number(1)).toFixed("0.9") === "1"'); -} - -//CHECK#9 -if((new Number(1)).toFixed(Number.NaN) !== "1"){ - $ERROR('#9: (new Number(1)).toFixed(Number.NaN) === "1"'); -} - -//CHECK#10 -if((new Number(1)).toFixed("some string") !== "1"){ - $ERROR('#9: (new Number(1)).toFixed("some string") === "1"'); -} - -//CHECK#10 -try{ - if((new Number(1)).toFixed(-0.1) !== "1"){ - $ERROR('#10: (new Number(1)).toFixed(-0.1) === "1"'); - } -} -catch(e){ - $ERROR('#10: (new Number(1)).toFixed(-0.1) should not throw '+e); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T01.js deleted file mode 100644 index 09186b55d6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T01.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.5_A1.3_T01; - * @section: 15.7.4.5; - * @assertion: Step 4: If this number value is NaN, return the string "NaN"; - * @description: NaN is computed by new Number("string"); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.5_A1.3_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T01.js", - -assertion: "Step 4: If this number value is NaN, return the string \"NaN\"", - -description: "NaN is computed by new Number(\"string\")", - -test: function testcase() { - //CHECK#1 -if((new Number("a")).toFixed() !== "NaN"){ - $ERROR('#1: (new Number("a")).prototype.toFixed() === "NaN"'); -} - -//CHECK#2 -if((new Number("a")).toFixed(0) !== "NaN"){ - $ERROR('#2: (new Number("a")).prototype.toFixed(0) === "NaN"'); -} - -//CHECK#3 -if((new Number("a")).toFixed(1) !== "NaN"){ - $ERROR('#3: (new Number("a")).prototype.toFixed(1) === "NaN"'); -} - -//CHECK#4 -if((new Number("a")).toFixed(1.1) !== "NaN"){ - $ERROR('#4: (new Number("a")).toFixed(1.1) === "NaN"'); -} - -//CHECK#5 -if((new Number("a")).toFixed(0.9) !== "NaN"){ - $ERROR('#5: (new Number("a")).toFixed(0.9) === "NaN"'); -} - -//CHECK#6 -if((new Number("a")).toFixed("1") !== "NaN"){ - $ERROR('#6: (new Number("a")).toFixed("1") === "NaN"'); -} - -//CHECK#7 -if((new Number("a")).toFixed("1.1") !== "NaN"){ - $ERROR('#7: (new Number("a")).toFixed("1.1") === "NaN"'); -} - -//CHECK#8 -if((new Number("a")).toFixed("0.9") !== "NaN"){ - $ERROR('#8: (new Number("a")).toFixed("0.9") === "NaN"'); -} - -//CHECK#9 -if((new Number("a")).toFixed(Number.NaN) !== "NaN"){ - $ERROR('#9: (new Number("a")).toFixed(Number.NaN) === "NaN"'); -} - -//CHECK#10 -if((new Number("a")).toFixed("some string") !== "NaN"){ - $ERROR('#9: (new Number("a")).toFixed("some string") === "NaN"'); -} - -//CHECK#10 -try{ - s = (new Number("a")).toFixed(Number.POSITIVE_INFINITY); - $ERROR('#10: (new Number("a")).toFixed(Number.POSITIVE_INFINITY) should throw RangeError, not return NaN'); -} -catch(e){ - if(!(e instanceof RangeError)){ - $ERROR('#10: (new Number("a")).toFixed(Number.POSITIVE_INFINITY) should throw RangeError, not '+e); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T02.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T02.js deleted file mode 100644 index 36b149d984..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T02.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.5_A1.3_T02; - * @section: 15.7.4.5; - * @assertion: Step 4: If this number value is NaN, return the string "NaN"; - * @description: direct usage of NaN; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.5_A1.3_T02", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.3_T02.js", - -assertion: "Step 4: If this number value is NaN, return the string \"NaN\"", - -description: "direct usage of NaN", - -test: function testcase() { - //CHECK#1 -if(Number.NaN.toFixed() !== "NaN"){ - $ERROR('#1: Number.NaN.prototype.toFixed() === "NaN"'); -} - -//CHECK#2 -if(Number.NaN.toFixed(0) !== "NaN"){ - $ERROR('#2: Number.NaN.prototype.toFixed(0) === "NaN"'); -} - -//CHECK#3 -if(Number.NaN.toFixed(1) !== "NaN"){ - $ERROR('#3: Number.NaN.prototype.toFixed(1) === "NaN"'); -} - -//CHECK#4 -if(Number.NaN.toFixed(1.1) !== "NaN"){ - $ERROR('#4: Number.NaN.toFixed(1.1) === "NaN"'); -} - -//CHECK#5 -if(Number.NaN.toFixed(0.9) !== "NaN"){ - $ERROR('#5: Number.NaN.toFixed(0.9) === "NaN"'); -} - -//CHECK#6 -if(Number.NaN.toFixed("1") !== "NaN"){ - $ERROR('#6: Number.NaN.toFixed("1") === "NaN"'); -} - -//CHECK#7 -if(Number.NaN.toFixed("1.1") !== "NaN"){ - $ERROR('#7: Number.NaN.toFixed("1.1") === "NaN"'); -} - -//CHECK#8 -if(Number.NaN.toFixed("0.9") !== "NaN"){ - $ERROR('#8: Number.NaN.toFixed("0.9") === "NaN"'); -} - -//CHECK#9 -if(Number.NaN.toFixed(Number.NaN) !== "NaN"){ - $ERROR('#9: Number.NaN.toFixed(Number.NaN) === "NaN"'); -} - -//CHECK#10 -if(Number.NaN.toFixed("some string") !== "NaN"){ - $ERROR('#9: Number.NaN.toFixed("some string") === "NaN"'); -} - -//CHECK#10 -try{ - s = Number.NaN.toFixed(Number.POSITIVE_INFINITY); - $ERROR('#10: Number.NaN.toFixed(Number.POSITIVE_INFINITY) should throw RangeError, not return NaN'); -} -catch(e){ - if(!(e instanceof RangeError)){ - $ERROR('#10: Number.NaN.toFixed(Number.POSITIVE_INFINITY) should throw RangeError, not '+e); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.4_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.4_T01.js deleted file mode 100644 index 661b05545a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.4_T01.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.5_A1.4_T01; - * @section: 15.7.4.5; - * @assertion: Step 9: If x >= 10^21, let m = ToString(x); - * @description: x is 10^21; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.5_A1.4_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A1.4_T01.js", - -assertion: "Step 9: If x >= 10^21, let m = ToString(x)", - -description: "x is 10^21", - -test: function testcase() { - //CHECK#1 -if((new Number(1e21)).toFixed() !== String(1e21)){ - $ERROR('#1: (new Number(1e21)).prototype.toFixed() === String(1e21)'); -} - -//CHECK#2 -if((new Number(1e21)).toFixed(0) !== String(1e21)){ - $ERROR('#2: (new Number(1e21)).prototype.toFixed(0) === String(1e21)'); -} - -//CHECK#3 -if((new Number(1e21)).toFixed(1) !== String(1e21)){ - $ERROR('#3: (new Number(1e21)).prototype.toFixed(1) === String(1e21)'); -} - -//CHECK#4 -if((new Number(1e21)).toFixed(1.1) !== String(1e21)){ - $ERROR('#4: (new Number(1e21)).toFixed(1.1) === String(1e21)'); -} - -//CHECK#5 -if((new Number(1e21)).toFixed(0.9) !== String(1e21)){ - $ERROR('#5: (new Number(1e21)).toFixed(0.9) === String(1e21)'); -} - -//CHECK#6 -if((new Number(1e21)).toFixed("1") !== String(1e21)){ - $ERROR('#6: (new Number(1e21)).toFixed("1") === String(1e21)'); -} - -//CHECK#7 -if((new Number(1e21)).toFixed("1.1") !== String(1e21)){ - $ERROR('#7: (new Number(1e21)).toFixed("1.1") === String(1e21)'); -} - -//CHECK#8 -if((new Number(1e21)).toFixed("0.9") !== String(1e21)){ - $ERROR('#8: (new Number(1e21)).toFixed("0.9") === String(1e21)'); -} - -//CHECK#9 -if((new Number(1e21)).toFixed(Number.NaN) !== String(1e21)){ - $ERROR('#9: (new Number(1e21)).toFixed(Number.NaN) === String(1e21)'); -} - -//CHECK#10 -if((new Number(1e21)).toFixed("some string") !== String(1e21)){ - $ERROR('#9: (new Number(1e21)).toFixed("some string") === String(1e21)'); -} - -//CHECK#10 -try{ - s = (new Number(1e21)).toFixed(Number.POSITIVE_INFINITY); - $ERROR('#10: (new Number(1e21)).toFixed(Number.POSITIVE_INFINITY) should throw RangeError, not return NaN'); -} -catch(e){ - if(!(e instanceof RangeError)){ - $ERROR('#10: (new Number(1e21)).toFixed(Number.POSITIVE_INFINITY) should throw RangeError, not '+e); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A2_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A2_T01.js deleted file mode 100644 index 12577da657..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A2_T01.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4.5_A2_T01; - * @section: 15.7.4.5; - * @assertion: The length property of the toFixed method is 1; - * @description: Checking Number prototype itself; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4.5_A2_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/15.7.4.5_Number.prototype.toFixed/S15.7.4.5_A2_T01.js", - -assertion: "The length property of the toFixed method is 1", - -description: "Checking Number prototype itself", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.toFixed.hasOwnProperty("length") !== true){ - $ERROR('#1: The length property of the toFixed method is 1'); -} - -//CHECK#2 -if(Number.prototype.toFixed.length !== 1){ - $ERROR('#2: The length property of the toFixed method is 1'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A1.js deleted file mode 100644 index 5389f7332b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A1.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4_A1; - * @section: 15.7.4; - * @assertion: The Number prototype object is itself a Number object - * (its [[Class]] is "Number") whose value is +0; - * @description: Checking type and value of Number.prototype property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4_A1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A1.js", - -assertion: "The Number prototype object is itself a Number object", - -description: "Checking type and value of Number.prototype property", - -test: function testcase() { - //CHECK#1 -if (typeof Number.prototype !== "object") { - $ERROR('#1: typeof Number.prototype === "object"'); -} - -//CHECK#2 -if (Number.prototype != 0) { - $ERROR('#2: Number.prototype == +0'); -} else if( 1/Number.prototype != Number.POSITIVE_INFINITY){ - $ERROR('#2: Number.prototype == +0'); -} - -delete Number.prototype.toString; - -if (Number.prototype.toString() !== "[object Number]") { - $ERROR('#3: The [[Class]] property of the Number prototype object is set to "Number"'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A2.js deleted file mode 100644 index 542486db46..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4_A2; - * @section: 15.7.4; - * @assertion: The value of the internal [[Prototype]] property of the Number - * prototype object is the Object prototype object; - * @description: Checking Object.prototype.isPrototypeOf(Number.prototype); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4_A2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A2.js", - -assertion: "The value of the internal [[Prototype]] property of the Number", - -description: "Checking Object.prototype.isPrototypeOf(Number.prototype)", - -test: function testcase() { - //CHECK#1 -if (!Object.prototype.isPrototypeOf(Number.prototype)) { - $ERROR('#1: Object prototype object is the prototype of Number prototype object'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.1.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.1.js deleted file mode 100644 index df5ad817ae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4_A3.1; - * @section: 15.7.4; - * @assertion: The Number prototype object has the property constructor; - * @description: The test uses hasOwnProperty() method; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4_A3.1", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.1.js", - -assertion: "The Number prototype object has the property constructor", - -description: "The test uses hasOwnProperty() method", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.hasOwnProperty("constructor") !== true){ - $ERROR('#1: The Number prototype object has the property constructor'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.2.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.2.js deleted file mode 100644 index 6d2295f514..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.2.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4_A3.2; - * @section: 15.7.4; - * @assertion: The Number prototype object has the property toString; - * @description: The test uses hasOwnProperty() method; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4_A3.2", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.2.js", - -assertion: "The Number prototype object has the property toString", - -description: "The test uses hasOwnProperty() method", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.hasOwnProperty("toString") !== true){ - $ERROR('#1: The Number prototype object has the property toString'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.3.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.3.js deleted file mode 100644 index 2f2e3162a0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.3.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4_A3.3; - * @section: 15.7.4; - * @assertion: The Number prototype object has the property toLocaleString; - * @description: The test uses hasOwnProperty() method; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4_A3.3", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.3.js", - -assertion: "The Number prototype object has the property toLocaleString", - -description: "The test uses hasOwnProperty() method", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.hasOwnProperty("toLocaleString") !== true){ - $ERROR('#1: The Number prototype object has the property toLocaleString'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.4.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.4.js deleted file mode 100644 index 93fbd44a8b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4_A3.4; - * @section: 15.7.4; - * @assertion: The Number prototype object has the property valueOf; - * @description: The test uses hasOwnProperty() method; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4_A3.4", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.4.js", - -assertion: "The Number prototype object has the property valueOf", - -description: "The test uses hasOwnProperty() method", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.hasOwnProperty("valueOf") !== true){ - $ERROR('#1: The Number prototype object has the property valueOf'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.5.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.5.js deleted file mode 100644 index a790f7897f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4_A3.5; - * @section: 15.7.4; - * @assertion: The Number prototype object has the property toFixed; - * @description: The test uses hasOwnProperty() method; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4_A3.5", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.5.js", - -assertion: "The Number prototype object has the property toFixed", - -description: "The test uses hasOwnProperty() method", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.hasOwnProperty("toFixed") !== true){ - $ERROR('#1: The Number prototype object has the property toFixed'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.6.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.6.js deleted file mode 100644 index 9a22d06c9c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.6.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4_A3.6; - * @section: 15.7.4; - * @assertion: The Number prototype object has the property toExponential; - * @description: The test uses hasOwnProperty() method; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4_A3.6", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.6.js", - -assertion: "The Number prototype object has the property toExponential", - -description: "The test uses hasOwnProperty() method", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.hasOwnProperty("toExponential") !== true){ - $ERROR('#1: The Number prototype object has the property toExponential'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.7.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.7.js deleted file mode 100644 index 09b60c53c4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.7.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.4_A3.7; - * @section: 15.7.4; - * @assertion: The Number prototype object has the property toPrecision; - * @description: The test uses hasOwnProperty() method; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.4_A3.7", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.4_Properties_of_the_Number_Prototype_Object/S15.7.4_A3.7.js", - -assertion: "The Number prototype object has the property toPrecision", - -description: "The test uses hasOwnProperty() method", - -test: function testcase() { - //CHECK#1 -if(Number.prototype.hasOwnProperty("toPrecision") !== true){ - $ERROR('#1: The Number prototype object has the property toPrecision'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T01.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T01.js deleted file mode 100644 index e9ea367769..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T01.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.5_A1_T01; - * @section: 15.7.5; - * @assertion: Number instances have no special properties beyond those - * inherited from the Number prototype object; - * @description: Checking property constructor; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.5_A1_T01", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T01.js", - -assertion: "Number instances have no special properties beyond those", - -description: "Checking property constructor", - -test: function testcase() { - //CHECK#1 -if((new Number()).hasOwnProperty("constructor") !== false){ - $ERROR('#1: Number instance must have no special property "constructor"'); -} - -//CHECK#2 -if((new Number()).constructor !== Number.prototype.constructor){ - $ERROR('#2: Number instance property "constructor" must be inherited from Number prototype object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T02.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T02.js deleted file mode 100644 index 2ce751b9c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T02.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.5_A1_T02; - * @section: 15.7.5; - * @assertion: Number instances have no special properties beyond those - * inherited from the Number prototype object; - * @description: Checking property toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.5_A1_T02", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T02.js", - -assertion: "Number instances have no special properties beyond those", - -description: "Checking property toString", - -test: function testcase() { - //CHECK#1 -if((new Number()).hasOwnProperty("toString") !== false){ - $ERROR('#1: Number instance must have no special property "toString"'); -} - -//CHECK#2 -if((new Number()).toString !== Number.prototype.toString){ - $ERROR('#2: Number instance property "toString" must be inherited from Number prototype object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T03.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T03.js deleted file mode 100644 index 2bad79e246..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T03.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.5_A1_T03; - * @section: 15.7.5; - * @assertion: Number instances have no special properties beyond those - * inherited from the Number prototype object; - * @description: Checking property toLocaleString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.5_A1_T03", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T03.js", - -assertion: "Number instances have no special properties beyond those", - -description: "Checking property toLocaleString", - -test: function testcase() { - //CHECK#1 -if((new Number()).hasOwnProperty("toLocaleString") !== false){ - $ERROR('#1: Number instance must have no special property "toLocaleString"'); -} - -//CHECK#2 -if((new Number()).toLocaleString !== Number.prototype.toLocaleString){ - $ERROR('#2: Number instance property "toLocaleString" must be inherited from Number prototype object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T04.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T04.js deleted file mode 100644 index 546acaac95..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T04.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.5_A1_T04; - * @section: 15.7.5; - * @assertion: Number instances have no special properties beyond those - * inherited from the Number prototype object; - * @description: Checking property valueOf; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.5_A1_T04", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T04.js", - -assertion: "Number instances have no special properties beyond those", - -description: "Checking property valueOf", - -test: function testcase() { - //CHECK#1 -if((new Number()).hasOwnProperty("valueOf") !== false){ - $ERROR('#1: Number instance must have no special property "valueOf"'); -} - -//CHECK#2 -if((new Number()).valueOf !== Number.prototype.valueOf){ - $ERROR('#2: Number instance property "valueOf" must be inherited from Number prototype object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js deleted file mode 100644 index 66bb714120..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.5_A1_T05; - * @section: 15.7.5; - * @assertion: Number instances have no special properties beyond those - * inherited from the Number prototype object; - * @description: Checking property toFixed; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.5_A1_T05", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js", - -assertion: "Number instances have no special properties beyond those", - -description: "Checking property toFixed", - -test: function testcase() { - //CHECK#1 -if((new Number()).hasOwnProperty("toFixed") !== false){ - $ERROR('#1: Number instance must have no special property "toFixed"'); -} - -//CHECK#2 -if((new Number()).toFixed !== Number.prototype.toFixed){ - $ERROR('#2: Number instance property "toFixed" must be inherited from Number prototype object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T06.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T06.js deleted file mode 100644 index 8bdec7ce05..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T06.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.5_A1_T06; - * @section: 15.7.5; - * @assertion: Number instances have no special properties beyond those - * inherited from the Number prototype object; - * @description: Checking property toExponential; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.5_A1_T06", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T06.js", - -assertion: "Number instances have no special properties beyond those", - -description: "Checking property toExponential", - -test: function testcase() { - //CHECK#1 -if((new Number()).hasOwnProperty("toExponential") !== false){ - $ERROR('#1: Number instance must have no special property "toExponential"'); -} - -//CHECK#2 -if((new Number()).toExponential !== Number.prototype.toExponential){ - $ERROR('#2: Number instance property "toExponential" must be inherited from Number prototype object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T07.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T07.js deleted file mode 100644 index 71ae7cb41e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T07.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.7.5_A1_T07; - * @section: 15.7.5; - * @assertion: Number instances have no special properties beyond those - * inherited from the Number prototype object; - * @description: Checking property toPrecision; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.7.5_A1_T07", - -path: "TestCases/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T07.js", - -assertion: "Number instances have no special properties beyond those", - -description: "Checking property toPrecision", - -test: function testcase() { - //CHECK#1 -if((new Number()).hasOwnProperty("toPrecision") !== false){ - $ERROR('#1: Number instance must have no special property "toPrecision"'); -} - -//CHECK#2 -if((new Number()).toPrecision !== Number.prototype.toPrecision){ - $ERROR('#2: Number instance property "toPrecision" must be inherited from Number prototype object'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A1.js deleted file mode 100644 index f8d5cde10f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.1_A1; - * @section: 15.8.1.1; - * @assertion: Math.E is approximately 2.7182818284590452354; - * @description: Comparing Math.E with 2.7182818284590452354; - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.1_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A1.js", - -assertion: "Math.E is approximately 2.7182818284590452354", - -description: "Comparing Math.E with 2.7182818284590452354", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Math.E, 2.7182818284590452354)) { - $ERROR('#1: \'Math.E is not approximately equal to 2.7182818284590452354\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A2.js deleted file mode 100644 index ba8887f209..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.1_A2; - * @section: 15.8.1.1; - * @assertion: Value Property E of the Math Object has the attribute DontEnum; - * @description: Checking if Math.E property has the attribute DontEnum; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.1_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A2.js", - -assertion: "Value Property E of the Math Object has the attribute DontEnum", - -description: "Checking if Math.E property has the attribute DontEnum", - -test: function testcase() { - // CHECK#1 -for(x in Math) { - if(x === "E") { - $ERROR('#1: Value Property E of the Math Object hasn\'t attribute DontEnum: \'for(x in Math) {x==="E"}\''); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A3.js deleted file mode 100644 index b75ea1bf42..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.1_A3; - * @section: 15.8.1.1; - * @assertion: Value Property E of the Math Object has the attribute DontDelete; - * @description: Checking if Math.E property has the attribute DontDelete; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.1_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A3.js", - -assertion: "Value Property E of the Math Object has the attribute DontDelete", - -description: "Checking if Math.E property has the attribute DontDelete", - -test: function testcase() { - // CHECK#1 -if (delete Math.E === true) { - $ERROR('#1: Value Property E of the Math Object hasn\'t attribute DontDelete: \'Math.E === true\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A4.js deleted file mode 100644 index 76ef501de1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.1_A4; - * @section: 15.8.1.1; - * @assertion: Value Property E of the Math Object has the attribute ReadOnly; - * @description: Checking if Math.E property has the attribute ReadOnly; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.1_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.1_E/S15.8.1.1_A4.js", - -assertion: "Value Property E of the Math Object has the attribute ReadOnly", - -description: "Checking if Math.E property has the attribute ReadOnly", - -test: function testcase() { - // CHECK#1 -var x = Math.E; -Math.E = 1; -if (Math.E !== x) { - $ERROR('#1: Math.E hasn\'t ReadOnly: \'x = Math.E;Math.E = 1;Math.E === x\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A1.js deleted file mode 100644 index 9c838205ef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.2_A1; - * @section: 15.8.1.2; - * @assertion: Math.LN10 is approximately 2.302585092994046; - * @description: Comparing Math.LN10 with 2.302585092994046; - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.2_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A1.js", - -assertion: "Math.LN10 is approximately 2.302585092994046", - -description: "Comparing Math.LN10 with 2.302585092994046", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Math.LN10, 2.302585092994046)) { - $ERROR('#1: \'Math.LN10 is not approximately equal to 2.302585092994046\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A2.js deleted file mode 100644 index 53e8da0fa5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.2_A2; - * @section: 15.8.1.2; - * @assertion: Value Property LN10 of the Math Object has the attribute DontEnum; - * @description: Checking if Math.LN10 property has the attribute DontEnum; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.2_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A2.js", - -assertion: "Value Property LN10 of the Math Object has the attribute DontEnum", - -description: "Checking if Math.LN10 property has the attribute DontEnum", - -test: function testcase() { - // CHECK#1 -for(x in Math) { - if(x === "LN10") { - $ERROR('#1: Value Property LN10 of the Math Object hasn\'t attribute DontEnum: \'for(x in Math) {x==="LN10"}\''); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A3.js deleted file mode 100644 index 1beb2cb341..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.2_A3; - * @section: 15.8.1.2; - * @assertion: Value Property LN10 of the Math Object has the attribute DontDelete; - * @description: Checking if Math.LN10 property has the attribute DontDelete; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.2_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A3.js", - -assertion: "Value Property LN10 of the Math Object has the attribute DontDelete", - -description: "Checking if Math.LN10 property has the attribute DontDelete", - -test: function testcase() { - // CHECK#1 -if (delete Math.LN10 === true) { - $ERROR('#1: Value Property LN10 of the Math Object hasn\'t attribute DontDelete: \'Math.LN10 === true\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A4.js deleted file mode 100644 index b8abd6dd8f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.2_A4; - * @section: 15.8.1.2; - * @assertion: Value Property LN10 of the Math Object has the attribute ReadOnly; - * @description: Checking if Math.LN10 property has the attribute ReadOnly; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.2_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.2_LN10/S15.8.1.2_A4.js", - -assertion: "Value Property LN10 of the Math Object has the attribute ReadOnly", - -description: "Checking if Math.LN10 property has the attribute ReadOnly", - -test: function testcase() { - // CHECK#1 -var x = Math.LN10; -Math.LN10 = 1; -if (Math.LN10 !== x) { - $ERROR('#1: Math.LN10 hasn\'t ReadOnly: \'x = Math.LN10;Math.LN10 = 1;Math.LN10 === x\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A1.js deleted file mode 100644 index 23d76de1ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.3_A1; - * @section: 15.8.1.3; - * @assertion: Math.LN2 is approximately 0.6931471805599453; - * @description: Comparing Math.LN2 with 0.6931471805599453; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.3_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A1.js", - -assertion: "Math.LN2 is approximately 0.6931471805599453", - -description: "Comparing Math.LN2 with 0.6931471805599453", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Math.LN2, 0.6931471805599453)) { - $ERROR('#1: \'Math.LN2 is not approximately equal to 0.6931471805599453\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A2.js deleted file mode 100644 index 6fb7965228..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.3_A2; - * @section: 15.8.1.3; - * @assertion: Value Property LN2 of the Math Object has the attribute DontEnum; - * @description: Checking if Math.LN2 property has the attribute DontEnum; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.3_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A2.js", - -assertion: "Value Property LN2 of the Math Object has the attribute DontEnum", - -description: "Checking if Math.LN2 property has the attribute DontEnum", - -test: function testcase() { - // CHECK#1 -for(x in Math) { - if(x === "LN2") { - $ERROR('#1: Value Property LN2 of the Math Object hasn\'t attribute DontEnum: \'for(x in Math) {x==="LN2"}\''); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A3.js deleted file mode 100644 index 0b31557865..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.3_A3; - * @section: 15.8.1.3; - * @assertion: Value Property LN2 of the Math Object has the attribute DontDelete; - * @description: Checking if Math.LN2 property has the attribute DontDelete; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.3_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A3.js", - -assertion: "Value Property LN2 of the Math Object has the attribute DontDelete", - -description: "Checking if Math.LN2 property has the attribute DontDelete", - -test: function testcase() { - // CHECK#1 -if (delete Math.LN2 === true) { - $ERROR('#1: Value Property LN2 of the Math Object hasn\'t attribute DontDelete: \'Math.LN2 === true\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A4.js deleted file mode 100644 index c6d5a8da88..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.3_A4; - * @section: 15.8.1.3; - * @assertion: Value Property LN2 of the Math Object has the attribute ReadOnly; - * @description: Checking if Math.LN2 property has the attribute DontDelete; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.3_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.3_LN2/S15.8.1.3_A4.js", - -assertion: "Value Property LN2 of the Math Object has the attribute ReadOnly", - -description: "Checking if Math.LN2 property has the attribute DontDelete", - -test: function testcase() { - // CHECK#1 -var x = Math.LN2; -Math.LN2 = 1; -if (Math.LN2 !== x) { - $ERROR('#1: Math.LN2 hasn\'t ReadOnly: \'x = Math.LN2;Math.LN2 = 1;Math.LN2 === x\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A1.js deleted file mode 100644 index 9ae63fe7bd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.4_A1; - * @section: 15.8.1.4; - * @assertion: Math.LOG2E is approximately 1.4426950408889634; - * @description: Comparing Math.LOG2E with 1.4426950408889634; - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.4_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A1.js", - -assertion: "Math.LOG2E is approximately 1.4426950408889634", - -description: "Comparing Math.LOG2E with 1.4426950408889634", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Math.LOG2E, 1.4426950408889634)) { - $ERROR('#1: \'Math.LOG2E is not approximatley equal to 1.4426950408889634\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A2.js deleted file mode 100644 index 7fd1b75e39..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.4_A2; - * @section: 15.8.1.4; - * @assertion: Value Property LOG2E of the Math Object has the attribute DontEnum; - * @description: Checking if Math.LOG2E property has the attribute DontEnum; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.4_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A2.js", - -assertion: "Value Property LOG2E of the Math Object has the attribute DontEnum", - -description: "Checking if Math.LOG2E property has the attribute DontEnum", - -test: function testcase() { - // CHECK#1 -for(x in Math) { - if(x === "LOG2E") { - $ERROR('#1: Value Property LOG2E of the Math Object hasn\'t attribute DontEnum: \'for(x in Math) {x==="LOG2E"}\''); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A3.js deleted file mode 100644 index b0fbb4158b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.4_A3; - * @section: 15.8.1.4; - * @assertion: Value Property LOG2E of the Math Object has the attribute DontDelete; - * @description: Checking if Math.LOG2E property has the attribute DontDelete; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.4_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A3.js", - -assertion: "Value Property LOG2E of the Math Object has the attribute DontDelete", - -description: "Checking if Math.LOG2E property has the attribute DontDelete", - -test: function testcase() { - // CHECK#1 -if (delete Math.LOG2E === true) { - $ERROR('#1: Value Property LOG2E of the Math Object hasn\'t attribute DontDelete: \'Math.LOG2E === true\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A4.js deleted file mode 100644 index 51d621a7d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.4_A4; - * @section: 15.8.1.4; - * @assertion: Value Property LOG2E of the Math Object has the attribute ReadOnly; - * @description: Checking if Math.LOG2E property has the attribute ReadOnly; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.4_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.4_LOG2E/S15.8.1.4_A4.js", - -assertion: "Value Property LOG2E of the Math Object has the attribute ReadOnly", - -description: "Checking if Math.LOG2E property has the attribute ReadOnly", - -test: function testcase() { - // CHECK#1 -var x = Math.LOG2E; -Math.LOG2E = 1; -if (Math.LOG2E !== x) { - $ERROR('#1: Math.LOG2E hasn\'t ReadOnly: \'x = Math.LOG2E;Math.LOG2E = 1;Math.LOG2E === x\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A1.js deleted file mode 100644 index 8a6b611acd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.5_A1; - * @section: 15.8.1.5; - * @assertion: Math.LOG10E is approximately 0.4342944819032518; - * @description: Comparing Math.LOG10E with 0.4342944819032518; - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.5_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A1.js", - -assertion: "Math.LOG10E is approximately 0.4342944819032518", - -description: "Comparing Math.LOG10E with 0.4342944819032518", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Math.LOG10E, 0.4342944819032518)) { - $ERROR('#1: \'Math.LOG10E is not approximatley equal to 0.4342944819032518\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A2.js deleted file mode 100644 index 3e0737443c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.5_A2; - * @section: 15.8.1.5; - * @assertion: Value Property LOG10E of the Math Object has the attribute DontEnum; - * @description: Checking if Math.LOG10E property has the attribute DontEnum; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.5_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A2.js", - -assertion: "Value Property LOG10E of the Math Object has the attribute DontEnum", - -description: "Checking if Math.LOG10E property has the attribute DontEnum", - -test: function testcase() { - // CHECK#1 -for(x in Math) { - if(x === "LOG10E") { - $ERROR('#1: Value Property LOG10E of the Math Object hasn\'t attribute DontEnum: \'for(x in Math) {x==="LOG10E"}\''); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A3.js deleted file mode 100644 index 69a85970eb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.5_A3; - * @section: 15.8.1.5; - * @assertion: Value Property LOG10E of the Math Object has the attribute DontDelete; - * @description: Checking if Math.LOG10E property has the attribute DontDelete; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.5_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A3.js", - -assertion: "Value Property LOG10E of the Math Object has the attribute DontDelete", - -description: "Checking if Math.LOG10E property has the attribute DontDelete", - -test: function testcase() { - // CHECK#1 -if (delete Math.LOG10E === true) { - $ERROR('#1: Value Property LOG10E of the Math Object hasn\'t attribute DontDelete: \'Math.LOG10E === true\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A4.js deleted file mode 100644 index 0e6984f5a2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.5_A4; - * @section: 15.8.1.5; - * @assertion: Value Property LOG10E of the Math Object has the attribute ReadOnly; - * @description: Checking if Math.LOG10E property has the attribute ReadOnly; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.5_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A4.js", - -assertion: "Value Property LOG10E of the Math Object has the attribute ReadOnly", - -description: "Checking if Math.LOG10E property has the attribute ReadOnly", - -test: function testcase() { - // CHECK#1 -var x = Math.LOG10E; -Math.LOG10E = 1; -if (Math.LOG10E !== x) { - $ERROR('#1: Math.LOG10E hasn\'t ReadOnly: \'x = Math.LOG10E;Math.LOG10E = 1;Math.LOG10E === x\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A1.js deleted file mode 100644 index 46636c7df2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.6_A1; - * @section: 15.8.1.6; - * @assertion: Math.PI is approximately 3.1415926535897932; - * @description: Comparing Math.PI with 3.1415926535897932; - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.6_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A1.js", - -assertion: "Math.PI is approximately 3.1415926535897932", - -description: "Comparing Math.PI with 3.1415926535897932", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Math.PI, 3.1415926535897932)) { - $ERROR('#1: \'Math.PI is not approximatley equal to 3.1415926535897932\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A2.js deleted file mode 100644 index 355e193344..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.6_A2; - * @section: 15.8.1.6; - * @assertion: Value Property PI of the Math Object has the attribute DontEnum; - * @description: Checking if Math.PI property has the attribute DontEnum; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.6_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A2.js", - -assertion: "Value Property PI of the Math Object has the attribute DontEnum", - -description: "Checking if Math.PI property has the attribute DontEnum", - -test: function testcase() { - // CHECK#1 -for(x in Math) { - if(x === "PI") { - $ERROR('#1: Value Property PI of the Math Object hasn\'t attribute DontEnum: \'for(x in Math) {x==="PI"}\''); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A3.js deleted file mode 100644 index d7d479789e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.6_A3; - * @section: 15.8.1.6; - * @assertion: Value Property PI of the Math Object has the attribute DontDelete; - * @description: Checking if Math.PI property has the attribute DontDelete; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.6_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A3.js", - -assertion: "Value Property PI of the Math Object has the attribute DontDelete", - -description: "Checking if Math.PI property has the attribute DontDelete", - -test: function testcase() { - // CHECK#1 -if (delete Math.PI === true) { - $ERROR('#1: Value Property PI of the Math Object hasn\'t attribute DontDelete: \'Math.PI === true\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A4.js deleted file mode 100644 index f91f6acd1d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.6_A4; - * @section: 15.8.1.6; - * @assertion: Value Property PI of the Math Object has the attribute ReadOnly; - * @description: Checking if Math.PI property has the attribute ReadOnly; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.6_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.6_PI/S15.8.1.6_A4.js", - -assertion: "Value Property PI of the Math Object has the attribute ReadOnly", - -description: "Checking if Math.PI property has the attribute ReadOnly", - -test: function testcase() { - // CHECK#1 -var x = Math.PI; -Math.PI = 1; -if (Math.PI !== x) { - $ERROR('#1: Math.PI hasn\'t ReadOnly: \'x = Math.PI;Math.PI = 1;Math.PI === x\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A1.js deleted file mode 100644 index 9e66c684e0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.7_A1; - * @section: 15.8.1.7; - * @assertion: Math.SQRT1_2 is approximately 0.7071067811865476; - * @description: Comparing Math.SQRT1_2 with 0.7071067811865476; - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.7_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A1.js", - -assertion: "Math.SQRT1_2 is approximately 0.7071067811865476", - -description: "Comparing Math.SQRT1_2 with 0.7071067811865476", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Math.SQRT1_2, 0.7071067811865476)) { - $ERROR('#1: \'Math.SQRT1_2 is not approximatley equal to 0.7071067811865476\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A2.js deleted file mode 100644 index 43debfeeed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.7_A2; - * @section: 15.8.1.7; - * @assertion: Value Property SQRT1_2 of the Math Object has the attribute DontEnum; - * @description: Checking if Math.SQRT1_2 property has the attribute DontEnum; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.7_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A2.js", - -assertion: "Value Property SQRT1_2 of the Math Object has the attribute DontEnum", - -description: "Checking if Math.SQRT1_2 property has the attribute DontEnum", - -test: function testcase() { - // CHECK#1 -for(x in Math) { - if(x === "SQRT1_2") { - $ERROR('#1: Value Property SQRT1_2 of the Math Object hasn\'t attribute DontEnum: \'for(x in Math) {x==="SQRT1_2"}\''); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A3.js deleted file mode 100644 index 05529e110f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.7_A3; - * @section: 15.8.1.7; - * @assertion: Value Property SQRT1_2 of the Math Object has the attribute DontDelete; - * @description: Checking if Math.SQRT1_2 property has the attribute DontDelete; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.7_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A3.js", - -assertion: "Value Property SQRT1_2 of the Math Object has the attribute DontDelete", - -description: "Checking if Math.SQRT1_2 property has the attribute DontDelete", - -test: function testcase() { - // CHECK#1 -if (delete Math.SQRT1_2 === true) { - $ERROR("#1: Value Property SQRT1_2 of the Math Object hasn't attribute DontDelete: 'Math.SQRT1_2 === true'"); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A4.js deleted file mode 100644 index 5ee103ac35..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.7_A4; - * @section: 15.8.1.7; - * @assertion: Value Property SQRT1_2 of the Math Object has the attribute ReadOnly; - * @description: Checking if Math.SQRT1_2 property has the attribute ReadOnly; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.7_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.7_SQRT1_2/S15.8.1.7_A4.js", - -assertion: "Value Property SQRT1_2 of the Math Object has the attribute ReadOnly", - -description: "Checking if Math.SQRT1_2 property has the attribute ReadOnly", - -test: function testcase() { - // CHECK#1 -var x = Math.SQRT1_2; -Math.SQRT1_2 = 1; -if (Math.SQRT1_2 !== x) { - $ERROR('#1: Math.SQRT1_2 hasn\'t ReadOnly: \'x = Math.SQRT1_2;Math.SQRT1_2 = 1;Math.SQRT1_2 === x\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A1.js deleted file mode 100644 index aa4965567a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A1.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.8_A1; - * @section: 15.8.1.8; - * @assertion: Math.SQRT2 is approximately 1.4142135623730951; - * @description: Comparing Math.SQRT2 with 1.4142135623730951; - */ - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.8_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A1.js", - -assertion: "Math.SQRT2 is approximately 1.4142135623730951", - -description: "Comparing Math.SQRT2 with 1.4142135623730951", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -if (!isEqual(Math.SQRT2, 1.4142135623730951)) { - $ERROR('#1: \'Math.SQRT2 is not approximatley equal to 1.4142135623730951\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A2.js deleted file mode 100644 index 33921cdd34..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A2.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.8_A2; - * @section: 15.8.1.8; - * @assertion: Value Property SQRT2 of the Math Object has the attribute DontEnum; - * @description: Checking if Math.SQRT2 property has the attribute DontEnum; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.8_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A2.js", - -assertion: "Value Property SQRT2 of the Math Object has the attribute DontEnum", - -description: "Checking if Math.SQRT2 property has the attribute DontEnum", - -test: function testcase() { - // CHECK#1 -for(x in Math) { - if(x === "SQRT2") { - $ERROR('#1: Value Property SQRT2 of the Math Object hasn\'t attribute DontEnum: \'for(x in Math) {x==="SQRT2"}\''); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A3.js deleted file mode 100644 index ac1aa63595..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.8_A3; - * @section: 15.8.1.8; - * @assertion: Value Property SQRT2 of the Math Object has the attribute DontDelete; - * @description: Checking if Math.SQRT2 property has the attribute DontDelete; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.8_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A3.js", - -assertion: "Value Property SQRT2 of the Math Object has the attribute DontDelete", - -description: "Checking if Math.SQRT2 property has the attribute DontDelete", - -test: function testcase() { - // CHECK#1 -if (delete Math.SQRT2 === true) { - $ERROR('#1: Value Property SQRT2 of the Math Object hasn\'t attribute DontDelete: \'Math.SQRT2 === true\''); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A4.js deleted file mode 100644 index 7d50d746c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.1.8_A4; - * @section: 15.8.1.8; - * @assertion: Value Property SQRT2 of the Math Object has the attribute ReadOnly; - * @description: Checking if Math.SQRT2 property has the attribute ReadOnly; - * @strict_mode_negative - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.1.8_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.8_SQRT2/S15.8.1.8_A4.js", - -assertion: "Value Property SQRT2 of the Math Object has the attribute ReadOnly", - -description: "Checking if Math.SQRT2 property has the attribute ReadOnly", - -test: function testcase() { - // CHECK#1 -var x = Math.SQRT2; -Math.SQRT2 = 1; -if (Math.SQRT2 !== x) { - $ERROR('#1: Math.SQRT2 hasn\'t ReadOnly: \'x = Math.SQRT2;Math.SQRT2 = 1;Math.SQRT2 === x\''); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A1.js deleted file mode 100644 index ad731dc59f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.10_A1; - * @section: 15.8.2.10; - * @assertion: If x is NaN, Math.log(x) is NaN; - * @description: Checking if Math.log(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.10_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A1.js", - -assertion: "If x is NaN, Math.log(x) is NaN", - -description: "Checking if Math.log(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.log(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.log(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A2.js deleted file mode 100644 index f8e53a4f5f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.10_A2; - * @section: 15.8.2.10; - * @assertion: If x is less than 0, Math.log(x) is NaN; - * @description: Checking if Math.log(x) is NaN, where x is less than 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.10_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A2.js", - -assertion: "If x is less than 0, Math.log(x) is NaN", - -description: "Checking if Math.log(x) is NaN, where x is less than 0", - -test: function testcase() { - // CHECK#1 -var x = -0.000000000000001; -if (!isNaN(Math.log(x))) -{ - $ERROR("#1: 'var x=-0.000000000000001; isNaN(Math.log(x)) === false'"); -} - -// CHECK#2 -x = -1; -if (!isNaN(Math.log(x))) -{ - $ERROR("#1: 'var x=-1; isNaN(Math.log(x)) === false'"); -} - -// CHECK#3 -x = -Infinity; -if (!isNaN(Math.log(x))) -{ - $ERROR("#1: 'var x=-Infinity; isNaN(Math.log(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A3.js deleted file mode 100644 index bf50109532..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A3.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.10_A3; - * @section: 15.8.2.10; - * @assertion: If x is +0 or -0, Math.log(x) is -Infinity; - * @description: Checking if Math.log(+0) and Math.log(-0) equals to -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.10_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A3.js", - -assertion: "If x is +0 or -0, Math.log(x) is -Infinity", - -description: "Checking if Math.log(+0) and Math.log(-0) equals to -Infinity", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.log(x) !== -Infinity) -{ - $ERROR("#1: 'var x=+0; Math.log(x) !== -Infinity'"); -} - -// CHECK#2 -var x = -0; -if (Math.log(x) !== -Infinity) -{ - $ERROR("#1: 'var x=-0; Math.log(x) !== -Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A4.js deleted file mode 100644 index 2570c8c430..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.10_A4; - * @section: 15.8.2.10; - * @assertion: If x is 1, Math.log(x) is +0; - * @description: Checking if Math.log(1) equals to +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.10_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A4.js", - -assertion: "If x is 1, Math.log(x) is +0", - -description: "Checking if Math.log(1) equals to +0", - -test: function testcase() { - // CHECK#1 -var x = 1; -if (Math.log(x) !== +0) -{ - $ERROR("#1: 'var x=1; Math.log(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A5.js deleted file mode 100644 index db45d07b5c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.10_A5; - * @section: 15.8.2.10; - * @assertion: If x is +Infinity, Math.log(x) is +Infinity; - * @description: Checking if Math.log(+Infinity) equals to +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.10_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A5.js", - -assertion: "If x is +Infinity, Math.log(x) is +Infinity", - -description: "Checking if Math.log(+Infinity) equals to +Infinity", - -test: function testcase() { - // CHECK#1 -var x = +Infinity; -if (Math.log(x) !== +Infinity) -{ - $ERROR("#1: 'var x=+Infinity; Math.log(x) !== +Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A6.js deleted file mode 100644 index 1694c011c6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A6.js +++ /dev/null @@ -1,176 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.10_A6; - * @section: 15.8.2.10; - * @assertion: Math.log, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.log is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.10_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.10_log/S15.8.2.10_A6.js", - -assertion: "Math.log, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.log is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x = new Array(); -x[0] = 0.00000000000000000000; -x[1] = 0.25396825396825395000; -x[2] = 0.50793650793650791000; -x[3] = 0.76190476190476186000; -x[4] = 1.01587301587301580000; -x[5] = 1.26984126984126980000; -x[6] = 1.52380952380952370000; -x[7] = 1.77777777777777770000; -x[8] = 2.03174603174603160000; -x[9] = 2.28571428571428560000; -x[10] = 2.53968253968253950000; -x[11] = 2.79365079365079350000; -x[12] = 3.04761904761904740000; -x[13] = 3.30158730158730140000; -x[14] = 3.55555555555555540000; -x[15] = 3.80952380952380930000; -x[16] = 4.06349206349206330000; -x[17] = 4.31746031746031720000; -x[18] = 4.57142857142857120000; -x[19] = 4.82539682539682510000; -x[20] = 5.07936507936507910000; -x[21] = 5.33333333333333300000; -x[22] = 5.58730158730158700000; -x[23] = 5.84126984126984090000; -x[24] = 6.09523809523809490000; -x[25] = 6.34920634920634890000; -x[26] = 6.60317460317460280000; -x[27] = 6.85714285714285680000; -x[28] = 7.11111111111111070000; -x[29] = 7.36507936507936470000; -x[30] = 7.61904761904761860000; -x[31] = 7.87301587301587260000; -x[32] = 8.12698412698412650000; -x[33] = 8.38095238095238140000; -x[34] = 8.63492063492063440000; -x[35] = 8.88888888888888930000; -x[36] = 9.14285714285714230000; -x[37] = 9.39682539682539720000; -x[38] = 9.65079365079365030000; -x[39] = 9.90476190476190510000; -x[40] = 10.15873015873015800000; -x[41] = 10.41269841269841300000; -x[42] = 10.66666666666666600000; -x[43] = 10.92063492063492100000; -x[44] = 11.17460317460317400000; -x[45] = 11.42857142857142900000; -x[46] = 11.68253968253968200000; -x[47] = 11.93650793650793700000; -x[48] = 12.19047619047619000000; -x[49] = 12.44444444444444500000; -x[50] = 12.69841269841269800000; -x[51] = 12.95238095238095300000; -x[52] = 13.20634920634920600000; -x[53] = 13.46031746031746000000; -x[54] = 13.71428571428571400000; -x[55] = 13.96825396825396800000; -x[56] = 14.22222222222222100000; -x[57] = 14.47619047619047600000; -x[58] = 14.73015873015872900000; -x[59] = 14.98412698412698400000; -x[60] = 15.23809523809523700000; -x[61] = 15.49206349206349200000; -x[62] = 15.74603174603174500000; -x[63] = 16.00000000000000000000; - - - -var y = new Array(); -y[0] = -Infinity; -y[1] = -1.37054600415175140000; -y[2] = -0.67739882359180614000; -y[3] = -0.27193371548364181000; -y[4] = 0.01574835696813911200; -y[5] = 0.23889190828234888000; -y[6] = 0.42121346507630347000; -y[7] = 0.57536414490356180000; -y[8] = 0.70889553752808443000; -y[9] = 0.82667857318446791000; -y[10] = 0.93203908884229414000; -y[11] = 1.02734926864661900000; -y[12] = 1.11436064563624870000; -y[13] = 1.19440335330978530000; -y[14] = 1.26851132546350720000; -y[15] = 1.33750419695045860000; -y[16] = 1.40204271808802970000; -y[17] = 1.46266733990446450000; -y[18] = 1.51982575374441310000; -y[19] = 1.57389297501468910000; -y[20] = 1.62518626940223940000; -y[21] = 1.67397643357167160000; -y[22] = 1.72049644920656440000; -y[23] = 1.76494821177739820000; -y[24] = 1.80750782619619410000; -y[25] = 1.84832982071644910000; -y[26] = 1.88755053386973050000; -y[27] = 1.92529086185257750000; -y[28] = 1.96165850602345240000; -y[29] = 1.99674982583472250000; -y[30] = 2.03065137751040400000; -y[31] = 2.06344120033339480000; -y[32] = 2.09518989864797510000; -y[33] = 2.12596155731472880000; -y[34] = 2.15581452046440970000; -y[35] = 2.18480205733766210000; -y[36] = 2.21297293430435850000; -y[37] = 2.24037190849247290000; -y[38] = 2.26704015557463420000; -y[39] = 2.29301564197789490000; -y[40] = 2.31833344996218480000; -y[41] = 2.34302606255255650000; -y[42] = 2.36712361413161700000; -y[43] = 2.39065411154181100000; -y[44] = 2.41364362976650960000; -y[45] = 2.43611648561856820000; -y[46] = 2.45809539233734360000; -y[47] = 2.47960159755830700000; -y[48] = 2.50065500675613930000; -y[49] = 2.52127429395887500000; -y[50] = 2.54147700127639450000; -y[51] = 2.56127962857257430000; -y[52] = 2.58069771442967570000; -y[53] = 2.59974590940037050000; -y[54] = 2.61843804241252310000; -y[55] = 2.63678718108071930000; -y[56] = 2.65480568658339780000; -y[57] = 2.67250526368279880000; -y[58] = 2.68989700639466770000; -y[59] = 2.70699143975396780000; -y[60] = 2.72379855807034900000; -y[61] = 2.74032786002155990000; -y[62] = 2.75658838089334020000; -y[63] = 2.77258872223978110000; - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.log(x[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx = " + x[i] + "\nlibc.log(x) = " + y[i] + "\nMath.log(x) = " + Math.log(x[i]) + "\nMath.abs(libc.log(x) - Math.log(x)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A1.js deleted file mode 100644 index 2d9a1a174d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.11_A1; - * @section: 15.8.2.11; - * @assertion: If no arguments are given, Math.max() is -Infinity; - * @description: Checking if Math.max() equals to -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.11_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A1.js", - -assertion: "If no arguments are given, Math.max() is -Infinity", - -description: "Checking if Math.max() equals to -Infinity", - -test: function testcase() { - // CHECK#1 -if (Math.max() != -Infinity) -{ - $ERROR("#1: 'Math.max() != -Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A2.js deleted file mode 100644 index e428a38001..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A2.js +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.11_A2; - * @section: 15.8.2.11; - * @assertion: If any value is NaN, the result of Math.max is NaN; - * @description: The script tests Math.max giving 1, 2 and 3 arguments to the function where at least one of the arguments is NaN - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.11_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A2.js", - -assertion: "If any value is NaN, the result of Math.max is NaN", - -description: "The script tests Math.max giving 1, 2 and 3 arguments to the function where at least one of the arguments is NaN", - -test: function testcase() { - // CHECK#1 -if (!isNaN(Math.max(NaN))) -{ - $ERROR("#1: 'isNaN(Math.max(NaN)) === false"); -} - -// CHECK#2 -vals = new Array(); -vals[0] = -Infinity; -vals[1] = -0.000000000000001; -vals[2] = -0; -vals[3] = +0 -vals[4] = 0.000000000000001; -vals[5] = +Infinity; -vals[6] = NaN; -valnum = 7; - -args = new Array(); -for (i = 0; i <= 1; i++) -{ - args[i] = NaN; - for (j = 0; j < valnum; j++) - { - args[1-i] = vals[j]; - if (!isNaN(Math.max(args[0], args[1]))) - { - $ERROR("#2: 'isNaN(Math.max(" + args[0] + ", " + args[1] + ")) === false"); - } - } -} - -// CHECK #3 -var k = 1; -var l = 2; -for (i = 0; i <= 2; i++) -{ - args[i] = NaN; - if (i === 1) - { - k = 0; - } else if (i === 2) - { - l = 1; - } - for (j = 0; j < valnum; j++) - { - for (jj = 0; jj < valnum; jj++) - { - args[k] = vals[j]; - args[l] = vals[jj]; - if (!isNaN(Math.max(args[0], args[1], args[2]))) - { - $ERROR("#3: 'isNaN(Math.max(" + args[0] + ", " + args[1] + ", " + args[2] + ")) === false"); - } - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A3.js deleted file mode 100644 index 84189ee215..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.11_A3; - * @section: 15.8.2.11; - * @assertion: +0 is considered to be larger than -0; - * @description: Checking if Math.max(-0,+0) and Math.max(+0,-0) equals to +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.11_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A3.js", - -assertion: "+0 is considered to be larger than -0", - -description: "Checking if Math.max(-0,+0) and Math.max(+0,-0) equals to +0", - -test: function testcase() { - // CHECK#1 -if (Math.max(-0, +0) !== +0) -{ - $ERROR("#1: 'Math.max(-0, +0) !== +0'"); -} - -// CHECK#1 -if (Math.max(+0, -0) !== +0) -{ - $ERROR("#2: 'Math.max(+0, -0) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A4.js deleted file mode 100644 index 2e5c6fd676..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.11_A4; - * @section: 15.8.2.11; - * @assertion: The length property of the Math.max method is 2; - * @description: Checking if Math.max.length property is defined and equals to 2; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.11_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.11_max/S15.8.2.11_A4.js", - -assertion: "The length property of the Math.max method is 2", - -description: "Checking if Math.max.length property is defined and equals to 2", - -test: function testcase() { - // CHECK#1 -if (typeof Math.max !== "function") { - $ERROR('#1: Math.max method is not defined'); -} - -// CHECK#2 -if (typeof Math.max.length === "undefined") { - $ERROR('#2: length property of Math.max method is undefined'); -} - -// CHECK#3 -if (Math.max.length !== 2) { - $ERROR('#3: The length property of the Math.max method is not 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A1.js deleted file mode 100644 index 2898c36fa6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A1.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.12_A1; - * @section: 15.8.2.12; - * @assertion: If no arguments are given, Math.min() is +Infinity; - * @description: Checking if Math.min() equals to +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.12_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A1.js", - -assertion: "If no arguments are given, Math.min() is +Infinity", - -description: "Checking if Math.min() equals to +Infinity", - -test: function testcase() { - // CHECK#1 -if (Math.min() != +Infinity) -{ - $ERROR("#1: 'Math.min() != +Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A2.js deleted file mode 100644 index b9ffa0c536..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A2.js +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.12_A2; - * @section: 15.8.2.12; - * @assertion: If any value is NaN, the result of Math.min is NaN; - * @description: The script tests Math.min giving 1, 2 and 3 arguments to the function where at least one of the arguments is NaN - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.12_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A2.js", - -assertion: "If any value is NaN, the result of Math.min is NaN", - -description: "The script tests Math.min giving 1, 2 and 3 arguments to the function where at least one of the arguments is NaN", - -test: function testcase() { - // CHECK#1 -if (!isNaN(Math.min(NaN))) -{ - $ERROR("#1: 'isNaN(Math.min(NaN)) === false"); -} - -// CHECK#2 -vals = new Array(); -vals[0] = -Infinity; -vals[1] = -0.000000000000001; -vals[2] = -0; -vals[3] = +0 -vals[4] = 0.000000000000001; -vals[5] = +Infinity; -vals[6] = NaN; -valnum = 7; - -args = new Array(); -for (i = 0; i <= 1; i++) -{ - args[i] = NaN; - for (j = 0; j < valnum; j++) - { - args[1-i] = vals[j]; - if (!isNaN(Math.min(args[0], args[1]))) - { - $ERROR("#2: 'isNaN(Math.min(" + args[0] + ", " + args[1] + ")) === false"); - } - } -} - -// CHECK #3 -var k = 1; -var l = 2; -for (i = 0; i <= 2; i++) -{ - args[i] = NaN; - if (i === 1) - { - k = 0; - } else if (i === 2) - { - l = 1; - } - for (j = 0; j < valnum; j++) - { - for (jj = 0; jj < valnum; jj++) - { - args[k] = vals[j]; - args[l] = vals[jj]; - if (!isNaN(Math.min(args[0], args[1], args[2]))) - { - $ERROR("#3: 'isNaN(Math.min(" + args[0] + ", " + args[1] + ", " + args[2] + ")) === false"); - } - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A3.js deleted file mode 100644 index df214eb1b7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.12_A3; - * @section: 15.8.2.12; - * @assertion: +0 is considered to be larger than -0; - * @description: Checking if Math.max(-0,+0) and Math.max(+0,-0) equals to -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.12_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A3.js", - -assertion: "+0 is considered to be larger than -0", - -description: "Checking if Math.max(-0,+0) and Math.max(+0,-0) equals to -0", - -test: function testcase() { - // CHECK#1 -if (Math.max(-0, +0) !== -0) -{ - $ERROR("#1: 'Math.max(-0, +0) !== -0'"); -} - -// CHECK#1 -if (Math.max(+0, -0) !== -0) -{ - $ERROR("#2: 'Math.max(+0, -0) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A4.js deleted file mode 100644 index 3f1ab04486..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A4.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.12_A4; - * @section: 15.8.2.12; - * @assertion: The length property of the Math.min method is 2; - * @description: Checking if Math.min.length property is defined and equals to 2; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.12_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.12_min/S15.8.2.12_A4.js", - -assertion: "The length property of the Math.min method is 2", - -description: "Checking if Math.min.length property is defined and equals to 2", - -test: function testcase() { - // CHECK#1 -if (typeof Math.min !== "function") { - $ERROR('#1: Math.min method is not defined'); -} - -// CHECK#2 -if (typeof Math.min.length === "undefined") { - $ERROR('#2: length property of Math.min method is undefined'); -} - -// CHECK#3 -if (Math.min.length !== 2) { - $ERROR('#3: The length property of the Math.min method is not 2'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A1.js deleted file mode 100644 index a5489f8484..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A1.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A1; - * @section: 15.8.2.13; - * @assertion: If y is NaN, Math.pow(x,y) is NaN; - * @description: Checking if Math.pow(x,y) is NaN, where y is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A1.js", - -assertion: "If y is NaN, Math.pow(x,y) is NaN", - -description: "Checking if Math.pow(x,y) is NaN, where y is NaN", - -test: function testcase() { - // CHECK#1 - -y = NaN; -x = new Array(); -x[0] = -Infinity; -x[1] = -1.7976931348623157E308; //largest (by module) finite number -x[2] = -0.000000000000001; -x[3] = -0; -x[4] = +0 -x[5] = 0.000000000000001; -x[6] = 1.7976931348623157E308; //largest finite number -x[7] = +Infinity; -x[8] = NaN; -xnum = 9; - -for (i = 0; i < xnum; i++) -{ - if (!isNaN(Math.pow(x[i],y))) - { - $ERROR("#1: isNaN(Math.pow(" + x[i] + ", " + y + ")) === false"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A10.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A10.js deleted file mode 100644 index bac6a8b0da..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A10.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A10; - * @section: 15.8.2.13; - * @assertion: If abs(x)<1 and y is -Infinity, Math.pow(x,y) is +Infinity; - * @description: Checking if Math.pow(x,y) equals to +Infinity, where abs(x)<1 and y is -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A10", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A10.js", - -assertion: "If abs(x)<1 and y is -Infinity, Math.pow(x,y) is +Infinity", - -description: "Checking if Math.pow(x,y) equals to +Infinity, where abs(x)<1 and y is -Infinity", - -test: function testcase() { - // CHECK#1 - -y = -Infinity; -x = new Array(); -x[0] = 0.999999999999999; -x[1] = 0.5; -x[2] = +0; -x[3] = -0; -x[4] = -0.5; -x[5] = -0.999999999999999; -xnum = 6; - -for (i = 0; i < xnum; i++) -{ - if (Math.pow(x[i],y) !== +Infinity) - { - $ERROR("#1: Math.pow(" + x[i] + ", " + y + ") !== +Infinity"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A11.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A11.js deleted file mode 100644 index 266ecc238b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A11.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A11; - * @section: 15.8.2.13; - * @assertion: If x is +Infinity and y>0, Math.pow(x,y) is +Infinity; - * @description: Checking if Math.pow(x,y) equals to +Infinity, where x is +Infinity and y>0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A11", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A11.js", - -assertion: "If x is +Infinity and y>0, Math.pow(x,y) is +Infinity", - -description: "Checking if Math.pow(x,y) equals to +Infinity, where x is +Infinity and y>0", - -test: function testcase() { - // CHECK#1 - -x = +Infinity; -y = new Array(); -y[3] = Infinity; -y[2] = 1.7976931348623157E308; //largest (by module) finite number -y[1] = 1; -y[0] = 0.000000000000001; -ynum = 4; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== +Infinity) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== +Infinity"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A12.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A12.js deleted file mode 100644 index e06a8f72c8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A12.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A12; - * @section: 15.8.2.13; - * @assertion: If x is +Infinity and y<0, Math.pow(x,y) is +0; - * @description: Checking if Math.pow(x,y) equals to +0, where x is +Infinity and y<0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A12", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A12.js", - -assertion: "If x is +Infinity and y<0, Math.pow(x,y) is +0", - -description: "Checking if Math.pow(x,y) equals to +0, where x is +Infinity and y<0", - -test: function testcase() { - // CHECK#1 - -x = +Infinity; -y = new Array(); -y[0] = -Infinity; -y[1] = -1.7976931348623157E308; //largest (by module) finite number -y[2] = -1; -y[3] = -0.000000000000001; -ynum = 4; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== +0) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== +0"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A13.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A13.js deleted file mode 100644 index 09d5d24420..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A13.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A13; - * @section: 15.8.2.13; - * @assertion: If x is -Infinity and y>0 and y is an odd integer, Math.pow(x,y) is -Infinity; - * @description: Checking if Math.pow(x,y) equals to -Infinity, where x is -Infinity and y>0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A13", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A13.js", - -assertion: "If x is -Infinity and y>0 and y is an odd integer, Math.pow(x,y) is -Infinity", - -description: "Checking if Math.pow(x,y) equals to -Infinity, where x is -Infinity and y>0", - -test: function testcase() { - // CHECK#1 - -x = -Infinity; -y = new Array(); -y[0] = 1; -y[1] = 111; -y[2] = 111111; -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== -Infinity) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== -Infinity"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A14.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A14.js deleted file mode 100644 index db3c704ae8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A14.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A14; - * @section: 15.8.2.13; - * @assertion: If x is -Infinity and y>0 and y is NOT an odd integer, Math.pow(x,y) is +Infinity; - * @description: Checking if Math.pow(x,y) equals to +Infinity, where x is -Infinity and y>0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A14", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A14.js", - -assertion: "If x is -Infinity and y>0 and y is NOT an odd integer, Math.pow(x,y) is +Infinity", - -description: "Checking if Math.pow(x,y) equals to +Infinity, where x is -Infinity and y>0", - -test: function testcase() { - // CHECK#1 - -x = -Infinity; -y = new Array(); -y[0] = 0.000000000000001; -y[1] = 2; -y[2] = Math.PI; -y[3] = 1.7976931348623157E308; //largest finite number -y[4] = +Infinity; -ynum = 5; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== +Infinity) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== +Infinity"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A15.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A15.js deleted file mode 100644 index eda4fe37cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A15.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A15; - * @section: 15.8.2.13; - * @assertion: If x is -Infinity and y<0 and y is an odd integer, Math.pow(x,y) is -0; - * @description: Checking if Math.pow(x,y) equals to -0, where x is -Infinity and y<0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A15", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A15.js", - -assertion: "If x is -Infinity and y<0 and y is an odd integer, Math.pow(x,y) is -0", - -description: "Checking if Math.pow(x,y) equals to -0, where x is -Infinity and y<0", - -test: function testcase() { - // CHECK#1 - -x = -Infinity; -y = new Array(); -y[2] = -1; -y[1] = -111; -y[0] = -111111; -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== -0) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== -0"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A16.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A16.js deleted file mode 100644 index 38844dd365..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A16.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A16; - * @section: 15.8.2.13; - * @assertion: If x is -Infinity and y<0 and y is NOT an odd integer, Math.pow(x,y) is +0; - * @description: Checking if Math.pow(x,y) equals to +0, where x is -Infinity and y<0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A16", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A16.js", - -assertion: "If x is -Infinity and y<0 and y is NOT an odd integer, Math.pow(x,y) is +0", - -description: "Checking if Math.pow(x,y) equals to +0, where x is -Infinity and y<0", - -test: function testcase() { - // CHECK#1 - -x = -Infinity; -y = new Array(); -y[4] = -0.000000000000001; -y[3] = -2; -y[2] = -Math.PI; -y[1] = -1.7976931348623157E308; //largest (by module) finite number -y[0] = -Infinity; -ynum = 5; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== +0) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== +0"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A17.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A17.js deleted file mode 100644 index 28f026ab59..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A17.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A17; - * @section: 15.8.2.13; - * @assertion: If x is +0 and y>0, Math.pow(x,y) is +0; - * @description: Checking if Math.pow(x,y) equals to +0, where x is +0 and y>0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A17", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A17.js", - -assertion: "If x is +0 and y>0, Math.pow(x,y) is +0", - -description: "Checking if Math.pow(x,y) equals to +0, where x is +0 and y>0", - -test: function testcase() { - // CHECK#1 - -x = +0; -y = new Array(); -y[3] = Infinity; -y[2] = 1.7976931348623157E308; //largest finite number -y[1] = 1; -y[0] = 0.000000000000001; -ynum = 4; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== +0) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== +0"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A18.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A18.js deleted file mode 100644 index d90ac0ccd2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A18.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A18; - * @section: 15.8.2.13; - * @assertion: If x is +0 and y<0, Math.pow(x,y) is +Infinity; - * @description: Checking if Math.pow(x,y) equals to +Infinity, where x is +0 and y<0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A18", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A18.js", - -assertion: "If x is +0 and y<0, Math.pow(x,y) is +Infinity", - -description: "Checking if Math.pow(x,y) equals to +Infinity, where x is +0 and y<0", - -test: function testcase() { - // CHECK#1 - -x = +0; -y = new Array(); -y[0] = -Infinity; -y[1] = -1.7976931348623157E308; //largest (by module) finite number -y[2] = -1; -y[3] = -0.000000000000001; -ynum = 4; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== +Infinity) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== +Infinity"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A19.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A19.js deleted file mode 100644 index 83112905d8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A19.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A19; - * @section: 15.8.2.13; - * @assertion: If x is -0 and y>0 and y is an odd integer, Math.pow(x,y) is -0; - * @description: Checking if Math.pow(x,y) equals to -0, where x is -0 and y>0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A19", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A19.js", - -assertion: "If x is -0 and y>0 and y is an odd integer, Math.pow(x,y) is -0", - -description: "Checking if Math.pow(x,y) equals to -0, where x is -0 and y>0", - -test: function testcase() { - // CHECK#1 - -x = -0; -y = new Array(); -y[0] = 1; -y[1] = 111; -y[2] = 111111; -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== -0) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== -0"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A2.js deleted file mode 100644 index ffc246ebba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A2.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A2; - * @section: 15.8.2.13; - * @assertion: If y is +0, Math.pow(x,y) is 1, even if x is NaN; - * @description: Checking if Math.pow(x,y) equals to 1, where y is +0 and x is number or NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A2.js", - -assertion: "If y is +0, Math.pow(x,y) is 1, even if x is NaN", - -description: "Checking if Math.pow(x,y) equals to 1, where y is +0 and x is number or NaN", - -test: function testcase() { - // CHECK#1 - -y = +0; -x = new Array(); -x[0] = -Infinity; -x[1] = -1.7976931348623157E308; //largest (by module) finite number -x[2] = -0.000000000000001; -x[3] = -0; -x[4] = +0 -x[5] = 0.000000000000001; -x[6] = 1.7976931348623157E308; //largest finite number -x[7] = +Infinity; -x[8] = NaN; -xnum = 9; - -for (i = 0; i < xnum; i++) -{ - if (Math.pow(x[i],y) !== 1) - { - $ERROR("#1: Math.pow(" + x[i] + ", " + y + ") !== 1"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A20.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A20.js deleted file mode 100644 index d23f311781..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A20.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A20; - * @section: 15.8.2.13; - * @assertion: If x is -0 and y>0 and y is NOT an odd integer, Math.pow(x,y) is +0; - * @description: Checking if Math.pow(x,y) equals to +0, where x is -0 and y>0 and y is NOT an odd integer; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A20", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A20.js", - -assertion: "If x is -0 and y>0 and y is NOT an odd integer, Math.pow(x,y) is +0", - -description: "Checking if Math.pow(x,y) equals to +0, where x is -0 and y>0 and y is NOT an odd integer", - -test: function testcase() { - // CHECK#1 - -x = -0; -y = new Array(); -y[0] = 0.000000000000001; -y[1] = 2; -y[2] = Math.PI; -y[3] = 1.7976931348623157E308; //largest finite number -y[4] = +Infinity; -ynum = 5; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== +0) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== +0"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A21.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A21.js deleted file mode 100644 index e076eb516a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A21.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A21; - * @section: 15.8.2.13; - * @assertion: If x is -0 and y<0 and y is an odd integer, Math.pow(x,y) is -Infinity; - * @description: Checking if Math.pow(x,y) equals to -Infinity, where x is -0 and y is an odd integer; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A21", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A21.js", - -assertion: "If x is -0 and y<0 and y is an odd integer, Math.pow(x,y) is -Infinity", - -description: "Checking if Math.pow(x,y) equals to -Infinity, where x is -0 and y is an odd integer", - -test: function testcase() { - // CHECK#1 - -x = -0; -y = new Array(); -y[2] = -1; -y[1] = -111; -y[0] = -111111; -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== -Infinity) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== -Infinity"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A22.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A22.js deleted file mode 100644 index 3f0d4f8fb7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A22.js +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A22; - * @section: 15.8.2.13; - * @assertion: If x is -0 and y<0 and y is NOT an odd integer, Math.pow(x,y) is +Infinity; - * @description: Checking if Math.pow(x,y) equals to +Infinity, where x is -0 and y<0 and y is NOT an odd integer; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A22", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A22.js", - -assertion: "If x is -0 and y<0 and y is NOT an odd integer, Math.pow(x,y) is +Infinity", - -description: "Checking if Math.pow(x,y) equals to +Infinity, where x is -0 and y<0 and y is NOT an odd integer", - -test: function testcase() { - // CHECK#1 - -x = -0; -y = new Array(); -y[4] = -0.000000000000001; -y[3] = -2; -y[2] = -Math.PI; -y[1] = -1.7976931348623157E308; //largest (by module) finite number -y[0] = -Infinity; -ynum = 5; - -for (i = 0; i < ynum; i++) -{ - if (Math.pow(x,y[i]) !== +Infinity) - { - $ERROR("#1: Math.pow(" + x + ", " + y[i] + ") !== +Infinity"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js deleted file mode 100644 index c7a1ba241c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A23; - * @section: 15.8.2.13; - * @assertion: If x<0 and x is finite and y is finite and y is not an integer, Math.pow(x,y) is NaN; - * @description: Checking if Math.pow(x,y) is NaN, where x<0 and x is finite and y is finite and y is not an integer; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A23", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js", - -assertion: "If x<0 and x is finite and y is finite and y is not an integer, Math.pow(x,y) is NaN", - -description: "Checking if Math.pow(x,y) is NaN, where x<0 and x is finite and y is finite and y is not an integer", - -test: function testcase() { - // CHECK#1 - -y = NaN; -x = new Array(); -x[0] = -1.7976931348623157E308; //largest (by module) finite number -x[1] = -Math.PI; -x[2] = -1; -x[3] = -0.000000000000001; -xnum = 4; - -y[0] = -Math.PI; -y[1] = -Math.E; -y[2] = -1.000000000000001; -y[3] = -0.000000000000001; -y[4] = 0.000000000000001; -y[5] = 1.000000000000001; -y[6] = Math.E; -y[7] = Math.PI; -ynum = 8; - -for (i = 0; i < xnum; i++) - for (j = 0; j < ynum; j++) - if (!isNaN(Math.pow(x[i],y[j]))) - $ERROR("#1: isNaN(Math.pow(" + x[i] + ", " + y[j] + ")) === false"); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A24.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A24.js deleted file mode 100644 index 3df0469499..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A24.js +++ /dev/null @@ -1,244 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A24; - * @section: 15.8.2.13; - * @assertion: Math.pow, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.pow(argument1, argument2) is approximately equals to its mathematical value on the set of 64 argument1 values and 64 argument2 values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A24", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A24.js", - -assertion: "Math.pow, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.pow(argument1, argument2) is approximately equals to its mathematical value on the set of 64 argument1 values and 64 argument2 values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x1 = new Array(); -x1[0] = 0.00000000000000000000; -x1[1] = 0.25396825396825395000; -x1[2] = 0.50793650793650791000; -x1[3] = 0.76190476190476186000; -x1[4] = 1.01587301587301580000; -x1[5] = 1.26984126984126980000; -x1[6] = 1.52380952380952370000; -x1[7] = 1.77777777777777770000; -x1[8] = 2.03174603174603160000; -x1[9] = 2.28571428571428560000; -x1[10] = 2.53968253968253950000; -x1[11] = 2.79365079365079350000; -x1[12] = 3.04761904761904740000; -x1[13] = 3.30158730158730140000; -x1[14] = 3.55555555555555540000; -x1[15] = 3.80952380952380930000; -x1[16] = 4.06349206349206330000; -x1[17] = 4.31746031746031720000; -x1[18] = 4.57142857142857120000; -x1[19] = 4.82539682539682510000; -x1[20] = 5.07936507936507910000; -x1[21] = 5.33333333333333300000; -x1[22] = 5.58730158730158700000; -x1[23] = 5.84126984126984090000; -x1[24] = 6.09523809523809490000; -x1[25] = 6.34920634920634890000; -x1[26] = 6.60317460317460280000; -x1[27] = 6.85714285714285680000; -x1[28] = 7.11111111111111070000; -x1[29] = 7.36507936507936470000; -x1[30] = 7.61904761904761860000; -x1[31] = 7.87301587301587260000; -x1[32] = 8.12698412698412650000; -x1[33] = 8.38095238095238140000; -x1[34] = 8.63492063492063440000; -x1[35] = 8.88888888888888930000; -x1[36] = 9.14285714285714230000; -x1[37] = 9.39682539682539720000; -x1[38] = 9.65079365079365030000; -x1[39] = 9.90476190476190510000; -x1[40] = 10.15873015873015800000; -x1[41] = 10.41269841269841300000; -x1[42] = 10.66666666666666600000; -x1[43] = 10.92063492063492100000; -x1[44] = 11.17460317460317400000; -x1[45] = 11.42857142857142900000; -x1[46] = 11.68253968253968200000; -x1[47] = 11.93650793650793700000; -x1[48] = 12.19047619047619000000; -x1[49] = 12.44444444444444500000; -x1[50] = 12.69841269841269800000; -x1[51] = 12.95238095238095300000; -x1[52] = 13.20634920634920600000; -x1[53] = 13.46031746031746000000; -x1[54] = 13.71428571428571400000; -x1[55] = 13.96825396825396800000; -x1[56] = 14.22222222222222100000; -x1[57] = 14.47619047619047600000; -x1[58] = 14.73015873015872900000; -x1[59] = 14.98412698412698400000; -x1[60] = 15.23809523809523700000; -x1[61] = 15.49206349206349200000; -x1[62] = 15.74603174603174500000; -x1[63] = 16.00000000000000000000; - - - -var x2 = new Array(); -x2[0] = -16.00000000000000000000; -x2[1] = -15.49206349206349200000; -x2[2] = -14.98412698412698400000; -x2[3] = -14.47619047619047600000; -x2[4] = -13.96825396825396800000; -x2[5] = -13.46031746031746000000; -x2[6] = -12.95238095238095300000; -x2[7] = -12.44444444444444500000; -x2[8] = -11.93650793650793700000; -x2[9] = -11.42857142857142900000; -x2[10] = -10.92063492063492100000; -x2[11] = -10.41269841269841300000; -x2[12] = -9.90476190476190510000; -x2[13] = -9.39682539682539720000; -x2[14] = -8.88888888888888930000; -x2[15] = -8.38095238095238140000; -x2[16] = -7.87301587301587350000; -x2[17] = -7.36507936507936560000; -x2[18] = -6.85714285714285770000; -x2[19] = -6.34920634920634970000; -x2[20] = -5.84126984126984180000; -x2[21] = -5.33333333333333390000; -x2[22] = -4.82539682539682600000; -x2[23] = -4.31746031746031810000; -x2[24] = -3.80952380952381020000; -x2[25] = -3.30158730158730230000; -x2[26] = -2.79365079365079440000; -x2[27] = -2.28571428571428650000; -x2[28] = -1.77777777777777860000; -x2[29] = -1.26984126984127070000; -x2[30] = -0.76190476190476275000; -x2[31] = -0.25396825396825484000; -x2[32] = 0.25396825396825307000; -x2[33] = 0.76190476190476275000; -x2[34] = 1.26984126984126890000; -x2[35] = 1.77777777777777860000; -x2[36] = 2.28571428571428470000; -x2[37] = 2.79365079365079440000; -x2[38] = 3.30158730158730050000; -x2[39] = 3.80952380952381020000; -x2[40] = 4.31746031746031630000; -x2[41] = 4.82539682539682600000; -x2[42] = 5.33333333333333210000; -x2[43] = 5.84126984126984180000; -x2[44] = 6.34920634920634800000; -x2[45] = 6.85714285714285770000; -x2[46] = 7.36507936507936380000; -x2[47] = 7.87301587301587350000; -x2[48] = 8.38095238095237960000; -x2[49] = 8.88888888888888930000; -x2[50] = 9.39682539682539540000; -x2[51] = 9.90476190476190510000; -x2[52] = 10.41269841269841100000; -x2[53] = 10.92063492063492100000; -x2[54] = 11.42857142857142700000; -x2[55] = 11.93650793650793700000; -x2[56] = 12.44444444444444300000; -x2[57] = 12.95238095238095300000; -x2[58] = 13.46031746031745900000; -x2[59] = 13.96825396825396800000; -x2[60] = 14.47619047619047400000; -x2[61] = 14.98412698412698400000; -x2[62] = 15.49206349206349000000; -x2[63] = 16.00000000000000000000; - - -var y = new Array(); -y[0] = +Infinity; -y[1] = 1664158979.11096290000000000000; -y[2] = 25596.98862206424700000000; -y[3] = 51.24224360332205900000; -y[4] = 0.80253721621001273000; -y[5] = 0.04013281604184240600; -y[6] = 0.00427181167466968250; -y[7] = 0.00077698684629307839; -y[8] = 0.00021140449751288852; -y[9] = 0.00007886641216275820; -y[10] = 0.00003797970495625904; -y[11] = 0.00002260186576944384; -y[12] = 0.00001608735704675994; -y[13] = 0.00001335526639440840; -y[14] = 0.00001267782407825002; -y[15] = 0.00001354410739307298; -y[16] = 0.00001607404700077214; -y[17] = 0.00002096489798949858; -y[18] = 0.00002978033411316872; -y[19] = 0.00004572015769326707; -y[20] = 0.00007536620884896827; -y[21] = 0.00013263967558882687; -y[22] = 0.00024800091950917796; -y[23] = 0.00049049578772052680; -y[24] = 0.00102225521238885490; -y[25] = 0.00223744147356661880; -y[26] = 0.00512739755878587920; -y[27] = 0.01226918030754863000; -y[28] = 0.03058049475427409400; -y[29] = 0.07921771472569966200; -y[30] = 0.21285098601167457000; -y[31] = 0.59211846233860321000; -y[32] = 1.70252376919407730000; -y[33] = 5.05197994186350920000; -y[34] = 15.44896866758827700000; -y[35] = 48.62279949816147700000; -y[36] = 157.31086033139039000000; -y[37] = 522.60021277476767000000; -y[38] = 1780.82316713426990000000; -y[39] = 6218.58509846337710000000; -y[40] = 22232.54916898025500000000; -y[41] = 81310.50695814844200000000; -y[42] = 303962.39599994919000000000; -y[43] = 1160609.39151835810000000000; -y[44] = 4523160.16396183520000000000; -y[45] = 17980506.53105686600000000000; -y[46] = 72861260.63140085300000000000; -y[47] = 300795965.18372804000000000000; -y[48] = 1264408843.88636260000000000000; -y[49] = 5408983705.82595920000000000000; -y[50] = 23536438485.32324600000000000000; -y[51] = 104125724201.77888000000000000000; -y[52] = 468137079409.17462000000000000000; -y[53] = 2137965865913.91260000000000000000; -y[54] = 9914368643808.25200000000000000000; -y[55] = 46665726995317.89800000000000000000; -y[56] = 222863786409039.87000000000000000000; -y[57] = 1079534443702065.00000000000000000000; -y[58] = 5302037850329952.00000000000000000000; -y[59] = 26394813313751084.00000000000000000000; -y[60] = 133146543235024720.00000000000000000000; -y[61] = 680375082351885950.00000000000000000000; -y[62] = 3520878542447823900.00000000000000000000; -y[63] = 18446744073709552000.00000000000000000000; - - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.pow(x1[i], x2[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx1 = " + x1[i] + "\nx2 = " + x2[i] + "\nlibc.pow(x1,x2) = " + y[i] + "\nMath.pow(x1,x2) = " + Math.pow(x1[i], x2[i]) + "\nMath.abs(libc.pow(x1,x2) - Math.pow(x1,x2)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A3.js deleted file mode 100644 index 668e736df9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A3.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A3; - * @section: 15.8.2.13; - * @assertion: If y is -0, Math.pow(x,y) is 1, even if x is NaN; - * @description: Checking if Math.pow(x,y) equals to 1, where x is number or NaN and y is -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A3.js", - -assertion: "If y is -0, Math.pow(x,y) is 1, even if x is NaN", - -description: "Checking if Math.pow(x,y) equals to 1, where x is number or NaN and y is -0", - -test: function testcase() { - // CHECK#1 - -y = +0; -x = new Array(); -x[0] = -Infinity; -x[1] = -1.7976931348623157E308; //largest (by module) finite number -x[2] = -0.000000000000001; -x[3] = -0; -x[4] = +0 -x[5] = 0.000000000000001; -x[6] = 1.7976931348623157E308; //largest finite number -x[7] = +Infinity; -x[8] = NaN; -xnum = 9; - -for (i = 0; i < xnum; i++) -{ - if (Math.pow(x[i],y) !== 1) - { - $ERROR("#1: Math.pow(" + x[i] + ", -0) !== 1"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A4.js deleted file mode 100644 index 43348fc951..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A4.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A4; - * @section: 15.8.2.13; - * @assertion: If x is NaN and y is nonzero, Math.pow(x,y) is NaN; - * @description: Checking if Math.pow(x,y) is NaN, where x is NaN and y is nonzero; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A4.js", - -assertion: "If x is NaN and y is nonzero, Math.pow(x,y) is NaN", - -description: "Checking if Math.pow(x,y) is NaN, where x is NaN and y is nonzero", - -test: function testcase() { - // CHECK#1 - -x = NaN; -y = new Array(); -y[0] = -Infinity; -y[1] = -1.7976931348623157E308; //largest (by module) finite number -y[2] = -0.000000000000001; -y[3] = 0.000000000000001; -y[4] = 1.7976931348623157E308; //largest finite number -y[5] = +Infinity; -y[6] = NaN; -ynum = 7; - -for (i = 0; i < ynum; i++) -{ - if (!isNaN(Math.pow(x,y[i]))) - { - $ERROR("#1: isNaN(Math.pow(" + x + ", " + y[i] + ")) === false"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A5.js deleted file mode 100644 index e2a9127918..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A5.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A5; - * @section: 15.8.2.13; - * @assertion: If abs(x)>1 and y is +Infinity, Math.pow(x,y) is +Infinity; - * @description: Checking if Math.pow(x,y) equals to +Infinity, where abs(x)>1 and y is +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A5.js", - -assertion: "If abs(x)>1 and y is +Infinity, Math.pow(x,y) is +Infinity", - -description: "Checking if Math.pow(x,y) equals to +Infinity, where abs(x)>1 and y is +Infinity", - -test: function testcase() { - // CHECK#1 - -y = +Infinity; -x = new Array(); -x[0] = -Infinity; -x[1] = -1.7976931348623157E308; //largest (by module) finite number -x[2] = -1.000000000000001; -x[3] = 1.000000000000001; -x[4] = 1.7976931348623157E308; //largest finite number -x[5] = +Infinity; -xnum = 6; - -for (i = 0; i < xnum; i++) -{ - if (Math.pow(x[i],y) !== +Infinity) - { - $ERROR("#1: Math.pow(" + x[i] + ", " + y + ") !== +Infinity"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A6.js deleted file mode 100644 index aeccd60dea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A6.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A6; - * @section: 15.8.2.13; - * @assertion: If abs(x)>1 and y is -Infinity, Math.pow(x,y) is +0; - * @description: Checking if Math.pow(x,y) equals to +0, where abs(x)>1 and y is -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A6.js", - -assertion: "If abs(x)>1 and y is -Infinity, Math.pow(x,y) is +0", - -description: "Checking if Math.pow(x,y) equals to +0, where abs(x)>1 and y is -Infinity", - -test: function testcase() { - // CHECK#1 - -y = -Infinity; -x = new Array(); -x[0] = -Infinity; -x[1] = -1.7976931348623157E308; //largest (by module) finite number -x[2] = -1.000000000000001; -x[3] = 1.000000000000001; -x[4] = 1.7976931348623157E308; //largest finite number -x[5] = +Infinity; -xnum = 6; - -for (i = 0; i < xnum; i++) -{ - if (Math.pow(x[i],y) !== +0) - { - $ERROR("#1: Math.pow(" + x[i] + ", " + y + ") !== +0"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A7.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A7.js deleted file mode 100644 index 89744ba686..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A7.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A7; - * @section: 15.8.2.13; - * @assertion: If abs(x)==1 and y is +Infinity, Math.pow(x,y) is NaN; - * @description: Checking if Math.pow(x,y) is NaN, where abs(x)==1 and y is +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A7", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A7.js", - -assertion: "If abs(x)==1 and y is +Infinity, Math.pow(x,y) is NaN", - -description: "Checking if Math.pow(x,y) is NaN, where abs(x)==1 and y is +Infinity", - -test: function testcase() { - // CHECK#1 - -y = +Infinity; -x = new Array(); -x[0] = -1; -x[1] = 1 -xnum = 2; - -for (i = 0; i < xnum; i++) -{ - if (!isNaN(Math.pow(x[i],y))) - { - $FAIL("#1: isNaN(Math.pow(" + x[i] + ", " + y + ")) === false"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A8.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A8.js deleted file mode 100644 index ecd2f3fea1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A8.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A8; - * @section: 15.8.2.13; - * @assertion: If abs(x)==1 and y is -Infinity, Math.pow(x,y) is NaN; - * @description: Checking if Math.pow(x,y) is NaN, where abs(x)==1 and y is -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A8", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A8.js", - -assertion: "If abs(x)==1 and y is -Infinity, Math.pow(x,y) is NaN", - -description: "Checking if Math.pow(x,y) is NaN, where abs(x)==1 and y is -Infinity", - -test: function testcase() { - // CHECK#1 - -y = -Infinity; -x = new Array(); -x[0] = -1; -x[1] = 1 -xnum = 2; - -for (i = 0; i < xnum; i++) -{ - if (!isNaN(Math.pow(x[i],y))) - { - $FAIL("#1: isNaN(Math.pow(" + x[i] + ", " + y + ")) === false"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A9.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A9.js deleted file mode 100644 index ed11d33258..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A9.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.13_A9; - * @section: 15.8.2.13; - * @assertion: If abs(x)<1 and y is +Infinity, Math.pow(x,y) is +0; - * @description: Checking if Math.pow(x,y) equals to +0, where abs(x)<1 and y is +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.13_A9", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A9.js", - -assertion: "If abs(x)<1 and y is +Infinity, Math.pow(x,y) is +0", - -description: "Checking if Math.pow(x,y) equals to +0, where abs(x)<1 and y is +Infinity", - -test: function testcase() { - // CHECK#1 - -y = +Infinity; -x = new Array(); -x[0] = 0.999999999999999; -x[1] = 0.5; -x[2] = +0; -x[3] = -0; -x[4] = -0.5; -x[5] = -0.999999999999999; -xnum = 6; - -for (i = 0; i < xnum; i++) -{ - if (Math.pow(x[i],y) !== +0) - { - $ERROR("#1: Math.pow(" + x[i] + ", " + y + ") !== +0"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.14_random/S15.8.2.14_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.14_random/S15.8.2.14_A1.js deleted file mode 100644 index bd6c6a0ea4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.14_random/S15.8.2.14_A1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.14_A1; - * @section: 15.8.2.14; - * @assertion: Math.random() returns a number value with positive sign, greater than or equal to 0 but less than 1; - * @description: Checking if Math.random() is a number between 0 and 1, calling Math.random() 100 times; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.14_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.14_random/S15.8.2.14_A1.js", - -assertion: "Math.random() returns a number value with positive sign, greater than or equal to 0 but less than 1", - -description: "Checking if Math.random() is a number between 0 and 1, calling Math.random() 100 times", - -test: function testcase() { - // CHECK#1 -for (i = 0; i < 100; i++) -{ - val = Math.random(); - if (val < 0 || val >= 1) - { - $ERROR("#1: Math.random() = " + val); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A1.js deleted file mode 100644 index 49d120a396..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.15_A1; - * @section: 15.8.2.15; - * @assertion: If x is NaN, Math.round(x) is NaN; - * @description: Checking if Math.round(x) is NaN, where x is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.15_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A1.js", - -assertion: "If x is NaN, Math.round(x) is NaN", - -description: "Checking if Math.round(x) is NaN, where x is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.round(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.round(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A2.js deleted file mode 100644 index 596c8d9233..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.15_A2; - * @section: 15.8.2.15; - * @assertion: If x is +0, Math.round(x) is +0; - * @description: Checking if Math.round(x) equals to +0, where x is +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.15_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A2.js", - -assertion: "If x is +0, Math.round(x) is +0", - -description: "Checking if Math.round(x) equals to +0, where x is +0", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.round(x) !== +0) -{ - $ERROR("#1: 'var x=+0; Math.round(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A3.js deleted file mode 100644 index a49647c187..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.15_A3; - * @section: 15.8.2.15; - * @assertion: If x is -0, Math.round(x) is -0; - * @description: Checking if Math.round(x) equals to -0, where x is -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.15_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A3.js", - -assertion: "If x is -0, Math.round(x) is -0", - -description: "Checking if Math.round(x) equals to -0, where x is -0", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.round(x) !== -0) -{ - $ERROR("#1: 'var x=-0; Math.round(x) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A4.js deleted file mode 100644 index ed894bd248..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.15_A4; - * @section: 15.8.2.15; - * @assertion: If x is +Infinity, Math.round(x) is +Infinity; - * @description: Checking if Math.round(x) is +Infinity, where x is +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.15_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A4.js", - -assertion: "If x is +Infinity, Math.round(x) is +Infinity", - -description: "Checking if Math.round(x) is +Infinity, where x is +Infinity", - -test: function testcase() { - // CHECK#1 -var x = +Infinity; -if (Math.round(x) !== +Infinity) -{ - $ERROR("#1: 'var x=+Infinity; Math.round(x) !== +Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A5.js deleted file mode 100644 index 2584cd5737..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.15_A5; - * @section: 15.8.2.15; - * @assertion: If x is -Infinity, Math.round(x) is -Infinity; - * @description: Checking if Math.round(x) is -Infinity, where x is -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.15_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A5.js", - -assertion: "If x is -Infinity, Math.round(x) is -Infinity", - -description: "Checking if Math.round(x) is -Infinity, where x is -Infinity", - -test: function testcase() { - // CHECK#1 -var x = -Infinity; -if (Math.round(x) !== -Infinity) -{ - $ERROR("#1: 'var x=-Infinity; Math.round(x) !== -Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A6.js deleted file mode 100644 index 833e923368..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A6.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.15_A6; - * @section: 15.8.2.15; - * @assertion: If x is equal to 0 or greater than 0, or if x is less than -0.5, Math.round(x) is equal to Math.floor(x+0.5); - * @description: Checking if Math.round(x) is equal to Math.floor(x+0.5), where x equals to 0, greater than 0, or is less than -0.5; this check is performed on 2000 argument x values; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.15_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A6.js", - -assertion: "If x is equal to 0 or greater than 0, or if x is less than -0.5, Math.round(x) is equal to Math.floor(x+0.5)", - -description: "Checking if Math.round(x) is equal to Math.floor(x+0.5), where x equals to 0, greater than 0, or is less than -0.5; this check is performed on 2000 argument x values", - -test: function testcase() { - // CHECK#1 -for (i = 0; i <= 1000; i++) -{ - x = i/10.0; - if (Math.round(x) !== Math.floor(x + 0.5)) - { - $ERROR("#1: 'x = " + x + "; Math.round(x) !== Math.floor(x + 0.5)'") - } -} - -for (i = -5; i >= -1000; i--) -{ - if (i === -5) - { - x = -0.500000000000001; - } else - { - x = i/10.0; - } - - if (Math.round(x) !== Math.floor(x + 0.5)) - { - $ERROR("#2: 'x = " + x + "; Math.round(x) !== Math.floor(x + 0.5)'") - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A7.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A7.js deleted file mode 100644 index aeb782c27d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A7.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.15_A7; - * @section: 15.8.2.15; - * @assertion: If x is less than or equal to -0 and x is greater than or equal to -0.5, Math.round(x) is equal to -0; - * @description: Checking if Math.round(x) is equal -0, where x is equal to 0, equal to -0.5, or less than -0 while greater than -0.5; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.15_A7", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.15_round/S15.8.2.15_A7.js", - -assertion: "If x is less than or equal to -0 and x is greater than or equal to -0.5, Math.round(x) is equal to -0", - -description: "Checking if Math.round(x) is equal -0, where x is equal to 0, equal to -0.5, or less than -0 while greater than -0.5", - -test: function testcase() { - // CHECK#1 -if (Math.round(-0) !== -0) -{ - $ERROR("#1: 'Math.round(-0) !== -0'"); -} - -// CHECK#2 -if (Math.round(-0.5) !== -0) -{ - $ERROR("#2: 'Math.round(-0.5) !== -0'"); -} - -// CHECK#3 -if (Math.round(-0.25) !== -0) -{ - $ERROR("#3: 'Math.round(-0.25) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A1.js deleted file mode 100644 index 4cb35e6da6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.16_A1; - * @section: 15.8.2.16; - * @assertion: If x is NaN, Math.sin(x) is NaN; - * @description: Checking if Math.sin(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.16_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A1.js", - -assertion: "If x is NaN, Math.sin(x) is NaN", - -description: "Checking if Math.sin(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.sin(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.sin(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A2.js deleted file mode 100644 index 53c090756e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A2.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @name: S15.8.2.16_A2; - * @section: 15.8.2.16; - * @assertion: If x is +0, Math.sin(x) is +0; - * @description: Checking if Math.sin(+0) equals to +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.16_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A2.js", - -assertion: "If x is +0, Math.sin(x) is +0", - -description: "Checking if Math.sin(+0) equals to +0", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.sin(x) !== +0) -{ - $ERROR("#1: 'var x = +0; Math.sin(x) !== +0'"); -} - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A3.js deleted file mode 100644 index 8803bd1b7d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.16_A3; - * @section: 15.8.2.16; - * @assertion: If x is -0, Math.sin(x) is -0; - * @description: Checking if Math.sin(-0) equals to -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.16_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A3.js", - -assertion: "If x is -0, Math.sin(x) is -0", - -description: "Checking if Math.sin(-0) equals to -0", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.sin(x) !== -0) -{ - $ERROR("#1: 'var x = -0; Math.sin(x) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A4.js deleted file mode 100644 index d60566d64c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.16_A4; - * @section: 15.8.2.16; - * @assertion: If x is +Infinity, Math.sin(x) is NaN; - * @description: Checking if Math.sin(+Infinity) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.16_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A4.js", - -assertion: "If x is +Infinity, Math.sin(x) is NaN", - -description: "Checking if Math.sin(+Infinity) is NaN", - -test: function testcase() { - // CHECK#1 -var x = +Infinity; -if (!isNaN(Math.sin(x))) -{ - $ERROR("#1: 'var x = +Infinity; isNaN(Math.sin(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A5.js deleted file mode 100644 index ff6e1d86f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.16_A5; - * @section: 15.8.2.16; - * @assertion: If x is -Infinity, Math.sin(x) is NaN; - * @description: Checking if Math.sin(-Infinity) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.16_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A5.js", - -assertion: "If x is -Infinity, Math.sin(x) is NaN", - -description: "Checking if Math.sin(-Infinity) is NaN", - -test: function testcase() { - // CHECK#1 -var x = -Infinity; -if (!isNaN(Math.sin(x))) -{ - $ERROR("#1: 'var x = -Infinity; isNaN(Math.sin(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A6.js deleted file mode 100644 index d1e3233032..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A6.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.16_A6; - * @section: 15.8.2.16; - * @assertion: Sine is a periodic function with period 2*PI; - * @description: Checking if Math.sin(x) equals to Math.sin(x+n*2*Math.PI) with precision 0.000000000003, where n is an integer from 1 to 100 and x is one of 10 float point values from 0 to 2*Math.PI; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.16_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A6.js", - -assertion: "Sine is a periodic function with period 2*PI", - -description: "Checking if Math.sin(x) equals to Math.sin(x+n*2*Math.PI) with precision 0.000000000003, where n is an integer from 1 to 100 and x is one of 10 float point values from 0 to 2*Math.PI", - -test: function testcase() { - // CHECK#1 - prec = 0.000000000003; -//prec = 0.000000000000001; -period = 2*Math.PI; -pernum = 100; - -a = -pernum * period; -b = pernum * period; -snum = 9; -step = period/snum + 0.0; -x = new Array(); -for (i = 0; i < snum; i++) -{ - x[i] = a + i*step; -} -x[9] = a + period; - -var curval; -var curx; -var j; -for (i = 0; i < snum; i++) -{ - curval = Math.sin(x[i]); - curx = x[i] + period; - j = 0; - while (curx <= b) - { - curx += period; - j++; - if (Math.abs(Math.sin(curx) - curval) >= prec) - { - $FAIL("#1: sin is found out to not be periodic:\n Math.abs(Math.sin(" + x[i] + ") - Math.sin(" + x[i] + " + 2*Math.PI*" + j + ")) >= " + prec + "\n Math.sin(" + x[i] + ") === " + curval + "\n Math.sin(" + curx + ") === " + Math.sin(curx)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A7.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A7.js deleted file mode 100644 index ea837cf3bf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A7.js +++ /dev/null @@ -1,175 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.16_A7; - * @section: 15.8.2.16; - * @assertion: Math.sin it is recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.sin is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.16_A7", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.16_sin/S15.8.2.16_A7.js", - -assertion: "Math.sin it is recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.sin is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x = new Array(); -x[0] = 0.00000000000000000000; -x[1] = 0.09973310011396169200; -x[2] = 0.19946620022792338000; -x[3] = 0.29919930034188508000; -x[4] = 0.39893240045584677000; -x[5] = 0.49866550056980841000; -x[6] = 0.59839860068377015000; -x[7] = 0.69813170079773179000; -x[8] = 0.79786480091169354000; -x[9] = 0.89759790102565518000; -x[10] = 0.99733100113961681000; -x[11] = 1.09706410125357840000; -x[12] = 1.19679720136754030000; -x[13] = 1.29653030148150190000; -x[14] = 1.39626340159546360000; -x[15] = 1.49599650170942520000; -x[16] = 1.59572960182338710000; -x[17] = 1.69546270193734870000; -x[18] = 1.79519580205131040000; -x[19] = 1.89492890216527200000; -x[20] = 1.99466200227923360000; -x[21] = 2.09439510239319570000; -x[22] = 2.19412820250715690000; -x[23] = 2.29386130262111850000; -x[24] = 2.39359440273508060000; -x[25] = 2.49332750284904230000; -x[26] = 2.59306060296300390000; -x[27] = 2.69279370307696550000; -x[28] = 2.79252680319092720000; -x[29] = 2.89225990330488880000; -x[30] = 2.99199300341885040000; -x[31] = 3.09172610353281210000; -x[32] = 3.19145920364677420000; -x[33] = 3.29119230376073580000; -x[34] = 3.39092540387469740000; -x[35] = 3.49065850398865910000; -x[36] = 3.59039160410262070000; -x[37] = 3.69012470421658230000; -x[38] = 3.78985780433054400000; -x[39] = 3.88959090444450560000; -x[40] = 3.98932400455846730000; -x[41] = 4.08905710467242840000; -x[42] = 4.18879020478639140000; -x[43] = 4.28852330490035260000; -x[44] = 4.38825640501431380000; -x[45] = 4.48798950512827590000; -x[46] = 4.58772260524223710000; -x[47] = 4.68745570535619920000; -x[48] = 4.78718880547016120000; -x[49] = 4.88692190558412240000; -x[50] = 4.98665500569808450000; -x[51] = 5.08638810581204570000; -x[52] = 5.18612120592600780000; -x[53] = 5.28585430603996990000; -x[54] = 5.38558740615393110000; -x[55] = 5.48532050626789310000; -x[56] = 5.58505360638185430000; -x[57] = 5.68478670649581550000; -x[58] = 5.78451980660977760000; -x[59] = 5.88425290672373970000; -x[60] = 5.98398600683770090000; -x[61] = 6.08371910695166300000; -x[62] = 6.18345220706562420000; -x[63] = 6.28318530717958620000; - - -var y = new Array(); -y[0] = 0.00000000000000000000; -y[1] = 0.09956784659581666100; -y[2] = 0.19814614319939758000; -y[3] = 0.29475517441090421000; -y[4] = 0.38843479627469474000; -y[5] = 0.47825397862131819000; -y[6] = 0.56332005806362206000; -y[7] = 0.64278760968653925000; -y[8] = 0.71586684925971844000; -y[9] = 0.78183148246802980000; -y[10] = 0.84002592315077140000; -y[11] = 0.88987180881146855000; -y[12] = 0.93087374864420425000; -y[13] = 0.96262424695001203000; -y[14] = 0.98480775301220802000; -y[15] = 0.99720379718118013000; -y[16] = 0.99968918200081625000; -y[17] = 0.99223920660017206000; -y[18] = 0.97492791218182362000; -y[19] = 0.94792734616713181000; -y[20] = 0.91150585231167325000; -y[21] = 0.86602540378443849000; -y[22] = 0.81193800571585661000; -y[23] = 0.74978120296773443000; -y[24] = 0.68017273777091936000; -y[25] = 0.60380441032547738000; -y[26] = 0.52143520337949811000; -y[27] = 0.43388373911755823000; -y[28] = 0.34202014332566888000; -y[29] = 0.24675739769029384000; -y[30] = 0.14904226617617472000; -y[31] = 0.04984588566069748200; -y[32] = -0.04984588566069723300; -y[33] = -0.14904226617617447000; -y[34] = -0.24675739769029362000; -y[35] = -0.34202014332566866000; -y[36] = -0.43388373911755801000; -y[37] = -0.52143520337949789000; -y[38] = -0.60380441032547716000; -y[39] = -0.68017273777091913000; -y[40] = -0.74978120296773398000; -y[41] = -0.81193800571585595000; -y[42] = -0.86602540378443882000; -y[43] = -0.91150585231167314000; -y[44] = -0.94792734616713159000; -y[45] = -0.97492791218182362000; -y[46] = -0.99223920660017195000; -y[47] = -0.99968918200081625000; -y[48] = -0.99720379718118013000; -y[49] = -0.98480775301220813000; -y[50] = -0.96262424695001203000; -y[51] = -0.93087374864420447000; -y[52] = -0.88987180881146866000; -y[53] = -0.84002592315077129000; -y[54] = -0.78183148246802991000; -y[55] = -0.71586684925971833000; -y[56] = -0.64278760968653958000; -y[57] = -0.56332005806362273000; -y[58] = -0.47825397862131858000; -y[59] = -0.38843479627469474000; -y[60] = -0.29475517441090471000; -y[61] = -0.19814614319939772000; -y[62] = -0.09956784659581728600; -y[63] = -0.0000000000000002449293598294706400; - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.sin(x[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx = " + x[i] + "\nlibc.sin(x) = " + y[i] + "\nMath.sin(x) = " + Math.sin(x[i]) + "\nMath.abs(libc.sin(x) - Math.sin(x)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A1.js deleted file mode 100644 index 072d5b67c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.17_A1; - * @section: 15.8.2.17; - * @assertion: If x is NaN, Math.sqrt(x) is NaN; - * @description: Checking if Math.sqrt(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.17_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A1.js", - -assertion: "If x is NaN, Math.sqrt(x) is NaN", - -description: "Checking if Math.sqrt(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.sqrt(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.sqrt(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A2.js deleted file mode 100644 index ab05b4c185..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.17_A2; - * @section: 15.8.2.17; - * @assertion: If x less than 0, Math.sqrt(x) is NaN; - * @description: Checking if Math.sqrt(x) is NaN, where x is less than 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.17_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A2.js", - -assertion: "If x less than 0, Math.sqrt(x) is NaN", - -description: "Checking if Math.sqrt(x) is NaN, where x is less than 0", - -test: function testcase() { - // CHECK#1 -var x = -0.000000000000001; -if (!isNaN(Math.sqrt(x))) -{ - $ERROR("#1: 'var x=-0.000000000000001; isNaN(Math.sqrt(x)) === false'"); -} - -// CHECK#2 -var x = -1; -if (!isNaN(Math.sqrt(x))) -{ - $ERROR("#2: 'var x=-1; isNaN(Math.sqrt(x)) === false'"); -} - -// CHECK#3 -var x = -Infinity; -if (!isNaN(Math.sqrt(x))) -{ - $ERROR("#3: 'var x=-Infinity; isNaN(Math.sqrt(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A3.js deleted file mode 100644 index 6286a7a305..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.17_A3; - * @section: 15.8.2.17; - * @assertion: If x is equal to +0, Math.sqrt(x) is +0; - * @description: Checking if Math.sqrt(+0) equals to +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.17_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A3.js", - -assertion: "If x is equal to +0, Math.sqrt(x) is +0", - -description: "Checking if Math.sqrt(+0) equals to +0", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.sqrt(x) !== +0) -{ - $ERROR("#1: 'var x=+0; Math.sqrt(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A4.js deleted file mode 100644 index 9e56c657f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.17_A4; - * @section: 15.8.2.17; - * @assertion: If x is equal to -0, Math.sqrt(x) is -0; - * @description: Checking if Math.sqrt(-0) equals to -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.17_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A4.js", - -assertion: "If x is equal to -0, Math.sqrt(x) is -0", - -description: "Checking if Math.sqrt(-0) equals to -0", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.sqrt(x) !== -0) -{ - $ERROR("#1: 'var x=-0; Math.sqrt(x) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A5.js deleted file mode 100644 index 9a02a9c0aa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.17_A5; - * @section: 15.8.2.17; - * @assertion: If x is equal to +Infinity, Math.sqrt(x) is +Infinity; - * @description: Checking if Math.sqrt(+Infinity) is +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.17_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A5.js", - -assertion: "If x is equal to +Infinity, Math.sqrt(x) is +Infinity", - -description: "Checking if Math.sqrt(+Infinity) is +Infinity", - -test: function testcase() { - // CHECK#1 -var x = +Infinity; -if (Math.sqrt(x) !== +Infinity) -{ - $ERROR("#1: 'var x=+Infinity; Math.sqrt(x) !== +Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A6.js deleted file mode 100644 index ec41419b06..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A6.js +++ /dev/null @@ -1,176 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.17_A6; - * @section: 15.8.2.17; - * @assertion: Math.sqrt, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.sqrt is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.17_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.17_sqrt/S15.8.2.17_A6.js", - -assertion: "Math.sqrt, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.sqrt is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x = new Array(); -x[0] = 0.00000000000000000000; -x[1] = 0.25396825396825395000; -x[2] = 0.50793650793650791000; -x[3] = 0.76190476190476186000; -x[4] = 1.01587301587301580000; -x[5] = 1.26984126984126980000; -x[6] = 1.52380952380952370000; -x[7] = 1.77777777777777770000; -x[8] = 2.03174603174603160000; -x[9] = 2.28571428571428560000; -x[10] = 2.53968253968253950000; -x[11] = 2.79365079365079350000; -x[12] = 3.04761904761904740000; -x[13] = 3.30158730158730140000; -x[14] = 3.55555555555555540000; -x[15] = 3.80952380952380930000; -x[16] = 4.06349206349206330000; -x[17] = 4.31746031746031720000; -x[18] = 4.57142857142857120000; -x[19] = 4.82539682539682510000; -x[20] = 5.07936507936507910000; -x[21] = 5.33333333333333300000; -x[22] = 5.58730158730158700000; -x[23] = 5.84126984126984090000; -x[24] = 6.09523809523809490000; -x[25] = 6.34920634920634890000; -x[26] = 6.60317460317460280000; -x[27] = 6.85714285714285680000; -x[28] = 7.11111111111111070000; -x[29] = 7.36507936507936470000; -x[30] = 7.61904761904761860000; -x[31] = 7.87301587301587260000; -x[32] = 8.12698412698412650000; -x[33] = 8.38095238095238140000; -x[34] = 8.63492063492063440000; -x[35] = 8.88888888888888930000; -x[36] = 9.14285714285714230000; -x[37] = 9.39682539682539720000; -x[38] = 9.65079365079365030000; -x[39] = 9.90476190476190510000; -x[40] = 10.15873015873015800000; -x[41] = 10.41269841269841300000; -x[42] = 10.66666666666666600000; -x[43] = 10.92063492063492100000; -x[44] = 11.17460317460317400000; -x[45] = 11.42857142857142900000; -x[46] = 11.68253968253968200000; -x[47] = 11.93650793650793700000; -x[48] = 12.19047619047619000000; -x[49] = 12.44444444444444500000; -x[50] = 12.69841269841269800000; -x[51] = 12.95238095238095300000; -x[52] = 13.20634920634920600000; -x[53] = 13.46031746031746000000; -x[54] = 13.71428571428571400000; -x[55] = 13.96825396825396800000; -x[56] = 14.22222222222222100000; -x[57] = 14.47619047619047600000; -x[58] = 14.73015873015872900000; -x[59] = 14.98412698412698400000; -x[60] = 15.23809523809523700000; -x[61] = 15.49206349206349200000; -x[62] = 15.74603174603174500000; -x[63] = 16.00000000000000000000; - - - -var y = new Array(); -y[0] = 0.00000000000000000000; -y[1] = 0.50395263067896967000; -y[2] = 0.71269664509979835000; -y[3] = 0.87287156094396945000; -y[4] = 1.00790526135793930000; -y[5] = 1.12687233963802200000; -y[6] = 1.23442679969673530000; -y[7] = 1.33333333333333330000; -y[8] = 1.42539329019959670000; -y[9] = 1.51185789203690880000; -y[10] = 1.59363814577919150000; -y[11] = 1.67142178807468980000; -y[12] = 1.74574312188793890000; -y[13] = 1.81702705031799170000; -y[14] = 1.88561808316412670000; -y[15] = 1.95180014589706640000; -y[16] = 2.01581052271587870000; -y[17] = 2.07784992659727900000; -y[18] = 2.13808993529939520000; -y[19] = 2.19667858946110380000; -y[20] = 2.25374467927604400000; -y[21] = 2.30940107675850290000; -y[22] = 2.36374736114111530000; -y[23] = 2.41687191246657520000; -y[24] = 2.46885359939347060000; -y[25] = 2.51976315339484810000; -y[26] = 2.56966429775848400000; -y[27] = 2.61861468283190830000; -y[28] = 2.66666666666666650000; -y[29] = 2.71386797119523940000; -y[30] = 2.76026223736941700000; -y[31] = 2.80588949764880670000; -y[32] = 2.85078658039919340000; -y[33] = 2.89498745782298350000; -y[34] = 2.93852354676981160000; -y[35] = 2.98142396999971960000; -y[36] = 3.02371578407381760000; -y[37] = 3.06542417893925380000; -y[38] = 3.10657265339049320000; -y[39] = 3.14718316987777280000; -y[40] = 3.18727629155838300000; -y[41] = 3.22687130401855570000; -y[42] = 3.26598632371090410000; -y[43] = 3.30463839483761390000; -y[44] = 3.34284357614937950000; -y[45] = 3.38061701891406630000; -y[46] = 3.41797303712883060000; -y[47] = 3.45492517089848670000; -y[48] = 3.49148624377587780000; -y[49] = 3.52766841475278750000; -y[50] = 3.56348322549899170000; -y[51] = 3.59894164336974940000; -y[52] = 3.63405410063598340000; -y[53] = 3.66883053033489940000; -y[54] = 3.70328039909020570000; -y[55] = 3.73741273720925400000; -y[56] = 3.77123616632825340000; -y[57] = 3.80475892484536750000; -y[58] = 3.83798889135426350000; -y[59] = 3.87093360626696680000; -y[60] = 3.90360029179413280000; -y[61] = 3.93599587043272870000; -y[62] = 3.96812698209517300000; -y[63] = 4.00000000000000000000; - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.sqrt(x[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx = " + x[i] + "\nlibc.sqrt(x) = " + y[i] + "\nMath.sqrt(x) = " + Math.sqrt(x[i]) + "\nMath.abs(libc.sqrt(x) - Math.sqrt(x)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A1.js deleted file mode 100644 index ec6e300820..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.18_A1; - * @section: 15.8.2.18; - * @assertion: If x is NaN, Math.tan(x) is NaN; - * @description: Checking if Math.tan(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.18_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A1.js", - -assertion: "If x is NaN, Math.tan(x) is NaN", - -description: "Checking if Math.tan(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.tan(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.tan(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A2.js deleted file mode 100644 index 8e90851862..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.18_A2; - * @section: 15.8.2.18; - * @assertion: If x is +0, Math.tan(x) is +0; - * @description: Checking if Math.tan(+0) equals to +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.18_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A2.js", - -assertion: "If x is +0, Math.tan(x) is +0", - -description: "Checking if Math.tan(+0) equals to +0", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.tan(x) !== +0) -{ - $ERROR("#1: 'var x=+0; Math.tan(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A3.js deleted file mode 100644 index 493732197f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.18_A3; - * @section: 15.8.2.18; - * @assertion: If x is -0, Math.tan(x) is -0; - * @description: Checking if Math.tan(-0) equals to -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.18_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A3.js", - -assertion: "If x is -0, Math.tan(x) is -0", - -description: "Checking if Math.tan(-0) equals to -0", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.tan(x) !== -0) -{ - $ERROR("#1: 'var x=-0; Math.tan(x) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A4.js deleted file mode 100644 index 8dd78f0423..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.18_A4; - * @section: 15.8.2.18; - * @assertion: If x is +Infinity, Math.tan(x) is NaN; - * @description: Checking if Math.tan(+Infinity) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.18_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A4.js", - -assertion: "If x is +Infinity, Math.tan(x) is NaN", - -description: "Checking if Math.tan(+Infinity) is NaN", - -test: function testcase() { - // CHECK#1 -var x = +Infinity; -if (!isNaN(Math.tan(x))) -{ - $ERROR("#1: 'var x=+Infinity; isNaN(Math.tan(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A5.js deleted file mode 100644 index 15d4fbc995..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.18_A5; - * @section: 15.8.2.18; - * @assertion: If x is -Infinity, Math.tan(x) is NaN; - * @description: Checking if Math.tan(-Infinity) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.18_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A5.js", - -assertion: "If x is -Infinity, Math.tan(x) is NaN", - -description: "Checking if Math.tan(-Infinity) is NaN", - -test: function testcase() { - // CHECK#1 -var x = -Infinity; -if (!isNaN(Math.tan(x))) -{ - $ERROR("#1: 'var x=-Infinity; isNaN(Math.tan(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A6.js deleted file mode 100644 index c22fe7b3a3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A6.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.18_A6; - * @section: 15.8.2.18; - * @assertion: Tangent is a periodic function with period PI; - * @description: Checking if Math.tan(x) equals to Math.tan(x+n*Math.PI) with precision 0.000000000003, where n is an integer from 1 to 100 and x is one of 10 float point values from 0 to Math.PI; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.18_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A6.js", - -assertion: "Tangent is a periodic function with period PI", - -description: "Checking if Math.tan(x) equals to Math.tan(x+n*Math.PI) with precision 0.000000000003, where n is an integer from 1 to 100 and x is one of 10 float point values from 0 to Math.PI", - -test: function testcase() { - // CHECK#1 - prec = 0.00000000003; -//prec = 0.000000000000001; -period = Math.PI; -pernum = 100; - -a = -pernum * period + period/2; -b = pernum * period - period/2; -snum = 9; -step = period/(snum + 2); -x = new Array(); -for (i = 0; i <= snum; i++) //// We exlude special points -{ //// in this cycle. - x[i] = a + (i+1)*step; //// -} //// - - -var curval; -var curx; -var j; -for (i = 0; i < snum; i++) -{ - curval = Math.tan(x[i]); - curx = x[i] + period; - j = 0; - while (curx <= b) - { - curx += period; - j++; - if (Math.abs(Math.tan(curx) - curval) >= prec) - { - $FAIL("#1: tan is found out to not be periodic:\n Math.abs(Math.tan(" + x[i] + ") - Math.tan(" + x[i] + " + 2*Math.PI*" + j + ")) >= " + prec + "\n Math.tan(" + x[i] + ") === " + curval + "\n Math.tan(" + curx + ") === " + Math.tan(curx)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A7.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A7.js deleted file mode 100644 index 9e1ebf2dc6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A7.js +++ /dev/null @@ -1,176 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.18_A7; - * @section: 15.8.2.18; - * @assertion: Math.tan, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.tan is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.18_A7", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.18_tan/S15.8.2.18_A7.js", - -assertion: "Math.tan, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.tan is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x = new Array(); -x[0] = -1.57079632679489660000; -x[1] = -1.52092977673791570000; -x[2] = -1.47106322668093490000; -x[3] = -1.42119667662395410000; -x[4] = -1.37133012656697330000; -x[5] = -1.32146357650999220000; -x[6] = -1.27159702645301140000; -x[7] = -1.22173047639603060000; -x[8] = -1.17186392633904980000; -x[9] = -1.12199737628206900000; -x[10] = -1.07213082622508820000; -x[11] = -1.02226427616810730000; -x[12] = -0.97239772611112640000; -x[13] = -0.92253117605414559000; -x[14] = -0.87266462599716477000; -x[15] = -0.82279807594018395000; -x[16] = -0.77293152588320302000; -x[17] = -0.72306497582622220000; -x[18] = -0.67319842576924138000; -x[19] = -0.62333187571226056000; -x[20] = -0.57346532565527975000; -x[21] = -0.52359877559829870000; -x[22] = -0.47373222554131811000; -x[23] = -0.42386567548433729000; -x[24] = -0.37399912542735625000; -x[25] = -0.32413257537037543000; -x[26] = -0.27426602531339461000; -x[27] = -0.22439947525641379000; -x[28] = -0.17453292519943298000; -x[29] = -0.12466637514245216000; -x[30] = -0.07479982508547133900; -x[31] = -0.02493327502849052000; -x[32] = 0.02493327502849052000; -x[33] = 0.07479982508547133900; -x[34] = 0.12466637514245216000; -x[35] = 0.17453292519943298000; -x[36] = 0.22439947525641379000; -x[37] = 0.27426602531339461000; -x[38] = 0.32413257537037543000; -x[39] = 0.37399912542735625000; -x[40] = 0.42386567548433707000; -x[41] = 0.47373222554131766000; -x[42] = 0.52359877559829915000; -x[43] = 0.57346532565527975000; -x[44] = 0.62333187571226034000; -x[45] = 0.67319842576924138000; -x[46] = 0.72306497582622198000; -x[47] = 0.77293152588320302000; -x[48] = 0.82279807594018406000; -x[49] = 0.87266462599716466000; -x[50] = 0.92253117605414570000; -x[51] = 0.97239772611112629000; -x[52] = 1.02226427616810730000; -x[53] = 1.07213082622508840000; -x[54] = 1.12199737628206900000; -x[55] = 1.17186392633905000000; -x[56] = 1.22173047639603060000; -x[57] = 1.27159702645301120000; -x[58] = 1.32146357650999220000; -x[59] = 1.37133012656697330000; -x[60] = 1.42119667662395390000; -x[61] = 1.47106322668093490000; -x[62] = 1.52092977673791550000; -x[63] = 1.57079632679489660000; - - - -var y = new Array(); -y[0] = -16331239353195370.00000000000000000000; -y[1] = -20.03689788997828100000; -y[2] = -9.99349498241742220000; -y[3] = -6.63456649978931170000; -y[4] = -4.94671494494940060000; -y[5] = -3.92724714760272690000; -y[6] = -3.24192037576928720000; -y[7] = -2.74747741945462160000; -y[8] = -2.37228029184788760000; -y[9] = -2.07652139657233640000; -y[10] = -1.83630792973623100000; -y[11] = -1.63642745273401610000; -y[12] = -1.46673061342097340000; -y[13] = -1.32018331365488460000; -y[14] = -1.19175359259421000000; -y[15] = -1.07774368351222650000; -y[16] = -0.97537247158200291000; -y[17] = -0.88250523616465493000; -y[18] = -0.79747338888240393000; -y[19] = -0.71895103828786056000; -y[20] = -0.64586847728552887000; -y[21] = -0.57735026918962551000; -y[22] = -0.51267008667516678000; -y[23] = -0.45121718317830323000; -y[24] = -0.39247107881010240000; -y[25] = -0.33598213147817668000; -y[26] = -0.28135637451595324000; -y[27] = -0.22824347439014994000; -y[28] = -0.17632698070846500000; -y[29] = -0.12531625823730441000; -y[30] = -0.07493964001908703900; -y[31] = -0.02493844305504610100; -y[32] = 0.02493844305504610100; -y[33] = 0.07493964001908703900; -y[34] = 0.12531625823730441000; -y[35] = 0.17632698070846500000; -y[36] = 0.22824347439014994000; -y[37] = 0.28135637451595324000; -y[38] = 0.33598213147817668000; -y[39] = 0.39247107881010240000; -y[40] = 0.45121718317830301000; -y[41] = 0.51267008667516623000; -y[42] = 0.57735026918962618000; -y[43] = 0.64586847728552887000; -y[44] = 0.71895103828786022000; -y[45] = 0.79747338888240393000; -y[46] = 0.88250523616465459000; -y[47] = 0.97537247158200291000; -y[48] = 1.07774368351222670000; -y[49] = 1.19175359259420950000; -y[50] = 1.32018331365488510000; -y[51] = 1.46673061342097320000; -y[52] = 1.63642745273401610000; -y[53] = 1.83630792973623190000; -y[54] = 2.07652139657233640000; -y[55] = 2.37228029184788890000; -y[56] = 2.74747741945462160000; -y[57] = 3.24192037576928450000; -y[58] = 3.92724714760272690000; -y[59] = 4.94671494494940060000; -y[60] = 6.63456649978930190000; -y[61] = 9.99349498241742220000; -y[62] = 20.03689788997819200000; -y[63] = 16331239353195370.00000000000000000000; - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.tan(x[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx = " + x[i] + "\nlibc.tan(x) = " + y[i] + "\nMath.tan(x) = " + Math.tan(x[i]) + "\nMath.abs(libc.tan(x) - Math.tan(x)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A1.js deleted file mode 100644 index e51a62b0ed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.1_A1; - * @section: 15.8.2.1; - * @assertion: If x is NaN, Math.abs(x) is NaN; - * @description: Checking if Math.abs(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.1_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A1.js", - -assertion: "If x is NaN, Math.abs(x) is NaN", - -description: "Checking if Math.abs(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.abs(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.abs(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A2.js deleted file mode 100644 index a0c0161bc9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.1_A2; - * @section: 15.8.2.1; - * @assertion: If x is -0, Math.abs(x) is +0; - * @description: Checking if Math.abs(-0) equals to +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.1_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A2.js", - -assertion: "If x is -0, Math.abs(x) is +0", - -description: "Checking if Math.abs(-0) equals to +0", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.abs(x) !== +0) -{ - $ERROR("#1: 'var x=-0; Math.abs(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A3.js deleted file mode 100644 index 7d0fd013fe..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.1_A3; - * @section: 15.8.2.1; - * @assertion: If x is -Infinity, Math.abs(x) is +Infinity; - * @description: Checking if Math.abs(-Infinity) equals to +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.1_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.1_abs/S15.8.2.1_A3.js", - -assertion: "If x is -Infinity, Math.abs(x) is +Infinity", - -description: "Checking if Math.abs(-Infinity) equals to +Infinity", - -test: function testcase() { - // CHECK#1 -var x = -Infinity; -if (Math.abs(x) !== +Infinity) -{ - $ERROR("#1: 'var x=-Infinity; Math.abs(x) !== +Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A1.js deleted file mode 100644 index a0e98696ca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.2_A1; - * @section: 15.8.2.2; - * @assertion: If x is NaN, Math.acos(x) is NaN; - * @description: Checking if Math.acos(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.2_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A1.js", - -assertion: "If x is NaN, Math.acos(x) is NaN", - -description: "Checking if Math.acos(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.acos(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.acos(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A2.js deleted file mode 100644 index d833bee94b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.2_A2; - * @section: 15.8.2.2; - * @assertion: If x is greater than 1, Math.acos(x) is NaN; - * @description: Checking if Math.acos(x) is NaN, where x is greater than 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.2_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A2.js", - -assertion: "If x is greater than 1, Math.acos(x) is NaN", - -description: "Checking if Math.acos(x) is NaN, where x is greater than 1", - -test: function testcase() { - // CHECK#1 -var x = 1.000000000000001; -if (!isNaN(Math.acos(x))) -{ - $ERROR("#1: 'var x = 1.000000000000001; isNaN(Math.acos(x)) === false'"); -} - -// CHECK#2 -x = 2; -if (!isNaN(Math.acos(x))) -{ - $ERROR("#2: 'x = 2; isNaN(Math.acos(x)) === false'"); -} - -// CHECK#3 -x = +Infinity; -if (!isNaN(Math.acos(x))) -{ - $ERROR("#3: 'x = +Infinity; isNaN(Math.acos(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A3.js deleted file mode 100644 index f2c6a59713..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.2_A3; - * @section: 15.8.2.2; - * @assertion: If x is less than -1, Math.acos(x) is NaN; - * @description: Checking if Math.acos(x) is NaN, where x is less than -1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.2_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A3.js", - -assertion: "If x is less than -1, Math.acos(x) is NaN", - -description: "Checking if Math.acos(x) is NaN, where x is less than -1", - -test: function testcase() { - // CHECK#1 -var x = -1.000000000000001; -if (!isNaN(Math.acos(x))) -{ - $ERROR("#1: 'var x = -1.000000000000001; isNaN(Math.acos(x)) === false'"); -} - -// CHECK#2 -x = -2; -if (!isNaN(Math.acos(x))) -{ - $ERROR("#2: 'x = -2; isNaN(Math.acos(x)) === false'"); -} - -// CHECK#3 -x = -Infinity; -if (!isNaN(Math.acos(x))) -{ - $ERROR("#3: 'x = -Infinity; isNaN(Math.acos(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A4.js deleted file mode 100644 index b61e1892c6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.2_A4; - * @section: 15.8.2.2; - * @assertion: If x is exactly 1, Math.acos(x) is +0; - * @description: Checking if Math.acos(1) equals to +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.2_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A4.js", - -assertion: "If x is exactly 1, Math.acos(x) is +0", - -description: "Checking if Math.acos(1) equals to +0", - -test: function testcase() { - // CHECK#1 -var x = 1; -if (Math.acos(x) !== +0) -{ - $ERROR("#1: 'var x = 1; Math.acos(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A5.js deleted file mode 100644 index b6f12bf9a1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A5.js +++ /dev/null @@ -1,179 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.2_A5; - * @section: 15.8.2.2; - * @assertion: Math.acos, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.acos is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.2_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.2_acos/S15.8.2.2_A5.js", - -assertion: "Math.acos, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.acos is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x = new Array(); -x[0] = -1.00000000000000000000; -x[1] = -0.96825396825396826000; -x[2] = -0.93650793650793651000; -x[3] = -0.90476190476190477000; -x[4] = -0.87301587301587302000; -x[5] = -0.84126984126984128000; -x[6] = -0.80952380952380953000; -x[7] = -0.77777777777777779000; -x[8] = -0.74603174603174605000; -x[9] = -0.71428571428571430000; -x[10] = -0.68253968253968256000; -x[11] = -0.65079365079365081000; -x[12] = -0.61904761904761907000; -x[13] = -0.58730158730158732000; -x[14] = -0.55555555555555558000; -x[15] = -0.52380952380952384000; -x[16] = -0.49206349206349209000; -x[17] = -0.46031746031746035000; -x[18] = -0.42857142857142860000; -x[19] = -0.39682539682539686000; -x[20] = -0.36507936507936511000; -x[21] = -0.33333333333333337000; -x[22] = -0.30158730158730163000; -x[23] = -0.26984126984126988000; -x[24] = -0.23809523809523814000; -x[25] = -0.20634920634920639000; -x[26] = -0.17460317460317465000; -x[27] = -0.14285714285714290000; -x[28] = -0.11111111111111116000; -x[29] = -0.07936507936507941600; -x[30] = -0.04761904761904767200; -x[31] = -0.01587301587301592800; -x[32] = 0.01587301587301581700; -x[33] = 0.04761904761904767200; -x[34] = 0.07936507936507930500; -x[35] = 0.11111111111111116000; -x[36] = 0.14285714285714279000; -x[37] = 0.17460317460317465000; -x[38] = 0.20634920634920628000; -x[39] = 0.23809523809523814000; -x[40] = 0.26984126984126977000; -x[41] = 0.30158730158730163000; -x[42] = 0.33333333333333326000; -x[43] = 0.36507936507936511000; -x[44] = 0.39682539682539675000; -x[45] = 0.42857142857142860000; -x[46] = 0.46031746031746024000; -x[47] = 0.49206349206349209000; -x[48] = 0.52380952380952372000; -x[49] = 0.55555555555555558000; -x[50] = 0.58730158730158721000; -x[51] = 0.61904761904761907000; -x[52] = 0.65079365079365070000; -x[53] = 0.68253968253968256000; -x[54] = 0.71428571428571419000; -x[55] = 0.74603174603174605000; -x[56] = 0.77777777777777768000; -x[57] = 0.80952380952380953000; -x[58] = 0.84126984126984117000; -x[59] = 0.87301587301587302000; -x[60] = 0.90476190476190466000; -x[61] = 0.93650793650793651000; -x[62] = 0.96825396825396814000; -x[63] = 1.00000000000000000000; - - - - -var y = new Array(); -y[0] = 3.14159265358979310000; -y[1] = 2.88894492730522990000; -y[2] = 2.78333143507717650000; -y[3] = 2.70161669879887430000; -y[4] = 2.63214880477790030000; -y[5] = 2.57042415502425570000; -y[6] = 2.51413688066660250000; -y[7] = 2.46191883468154950000; -y[8] = 2.41287920284638750000; -y[9] = 2.36639928027943200000; -y[10] = 2.32202832592153240000; -y[11] = 2.27942559835728040000; -y[12] = 2.23832577143072960000; -y[13] = 2.19851714445280910000; -y[14] = 2.15982729701117070000; -y[15] = 2.12211329592677920000; -y[16] = 2.08525480235608330000; -y[17] = 2.04914909144415440000; -y[18] = 2.01370737086853560000; -y[19] = 1.97885200409617520000; -y[20] = 1.94451437773781040000; -y[21] = 1.91063323624901860000; -y[22] = 1.87715336135181590000; -y[23] = 1.84402450933553450000; -y[24] = 1.81120054356415610000; -y[25] = 1.77863871614824330000; -y[26] = 1.74629906437061930000; -y[27] = 1.71414389570026190000; -y[28] = 1.68213734113586070000; -y[29] = 1.65024496088003380000; -y[30] = 1.61843338941929970000; -y[31] = 1.58667000928485250000; -y[32] = 1.55492264430494110000; -y[33] = 1.52315926417049340000; -y[34] = 1.49134769270975950000; -y[35] = 1.45945531245393270000; -y[36] = 1.42744875788953140000; -y[37] = 1.39529358921917380000; -y[38] = 1.36295393744155000000; -y[39] = 1.33039211002563730000; -y[40] = 1.29756814425425880000; -y[41] = 1.26443929223797750000; -y[42] = 1.23095941734077470000; -y[43] = 1.19707827585198270000; -y[44] = 1.16274064949361830000; -y[45] = 1.12788528272125750000; -y[46] = 1.09244356214563900000; -y[47] = 1.05633785123370980000; -y[48] = 1.01947935766301390000; -y[49] = 0.98176535657862274000; -y[50] = 0.94307550913698401000; -y[51] = 0.90326688215906359000; -y[52] = 0.86216705523251280000; -y[53] = 0.81956432766826082000; -y[54] = 0.77519337331036142000; -y[55] = 0.72871345074340554000; -y[56] = 0.67967381890824408000; -y[57] = 0.62745577292319077000; -y[58] = 0.57116849856553775000; -y[59] = 0.50944384881189297000; -y[60] = 0.43997595479091917000; -y[61] = 0.35826121851261677000; -y[62] = 0.25264772628456394000; -y[63] = 0.00000000000000000000; - - - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.acos(x[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx = " + x[i] + "\nlibc.acos(x) = " + y[i] + "\nMath.acos(x) = " + Math.acos(x[i]) + "\nMath.abs(libc.acos(x) - Math.acos(x)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A1.js deleted file mode 100644 index 3416301ed4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.3_A1; - * @section: 15.8.2.3; - * @assertion: If x is NaN, Math.asin(x) is NaN; - * @description: Checking if Math.asin(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.3_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A1.js", - -assertion: "If x is NaN, Math.asin(x) is NaN", - -description: "Checking if Math.asin(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.asin(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.asin(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A2.js deleted file mode 100644 index 217b4e782a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A2.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.3_A2; - * @section: 15.8.2.3; - * @assertion: If x is greater than 1, Math.asin(x) is NaN; - * @description: Checking if Math.asin(x) is NaN, where x is greater than 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.3_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A2.js", - -assertion: "If x is greater than 1, Math.asin(x) is NaN", - -description: "Checking if Math.asin(x) is NaN, where x is greater than 1", - -test: function testcase() { - // CHECK#1 -var x = 1.000000000000001; -if (!isNaN(Math.asin(x))) -{ - $ERROR("#1: 'var x = 1.000000000000001; isNaN(Math.asin(x)) === false'"); -} - -// CHECK#2 -x = 2; -if (!isNaN(Math.asin(x))) -{ - $ERROR("#2: 'x = 2; isNaN(Math.asin(x)) === false'"); -} - -// CHECK#3 -x = +Infinity; -if (!isNaN(Math.asin(x))) -{ - $ERROR("#3: 'x = +Infinity; isNaN(Math.asin(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A3.js deleted file mode 100644 index 3ae5011962..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A3.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.3_A3; - * @section: 15.8.2.3; - * @assertion: If x is less than -1, Math.asin(x) is NaN; - * @description: Checking if Math.asin(x) is NaN, where x is less than -1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.3_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A3.js", - -assertion: "If x is less than -1, Math.asin(x) is NaN", - -description: "Checking if Math.asin(x) is NaN, where x is less than -1", - -test: function testcase() { - // CHECK#1 -var x = -1.000000000000001; -if (!isNaN(Math.asin(x))) -{ - $ERROR("#1: 'var x = -1.000000000000001; isNaN(Math.asin(x)) === false'"); -} - -// CHECK#2 -x = -2; -if (!isNaN(Math.asin(x))) -{ - $ERROR("#2: 'x = -2; isNaN(Math.asin(x)) === false'"); -} - -// CHECK#3 -x = -Infinity; -if (!isNaN(Math.asin(x))) -{ - $ERROR("#3: 'x = -Infinity; isNaN(Math.asin(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A4.js deleted file mode 100644 index 171fbc5fb9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.3_A4; - * @section: 15.8.2.3; - * @assertion: If x is +0, Math.asin(x) is +0; - * @description: Checking if Math.asin(+0) equals +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.3_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A4.js", - -assertion: "If x is +0, Math.asin(x) is +0", - -description: "Checking if Math.asin(+0) equals +0", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.asin(x) !== +0) -{ - $ERROR("#1: 'var x = +0; Math.asin(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A5.js deleted file mode 100644 index 12947a0f39..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.3_A5; - * @section: 15.8.2.3; - * @assertion: If x is -0, Math.asin(x) is -0; - * @description: Checking if Math.asin(-0) equals to -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.3_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A5.js", - -assertion: "If x is -0, Math.asin(x) is -0", - -description: "Checking if Math.asin(-0) equals to -0", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.asin(x) !== -0) -{ - $ERROR("#1: 'var x = -0; Math.asin(x) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A6.js deleted file mode 100644 index c4f47efa6f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A6.js +++ /dev/null @@ -1,178 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.3_A6; - * @section: 15.8.2.3; - * @assertion: Math.asin, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.asin is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.3_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.3_asin/S15.8.2.3_A6.js", - -assertion: "Math.asin, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.asin is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x = new Array(); -x[0] = -1.00000000000000000000; -x[1] = -0.96825396825396826000; -x[2] = -0.93650793650793651000; -x[3] = -0.90476190476190477000; -x[4] = -0.87301587301587302000; -x[5] = -0.84126984126984128000; -x[6] = -0.80952380952380953000; -x[7] = -0.77777777777777779000; -x[8] = -0.74603174603174605000; -x[9] = -0.71428571428571430000; -x[10] = -0.68253968253968256000; -x[11] = -0.65079365079365081000; -x[12] = -0.61904761904761907000; -x[13] = -0.58730158730158732000; -x[14] = -0.55555555555555558000; -x[15] = -0.52380952380952384000; -x[16] = -0.49206349206349209000; -x[17] = -0.46031746031746035000; -x[18] = -0.42857142857142860000; -x[19] = -0.39682539682539686000; -x[20] = -0.36507936507936511000; -x[21] = -0.33333333333333337000; -x[22] = -0.30158730158730163000; -x[23] = -0.26984126984126988000; -x[24] = -0.23809523809523814000; -x[25] = -0.20634920634920639000; -x[26] = -0.17460317460317465000; -x[27] = -0.14285714285714290000; -x[28] = -0.11111111111111116000; -x[29] = -0.07936507936507941600; -x[30] = -0.04761904761904767200; -x[31] = -0.01587301587301592800; -x[32] = 0.01587301587301581700; -x[33] = 0.04761904761904767200; -x[34] = 0.07936507936507930500; -x[35] = 0.11111111111111116000; -x[36] = 0.14285714285714279000; -x[37] = 0.17460317460317465000; -x[38] = 0.20634920634920628000; -x[39] = 0.23809523809523814000; -x[40] = 0.26984126984126977000; -x[41] = 0.30158730158730163000; -x[42] = 0.33333333333333326000; -x[43] = 0.36507936507936511000; -x[44] = 0.39682539682539675000; -x[45] = 0.42857142857142860000; -x[46] = 0.46031746031746024000; -x[47] = 0.49206349206349209000; -x[48] = 0.52380952380952372000; -x[49] = 0.55555555555555558000; -x[50] = 0.58730158730158721000; -x[51] = 0.61904761904761907000; -x[52] = 0.65079365079365070000; -x[53] = 0.68253968253968256000; -x[54] = 0.71428571428571419000; -x[55] = 0.74603174603174605000; -x[56] = 0.77777777777777768000; -x[57] = 0.80952380952380953000; -x[58] = 0.84126984126984117000; -x[59] = 0.87301587301587302000; -x[60] = 0.90476190476190466000; -x[61] = 0.93650793650793651000; -x[62] = 0.96825396825396814000; -x[63] = 1.00000000000000000000; - - - - -var y = new Array(); -y[0] = -1.57079632679489660000; -y[1] = -1.31814860051033310000; -y[2] = -1.21253510828227990000; -y[3] = -1.13082037200397780000; -y[4] = -1.06135247798300370000; -y[5] = -0.99962782822935903000; -y[6] = -0.94334055387170590000; -y[7] = -0.89112250788665281000; -y[8] = -0.84208287605149101000; -y[9] = -0.79560295348453536000; -y[10] = -0.75123199912663585000; -y[11] = -0.70862927156238398000; -y[12] = -0.66752944463583297000; -y[13] = -0.62772081765791266000; -y[14] = -0.58903097021627393000; -y[15] = -0.55131696913188277000; -y[16] = -0.51445847556118673000; -y[17] = -0.47835276464925774000; -y[18] = -0.44291104407363896000; -y[19] = -0.40805567730127851000; -y[20] = -0.37371805094291394000; -y[21] = -0.33983690945412198000; -y[22] = -0.30635703455691915000; -y[23] = -0.27322818254063785000; -y[24] = -0.24040421676925938000; -y[25] = -0.20784238935334678000; -y[26] = -0.17550273757572274000; -y[27] = -0.14334756890536540000; -y[28] = -0.11134101434096394000; -y[29] = -0.07944863408513722100; -y[30] = -0.04763706262440318300; -y[31] = -0.01587368248995573600; -y[32] = 0.01587368248995562500; -y[33] = 0.04763706262440318300; -y[34] = 0.07944863408513711000; -y[35] = 0.11134101434096394000; -y[36] = 0.14334756890536529000; -y[37] = 0.17550273757572274000; -y[38] = 0.20784238935334667000; -y[39] = 0.24040421676925938000; -y[40] = 0.27322818254063774000; -y[41] = 0.30635703455691915000; -y[42] = 0.33983690945412187000; -y[43] = 0.37371805094291394000; -y[44] = 0.40805567730127840000; -y[45] = 0.44291104407363896000; -y[46] = 0.47835276464925758000; -y[47] = 0.51445847556118673000; -y[48] = 0.55131696913188266000; -y[49] = 0.58903097021627393000; -y[50] = 0.62772081765791254000; -y[51] = 0.66752944463583297000; -y[52] = 0.70862927156238387000; -y[53] = 0.75123199912663585000; -y[54] = 0.79560295348453514000; -y[55] = 0.84208287605149101000; -y[56] = 0.89112250788665259000; -y[57] = 0.94334055387170590000; -y[58] = 0.99962782822935881000; -y[59] = 1.06135247798300370000; -y[60] = 1.13082037200397760000; -y[61] = 1.21253510828227990000; -y[62] = 1.31814860051033270000; -y[63] = 1.57079632679489660000; - - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.asin(x[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx = " + x[i] + "\nlibc.asin(x) = " + y[i] + "\nMath.asin(x) = " + Math.asin(x[i]) + "\nMath.abs(libc.asin(x) - Math.asin(x)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A1.js deleted file mode 100644 index 319a1ea4d5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.4_A1; - * @section: 15.8.2.4; - * @assertion: If x is NaN, Math.atan(x) is NaN; - * @description: Checking if Math.atan(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.4_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A1.js", - -assertion: "If x is NaN, Math.atan(x) is NaN", - -description: "Checking if Math.atan(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.atan(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.atan(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A2.js deleted file mode 100644 index ea48b940e0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.4_A2; - * @section: 15.8.2.4; - * @assertion: If x is +0, Math.atan(x) is +0; - * @description: Checking if Math.atan(+0) equals to +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.4_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A2.js", - -assertion: "If x is +0, Math.atan(x) is +0", - -description: "Checking if Math.atan(+0) equals to +0", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.atan(x) !== +0) -{ - $ERROR("#1: 'var x = +0; Math.atan(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A3.js deleted file mode 100644 index 49aeacc3de..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.4_A3; - * @section: 15.8.2.4; - * @assertion: If x is -0, Math.atan(x) is -0; - * @description: Checking if Math.atan(-0) equals to -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.4_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A3.js", - -assertion: "If x is -0, Math.atan(x) is -0", - -description: "Checking if Math.atan(-0) equals to -0", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.atan(x) !== -0) -{ - $ERROR("#1: 'var x = -0; Math.atan(x) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A4.js deleted file mode 100644 index bffd10c3c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A4.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.4_A4; - * @section: 15.8.2.4; - * @assertion: If x is +Infinity, Math.atan(x) is an implementation-dependent approximation to +PI/2; - * @description: Checking if Math.atan(+Infinity) is an approximation to +PI/2; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.4_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A4.js", - -assertion: "If x is +Infinity, Math.atan(x) is an implementation-dependent approximation to +PI/2", - -description: "Checking if Math.atan(+Infinity) is an approximation to +PI/2", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 - -var x = +Infinity; -if (!isEqual(Math.atan(x),Math.PI/2)) -{ - $ERROR("#1: '!isEqual(Math.atan(+Infinity), Math.PI/2)'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A5.js deleted file mode 100644 index 6429b6558a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A5.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.4_A5; - * @section: 15.8.2.4; - * @assertion: If x is -Infinity, Math.atan(x) is an implementation-dependent approximation to -PI/2; - * @description: Checking if Math.atan(-Infinity) is an approximation to -PI/2; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.4_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A5.js", - -assertion: "If x is -Infinity, Math.atan(x) is an implementation-dependent approximation to -PI/2", - -description: "Checking if Math.atan(-Infinity) is an approximation to -PI/2", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 - -var x = -Infinity; -if (!isEqual(Math.atan(x), -Math.PI/2)) -{ - $ERROR("#1: '!isEqual(Math.atan(-Infinity), -Math.PI/2)'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A6.js deleted file mode 100644 index 8f46b02e81..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A6.js +++ /dev/null @@ -1,178 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.4_A6; - * @section: 15.8.2.4; - * @assertion: Math.atan, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.atan is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.4_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.4_atan/S15.8.2.4_A6.js", - -assertion: "Math.atan, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.atan is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x = new Array(); -x[0] = -16.00000000000000000000; -x[1] = -15.49206349206349200000; -x[2] = -14.98412698412698400000; -x[3] = -14.47619047619047600000; -x[4] = -13.96825396825396800000; -x[5] = -13.46031746031746000000; -x[6] = -12.95238095238095300000; -x[7] = -12.44444444444444500000; -x[8] = -11.93650793650793700000; -x[9] = -11.42857142857142900000; -x[10] = -10.92063492063492100000; -x[11] = -10.41269841269841300000; -x[12] = -9.90476190476190510000; -x[13] = -9.39682539682539720000; -x[14] = -8.88888888888888930000; -x[15] = -8.38095238095238140000; -x[16] = -7.87301587301587350000; -x[17] = -7.36507936507936560000; -x[18] = -6.85714285714285770000; -x[19] = -6.34920634920634970000; -x[20] = -5.84126984126984180000; -x[21] = -5.33333333333333390000; -x[22] = -4.82539682539682600000; -x[23] = -4.31746031746031810000; -x[24] = -3.80952380952381020000; -x[25] = -3.30158730158730230000; -x[26] = -2.79365079365079440000; -x[27] = -2.28571428571428650000; -x[28] = -1.77777777777777860000; -x[29] = -1.26984126984127070000; -x[30] = -0.76190476190476275000; -x[31] = -0.25396825396825484000; -x[32] = 0.25396825396825307000; -x[33] = 0.76190476190476275000; -x[34] = 1.26984126984126890000; -x[35] = 1.77777777777777860000; -x[36] = 2.28571428571428470000; -x[37] = 2.79365079365079440000; -x[38] = 3.30158730158730050000; -x[39] = 3.80952380952381020000; -x[40] = 4.31746031746031630000; -x[41] = 4.82539682539682600000; -x[42] = 5.33333333333333210000; -x[43] = 5.84126984126984180000; -x[44] = 6.34920634920634800000; -x[45] = 6.85714285714285770000; -x[46] = 7.36507936507936380000; -x[47] = 7.87301587301587350000; -x[48] = 8.38095238095237960000; -x[49] = 8.88888888888888930000; -x[50] = 9.39682539682539540000; -x[51] = 9.90476190476190510000; -x[52] = 10.41269841269841100000; -x[53] = 10.92063492063492100000; -x[54] = 11.42857142857142700000; -x[55] = 11.93650793650793700000; -x[56] = 12.44444444444444300000; -x[57] = 12.95238095238095300000; -x[58] = 13.46031746031745900000; -x[59] = 13.96825396825396800000; -x[60] = 14.47619047619047400000; -x[61] = 14.98412698412698400000; -x[62] = 15.49206349206349000000; -x[63] = 16.00000000000000000000; - - - -var y = new Array(); -y[0] = -1.50837751679893930000; -y[1] = -1.50633657314382670000; -y[2] = -1.50415785436419310000; -y[3] = -1.50182694519358660000; -y[4] = -1.49932735026103090000; -y[5] = -1.49664010557682300000; -y[6] = -1.49374329974393950000; -y[7] = -1.49061147949358030000; -y[8] = -1.48721490565349580000; -y[9] = -1.48351861384543530000; -y[10] = -1.47948121756761840000; -y[11] = -1.47505336756015580000; -y[12] = -1.47017574693777100000; -y[13] = -1.46477643093971600000; -y[14] = -1.45876736436890870000; -y[15] = -1.45203959426707030000; -y[16] = -1.44445671565255360000; -y[17] = -1.43584570229039390000; -y[18] = -1.42598382855595760000; -y[19] = -1.41457960835077490000; -y[20] = -1.40124433129607070000; -y[21] = -1.38544837679920190000; -y[22] = -1.36645204745321510000; -y[23] = -1.34319210978762000000; -y[24] = -1.31408799636151090000; -y[25] = -1.27669520176831860000; -y[26] = -1.22705270315911450000; -y[27] = -1.15838588519750950000; -y[28] = -1.05840686648415900000; -y[29] = -0.90372394590298166000; -y[30] = -0.65107672144448037000; -y[31] = -0.24870998909352368000; -y[32] = 0.24870998909352202000; -y[33] = 0.65107672144448037000; -y[34] = 0.90372394590298100000; -y[35] = 1.05840686648415900000; -y[36] = 1.15838588519750910000; -y[37] = 1.22705270315911450000; -y[38] = 1.27669520176831840000; -y[39] = 1.31408799636151090000; -y[40] = 1.34319210978761980000; -y[41] = 1.36645204745321510000; -y[42] = 1.38544837679920190000; -y[43] = 1.40124433129607070000; -y[44] = 1.41457960835077490000; -y[45] = 1.42598382855595760000; -y[46] = 1.43584570229039390000; -y[47] = 1.44445671565255360000; -y[48] = 1.45203959426707030000; -y[49] = 1.45876736436890870000; -y[50] = 1.46477643093971600000; -y[51] = 1.47017574693777100000; -y[52] = 1.47505336756015580000; -y[53] = 1.47948121756761840000; -y[54] = 1.48351861384543530000; -y[55] = 1.48721490565349580000; -y[56] = 1.49061147949358030000; -y[57] = 1.49374329974393950000; -y[58] = 1.49664010557682300000; -y[59] = 1.49932735026103090000; -y[60] = 1.50182694519358660000; -y[61] = 1.50415785436419310000; -y[62] = 1.50633657314382670000; -y[63] = 1.50837751679893930000; - - - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.atan(x[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx = " + x[i] + "\nlibc.atan(x) = " + y[i] + "\nMath.atan(x) = " + Math.atan(x[i]) + "\nMath.abs(libc.atan(x) - Math.atan(x)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A1.js deleted file mode 100644 index c35ee1e176..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A1.js +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A1; - * @section: 15.8.2.5; - * @assertion: If either x or y is NaN, Math(x,y) is NaN; - * @description: Checking if Math.atan2(NaN,y) and Math.atan2(x,NaN) is NaN for different x and y values; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A1.js", - -assertion: "If either x or y is NaN, Math(x,y) is NaN", - -description: "Checking if Math.atan2(NaN,y) and Math.atan2(x,NaN) is NaN for different x and y values", - -test: function testcase() { - // CHECK#1 - -vals = new Array(); -vals[0] = -Infinity; -vals[1] = -0.000000000000001; -vals[2] = -0; -vals[3] = +0 -vals[4] = 0.000000000000001; -vals[5] = +Infinity; -vals[6] = NaN; -valnum = 7; - -args = new Array(); -for (i = 0; i < 2; i++) -{ - args[i] = NaN; - for (j = 0; j < valnum; j++) - { - args[1-i] = vals[j]; - if (!isNaN(Math.atan2(args[0], args[1]))) - { - $ERROR("#1: isNaN(Math.atan2(" + args[0] + ", " + args[1] + ")) === false'"); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A10.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A10.js deleted file mode 100644 index 69bb83aad0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A10.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A10; - * @section: 15.8.2.5; - * @assertion: If y is -0 and x is -0, Math.atan2(y,x) is an implementation-dependent approximation to -PI; - * @description: Checking if Math.atan2(-0,-0) is an approximation to -PI; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A10", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A10.js", - -assertion: "If y is -0 and x is -0, Math.atan2(y,x) is an implementation-dependent approximation to -PI", - -description: "Checking if Math.atan2(-0,-0) is an approximation to -PI", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -//prec = 0.00000000000001; -y = -0; -x = -0; -if (!isEqual(Math.atan2(y,x), -Math.PI)) - $ERROR("#1: !isEqual(Math.atan2(-0,-0), -Math.PI)"); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A11.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A11.js deleted file mode 100644 index 7f02cfa24a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A11.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A11; - * @section: 15.8.2.5; - * @assertion: If y is equal to -0 and x<0, Math.atan2(y,x) is an implementation-dependent approximation to -PI; - * @description: Checking if Math.atan2(-0,x) is an approximation to -PI, where x<0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A11", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A11.js", - -assertion: "If y is equal to -0 and x<0, Math.atan2(y,x) is an implementation-dependent approximation to -PI", - -description: "Checking if Math.atan2(-0,x) is an approximation to -PI, where x<0", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -y = -0; -//prec = 0.00000000000001; -x = new Array(); -x[0] = -0.000000000000001; -x[2] = -Infinity; -x[1] = -1; -xnum = 3; - -for (i = 0; i < xnum; i++) -{ - if (!isEqual(Math.atan2(y,x[i]), - Math.PI)) - $FAIL("#1: Math.abs(Math.atan2(" + y + ", " + x[i] + ") + Math.PI) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A12.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A12.js deleted file mode 100644 index ecea9b3b40..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A12.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A12; - * @section: 15.8.2.5; - * @assertion: If y<0 and x is +0, Math.atan2(y,x) is an implementation-dependent approximation to -PI/2; - * @description: Checking if Math.atan2(y,+0) is an approximation to -PI/2, where y<0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A12", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A12.js", - -assertion: "If y<0 and x is +0, Math.atan2(y,x) is an implementation-dependent approximation to -PI/2", - -description: "Checking if Math.atan2(y,+0) is an approximation to -PI/2, where y<0", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -x = +0; -//prec = 0.00000000000001; -y = new Array(); -y[0] = -0.000000000000001; -y[2] = -Infinity; -y[1] = -1; -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (!isEqual(Math.atan2(y[i],x), -(Math.PI)/2)) - $FAIL("#1: Math.abs(Math.atan2(" + y[i] + ", " + x + ") + ((Math.PI)/2)) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A13.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A13.js deleted file mode 100644 index 2e4deb138c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A13.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A13; - * @section: 15.8.2.5; - * @assertion: If y<0 and x is -0, Math.atan2(y,x) is an implementation-dependent approximation to -PI/2; - * @description: Checking if Math.atan2(y,-0) is an approximation to -PI/2, where y<0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A13", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A13.js", - -assertion: "If y<0 and x is -0, Math.atan2(y,x) is an implementation-dependent approximation to -PI/2", - -description: "Checking if Math.atan2(y,-0) is an approximation to -PI/2, where y<0", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -x = -0; -//prec = 0.00000000000001; -y = new Array(); -y[0] = -0.000000000000001; -y[2] = -Infinity; -y[1] = -1; -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (!isEqual(Math.atan2(y[i],x), -(Math.PI)/2)) - $FAIL("#1: Math.abs(Math.atan2(" + y[i] + ", -0) + ((Math.PI)/2)) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A14.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A14.js deleted file mode 100644 index 72ddcb7ab6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A14.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A14; - * @section: 15.8.2.5; - * @assertion: If y>0 and y is finite and x is equal to +Infinity, Math.atan2(y,x) is +0; - * @description: Checking if Math.atan2(y,x) equals to +0, where y>0 and y is finite and x is equal to +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A14", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A14.js", - -assertion: "If y>0 and y is finite and x is equal to +Infinity, Math.atan2(y,x) is +0", - -description: "Checking if Math.atan2(y,x) equals to +0, where y>0 and y is finite and x is equal to +Infinity", - -test: function testcase() { - // CHECK#1 -x = +Infinity; -y = new Array(); -y[0] = 0.000000000000001; -y[1] = 1; -y[2] = 1.7976931348623157E308; //largest finite number -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (Math.atan2(y[i],x) !== +0) - $FAIL("#1: Math.atan2(" + y[i] + ", " + x + ") !== +0"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A15.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A15.js deleted file mode 100644 index b08cc56ad4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A15.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A15; - * @section: 15.8.2.5; - * @assertion: If y>0 and y is finite and x is equal to -Infinity, Math.atan2(y,x) is an implementation-dependent approximation to +PI; - * @description: Checking if Math.atan2(y,x) is an approximation to +PI, where y>0 and y is finite and x is equal to -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A15", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A15.js", - -assertion: "If y>0 and y is finite and x is equal to -Infinity, Math.atan2(y,x) is an implementation-dependent approximation to +PI", - -description: "Checking if Math.atan2(y,x) is an approximation to +PI, where y>0 and y is finite and x is equal to -Infinity", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -x = -Infinity; -y = new Array(); -y[0] = 0.000000000000001; -y[1] = 1; -y[2] = 1.7976931348623157E308; //largest finite number -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (!isEqual(Math.atan2(y[i],x),Math.PI)) - $FAIL("#1: Math.abs(Math.atan2(" + y[i] + ", " + x + ") - Math.PI) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A16.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A16.js deleted file mode 100644 index 56f7bdb3fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A16.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A16; - * @section: 15.8.2.5; - * @assertion: If y<0 and y is finite and x is equal to +Infinity, Math.atan2(y,x) is -0; - * @description: Checking if Math.atan2(y,x) is -0, where y<0 and y is finite and x is equal to +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A16", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A16.js", - -assertion: "If y<0 and y is finite and x is equal to +Infinity, Math.atan2(y,x) is -0", - -description: "Checking if Math.atan2(y,x) is -0, where y<0 and y is finite and x is equal to +Infinity", - -test: function testcase() { - // CHECK#1 -x = +Infinity; -y = new Array(); -y[0] = -0.000000000000001; -y[1] = -1; -y[2] = -1.7976931348623157E308; //largest by abs() finite number -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (Math.atan2(y[i],x) !== -0) - $FAIL("#1: Math.atan2(" + y[i] + ", " + x + ") !== -0"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A17.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A17.js deleted file mode 100644 index 52a6330309..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A17.js +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A17; - * @section: 15.8.2.5; - * @assertion: If y<0 and y is finite and x is equal to -Infinity, Math.atan2(y,x) is an implementation-dependent approximation to -PI; - * @description: Checking if Math.atan2(y,x) is an approximation to -PI, where y<0 and y is finite and x is equal to -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A17", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A17.js", - -assertion: "If y<0 and y is finite and x is equal to -Infinity, Math.atan2(y,x) is an implementation-dependent approximation to -PI", - -description: "Checking if Math.atan2(y,x) is an approximation to -PI, where y<0 and y is finite and x is equal to -Infinity", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -x = -Infinity; -y = new Array(); -y[0] = -0.000000000000001; -y[1] = -1; -y[2] = -1.7976931348623157E308; //largest (by module) finite number -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (!isEqual(Math.atan2(y[i],x), -Math.PI)) - $FAIL("#1: Math.abs(Math.atan2(" + y[i] + ", " + x + ") + Math.PI) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A18.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A18.js deleted file mode 100644 index cf74d6cc1b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A18.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A18; - * @section: 15.8.2.5; - * @assertion: If y is +Infinity and x is finite, Math.atan2(y,x) is an implementation-dependent approximation to +PI/2; - * @description: Checking if Math.atan2(y,x) is an approximation to +PI/2, where y is +Infinity and x is finite; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A18", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A18.js", - -assertion: "If y is +Infinity and x is finite, Math.atan2(y,x) is an implementation-dependent approximation to +PI/2", - -description: "Checking if Math.atan2(y,x) is an approximation to +PI/2, where y is +Infinity and x is finite", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -y = +Infinity; -x = new Array(); -x[0] = 0.000000000000001; -x[1] = 1; -x[2] = 1.7976931348623157E308; //largest finite number -x[3] = -0.000000000000001; -x[4] = -1; -x[5] = -1.7976931348623157E308; //largest (by module) finite number - -xnum = 6; - -for (i = 0; i < xnum; i++) -{ - if (!isEqual(Math.atan2(y,x[i]), (Math.PI)/2)) - $FAIL("#1: Math.abs(Math.atan2(" + y + ", " + x[i] + ") - (Math.PI/2)) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A19.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A19.js deleted file mode 100644 index 6bc8c21560..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A19.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A19; - * @section: 15.8.2.5; - * @assertion: If y is -Infinity and x is finite, Math.atan2(y,x) is an implementation-dependent approximation to -PI/2; - * @description: Checking if Math.atan2(y,x) is an approximation to -PI/2, where y is -Infinity and x is finite; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A19", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A19.js", - -assertion: "If y is -Infinity and x is finite, Math.atan2(y,x) is an implementation-dependent approximation to -PI/2", - -description: "Checking if Math.atan2(y,x) is an approximation to -PI/2, where y is -Infinity and x is finite", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -//prec = 0.00000000000001; -y = -Infinity; -x = new Array(); -x[0] = 0.000000000000001; -x[1] = 1; -x[2] = 1.7976931348623157E308; //largest finite number -x[3] = -0.000000000000001; -x[4] = -1; -x[5] = -1.7976931348623157E308; //largest (by module) finite number - -xnum = 6; - -for (i = 0; i < xnum; i++) -{ - if (!isEqual(Math.atan2(y,x[i]), -(Math.PI)/2)) - $FAIL("#1: Math.abs(Math.atan2(" + y + ", " + x[i] + ") + (Math.PI/2)) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A2.js deleted file mode 100644 index ccd4f0cf0e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A2.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A2; - * @section: 15.8.2.5; - * @assertion: If y>0 and x is +0, Math.atan2(y,x) is an implementation-dependent approximation to +PI/2; - * @description: Checking if Math.atan2(y,x) is an approximation to +PI/2, where y>0 and x is +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A2.js", - -assertion: "If y>0 and x is +0, Math.atan2(y,x) is an implementation-dependent approximation to +PI/2", - -description: "Checking if Math.atan2(y,x) is an approximation to +PI/2, where y>0 and x is +0", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -x = +0; -//prec = 0.00000000000001; -y = new Array(); -y[0] = 0.000000000000001; -y[2] = +Infinity; -y[1] = 1; -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (!isEqual(Math.atan2(y[i],x),(Math.PI)/2)) - $FAIL("#1: Math.abs(Math.atan2(" + y[i] + ", " + x + ") - ((Math.PI)/2)) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A20.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A20.js deleted file mode 100644 index cc1cbafb24..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A20.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A20; - * @section: 15.8.2.5; - * @assertion: If y is equal to +Infinity and x is equal to +Infinity, Math.atan2(y,x) is an implementation-dependent approximation to +PI/4; - * @description: Checking if Math.atan2(y,x) is an approximation to +PI/4, where y is equal to +Infinity and x is equal to +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A20", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A20.js", - -assertion: "If y is equal to +Infinity and x is equal to +Infinity, Math.atan2(y,x) is an implementation-dependent approximation to +PI/4", - -description: "Checking if Math.atan2(y,x) is an approximation to +PI/4, where y is equal to +Infinity and x is equal to +Infinity", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -//prec = 0.00000000000001; -y = +Infinity; -x = +Infinity; - -if (!isEqual(Math.atan2(y,x),(Math.PI)/4)) - $ERROR("#1: Math.abs(Math.atan2(" + y + ", " + x + ") - (Math.PI/4)) >= " + prec); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A21.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A21.js deleted file mode 100644 index 02f708c3ac..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A21.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A21; - * @section: 15.8.2.5; - * @assertion: If y is equal to +Infinity and x is equal to -Infinity, Math.atan2(y,x) is an implementation-dependent approximation to +3*PI/4; - * @description: Checking if Math.atan2(y,x) is an approximation to +3*PI/4, where y is equal to +Infinity and x is equal to -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A21", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A21.js", - -assertion: "If y is equal to +Infinity and x is equal to -Infinity, Math.atan2(y,x) is an implementation-dependent approximation to +3*PI/4", - -description: "Checking if Math.atan2(y,x) is an approximation to +3*PI/4, where y is equal to +Infinity and x is equal to -Infinity", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -//prec = 0.00000000000001; -y = +Infinity; -x = -Infinity; - -if (!isEqual(Math.atan2(y,x), (3*Math.PI)/4)) - $ERROR("#1: Math.abs(Math.atan2(" + y + ", " + x + ") - (3*Math.PI/4)) >= " + prec); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A22.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A22.js deleted file mode 100644 index d6f2dd404e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A22.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A22; - * @section: 15.8.2.5; - * @assertion: If y is equal to -Infinity and x is equal to +Infinity, Math.atan2(y,x) is an implementation-dependent approximation to -PI/4; - * @description: Checking if Math.atan2(y,x) is an approximation to -PI/4, where y is equal to -Infinity and x is equal to +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A22", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A22.js", - -assertion: "If y is equal to -Infinity and x is equal to +Infinity, Math.atan2(y,x) is an implementation-dependent approximation to -PI/4", - -description: "Checking if Math.atan2(y,x) is an approximation to -PI/4, where y is equal to -Infinity and x is equal to +Infinity", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -//prec = 0.00000000000001; -y = -Infinity; -x = +Infinity; - -if (!isEqual(Math.atan2(y,x),- (Math.PI)/4)) - $ERROR("#1: Math.abs(Math.atan2(" + y + ", " + x + ") + (Math.PI/4)) >= " + prec); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A23.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A23.js deleted file mode 100644 index 5ac09f7eb8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A23.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A23; - * @section: 15.8.2.5; - * @assertion: If y is equal to -Infinity and x is equal to -Infinity, Math.atan2(y,x) is an implementation-dependent approximation to -3*PI/4; - * @description: Checking if Math.atan2(y,x) is an approximation to -3*PI/4, where y is equal to -Infinity and x is equal to -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A23", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A23.js", - -assertion: "If y is equal to -Infinity and x is equal to -Infinity, Math.atan2(y,x) is an implementation-dependent approximation to -3*PI/4", - -description: "Checking if Math.atan2(y,x) is an approximation to -3*PI/4, where y is equal to -Infinity and x is equal to -Infinity", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -//prec = 0.00000000000001; -y = -Infinity; -x = -Infinity; - -if (!isEqual(Math.atan2(y,x), -(3*Math.PI)/4)) - $ERROR("#1: Math.abs(Math.atan2(" + y + ", " + x + ") + (3*Math.PI/4)) >= " + prec); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A24.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A24.js deleted file mode 100644 index 798e43ab2e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A24.js +++ /dev/null @@ -1,243 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A24; - * @section: 15.8.2.5; - * @assertion: Math.atan2, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.atan2(argument1, argument2) is approximately equals to its mathematical values on the set of 64 argument1 values and 64 argument2 values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A24", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A24.js", - -assertion: "Math.atan2, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.atan2(argument1, argument2) is approximately equals to its mathematical values on the set of 64 argument1 values and 64 argument2 values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x1 = new Array(); -x1[0] = -16.00000000000000000000; -x1[1] = -15.49206349206349200000; -x1[2] = -14.98412698412698400000; -x1[3] = -14.47619047619047600000; -x1[4] = -13.96825396825396800000; -x1[5] = -13.46031746031746000000; -x1[6] = -12.95238095238095300000; -x1[7] = -12.44444444444444500000; -x1[8] = -11.93650793650793700000; -x1[9] = -11.42857142857142900000; -x1[10] = -10.92063492063492100000; -x1[11] = -10.41269841269841300000; -x1[12] = -9.90476190476190510000; -x1[13] = -9.39682539682539720000; -x1[14] = -8.88888888888888930000; -x1[15] = -8.38095238095238140000; -x1[16] = -7.87301587301587350000; -x1[17] = -7.36507936507936560000; -x1[18] = -6.85714285714285770000; -x1[19] = -6.34920634920634970000; -x1[20] = -5.84126984126984180000; -x1[21] = -5.33333333333333390000; -x1[22] = -4.82539682539682600000; -x1[23] = -4.31746031746031810000; -x1[24] = -3.80952380952381020000; -x1[25] = -3.30158730158730230000; -x1[26] = -2.79365079365079440000; -x1[27] = -2.28571428571428650000; -x1[28] = -1.77777777777777860000; -x1[29] = -1.26984126984127070000; -x1[30] = -0.76190476190476275000; -x1[31] = -0.25396825396825484000; -x1[32] = 0.25396825396825307000; -x1[33] = 0.76190476190476275000; -x1[34] = 1.26984126984126890000; -x1[35] = 1.77777777777777860000; -x1[36] = 2.28571428571428470000; -x1[37] = 2.79365079365079440000; -x1[38] = 3.30158730158730050000; -x1[39] = 3.80952380952381020000; -x1[40] = 4.31746031746031630000; -x1[41] = 4.82539682539682600000; -x1[42] = 5.33333333333333210000; -x1[43] = 5.84126984126984180000; -x1[44] = 6.34920634920634800000; -x1[45] = 6.85714285714285770000; -x1[46] = 7.36507936507936380000; -x1[47] = 7.87301587301587350000; -x1[48] = 8.38095238095237960000; -x1[49] = 8.88888888888888930000; -x1[50] = 9.39682539682539540000; -x1[51] = 9.90476190476190510000; -x1[52] = 10.41269841269841100000; -x1[53] = 10.92063492063492100000; -x1[54] = 11.42857142857142700000; -x1[55] = 11.93650793650793700000; -x1[56] = 12.44444444444444300000; -x1[57] = 12.95238095238095300000; -x1[58] = 13.46031746031745900000; -x1[59] = 13.96825396825396800000; -x1[60] = 14.47619047619047400000; -x1[61] = 14.98412698412698400000; -x1[62] = 15.49206349206349000000; -x1[63] = 16.00000000000000000000; - - -var x2 = new Array(); -x2[0] = -8.00000000000000000000; -x2[1] = -7.74603174603174600000; -x2[2] = -7.49206349206349210000; -x2[3] = -7.23809523809523810000; -x2[4] = -6.98412698412698420000; -x2[5] = -6.73015873015873020000; -x2[6] = -6.47619047619047630000; -x2[7] = -6.22222222222222230000; -x2[8] = -5.96825396825396840000; -x2[9] = -5.71428571428571440000; -x2[10] = -5.46031746031746050000; -x2[11] = -5.20634920634920650000; -x2[12] = -4.95238095238095260000; -x2[13] = -4.69841269841269860000; -x2[14] = -4.44444444444444460000; -x2[15] = -4.19047619047619070000; -x2[16] = -3.93650793650793670000; -x2[17] = -3.68253968253968280000; -x2[18] = -3.42857142857142880000; -x2[19] = -3.17460317460317490000; -x2[20] = -2.92063492063492090000; -x2[21] = -2.66666666666666700000; -x2[22] = -2.41269841269841300000; -x2[23] = -2.15873015873015910000; -x2[24] = -1.90476190476190510000; -x2[25] = -1.65079365079365110000; -x2[26] = -1.39682539682539720000; -x2[27] = -1.14285714285714320000; -x2[28] = -0.88888888888888928000; -x2[29] = -0.63492063492063533000; -x2[30] = -0.38095238095238138000; -x2[31] = -0.12698412698412742000; -x2[32] = 0.12698412698412653000; -x2[33] = 0.38095238095238138000; -x2[34] = 0.63492063492063444000; -x2[35] = 0.88888888888888928000; -x2[36] = 1.14285714285714230000; -x2[37] = 1.39682539682539720000; -x2[38] = 1.65079365079365030000; -x2[39] = 1.90476190476190510000; -x2[40] = 2.15873015873015820000; -x2[41] = 2.41269841269841300000; -x2[42] = 2.66666666666666610000; -x2[43] = 2.92063492063492090000; -x2[44] = 3.17460317460317400000; -x2[45] = 3.42857142857142880000; -x2[46] = 3.68253968253968190000; -x2[47] = 3.93650793650793670000; -x2[48] = 4.19047619047618980000; -x2[49] = 4.44444444444444460000; -x2[50] = 4.69841269841269770000; -x2[51] = 4.95238095238095260000; -x2[52] = 5.20634920634920560000; -x2[53] = 5.46031746031746050000; -x2[54] = 5.71428571428571350000; -x2[55] = 5.96825396825396840000; -x2[56] = 6.22222222222222140000; -x2[57] = 6.47619047619047630000; -x2[58] = 6.73015873015872930000; -x2[59] = 6.98412698412698420000; -x2[60] = 7.23809523809523720000; -x2[61] = 7.49206349206349210000; -x2[62] = 7.74603174603174520000; -x2[63] = 8.00000000000000000000; - - -var y = new Array(); -y[0] = -2.03444393579570270000; -y[1] = -2.03444393579570270000; -y[2] = -2.03444393579570270000; -y[3] = -2.03444393579570270000; -y[4] = -2.03444393579570270000; -y[5] = -2.03444393579570270000; -y[6] = -2.03444393579570270000; -y[7] = -2.03444393579570270000; -y[8] = -2.03444393579570270000; -y[9] = -2.03444393579570270000; -y[10] = -2.03444393579570270000; -y[11] = -2.03444393579570270000; -y[12] = -2.03444393579570270000; -y[13] = -2.03444393579570270000; -y[14] = -2.03444393579570270000; -y[15] = -2.03444393579570270000; -y[16] = -2.03444393579570270000; -y[17] = -2.03444393579570270000; -y[18] = -2.03444393579570270000; -y[19] = -2.03444393579570270000; -y[20] = -2.03444393579570270000; -y[21] = -2.03444393579570270000; -y[22] = -2.03444393579570270000; -y[23] = -2.03444393579570270000; -y[24] = -2.03444393579570270000; -y[25] = -2.03444393579570270000; -y[26] = -2.03444393579570270000; -y[27] = -2.03444393579570270000; -y[28] = -2.03444393579570270000; -y[29] = -2.03444393579570270000; -y[30] = -2.03444393579570270000; -y[31] = -2.03444393579570270000; -y[32] = 1.10714871779409040000; -y[33] = 1.10714871779409040000; -y[34] = 1.10714871779409040000; -y[35] = 1.10714871779409040000; -y[36] = 1.10714871779409040000; -y[37] = 1.10714871779409040000; -y[38] = 1.10714871779409040000; -y[39] = 1.10714871779409040000; -y[40] = 1.10714871779409040000; -y[41] = 1.10714871779409040000; -y[42] = 1.10714871779409040000; -y[43] = 1.10714871779409040000; -y[44] = 1.10714871779409040000; -y[45] = 1.10714871779409040000; -y[46] = 1.10714871779409040000; -y[47] = 1.10714871779409040000; -y[48] = 1.10714871779409040000; -y[49] = 1.10714871779409040000; -y[50] = 1.10714871779409040000; -y[51] = 1.10714871779409040000; -y[52] = 1.10714871779409040000; -y[53] = 1.10714871779409040000; -y[54] = 1.10714871779409040000; -y[55] = 1.10714871779409040000; -y[56] = 1.10714871779409040000; -y[57] = 1.10714871779409040000; -y[58] = 1.10714871779409040000; -y[59] = 1.10714871779409040000; -y[60] = 1.10714871779409040000; -y[61] = 1.10714871779409040000; -y[62] = 1.10714871779409040000; -y[63] = 1.10714871779409040000; - - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.atan2(x1[i], x2[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx1 = " + x1[i] + "\nx2 = " + x2[i] + "\nlibc.atan2(x1,x2) = " + y[i] + "\nMath.atan2(x1,x2) = " + Math.atan2(x1[i],x2[i]) + "\nMath.abs(libc.atan2(x1,x2) - Math.atan2(x1,x2)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A3.js deleted file mode 100644 index 517b6f6d3b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A3.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A3; - * @section: 15.8.2.5; - * @assertion: If y>0 and x is -0, Math.atan2(y,x) is an implementation-dependent approximation to +PI/2; - * @description: Checking if Math.atan2(y,x) is an approximation to +PI/2, where y>0 and x is -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A3.js", - -assertion: "If y>0 and x is -0, Math.atan2(y,x) is an implementation-dependent approximation to +PI/2", - -description: "Checking if Math.atan2(y,x) is an approximation to +PI/2, where y>0 and x is -0", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -x = -0; -//prec = 0.00000000000001; -y = new Array(); -y[0] = 0.000000000000001; -y[2] = +Infinity; -y[1] = 1; -ynum = 3; - -for (i = 0; i < ynum; i++) -{ - if (!isEqual(Math.atan2(y[i],x), (Math.PI)/2)) - $FAIL("#1: Math.abs(Math.atan2(" + y[i] + ", " + x + ") - ((Math.PI)/2)) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A4.js deleted file mode 100644 index a84fae8108..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A4.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A4; - * @section: 15.8.2.5; - * @assertion: If y is +0 and x>0, Math.atan2(y,x) is +0; - * @description: Checking if Math.atan2(y,x) equals to +0, where y is +0 and x>0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A4.js", - -assertion: "If y is +0 and x>0, Math.atan2(y,x) is +0", - -description: "Checking if Math.atan2(y,x) equals to +0, where y is +0 and x>0", - -test: function testcase() { - // CHECK#1 -y = +0; -x = new Array(); -x[0] = 0.000000000000001; -x[2] = +Infinity; -x[1] = 1; -xnum = 3; - -for (i = 0; i < xnum; i++) -{ - if (Math.atan2(y,x[i]) !== +0) - $FAIL("#1: Math.atan2(" + y + ", " + x[i] + ") !== +0"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A5.js deleted file mode 100644 index 6f942915ae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A5; - * @section: 15.8.2.5; - * @assertion: If y is +0 and x is +0, Math.atan2(y,x) is +0; - * @description: Checking if Math.atan2(y,x) is +0, where y is +0 and x is +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A5.js", - -assertion: "If y is +0 and x is +0, Math.atan2(y,x) is +0", - -description: "Checking if Math.atan2(y,x) is +0, where y is +0 and x is +0", - -test: function testcase() { - // CHECK#1 -y = +0; -x = +0; -if (Math.atan2(y,x) !== +0) - $ERROR("#1: Math.atan2(" + y + ", " + x + ") !== +0"); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A6.js deleted file mode 100644 index 5f68c18576..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A6.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A6; - * @section: 15.8.2.5; - * @assertion: If y is +0 and x is -0, Math.atan2(y,x) is an implementation-dependent approximation to +PI; - * @description: Checking if Math.atan2(y,x) is an approximation to +PI, where y is +0 and x is -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A6.js", - -assertion: "If y is +0 and x is -0, Math.atan2(y,x) is an implementation-dependent approximation to +PI", - -description: "Checking if Math.atan2(y,x) is an approximation to +PI, where y is +0 and x is -0", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -//prec = 0.00000000000001; -y = +0; -x = -0; -if (!isEqual(Math.atan2(y,x), Math.PI)) - $ERROR("#1: Math.abs(Math.atan2(" + y + ", -0) - Math.PI) >= " + prec); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A7.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A7.js deleted file mode 100644 index 965f128ddd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A7.js +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A7; - * @section: 15.8.2.5; - * @assertion: If y is equal to +0 and x<0, Math.atan2(y,x) is an implementation-dependent approximation to +PI; - * @description: Checking if Math.atan2(y,x) is an approximation to +PI, where y is equal to +0 and x<0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A7", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A7.js", - -assertion: "If y is equal to +0 and x<0, Math.atan2(y,x) is an implementation-dependent approximation to +PI", - -description: "Checking if Math.atan2(y,x) is an approximation to +PI, where y is equal to +0 and x<0", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -y = +0; -//prec = 0.00000000000001; -x = new Array(); -x[0] = -0.000000000000001; -x[2] = -Infinity; -x[1] = -1; -xnum = 3; - -for (i = 0; i < xnum; i++) -{ - if (!isEqual(Math.atan2(y,x[i]), Math.PI)) - $FAIL("#1: Math.abs(Math.atan2(" + y + ", " + x[i] + ") - Math.PI) >= " + prec); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A8.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A8.js deleted file mode 100644 index 976bd092ab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A8.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A8; - * @section: 15.8.2.5; - * @assertion: If y is equal to -0 and x>0, Math.atan2(y,x) is -0; - * @description: Checking if Math.atan2(y,x) is -0, where y is equal to -0 and x>0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A8", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A8.js", - -assertion: "If y is equal to -0 and x>0, Math.atan2(y,x) is -0", - -description: "Checking if Math.atan2(y,x) is -0, where y is equal to -0 and x>0", - -test: function testcase() { - // CHECK#1 -y = -0; -x = new Array(); -x[0] = 0.000000000000001; -x[2] = +Infinity; -x[1] = 1; -xnum = 3; - -for (i = 0; i < xnum; i++) -{ - if (Math.atan2(y,x[i]) !== -0) - $FAIL("#1: Math.atan2(" + y + ", " + x[i] + ") !== -0"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A9.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A9.js deleted file mode 100644 index 7b3715d4b4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A9.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.5_A9; - * @section: 15.8.2.5; - * @assertion: If y is -0 and x is +0, Math.atan2(y,x) is -0; - * @description: Checking if Math.atan2(y,x) is -0, where y is -0 and x is +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.5_A9", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.5_atan2/S15.8.2.5_A9.js", - -assertion: "If y is -0 and x is +0, Math.atan2(y,x) is -0", - -description: "Checking if Math.atan2(y,x) is -0, where y is -0 and x is +0", - -test: function testcase() { - // CHECK#1 -y = -0; -x = +0; -if (Math.atan2(y,x) !== -0) - $ERROR("#1: Math.atan2(" + y + ", " + x + ") !== -0"); - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A1.js deleted file mode 100644 index 7b86f623b7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.6_A1; - * @section: 15.8.2.6; - * @assertion: If x is NaN, Math.ceil(x) is NaN; - * @description: Checking if Math.ceil(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.6_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A1.js", - -assertion: "If x is NaN, Math.ceil(x) is NaN", - -description: "Checking if Math.ceil(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.ceil(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.ceil(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A2.js deleted file mode 100644 index 6c0fca4cc0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.6_A2; - * @section: 15.8.2.6; - * @assertion: If x is +0, Math.ceil(x) is +0; - * @description: Checking if Math.ceil(x) is +0, where x is +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.6_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A2.js", - -assertion: "If x is +0, Math.ceil(x) is +0", - -description: "Checking if Math.ceil(x) is +0, where x is +0", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.ceil(x) !== +0) -{ - $ERROR("#1: 'var x = +0; Math.ceil(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A3.js deleted file mode 100644 index 798da215da..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.6_A3; - * @section: 15.8.2.6; - * @assertion: If x is -0, Math.ceil(x) is -0; - * @description: Checking if Math.ceil(x) is -0, where x is -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.6_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A3.js", - -assertion: "If x is -0, Math.ceil(x) is -0", - -description: "Checking if Math.ceil(x) is -0, where x is -0", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.ceil(x) !== -0) -{ - $ERROR("#1: 'var x = -0; Math.ceil(x) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A4.js deleted file mode 100644 index 69b4658d4c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.6_A4; - * @section: 15.8.2.6; - * @assertion: If x is +Infinity, Math.ceil(x) is +Infinity; - * @description: Checking if Math.ceil(x) is +Infinity, where x is +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.6_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A4.js", - -assertion: "If x is +Infinity, Math.ceil(x) is +Infinity", - -description: "Checking if Math.ceil(x) is +Infinity, where x is +Infinity", - -test: function testcase() { - // CHECK#1 -var x = +Infinity; -if (Math.ceil(x) !== +Infinity) -{ - $ERROR("#1: 'var x = +Infinity; Math.ceil(x) !== +Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A5.js deleted file mode 100644 index 279e55281b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.6_A5; - * @section: 15.8.2.6; - * @assertion: If x is -Infinity, Math.ceil(x) is -Infinity; - * @description: Checking if Math.ceil(x) is -Infinity, where x is -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.6_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A5.js", - -assertion: "If x is -Infinity, Math.ceil(x) is -Infinity", - -description: "Checking if Math.ceil(x) is -Infinity, where x is -Infinity", - -test: function testcase() { - // CHECK#1 -var x = -Infinity; -if (Math.ceil(x) !== -Infinity) -{ - $ERROR("#1: 'var x = -Infinity; Math.ceil(x) !== -Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A6.js deleted file mode 100644 index d13f5172a9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A6.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.6_A6; - * @section: 15.8.2.6; - * @assertion: If x is less than 0 but greater than -1, Math.ceil(x) is -0; - * @description: Checking if Math.ceil(x) is -0, where x is less than 0 but greater than -1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.6_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A6.js", - -assertion: "If x is less than 0 but greater than -1, Math.ceil(x) is -0", - -description: "Checking if Math.ceil(x) is -0, where x is less than 0 but greater than -1", - -test: function testcase() { - // CHECK#1 -var x = -0.000000000000001; -if (Math.ceil(x) !== -0) -{ - $ERROR("#1: 'var x = -0.000000000000001; Math.ceil(x) !== -0'"); -} - -// CHECK#2 -var x = -0.999999999999999; -if (Math.ceil(x) !== -0) -{ - $ERROR("#2: 'var x = -0.999999999999999; Math.ceil(x) !== -0'"); -} - -// CHECK#3 -var x = -0.5; -if (Math.ceil(x) !== -0) -{ - $ERROR("#3: 'var x = -0.5; Math.ceil(x) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A7.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A7.js deleted file mode 100644 index f272fd476b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.6_A7; - * @section: 15.8.2.6; - * @assertion: The value of Math.ceil(x) is the same as the value of -Math.floor(-x); - * @description: Checking if Math.ceil(x) equals to -Math.floor(-x) on 2000 floating point argument values; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.6_A7", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.6_ceil/S15.8.2.6_A7.js", - -assertion: "The value of Math.ceil(x) is the same as the value of -Math.floor(-x)", - -description: "Checking if Math.ceil(x) equals to -Math.floor(-x) on 2000 floating point argument values", - -test: function testcase() { - // CHECK#1 -for (i=-1000; i<1000; i++) -{ - x = i/10.0; - if (Math.ceil(x) !== -Math.floor(-x)) - { - $ERROR("#1: 'x = " + x + "; Math.ceil(x) !== -Math.floor(-x)'"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A1.js deleted file mode 100644 index fbef2d1b56..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.7_A1; - * @section: 15.8.2.7; - * @assertion: If x is NaN, Math.cos(x) is NaN; - * @description: Checking if Math.cos(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.7_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A1.js", - -assertion: "If x is NaN, Math.cos(x) is NaN", - -description: "Checking if Math.cos(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.cos(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.cos(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A2.js deleted file mode 100644 index 29e27ea428..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.7_A2; - * @section: 15.8.2.7; - * @assertion: If x is +0, Math.cos(x) is 1; - * @description: Checking if Math.cos(+0) is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.7_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A2.js", - -assertion: "If x is +0, Math.cos(x) is 1", - -description: "Checking if Math.cos(+0) is 1", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.cos(x) !== 1) -{ - $ERROR("#1: 'var x = +0; Math.cos(x) !== 1'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A3.js deleted file mode 100644 index b6c5cf1a9e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.7_A3; - * @section: 15.8.2.7; - * @assertion: If x is -0, Math.cos(x) is 1; - * @description: Checking if Math.cos(-0) is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.7_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A3.js", - -assertion: "If x is -0, Math.cos(x) is 1", - -description: "Checking if Math.cos(-0) is 1", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.cos(x) !== 1) -{ - $ERROR("#1: 'var x = -0; Math.cos(x) !== 1'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A4.js deleted file mode 100644 index 33b09e0039..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.7_A4; - * @section: 15.8.2.7; - * @assertion: If x is +Infinity, Math.cos(x) is NaN; - * @description: Checking if Math.cos(+Infinity) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.7_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A4.js", - -assertion: "If x is +Infinity, Math.cos(x) is NaN", - -description: "Checking if Math.cos(+Infinity) is NaN", - -test: function testcase() { - // CHECK#1 -var x = +Infinity; -if (!isNaN(Math.cos(x))) -{ - $ERROR("#1: 'var x = +Infinity; isNaN(Math.cos(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A5.js deleted file mode 100644 index a126c18c00..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.7_A5; - * @section: 15.8.2.7; - * @assertion: If x is -Infinity, Math.cos(x) is NaN; - * @description: Checking if Math.cos(-Infinity) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.7_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A5.js", - -assertion: "If x is -Infinity, Math.cos(x) is NaN", - -description: "Checking if Math.cos(-Infinity) is NaN", - -test: function testcase() { - // CHECK#1 -var x = -Infinity; -if (!isNaN(Math.cos(x))) -{ - $ERROR("#1: 'var x = -Infinity; isNaN(Math.cos(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A6.js deleted file mode 100644 index 5bf504956f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A6.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.7_A6; - * @section: 15.8.2.7; - * @assertion: Cosine is a periodic function with period 2*PI; - * @description: Checking if Math.cos(x) equals to Math.cos(x+n*2*Math.PI) with precision 0.000000000003, where n is an integer from 1 to 100 and x is one of 10 float point values from -Math.PI to +Math.PI; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.7_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A6.js", - -assertion: "Cosine is a periodic function with period 2*PI", - -description: "Checking if Math.cos(x) equals to Math.cos(x+n*2*Math.PI) with precision 0.000000000003, where n is an integer from 1 to 100 and x is one of 10 float point values from -Math.PI to +Math.PI", - -test: function testcase() { - // CHECK#1 - prec = 0.000000000003; -//prec = 0.000000000000001; -period = 2*Math.PI; -pernum = 100; - -a = -pernum * period; -b = pernum * period; -snum = 9; -step = period/snum + 0.0; -x = new Array(); -for (i = 0; i < snum; i++) -{ - x[i] = a + i*step; -} -x[9] = a + period; - -var curval; -var curx; -var j; -for (i = 0; i < snum; i++) -{ - curval = Math.cos(x[i]); - curx = x[i] + period; - j = 0; - while (curx <= b) - { - curx += period; - j++; - if (Math.abs(Math.cos(curx) - curval) >= prec) - { - $FAIL("#1: cos is found out to not be periodic:\n Math.abs(Math.cos(" + x[i] + ") - Math.cos(" + x[i] + " + 2*Math.PI*" + j + ")) >= " + prec + "\n Math.cos(" + x[i] + ") === " + curval + "\n Math.cos(" + curx + ") === " + Math.cos(curx)); - } - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A7.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A7.js deleted file mode 100644 index 207490b334..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A7.js +++ /dev/null @@ -1,175 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.7_A7; - * @section: 15.8.2.7; - * @assertion: Math.cos it is recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.cos is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.7_A7", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.7_cos/S15.8.2.7_A7.js", - -assertion: "Math.cos it is recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.cos is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x = new Array(); -x[0] = -3.14159265358979310000; -x[1] = -3.04185955347583150000; -x[2] = -2.94212645336186980000; -x[3] = -2.84239335324790820000; -x[4] = -2.74266025313394660000; -x[5] = -2.64292715301998450000; -x[6] = -2.54319405290602290000; -x[7] = -2.44346095279206120000; -x[8] = -2.34372785267809960000; -x[9] = -2.24399475256413790000; -x[10] = -2.14426165245017630000; -x[11] = -2.04452855233621470000; -x[12] = -1.94479545222225280000; -x[13] = -1.84506235210829120000; -x[14] = -1.74532925199432950000; -x[15] = -1.64559615188036790000; -x[16] = -1.54586305176640600000; -x[17] = -1.44612995165244440000; -x[18] = -1.34639685153848280000; -x[19] = -1.24666375142452110000; -x[20] = -1.14693065131055950000; -x[21] = -1.04719755119659740000; -x[22] = -0.94746445108263622000; -x[23] = -0.84773135096867458000; -x[24] = -0.74799825085471250000; -x[25] = -0.64826515074075086000; -x[26] = -0.54853205062678922000; -x[27] = -0.44879895051282759000; -x[28] = -0.34906585039886595000; -x[29] = -0.24933275028490431000; -x[30] = -0.14959965017094268000; -x[31] = -0.04986655005698104000; -x[32] = 0.04986655005698104000; -x[33] = 0.14959965017094268000; -x[34] = 0.24933275028490431000; -x[35] = 0.34906585039886595000; -x[36] = 0.44879895051282759000; -x[37] = 0.54853205062678922000; -x[38] = 0.64826515074075086000; -x[39] = 0.74799825085471250000; -x[40] = 0.84773135096867414000; -x[41] = 0.94746445108263533000; -x[42] = 1.04719755119659830000; -x[43] = 1.14693065131055950000; -x[44] = 1.24666375142452070000; -x[45] = 1.34639685153848280000; -x[46] = 1.44612995165244400000; -x[47] = 1.54586305176640600000; -x[48] = 1.64559615188036810000; -x[49] = 1.74532925199432930000; -x[50] = 1.84506235210829140000; -x[51] = 1.94479545222225260000; -x[52] = 2.04452855233621470000; -x[53] = 2.14426165245017670000; -x[54] = 2.24399475256413790000; -x[55] = 2.34372785267810000000; -x[56] = 2.44346095279206120000; -x[57] = 2.54319405290602240000; -x[58] = 2.64292715301998450000; -x[59] = 2.74266025313394660000; -x[60] = 2.84239335324790780000; -x[61] = 2.94212645336186980000; -x[62] = 3.04185955347583100000; -x[63] = 3.14159265358979310000; - - -var y = new Array(); -y[0] = -1.00000000000000000000; -y[1] = -0.99503077536540141000; -y[2] = -0.98017248784854383000; -y[3] = -0.95557280578614079000; -y[4] = -0.92147621187040774000; -y[5] = -0.87822157337022844000; -y[6] = -0.82623877431599468000; -y[7] = -0.76604444311897790000; -y[8] = -0.69823681808607274000; -y[9] = -0.62348980185873348000; -y[10] = -0.54254626386575933000; -y[11] = -0.45621065735316296000; -y[12] = -0.36534102436639487000; -y[13] = -0.27084046814300500000; -y[14] = -0.17364817766693030000; -y[15] = -0.07473009358642426800; -y[16] = 0.02493069173807303500; -y[17] = 0.12434370464748527000; -y[18] = 0.22252093395631445000; -y[19] = 0.31848665025168443000; -y[20] = 0.41128710313061151000; -y[21] = 0.50000000000000033000; -y[22] = 0.58374367223478973000; -y[23] = 0.66168583759685928000; -y[24] = 0.73305187182982645000; -y[25] = 0.79713250722292250000; -y[26] = 0.85329088163215572000; -y[27] = 0.90096886790241915000; -y[28] = 0.93969262078590832000; -y[29] = 0.96907728622907796000; -y[30] = 0.98883082622512852000; -y[31] = 0.99875692121892234000; -y[32] = 0.99875692121892234000; -y[33] = 0.98883082622512852000; -y[34] = 0.96907728622907796000; -y[35] = 0.93969262078590832000; -y[36] = 0.90096886790241915000; -y[37] = 0.85329088163215572000; -y[38] = 0.79713250722292250000; -y[39] = 0.73305187182982645000; -y[40] = 0.66168583759685962000; -y[41] = 0.58374367223479051000; -y[42] = 0.49999999999999950000; -y[43] = 0.41128710313061151000; -y[44] = 0.31848665025168482000; -y[45] = 0.22252093395631445000; -y[46] = 0.12434370464748572000; -y[47] = 0.02493069173807303500; -y[48] = -0.07473009358642449000; -y[49] = -0.17364817766693008000; -y[50] = -0.27084046814300522000; -y[51] = -0.36534102436639465000; -y[52] = -0.45621065735316296000; -y[53] = -0.54254626386575977000; -y[54] = -0.62348980185873348000; -y[55] = -0.69823681808607307000; -y[56] = -0.76604444311897790000; -y[57] = -0.82623877431599446000; -y[58] = -0.87822157337022844000; -y[59] = -0.92147621187040774000; -y[60] = -0.95557280578614057000; -y[61] = -0.98017248784854383000; -y[62] = -0.99503077536540141000; -y[63] = -1.00000000000000000000; - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.cos(x[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx = " + x[i] + "\nlibc.cos(x) = " + y[i] + "\nMath.cos(x) = " + Math.cos(x[i]) + "\nMath.abs(libc.cos(x) - Math.cos(x)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A1.js deleted file mode 100644 index 878b2c9d1e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.8_A1; - * @section: 15.8.2.8; - * @assertion: If x is NaN, Math.exp(x) is NaN; - * @description: Checking if Math.exp(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.8_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A1.js", - -assertion: "If x is NaN, Math.exp(x) is NaN", - -description: "Checking if Math.exp(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.exp(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.exp(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A2.js deleted file mode 100644 index 83b6d8f959..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.8_A2; - * @section: 15.8.2.8; - * @assertion: If x is +0, Math.exp(x) is 1; - * @description: Checking if Math.exp(+0) is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.8_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A2.js", - -assertion: "If x is +0, Math.exp(x) is 1", - -description: "Checking if Math.exp(+0) is 1", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.exp(x) !== 1) -{ - $ERROR("#1: 'var x = +0; Math.exp(x) !== 1'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A3.js deleted file mode 100644 index 09f0af79db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.8_A3; - * @section: 15.8.2.8; - * @assertion: If x is -0, Math.exp(x) is 1; - * @description: Checking if Math.exp(-0) is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.8_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A3.js", - -assertion: "If x is -0, Math.exp(x) is 1", - -description: "Checking if Math.exp(-0) is 1", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.exp(x) !== 1) -{ - $ERROR("#1: 'var x = -0; Math.exp(x) !== 1'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A4.js deleted file mode 100644 index 7b504c4907..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.8_A4; - * @section: 15.8.2.8; - * @assertion: If x is +Infinity, Math.exp(x) is +Ifinity; - * @description: Checking if Math.exp(+Infinity) is +Ifinity - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.8_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A4.js", - -assertion: "If x is +Infinity, Math.exp(x) is +Ifinity", - -description: "Checking if Math.exp(+Infinity) is +Ifinity", - -test: function testcase() { - // CHECK#1 -var x = +Infinity; -if (Math.exp(x) !== +Infinity) -{ - $ERROR("#1: 'var x = +Infinity; Math.exp(x) !== +Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A5.js deleted file mode 100644 index c91d2cfe82..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.8_A5; - * @section: 15.8.2.8; - * @assertion: If x is -Infinity, Math.exp(x) is +0; - * @description: Checking if Math.exp(-Infinity) is +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.8_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A5.js", - -assertion: "If x is -Infinity, Math.exp(x) is +0", - -description: "Checking if Math.exp(-Infinity) is +0", - -test: function testcase() { - // CHECK#1 -var x = -Infinity; -if (Math.exp(x) !== +0) -{ - $ERROR("#1: 'var x = -Infinity; Math.exp(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A6.js deleted file mode 100644 index 9be7e3ac47..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A6.js +++ /dev/null @@ -1,177 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.8_A6; - * @section: 15.8.2.8; - * @assertion: Math.exp, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm; - * @description: Checking if Math.exp is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.8_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.8_exp/S15.8.2.8_A6.js", - -assertion: "Math.exp, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm", - -description: "Checking if Math.exp is approximately equals to its mathematical values on the set of 64 argument values; all the sample values is calculated with LibC", - -test: function testcase() { - $INCLUDE("math_precision.js"); -$INCLUDE("math_isequal.js"); - -// CHECK#1 -vnum = 64; -var x = new Array(); -x[0] = -16.00000000000000000000; -x[1] = -15.49206349206349200000; -x[2] = -14.98412698412698400000; -x[3] = -14.47619047619047600000; -x[4] = -13.96825396825396800000; -x[5] = -13.46031746031746000000; -x[6] = -12.95238095238095300000; -x[7] = -12.44444444444444500000; -x[8] = -11.93650793650793700000; -x[9] = -11.42857142857142900000; -x[10] = -10.92063492063492100000; -x[11] = -10.41269841269841300000; -x[12] = -9.90476190476190510000; -x[13] = -9.39682539682539720000; -x[14] = -8.88888888888888930000; -x[15] = -8.38095238095238140000; -x[16] = -7.87301587301587350000; -x[17] = -7.36507936507936560000; -x[18] = -6.85714285714285770000; -x[19] = -6.34920634920634970000; -x[20] = -5.84126984126984180000; -x[21] = -5.33333333333333390000; -x[22] = -4.82539682539682600000; -x[23] = -4.31746031746031810000; -x[24] = -3.80952380952381020000; -x[25] = -3.30158730158730230000; -x[26] = -2.79365079365079440000; -x[27] = -2.28571428571428650000; -x[28] = -1.77777777777777860000; -x[29] = -1.26984126984127070000; -x[30] = -0.76190476190476275000; -x[31] = -0.25396825396825484000; -x[32] = 0.25396825396825307000; -x[33] = 0.76190476190476275000; -x[34] = 1.26984126984126890000; -x[35] = 1.77777777777777860000; -x[36] = 2.28571428571428470000; -x[37] = 2.79365079365079440000; -x[38] = 3.30158730158730050000; -x[39] = 3.80952380952381020000; -x[40] = 4.31746031746031630000; -x[41] = 4.82539682539682600000; -x[42] = 5.33333333333333210000; -x[43] = 5.84126984126984180000; -x[44] = 6.34920634920634800000; -x[45] = 6.85714285714285770000; -x[46] = 7.36507936507936380000; -x[47] = 7.87301587301587350000; -x[48] = 8.38095238095237960000; -x[49] = 8.88888888888888930000; -x[50] = 9.39682539682539540000; -x[51] = 9.90476190476190510000; -x[52] = 10.41269841269841100000; -x[53] = 10.92063492063492100000; -x[54] = 11.42857142857142700000; -x[55] = 11.93650793650793700000; -x[56] = 12.44444444444444300000; -x[57] = 12.95238095238095300000; -x[58] = 13.46031746031745900000; -x[59] = 13.96825396825396800000; -x[60] = 14.47619047619047400000; -x[61] = 14.98412698412698400000; -x[62] = 15.49206349206349000000; -x[63] = 16.00000000000000000000; - - - -var y = new Array(); -y[0] = 0.0000001125351747192591200; -y[1] = 0.0000001870175279627160400; -y[2] = 0.0000003107966540465112000; -y[3] = 0.0000005165000372893601900; -y[4] = 0.0000008583499373194266000; -y[5] = 0.000001426456073000250500; -y[6] = 0.000002370568039596737700; -y[7] = 0.000003939548463303105900; -y[8] = 0.000006546971795567619300; -y[9] = 0.00001088014022196331600; -y[10] = 0.00001808125266855845500; -y[11] = 0.00003004848204109428100; -y[12] = 0.00004993632297081056800; -y[13] = 0.00008298709893014922600; -y[14] = 0.0001379128093365619200; -y[15] = 0.0002291915638009238700; -y[16] = 0.0003808839307255494700; -y[17] = 0.0006329751683659501200; -y[18] = 0.001051915114939835700; -y[19] = 0.001748133993779607700; -y[20] = 0.002905151201656255000; -y[21] = 0.004827949993831437100; -y[22] = 0.008023369361859111100; -y[23] = 0.01333370395283075800; -y[24] = 0.02215872822045164600; -y[25] = 0.03682466913056056000; -y[26] = 0.06119738655956222900; -y[27] = 0.1017013923042267600; -y[28] = 0.1690133154060659600; -y[29] = 0.2808762017642814100; -y[30] = 0.4667764816516809500; -y[31] = 0.7757164275739275600; -y[32] = 1.289130878828392400; -y[33] = 2.142353009006615400; -y[34] = 3.560287392519015300; -y[35] = 5.916693590664334800; -y[36] = 9.832707078469738300; -y[37] = 16.340567076777361000; -y[38] = 27.155709029035226000; -y[39] = 45.128943775619703000; -y[40] = 74.997915323273489000; -y[41] = 124.635917268588530000; -y[42] = 207.127248889834330000; -y[43] = 344.216163148372520000; -y[44] = 572.038529974419700000; -y[45] = 950.647049174870860000; -y[46] = 1579.840805732611900000; -y[47] = 2625.471749609100700000; -y[48] = 4363.162340777078500000; -y[49] = 7250.958085841060000000; -y[50] = 12050.065767953940000000; -y[51] = 20025.503291152076000000; -y[52] = 33279.551314186152000000; -y[53] = 55305.902656783459000000; -y[54] = 91910.580157904318000000; -y[55] = 152742.371775148380000000; -y[56] = 253836.197045168550000000; -y[57] = 421839.822058054970000000; -y[58] = 701038.061338060300000000; -y[59] = 1165026.006902193900000000; -y[60] = 1936108.282291886200000000; -y[61] = 3217537.856280616000000000; -y[62] = 5347092.386973262800000000; -y[63] = 8886110.520507872100000000; - - - -var val; -for (i = 0; i < vnum; i++) -{ - val = Math.exp(x[i]); - if (!isEqual(val, y[i])) - { - $ERROR("\nx = " + x[i] + "\nlibc.exp(x) = " + y[i] + "\nMath.exp(x) = " + Math.exp(x[i]) + "\nMath.abs(libc.exp(x) - Math.exp(x)) > " + prec + "\n\n"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A1.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A1.js deleted file mode 100644 index dff3daaec7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.9_A1; - * @section: 15.8.2.9; - * @assertion: If x is NaN, Math.floor(x) is NaN; - * @description: Checking if Math.floor(NaN) is NaN; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.9_A1", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A1.js", - -assertion: "If x is NaN, Math.floor(x) is NaN", - -description: "Checking if Math.floor(NaN) is NaN", - -test: function testcase() { - // CHECK#1 -var x = NaN; -if (!isNaN(Math.floor(x))) -{ - $ERROR("#1: 'var x=NaN; isNaN(Math.floor(x)) === false'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A2.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A2.js deleted file mode 100644 index 00dc589842..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A2.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.9_A2; - * @section: 15.8.2.9; - * @assertion: If x is +0, Math.floor(x) is +0; - * @description: Checking if Math.floor(x) is +0, where x is +0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.9_A2", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A2.js", - -assertion: "If x is +0, Math.floor(x) is +0", - -description: "Checking if Math.floor(x) is +0, where x is +0", - -test: function testcase() { - // CHECK#1 -var x = +0; -if (Math.floor(x) !== +0) -{ - $ERROR("#1: 'var x = +0; Math.floor(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A3.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A3.js deleted file mode 100644 index 0040947b0b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A3.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.9_A3; - * @section: 15.8.2.9; - * @assertion: If x is -0, Math.floor(x) is -0; - * @description: Checking if Math.floor(x) is -0, where x is -0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.9_A3", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A3.js", - -assertion: "If x is -0, Math.floor(x) is -0", - -description: "Checking if Math.floor(x) is -0, where x is -0", - -test: function testcase() { - // CHECK#1 -var x = -0; -if (Math.floor(x) !== -0) -{ - $ERROR("#1: 'var x = -0; Math.floor(x) !== -0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A4.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A4.js deleted file mode 100644 index 30f3cc9d23..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.9_A4; - * @section: 15.8.2.9; - * @assertion: If x is +Infinity, Math.floor(x) is +Infinity; - * @description: Checking if Math.floor(x) is +Infinity, where x is +Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.9_A4", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A4.js", - -assertion: "If x is +Infinity, Math.floor(x) is +Infinity", - -description: "Checking if Math.floor(x) is +Infinity, where x is +Infinity", - -test: function testcase() { - // CHECK#1 -var x = +Infinity; -if (Math.floor(x) !== +Infinity) -{ - $ERROR("#1: 'var x = +Infinity; Math.floor(x) !== +Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A5.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A5.js deleted file mode 100644 index a0085cc503..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A5.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.9_A5; - * @section: 15.8.2.9; - * @assertion: If x is -Infinity, Math.floor(x) is -Infinity; - * @description: Checking if Math.floor(x) is -Infinity, where x is -Infinity; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.9_A5", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A5.js", - -assertion: "If x is -Infinity, Math.floor(x) is -Infinity", - -description: "Checking if Math.floor(x) is -Infinity, where x is -Infinity", - -test: function testcase() { - // CHECK#1 -var x = -Infinity; -if (Math.floor(x) !== -Infinity) -{ - $ERROR("#1: 'var x = -Infinity; Math.floor(x) !== -Infinity'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A6.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A6.js deleted file mode 100644 index 7b044a6713..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A6.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.9_A6; - * @section: 15.8.2.9; - * @assertion: If x is greater than 0 but less than 1, Math.floor(x) is +0; - * @description: Checking if Math.floor(x) is +0, where x is greater than 0 but less than 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.9_A6", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A6.js", - -assertion: "If x is greater than 0 but less than 1, Math.floor(x) is +0", - -description: "Checking if Math.floor(x) is +0, where x is greater than 0 but less than 1", - -test: function testcase() { - // CHECK#1 -var x = 0.000000000000001; -if (Math.floor(x) !== +0) -{ - $ERROR("#1: 'var x = 0.000000000000001; Math.floor(x) !== +0'"); -} - -// CHECK#2 -var x = 0.999999999999999; -if (Math.floor(x) !== +0) -{ - $ERROR("#2: 'var x = 0.999999999999999; Math.ceil(x) !== +0'"); -} - -// CHECK#3 -var x = 0.5; -if (Math.floor(x) !== +0) -{ - $ERROR("#3: 'var x = 0.5; Math.ceil(x) !== +0'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A7.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A7.js deleted file mode 100644 index 8f7eaf3729..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A7.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.8.2.9_A7; - * @section: 15.8.2.9; - * @assertion: The value of Math.floor(x) is the same as the value of -Math.ceil(-x); - * @description: Checking if Math.floor(x) is equal to -Math.ceil(-x) on 2000 floating-point argument values; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.8.2.9_A7", - -path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.9_floor/S15.8.2.9_A7.js", - -assertion: "The value of Math.floor(x) is the same as the value of -Math.ceil(-x)", - -description: "Checking if Math.floor(x) is equal to -Math.ceil(-x) on 2000 floating-point argument values", - -test: function testcase() { - // CHECK#1 -for (i=-1000; i<1000; i++) -{ - x = i/10.0; - if (-Math.ceil(-x) !== Math.floor(x)) - { - $ERROR("#1: 'x = " + x + "; Math.floor(x) !== -Math.ceil(-x)'"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A1.js deleted file mode 100644 index 4dbbc72b77..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A1.js +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.2.1_A1; - * @section: 15.9.2.1; - * @assertion: When Date is called as a function rather than as a constructor, - * it should be "string" representing the current time (UTC); - * @description: Checking type of returned value; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.2.1_A1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A1.js", - -assertion: "When Date is called as a function rather than as a constructor,", - -description: "Checking type of returned value", - -test: function testcase() { - //CHECK#1 -if( typeof Date() !== "string" ) { - $ERROR('#1: typeof Date() should be "string", actual is '+(typeof Date())); -} - -//CHECK#2 -if( typeof Date(1) !== "string" ) { - $ERROR('#2: typeof Date(1) should be "string", actual is '+(typeof Date(1))); -} - -//CHECK#3 -if( typeof Date(1970, 1) !== "string" ) { - $ERROR('#3: typeof Date(1970, 1) should be "string", actual is '+(typeof Date(1970, 1))); -} - -//CHECK#4 -if( typeof Date(1970, 1, 1) !== "string" ) { - $ERROR('#4: typeof Date(1970, 1, 1) should be "string", actual is '+(typeof Date(1970, 1, 1))); -} - -//CHECK#5 -if( typeof Date(1970, 1, 1, 1) !== "string" ) { - $ERROR('#5: typeof Date(1970, 1, 1, 1) should be "string", actual is '+(typeof Date(1970, 1, 1, 1))); -} - -//CHECK#6 -if( typeof Date(1970, 1, 1, 1) !== "string" ) { - $ERROR('#7: typeof Date(1970, 1, 1, 1) should be "string", actual is '+(typeof Date(1970, 1, 1, 1))); -} - -//CHECK#8 -if( typeof Date(1970, 1, 1, 1, 0) !== "string" ) { - $ERROR('#8: typeof Date(1970, 1, 1, 1, 0) should be "string", actual is '+(typeof Date(1970, 1, 1, 1, 0))); -} - -//CHECK#9 -if( typeof Date(1970, 1, 1, 1, 0, 0) !== "string" ) { - $ERROR('#9: typeof Date(1970, 1, 1, 1, 0, 0) should be "string", actual is '+(typeof Date(1970, 1, 1, 1, 0, 0))); -} - -//CHECK#10 -if( typeof Date(1970, 1, 1, 1, 0, 0, 0) !== "string" ) { - $ERROR('#10: typeof Date(1970, 1, 1, 1, 0, 0, 0) should be "string", actual is '+(typeof Date(1970, 1, 1, 1, 0, 0, 0))); -} - -//CHECK#11 -if( typeof Date(Number.NaN) !== "string" ) { - $ERROR('#11: typeof Date(Number.NaN) should be "string", actual is '+(typeof Date(Number.NaN))); -} - -//CHECK#12 -if( typeof Date(Number.POSITIVE_INFINITY) !== "string" ) { - $ERROR('#12: typeof Date(Number.POSITIVE_INFINITY) should be "string", actual is '+(typeof Date(Number.POSITIVE_INFINITY))); -} - -//CHECK#13 -if( typeof Date(Number.NEGATIVE_INFINITY) !== "string" ) { - $ERROR('#13: typeof Date(Number.NEGATIVE_INFINITY) should be "string", actual is '+(typeof Date(Number.NEGATIVE_INFINITY))); -} - -//CHECK#14 -if( typeof Date(undefined) !== "string" ) { - $ERROR('#14: typeof Date(undefined) should be "string", actual is '+(typeof Date(undefined))); -} - -//CHECK#15 -if( typeof Date(null) !== "string" ) { - $ERROR('#15: typeof Date(null) should be "string", actual is '+(typeof Date(null))); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A2.js deleted file mode 100644 index b1339634f4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A2.js +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.2.1_A2; - * @section: 15.9.2.1; - * @assertion: All of the arguments are optional, any arguments supplied are - * accepted but are completely ignored. A string is created and returned as - * if by the expression (new Date()).toString(); - * @description: Use various number arguments and various types of ones; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.2.1_A2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.2_The_Date_Constructor_Called_as_a_Function/S15.9.2.1_A2.js", - -assertion: "All of the arguments are optional, any arguments supplied are", - -description: "Use various number arguments and various types of ones", - -test: function testcase() { - function isEqual(d1, d2) { - if (d1 === d2) { - return true; - } else if (Math.abs(Date.parse(d1) - Date.parse(d2)) <= 1000) { - return true; - } else { - return false; - } -} - -//CHECK#1 -if( !isEqual(Date(), (new Date()).toString()) ) { - $ERROR('#1: Date() is equal to (new Date()).toString()'); -} - -//CHECK#2 -if( !isEqual(Date(1), (new Date()).toString()) ) { - $ERROR('#2: Date(1) is equal to (new Date()).toString()'); -} - -//CHECK#3 -if( !isEqual(Date(1970, 1), (new Date()).toString()) ) { - $ERROR('#3: Date(1970, 1) is equal to (new Date()).toString()'); -} - -//CHECK#4 -if( !isEqual(Date(1970, 1, 1), (new Date()).toString()) ) { - $ERROR('#4: Date(1970, 1, 1) is equal to (new Date()).toString()'); -} - -//CHECK#5 -if( !isEqual(Date(1970, 1, 1, 1), (new Date()).toString()) ) { - $ERROR('#5: Date(1970, 1, 1, 1) is equal to (new Date()).toString()'); -} - -//CHECK#6 -if( !isEqual(Date(1970, 1, 1, 1), (new Date()).toString()) ) { - $ERROR('#7: Date(1970, 1, 1, 1) is equal to (new Date()).toString()'); -} - -//CHECK#8 -if( !isEqual(Date(1970, 1, 1, 1, 0), (new Date()).toString()) ) { - $ERROR('#8: Date(1970, 1, 1, 1, 0) is equal to (new Date()).toString()'); -} - -//CHECK#9 -if( !isEqual(Date(1970, 1, 1, 1, 0, 0), (new Date()).toString()) ) { - $ERROR('#9: Date(1970, 1, 1, 1, 0, 0) is equal to (new Date()).toString()'); -} - -//CHECK#10 -if( !isEqual(Date(1970, 1, 1, 1, 0, 0, 0), (new Date()).toString()) ) { - $ERROR('#10: Date(1970, 1, 1, 1, 0, 0, 0) is equal to (new Date()).toString()'); -} - -//CHECK#11 -if( !isEqual(Date(Number.NaN), (new Date()).toString()) ) { - $ERROR('#11: Date(Number.NaN) is equal to (new Date()).toString()'); -} - -//CHECK#12 -if( !isEqual(Date(Number.POSITIVE_INFINITY), (new Date()).toString()) ) { - $ERROR('#12: Date(Number.POSITIVE_INFINITY) is equal to (new Date()).toString()'); -} - -//CHECK#13 -if( !isEqual(Date(Number.NEGATIVE_INFINITY), (new Date()).toString()) ) { - $ERROR('#13: Date(Number.NEGATIVE_INFINITY) is equal to (new Date()).toString()'); -} - -//CHECK#14 -if( !isEqual(Date(undefined), (new Date()).toString()) ) { - $ERROR('#14: Date(undefined) is equal to (new Date()).toString()'); -} - -//CHECK#15 -if( !isEqual(Date(null), (new Date()).toString()) ) { - $ERROR('#15: Date(null) is equal to (new Date()).toString()'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T1.js deleted file mode 100644 index e120ccd383..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T1.js +++ /dev/null @@ -1,243 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A1_T1; - * @section: 15.9.3.1; - * @assertion: When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object; - * @description: 2 arguments, (year, month); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T1.js", - -assertion: "When Date is called as part of a new expression it is", - -description: "2 arguments, (year, month)", - -test: function testcase() { - if (typeof new Date(1899, 11) !== "object") { - $FAIL("#1.1: typeof new Date(1899, 11) should be 'object'"); -} - -if (new Date(1899, 11) === undefined) { - $FAIL("#1.2: new Date(1899, 11) should not be undefined"); -} - -var x13 = new Date(1899, 11); -if(typeof x13 !== "object"){ - $FAIL("#1.3: typeof new Date(1899, 11) should be 'object'"); -} - -var x14 = new Date(1899, 11); -if(x14 === undefined){ - $FAIL("#1.4: new Date(1899, 11) should not be undefined"); -} - -if (typeof new Date(1899, 12) !== "object") { - $FAIL("#2.1: typeof new Date(1899, 12) should be 'object'"); -} - -if (new Date(1899, 12) === undefined) { - $FAIL("#2.2: new Date(1899, 12) should not be undefined"); -} - -var x23 = new Date(1899, 12); -if(typeof x23 !== "object"){ - $FAIL("#2.3: typeof new Date(1899, 12) should be 'object'"); -} - -var x24 = new Date(1899, 12); -if(x24 === undefined){ - $FAIL("#2.4: new Date(1899, 12) should not be undefined"); -} - -if (typeof new Date(1900, 0) !== "object") { - $FAIL("#3.1: typeof new Date(1900, 0) should be 'object'"); -} - -if (new Date(1900, 0) === undefined) { - $FAIL("#3.2: new Date(1900, 0) should not be undefined"); -} - -var x33 = new Date(1900, 0); -if(typeof x33 !== "object"){ - $FAIL("#3.3: typeof new Date(1900, 0) should be 'object'"); -} - -var x34 = new Date(1900, 0); -if(x34 === undefined){ - $FAIL("#3.4: new Date(1900, 0) should not be undefined"); -} - -if (typeof new Date(1969, 11) !== "object") { - $FAIL("#4.1: typeof new Date(1969, 11) should be 'object'"); -} - -if (new Date(1969, 11) === undefined) { - $FAIL("#4.2: new Date(1969, 11) should not be undefined"); -} - -var x43 = new Date(1969, 11); -if(typeof x43 !== "object"){ - $FAIL("#4.3: typeof new Date(1969, 11) should be 'object'"); -} - -var x44 = new Date(1969, 11); -if(x44 === undefined){ - $FAIL("#4.4: new Date(1969, 11) should not be undefined"); -} - -if (typeof new Date(1969, 12) !== "object") { - $FAIL("#5.1: typeof new Date(1969, 12) should be 'object'"); -} - -if (new Date(1969, 12) === undefined) { - $FAIL("#5.2: new Date(1969, 12) should not be undefined"); -} - -var x53 = new Date(1969, 12); -if(typeof x53 !== "object"){ - $FAIL("#5.3: typeof new Date(1969, 12) should be 'object'"); -} - -var x54 = new Date(1969, 12); -if(x54 === undefined){ - $FAIL("#5.4: new Date(1969, 12) should not be undefined"); -} - -if (typeof new Date(1970, 0) !== "object") { - $FAIL("#6.1: typeof new Date(1970, 0) should be 'object'"); -} - -if (new Date(1970, 0) === undefined) { - $FAIL("#6.2: new Date(1970, 0) should not be undefined"); -} - -var x63 = new Date(1970, 0); -if(typeof x63 !== "object"){ - $FAIL("#6.3: typeof new Date(1970, 0) should be 'object'"); -} - -var x64 = new Date(1970, 0); -if(x64 === undefined){ - $FAIL("#6.4: new Date(1970, 0) should not be undefined"); -} - -if (typeof new Date(1999, 11) !== "object") { - $FAIL("#7.1: typeof new Date(1999, 11) should be 'object'"); -} - -if (new Date(1999, 11) === undefined) { - $FAIL("#7.2: new Date(1999, 11) should not be undefined"); -} - -var x73 = new Date(1999, 11); -if(typeof x73 !== "object"){ - $FAIL("#7.3: typeof new Date(1999, 11) should be 'object'"); -} - -var x74 = new Date(1999, 11); -if(x74 === undefined){ - $FAIL("#7.4: new Date(1999, 11) should not be undefined"); -} - -if (typeof new Date(1999, 12) !== "object") { - $FAIL("#8.1: typeof new Date(1999, 12) should be 'object'"); -} - -if (new Date(1999, 12) === undefined) { - $FAIL("#8.2: new Date(1999, 12) should not be undefined"); -} - -var x83 = new Date(1999, 12); -if(typeof x83 !== "object"){ - $FAIL("#8.3: typeof new Date(1999, 12) should be 'object'"); -} - -var x84 = new Date(1999, 12); -if(x84 === undefined){ - $FAIL("#8.4: new Date(1999, 12) should not be undefined"); -} - -if (typeof new Date(2000, 0) !== "object") { - $FAIL("#9.1: typeof new Date(2000, 0) should be 'object'"); -} - -if (new Date(2000, 0) === undefined) { - $FAIL("#9.2: new Date(2000, 0) should not be undefined"); -} - -var x93 = new Date(2000, 0); -if(typeof x93 !== "object"){ - $FAIL("#9.3: typeof new Date(2000, 0) should be 'object'"); -} - -var x94 = new Date(2000, 0); -if(x94 === undefined){ - $FAIL("#9.4: new Date(2000, 0) should not be undefined"); -} - -if (typeof new Date(2099, 11) !== "object") { - $FAIL("#10.1: typeof new Date(2099, 11) should be 'object'"); -} - -if (new Date(2099, 11) === undefined) { - $FAIL("#10.2: new Date(2099, 11) should not be undefined"); -} - -var x103 = new Date(2099, 11); -if(typeof x103 !== "object"){ - $FAIL("#10.3: typeof new Date(2099, 11) should be 'object'"); -} - -var x104 = new Date(2099, 11); -if(x104 === undefined){ - $FAIL("#10.4: new Date(2099, 11) should not be undefined"); -} - -if (typeof new Date(2099, 12) !== "object") { - $FAIL("#11.1: typeof new Date(2099, 12) should be 'object'"); -} - -if (new Date(2099, 12) === undefined) { - $FAIL("#11.2: new Date(2099, 12) should not be undefined"); -} - -var x113 = new Date(2099, 12); -if(typeof x113 !== "object"){ - $FAIL("#11.3: typeof new Date(2099, 12) should be 'object'"); -} - -var x114 = new Date(2099, 12); -if(x114 === undefined){ - $FAIL("#11.4: new Date(2099, 12) should not be undefined"); -} - -if (typeof new Date(2100, 0) !== "object") { - $FAIL("#12.1: typeof new Date(2100, 0) should be 'object'"); -} - -if (new Date(2100, 0) === undefined) { - $FAIL("#12.2: new Date(2100, 0) should not be undefined"); -} - -var x123 = new Date(2100, 0); -if(typeof x123 !== "object"){ - $FAIL("#12.3: typeof new Date(2100, 0) should be 'object'"); -} - -var x124 = new Date(2100, 0); -if(x124 === undefined){ - $FAIL("#12.4: new Date(2100, 0) should not be undefined"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T2.js deleted file mode 100644 index d4c33514f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T2.js +++ /dev/null @@ -1,243 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A1_T2; - * @section: 15.9.3.1; - * @assertion: When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object; - * @description: 3 arguments, (year, month, date); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T2.js", - -assertion: "When Date is called as part of a new expression it is", - -description: "3 arguments, (year, month, date)", - -test: function testcase() { - if (typeof new Date(1899, 11, 31) !== "object") { - $FAIL("#1.1: typeof new Date(1899, 11, 31) should be 'object'"); -} - -if (new Date(1899, 11, 31) === undefined) { - $FAIL("#1.2: new Date(1899, 11, 31) should not be undefined"); -} - -var x13 = new Date(1899, 11, 31); -if(typeof x13 !== "object"){ - $FAIL("#1.3: typeof new Date(1899, 11, 31) should be 'object'"); -} - -var x14 = new Date(1899, 11, 31); -if(x14 === undefined){ - $FAIL("#1.4: new Date(1899, 11, 31) should not be undefined"); -} - -if (typeof new Date(1899, 12, 1) !== "object") { - $FAIL("#2.1: typeof new Date(1899, 12, 1) should be 'object'"); -} - -if (new Date(1899, 12, 1) === undefined) { - $FAIL("#2.2: new Date(1899, 12, 1) should not be undefined"); -} - -var x23 = new Date(1899, 12, 1); -if(typeof x23 !== "object"){ - $FAIL("#2.3: typeof new Date(1899, 12, 1) should be 'object'"); -} - -var x24 = new Date(1899, 12, 1); -if(x24 === undefined){ - $FAIL("#2.4: new Date(1899, 12, 1) should not be undefined"); -} - -if (typeof new Date(1900, 0, 1) !== "object") { - $FAIL("#3.1: typeof new Date(1900, 0, 1) should be 'object'"); -} - -if (new Date(1900, 0, 1) === undefined) { - $FAIL("#3.2: new Date(1900, 0, 1) should not be undefined"); -} - -var x33 = new Date(1900, 0, 1); -if(typeof x33 !== "object"){ - $FAIL("#3.3: typeof new Date(1900, 0, 1) should be 'object'"); -} - -var x34 = new Date(1900, 0, 1); -if(x34 === undefined){ - $FAIL("#3.4: new Date(1900, 0, 1) should not be undefined"); -} - -if (typeof new Date(1969, 11, 31) !== "object") { - $FAIL("#4.1: typeof new Date(1969, 11, 31) should be 'object'"); -} - -if (new Date(1969, 11, 31) === undefined) { - $FAIL("#4.2: new Date(1969, 11, 31) should not be undefined"); -} - -var x43 = new Date(1969, 11, 31); -if(typeof x43 !== "object"){ - $FAIL("#4.3: typeof new Date(1969, 11, 31) should be 'object'"); -} - -var x44 = new Date(1969, 11, 31); -if(x44 === undefined){ - $FAIL("#4.4: new Date(1969, 11, 31) should not be undefined"); -} - -if (typeof new Date(1969, 12, 1) !== "object") { - $FAIL("#5.1: typeof new Date(1969, 12, 1) should be 'object'"); -} - -if (new Date(1969, 12, 1) === undefined) { - $FAIL("#5.2: new Date(1969, 12, 1) should not be undefined"); -} - -var x53 = new Date(1969, 12, 1); -if(typeof x53 !== "object"){ - $FAIL("#5.3: typeof new Date(1969, 12, 1) should be 'object'"); -} - -var x54 = new Date(1969, 12, 1); -if(x54 === undefined){ - $FAIL("#5.4: new Date(1969, 12, 1) should not be undefined"); -} - -if (typeof new Date(1970, 0, 1) !== "object") { - $FAIL("#6.1: typeof new Date(1970, 0, 1) should be 'object'"); -} - -if (new Date(1970, 0, 1) === undefined) { - $FAIL("#6.2: new Date(1970, 0, 1) should not be undefined"); -} - -var x63 = new Date(1970, 0, 1); -if(typeof x63 !== "object"){ - $FAIL("#6.3: typeof new Date(1970, 0, 1) should be 'object'"); -} - -var x64 = new Date(1970, 0, 1); -if(x64 === undefined){ - $FAIL("#6.4: new Date(1970, 0, 1) should not be undefined"); -} - -if (typeof new Date(1999, 11, 31) !== "object") { - $FAIL("#7.1: typeof new Date(1999, 11, 31) should be 'object'"); -} - -if (new Date(1999, 11, 31) === undefined) { - $FAIL("#7.2: new Date(1999, 11, 31) should not be undefined"); -} - -var x73 = new Date(1999, 11, 31); -if(typeof x73 !== "object"){ - $FAIL("#7.3: typeof new Date(1999, 11, 31) should be 'object'"); -} - -var x74 = new Date(1999, 11, 31); -if(x74 === undefined){ - $FAIL("#7.4: new Date(1999, 11, 31) should not be undefined"); -} - -if (typeof new Date(1999, 12, 1) !== "object") { - $FAIL("#8.1: typeof new Date(1999, 12, 1) should be 'object'"); -} - -if (new Date(1999, 12, 1) === undefined) { - $FAIL("#8.2: new Date(1999, 12, 1) should not be undefined"); -} - -var x83 = new Date(1999, 12, 1); -if(typeof x83 !== "object"){ - $FAIL("#8.3: typeof new Date(1999, 12, 1) should be 'object'"); -} - -var x84 = new Date(1999, 12, 1); -if(x84 === undefined){ - $FAIL("#8.4: new Date(1999, 12, 1) should not be undefined"); -} - -if (typeof new Date(2000, 0, 1) !== "object") { - $FAIL("#9.1: typeof new Date(2000, 0, 1) should be 'object'"); -} - -if (new Date(2000, 0, 1) === undefined) { - $FAIL("#9.2: new Date(2000, 0, 1) should not be undefined"); -} - -var x93 = new Date(2000, 0, 1); -if(typeof x93 !== "object"){ - $FAIL("#9.3: typeof new Date(2000, 0, 1) should be 'object'"); -} - -var x94 = new Date(2000, 0, 1); -if(x94 === undefined){ - $FAIL("#9.4: new Date(2000, 0, 1) should not be undefined"); -} - -if (typeof new Date(2099, 11, 31) !== "object") { - $FAIL("#10.1: typeof new Date(2099, 11, 31) should be 'object'"); -} - -if (new Date(2099, 11, 31) === undefined) { - $FAIL("#10.2: new Date(2099, 11, 31) should not be undefined"); -} - -var x103 = new Date(2099, 11, 31); -if(typeof x103 !== "object"){ - $FAIL("#10.3: typeof new Date(2099, 11, 31) should be 'object'"); -} - -var x104 = new Date(2099, 11, 31); -if(x104 === undefined){ - $FAIL("#10.4: new Date(2099, 11, 31) should not be undefined"); -} - -if (typeof new Date(2099, 12, 1) !== "object") { - $FAIL("#11.1: typeof new Date(2099, 12, 1) should be 'object'"); -} - -if (new Date(2099, 12, 1) === undefined) { - $FAIL("#11.2: new Date(2099, 12, 1) should not be undefined"); -} - -var x113 = new Date(2099, 12, 1); -if(typeof x113 !== "object"){ - $FAIL("#11.3: typeof new Date(2099, 12, 1) should be 'object'"); -} - -var x114 = new Date(2099, 12, 1); -if(x114 === undefined){ - $FAIL("#11.4: new Date(2099, 12, 1) should not be undefined"); -} - -if (typeof new Date(2100, 0, 1) !== "object") { - $FAIL("#12.1: typeof new Date(2100, 0, 1) should be 'object'"); -} - -if (new Date(2100, 0, 1) === undefined) { - $FAIL("#12.2: new Date(2100, 0, 1) should not be undefined"); -} - -var x123 = new Date(2100, 0, 1); -if(typeof x123 !== "object"){ - $FAIL("#12.3: typeof new Date(2100, 0, 1) should be 'object'"); -} - -var x124 = new Date(2100, 0, 1); -if(x124 === undefined){ - $FAIL("#12.4: new Date(2100, 0, 1) should not be undefined"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T3.js deleted file mode 100644 index a1048e87d2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T3.js +++ /dev/null @@ -1,243 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A1_T3; - * @section: 15.9.3.1; - * @assertion: When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object; - * @description: 4 arguments, (year, month, date, hours); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T3.js", - -assertion: "When Date is called as part of a new expression it is", - -description: "4 arguments, (year, month, date, hours)", - -test: function testcase() { - if (typeof new Date(1899, 11, 31, 23) !== "object") { - $FAIL("#1.1: typeof new Date(1899, 11, 31, 23) should be 'object'"); -} - -if (new Date(1899, 11, 31, 23) === undefined) { - $FAIL("#1.2: new Date(1899, 11, 31, 23) should not be undefined"); -} - -var x13 = new Date(1899, 11, 31, 23); -if(typeof x13 !== "object"){ - $FAIL("#1.3: typeof new Date(1899, 11, 31, 23) should be 'object'"); -} - -var x14 = new Date(1899, 11, 31, 23); -if(x14 === undefined){ - $FAIL("#1.4: new Date(1899, 11, 31, 23) should not be undefined"); -} - -if (typeof new Date(1899, 12, 1, 0) !== "object") { - $FAIL("#2.1: typeof new Date(1899, 12, 1, 0) should be 'object'"); -} - -if (new Date(1899, 12, 1, 0) === undefined) { - $FAIL("#2.2: new Date(1899, 12, 1, 0) should not be undefined"); -} - -var x23 = new Date(1899, 12, 1, 0); -if(typeof x23 !== "object"){ - $FAIL("#2.3: typeof new Date(1899, 12, 1, 0) should be 'object'"); -} - -var x24 = new Date(1899, 12, 1, 0); -if(x24 === undefined){ - $FAIL("#2.4: new Date(1899, 12, 1, 0) should not be undefined"); -} - -if (typeof new Date(1900, 0, 1, 0) !== "object") { - $FAIL("#3.1: typeof new Date(1900, 0, 1, 0) should be 'object'"); -} - -if (new Date(1900, 0, 1, 0) === undefined) { - $FAIL("#3.2: new Date(1900, 0, 1, 0) should not be undefined"); -} - -var x33 = new Date(1900, 0, 1, 0); -if(typeof x33 !== "object"){ - $FAIL("#3.3: typeof new Date(1900, 0, 1, 0) should be 'object'"); -} - -var x34 = new Date(1900, 0, 1, 0); -if(x34 === undefined){ - $FAIL("#3.4: new Date(1900, 0, 1, 0) should not be undefined"); -} - -if (typeof new Date(1969, 11, 31, 23) !== "object") { - $FAIL("#4.1: typeof new Date(1969, 11, 31, 23) should be 'object'"); -} - -if (new Date(1969, 11, 31, 23) === undefined) { - $FAIL("#4.2: new Date(1969, 11, 31, 23) should not be undefined"); -} - -var x43 = new Date(1969, 11, 31, 23); -if(typeof x43 !== "object"){ - $FAIL("#4.3: typeof new Date(1969, 11, 31, 23) should be 'object'"); -} - -var x44 = new Date(1969, 11, 31, 23); -if(x44 === undefined){ - $FAIL("#4.4: new Date(1969, 11, 31, 23) should not be undefined"); -} - -if (typeof new Date(1969, 12, 1, 0) !== "object") { - $FAIL("#5.1: typeof new Date(1969, 12, 1, 0) should be 'object'"); -} - -if (new Date(1969, 12, 1, 0) === undefined) { - $FAIL("#5.2: new Date(1969, 12, 1, 0) should not be undefined"); -} - -var x53 = new Date(1969, 12, 1, 0); -if(typeof x53 !== "object"){ - $FAIL("#5.3: typeof new Date(1969, 12, 1, 0) should be 'object'"); -} - -var x54 = new Date(1969, 12, 1, 0); -if(x54 === undefined){ - $FAIL("#5.4: new Date(1969, 12, 1, 0) should not be undefined"); -} - -if (typeof new Date(1970, 0, 1, 0) !== "object") { - $FAIL("#6.1: typeof new Date(1970, 0, 1, 0) should be 'object'"); -} - -if (new Date(1970, 0, 1, 0) === undefined) { - $FAIL("#6.2: new Date(1970, 0, 1, 0) should not be undefined"); -} - -var x63 = new Date(1970, 0, 1, 0); -if(typeof x63 !== "object"){ - $FAIL("#6.3: typeof new Date(1970, 0, 1, 0) should be 'object'"); -} - -var x64 = new Date(1970, 0, 1, 0); -if(x64 === undefined){ - $FAIL("#6.4: new Date(1970, 0, 1, 0) should not be undefined"); -} - -if (typeof new Date(1999, 11, 31, 23) !== "object") { - $FAIL("#7.1: typeof new Date(1999, 11, 31, 23) should be 'object'"); -} - -if (new Date(1999, 11, 31, 23) === undefined) { - $FAIL("#7.2: new Date(1999, 11, 31, 23) should not be undefined"); -} - -var x73 = new Date(1999, 11, 31, 23); -if(typeof x73 !== "object"){ - $FAIL("#7.3: typeof new Date(1999, 11, 31, 23) should be 'object'"); -} - -var x74 = new Date(1999, 11, 31, 23); -if(x74 === undefined){ - $FAIL("#7.4: new Date(1999, 11, 31, 23) should not be undefined"); -} - -if (typeof new Date(1999, 12, 1, 0) !== "object") { - $FAIL("#8.1: typeof new Date(1999, 12, 1, 0) should be 'object'"); -} - -if (new Date(1999, 12, 1, 0) === undefined) { - $FAIL("#8.2: new Date(1999, 12, 1, 0) should not be undefined"); -} - -var x83 = new Date(1999, 12, 1, 0); -if(typeof x83 !== "object"){ - $FAIL("#8.3: typeof new Date(1999, 12, 1, 0) should be 'object'"); -} - -var x84 = new Date(1999, 12, 1, 0); -if(x84 === undefined){ - $FAIL("#8.4: new Date(1999, 12, 1, 0) should not be undefined"); -} - -if (typeof new Date(2000, 0, 1, 0) !== "object") { - $FAIL("#9.1: typeof new Date(2000, 0, 1, 0) should be 'object'"); -} - -if (new Date(2000, 0, 1, 0) === undefined) { - $FAIL("#9.2: new Date(2000, 0, 1, 0) should not be undefined"); -} - -var x93 = new Date(2000, 0, 1, 0); -if(typeof x93 !== "object"){ - $FAIL("#9.3: typeof new Date(2000, 0, 1, 0) should be 'object'"); -} - -var x94 = new Date(2000, 0, 1, 0); -if(x94 === undefined){ - $FAIL("#9.4: new Date(2000, 0, 1, 0) should not be undefined"); -} - -if (typeof new Date(2099, 11, 31, 23) !== "object") { - $FAIL("#10.1: typeof new Date(2099, 11, 31, 23) should be 'object'"); -} - -if (new Date(2099, 11, 31, 23) === undefined) { - $FAIL("#10.2: new Date(2099, 11, 31, 23) should not be undefined"); -} - -var x103 = new Date(2099, 11, 31, 23); -if(typeof x103 !== "object"){ - $FAIL("#10.3: typeof new Date(2099, 11, 31, 23) should be 'object'"); -} - -var x104 = new Date(2099, 11, 31, 23); -if(x104 === undefined){ - $FAIL("#10.4: new Date(2099, 11, 31, 23) should not be undefined"); -} - -if (typeof new Date(2099, 12, 1, 0) !== "object") { - $FAIL("#11.1: typeof new Date(2099, 12, 1, 0) should be 'object'"); -} - -if (new Date(2099, 12, 1, 0) === undefined) { - $FAIL("#11.2: new Date(2099, 12, 1, 0) should not be undefined"); -} - -var x113 = new Date(2099, 12, 1, 0); -if(typeof x113 !== "object"){ - $FAIL("#11.3: typeof new Date(2099, 12, 1, 0) should be 'object'"); -} - -var x114 = new Date(2099, 12, 1, 0); -if(x114 === undefined){ - $FAIL("#11.4: new Date(2099, 12, 1, 0) should not be undefined"); -} - -if (typeof new Date(2100, 0, 1, 0) !== "object") { - $FAIL("#12.1: typeof new Date(2100, 0, 1, 0) should be 'object'"); -} - -if (new Date(2100, 0, 1, 0) === undefined) { - $FAIL("#12.2: new Date(2100, 0, 1, 0) should not be undefined"); -} - -var x123 = new Date(2100, 0, 1, 0); -if(typeof x123 !== "object"){ - $FAIL("#12.3: typeof new Date(2100, 0, 1, 0) should be 'object'"); -} - -var x124 = new Date(2100, 0, 1, 0); -if(x124 === undefined){ - $FAIL("#12.4: new Date(2100, 0, 1, 0) should not be undefined"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T4.js deleted file mode 100644 index 0cc213d897..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T4.js +++ /dev/null @@ -1,243 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A1_T4; - * @section: 15.9.3.1; - * @assertion: When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object; - * @description: 5 arguments, (year, month, date, hours, minutes); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A1_T4", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T4.js", - -assertion: "When Date is called as part of a new expression it is", - -description: "5 arguments, (year, month, date, hours, minutes)", - -test: function testcase() { - if (typeof new Date(1899, 11, 31, 23, 59) !== "object") { - $FAIL("#1.1: typeof new Date(1899, 11, 31, 23, 59) should be 'object'"); -} - -if (new Date(1899, 11, 31, 23, 59) === undefined) { - $FAIL("#1.2: new Date(1899, 11, 31, 23, 59) should not be undefined"); -} - -var x13 = new Date(1899, 11, 31, 23, 59); -if(typeof x13 !== "object"){ - $FAIL("#1.3: typeof new Date(1899, 11, 31, 23, 59) should be 'object'"); -} - -var x14 = new Date(1899, 11, 31, 23, 59); -if(x14 === undefined){ - $FAIL("#1.4: new Date(1899, 11, 31, 23, 59) should not be undefined"); -} - -if (typeof new Date(1899, 12, 1, 0, 0) !== "object") { - $FAIL("#2.1: typeof new Date(1899, 12, 1, 0, 0) should be 'object'"); -} - -if (new Date(1899, 12, 1, 0, 0) === undefined) { - $FAIL("#2.2: new Date(1899, 12, 1, 0, 0) should not be undefined"); -} - -var x23 = new Date(1899, 12, 1, 0, 0); -if(typeof x23 !== "object"){ - $FAIL("#2.3: typeof new Date(1899, 12, 1, 0, 0) should be 'object'"); -} - -var x24 = new Date(1899, 12, 1, 0, 0); -if(x24 === undefined){ - $FAIL("#2.4: new Date(1899, 12, 1, 0, 0) should not be undefined"); -} - -if (typeof new Date(1900, 0, 1, 0, 0) !== "object") { - $FAIL("#3.1: typeof new Date(1900, 0, 1, 0, 0) should be 'object'"); -} - -if (new Date(1900, 0, 1, 0, 0) === undefined) { - $FAIL("#3.2: new Date(1900, 0, 1, 0, 0) should not be undefined"); -} - -var x33 = new Date(1900, 0, 1, 0, 0); -if(typeof x33 !== "object"){ - $FAIL("#3.3: typeof new Date(1900, 0, 1, 0, 0) should be 'object'"); -} - -var x34 = new Date(1900, 0, 1, 0, 0); -if(x34 === undefined){ - $FAIL("#3.4: new Date(1900, 0, 1, 0, 0) should not be undefined"); -} - -if (typeof new Date(1969, 11, 31, 23, 59) !== "object") { - $FAIL("#4.1: typeof new Date(1969, 11, 31, 23, 59) should be 'object'"); -} - -if (new Date(1969, 11, 31, 23, 59) === undefined) { - $FAIL("#4.2: new Date(1969, 11, 31, 23, 59) should not be undefined"); -} - -var x43 = new Date(1969, 11, 31, 23, 59); -if(typeof x43 !== "object"){ - $FAIL("#4.3: typeof new Date(1969, 11, 31, 23, 59) should be 'object'"); -} - -var x44 = new Date(1969, 11, 31, 23, 59); -if(x44 === undefined){ - $FAIL("#4.4: new Date(1969, 11, 31, 23, 59) should not be undefined"); -} - -if (typeof new Date(1969, 12, 1, 0, 0) !== "object") { - $FAIL("#5.1: typeof new Date(1969, 12, 1, 0, 0) should be 'object'"); -} - -if (new Date(1969, 12, 1, 0, 0) === undefined) { - $FAIL("#5.2: new Date(1969, 12, 1, 0, 0) should not be undefined"); -} - -var x53 = new Date(1969, 12, 1, 0, 0); -if(typeof x53 !== "object"){ - $FAIL("#5.3: typeof new Date(1969, 12, 1, 0, 0) should be 'object'"); -} - -var x54 = new Date(1969, 12, 1, 0, 0); -if(x54 === undefined){ - $FAIL("#5.4: new Date(1969, 12, 1, 0, 0) should not be undefined"); -} - -if (typeof new Date(1970, 0, 1, 0, 0) !== "object") { - $FAIL("#6.1: typeof new Date(1970, 0, 1, 0, 0) should be 'object'"); -} - -if (new Date(1970, 0, 1, 0, 0) === undefined) { - $FAIL("#6.2: new Date(1970, 0, 1, 0, 0) should not be undefined"); -} - -var x63 = new Date(1970, 0, 1, 0, 0); -if(typeof x63 !== "object"){ - $FAIL("#6.3: typeof new Date(1970, 0, 1, 0, 0) should be 'object'"); -} - -var x64 = new Date(1970, 0, 1, 0, 0); -if(x64 === undefined){ - $FAIL("#6.4: new Date(1970, 0, 1, 0, 0) should not be undefined"); -} - -if (typeof new Date(1999, 11, 31, 23, 59) !== "object") { - $FAIL("#7.1: typeof new Date(1999, 11, 31, 23, 59) should be 'object'"); -} - -if (new Date(1999, 11, 31, 23, 59) === undefined) { - $FAIL("#7.2: new Date(1999, 11, 31, 23, 59) should not be undefined"); -} - -var x73 = new Date(1999, 11, 31, 23, 59); -if(typeof x73 !== "object"){ - $FAIL("#7.3: typeof new Date(1999, 11, 31, 23, 59) should be 'object'"); -} - -var x74 = new Date(1999, 11, 31, 23, 59); -if(x74 === undefined){ - $FAIL("#7.4: new Date(1999, 11, 31, 23, 59) should not be undefined"); -} - -if (typeof new Date(1999, 12, 1, 0, 0) !== "object") { - $FAIL("#8.1: typeof new Date(1999, 12, 1, 0, 0) should be 'object'"); -} - -if (new Date(1999, 12, 1, 0, 0) === undefined) { - $FAIL("#8.2: new Date(1999, 12, 1, 0, 0) should not be undefined"); -} - -var x83 = new Date(1999, 12, 1, 0, 0); -if(typeof x83 !== "object"){ - $FAIL("#8.3: typeof new Date(1999, 12, 1, 0, 0) should be 'object'"); -} - -var x84 = new Date(1999, 12, 1, 0, 0); -if(x84 === undefined){ - $FAIL("#8.4: new Date(1999, 12, 1, 0, 0) should not be undefined"); -} - -if (typeof new Date(2000, 0, 1, 0, 0) !== "object") { - $FAIL("#9.1: typeof new Date(2000, 0, 1, 0, 0) should be 'object'"); -} - -if (new Date(2000, 0, 1, 0, 0) === undefined) { - $FAIL("#9.2: new Date(2000, 0, 1, 0, 0) should not be undefined"); -} - -var x93 = new Date(2000, 0, 1, 0, 0); -if(typeof x93 !== "object"){ - $FAIL("#9.3: typeof new Date(2000, 0, 1, 0, 0) should be 'object'"); -} - -var x94 = new Date(2000, 0, 1, 0, 0); -if(x94 === undefined){ - $FAIL("#9.4: new Date(2000, 0, 1, 0, 0) should not be undefined"); -} - -if (typeof new Date(2099, 11, 31, 23, 59) !== "object") { - $FAIL("#10.1: typeof new Date(2099, 11, 31, 23, 59) should be 'object'"); -} - -if (new Date(2099, 11, 31, 23, 59) === undefined) { - $FAIL("#10.2: new Date(2099, 11, 31, 23, 59) should not be undefined"); -} - -var x103 = new Date(2099, 11, 31, 23, 59); -if(typeof x103 !== "object"){ - $FAIL("#10.3: typeof new Date(2099, 11, 31, 23, 59) should be 'object'"); -} - -var x104 = new Date(2099, 11, 31, 23, 59); -if(x104 === undefined){ - $FAIL("#10.4: new Date(2099, 11, 31, 23, 59) should not be undefined"); -} - -if (typeof new Date(2099, 12, 1, 0, 0) !== "object") { - $FAIL("#11.1: typeof new Date(2099, 12, 1, 0, 0) should be 'object'"); -} - -if (new Date(2099, 12, 1, 0, 0) === undefined) { - $FAIL("#11.2: new Date(2099, 12, 1, 0, 0) should not be undefined"); -} - -var x113 = new Date(2099, 12, 1, 0, 0); -if(typeof x113 !== "object"){ - $FAIL("#11.3: typeof new Date(2099, 12, 1, 0, 0) should be 'object'"); -} - -var x114 = new Date(2099, 12, 1, 0, 0); -if(x114 === undefined){ - $FAIL("#11.4: new Date(2099, 12, 1, 0, 0) should not be undefined"); -} - -if (typeof new Date(2100, 0, 1, 0, 0) !== "object") { - $FAIL("#12.1: typeof new Date(2100, 0, 1, 0, 0) should be 'object'"); -} - -if (new Date(2100, 0, 1, 0, 0) === undefined) { - $FAIL("#12.2: new Date(2100, 0, 1, 0, 0) should not be undefined"); -} - -var x123 = new Date(2100, 0, 1, 0, 0); -if(typeof x123 !== "object"){ - $FAIL("#12.3: typeof new Date(2100, 0, 1, 0, 0) should be 'object'"); -} - -var x124 = new Date(2100, 0, 1, 0, 0); -if(x124 === undefined){ - $FAIL("#12.4: new Date(2100, 0, 1, 0, 0) should not be undefined"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T5.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T5.js deleted file mode 100644 index 4e8b794dc8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T5.js +++ /dev/null @@ -1,243 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A1_T5; - * @section: 15.9.3.1; - * @assertion: When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object; - * @description: 6 arguments, (year, month, date, hours, minutes, seconds); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A1_T5", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T5.js", - -assertion: "When Date is called as part of a new expression it is", - -description: "6 arguments, (year, month, date, hours, minutes, seconds)", - -test: function testcase() { - if (typeof new Date(1899, 11, 31, 23, 59, 59) !== "object") { - $FAIL("#1.1: typeof new Date(1899, 11, 31, 23, 59, 59) should be 'object'"); -} - -if (new Date(1899, 11, 31, 23, 59, 59) === undefined) { - $FAIL("#1.2: new Date(1899, 11, 31, 23, 59, 59) should not be undefined"); -} - -var x13 = new Date(1899, 11, 31, 23, 59, 59); -if(typeof x13 !== "object"){ - $FAIL("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59) should be 'object'"); -} - -var x14 = new Date(1899, 11, 31, 23, 59, 59); -if(x14 === undefined){ - $FAIL("#1.4: new Date(1899, 11, 31, 23, 59, 59) should not be undefined"); -} - -if (typeof new Date(1899, 12, 1, 0, 0, 0) !== "object") { - $FAIL("#2.1: typeof new Date(1899, 12, 1, 0, 0, 0) should be 'object'"); -} - -if (new Date(1899, 12, 1, 0, 0, 0) === undefined) { - $FAIL("#2.2: new Date(1899, 12, 1, 0, 0, 0) should not be undefined"); -} - -var x23 = new Date(1899, 12, 1, 0, 0, 0); -if(typeof x23 !== "object"){ - $FAIL("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0) should be 'object'"); -} - -var x24 = new Date(1899, 12, 1, 0, 0, 0); -if(x24 === undefined){ - $FAIL("#2.4: new Date(1899, 12, 1, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(1900, 0, 1, 0, 0, 0) !== "object") { - $FAIL("#3.1: typeof new Date(1900, 0, 1, 0, 0, 0) should be 'object'"); -} - -if (new Date(1900, 0, 1, 0, 0, 0) === undefined) { - $FAIL("#3.2: new Date(1900, 0, 1, 0, 0, 0) should not be undefined"); -} - -var x33 = new Date(1900, 0, 1, 0, 0, 0); -if(typeof x33 !== "object"){ - $FAIL("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0) should be 'object'"); -} - -var x34 = new Date(1900, 0, 1, 0, 0, 0); -if(x34 === undefined){ - $FAIL("#3.4: new Date(1900, 0, 1, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(1969, 11, 31, 23, 59, 59) !== "object") { - $FAIL("#4.1: typeof new Date(1969, 11, 31, 23, 59, 59) should be 'object'"); -} - -if (new Date(1969, 11, 31, 23, 59, 59) === undefined) { - $FAIL("#4.2: new Date(1969, 11, 31, 23, 59, 59) should not be undefined"); -} - -var x43 = new Date(1969, 11, 31, 23, 59, 59); -if(typeof x43 !== "object"){ - $FAIL("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59) should be 'object'"); -} - -var x44 = new Date(1969, 11, 31, 23, 59, 59); -if(x44 === undefined){ - $FAIL("#4.4: new Date(1969, 11, 31, 23, 59, 59) should not be undefined"); -} - -if (typeof new Date(1969, 12, 1, 0, 0, 0) !== "object") { - $FAIL("#5.1: typeof new Date(1969, 12, 1, 0, 0, 0) should be 'object'"); -} - -if (new Date(1969, 12, 1, 0, 0, 0) === undefined) { - $FAIL("#5.2: new Date(1969, 12, 1, 0, 0, 0) should not be undefined"); -} - -var x53 = new Date(1969, 12, 1, 0, 0, 0); -if(typeof x53 !== "object"){ - $FAIL("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0) should be 'object'"); -} - -var x54 = new Date(1969, 12, 1, 0, 0, 0); -if(x54 === undefined){ - $FAIL("#5.4: new Date(1969, 12, 1, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(1970, 0, 1, 0, 0, 0) !== "object") { - $FAIL("#6.1: typeof new Date(1970, 0, 1, 0, 0, 0) should be 'object'"); -} - -if (new Date(1970, 0, 1, 0, 0, 0) === undefined) { - $FAIL("#6.2: new Date(1970, 0, 1, 0, 0, 0) should not be undefined"); -} - -var x63 = new Date(1970, 0, 1, 0, 0, 0); -if(typeof x63 !== "object"){ - $FAIL("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0) should be 'object'"); -} - -var x64 = new Date(1970, 0, 1, 0, 0, 0); -if(x64 === undefined){ - $FAIL("#6.4: new Date(1970, 0, 1, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(1999, 11, 31, 23, 59, 59) !== "object") { - $FAIL("#7.1: typeof new Date(1999, 11, 31, 23, 59, 59) should be 'object'"); -} - -if (new Date(1999, 11, 31, 23, 59, 59) === undefined) { - $FAIL("#7.2: new Date(1999, 11, 31, 23, 59, 59) should not be undefined"); -} - -var x73 = new Date(1999, 11, 31, 23, 59, 59); -if(typeof x73 !== "object"){ - $FAIL("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59) should be 'object'"); -} - -var x74 = new Date(1999, 11, 31, 23, 59, 59); -if(x74 === undefined){ - $FAIL("#7.4: new Date(1999, 11, 31, 23, 59, 59) should not be undefined"); -} - -if (typeof new Date(1999, 12, 1, 0, 0, 0) !== "object") { - $FAIL("#8.1: typeof new Date(1999, 12, 1, 0, 0, 0) should be 'object'"); -} - -if (new Date(1999, 12, 1, 0, 0, 0) === undefined) { - $FAIL("#8.2: new Date(1999, 12, 1, 0, 0, 0) should not be undefined"); -} - -var x83 = new Date(1999, 12, 1, 0, 0, 0); -if(typeof x83 !== "object"){ - $FAIL("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0) should be 'object'"); -} - -var x84 = new Date(1999, 12, 1, 0, 0, 0); -if(x84 === undefined){ - $FAIL("#8.4: new Date(1999, 12, 1, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(2000, 0, 1, 0, 0, 0) !== "object") { - $FAIL("#9.1: typeof new Date(2000, 0, 1, 0, 0, 0) should be 'object'"); -} - -if (new Date(2000, 0, 1, 0, 0, 0) === undefined) { - $FAIL("#9.2: new Date(2000, 0, 1, 0, 0, 0) should not be undefined"); -} - -var x93 = new Date(2000, 0, 1, 0, 0, 0); -if(typeof x93 !== "object"){ - $FAIL("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0) should be 'object'"); -} - -var x94 = new Date(2000, 0, 1, 0, 0, 0); -if(x94 === undefined){ - $FAIL("#9.4: new Date(2000, 0, 1, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(2099, 11, 31, 23, 59, 59) !== "object") { - $FAIL("#10.1: typeof new Date(2099, 11, 31, 23, 59, 59) should be 'object'"); -} - -if (new Date(2099, 11, 31, 23, 59, 59) === undefined) { - $FAIL("#10.2: new Date(2099, 11, 31, 23, 59, 59) should not be undefined"); -} - -var x103 = new Date(2099, 11, 31, 23, 59, 59); -if(typeof x103 !== "object"){ - $FAIL("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59) should be 'object'"); -} - -var x104 = new Date(2099, 11, 31, 23, 59, 59); -if(x104 === undefined){ - $FAIL("#10.4: new Date(2099, 11, 31, 23, 59, 59) should not be undefined"); -} - -if (typeof new Date(2099, 12, 1, 0, 0, 0) !== "object") { - $FAIL("#11.1: typeof new Date(2099, 12, 1, 0, 0, 0) should be 'object'"); -} - -if (new Date(2099, 12, 1, 0, 0, 0) === undefined) { - $FAIL("#11.2: new Date(2099, 12, 1, 0, 0, 0) should not be undefined"); -} - -var x113 = new Date(2099, 12, 1, 0, 0, 0); -if(typeof x113 !== "object"){ - $FAIL("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0) should be 'object'"); -} - -var x114 = new Date(2099, 12, 1, 0, 0, 0); -if(x114 === undefined){ - $FAIL("#11.4: new Date(2099, 12, 1, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(2100, 0, 1, 0, 0, 0) !== "object") { - $FAIL("#12.1: typeof new Date(2100, 0, 1, 0, 0, 0) should be 'object'"); -} - -if (new Date(2100, 0, 1, 0, 0, 0) === undefined) { - $FAIL("#12.2: new Date(2100, 0, 1, 0, 0, 0) should not be undefined"); -} - -var x123 = new Date(2100, 0, 1, 0, 0, 0); -if(typeof x123 !== "object"){ - $FAIL("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0) should be 'object'"); -} - -var x124 = new Date(2100, 0, 1, 0, 0, 0); -if(x124 === undefined){ - $FAIL("#12.4: new Date(2100, 0, 1, 0, 0, 0) should not be undefined"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T6.js deleted file mode 100644 index 5ed27fb80b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T6.js +++ /dev/null @@ -1,243 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A1_T6; - * @section: 15.9.3.1; - * @assertion: When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object; - * @description: 7 arguments, (year, month, date, hours, minutes, seconds, ms); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A1_T6", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A1_T6.js", - -assertion: "When Date is called as part of a new expression it is", - -description: "7 arguments, (year, month, date, hours, minutes, seconds, ms)", - -test: function testcase() { - if (typeof new Date(1899, 11, 31, 23, 59, 59, 999) !== "object") { - $FAIL("#1.1: typeof new Date(1899, 11, 31, 23, 59, 59, 999) should be 'object'"); -} - -if (new Date(1899, 11, 31, 23, 59, 59, 999) === undefined) { - $FAIL("#1.2: new Date(1899, 11, 31, 23, 59, 59, 999) should not be undefined"); -} - -var x13 = new Date(1899, 11, 31, 23, 59, 59, 999); -if(typeof x13 !== "object"){ - $FAIL("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59, 999) should be 'object'"); -} - -var x14 = new Date(1899, 11, 31, 23, 59, 59, 999); -if(x14 === undefined){ - $FAIL("#1.4: new Date(1899, 11, 31, 23, 59, 59, 999) should not be undefined"); -} - -if (typeof new Date(1899, 12, 1, 0, 0, 0, 0) !== "object") { - $FAIL("#2.1: typeof new Date(1899, 12, 1, 0, 0, 0, 0) should be 'object'"); -} - -if (new Date(1899, 12, 1, 0, 0, 0, 0) === undefined) { - $FAIL("#2.2: new Date(1899, 12, 1, 0, 0, 0, 0) should not be undefined"); -} - -var x23 = new Date(1899, 12, 1, 0, 0, 0, 0); -if(typeof x23 !== "object"){ - $FAIL("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0, 0) should be 'object'"); -} - -var x24 = new Date(1899, 12, 1, 0, 0, 0, 0); -if(x24 === undefined){ - $FAIL("#2.4: new Date(1899, 12, 1, 0, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(1900, 0, 1, 0, 0, 0, 0) !== "object") { - $FAIL("#3.1: typeof new Date(1900, 0, 1, 0, 0, 0, 0) should be 'object'"); -} - -if (new Date(1900, 0, 1, 0, 0, 0, 0) === undefined) { - $FAIL("#3.2: new Date(1900, 0, 1, 0, 0, 0, 0) should not be undefined"); -} - -var x33 = new Date(1900, 0, 1, 0, 0, 0, 0); -if(typeof x33 !== "object"){ - $FAIL("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0, 0) should be 'object'"); -} - -var x34 = new Date(1900, 0, 1, 0, 0, 0, 0); -if(x34 === undefined){ - $FAIL("#3.4: new Date(1900, 0, 1, 0, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(1969, 11, 31, 23, 59, 59, 999) !== "object") { - $FAIL("#4.1: typeof new Date(1969, 11, 31, 23, 59, 59, 999) should be 'object'"); -} - -if (new Date(1969, 11, 31, 23, 59, 59, 999) === undefined) { - $FAIL("#4.2: new Date(1969, 11, 31, 23, 59, 59, 999) should not be undefined"); -} - -var x43 = new Date(1969, 11, 31, 23, 59, 59, 999); -if(typeof x43 !== "object"){ - $FAIL("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59, 999) should be 'object'"); -} - -var x44 = new Date(1969, 11, 31, 23, 59, 59, 999); -if(x44 === undefined){ - $FAIL("#4.4: new Date(1969, 11, 31, 23, 59, 59, 999) should not be undefined"); -} - -if (typeof new Date(1969, 12, 1, 0, 0, 0, 0) !== "object") { - $FAIL("#5.1: typeof new Date(1969, 12, 1, 0, 0, 0, 0) should be 'object'"); -} - -if (new Date(1969, 12, 1, 0, 0, 0, 0) === undefined) { - $FAIL("#5.2: new Date(1969, 12, 1, 0, 0, 0, 0) should not be undefined"); -} - -var x53 = new Date(1969, 12, 1, 0, 0, 0, 0); -if(typeof x53 !== "object"){ - $FAIL("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0, 0) should be 'object'"); -} - -var x54 = new Date(1969, 12, 1, 0, 0, 0, 0); -if(x54 === undefined){ - $FAIL("#5.4: new Date(1969, 12, 1, 0, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(1970, 0, 1, 0, 0, 0, 0) !== "object") { - $FAIL("#6.1: typeof new Date(1970, 0, 1, 0, 0, 0, 0) should be 'object'"); -} - -if (new Date(1970, 0, 1, 0, 0, 0, 0) === undefined) { - $FAIL("#6.2: new Date(1970, 0, 1, 0, 0, 0, 0) should not be undefined"); -} - -var x63 = new Date(1970, 0, 1, 0, 0, 0, 0); -if(typeof x63 !== "object"){ - $FAIL("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0, 0) should be 'object'"); -} - -var x64 = new Date(1970, 0, 1, 0, 0, 0, 0); -if(x64 === undefined){ - $FAIL("#6.4: new Date(1970, 0, 1, 0, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(1999, 11, 31, 23, 59, 59, 999) !== "object") { - $FAIL("#7.1: typeof new Date(1999, 11, 31, 23, 59, 59, 999) should be 'object'"); -} - -if (new Date(1999, 11, 31, 23, 59, 59, 999) === undefined) { - $FAIL("#7.2: new Date(1999, 11, 31, 23, 59, 59, 999) should not be undefined"); -} - -var x73 = new Date(1999, 11, 31, 23, 59, 59, 999); -if(typeof x73 !== "object"){ - $FAIL("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59, 999) should be 'object'"); -} - -var x74 = new Date(1999, 11, 31, 23, 59, 59, 999); -if(x74 === undefined){ - $FAIL("#7.4: new Date(1999, 11, 31, 23, 59, 59, 999) should not be undefined"); -} - -if (typeof new Date(1999, 12, 1, 0, 0, 0, 0) !== "object") { - $FAIL("#8.1: typeof new Date(1999, 12, 1, 0, 0, 0, 0) should be 'object'"); -} - -if (new Date(1999, 12, 1, 0, 0, 0, 0) === undefined) { - $FAIL("#8.2: new Date(1999, 12, 1, 0, 0, 0, 0) should not be undefined"); -} - -var x83 = new Date(1999, 12, 1, 0, 0, 0, 0); -if(typeof x83 !== "object"){ - $FAIL("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0, 0) should be 'object'"); -} - -var x84 = new Date(1999, 12, 1, 0, 0, 0, 0); -if(x84 === undefined){ - $FAIL("#8.4: new Date(1999, 12, 1, 0, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(2000, 0, 1, 0, 0, 0, 0) !== "object") { - $FAIL("#9.1: typeof new Date(2000, 0, 1, 0, 0, 0, 0) should be 'object'"); -} - -if (new Date(2000, 0, 1, 0, 0, 0, 0) === undefined) { - $FAIL("#9.2: new Date(2000, 0, 1, 0, 0, 0, 0) should not be undefined"); -} - -var x93 = new Date(2000, 0, 1, 0, 0, 0, 0); -if(typeof x93 !== "object"){ - $FAIL("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0, 0) should be 'object'"); -} - -var x94 = new Date(2000, 0, 1, 0, 0, 0, 0); -if(x94 === undefined){ - $FAIL("#9.4: new Date(2000, 0, 1, 0, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(2099, 11, 31, 23, 59, 59, 999) !== "object") { - $FAIL("#10.1: typeof new Date(2099, 11, 31, 23, 59, 59, 999) should be 'object'"); -} - -if (new Date(2099, 11, 31, 23, 59, 59, 999) === undefined) { - $FAIL("#10.2: new Date(2099, 11, 31, 23, 59, 59, 999) should not be undefined"); -} - -var x103 = new Date(2099, 11, 31, 23, 59, 59, 999); -if(typeof x103 !== "object"){ - $FAIL("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59, 999) should be 'object'"); -} - -var x104 = new Date(2099, 11, 31, 23, 59, 59, 999); -if(x104 === undefined){ - $FAIL("#10.4: new Date(2099, 11, 31, 23, 59, 59, 999) should not be undefined"); -} - -if (typeof new Date(2099, 12, 1, 0, 0, 0, 0) !== "object") { - $FAIL("#11.1: typeof new Date(2099, 12, 1, 0, 0, 0, 0) should be 'object'"); -} - -if (new Date(2099, 12, 1, 0, 0, 0, 0) === undefined) { - $FAIL("#11.2: new Date(2099, 12, 1, 0, 0, 0, 0) should not be undefined"); -} - -var x113 = new Date(2099, 12, 1, 0, 0, 0, 0); -if(typeof x113 !== "object"){ - $FAIL("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0, 0) should be 'object'"); -} - -var x114 = new Date(2099, 12, 1, 0, 0, 0, 0); -if(x114 === undefined){ - $FAIL("#11.4: new Date(2099, 12, 1, 0, 0, 0, 0) should not be undefined"); -} - -if (typeof new Date(2100, 0, 1, 0, 0, 0, 0) !== "object") { - $FAIL("#12.1: typeof new Date(2100, 0, 1, 0, 0, 0, 0) should be 'object'"); -} - -if (new Date(2100, 0, 1, 0, 0, 0, 0) === undefined) { - $FAIL("#12.2: new Date(2100, 0, 1, 0, 0, 0, 0) should not be undefined"); -} - -var x123 = new Date(2100, 0, 1, 0, 0, 0, 0); -if(typeof x123 !== "object"){ - $FAIL("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0, 0) should be 'object'"); -} - -var x124 = new Date(2100, 0, 1, 0, 0, 0, 0); -if(x124 === undefined){ - $FAIL("#12.4: new Date(2100, 0, 1, 0, 0, 0, 0) should not be undefined"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T1.js deleted file mode 100644 index f3a320400e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T1.js +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A2_T1; - * @section: 15.9.3.1; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Date prototype object, the one that is the - * initial value of Date.prototype; - * @description: 2 arguments, (year, month); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T1.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "2 arguments, (year, month)", - -test: function testcase() { - var x11 = new Date(1899, 11); -if (typeof x11.constructor.prototype !== "object") { - $FAIL("#1.1: typeof x11.constructor.prototype === 'object'"); -} - -var x12 = new Date(1899, 11); -if (!Date.prototype.isPrototypeOf(x12)) { - $ERROR('#1.2: Date.prototype.isPrototypeOf(x12)'); -} - -var x13 = new Date(1899, 11); -if(Date.prototype !== x13.constructor.prototype){ - $FAIL("#1.3: Date.prototype === x13.constructor.prototype"); -} - -var x21 = new Date(1899, 12); -if (typeof x21.constructor.prototype !== "object") { - $FAIL("#2.1: typeof x11.constructor.prototype === 'object'"); -} - -var x22 = new Date(1899, 12); -if (!Date.prototype.isPrototypeOf(x22)) { - $ERROR('#2.2: Date.prototype.isPrototypeOf(x22)'); -} - -var x23 = new Date(1899, 12); -if(Date.prototype !== x23.constructor.prototype){ - $FAIL("#2.3: Date.prototype === x23.constructor.prototype"); -} - -var x31 = new Date(1900, 0); -if (typeof x31.constructor.prototype !== "object") { - $FAIL("#3.1: typeof x31.constructor.prototype === 'object'"); -} - -var x32 = new Date(1900, 0); -if (!Date.prototype.isPrototypeOf(x32)) { - $ERROR('#3.2: Date.prototype.isPrototypeOf(x32)'); -} - -var x33 = new Date(1900, 0); -if(Date.prototype !== x33.constructor.prototype){ - $FAIL("#3.3: Date.prototype === x33.constructor.prototype"); -} - -var x41 = new Date(1969, 11); -if (typeof x41.constructor.prototype !== "object") { - $FAIL("#4.1: typeof x41.constructor.prototype === 'object'"); -} - -var x42 = new Date(1969, 11); -if (!Date.prototype.isPrototypeOf(x42)) { - $ERROR('#4.2: Date.prototype.isPrototypeOf(x42)'); -} - -var x43 = new Date(1969, 11); -if(Date.prototype !== x43.constructor.prototype){ - $FAIL("#4.3: Date.prototype === x43.constructor.prototype"); -} - -var x51 = new Date(1969, 12); -if (typeof x51.constructor.prototype !== "object") { - $FAIL("#5.1: typeof x51.constructor.prototype === 'object'"); -} - -var x52 = new Date(1969, 12); -if (!Date.prototype.isPrototypeOf(x52)) { - $ERROR('#5.2: Date.prototype.isPrototypeOf(x52)'); -} - -var x53 = new Date(1969, 12); -if(Date.prototype !== x53.constructor.prototype){ - $FAIL("#5.3: Date.prototype === x53.constructor.prototype"); -} - -var x61 = new Date(1970, 0); -if (typeof x61.constructor.prototype !== "object") { - $FAIL("#6.1: typeof x61.constructor.prototype === 'object'"); -} - -var x62 = new Date(1970, 0); -if (!Date.prototype.isPrototypeOf(x62)) { - $ERROR('#6.2: Date.prototype.isPrototypeOf(x62)'); -} - -var x63 = new Date(1970, 0); -if(Date.prototype !== x63.constructor.prototype){ - $FAIL("#6.3: Date.prototype === x63.constructor.prototype"); -} - -var x71 = new Date(1999, 11); -if (typeof x71.constructor.prototype !== "object") { - $FAIL("#7.1: typeof x71.constructor.prototype === 'object'"); -} - -var x72 = new Date(1999, 11); -if (!Date.prototype.isPrototypeOf(x72)) { - $ERROR('#7.2: Date.prototype.isPrototypeOf(x72)'); -} - -var x73 = new Date(1999, 11); -if(Date.prototype !== x73.constructor.prototype){ - $FAIL("#7.3: Date.prototype === x73.constructor.prototype"); -} - -var x81 = new Date(1999, 12); -if (typeof x81.constructor.prototype !== "object") { - $FAIL("#8.1: typeof x81.constructor.prototype === 'object'"); -} - -var x82 = new Date(1999, 12); -if (!Date.prototype.isPrototypeOf(x82)) { - $ERROR('#8.2: Date.prototype.isPrototypeOf(x82)'); -} - -var x83 = new Date(1999, 12); -if(Date.prototype !== x83.constructor.prototype){ - $FAIL("#8.3: Date.prototype === x83.constructor.prototype"); -} - -var x91 = new Date(2000, 0); -if (typeof x91.constructor.prototype !== "object") { - $FAIL("#9.1: typeof x91.constructor.prototype === 'object'"); -} - -var x92 = new Date(2000, 0); -if (!Date.prototype.isPrototypeOf(x92)) { - $ERROR('#9.2: Date.prototype.isPrototypeOf(x92)'); -} - -var x93 = new Date(2000, 0); -if(Date.prototype !== x93.constructor.prototype){ - $FAIL("#9.3: Date.prototype === x93.constructor.prototype"); -} - -var x101 = new Date(2099, 11); -if (typeof x101.constructor.prototype !== "object") { - $FAIL("#10.1: typeof x101.constructor.prototype === 'object'"); -} - -var x102 = new Date(2099, 11); -if (!Date.prototype.isPrototypeOf(x102)) { - $ERROR('#10.2: Date.prototype.isPrototypeOf(x102)'); -} - -var x103 = new Date(2099, 11); -if(Date.prototype !== x103.constructor.prototype){ - $FAIL("#10.3: Date.prototype === x103.constructor.prototype"); -} - -var x111 = new Date(2099, 12); -if (typeof x111.constructor.prototype !== "object") { - $FAIL("#11.1: typeof x111.constructor.prototype === 'object'"); -} - -var x112 = new Date(2099, 12); -if (!Date.prototype.isPrototypeOf(x112)) { - $ERROR('#11.2: Date.prototype.isPrototypeOf(x112)'); -} - -var x113 = new Date(2099, 12); -if(Date.prototype !== x113.constructor.prototype){ - $FAIL("#11.3: Date.prototype === x113.constructor.prototype"); -} - -var x121 = new Date(2100, 0); -if (typeof x121.constructor.prototype !== "object") { - $FAIL("#12.1: typeof x121.constructor.prototype === 'object'"); -} - -var x122 = new Date(2100, 0); -if (!Date.prototype.isPrototypeOf(x122)) { - $ERROR('#12.2: Date.prototype.isPrototypeOf(x122)'); -} - -var x123 = new Date(2100, 0); -if(Date.prototype !== x123.constructor.prototype){ - $FAIL("#12.3: Date.prototype === x123.constructor.prototype"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T2.js deleted file mode 100644 index e02c5d4e5b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T2.js +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A2_T2; - * @section: 15.9.3.1; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Date prototype object, the one that is the - * initial value of Date.prototype; - * @description: 3 arguments, (year, month, date); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A2_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T2.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "3 arguments, (year, month, date)", - -test: function testcase() { - var x11 = new Date(1899, 11, 31); -if (typeof x11.constructor.prototype !== "object") { - $FAIL("#1.1: typeof x11.constructor.prototype === 'object'"); -} - -var x12 = new Date(1899, 11, 31); -if (!Date.prototype.isPrototypeOf(x12)) { - $ERROR('#1.2: Date.prototype.isPrototypeOf(x12)'); -} - -var x13 = new Date(1899, 11, 31); -if(Date.prototype !== x13.constructor.prototype){ - $FAIL("#1.3: Date.prototype === x13.constructor.prototype"); -} - -var x21 = new Date(1899, 12, 1); -if (typeof x21.constructor.prototype !== "object") { - $FAIL("#2.1: typeof x21.constructor.prototype === 'object'"); -} - -var x22 = new Date(1899, 12, 1); -if (!Date.prototype.isPrototypeOf(x22)) { - $ERROR('#2.2: Date.prototype.isPrototypeOf(x22)'); -} - -var x23 = new Date(1899, 12, 1); -if(Date.prototype !== x23.constructor.prototype){ - $FAIL("#2.3: Date.prototype === x23.constructor.prototype"); -} - -var x31 = new Date(1900, 0, 1); -if (typeof x31.constructor.prototype !== "object") { - $FAIL("#3.1: typeof x31.constructor.prototype === 'object'"); -} - -var x32 = new Date(1900, 0, 1); -if (!Date.prototype.isPrototypeOf(x32)) { - $ERROR('#3.2: Date.prototype.isPrototypeOf(x32)'); -} - -var x33 = new Date(1900, 0, 1); -if(Date.prototype !== x33.constructor.prototype){ - $FAIL("#3.3: Date.prototype === x33.constructor.prototype"); -} - -var x41 = new Date(1969, 11, 31); -if (typeof x41.constructor.prototype !== "object") { - $FAIL("#4.1: typeof x41.constructor.prototype === 'object'"); -} - -var x42 = new Date(1969, 11, 31); -if (!Date.prototype.isPrototypeOf(x42)) { - $ERROR('#4.2: Date.prototype.isPrototypeOf(x42)'); -} - -var x43 = new Date(1969, 11, 31); -if(Date.prototype !== x43.constructor.prototype){ - $FAIL("#4.3: Date.prototype === x43.constructor.prototype"); -} - -var x51 = new Date(1969, 12, 1); -if (typeof x51.constructor.prototype !== "object") { - $FAIL("#5.1: typeof x51.constructor.prototype === 'object'"); -} - -var x52 = new Date(1969, 12, 1); -if (!Date.prototype.isPrototypeOf(x52)) { - $ERROR('#5.2: Date.prototype.isPrototypeOf(x52)'); -} - -var x53 = new Date(1969, 12, 1); -if(Date.prototype !== x53.constructor.prototype){ - $FAIL("#5.3: Date.prototype === x53.constructor.prototype"); -} - -var x61 = new Date(1970, 0, 1); -if (typeof x61.constructor.prototype !== "object") { - $FAIL("#6.1: typeof x61.constructor.prototype === 'object'"); -} - -var x62 = new Date(1970, 0, 1); -if (!Date.prototype.isPrototypeOf(x62)) { - $ERROR('#6.2: Date.prototype.isPrototypeOf(x62)'); -} - -var x63 = new Date(1970, 0, 1); -if(Date.prototype !== x63.constructor.prototype){ - $FAIL("#6.3: Date.prototype === x63.constructor.prototype"); -} - -var x71 = new Date(1999, 11, 31); -if (typeof x71.constructor.prototype !== "object") { - $FAIL("#7.1: typeof x71.constructor.prototype === 'object'"); -} - -var x72 = new Date(1999, 11, 31); -if (!Date.prototype.isPrototypeOf(x72)) { - $ERROR('#7.2: Date.prototype.isPrototypeOf(x72)'); -} - -var x73 = new Date(1999, 11, 31); -if(Date.prototype !== x73.constructor.prototype){ - $FAIL("#7.3: Date.prototype === x73.constructor.prototype"); -} - -var x81 = new Date(1999, 12, 1); -if (typeof x81.constructor.prototype !== "object") { - $FAIL("#8.1: typeof x81.constructor.prototype === 'object'"); -} - -var x82 = new Date(1999, 12, 1); -if (!Date.prototype.isPrototypeOf(x82)) { - $ERROR('#8.2: Date.prototype.isPrototypeOf(x82)'); -} - -var x83 = new Date(1999, 12, 1); -if(Date.prototype !== x83.constructor.prototype){ - $FAIL("#8.3: Date.prototype === x83.constructor.prototype"); -} - -var x91 = new Date(2000, 0, 1); -if (typeof x91.constructor.prototype !== "object") { - $FAIL("#9.1: typeof x91.constructor.prototype === 'object'"); -} - -var x92 = new Date(2000, 0, 1); -if (!Date.prototype.isPrototypeOf(x92)) { - $ERROR('#9.2: Date.prototype.isPrototypeOf(x92)'); -} - -var x93 = new Date(2000, 0, 1); -if(Date.prototype !== x93.constructor.prototype){ - $FAIL("#9.3: Date.prototype === x93.constructor.prototype"); -} - -var x101 = new Date(2099, 11, 31); -if (typeof x101.constructor.prototype !== "object") { - $FAIL("#10.1: typeof x101.constructor.prototype === 'object'"); -} - -var x102 = new Date(2099, 11, 31); -if (!Date.prototype.isPrototypeOf(x102)) { - $ERROR('#10.2: Date.prototype.isPrototypeOf(x102)'); -} - -var x103 = new Date(2099, 11, 31); -if(Date.prototype !== x103.constructor.prototype){ - $FAIL("#10.3: Date.prototype === x103.constructor.prototype"); -} - -var x111 = new Date(2099, 12, 1); -if (typeof x111.constructor.prototype !== "object") { - $FAIL("#11.1: typeof x111.constructor.prototype === 'object'"); -} - -var x112 = new Date(2099, 12, 1); -if (!Date.prototype.isPrototypeOf(x112)) { - $ERROR('#11.2: Date.prototype.isPrototypeOf(x112)'); -} - -var x113 = new Date(2099, 12, 1); -if(Date.prototype !== x113.constructor.prototype){ - $FAIL("#11.3: Date.prototype === x113.constructor.prototype"); -} - -var x121 = new Date(2100, 0, 1); -if (typeof x121.constructor.prototype !== "object") { - $FAIL("#12.1: typeof x121.constructor.prototype === 'object'"); -} - -var x122 = new Date(2100, 0, 1); -if (!Date.prototype.isPrototypeOf(x122)) { - $ERROR('#12.2: Date.prototype.isPrototypeOf(x122)'); -} - -var x123 = new Date(2100, 0, 1); -if(Date.prototype !== x123.constructor.prototype){ - $FAIL("#12.3: Date.prototype === x123.constructor.prototype"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T3.js deleted file mode 100644 index dda49afeb8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T3.js +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A2_T3; - * @section: 15.9.3.1; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Date prototype object, the one that is the - * initial value of Date.prototype; - * @description: 4 arguments, (year, month, date, hours); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A2_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T3.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "4 arguments, (year, month, date, hours)", - -test: function testcase() { - var x11 = new Date(1899, 11, 31, 23); -if (typeof x11.constructor.prototype !== "object") { - $FAIL("#1.1: typeof x11.constructor.prototype === 'object'"); -} - -var x12 = new Date(1899, 11, 31, 23); -if (!Date.prototype.isPrototypeOf(x12)) { - $ERROR('#1.2: Date.prototype.isPrototypeOf(x12)'); -} - -var x13 = new Date(1899, 11, 31, 23); -if(Date.prototype !== x13.constructor.prototype){ - $FAIL("#1.3: Date.prototype === x13.constructor.prototype"); -} - -var x21 = new Date(1899, 12, 1, 0); -if (typeof x21.constructor.prototype !== "object") { - $FAIL("#2.1: typeof x21.constructor.prototype === 'object'"); -} - -var x22 = new Date(1899, 12, 1, 0); -if (!Date.prototype.isPrototypeOf(x22)) { - $ERROR('#2.2: Date.prototype.isPrototypeOf(x22)'); -} - -var x23 = new Date(1899, 12, 1, 0); -if(Date.prototype !== x23.constructor.prototype){ - $FAIL("#2.3: Date.prototype === x23.constructor.prototype"); -} - -var x31 = new Date(1900, 0, 1, 0); -if (typeof x31.constructor.prototype !== "object") { - $FAIL("#3.1: typeof x31.constructor.prototype === 'object'"); -} - -var x32 = new Date(1900, 0, 1, 0); -if (!Date.prototype.isPrototypeOf(x32)) { - $ERROR('#3.2: Date.prototype.isPrototypeOf(x32)'); -} - -var x33 = new Date(1900, 0, 1, 0); -if(Date.prototype !== x33.constructor.prototype){ - $FAIL("#3.3: Date.prototype === x33.constructor.prototype"); -} - -var x41 = new Date(1969, 11, 31, 23); -if (typeof x41.constructor.prototype !== "object") { - $FAIL("#4.1: typeof x41.constructor.prototype === 'object'"); -} - -var x42 = new Date(1969, 11, 31, 23); -if (!Date.prototype.isPrototypeOf(x42)) { - $ERROR('#4.2: Date.prototype.isPrototypeOf(x42)'); -} - -var x43 = new Date(1969, 11, 31, 23); -if(Date.prototype !== x43.constructor.prototype){ - $FAIL("#4.3: Date.prototype === x43.constructor.prototype"); -} - -var x51 = new Date(1969, 12, 1, 0); -if (typeof x51.constructor.prototype !== "object") { - $FAIL("#5.1: typeof x51.constructor.prototype === 'object'"); -} - -var x52 = new Date(1969, 12, 1, 0); -if (!Date.prototype.isPrototypeOf(x52)) { - $ERROR('#5.2: Date.prototype.isPrototypeOf(x52)'); -} - -var x53 = new Date(1969, 12, 1, 0); -if(Date.prototype !== x53.constructor.prototype){ - $FAIL("#5.3: Date.prototype === x53.constructor.prototype"); -} - -var x61 = new Date(1970, 0, 1, 0); -if (typeof x61.constructor.prototype !== "object") { - $FAIL("#6.1: typeof x61.constructor.prototype === 'object'"); -} - -var x62 = new Date(1970, 0, 1, 0); -if (!Date.prototype.isPrototypeOf(x62)) { - $ERROR('#6.2: Date.prototype.isPrototypeOf(x62)'); -} - -var x63 = new Date(1970, 0, 1, 0); -if(Date.prototype !== x63.constructor.prototype){ - $FAIL("#6.3: Date.prototype === x63.constructor.prototype"); -} - -var x71 = new Date(1999, 11, 31, 23); -if (typeof x71.constructor.prototype !== "object") { - $FAIL("#7.1: typeof x71.constructor.prototype === 'object'"); -} - -var x72 = new Date(1999, 11, 31, 23); -if (!Date.prototype.isPrototypeOf(x72)) { - $ERROR('#7.2: Date.prototype.isPrototypeOf(x72)'); -} - -var x73 = new Date(1999, 11, 31, 23); -if(Date.prototype !== x73.constructor.prototype){ - $FAIL("#7.3: Date.prototype === x73.constructor.prototype"); -} - -var x81 = new Date(1999, 12, 1, 0); -if (typeof x81.constructor.prototype !== "object") { - $FAIL("#8.1: typeof x81.constructor.prototype === 'object'"); -} - -var x82 = new Date(1999, 12, 1, 0); -if (!Date.prototype.isPrototypeOf(x82)) { - $ERROR('#8.2: Date.prototype.isPrototypeOf(x82)'); -} - -var x83 = new Date(1999, 12, 1, 0); -if(Date.prototype !== x83.constructor.prototype){ - $FAIL("#8.3: Date.prototype === x83.constructor.prototype"); -} - -var x91 = new Date(2000, 0, 1, 0); -if (typeof x91.constructor.prototype !== "object") { - $FAIL("#9.1: typeof x91.constructor.prototype === 'object'"); -} - -var x92 = new Date(2000, 0, 1, 0); -if (!Date.prototype.isPrototypeOf(x92)) { - $ERROR('#9.2: Date.prototype.isPrototypeOf(x92)'); -} - -var x93 = new Date(2000, 0, 1, 0); -if(Date.prototype !== x93.constructor.prototype){ - $FAIL("#9.3: Date.prototype === x93.constructor.prototype"); -} - -var x101 = new Date(2099, 11, 31, 23); -if (typeof x101.constructor.prototype !== "object") { - $FAIL("#10.1: typeof x101.constructor.prototype === 'object'"); -} - -var x102 = new Date(2099, 11, 31, 23); -if (!Date.prototype.isPrototypeOf(x102)) { - $ERROR('#10.2: Date.prototype.isPrototypeOf(x102)'); -} - -var x103 = new Date(2099, 11, 31, 23); -if(Date.prototype !== x103.constructor.prototype){ - $FAIL("#10.3: Date.prototype === x103.constructor.prototype"); -} - -var x111 = new Date(2099, 12, 1, 0); -if (typeof x111.constructor.prototype !== "object") { - $FAIL("#11.1: typeof x111.constructor.prototype === 'object'"); -} - -var x112 = new Date(2099, 12, 1, 0); -if (!Date.prototype.isPrototypeOf(x112)) { - $ERROR('#11.2: Date.prototype.isPrototypeOf(x112)'); -} - -var x113 = new Date(2099, 12, 1, 0); -if(Date.prototype !== x113.constructor.prototype){ - $FAIL("#11.3: Date.prototype === x113.constructor.prototype"); -} - -var x121 = new Date(2100, 0, 1, 0); -if (typeof x121.constructor.prototype !== "object") { - $FAIL("#12.1: typeof x121.constructor.prototype === 'object'"); -} - -var x122 = new Date(2100, 0, 1, 0); -if (!Date.prototype.isPrototypeOf(x122)) { - $ERROR('#12.2: Date.prototype.isPrototypeOf(x122)'); -} - -var x123 = new Date(2100, 0, 1, 0); -if(Date.prototype !== x123.constructor.prototype){ - $FAIL("#12.3: Date.prototype === x123.constructor.prototype"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T4.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T4.js deleted file mode 100644 index 1b5af33c1e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T4.js +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A2_T4; - * @section: 15.9.3.1; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Date prototype object, the one that is the - * initial value of Date.prototype; - * @description: 5 arguments, (year, month, date, hours, minutes); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A2_T4", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T4.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "5 arguments, (year, month, date, hours, minutes)", - -test: function testcase() { - var x11 = new Date(1899, 11, 31, 23, 59); -if (typeof x11.constructor.prototype !== "object") { - $FAIL("#1.1: typeof x11.constructor.prototype === 'object'"); -} - -var x12 = new Date(1899, 11, 31, 23, 59); -if (!Date.prototype.isPrototypeOf(x12)) { - $ERROR('#1.2: Date.prototype.isPrototypeOf(x12)'); -} - -var x13 = new Date(1899, 11, 31, 23, 59); -if(Date.prototype !== x13.constructor.prototype){ - $FAIL("#1.3: Date.prototype === x13.constructor.prototype"); -} - -var x21 = new Date(1899, 12, 1, 0, 0); -if (typeof x21.constructor.prototype !== "object") { - $FAIL("#2.1: typeof x21.constructor.prototype === 'object'"); -} - -var x22 = new Date(1899, 12, 1, 0, 0); -if (!Date.prototype.isPrototypeOf(x22)) { - $ERROR('#2.2: Date.prototype.isPrototypeOf(x22)'); -} - -var x23 = new Date(1899, 12, 1, 0, 0); -if(Date.prototype !== x23.constructor.prototype){ - $FAIL("#2.3: Date.prototype === x23.constructor.prototype"); -} - -var x31 = new Date(1900, 0, 1, 0, 0); -if (typeof x31.constructor.prototype !== "object") { - $FAIL("#3.1: typeof x31.constructor.prototype === 'object'"); -} - -var x32 = new Date(1900, 0, 1, 0, 0); -if (!Date.prototype.isPrototypeOf(x32)) { - $ERROR('#3.2: Date.prototype.isPrototypeOf(x32)'); -} - -var x33 = new Date(1900, 0, 1, 0, 0); -if(Date.prototype !== x33.constructor.prototype){ - $FAIL("#3.3: Date.prototype === x33.constructor.prototype"); -} - -var x41 = new Date(1969, 11, 31, 23, 59); -if (typeof x41.constructor.prototype !== "object") { - $FAIL("#4.1: typeof x41.constructor.prototype === 'object'"); -} - -var x42 = new Date(1969, 11, 31, 23, 59); -if (!Date.prototype.isPrototypeOf(x42)) { - $ERROR('#4.2: Date.prototype.isPrototypeOf(x42)'); -} - -var x43 = new Date(1969, 11, 31, 23, 59); -if(Date.prototype !== x43.constructor.prototype){ - $FAIL("#4.3: Date.prototype === x43.constructor.prototype"); -} - -var x51 = new Date(1969, 12, 1, 0, 0); -if (typeof x51.constructor.prototype !== "object") { - $FAIL("#5.1: typeof x51.constructor.prototype === 'object'"); -} - -var x52 = new Date(1969, 12, 1, 0, 0); -if (!Date.prototype.isPrototypeOf(x52)) { - $ERROR('#5.2: Date.prototype.isPrototypeOf(x52)'); -} - -var x53 = new Date(1969, 12, 1, 0, 0); -if(Date.prototype !== x53.constructor.prototype){ - $FAIL("#5.3: Date.prototype === x53.constructor.prototype"); -} - -var x61 = new Date(1970, 0, 1, 0, 0); -if (typeof x61.constructor.prototype !== "object") { - $FAIL("#6.1: typeof x61.constructor.prototype === 'object'"); -} - -var x62 = new Date(1970, 0, 1, 0, 0); -if (!Date.prototype.isPrototypeOf(x62)) { - $ERROR('#6.2: Date.prototype.isPrototypeOf(x62)'); -} - -var x63 = new Date(1970, 0, 1, 0, 0); -if(Date.prototype !== x63.constructor.prototype){ - $FAIL("#6.3: Date.prototype === x63.constructor.prototype"); -} - -var x71 = new Date(1999, 11, 31, 23, 59); -if (typeof x71.constructor.prototype !== "object") { - $FAIL("#7.1: typeof x71.constructor.prototype === 'object'"); -} - -var x72 = new Date(1999, 11, 31, 23, 59); -if (!Date.prototype.isPrototypeOf(x72)) { - $ERROR('#7.2: Date.prototype.isPrototypeOf(x72)'); -} - -var x73 = new Date(1999, 11, 31, 23, 59); -if(Date.prototype !== x73.constructor.prototype){ - $FAIL("#7.3: Date.prototype === x73.constructor.prototype"); -} - -var x81 = new Date(1999, 12, 1, 0, 0); -if (typeof x81.constructor.prototype !== "object") { - $FAIL("#8.1: typeof x81.constructor.prototype === 'object'"); -} - -var x82 = new Date(1999, 12, 1, 0, 0); -if (!Date.prototype.isPrototypeOf(x82)) { - $ERROR('#8.2: Date.prototype.isPrototypeOf(x82)'); -} - -var x83 = new Date(1999, 12, 1, 0, 0); -if(Date.prototype !== x83.constructor.prototype){ - $FAIL("#8.3: Date.prototype === x83.constructor.prototype"); -} - -var x91 = new Date(2000, 0, 1, 0, 0); -if (typeof x91.constructor.prototype !== "object") { - $FAIL("#9.1: typeof x91.constructor.prototype === 'object'"); -} - -var x92 = new Date(2000, 0, 1, 0, 0); -if (!Date.prototype.isPrototypeOf(x92)) { - $ERROR('#9.2: Date.prototype.isPrototypeOf(x92)'); -} - -var x93 = new Date(2000, 0, 1, 0, 0); -if(Date.prototype !== x93.constructor.prototype){ - $FAIL("#9.3: Date.prototype === x93.constructor.prototype"); -} - -var x101 = new Date(2099, 11, 31, 23, 59); -if (typeof x101.constructor.prototype !== "object") { - $FAIL("#10.1: typeof x101.constructor.prototype === 'object'"); -} - -var x102 = new Date(2099, 11, 31, 23, 59); -if (!Date.prototype.isPrototypeOf(x102)) { - $ERROR('#10.2: Date.prototype.isPrototypeOf(x102)'); -} - -var x103 = new Date(2099, 11, 31, 23, 59); -if(Date.prototype !== x103.constructor.prototype){ - $FAIL("#10.3: Date.prototype === x103.constructor.prototype"); -} - -var x111 = new Date(2099, 12, 1, 0, 0); -if (typeof x111.constructor.prototype !== "object") { - $FAIL("#11.1: typeof x111.constructor.prototype === 'object'"); -} - -var x112 = new Date(2099, 12, 1, 0, 0); -if (!Date.prototype.isPrototypeOf(x112)) { - $ERROR('#11.2: Date.prototype.isPrototypeOf(x112)'); -} - -var x113 = new Date(2099, 12, 1, 0, 0); -if(Date.prototype !== x113.constructor.prototype){ - $FAIL("#11.3: Date.prototype === x113.constructor.prototype"); -} - -var x121 = new Date(2100, 0, 1, 0, 0); -if (typeof x121.constructor.prototype !== "object") { - $FAIL("#12.1: typeof x121.constructor.prototype === 'object'"); -} - -var x122 = new Date(2100, 0, 1, 0, 0); -if (!Date.prototype.isPrototypeOf(x122)) { - $ERROR('#12.2: Date.prototype.isPrototypeOf(x122)'); -} - -var x123 = new Date(2100, 0, 1, 0, 0); -if(Date.prototype !== x123.constructor.prototype){ - $FAIL("#12.3: Date.prototype === x123.constructor.prototype"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T5.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T5.js deleted file mode 100644 index 0a659dd557..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T5.js +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A2_T5; - * @section: 15.9.3.1; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Date prototype object, the one that is the - * initial value of Date.prototype; - * @description: 6 arguments, (year, month, date, hours, minutes, seconds); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A2_T5", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T5.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "6 arguments, (year, month, date, hours, minutes, seconds)", - -test: function testcase() { - var x11 = new Date(1899, 11, 31, 23, 59, 59); -if (typeof x11.constructor.prototype !== "object") { - $FAIL("#1.1: typeof x11.constructor.prototype === 'object'"); -} - -var x12 = new Date(1899, 11, 31, 23, 59, 59); -if (!Date.prototype.isPrototypeOf(x12)) { - $ERROR('#1.2: Date.prototype.isPrototypeOf(x12)'); -} - -var x13 = new Date(1899, 11, 31, 23, 59, 59); -if(Date.prototype !== x13.constructor.prototype){ - $FAIL("#1.3: Date.prototype === x13.constructor.prototype"); -} - -var x21 = new Date(1899, 12, 1, 0, 0, 0); -if (typeof x21.constructor.prototype !== "object") { - $FAIL("#2.1: typeof x21.constructor.prototype === 'object'"); -} - -var x22 = new Date(1899, 12, 1, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x22)) { - $ERROR('#2.2: Date.prototype.isPrototypeOf(x22)'); -} - -var x23 = new Date(1899, 12, 1, 0, 0, 0); -if(Date.prototype !== x23.constructor.prototype){ - $FAIL("#2.3: Date.prototype === x23.constructor.prototype"); -} - -var x31 = new Date(1900, 0, 1, 0, 0, 0); -if (typeof x31.constructor.prototype !== "object") { - $FAIL("#3.1: typeof x31.constructor.prototype === 'object'"); -} - -var x32 = new Date(1900, 0, 1, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x32)) { - $ERROR('#3.2: Date.prototype.isPrototypeOf(x32)'); -} - -var x33 = new Date(1900, 0, 1, 0, 0, 0); -if(Date.prototype !== x33.constructor.prototype){ - $FAIL("#3.3: Date.prototype === x33.constructor.prototype"); -} - -var x41 = new Date(1969, 11, 31, 23, 59, 59); -if (typeof x41.constructor.prototype !== "object") { - $FAIL("#4.1: typeof x41.constructor.prototype === 'object'"); -} - -var x42 = new Date(1969, 11, 31, 23, 59, 59); -if (!Date.prototype.isPrototypeOf(x42)) { - $ERROR('#4.2: Date.prototype.isPrototypeOf(x42)'); -} - -var x43 = new Date(1969, 11, 31, 23, 59, 59); -if(Date.prototype !== x43.constructor.prototype){ - $FAIL("#4.3: Date.prototype === x43.constructor.prototype"); -} - -var x51 = new Date(1969, 12, 1, 0, 0, 0); -if (typeof x51.constructor.prototype !== "object") { - $FAIL("#5.1: typeof x51.constructor.prototype === 'object'"); -} - -var x52 = new Date(1969, 12, 1, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x52)) { - $ERROR('#5.2: Date.prototype.isPrototypeOf(x52)'); -} - -var x53 = new Date(1969, 12, 1, 0, 0, 0); -if(Date.prototype !== x53.constructor.prototype){ - $FAIL("#5.3: Date.prototype === x53.constructor.prototype"); -} - -var x61 = new Date(1970, 0, 1, 0, 0, 0); -if (typeof x61.constructor.prototype !== "object") { - $FAIL("#6.1: typeof x61.constructor.prototype === 'object'"); -} - -var x62 = new Date(1970, 0, 1, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x62)) { - $ERROR('#6.2: Date.prototype.isPrototypeOf(x62)'); -} - -var x63 = new Date(1970, 0, 1, 0, 0, 0); -if(Date.prototype !== x63.constructor.prototype){ - $FAIL("#6.3: Date.prototype === x63.constructor.prototype"); -} - -var x71 = new Date(1999, 11, 31, 23, 59, 59); -if (typeof x71.constructor.prototype !== "object") { - $FAIL("#7.1: typeof x71.constructor.prototype === 'object'"); -} - -var x72 = new Date(1999, 11, 31, 23, 59, 59); -if (!Date.prototype.isPrototypeOf(x72)) { - $ERROR('#7.2: Date.prototype.isPrototypeOf(x72)'); -} - -var x73 = new Date(1999, 11, 31, 23, 59, 59); -if(Date.prototype !== x73.constructor.prototype){ - $FAIL("#7.3: Date.prototype === x73.constructor.prototype"); -} - -var x81 = new Date(1999, 12, 1, 0, 0, 0); -if (typeof x81.constructor.prototype !== "object") { - $FAIL("#8.1: typeof x81.constructor.prototype === 'object'"); -} - -var x82 = new Date(1999, 12, 1, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x82)) { - $ERROR('#8.2: Date.prototype.isPrototypeOf(x82)'); -} - -var x83 = new Date(1999, 12, 1, 0, 0, 0); -if(Date.prototype !== x83.constructor.prototype){ - $FAIL("#8.3: Date.prototype === x83.constructor.prototype"); -} - -var x91 = new Date(2000, 0, 1, 0, 0, 0); -if (typeof x91.constructor.prototype !== "object") { - $FAIL("#9.1: typeof x91.constructor.prototype === 'object'"); -} - -var x92 = new Date(2000, 0, 1, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x92)) { - $ERROR('#9.2: Date.prototype.isPrototypeOf(x92)'); -} - -var x93 = new Date(2000, 0, 1, 0, 0, 0); -if(Date.prototype !== x93.constructor.prototype){ - $FAIL("#9.3: Date.prototype === x93.constructor.prototype"); -} - -var x101 = new Date(2099, 11, 31, 23, 59, 59); -if (typeof x101.constructor.prototype !== "object") { - $FAIL("#10.1: typeof x101.constructor.prototype === 'object'"); -} - -var x102 = new Date(2099, 11, 31, 23, 59, 59); -if (!Date.prototype.isPrototypeOf(x102)) { - $ERROR('#10.2: Date.prototype.isPrototypeOf(x102)'); -} - -var x103 = new Date(2099, 11, 31, 23, 59, 59); -if(Date.prototype !== x103.constructor.prototype){ - $FAIL("#10.3: Date.prototype === x103.constructor.prototype"); -} - -var x111 = new Date(2099, 12, 1, 0, 0, 0); -if (typeof x111.constructor.prototype !== "object") { - $FAIL("#11.1: typeof x111.constructor.prototype === 'object'"); -} - -var x112 = new Date(2099, 12, 1, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x112)) { - $ERROR('#11.2: Date.prototype.isPrototypeOf(x112)'); -} - -var x113 = new Date(2099, 12, 1, 0, 0, 0); -if(Date.prototype !== x113.constructor.prototype){ - $FAIL("#11.3: Date.prototype === x113.constructor.prototype"); -} - -var x121 = new Date(2100, 0, 1, 0, 0, 0); -if (typeof x121.constructor.prototype !== "object") { - $FAIL("#12.1: typeof x121.constructor.prototype === 'object'"); -} - -var x122 = new Date(2100, 0, 1, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x122)) { - $ERROR('#12.2: Date.prototype.isPrototypeOf(x122)'); -} - -var x123 = new Date(2100, 0, 1, 0, 0, 0); -if(Date.prototype !== x123.constructor.prototype){ - $FAIL("#12.3: Date.prototype === x123.constructor.prototype"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T6.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T6.js deleted file mode 100644 index 27eed48291..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T6.js +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A2_T6; - * @section: 15.9.3.1; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Date prototype object, the one that is the - * initial value of Date.prototype; - * @description: 7 arguments, (year, month, date, hours, minutes, seconds, ms); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A2_T6", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A2_T6.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "7 arguments, (year, month, date, hours, minutes, seconds, ms)", - -test: function testcase() { - var x11 = new Date(1899, 11, 31, 23, 59, 59, 999); -if (typeof x11.constructor.prototype !== "object") { - $FAIL("#1.1: typeof x11.constructor.prototype === 'object'"); -} - -var x12 = new Date(1899, 11, 31, 23, 59, 59, 999); -if (!Date.prototype.isPrototypeOf(x12)) { - $ERROR('#1.2: Date.prototype.isPrototypeOf(x12)'); -} - -var x13 = new Date(1899, 11, 31, 23, 59, 59, 999); -if(Date.prototype !== x13.constructor.prototype){ - $FAIL("#1.3: Date.prototype === x13.constructor.prototype"); -} - -var x21 = new Date(1899, 12, 1, 0, 0, 0, 0); -if (typeof x21.constructor.prototype !== "object") { - $FAIL("#2.1: typeof x21.constructor.prototype === 'object'"); -} - -var x22 = new Date(1899, 12, 1, 0, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x22)) { - $ERROR('#2.2: Date.prototype.isPrototypeOf(x22)'); -} - -var x23 = new Date(1899, 12, 1, 0, 0, 0, 0); -if(Date.prototype !== x23.constructor.prototype){ - $FAIL("#2.3: Date.prototype === x23.constructor.prototype"); -} - -var x31 = new Date(1900, 0, 1, 0, 0, 0, 0); -if (typeof x31.constructor.prototype !== "object") { - $FAIL("#3.1: typeof x31.constructor.prototype === 'object'"); -} - -var x32 = new Date(1900, 0, 1, 0, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x32)) { - $ERROR('#3.2: Date.prototype.isPrototypeOf(x32)'); -} - -var x33 = new Date(1900, 0, 1, 0, 0, 0, 0); -if(Date.prototype !== x33.constructor.prototype){ - $FAIL("#3.3: Date.prototype === x33.constructor.prototype"); -} - -var x41 = new Date(1969, 11, 31, 23, 59, 59, 999); -if (typeof x41.constructor.prototype !== "object") { - $FAIL("#4.1: typeof x41.constructor.prototype === 'object'"); -} - -var x42 = new Date(1969, 11, 31, 23, 59, 59, 999); -if (!Date.prototype.isPrototypeOf(x42)) { - $ERROR('#4.2: Date.prototype.isPrototypeOf(x42)'); -} - -var x43 = new Date(1969, 11, 31, 23, 59, 59, 999); -if(Date.prototype !== x43.constructor.prototype){ - $FAIL("#4.3: Date.prototype === x43.constructor.prototype"); -} - -var x51 = new Date(1969, 12, 1, 0, 0, 0, 0); -if (typeof x51.constructor.prototype !== "object") { - $FAIL("#5.1: typeof x51.constructor.prototype === 'object'"); -} - -var x52 = new Date(1969, 12, 1, 0, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x52)) { - $ERROR('#5.2: Date.prototype.isPrototypeOf(x52)'); -} - -var x53 = new Date(1969, 12, 1, 0, 0, 0, 0); -if(Date.prototype !== x53.constructor.prototype){ - $FAIL("#5.3: Date.prototype === x53.constructor.prototype"); -} - -var x61 = new Date(1970, 0, 1, 0, 0, 0, 0); -if (typeof x61.constructor.prototype !== "object") { - $FAIL("#6.1: typeof x61.constructor.prototype === 'object'"); -} - -var x62 = new Date(1970, 0, 1, 0, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x62)) { - $ERROR('#6.2: Date.prototype.isPrototypeOf(x62)'); -} - -var x63 = new Date(1970, 0, 1, 0, 0, 0, 0); -if(Date.prototype !== x63.constructor.prototype){ - $FAIL("#6.3: Date.prototype === x63.constructor.prototype"); -} - -var x71 = new Date(1999, 11, 31, 23, 59, 59, 999); -if (typeof x71.constructor.prototype !== "object") { - $FAIL("#7.1: typeof x71.constructor.prototype === 'object'"); -} - -var x72 = new Date(1999, 11, 31, 23, 59, 59, 999); -if (!Date.prototype.isPrototypeOf(x72)) { - $ERROR('#7.2: Date.prototype.isPrototypeOf(x72)'); -} - -var x73 = new Date(1999, 11, 31, 23, 59, 59, 999); -if(Date.prototype !== x73.constructor.prototype){ - $FAIL("#7.3: Date.prototype === x73.constructor.prototype"); -} - -var x81 = new Date(1999, 12, 1, 0, 0, 0, 0); -if (typeof x81.constructor.prototype !== "object") { - $FAIL("#8.1: typeof x81.constructor.prototype === 'object'"); -} - -var x82 = new Date(1999, 12, 1, 0, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x82)) { - $ERROR('#8.2: Date.prototype.isPrototypeOf(x82)'); -} - -var x83 = new Date(1999, 12, 1, 0, 0, 0, 0); -if(Date.prototype !== x83.constructor.prototype){ - $FAIL("#8.3: Date.prototype === x83.constructor.prototype"); -} - -var x91 = new Date(2000, 0, 1, 0, 0, 0, 0); -if (typeof x91.constructor.prototype !== "object") { - $FAIL("#9.1: typeof x91.constructor.prototype === 'object'"); -} - -var x92 = new Date(2000, 0, 1, 0, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x92)) { - $ERROR('#9.2: Date.prototype.isPrototypeOf(x92)'); -} - -var x93 = new Date(2000, 0, 1, 0, 0, 0, 0); -if(Date.prototype !== x93.constructor.prototype){ - $FAIL("#9.3: Date.prototype === x93.constructor.prototype"); -} - -var x101 = new Date(2099, 11, 31, 23, 59, 59, 999); -if (typeof x101.constructor.prototype !== "object") { - $FAIL("#10.1: typeof x101.constructor.prototype === 'object'"); -} - -var x102 = new Date(2099, 11, 31, 23, 59, 59, 999); -if (!Date.prototype.isPrototypeOf(x102)) { - $ERROR('#10.2: Date.prototype.isPrototypeOf(x102)'); -} - -var x103 = new Date(2099, 11, 31, 23, 59, 59, 999); -if(Date.prototype !== x103.constructor.prototype){ - $FAIL("#10.3: Date.prototype === x103.constructor.prototype"); -} - -var x111 = new Date(2099, 12, 1, 0, 0, 0, 0); -if (typeof x111.constructor.prototype !== "object") { - $FAIL("#11.1: typeof x111.constructor.prototype === 'object'"); -} - -var x112 = new Date(2099, 12, 1, 0, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x112)) { - $ERROR('#11.2: Date.prototype.isPrototypeOf(x112)'); -} - -var x113 = new Date(2099, 12, 1, 0, 0, 0, 0); -if(Date.prototype !== x113.constructor.prototype){ - $FAIL("#11.3: Date.prototype === x113.constructor.prototype"); -} - -var x121 = new Date(2100, 0, 1, 0, 0, 0, 0); -if (typeof x121.constructor.prototype !== "object") { - $FAIL("#12.1: typeof x121.constructor.prototype === 'object'"); -} - -var x122 = new Date(2100, 0, 1, 0, 0, 0, 0); -if (!Date.prototype.isPrototypeOf(x122)) { - $ERROR('#12.2: Date.prototype.isPrototypeOf(x122)'); -} - -var x123 = new Date(2100, 0, 1, 0, 0, 0, 0); -if(Date.prototype !== x123.constructor.prototype){ - $FAIL("#12.3: Date.prototype === x123.constructor.prototype"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.1.js deleted file mode 100644 index ef34c816e1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T1.1; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on delete prototype.toString - 2 arguments, (year, month); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T1.1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.1.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on delete prototype.toString - 2 arguments, (year, month)", - -test: function testcase() { - var x1 = new Date(1899, 11); -if (Object.prototype.toString.call(x1) !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12); -if (Object.prototype.toString.call(x2) !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0); -if (Object.prototype.toString.call(x3) !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11); -if (Object.prototype.toString.call(x4) !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12); -if (Object.prototype.toString.call(x5) !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0); -if (Object.prototype.toString.call(x6) !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11); -if (Object.prototype.toString.call(x7) !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12); -if (Object.prototype.toString.call(x8) !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0); -if (Object.prototype.toString.call(x9) !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11); -if (Object.prototype.toString.call(x10) !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12); -if (Object.prototype.toString.call(x11) !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0); -if (Object.prototype.toString.call(x12) !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.2.js deleted file mode 100644 index 76143b02d8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.2.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T1.2; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on overwriting prototype.toString - 2 arguments, (year, month); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T1.2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T1.2.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on overwriting prototype.toString - 2 arguments, (year, month)", - -test: function testcase() { - Date.prototype.toString = Object.prototype.toString; - -var x1 = new Date(1899, 11); -if (x1.toString() !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12); -if (x2.toString() !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0); -if (x3.toString() !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11); -if (x4.toString() !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12); -if (x5.toString() !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0); -if (x6.toString() !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11); -if (x7.toString() !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12); -if (x8.toString() !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0); -if (x9.toString() !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11); -if (x10.toString() !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12); -if (x11.toString() !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0); -if (x12.toString() !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.1.js deleted file mode 100644 index 7365eb4995..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T2.1; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on delete prototype.toString - 3 arguments, (year, month, date); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T2.1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.1.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on delete prototype.toString - 3 arguments, (year, month, date)", - -test: function testcase() { - var x1 = new Date(1899, 11, 31); -if (Object.prototype.toString.call(x1) !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1); -if (Object.prototype.toString.call(x2) !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1); -if (Object.prototype.toString.call(x3) !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31); -if (Object.prototype.toString.call(x4) !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1); -if (Object.prototype.toString.call(x5) !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1); -if (Object.prototype.toString.call(x6) !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31); -if (Object.prototype.toString.call(x7) !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1); -if (Object.prototype.toString.call(x8) !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1); -if (Object.prototype.toString.call(x9) !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31); -if (Object.prototype.toString.call(x10) !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1); -if (Object.prototype.toString.call(x11) !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1); -if (Object.prototype.toString.call(x12) !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.2.js deleted file mode 100644 index 6f29c29bd1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.2.js +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T2.2; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on overwriting prototype.toString - 3 arguments, (year, month, date); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T2.2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T2.2.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on overwriting prototype.toString - 3 arguments, (year, month, date)", - -test: function testcase() { - Date.prototype.toString = Object.prototype.toString; - -var x1 = new Date(1899, 11, 31); -if (x1.toString() !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1); -if (x2.toString() !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1); -if (x3.toString() !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31); -if (x4.toString() !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1); -if (x5.toString() !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1); -if (x6.toString() !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31); -if (x7.toString() !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1); -if (x8.toString() !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1); -if (x9.toString() !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31); -if (x10.toString() !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1); -if (x11.toString() !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1); -if (x12.toString() !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.1.js deleted file mode 100644 index 768d294c76..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T3.1; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on delete prototype.toString - 4 arguments, (year, month, date, hours); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T3.1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.1.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on delete prototype.toString - 4 arguments, (year, month, date, hours)", - -test: function testcase() { - var x1 = new Date(1899, 11, 31, 23); -if (Object.prototype.toString.call(x1) !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1, 0); -if (Object.prototype.toString.call(x2) !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1, 0); -if (Object.prototype.toString.call(x3) !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31, 23); -if (Object.prototype.toString.call(x4) !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1, 0); -if (Object.prototype.toString.call(x5) !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1, 0); -if (Object.prototype.toString.call(x6) !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31, 23); -if (Object.prototype.toString.call(x7) !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1, 0); -if (Object.prototype.toString.call(x8) !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1, 0); -if (Object.prototype.toString.call(x9) !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31, 23); -if (Object.prototype.toString.call(x10) !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1, 0); -if (Object.prototype.toString.call(x11) !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1, 0); -if (Object.prototype.toString.call(x12) !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.2.js deleted file mode 100644 index 13f982fbdb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.2.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T3.2; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on overwriting prototype.toString - 4 arguments, (year, month, date, hours); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T3.2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T3.2.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on overwriting prototype.toString - 4 arguments, (year, month, date, hours)", - -test: function testcase() { - Date.prototype.toString = Object.prototype.toString; - -var x1 = new Date(1899, 11, 31, 23); -if (x1.toString() !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1, 0); -if (x2.toString() !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1, 0); -if (x3.toString() !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31, 23); -if (x4.toString() !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1, 0); -if (x5.toString() !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1, 0); -if (x6.toString() !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31, 23); -if (x7.toString() !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1, 0); -if (x8.toString() !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1, 0); -if (x9.toString() !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31, 23); -if (x10.toString() !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1, 0); -if (x11.toString() !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1, 0); -if (x12.toString() !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.1.js deleted file mode 100644 index 75c3041517..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T4.1; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on delete prototype.toString - 5 arguments, (year, month, date, hours, minutes); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T4.1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.1.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on delete prototype.toString - 5 arguments, (year, month, date, hours, minutes)", - -test: function testcase() { - var x1 = new Date(1899, 11, 31, 23, 59); -if (Object.prototype.toString.call(x1) !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1, 0, 0); -if (Object.prototype.toString.call(x2) !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1, 0, 0); -if (Object.prototype.toString.call(x3) !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31, 23, 59); -if (Object.prototype.toString.call(x4) !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1, 0, 0); -if (Object.prototype.toString.call(x5) !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1, 0, 0); -if (Object.prototype.toString.call(x6) !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31, 23, 59); -if (Object.prototype.toString.call(x7) !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1, 0, 0); -if (Object.prototype.toString.call(x8) !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1, 0, 0); -if (Object.prototype.toString.call(x9) !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31, 23, 59); -if (Object.prototype.toString.call(x10) !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1, 0, 0); -if (Object.prototype.toString.call(x11) !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1, 0, 0); -if (Object.prototype.toString.call(x12) !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.2.js deleted file mode 100644 index 4144f27e41..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.2.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T4.2; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on overwriting prototype.toString - 5 arguments, (year, month, date, hours, minutes); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T4.2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T4.2.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on overwriting prototype.toString - 5 arguments, (year, month, date, hours, minutes)", - -test: function testcase() { - Date.prototype.toString = Object.prototype.toString; - -var x1 = new Date(1899, 11, 31, 23, 59); -if (x1.toString() !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1, 0, 0); -if (x2.toString() !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1, 0, 0); -if (x3.toString() !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31, 23, 59); -if (x4.toString() !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1, 0, 0); -if (x5.toString() !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1, 0, 0); -if (x6.toString() !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31, 23, 59); -if (x7.toString() !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1, 0, 0); -if (x8.toString() !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1, 0, 0); -if (x9.toString() !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31, 23, 59); -if (x10.toString() !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1, 0, 0); -if (x11.toString() !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1, 0, 0); -if (x12.toString() !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.1.js deleted file mode 100644 index 346bcdd3b0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T5.1; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: 6 arguments, (year, month, date, hours, minutes, seconds); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T5.1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.1.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "6 arguments, (year, month, date, hours, minutes, seconds)", - -test: function testcase() { - var x1 = new Date(1899, 11, 31, 23, 59, 59); -if (Object.prototype.toString.call(x1) !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1, 0, 0, 0); -if (Object.prototype.toString.call(x2) !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1, 0, 0, 0); -if (Object.prototype.toString.call(x3) !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31, 23, 59, 59); -if (Object.prototype.toString.call(x4) !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1, 0, 0, 0); -if (Object.prototype.toString.call(x5) !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1, 0, 0, 0); -if (Object.prototype.toString.call(x6) !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31, 23, 59, 59); -if (Object.prototype.toString.call(x7) !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1, 0, 0, 0); -if (Object.prototype.toString.call(x8) !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1, 0, 0, 0); -if (Object.prototype.toString.call(x9) !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31, 23, 59, 59); -if (Object.prototype.toString.call(x10) !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1, 0, 0, 0); -if (Object.prototype.toString.call(x11) !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1, 0, 0, 0); -if (Object.prototype.toString.call(x12) !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.2.js deleted file mode 100644 index e1f19dc1b6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.2.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T5.2; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on overwriting prototype.toString - 6 arguments, (year, month, date, hours, minutes, seconds); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T5.2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T5.2.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on overwriting prototype.toString - 6 arguments, (year, month, date, hours, minutes, seconds)", - -test: function testcase() { - Date.prototype.toString = Object.prototype.toString; - -var x1 = new Date(1899, 11, 31, 23, 59, 59); -if (x1.toString() !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1, 0, 0, 0); -if (x2.toString() !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1, 0, 0, 0); -if (x3.toString() !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31, 23, 59, 59); -if (x4.toString() !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1, 0, 0, 0); -if (x5.toString() !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1, 0, 0, 0); -if (x6.toString() !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31, 23, 59, 59); -if (x7.toString() !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1, 0, 0, 0); -if (x8.toString() !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1, 0, 0, 0); -if (x9.toString() !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31, 23, 59, 59); -if (x10.toString() !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1, 0, 0, 0); -if (x11.toString() !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1, 0, 0, 0); -if (x12.toString() !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.1.js deleted file mode 100644 index fad0e6ad22..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T6.1; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: 7 arguments, (year, month, date, hours, minutes, seconds, ms); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T6.1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.1.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "7 arguments, (year, month, date, hours, minutes, seconds, ms)", - -test: function testcase() { - var x1 = new Date(1899, 11, 31, 23, 59, 59, 999); -if (Object.prototype.toString.call(x1) !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1, 0, 0, 0, 0); -if (Object.prototype.toString.call(x2) !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1, 0, 0, 0, 0); -if (Object.prototype.toString.call(x3) !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31, 23, 59, 59, 999); -if (Object.prototype.toString.call(x4) !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1, 0, 0, 0, 0); -if (Object.prototype.toString.call(x5) !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1, 0, 0, 0, 0); -if (Object.prototype.toString.call(x6) !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31, 23, 59, 59, 999); -if (Object.prototype.toString.call(x7) !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1, 0, 0, 0, 0); -if (Object.prototype.toString.call(x8) !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1, 0, 0, 0, 0); -if (Object.prototype.toString.call(x9) !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31, 23, 59, 59, 999); -if (Object.prototype.toString.call(x10) !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1, 0, 0, 0, 0); -if (Object.prototype.toString.call(x11) !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1, 0, 0, 0, 0); -if (Object.prototype.toString.call(x12) !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.2.js deleted file mode 100644 index 433e81292f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.2.js +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A3_T6.2; - * @section: 15.9.3.1; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on overwriting prototype.toString - 7 arguments, (year, month, date, hours, minutes, seconds, ms); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A3_T6.2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A3_T6.2.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on overwriting prototype.toString - 7 arguments, (year, month, date, hours, minutes, seconds, ms)", - -test: function testcase() { - Date.prototype.toString = Object.prototype.toString; - -var x1 = new Date(1899, 11, 31, 23, 59, 59, 999); -if (x1.toString() !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(1899, 12, 1, 0, 0, 0, 0); -if (x2.toString() !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(1900, 0, 1, 0, 0, 0, 0); -if (x3.toString() !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(1969, 11, 31, 23, 59, 59, 999); -if (x4.toString() !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(1969, 12, 1, 0, 0, 0, 0); -if (x5.toString() !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(1970, 0, 1, 0, 0, 0, 0); -if (x6.toString() !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(1999, 11, 31, 23, 59, 59, 999); -if (x7.toString() !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(1999, 12, 1, 0, 0, 0, 0); -if (x8.toString() !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x9 = new Date(2000, 0, 1, 0, 0, 0, 0); -if (x9.toString() !== "[object Date]") { - $FAIL("#9: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x10 = new Date(2099, 11, 31, 23, 59, 59, 999); -if (x10.toString() !== "[object Date]") { - $FAIL("#10: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x11 = new Date(2099, 12, 1, 0, 0, 0, 0); -if (x11.toString() !== "[object Date]") { - $FAIL("#11: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x12 = new Date(2100, 0, 1, 0, 0, 0, 0); -if (x12.toString() !== "[object Date]") { - $FAIL("#12: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T1.js deleted file mode 100644 index 715abfefa5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T1.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A4_T1; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 1. Call ToNumber(year) - * 2. Call ToNumber(month) - * 3. If date is supplied use ToNumber(date) - * 4. If hours is supplied use ToNumber(hours) - * 5. If minutes is supplied use ToNumber(minutes) - * 6. If seconds is supplied use ToNumber(seconds) - * 7. If ms is supplied use ToNumber(ms); - * @description: 2 arguments, (year, month); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A4_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T1.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "2 arguments, (year, month)", - -test: function testcase() { - var myObj = function(val){ - this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; -}; - -//CHECK#1 -try{ - var x1 = new Date(new myObj(1), new myObj(2)); - $ERROR("#1: The 1st step is calling ToNumber(year)"); -} -catch(e){ - if(e !== "valueOf-1"){ - $ERROR("#1: The 1st step is calling ToNumber(year)"); - } -} - -//CHECK#2 -try{ - var x2 = new Date(1, new myObj(2)); - $ERROR("#2: The 2nd step is calling ToNumber(month)"); -} -catch(e){ - if(e !== "valueOf-2"){ - $ERROR("#2: The 2nd step is calling ToNumber(month)"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T2.js deleted file mode 100644 index 372918c33d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T2.js +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A4_T2; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 1. Call ToNumber(year) - * 2. Call ToNumber(month) - * 3. If date is supplied use ToNumber(date) - * 4. If hours is supplied use ToNumber(hours) - * 5. If minutes is supplied use ToNumber(minutes) - * 6. If seconds is supplied use ToNumber(seconds) - * 7. If ms is supplied use ToNumber(ms); - * @description: 3 arguments, (year, month, date); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A4_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T2.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "3 arguments, (year, month, date)", - -test: function testcase() { - var myObj = function(val){ - this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; -}; - -//CHECK#1 -try{ - var x1 = new Date(new myObj(1), new myObj(2), new myObj(3)); - $ERROR("#1: The 1st step is calling ToNumber(year)"); -} -catch(e){ - if(e !== "valueOf-1"){ - $ERROR("#1: The 1st step is calling ToNumber(year)"); - } -} - -//CHECK#2 -try{ - var x2 = new Date(1, new myObj(2), new myObj(3)); - $ERROR("#2: The 2nd step is calling ToNumber(month)"); -} -catch(e){ - if(e !== "valueOf-2"){ - $ERROR("#2: The 2nd step is calling ToNumber(month)"); - } -} - -//CHECK#3 -try{ - var x3 = new Date(1, 2, new myObj(3)); - $ERROR("#3: The 3rd step is calling ToNumber(date)"); -} -catch(e){ - if(e !== "valueOf-3"){ - $ERROR("#3: The 3rd step is calling ToNumber(date)"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T3.js deleted file mode 100644 index 0646023b4a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T3.js +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A4_T3; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 1. Call ToNumber(year) - * 2. Call ToNumber(month) - * 3. If date is supplied use ToNumber(date) - * 4. If hours is supplied use ToNumber(hours) - * 5. If minutes is supplied use ToNumber(minutes) - * 6. If seconds is supplied use ToNumber(seconds) - * 7. If ms is supplied use ToNumber(ms); - * @description: 4 arguments, (year, month, date, hours); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A4_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T3.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "4 arguments, (year, month, date, hours)", - -test: function testcase() { - var myObj = function(val){ - this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; -}; - -//CHECK#1 -try{ - var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4)); - $ERROR("#1: The 1st step is calling ToNumber(year)"); -} -catch(e){ - if(e !== "valueOf-1"){ - $ERROR("#1: The 1st step is calling ToNumber(year)"); - } -} - -//CHECK#2 -try{ - var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4)); - $ERROR("#2: The 2nd step is calling ToNumber(month)"); -} -catch(e){ - if(e !== "valueOf-2"){ - $ERROR("#2: The 2nd step is calling ToNumber(month)"); - } -} - -//CHECK#3 -try{ - var x3 = new Date(1, 2, new myObj(3), new myObj(4)); - $ERROR("#3: The 3rd step is calling ToNumber(date)"); -} -catch(e){ - if(e !== "valueOf-3"){ - $ERROR("#3: The 3rd step is calling ToNumber(date)"); - } -} - -//CHECK#4 -try{ - var x4 = new Date(1, 2, 3, new myObj(4)); - $ERROR("#4: The 4th step is calling ToNumber(hours)"); -} -catch(e){ - if(e !== "valueOf-4"){ - $ERROR("#4: The 4th step is calling ToNumber(hours)"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T4.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T4.js deleted file mode 100644 index 26c1d819a5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T4.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A4_T4; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 1. Call ToNumber(year) - * 2. Call ToNumber(month) - * 3. If date is supplied use ToNumber(date) - * 4. If hours is supplied use ToNumber(hours) - * 5. If minutes is supplied use ToNumber(minutes) - * 6. If seconds is supplied use ToNumber(seconds) - * 7. If ms is supplied use ToNumber(ms); - * @description: 5 arguments, (year, month, date, hours, minutes); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A4_T4", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T4.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "5 arguments, (year, month, date, hours, minutes)", - -test: function testcase() { - var myObj = function(val){ - this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; -}; - -//CHECK#1 -try{ - var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5)); - $ERROR("#1: The 1st step is calling ToNumber(year)"); -} -catch(e){ - if(e !== "valueOf-1"){ - $ERROR("#1: The 1st step is calling ToNumber(year)"); - } -} - -//CHECK#2 -try{ - var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5)); - $ERROR("#2: The 2nd step is calling ToNumber(month)"); -} -catch(e){ - if(e !== "valueOf-2"){ - $ERROR("#2: The 2nd step is calling ToNumber(month)"); - } -} - -//CHECK#3 -try{ - var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5)); - $ERROR("#3: The 3rd step is calling ToNumber(date)"); -} -catch(e){ - if(e !== "valueOf-3"){ - $ERROR("#3: The 3rd step is calling ToNumber(date)"); - } -} - -//CHECK#4 -try{ - var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5)); - $ERROR("#4: The 4th step is calling ToNumber(hours)"); -} -catch(e){ - if(e !== "valueOf-4"){ - $ERROR("#4: The 4th step is calling ToNumber(hours)"); - } -} - -//CHECK#5 -try{ - var x5 = new Date(1, 2, 3, 4, new myObj(5)); - $ERROR("#5: The 5th step is calling ToNumber(minutes)"); -} -catch(e){ - if(e !== "valueOf-5"){ - $ERROR("#5: The 5th step is calling ToNumber(minutes)"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T5.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T5.js deleted file mode 100644 index 0c737b9e42..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T5.js +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A4_T5; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 1. Call ToNumber(year) - * 2. Call ToNumber(month) - * 3. If date is supplied use ToNumber(date) - * 4. If hours is supplied use ToNumber(hours) - * 5. If minutes is supplied use ToNumber(minutes) - * 6. If seconds is supplied use ToNumber(seconds) - * 7. If ms is supplied use ToNumber(ms); - * @description: 6 arguments, (year, month, date, hours, minutes, seconds); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A4_T5", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T5.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "6 arguments, (year, month, date, hours, minutes, seconds)", - -test: function testcase() { - var myObj = function(val){ - this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; -}; - -//CHECK#1 -try{ - var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6)); - $ERROR("#1: The 1st step is calling ToNumber(year)"); -} -catch(e){ - if(e !== "valueOf-1"){ - $ERROR("#1: The 1st step is calling ToNumber(year)"); - } -} - -//CHECK#2 -try{ - var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6)); - $ERROR("#2: The 2nd step is calling ToNumber(month)"); -} -catch(e){ - if(e !== "valueOf-2"){ - $ERROR("#2: The 2nd step is calling ToNumber(month)"); - } -} - -//CHECK#3 -try{ - var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6)); - $ERROR("#3: The 3rd step is calling ToNumber(date)"); -} -catch(e){ - if(e !== "valueOf-3"){ - $ERROR("#3: The 3rd step is calling ToNumber(date)"); - } -} - -//CHECK#4 -try{ - var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6)); - $ERROR("#4: The 4th step is calling ToNumber(hours)"); -} -catch(e){ - if(e !== "valueOf-4"){ - $ERROR("#4: The 4th step is calling ToNumber(hours)"); - } -} - -//CHECK#5 -try{ - var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6)); - $ERROR("#5: The 5th step is calling ToNumber(minutes)"); -} -catch(e){ - if(e !== "valueOf-5"){ - $ERROR("#5: The 5th step is calling ToNumber(minutes)"); - } -} - -//CHECK#6 -try{ - var x6 = new Date(1, 2, 3, 4, 5, new myObj(6)); - $ERROR("#6: The 6th step is calling ToNumber(seconds)"); -} -catch(e){ - if(e !== "valueOf-6"){ - $ERROR("#6: The 6th step is calling ToNumber(seconds)"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T6.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T6.js deleted file mode 100644 index a9c6f0804f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T6.js +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A4_T6; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 1. Call ToNumber(year) - * 2. Call ToNumber(month) - * 3. If date is supplied use ToNumber(date) - * 4. If hours is supplied use ToNumber(hours) - * 5. If minutes is supplied use ToNumber(minutes) - * 6. If seconds is supplied use ToNumber(seconds) - * 7. If ms is supplied use ToNumber(ms); - * @description: 7 arguments, (year, month, date, hours, minutes, seconds, ms); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A4_T6", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A4_T6.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "7 arguments, (year, month, date, hours, minutes, seconds, ms)", - -test: function testcase() { - var myObj = function(val){ - this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; -}; - -//CHECK#1 -try{ - var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7)); - $ERROR("#1: The 1st step is calling ToNumber(year)"); -} -catch(e){ - if(e !== "valueOf-1"){ - $ERROR("#1: The 1st step is calling ToNumber(year)"); - } -} - -//CHECK#2 -try{ - var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7)); - $ERROR("#2: The 2nd step is calling ToNumber(month)"); -} -catch(e){ - if(e !== "valueOf-2"){ - $ERROR("#2: The 2nd step is calling ToNumber(month)"); - } -} - -//CHECK#3 -try{ - var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7)); - $ERROR("#3: The 3rd step is calling ToNumber(date)"); -} -catch(e){ - if(e !== "valueOf-3"){ - $ERROR("#3: The 3rd step is calling ToNumber(date)"); - } -} - -//CHECK#4 -try{ - var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6), new myObj(7)); - $ERROR("#4: The 4th step is calling ToNumber(hours)"); -} -catch(e){ - if(e !== "valueOf-4"){ - $ERROR("#4: The 4th step is calling ToNumber(hours)"); - } -} - -//CHECK#5 -try{ - var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6), new myObj(7)); - $ERROR("#5: The 5th step is calling ToNumber(minutes)"); -} -catch(e){ - if(e !== "valueOf-5"){ - $ERROR("#5: The 5th step is calling ToNumber(minutes)"); - } -} - -//CHECK#6 -try{ - var x6 = new Date(1, 2, 3, 4, 5, new myObj(6), new myObj(7)); - $ERROR("#6: The 6th step is calling ToNumber(seconds)"); -} -catch(e){ - if(e !== "valueOf-6"){ - $ERROR("#6: The 6th step is calling ToNumber(seconds)"); - } -} - -//CHECK#7 -try{ - var x7 = new Date(1, 2, 3, 4, 5, 6, new myObj(7)); - $ERROR("#7: The 7th step is calling ToNumber(ms)"); -} -catch(e){ - if(e !== "valueOf-7"){ - $ERROR("#7: The 7th step is calling ToNumber(ms)"); - } -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T1.js deleted file mode 100644 index 3186df67bd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T1.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A5_T1; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 8. If Result(1) is not NaN and 0 <= ToInteger(Result(1)) <= 99, Result(8) is - * 1900+ToInteger(Result(1)); otherwise, Result(8) is Result(1) - * 9. Compute MakeDay(Result(8), Result(2), Result(3)) - * 10. Compute MakeTime(Result(4), Result(5), Result(6), Result(7)) - * 11. Compute MakeDate(Result(9), Result(10)) - * 12. Set the [[Value]] property of the newly constructed object to - * TimeClip(UTC(Result(11))); - * @description: 2 arguments, (year, month); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A5_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T1.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "2 arguments, (year, month)", - -test: function testcase() { - $INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js"); - -if (ConstructDate(1899, 11) !== new Date(1899, 11).valueOf()) { - $FAIL("#1: Incorrect value of Date"); -} - -if (ConstructDate(1899, 12) !== new Date(1899, 12).valueOf()) { - $FAIL("#2: Incorrect value of Date"); -} - -if (ConstructDate(1900, 0) !== new Date(1900, 0).valueOf()) { - $FAIL("#3: Incorrect value of Date"); -} - -if (ConstructDate(1969, 11) !== new Date(1969, 11).valueOf()) { - $FAIL("#4: Incorrect value of Date"); -} - -if (ConstructDate(1969, 12) !== new Date(1969, 12).valueOf()) { - $FAIL("#5: Incorrect value of Date"); -} - -if (ConstructDate(1970, 0) !== new Date(1970, 0).valueOf()) { - $FAIL("#6: Incorrect value of Date"); -} - -if (ConstructDate(1999, 11) !== new Date(1999, 11).valueOf()) { - $FAIL("#7: Incorrect value of Date"); -} - -if (ConstructDate(1999, 12) !== new Date(1999, 12).valueOf()) { - $FAIL("#8: Incorrect value of Date"); -} - -if (ConstructDate(2000, 0) !== new Date(2000, 0).valueOf()) { - $FAIL("#9: Incorrect value of Date"); -} - -if (ConstructDate(2099, 11) !== new Date(2099, 11).valueOf()) { - $FAIL("#10: Incorrect value of Date"); -} - -if (ConstructDate(2099, 12) !== new Date(2099, 12).valueOf()) { - $FAIL("#11: Incorrect value of Date"); -} - -if (ConstructDate(2100, 0) !== new Date(2100, 0).valueOf()) { - $FAIL("#12: Incorrect value of Date"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T2.js deleted file mode 100644 index 10f4b9a627..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T2.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A5_T2; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 8. If Result(1) is not NaN and 0 <= ToInteger(Result(1)) <= 99, Result(8) is - * 1900+ToInteger(Result(1)); otherwise, Result(8) is Result(1) - * 9. Compute MakeDay(Result(8), Result(2), Result(3)) - * 10. Compute MakeTime(Result(4), Result(5), Result(6), Result(7)) - * 11. Compute MakeDate(Result(9), Result(10)) - * 12. Set the [[Value]] property of the newly constructed object to - * TimeClip(UTC(Result(11))); - * @description: 3 arguments, (year, month, date); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A5_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T2.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "3 arguments, (year, month, date)", - -test: function testcase() { - $INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js"); - -if (ConstructDate(1899, 11, 31) !== new Date(1899, 11, 31).valueOf()) { - $FAIL("#1: Incorrect value of Date"); -} - -if (ConstructDate(1899, 12, 1) !== new Date(1899, 12, 1).valueOf()) { - $FAIL("#2: Incorrect value of Date"); -} - -if (ConstructDate(1900, 0, 1) !== new Date(1900, 0, 1).valueOf()) { - $FAIL("#3: Incorrect value of Date"); -} - -if (ConstructDate(1969, 11, 31) !== new Date(1969, 11, 31).valueOf()) { - $FAIL("#4: Incorrect value of Date"); -} - -if (ConstructDate(1969, 12, 1) !== new Date(1969, 12, 1).valueOf()) { - $FAIL("#5: Incorrect value of Date"); -} - -if (ConstructDate(1970, 0, 1) !== new Date(1970, 0, 1).valueOf()) { - $FAIL("#6: Incorrect value of Date"); -} - -if (ConstructDate(1999, 11, 31) !== new Date(1999, 11, 31).valueOf()) { - $FAIL("#7: Incorrect value of Date"); -} - -if (ConstructDate(1999, 12, 1) !== new Date(1999, 12, 1).valueOf()) { - $FAIL("#8: Incorrect value of Date"); -} - -if (ConstructDate(2000, 0, 1) !== new Date(2000, 0, 1).valueOf()) { - $FAIL("#9: Incorrect value of Date"); -} - -if (ConstructDate(2099, 11, 31) !== new Date(2099, 11, 31).valueOf()) { - $FAIL("#10: Incorrect value of Date"); -} - -if (ConstructDate(2099, 12, 1) !== new Date(2099, 12, 1).valueOf()) { - $FAIL("#11: Incorrect value of Date"); -} - -if (ConstructDate(2100, 0, 1) !== new Date(2100, 0, 1).valueOf()) { - $FAIL("#12: Incorrect value of Date"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T3.js deleted file mode 100644 index d5ad4791ba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T3.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A5_T3; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 8. If Result(1) is not NaN and 0 <= ToInteger(Result(1)) <= 99, Result(8) is - * 1900+ToInteger(Result(1)); otherwise, Result(8) is Result(1) - * 9. Compute MakeDay(Result(8), Result(2), Result(3)) - * 10. Compute MakeTime(Result(4), Result(5), Result(6), Result(7)) - * 11. Compute MakeDate(Result(9), Result(10)) - * 12. Set the [[Value]] property of the newly constructed object to - * TimeClip(UTC(Result(11))); - * @description: 4 arguments, (year, month, date, hours); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A5_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T3.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "4 arguments, (year, month, date, hours)", - -test: function testcase() { - $INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js"); - -if (ConstructDate(1899, 11, 31, 23) !== new Date(1899, 11, 31, 23).valueOf()) { - $FAIL("#1: Incorrect value of Date"); -} - -if (ConstructDate(1899, 12, 1, 0) !== new Date(1899, 12, 1, 0).valueOf()) { - $FAIL("#2: Incorrect value of Date"); -} - -if (ConstructDate(1900, 0, 1, 0) !== new Date(1900, 0, 1, 0).valueOf()) { - $FAIL("#3: Incorrect value of Date"); -} - -if (ConstructDate(1969, 11, 31, 23) !== new Date(1969, 11, 31, 23).valueOf()) { - $FAIL("#4: Incorrect value of Date"); -} - -if (ConstructDate(1969, 12, 1, 0) !== new Date(1969, 12, 1, 0).valueOf()) { - $FAIL("#5: Incorrect value of Date"); -} - -if (ConstructDate(1970, 0, 1, 0) !== new Date(1970, 0, 1, 0).valueOf()) { - $FAIL("#6: Incorrect value of Date"); -} - -if (ConstructDate(1999, 11, 31, 23) !== new Date(1999, 11, 31, 23).valueOf()) { - $FAIL("#7: Incorrect value of Date"); -} - -if (ConstructDate(1999, 12, 1, 0) !== new Date(1999, 12, 1, 0).valueOf()) { - $FAIL("#8: Incorrect value of Date"); -} - -if (ConstructDate(2000, 0, 1, 0) !== new Date(2000, 0, 1, 0).valueOf()) { - $FAIL("#9: Incorrect value of Date"); -} - -if (ConstructDate(2099, 11, 31, 23) !== new Date(2099, 11, 31, 23).valueOf()) { - $FAIL("#10: Incorrect value of Date"); -} - -if (ConstructDate(2099, 12, 1, 0) !== new Date(2099, 12, 1, 0).valueOf()) { - $FAIL("#11: Incorrect value of Date"); -} - -if (ConstructDate(2100, 0, 1, 0) !== new Date(2100, 0, 1, 0).valueOf()) { - $FAIL("#12: Incorrect value of Date"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T4.js deleted file mode 100644 index 162522e0f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T4.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A5_T4; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 8. If Result(1) is not NaN and 0 <= ToInteger(Result(1)) <= 99, Result(8) is - * 1900+ToInteger(Result(1)); otherwise, Result(8) is Result(1) - * 9. Compute MakeDay(Result(8), Result(2), Result(3)) - * 10. Compute MakeTime(Result(4), Result(5), Result(6), Result(7)) - * 11. Compute MakeDate(Result(9), Result(10)) - * 12. Set the [[Value]] property of the newly constructed object to - * TimeClip(UTC(Result(11))); - * @description: 5 arguments, (year, month, date, hours, minutes); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A5_T4", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T4.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "5 arguments, (year, month, date, hours, minutes)", - -test: function testcase() { - $INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js"); - -if (ConstructDate(1899, 11, 31, 23, 59) !== new Date(1899, 11, 31, 23, 59).valueOf()) { - $FAIL("#1: Incorrect value of Date"); -} - -if (ConstructDate(1899, 12, 1, 0, 0) !== new Date(1899, 12, 1, 0, 0).valueOf()) { - $FAIL("#2: Incorrect value of Date"); -} - -if (ConstructDate(1900, 0, 1, 0, 0) !== new Date(1900, 0, 1, 0, 0).valueOf()) { - $FAIL("#3: Incorrect value of Date"); -} - -if (ConstructDate(1969, 11, 31, 23, 59) !== new Date(1969, 11, 31, 23, 59).valueOf()) { - $FAIL("#4: Incorrect value of Date"); -} - -if (ConstructDate(1969, 12, 1, 0, 0) !== new Date(1969, 12, 1, 0, 0).valueOf()) { - $FAIL("#5: Incorrect value of Date"); -} - -if (ConstructDate(1970, 0, 1, 0, 0) !== new Date(1970, 0, 1, 0, 0).valueOf()) { - $FAIL("#6: Incorrect value of Date"); -} - -if (ConstructDate(1999, 11, 31, 23, 59) !== new Date(1999, 11, 31, 23, 59).valueOf()) { - $FAIL("#7: Incorrect value of Date"); -} - -if (ConstructDate(1999, 12, 1, 0, 0) !== new Date(1999, 12, 1, 0, 0).valueOf()) { - $FAIL("#8: Incorrect value of Date"); -} - -if (ConstructDate(2000, 0, 1, 0, 0) !== new Date(2000, 0, 1, 0, 0).valueOf()) { - $FAIL("#9: Incorrect value of Date"); -} - -if (ConstructDate(2099, 11, 31, 23, 59) !== new Date(2099, 11, 31, 23, 59).valueOf()) { - $FAIL("#10: Incorrect value of Date"); -} - -if (ConstructDate(2099, 12, 1, 0, 0) !== new Date(2099, 12, 1, 0, 0).valueOf()) { - $FAIL("#11: Incorrect value of Date"); -} - -if (ConstructDate(2100, 0, 1, 0, 0) !== new Date(2100, 0, 1, 0, 0).valueOf()) { - $FAIL("#12: Incorrect value of Date"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T5.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T5.js deleted file mode 100644 index 0b2fcfb8e7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T5.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A5_T5; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 8. If Result(1) is not NaN and 0 <= ToInteger(Result(1)) <= 99, Result(8) is - * 1900+ToInteger(Result(1)); otherwise, Result(8) is Result(1) - * 9. Compute MakeDay(Result(8), Result(2), Result(3)) - * 10. Compute MakeTime(Result(4), Result(5), Result(6), Result(7)) - * 11. Compute MakeDate(Result(9), Result(10)) - * 12. Set the [[Value]] property of the newly constructed object to - * TimeClip(UTC(Result(11))); - * @description: 6 arguments, (year, month, date, hours, minutes, seconds); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A5_T5", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T5.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "6 arguments, (year, month, date, hours, minutes, seconds)", - -test: function testcase() { - $INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js"); - -if (ConstructDate(1899, 11, 31, 23, 59, 59) !== new Date(1899, 11, 31, 23, 59, 59).valueOf()) { - $FAIL("#1: Incorrect value of Date"); -} - -if (ConstructDate(1899, 12, 1, 0, 0, 0) !== new Date(1899, 12, 1, 0, 0, 0).valueOf()) { - $FAIL("#2: Incorrect value of Date"); -} - -if (ConstructDate(1900, 0, 1, 0, 0, 0) !== new Date(1900, 0, 1, 0, 0, 0).valueOf()) { - $FAIL("#3: Incorrect value of Date"); -} - -if (ConstructDate(1969, 11, 31, 23, 59, 59) !== new Date(1969, 11, 31, 23, 59, 59).valueOf()) { - $FAIL("#4: Incorrect value of Date"); -} - -if (ConstructDate(1969, 12, 1, 0, 0, 0) !== new Date(1969, 12, 1, 0, 0, 0).valueOf()) { - $FAIL("#5: Incorrect value of Date"); -} - -if (ConstructDate(1970, 0, 1, 0, 0, 0) !== new Date(1970, 0, 1, 0, 0, 0).valueOf()) { - $FAIL("#6: Incorrect value of Date"); -} - -if (ConstructDate(1999, 11, 31, 23, 59, 59) !== new Date(1999, 11, 31, 23, 59, 59).valueOf()) { - $FAIL("#7: Incorrect value of Date"); -} - -if (ConstructDate(1999, 12, 1, 0, 0, 0) !== new Date(1999, 12, 1, 0, 0, 0).valueOf()) { - $FAIL("#8: Incorrect value of Date"); -} - -if (ConstructDate(2000, 0, 1, 0, 0, 0) !== new Date(2000, 0, 1, 0, 0, 0).valueOf()) { - $FAIL("#9: Incorrect value of Date"); -} - -if (ConstructDate(2099, 11, 31, 23, 59, 59) !== new Date(2099, 11, 31, 23, 59, 59).valueOf()) { - $FAIL("#10: Incorrect value of Date"); -} - -if (ConstructDate(2099, 12, 1, 0, 0, 0) !== new Date(2099, 12, 1, 0, 0, 0).valueOf()) { - $FAIL("#11: Incorrect value of Date"); -} - -if (ConstructDate(2100, 0, 1, 0, 0, 0) !== new Date(2100, 0, 1, 0, 0, 0).valueOf()) { - $FAIL("#12: Incorrect value of Date"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T6.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T6.js deleted file mode 100644 index 90efede77e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T6.js +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A5_T6; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * is set by following steps: - * 8. If Result(1) is not NaN and 0 <= ToInteger(Result(1)) <= 99, Result(8) is - * 1900+ToInteger(Result(1)); otherwise, Result(8) is Result(1) - * 9. Compute MakeDay(Result(8), Result(2), Result(3)) - * 10. Compute MakeTime(Result(4), Result(5), Result(6), Result(7)) - * 11. Compute MakeDate(Result(9), Result(10)) - * 12. Set the [[Value]] property of the newly constructed object to - * TimeClip(UTC(Result(11))); - * @description: 7 arguments, (year, month, date, hours, minutes, seconds, ms); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A5_T6", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A5_T6.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "7 arguments, (year, month, date, hours, minutes, seconds, ms)", - -test: function testcase() { - $INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js"); - -if (ConstructDate(1899, 11, 31, 23, 59, 59, 999) !== new Date(1899, 11, 31, 23, 59, 59, 999).valueOf()) { - $FAIL("#1: Incorrect value of Date"); -} - -if (ConstructDate(1899, 12, 1, 0, 0, 0, 0) !== new Date(1899, 12, 1, 0, 0, 0, 0).valueOf()) { - $FAIL("#2: Incorrect value of Date"); -} - -if (ConstructDate(1900, 0, 1, 0, 0, 0, 0) !== new Date(1900, 0, 1, 0, 0, 0, 0).valueOf()) { - $FAIL("#3: Incorrect value of Date"); -} - -if (ConstructDate(1969, 11, 31, 23, 59, 59, 999) !== new Date(1969, 11, 31, 23, 59, 59, 999).valueOf()) { - $FAIL("#4: Incorrect value of Date"); -} - -if (ConstructDate(1969, 12, 1, 0, 0, 0, 0) !== new Date(1969, 12, 1, 0, 0, 0, 0).valueOf()) { - $FAIL("#5: Incorrect value of Date"); -} - -if (ConstructDate(1970, 0, 1, 0, 0, 0, 0) !== new Date(1970, 0, 1, 0, 0, 0, 0).valueOf()) { - $FAIL("#6: Incorrect value of Date"); -} - -if (ConstructDate(1999, 11, 31, 23, 59, 59, 999) !== new Date(1999, 11, 31, 23, 59, 59, 999).valueOf()) { - $FAIL("#7: Incorrect value of Date"); -} - -if (ConstructDate(1999, 12, 1, 0, 0, 0, 0) !== new Date(1999, 12, 1, 0, 0, 0, 0).valueOf()) { - $FAIL("#8: Incorrect value of Date"); -} - -if (ConstructDate(2000, 0, 1, 0, 0, 0, 0) !== new Date(2000, 0, 1, 0, 0, 0, 0).valueOf()) { - $FAIL("#9: Incorrect value of Date"); -} - -if (ConstructDate(2099, 11, 31, 23, 59, 59, 999) !== new Date(2099, 11, 31, 23, 59, 59, 999).valueOf()) { - $FAIL("#10: Incorrect value of Date"); -} - -if (ConstructDate(2099, 12, 1, 0, 0, 0, 0) !== new Date(2099, 12, 1, 0, 0, 0, 0).valueOf()) { - $FAIL("#11: Incorrect value of Date"); -} - -if (ConstructDate(2100, 0, 1, 0, 0, 0, 0) !== new Date(2100, 0, 1, 0, 0, 0, 0).valueOf()) { - $FAIL("#12: Incorrect value of Date"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T1.js deleted file mode 100644 index 39c8f2ea61..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T1.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A6_T1; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN; - * @description: 2 arguments, (year, month); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A6_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T1.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "2 arguments, (year, month)", - -test: function testcase() { - function DateValue(year, month, date, hours, minutes, seconds, ms){ - return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); -} - -if (!isNaN(DateValue(1899, 11))) { - $FAIL("#1: The value should be NaN"); -} - -if (!isNaN(DateValue(1899, 12))) { - $FAIL("#2: The value should be NaN"); -} - -if (!isNaN(DateValue(1900, 0))) { - $FAIL("#3: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 11))) { - $FAIL("#4: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 12))) { - $FAIL("#5: The value should be NaN"); -} - -if (!isNaN(DateValue(1970, 0))) { - $FAIL("#6: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 11))) { - $FAIL("#7: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 12))) { - $FAIL("#8: The value should be NaN"); -} - -if (!isNaN(DateValue(2000, 0))) { - $FAIL("#9: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 11))) { - $FAIL("#10: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 12))) { - $FAIL("#11: The value should be NaN"); -} - -if (!isNaN(DateValue(2100, 0))) { - $FAIL("#12: The value should be NaN"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T2.js deleted file mode 100644 index 6946cb69d1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T2.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A6_T2; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN; - * @description: 3 arguments, (year, month, date); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A6_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T2.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "3 arguments, (year, month, date)", - -test: function testcase() { - function DateValue(year, month, date, hours, minutes, seconds, ms){ - return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); -} - -if (!isNaN(DateValue(1899, 11, 31))) { - $FAIL("#1: The value should be NaN"); -} - -if (!isNaN(DateValue(1899, 12, 1))) { - $FAIL("#2: The value should be NaN"); -} - -if (!isNaN(DateValue(1900, 0, 1))) { - $FAIL("#3: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 11, 31))) { - $FAIL("#4: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 12, 1))) { - $FAIL("#5: The value should be NaN"); -} - -if (!isNaN(DateValue(1970, 0, 1))) { - $FAIL("#6: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 11, 31))) { - $FAIL("#7: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 12, 1))) { - $FAIL("#8: The value should be NaN"); -} - -if (!isNaN(DateValue(2000, 0, 1))) { - $FAIL("#9: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 11, 31))) { - $FAIL("#10: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 12, 1))) { - $FAIL("#11: The value should be NaN"); -} - -if (!isNaN(DateValue(2100, 0, 1))) { - $FAIL("#12: The value should be NaN"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T3.js deleted file mode 100644 index c76fd92c0f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T3.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A6_T3; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN; - * @description: 4 arguments, (year, month, date, hours); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A6_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T3.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "4 arguments, (year, month, date, hours)", - -test: function testcase() { - function DateValue(year, month, date, hours, minutes, seconds, ms){ - return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); -} - -if (!isNaN(DateValue(1899, 11, 31, 23))) { - $FAIL("#1: The value should be NaN"); -} - -if (!isNaN(DateValue(1899, 12, 1, 0))) { - $FAIL("#2: The value should be NaN"); -} - -if (!isNaN(DateValue(1900, 0, 1, 0))) { - $FAIL("#3: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 11, 31, 23))) { - $FAIL("#4: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 12, 1, 0))) { - $FAIL("#5: The value should be NaN"); -} - -if (!isNaN(DateValue(1970, 0, 1, 0))) { - $FAIL("#6: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 11, 31, 23))) { - $FAIL("#7: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 12, 1, 0))) { - $FAIL("#8: The value should be NaN"); -} - -if (!isNaN(DateValue(2000, 0, 1, 0))) { - $FAIL("#9: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 11, 31, 23))) { - $FAIL("#10: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 12, 1, 0))) { - $FAIL("#11: The value should be NaN"); -} - -if (!isNaN(DateValue(2100, 0, 1, 0))) { - $FAIL("#12: The value should be NaN"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T4.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T4.js deleted file mode 100644 index 2df48699f5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T4.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A6_T4; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN; - * @description: 5 arguments, (year, month, date, hours, minutes); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A6_T4", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T4.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "5 arguments, (year, month, date, hours, minutes)", - -test: function testcase() { - function DateValue(year, month, date, hours, minutes, seconds, ms){ - return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); -} - -if (!isNaN(DateValue(1899, 11, 31, 23, 59))) { - $FAIL("#1: The value should be NaN"); -} - -if (!isNaN(DateValue(1899, 12, 1, 0, 0))) { - $FAIL("#2: The value should be NaN"); -} - -if (!isNaN(DateValue(1900, 0, 1, 0, 0))) { - $FAIL("#3: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 11, 31, 23, 59))) { - $FAIL("#4: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 12, 1, 0, 0))) { - $FAIL("#5: The value should be NaN"); -} - -if (!isNaN(DateValue(1970, 0, 1, 0, 0))) { - $FAIL("#6: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 11, 31, 23, 59))) { - $FAIL("#7: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 12, 1, 0, 0))) { - $FAIL("#8: The value should be NaN"); -} - -if (!isNaN(DateValue(2000, 0, 1, 0, 0))) { - $FAIL("#9: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 11, 31, 23, 59))) { - $FAIL("#10: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 12, 1, 0, 0))) { - $FAIL("#11: The value should be NaN"); -} - -if (!isNaN(DateValue(2100, 0, 1, 0, 0))) { - $FAIL("#12: The value should be NaN"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T5.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T5.js deleted file mode 100644 index b1d3c15bd9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T5.js +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.1_A6_T5; - * @section: 15.9.3.1; - * @assertion: The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN; - * @description: 6 arguments, (year, month, date, hours, minutes, seconds); - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.1_A6_T5", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.1_A6_T5.js", - -assertion: "The [[Value]] property of the newly constructed object", - -description: "6 arguments, (year, month, date, hours, minutes, seconds)", - -test: function testcase() { - function DateValue(year, month, date, hours, minutes, seconds, ms){ - return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); -} - -if (!isNaN(DateValue(1899, 11, 31, 23, 59, 59))) { - $FAIL("#1: The value should be NaN"); -} - -if (!isNaN(DateValue(1899, 12, 1, 0, 0, 0))) { - $FAIL("#2: The value should be NaN"); -} - -if (!isNaN(DateValue(1900, 0, 1, 0, 0, 0))) { - $FAIL("#3: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 11, 31, 23, 59, 59))) { - $FAIL("#4: The value should be NaN"); -} - -if (!isNaN(DateValue(1969, 12, 1, 0, 0, 0))) { - $FAIL("#5: The value should be NaN"); -} - -if (!isNaN(DateValue(1970, 0, 1, 0, 0, 0))) { - $FAIL("#6: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 11, 31, 23, 59, 59))) { - $FAIL("#7: The value should be NaN"); -} - -if (!isNaN(DateValue(1999, 12, 1, 0, 0, 0))) { - $FAIL("#8: The value should be NaN"); -} - -if (!isNaN(DateValue(2000, 0, 1, 0, 0, 0))) { - $FAIL("#9: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 11, 31, 23, 59, 59))) { - $FAIL("#10: The value should be NaN"); -} - -if (!isNaN(DateValue(2099, 12, 1, 0, 0, 0))) { - $FAIL("#11: The value should be NaN"); -} - -if (!isNaN(DateValue(2100, 0, 1, 0, 0, 0))) { - $FAIL("#12: The value should be NaN"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A1_T1.js deleted file mode 100644 index 79f0a8d268..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A1_T1.js +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.2_A1_T1; - * @section: 15.9.3.2; - * @assertion: When Date is called as part of a new expression it is - * a constructor: it initialises the newly created object; - * @description: Checking types of newly created objects and it values; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.2_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A1_T1.js", - -assertion: "When Date is called as part of a new expression it is", - -description: "Checking types of newly created objects and it values", - -test: function testcase() { - $INCLUDE("Date_constants.js"); - -if (typeof new Date(date_1899_end) !== "object") { - $FAIL("#1.1: typeof new Date(date_1899_end) === 'object'"); -} - -if (new Date(date_1899_end) === undefined) { - $FAIL("#1.2: new Date(date_1899_end) === undefined"); -} - -var x13 = new Date(date_1899_end); -if(typeof x13 !== "object"){ - $FAIL("#1.3: typeof new Date(date_1899_end) !== 'object'"); -} - -var x14 = new Date(date_1899_end); -if(x14 === undefined){ - $FAIL("#1.4: new Date(date_1899_end) !== undefined"); -} - -if (typeof new Date(date_1900_start) !== "object") { - $FAIL("#2.1: typeof new Date(date_1900_start) === 'object'"); -} - -if (new Date(date_1900_start) === undefined) { - $FAIL("#2.2: new Date(date_1900_start) === undefined"); -} - -var x23 = new Date(date_1900_start); -if(typeof x23 !== "object"){ - $FAIL("#2.3: typeof new Date(date_1900_start) !== 'object'"); -} - -var x24 = new Date(date_1900_start); -if(x24 === undefined){ - $FAIL("#2.4: new Date(date_1900_start) !== undefined"); -} - -if (typeof new Date(date_1969_end) !== "object") { - $FAIL("#3.1: typeof new Date(date_1969_end) === 'object'"); -} - -if (new Date(date_1969_end) === undefined) { - $FAIL("#3.2: new Date(date_1969_end) === undefined"); -} - -var x33 = new Date(date_1969_end); -if(typeof x33 !== "object"){ - $FAIL("#3.3: typeof new Date(date_1969_end) !== 'object'"); -} - -var x34 = new Date(date_1969_end); -if(x34 === undefined){ - $FAIL("#3.4: new Date(date_1969_end) !== undefined"); -} - -if (typeof new Date(date_1970_start) !== "object") { - $FAIL("#4.1: typeof new Date(date_1970_start) === 'object'"); -} - -if (new Date(date_1970_start) === undefined) { - $FAIL("#4.2: new Date(date_1970_start) === undefined"); -} - -var x43 = new Date(date_1970_start); -if(typeof x43 !== "object"){ - $FAIL("#4.3: typeof new Date(date_1970_start) !== 'object'"); -} - -var x44 = new Date(date_1970_start); -if(x44 === undefined){ - $FAIL("#4.4: new Date(date_1970_start) !== undefined"); -} - -if (typeof new Date(date_1999_end) !== "object") { - $FAIL("#5.1: typeof new Date(date_1999_end) === 'object'"); -} - -if (new Date(date_1999_end) === undefined) { - $FAIL("#5.2: new Date(date_1999_end) === undefined"); -} - -var x53 = new Date(date_1999_end); -if(typeof x53 !== "object"){ - $FAIL("#5.3: typeof new Date(date_1999_end) !== 'object'"); -} - -var x54 = new Date(date_1999_end); -if(x54 === undefined){ - $FAIL("#5.4: new Date(date_1999_end) !== undefined"); -} - -if (typeof new Date(date_2000_start) !== "object") { - $FAIL("#6.1: typeof new Date(date_2000_start) === 'object'"); -} - -if (new Date(date_2000_start) === undefined) { - $FAIL("#6.2: new Date(date_2000_start) === undefined"); -} - -var x63 = new Date(date_2000_start); -if(typeof x63 !== "object"){ - $FAIL("#6.3: typeof new Date(date_2000_start) !== 'object'"); -} - -var x64 = new Date(date_2000_start); -if(x64 === undefined){ - $FAIL("#6.4: new Date(date_2000_start) !== undefined"); -} - -if (typeof new Date(date_2099_end) !== "object") { - $FAIL("#7.1: typeof new Date(date_2099_end) === 'object'"); -} - -if (new Date(date_2099_end) === undefined) { - $FAIL("#7.2: new Date(date_2099_end) === undefined"); -} - -var x73 = new Date(date_2099_end); -if(typeof x73 !== "object"){ - $FAIL("#7.3: typeof new Date(date_2099_end) !== 'object'"); -} - -var x74 = new Date(date_2099_end); -if(x74 === undefined){ - $FAIL("#7.4: new Date(date_2099_end) !== undefined"); -} - -if (typeof new Date(date_2100_start) !== "object") { - $FAIL("#8.1: typeof new Date(date_2100_start) === 'object'"); -} - -if (new Date(date_2100_start) === undefined) { - $FAIL("#8.2: new Date(date_2100_start) === undefined"); -} - -var x83 = new Date(date_2100_start); -if(typeof x83 !== "object"){ - $FAIL("#8.3: typeof new Date(date_2100_start) !== 'object'"); -} - -var x84 = new Date(date_2100_start); -if(x84 === undefined){ - $FAIL("#8.4: new Date(date_2100_start) !== undefined"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A2_T1.js deleted file mode 100644 index ccdc7d57fb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A2_T1.js +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.2_A2_T1; - * @section: 15.9.3.2; - * @assertion: The [[Prototype]] property of the newly constructed object - * is set to the original Date prototype object, the one that is the - * initial value of Date.prototype; - * @description: Checking Date.prototype property of newly constructed objects; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.2_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A2_T1.js", - -assertion: "The [[Prototype]] property of the newly constructed object", - -description: "Checking Date.prototype property of newly constructed objects", - -test: function testcase() { - $INCLUDE("Date_constants.js"); - -var x11 = new Date(date_1899_end); -if (typeof x11.constructor.prototype !== "object") { - $FAIL("#1.1: typeof x11.constructor.prototype === 'object'"); -} - -var x12 = new Date(date_1899_end); -if (!Date.prototype.isPrototypeOf(x12)) { - $ERROR('#1.2: Date.prototype.isPrototypeOf(x12)'); -} - -var x13 = new Date(date_1899_end); -if(Date.prototype !== x13.constructor.prototype){ - $FAIL("#1.3: Date.prototype !== x13.constructor.prototype"); -} - -var x21 = new Date(date_1900_start); -if (typeof x21.constructor.prototype !== "object") { - $FAIL("#2.1: typeof x21.constructor.prototype === 'object'"); -} - -var x22 = new Date(date_1900_start); -if (!Date.prototype.isPrototypeOf(x22)) { - $ERROR('#2.2: Date.prototype.isPrototypeOf(x22)'); -} - -var x23 = new Date(date_1900_start); -if(Date.prototype !== x23.constructor.prototype){ - $FAIL("#2.3: Date.prototype !== x23.constructor.prototype"); -} - -var x31 = new Date(date_1969_end); -if (typeof x31.constructor.prototype !== "object") { - $FAIL("#3.1: typeof x31.constructor.prototype === 'object'"); -} - -var x32 = new Date(date_1969_end); -if (!Date.prototype.isPrototypeOf(x32)) { - $ERROR('#3.2: Date.prototype.isPrototypeOf(x32)'); -} - -var x33 = new Date(date_1969_end); -if(Date.prototype !== x33.constructor.prototype){ - $FAIL("#3.3: Date.prototype !== x33.constructor.prototype"); -} - -var x41 = new Date(date_1970_start); -if (typeof x41.constructor.prototype !== "object") { - $FAIL("#4.1: typeof x11.constructor.prototype === 'object'"); -} - -var x42 = new Date(date_1970_start); -if (!Date.prototype.isPrototypeOf(x42)) { - $ERROR('#4.2: Date.prototype.isPrototypeOf(x42)'); -} - -var x43 = new Date(date_1970_start); -if(Date.prototype !== x43.constructor.prototype){ - $FAIL("#4.3: Date.prototype !== x43.constructor.prototype"); -} - -var x51 = new Date(date_1999_end); -if (typeof x51.constructor.prototype !== "object") { - $FAIL("#5.1: typeof x51.constructor.prototype === 'object'"); -} - -var x52 = new Date(date_1999_end); -if (!Date.prototype.isPrototypeOf(x52)) { - $ERROR('#5.2: Date.prototype.isPrototypeOf(x52)'); -} - -var x53 = new Date(date_1999_end); -if(Date.prototype !== x53.constructor.prototype){ - $FAIL("#5.3: Date.prototype !== x53.constructor.prototype"); -} - -var x61 = new Date(date_2000_start); -if (typeof x61.constructor.prototype !== "object") { - $FAIL("#6.1: typeof x61.constructor.prototype === 'object'"); -} - -var x62 = new Date(date_2000_start); -if (!Date.prototype.isPrototypeOf(x62)) { - $ERROR('#6.2: Date.prototype.isPrototypeOf(x62)'); -} - -var x63 = new Date(date_2000_start); -if(Date.prototype !== x63.constructor.prototype){ - $FAIL("#6.3: Date.prototype !== x63.constructor.prototype"); -} - -var x71 = new Date(date_2099_end); -if (typeof x71.constructor.prototype !== "object") { - $FAIL("#7.1: typeof x71.constructor.prototype === 'object'"); -} - -var x72 = new Date(date_2099_end); -if (!Date.prototype.isPrototypeOf(x72)) { - $ERROR('#7.2: Date.prototype.isPrototypeOf(x72)'); -} - -var x73 = new Date(date_2099_end); -if(Date.prototype !== x73.constructor.prototype){ - $FAIL("#7.3: Date.prototype !== x73.constructor.prototype"); -} - -var x81 = new Date(date_2100_start); -if (typeof x81.constructor.prototype !== "object") { - $FAIL("#8.1: typeof x81.constructor.prototype === 'object'"); -} - -var x82 = new Date(date_2100_start); -if (!Date.prototype.isPrototypeOf(x82)) { - $ERROR('#8.2: Date.prototype.isPrototypeOf(x82)'); -} - -var x83 = new Date(date_2100_start); -if(Date.prototype !== x83.constructor.prototype){ - $FAIL("#8.3: Date.prototype !== x83.constructor.prototype"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.1.js deleted file mode 100644 index c5fd2195a1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.1.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.2_A3_T1.1; - * @section: 15.9.3.2; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on delete prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.2_A3_T1.1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.1.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on delete prototype.toString", - -test: function testcase() { - $INCLUDE("Date_constants.js"); - -var x1 = new Date(date_1899_end); -if (Object.prototype.toString.call(x1) !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(date_1900_start); -if (Object.prototype.toString.call(x2) !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(date_1969_end); -if (Object.prototype.toString.call(x3) !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(date_1970_start); -if (Object.prototype.toString.call(x4) !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(date_1999_end); -if (Object.prototype.toString.call(x5) !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(date_2000_start); -if (Object.prototype.toString.call(x6) !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(date_2099_end); -if (Object.prototype.toString.call(x7) !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(date_2100_start); -if (Object.prototype.toString.call(x8) !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.2.js deleted file mode 100644 index 6dd0cadef1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.2.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.3.2_A3_T1.2; - * @section: 15.9.3.2; - * @assertion: The [[Class]] property of the newly constructed object - * is set to "Date"; - * @description: Test based on overwriting prototype.toString; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.3.2_A3_T1.2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.3_The_Date_Constructor/S15.9.3.2_A3_T1.2.js", - -assertion: "The [[Class]] property of the newly constructed object", - -description: "Test based on overwriting prototype.toString", - -test: function testcase() { - $INCLUDE("Date_constants.js"); - -Date.prototype.toString = Object.prototype.toString; - -var x1 = new Date(date_1899_end); -if (x1.toString() !== "[object Date]") { - $FAIL("#1: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x2 = new Date(date_1900_start); -if (x2.toString() !== "[object Date]") { - $FAIL("#2: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x3 = new Date(date_1969_end); -if (x3.toString() !== "[object Date]") { - $FAIL("#3: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x4 = new Date(date_1970_start); -if (x4.toString() !== "[object Date]") { - $FAIL("#4: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x5 = new Date(date_1999_end); -if (x5.toString() !== "[object Date]") { - $FAIL("#5: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x6 = new Date(date_2000_start); -if (x6.toString() !== "[object Date]") { - $FAIL("#6: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x7 = new Date(date_2099_end); -if (x7.toString() !== "[object Date]") { - $FAIL("#7: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - -var x8 = new Date(date_2100_start); -if (x8.toString() !== "[object Date]") { - $FAIL("#8: The [[Class]] property of the newly constructed object is set to 'Date'"); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T1.js deleted file mode 100644 index 8b025dc131..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.1_A1_T1; - * @section: 15.9.4.1; - * @assertion: The Date property "prototype" has { DontEnum, DontDelete, ReadOnly } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.1_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T1.js", - -assertion: "The Date property \"prototype\" has { DontEnum, DontDelete, ReadOnly } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype; -Date.prototype = 1; -if (Date.prototype !== x) { - $ERROR('#1: The Date.prototype has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T2.js deleted file mode 100644 index 165ac204da..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.1_A1_T2; - * @section: 15.9.4.1; - * @assertion: The Date property "prototype" has { DontEnum, DontDelete, ReadOnly } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.1_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T2.js", - -assertion: "The Date property \"prototype\" has { DontEnum, DontDelete, ReadOnly } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype !== false) { - $ERROR('#1: The Date.prototype property has the attributes DontDelete'); -} - -if (!Date.hasOwnProperty('prototype')) { - $FAIL('#2: The Date.prototype property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T3.js deleted file mode 100644 index af94f73838..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.1_A1_T3; - * @section: 15.9.4.1; - * @assertion: The Date property "prototype" has { DontEnum, DontDelete, ReadOnly } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.1_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.1_Date.prototype/S15.9.4.1_A1_T3.js", - -assertion: "The Date property \"prototype\" has { DontEnum, DontDelete, ReadOnly } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.propertyIsEnumerable('prototype')) { - $ERROR('#1: The Date.prototype property has the attribute DontEnum'); -} - -for(x in Date) { - if(x === "prototype") { - $ERROR('#2: The Date.prototype has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T1.js deleted file mode 100644 index a2a46c349a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.2_A1_T1; - * @section: 15.9.4.2; - * @assertion: The Date property "parse" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.2_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T1.js", - -assertion: "The Date property \"parse\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.parse; -if(x === 1) - Date.parse = 2; -else - Date.parse = 1; -if (Date.parse === x) { - $ERROR('#1: The Date.parse has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T2.js deleted file mode 100644 index 4e2ee3f6d2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.2_A1_T2; - * @section: 15.9.4.2; - * @assertion: The Date property "parse" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.2_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T2.js", - -assertion: "The Date property \"parse\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.parse === false) { - $ERROR('#1: The Date.parse property has not the attributes DontDelete'); -} - -if (Date.hasOwnProperty('parse')) { - $FAIL('#2: The Date.parse property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T3.js deleted file mode 100644 index 252b782652..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.2_A1_T3; - * @section: 15.9.4.2; - * @assertion: The Date property "parse" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.2_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A1_T3.js", - -assertion: "The Date property \"parse\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.propertyIsEnumerable('parse')) { - $ERROR('#1: The Date.parse property has the attribute DontEnum'); -} - -for(x in Date) { - if(x === "parse") { - $ERROR('#2: The Date.parse has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A2_T1.js deleted file mode 100644 index 003e7be4c8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.2_A2_T1; - * @section: 15.9.4.2; - * @assertion: The "length" property of the "parse" is 1; - * @description: The "length" property of the "parse" is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.2_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A2_T1.js", - -assertion: "The \"length\" property of the \"parse\" is 1", - -description: "The \"length\" property of the \"parse\" is 1", - -test: function testcase() { - if(Date.parse.hasOwnProperty("length") !== true){ - $ERROR('#1: The parse has a "length" property'); -} - -if(Date.parse.length !== 1){ - $ERROR('#2: The "length" property of the parse is 1'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T1.js deleted file mode 100644 index b259b99a23..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.2_A3_T1; - * @section: 15.9.4.2; - * @assertion: The Date.parse property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.2_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T1.js", - -assertion: "The Date.parse property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.parse.length; -Date.parse.length = 1; -if (Date.parse.length !== x) { - $ERROR('#1: The Date.parse.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T2.js deleted file mode 100644 index ba3670df23..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.2_A3_T2; - * @section: 15.9.4.2; - * @assertion: The Date.parse property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.2_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T2.js", - -assertion: "The Date.parse property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.parse.length !== false) { - $ERROR('#1: The Date.parse.length property has the attributes DontDelete'); -} - -if (!Date.parse.hasOwnProperty('length')) { - $FAIL('#2: The Date.parse.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T3.js deleted file mode 100644 index 70ec116387..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.2_A3_T3; - * @section: 15.9.4.2; - * @assertion: The Date.parse property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.2_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.2_Date.parse/S15.9.4.2_A3_T3.js", - -assertion: "The Date.parse property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.parse.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.parse.length property has the attribute DontEnum'); -} - -for(x in Date.parse) { - if(x === "length") { - $ERROR('#2: The Date.parse.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T1.js deleted file mode 100644 index fa646ede21..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.3_A1_T1; - * @section: 15.9.4.3; - * @assertion: The Date property "UTC" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.3_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T1.js", - -assertion: "The Date property \"UTC\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.UTC; -if(x === 1) - Date.UTC = 2; -else - Date.UTC = 1; -if (Date.UTC === x) { - $ERROR('#1: The Date.UTC has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T2.js deleted file mode 100644 index 0866145ab7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.3_A1_T2; - * @section: 15.9.4.3; - * @assertion: The Date property "UTC" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.3_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T2.js", - -assertion: "The Date property \"UTC\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.UTC === false) { - $ERROR('#1: The Date.UTC property has not the attributes DontDelete'); -} - -if (Date.hasOwnProperty('UTC')) { - $FAIL('#2: The Date.UTC property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T3.js deleted file mode 100644 index d861688f84..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.3_A1_T3; - * @section: 15.9.4.3; - * @assertion: The Date property "UTC" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.3_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A1_T3.js", - -assertion: "The Date property \"UTC\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.propertyIsEnumerable('UTC')) { - $ERROR('#1: The Date.UTC property has the attribute DontEnum'); -} - -for(x in Date) { - if(x === "UTC") { - $ERROR('#2: The Date.UTC has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A2_T1.js deleted file mode 100644 index d1106e0cf4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.3_A2_T1; - * @section: 15.9.4.3; - * @assertion: The "length" property of the "UTC" is 7; - * @description: The "length" property of the "UTC" is 7; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.3_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A2_T1.js", - -assertion: "The \"length\" property of the \"UTC\" is 7", - -description: "The \"length\" property of the \"UTC\" is 7", - -test: function testcase() { - if(Date.UTC.hasOwnProperty("length") !== true){ - $ERROR('#1: The UTC has a "length" property'); -} - -if(Date.UTC.length !== 7){ - $ERROR('#2: The "length" property of the UTC is 7'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T1.js deleted file mode 100644 index cc42d5972b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.3_A3_T1; - * @section: 15.9.4.3; - * @assertion: The Date.UTC property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.3_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T1.js", - -assertion: "The Date.UTC property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.UTC.length; -Date.UTC.length = 1; -if (Date.UTC.length !== x) { - $ERROR('#1: The Date.UTC.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T2.js deleted file mode 100644 index 022e9f6b41..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.3_A3_T2; - * @section: 15.9.4.3; - * @assertion: The Date.UTC property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.3_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T2.js", - -assertion: "The Date.UTC property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.UTC.length !== false) { - $ERROR('#1: The Date.UTC.length property has the attributes DontDelete'); -} - -if (!Date.UTC.hasOwnProperty('length')) { - $FAIL('#2: The Date.UTC.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T3.js deleted file mode 100644 index 7dc901b782..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4.3_A3_T3; - * @section: 15.9.4.3; - * @assertion: The Date.UTC property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4.3_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/15.9.4.3_Date.UTC/S15.9.4.3_A3_T3.js", - -assertion: "The Date.UTC property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.UTC.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.UTC.length property has the attribute DontEnum'); -} - -for(x in Date.UTC) { - if(x === "length") { - $ERROR('#2: The Date.UTC.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A1.js deleted file mode 100644 index 9a0e78c63f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4_A1; - * @section: 15.9.4; - * @assertion: The Date constructor has the property "prototype"; - * @description: Checking existence of the property "prototype"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4_A1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A1.js", - -assertion: "The Date constructor has the property \"prototype\"", - -description: "Checking existence of the property \"prototype\"", - -test: function testcase() { - if(!Date.hasOwnProperty("prototype")){ - $ERROR('#1: The Date constructor has the property "prototype"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A2.js deleted file mode 100644 index ce84cdad21..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A2.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4_A2; - * @section: 15.9.4; - * @assertion: The Date constructor has the property "parse"; - * @description: Checking existence of the property "parse"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4_A2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A2.js", - -assertion: "The Date constructor has the property \"parse\"", - -description: "Checking existence of the property \"parse\"", - -test: function testcase() { - if(!Date.hasOwnProperty("parse")){ - $ERROR('#1: The Date constructor has the property "parse"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A3.js deleted file mode 100644 index 1c93c859d1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A3.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.4_A3; - * @section: 15.9.4; - * @assertion: The Date constructor has the property "UTC"; - * @description: Checking existence of the property "UTC"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4_A3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A3.js", - -assertion: "The Date constructor has the property \"UTC\"", - -description: "Checking existence of the property \"UTC\"", - -test: function testcase() { - if(!Date.hasOwnProperty("UTC")){ - $ERROR('#1: The Date constructor has the property "UTC"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A4.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A4.js deleted file mode 100644 index 3612b25dce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A4.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.9.4_A4; -* @section: 15.9.4; -* @assertion: The value of the internal [[Prototype]] property of the Date -* constructor is the Function prototype object; -* @description: Checking Function.prototype.isPrototypeOf(Date); -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4_A4", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A4.js", - -assertion: "The value of the internal [[Prototype]] property of the Date", - -description: "Checking Function.prototype.isPrototypeOf(Date)", - -test: function testcase() { - //CHECK#1 -if (!(Function.prototype.isPrototypeOf(Date))) { - $ERROR('#1: the value of the internal [[Prototype]] property of the Date constructor is the Function prototype object.'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A5.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A5.js deleted file mode 100644 index 99405abadd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A5.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.9.4_A5; -* @section: 15.9.4; -* @assertion: Date constructor has length property whose value is 7; -* @description: Checking Date.length property; -*/ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.4_A5", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.4_Properties_of_the_Date_Constructor/S15.9.4_A5.js", - -assertion: "Date constructor has length property whose value is 7", - -description: "Checking Date.length property", - -test: function testcase() { - //CHECK#1 -if (!Date.hasOwnProperty("length")){ - $ERROR('#1: Date constructor has length property'); -} - -//CHECK#2 -if (Date.length !== 7) { - $ERROR('#2: Date constructor length property value should be 7'); -} - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T1.js deleted file mode 100644 index 5bc0bda7b9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.10_A1_T1; - * @section: 15.9.5.10; - * @assertion: The Date.prototype property "getFullYear" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.10_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T1.js", - -assertion: "The Date.prototype property \"getFullYear\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getFullYear; -if(x === 1) - Date.prototype.getFullYear = 2; -else - Date.prototype.getFullYear = 1; -if (Date.prototype.getFullYear === x) { - $ERROR('#1: The Date.prototype.getFullYear has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T2.js deleted file mode 100644 index 0fe8a384e6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.10_A1_T2; - * @section: 15.9.5.10; - * @assertion: The Date.prototype property "getFullYear" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.10_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T2.js", - -assertion: "The Date.prototype property \"getFullYear\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getFullYear === false) { - $ERROR('#1: The Date.prototype.getFullYear property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getFullYear')) { - $FAIL('#2: The Date.prototype.getFullYear property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T3.js deleted file mode 100644 index 813b6f96c5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.10_A1_T3; - * @section: 15.9.5.10; - * @assertion: The Date.prototype property "getFullYear" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.10_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A1_T3.js", - -assertion: "The Date.prototype property \"getFullYear\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getFullYear')) { - $ERROR('#1: The Date.prototype.getFullYear property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getFullYear") { - $ERROR('#2: The Date.prototype.getFullYear has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A2_T1.js deleted file mode 100644 index 9c3a4cef6b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.10_A2_T1; - * @section: 15.9.5.10; - * @assertion: The "length" property of the "getFullYear" is 0; - * @description: The "length" property of the "getFullYear" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.10_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A2_T1.js", - -assertion: "The \"length\" property of the \"getFullYear\" is 0", - -description: "The \"length\" property of the \"getFullYear\" is 0", - -test: function testcase() { - if(Date.prototype.getFullYear.hasOwnProperty("length") !== true){ - $ERROR('#1: The getFullYear has a "length" property'); -} - -if(Date.prototype.getFullYear.length !== 0){ - $ERROR('#2: The "length" property of the getFullYear is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T1.js deleted file mode 100644 index 23e1329fbf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.10_A3_T1; - * @section: 15.9.5.10; - * @assertion: The Date.prototype.getFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.10_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T1.js", - -assertion: "The Date.prototype.getFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getFullYear.length; -Date.prototype.getFullYear.length = 1; -if (Date.prototype.getFullYear.length !== x) { - $ERROR('#1: The Date.prototype.getFullYear.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T2.js deleted file mode 100644 index 3fa13ed836..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.10_A3_T2; - * @section: 15.9.5.10; - * @assertion: The Date.prototype.getFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.10_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T2.js", - -assertion: "The Date.prototype.getFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getFullYear.length !== false) { - $ERROR('#1: The Date.prototype.getFullYear.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getFullYear.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getFullYear.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T3.js deleted file mode 100644 index 281cadaf7d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.10_A3_T3; - * @section: 15.9.5.10; - * @assertion: The Date.prototype.getFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.10_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.10_Date.prototype.getFullYear/S15.9.5.10_A3_T3.js", - -assertion: "The Date.prototype.getFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getFullYear.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getFullYear.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getFullYear) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getFullYear.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T1.js deleted file mode 100644 index c0e6b7aaf9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.11_A1_T1; - * @section: 15.9.5.11; - * @assertion: The Date.prototype property "getUTCFullYear" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.11_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T1.js", - -assertion: "The Date.prototype property \"getUTCFullYear\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCFullYear; -if(x === 1) - Date.prototype.getUTCFullYear = 2; -else - Date.prototype.getUTCFullYear = 1; -if (Date.prototype.getUTCFullYear === x) { - $ERROR('#1: The Date.prototype.getUTCFullYear has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T2.js deleted file mode 100644 index 8f46121ac6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.11_A1_T2; - * @section: 15.9.5.11; - * @assertion: The Date.prototype property "getUTCFullYear" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.11_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T2.js", - -assertion: "The Date.prototype property \"getUTCFullYear\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCFullYear === false) { - $ERROR('#1: The Date.prototype.getUTCFullYear property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getUTCFullYear')) { - $FAIL('#2: The Date.prototype.getUTCFullYear property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T3.js deleted file mode 100644 index fc3a32c32f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.11_A1_T3; - * @section: 15.9.5.11; - * @assertion: The Date.prototype property "getUTCFullYear" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.11_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A1_T3.js", - -assertion: "The Date.prototype property \"getUTCFullYear\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getUTCFullYear')) { - $ERROR('#1: The Date.prototype.getUTCFullYear property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getUTCFullYear") { - $ERROR('#2: The Date.prototype.getUTCFullYear has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A2_T1.js deleted file mode 100644 index 72e2476062..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.11_A2_T1; - * @section: 15.9.5.11; - * @assertion: The "length" property of the "getUTCFullYear" is 0; - * @description: The "length" property of the "getUTCFullYear" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.11_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A2_T1.js", - -assertion: "The \"length\" property of the \"getUTCFullYear\" is 0", - -description: "The \"length\" property of the \"getUTCFullYear\" is 0", - -test: function testcase() { - if(Date.prototype.getUTCFullYear.hasOwnProperty("length") !== true){ - $ERROR('#1: The getUTCFullYear has a "length" property'); -} - -if(Date.prototype.getUTCFullYear.length !== 0){ - $ERROR('#2: The "length" property of the getUTCFullYear is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T1.js deleted file mode 100644 index e9d13c6bb1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.11_A3_T1; - * @section: 15.9.5.11; - * @assertion: The Date.prototype.getUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.11_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T1.js", - -assertion: "The Date.prototype.getUTCFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCFullYear.length; -Date.prototype.getUTCFullYear.length = 1; -if (Date.prototype.getUTCFullYear.length !== x) { - $ERROR('#1: The Date.prototype.getUTCFullYear.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T2.js deleted file mode 100644 index f941dc17af..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.11_A3_T2; - * @section: 15.9.5.11; - * @assertion: The Date.prototype.getUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.11_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T2.js", - -assertion: "The Date.prototype.getUTCFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCFullYear.length !== false) { - $ERROR('#1: The Date.prototype.getUTCFullYear.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getUTCFullYear.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getUTCFullYear.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T3.js deleted file mode 100644 index 43888cd655..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.11_A3_T3; - * @section: 15.9.5.11; - * @assertion: The Date.prototype.getUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.11_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A3_T3.js", - -assertion: "The Date.prototype.getUTCFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getUTCFullYear.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getUTCFullYear.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getUTCFullYear) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getUTCFullYear.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T1.js deleted file mode 100644 index d39d1a0697..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.12_A1_T1; - * @section: 15.9.5.12; - * @assertion: The Date.prototype property "getMonth" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.12_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T1.js", - -assertion: "The Date.prototype property \"getMonth\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getMonth; -if(x === 1) - Date.prototype.getMonth = 2; -else - Date.prototype.getMonth = 1; -if (Date.prototype.getMonth === x) { - $ERROR('#1: The Date.prototype.getMonth has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T2.js deleted file mode 100644 index 3420fbc585..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.12_A1_T2; - * @section: 15.9.5.12; - * @assertion: The Date.prototype property "getMonth" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.12_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T2.js", - -assertion: "The Date.prototype property \"getMonth\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getMonth === false) { - $ERROR('#1: The Date.prototype.getMonth property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getMonth')) { - $FAIL('#2: The Date.prototype.getMonth property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T3.js deleted file mode 100644 index f56591e938..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.12_A1_T3; - * @section: 15.9.5.12; - * @assertion: The Date.prototype property "getMonth" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.12_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A1_T3.js", - -assertion: "The Date.prototype property \"getMonth\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getMonth')) { - $ERROR('#1: The Date.prototype.getMonth property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getMonth") { - $ERROR('#2: The Date.prototype.getMonth has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A2_T1.js deleted file mode 100644 index f99c872b2a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.12_A2_T1; - * @section: 15.9.5.12; - * @assertion: The "length" property of the "getMonth" is 0; - * @description: The "length" property of the "getMonth" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.12_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A2_T1.js", - -assertion: "The \"length\" property of the \"getMonth\" is 0", - -description: "The \"length\" property of the \"getMonth\" is 0", - -test: function testcase() { - if(Date.prototype.getMonth.hasOwnProperty("length") !== true){ - $ERROR('#1: The getMonth has a "length" property'); -} - -if(Date.prototype.getMonth.length !== 0){ - $ERROR('#2: The "length" property of the getMonth is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T1.js deleted file mode 100644 index c3dc85381a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.12_A3_T1; - * @section: 15.9.5.12; - * @assertion: The Date.prototype.getMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.12_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T1.js", - -assertion: "The Date.prototype.getMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getMonth.length; -Date.prototype.getMonth.length = 1; -if (Date.prototype.getMonth.length !== x) { - $ERROR('#1: The Date.prototype.getMonth.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T2.js deleted file mode 100644 index b9cb894d48..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.12_A3_T2; - * @section: 15.9.5.12; - * @assertion: The Date.prototype.getMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.12_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T2.js", - -assertion: "The Date.prototype.getMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getMonth.length !== false) { - $ERROR('#1: The Date.prototype.getMonth.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getMonth.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getMonth.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T3.js deleted file mode 100644 index 23bcd0670f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.12_A3_T3; - * @section: 15.9.5.12; - * @assertion: The Date.prototype.getMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.12_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.12_Date.prototype.getMonth/S15.9.5.12_A3_T3.js", - -assertion: "The Date.prototype.getMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getMonth.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getMonth.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getMonth) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getMonth.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T1.js deleted file mode 100644 index 222f3d34aa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.13_A1_T1; - * @section: 15.9.5.13; - * @assertion: The Date.prototype property "getUTCMonth" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.13_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T1.js", - -assertion: "The Date.prototype property \"getUTCMonth\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCMonth; -if(x === 1) - Date.prototype.getUTCMonth = 2; -else - Date.prototype.getUTCMonth = 1; -if (Date.prototype.getUTCMonth === x) { - $ERROR('#1: The Date.prototype.getUTCMonth has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T2.js deleted file mode 100644 index f7a3be65a8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.13_A1_T2; - * @section: 15.9.5.13; - * @assertion: The Date.prototype property "getUTCMonth" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.13_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T2.js", - -assertion: "The Date.prototype property \"getUTCMonth\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCMonth === false) { - $ERROR('#1: The Date.prototype.getUTCMonth property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getUTCMonth')) { - $FAIL('#2: The Date.prototype.getUTCMonth property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T3.js deleted file mode 100644 index 4a2562da53..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.13_A1_T3; - * @section: 15.9.5.13; - * @assertion: The Date.prototype property "getUTCMonth" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.13_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A1_T3.js", - -assertion: "The Date.prototype property \"getUTCMonth\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getUTCMonth')) { - $ERROR('#1: The Date.prototype.getUTCMonth property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getUTCMonth") { - $ERROR('#2: The Date.prototype.getUTCMonth has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A2_T1.js deleted file mode 100644 index aafb5c00f3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.13_A2_T1; - * @section: 15.9.5.13; - * @assertion: The "length" property of the "getUTCMonth" is 0; - * @description: The "length" property of the "getUTCMonth" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.13_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A2_T1.js", - -assertion: "The \"length\" property of the \"getUTCMonth\" is 0", - -description: "The \"length\" property of the \"getUTCMonth\" is 0", - -test: function testcase() { - if(Date.prototype.getUTCMonth.hasOwnProperty("length") !== true){ - $ERROR('#1: The getUTCMonth has a "length" property'); -} - -if(Date.prototype.getUTCMonth.length !== 0){ - $ERROR('#2: The "length" property of the getUTCMonth is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T1.js deleted file mode 100644 index c53bde9898..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.13_A3_T1; - * @section: 15.9.5.13; - * @assertion: The Date.prototype.getUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.13_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T1.js", - -assertion: "The Date.prototype.getUTCMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCMonth.length; -Date.prototype.getUTCMonth.length = 1; -if (Date.prototype.getUTCMonth.length !== x) { - $ERROR('#1: The Date.prototype.getUTCMonth.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T2.js deleted file mode 100644 index 4f1967d407..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.13_A3_T2; - * @section: 15.9.5.13; - * @assertion: The Date.prototype.getUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.13_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T2.js", - -assertion: "The Date.prototype.getUTCMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCMonth.length !== false) { - $ERROR('#1: The Date.prototype.getUTCMonth.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getUTCMonth.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getUTCMonth.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T3.js deleted file mode 100644 index a932c288a2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.13_A3_T3; - * @section: 15.9.5.13; - * @assertion: The Date.prototype.getUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.13_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.13_Date.prototype.getUTCMonth/S15.9.5.13_A3_T3.js", - -assertion: "The Date.prototype.getUTCMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getUTCMonth.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getUTCMonth.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getUTCMonth) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getUTCMonth.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T1.js deleted file mode 100644 index 5f53d14a5f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.14_A1_T1; - * @section: 15.9.5.14; - * @assertion: The Date.prototype property "getDate" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.14_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T1.js", - -assertion: "The Date.prototype property \"getDate\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getDate; -if(x === 1) - Date.prototype.getDate = 2; -else - Date.prototype.getDate = 1; -if (Date.prototype.getDate === x) { - $ERROR('#1: The Date.prototype.getDate has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T2.js deleted file mode 100644 index d8e05c48a0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.14_A1_T2; - * @section: 15.9.5.14; - * @assertion: The Date.prototype property "getDate" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.14_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T2.js", - -assertion: "The Date.prototype property \"getDate\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getDate === false) { - $ERROR('#1: The Date.prototype.getDate property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getDate')) { - $FAIL('#2: The Date.prototype.getDate property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T3.js deleted file mode 100644 index f0b937db3c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.14_A1_T3; - * @section: 15.9.5.14; - * @assertion: The Date.prototype property "getDate" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.14_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A1_T3.js", - -assertion: "The Date.prototype property \"getDate\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getDate')) { - $ERROR('#1: The Date.prototype.getDate property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getDate") { - $ERROR('#2: The Date.prototype.getDate has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A2_T1.js deleted file mode 100644 index acbbf33653..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.14_A2_T1; - * @section: 15.9.5.14; - * @assertion: The "length" property of the "getDate" is 0; - * @description: The "length" property of the "getDate" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.14_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A2_T1.js", - -assertion: "The \"length\" property of the \"getDate\" is 0", - -description: "The \"length\" property of the \"getDate\" is 0", - -test: function testcase() { - if(Date.prototype.getDate.hasOwnProperty("length") !== true){ - $ERROR('#1: The getDate has a "length" property'); -} - -if(Date.prototype.getDate.length !== 0){ - $ERROR('#2: The "length" property of the getDate is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T1.js deleted file mode 100644 index fcc80b11f8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.14_A3_T1; - * @section: 15.9.5.14; - * @assertion: The Date.prototype.getDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.14_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T1.js", - -assertion: "The Date.prototype.getDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getDate.length; -Date.prototype.getDate.length = 1; -if (Date.prototype.getDate.length !== x) { - $ERROR('#1: The Date.prototype.getDate.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T2.js deleted file mode 100644 index 4d5c9085af..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.14_A3_T2; - * @section: 15.9.5.14; - * @assertion: The Date.prototype.getDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.14_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T2.js", - -assertion: "The Date.prototype.getDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getDate.length !== false) { - $ERROR('#1: The Date.prototype.getDate.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getDate.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getDate.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T3.js deleted file mode 100644 index 876349f8dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.14_A3_T3; - * @section: 15.9.5.14; - * @assertion: The Date.prototype.getDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.14_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.14_Date.prototype.getDate/S15.9.5.14_A3_T3.js", - -assertion: "The Date.prototype.getDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getDate.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getDate.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getDate) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getDate.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T1.js deleted file mode 100644 index 8afb0989bd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.15_A1_T1; - * @section: 15.9.5.15; - * @assertion: The Date.prototype property "getUTCDate" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.15_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T1.js", - -assertion: "The Date.prototype property \"getUTCDate\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCDate; -if(x === 1) - Date.prototype.getUTCDate = 2; -else - Date.prototype.getUTCDate = 1; -if (Date.prototype.getUTCDate === x) { - $ERROR('#1: The Date.prototype.getUTCDate has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T2.js deleted file mode 100644 index 2c7319b601..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.15_A1_T2; - * @section: 15.9.5.15; - * @assertion: The Date.prototype property "getUTCDate" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.15_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T2.js", - -assertion: "The Date.prototype property \"getUTCDate\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCDate === false) { - $ERROR('#1: The Date.prototype.getUTCDate property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getUTCDate')) { - $FAIL('#2: The Date.prototype.getUTCDate property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T3.js deleted file mode 100644 index 1a6cb25fce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.15_A1_T3; - * @section: 15.9.5.15; - * @assertion: The Date.prototype property "getUTCDate" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.15_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A1_T3.js", - -assertion: "The Date.prototype property \"getUTCDate\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getUTCDate')) { - $ERROR('#1: The Date.prototype.getUTCDate property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getUTCDate") { - $ERROR('#2: The Date.prototype.getUTCDate has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A2_T1.js deleted file mode 100644 index 41a1edb8c1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.15_A2_T1; - * @section: 15.9.5.15; - * @assertion: The "length" property of the "getUTCDate" is 0; - * @description: The "length" property of the "getUTCDate" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.15_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A2_T1.js", - -assertion: "The \"length\" property of the \"getUTCDate\" is 0", - -description: "The \"length\" property of the \"getUTCDate\" is 0", - -test: function testcase() { - if(Date.prototype.getUTCDate.hasOwnProperty("length") !== true){ - $ERROR('#1: The getUTCDate has a "length" property'); -} - -if(Date.prototype.getUTCDate.length !== 0){ - $ERROR('#2: The "length" property of the getUTCDate is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T1.js deleted file mode 100644 index c060c84f2e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.15_A3_T1; - * @section: 15.9.5.15; - * @assertion: The Date.prototype.getUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.15_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T1.js", - -assertion: "The Date.prototype.getUTCDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCDate.length; -Date.prototype.getUTCDate.length = 1; -if (Date.prototype.getUTCDate.length !== x) { - $ERROR('#1: The Date.prototype.getUTCDate.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T2.js deleted file mode 100644 index 3bf10048a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.15_A3_T2; - * @section: 15.9.5.15; - * @assertion: The Date.prototype.getUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.15_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T2.js", - -assertion: "The Date.prototype.getUTCDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCDate.length !== false) { - $ERROR('#1: The Date.prototype.getUTCDate.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getUTCDate.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getUTCDate.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T3.js deleted file mode 100644 index a8cc2b4391..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.15_A3_T3; - * @section: 15.9.5.15; - * @assertion: The Date.prototype.getUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.15_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.15_Date.prototype.getUTCDate/S15.9.5.15_A3_T3.js", - -assertion: "The Date.prototype.getUTCDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getUTCDate.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getUTCDate.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getUTCDate) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getUTCDate.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T1.js deleted file mode 100644 index 411530b6e0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.16_A1_T1; - * @section: 15.9.5.16; - * @assertion: The Date.prototype property "getDay" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.16_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T1.js", - -assertion: "The Date.prototype property \"getDay\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getDay; -if(x === 1) - Date.prototype.getDay = 2; -else - Date.prototype.getDay = 1; -if (Date.prototype.getDay === x) { - $ERROR('#1: The Date.prototype.getDay has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T2.js deleted file mode 100644 index 7a5c54cfa0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.16_A1_T2; - * @section: 15.9.5.16; - * @assertion: The Date.prototype property "getDay" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.16_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T2.js", - -assertion: "The Date.prototype property \"getDay\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getDay === false) { - $ERROR('#1: The Date.prototype.getDay property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getDay')) { - $FAIL('#2: The Date.prototype.getDay property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T3.js deleted file mode 100644 index 3331c1301a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.16_A1_T3; - * @section: 15.9.5.16; - * @assertion: The Date.prototype property "getDay" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.16_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A1_T3.js", - -assertion: "The Date.prototype property \"getDay\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getDay')) { - $ERROR('#1: The Date.prototype.getDay property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getDay") { - $ERROR('#2: The Date.prototype.getDay has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A2_T1.js deleted file mode 100644 index 04705c3c89..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.16_A2_T1; - * @section: 15.9.5.16; - * @assertion: The "length" property of the "getDay" is 0; - * @description: The "length" property of the "getDay" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.16_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A2_T1.js", - -assertion: "The \"length\" property of the \"getDay\" is 0", - -description: "The \"length\" property of the \"getDay\" is 0", - -test: function testcase() { - if(Date.prototype.getDay.hasOwnProperty("length") !== true){ - $ERROR('#1: The getDay has a "length" property'); -} - -if(Date.prototype.getDay.length !== 0){ - $ERROR('#2: The "length" property of the getDay is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T1.js deleted file mode 100644 index e33289f7db..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.16_A3_T1; - * @section: 15.9.5.16; - * @assertion: The Date.prototype.getDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.16_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T1.js", - -assertion: "The Date.prototype.getDay property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getDay.length; -Date.prototype.getDay.length = 1; -if (Date.prototype.getDay.length !== x) { - $ERROR('#1: The Date.prototype.getDay.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T2.js deleted file mode 100644 index efddea3356..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.16_A3_T2; - * @section: 15.9.5.16; - * @assertion: The Date.prototype.getDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.16_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T2.js", - -assertion: "The Date.prototype.getDay property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getDay.length !== false) { - $ERROR('#1: The Date.prototype.getDay.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getDay.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getDay.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T3.js deleted file mode 100644 index 8a724ba430..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.16_A3_T3; - * @section: 15.9.5.16; - * @assertion: The Date.prototype.getDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.16_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.16_Date.prototype.getDay/S15.9.5.16_A3_T3.js", - -assertion: "The Date.prototype.getDay property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getDay.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getDay.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getDay) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getDay.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T1.js deleted file mode 100644 index a7aeb2d60c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.17_A1_T1; - * @section: 15.9.5.17; - * @assertion: The Date.prototype property "getUTCDay" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.17_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T1.js", - -assertion: "The Date.prototype property \"getUTCDay\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCDay; -if(x === 1) - Date.prototype.getUTCDay = 2; -else - Date.prototype.getUTCDay = 1; -if (Date.prototype.getUTCDay === x) { - $ERROR('#1: The Date.prototype.getUTCDay has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T2.js deleted file mode 100644 index cd2977bc58..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.17_A1_T2; - * @section: 15.9.5.17; - * @assertion: The Date.prototype property "getUTCDay" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.17_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T2.js", - -assertion: "The Date.prototype property \"getUTCDay\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCDay === false) { - $ERROR('#1: The Date.prototype.getUTCDay property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getUTCDay')) { - $FAIL('#2: The Date.prototype.getUTCDay property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T3.js deleted file mode 100644 index 84fa5660d1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.17_A1_T3; - * @section: 15.9.5.17; - * @assertion: The Date.prototype property "getUTCDay" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.17_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A1_T3.js", - -assertion: "The Date.prototype property \"getUTCDay\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getUTCDay')) { - $ERROR('#1: The Date.prototype.getUTCDay property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getUTCDay") { - $ERROR('#2: The Date.prototype.getUTCDay has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A2_T1.js deleted file mode 100644 index b81728cb17..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.17_A2_T1; - * @section: 15.9.5.17; - * @assertion: The "length" property of the "getUTCDay" is 0; - * @description: The "length" property of the "getUTCDay" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.17_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A2_T1.js", - -assertion: "The \"length\" property of the \"getUTCDay\" is 0", - -description: "The \"length\" property of the \"getUTCDay\" is 0", - -test: function testcase() { - if(Date.prototype.getUTCDay.hasOwnProperty("length") !== true){ - $ERROR('#1: The getUTCDay has a "length" property'); -} - -if(Date.prototype.getUTCDay.length !== 0){ - $ERROR('#2: The "length" property of the getUTCDay is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T1.js deleted file mode 100644 index aa1adfbcca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.17_A3_T1; - * @section: 15.9.5.17; - * @assertion: The Date.prototype.getUTCDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.17_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T1.js", - -assertion: "The Date.prototype.getUTCDay property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCDay.length; -Date.prototype.getUTCDay.length = 1; -if (Date.prototype.getUTCDay.length !== x) { - $ERROR('#1: The Date.prototype.getUTCDay.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T2.js deleted file mode 100644 index 23d93ae420..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.17_A3_T2; - * @section: 15.9.5.17; - * @assertion: The Date.prototype.getUTCDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.17_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T2.js", - -assertion: "The Date.prototype.getUTCDay property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCDay.length !== false) { - $ERROR('#1: The Date.prototype.getUTCDay.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getUTCDay.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getUTCDay.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T3.js deleted file mode 100644 index 2960295c89..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.17_A3_T3; - * @section: 15.9.5.17; - * @assertion: The Date.prototype.getUTCDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.17_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.17_Date.prototype.getUTCDay/S15.9.5.17_A3_T3.js", - -assertion: "The Date.prototype.getUTCDay property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getUTCDay.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getUTCDay.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getUTCDay) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getUTCDay.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T1.js deleted file mode 100644 index 7d2230883e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.18_A1_T1; - * @section: 15.9.5.18; - * @assertion: The Date.prototype property "getHours" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.18_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T1.js", - -assertion: "The Date.prototype property \"getHours\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getHours; -if(x === 1) - Date.prototype.getHours = 2; -else - Date.prototype.getHours = 1; -if (Date.prototype.getHours === x) { - $ERROR('#1: The Date.prototype.getHours has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T2.js deleted file mode 100644 index 233940ae46..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.18_A1_T2; - * @section: 15.9.5.18; - * @assertion: The Date.prototype property "getHours" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.18_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T2.js", - -assertion: "The Date.prototype property \"getHours\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getHours === false) { - $ERROR('#1: The Date.prototype.getHours property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getHours')) { - $FAIL('#2: The Date.prototype.getHours property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T3.js deleted file mode 100644 index 1dfded578f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.18_A1_T3; - * @section: 15.9.5.18; - * @assertion: The Date.prototype property "getHours" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.18_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A1_T3.js", - -assertion: "The Date.prototype property \"getHours\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getHours')) { - $ERROR('#1: The Date.prototype.getHours property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getHours") { - $ERROR('#2: The Date.prototype.getHours has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A2_T1.js deleted file mode 100644 index edc16f5208..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.18_A2_T1; - * @section: 15.9.5.18; - * @assertion: The "length" property of the "getHours" is 0; - * @description: The "length" property of the "getHours" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.18_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A2_T1.js", - -assertion: "The \"length\" property of the \"getHours\" is 0", - -description: "The \"length\" property of the \"getHours\" is 0", - -test: function testcase() { - if(Date.prototype.getHours.hasOwnProperty("length") !== true){ - $ERROR('#1: The getHours has a "length" property'); -} - -if(Date.prototype.getHours.length !== 0){ - $ERROR('#2: The "length" property of the getHours is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T1.js deleted file mode 100644 index 237925eee6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.18_A3_T1; - * @section: 15.9.5.18; - * @assertion: The Date.prototype.getHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.18_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T1.js", - -assertion: "The Date.prototype.getHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getHours.length; -Date.prototype.getHours.length = 1; -if (Date.prototype.getHours.length !== x) { - $ERROR('#1: The Date.prototype.getHours.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T2.js deleted file mode 100644 index 50eae9f88a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.18_A3_T2; - * @section: 15.9.5.18; - * @assertion: The Date.prototype.getHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.18_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T2.js", - -assertion: "The Date.prototype.getHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getHours.length !== false) { - $ERROR('#1: The Date.prototype.getHours.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getHours.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getHours.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T3.js deleted file mode 100644 index bcbd966f99..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.18_A3_T3; - * @section: 15.9.5.18; - * @assertion: The Date.prototype.getHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.18_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.18_Date.prototype.getHours/S15.9.5.18_A3_T3.js", - -assertion: "The Date.prototype.getHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getHours.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getHours.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getHours) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getHours.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T1.js deleted file mode 100644 index 0e1dcf23e9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.19_A1_T1; - * @section: 15.9.5.19; - * @assertion: The Date.prototype property "getUTCHours" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.19_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T1.js", - -assertion: "The Date.prototype property \"getUTCHours\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCHours; -if(x === 1) - Date.prototype.getUTCHours = 2; -else - Date.prototype.getUTCHours = 1; -if (Date.prototype.getUTCHours === x) { - $ERROR('#1: The Date.prototype.getUTCHours has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T2.js deleted file mode 100644 index 02291651a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.19_A1_T2; - * @section: 15.9.5.19; - * @assertion: The Date.prototype property "getUTCHours" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.19_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T2.js", - -assertion: "The Date.prototype property \"getUTCHours\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCHours === false) { - $ERROR('#1: The Date.prototype.getUTCHours property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getUTCHours')) { - $FAIL('#2: The Date.prototype.getUTCHours property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T3.js deleted file mode 100644 index fd3057e88b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.19_A1_T3; - * @section: 15.9.5.19; - * @assertion: The Date.prototype property "getUTCHours" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.19_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A1_T3.js", - -assertion: "The Date.prototype property \"getUTCHours\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getUTCHours')) { - $ERROR('#1: The Date.prototype.getUTCHours property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getUTCHours") { - $ERROR('#2: The Date.prototype.getUTCHours has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A2_T1.js deleted file mode 100644 index b586b3cfcb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.19_A2_T1; - * @section: 15.9.5.19; - * @assertion: The "length" property of the "getUTCHours" is 0; - * @description: The "length" property of the "getUTCHours" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.19_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A2_T1.js", - -assertion: "The \"length\" property of the \"getUTCHours\" is 0", - -description: "The \"length\" property of the \"getUTCHours\" is 0", - -test: function testcase() { - if(Date.prototype.getUTCHours.hasOwnProperty("length") !== true){ - $ERROR('#1: The getUTCHours has a "length" property'); -} - -if(Date.prototype.getUTCHours.length !== 0){ - $ERROR('#2: The "length" property of the getUTCHours is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T1.js deleted file mode 100644 index e4a5a0aaad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.19_A3_T1; - * @section: 15.9.5.19; - * @assertion: The Date.prototype.getUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.19_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T1.js", - -assertion: "The Date.prototype.getUTCHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCHours.length; -Date.prototype.getUTCHours.length = 1; -if (Date.prototype.getUTCHours.length !== x) { - $ERROR('#1: The Date.prototype.getUTCHours.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T2.js deleted file mode 100644 index 6df379fc53..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.19_A3_T2; - * @section: 15.9.5.19; - * @assertion: The Date.prototype.getUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.19_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T2.js", - -assertion: "The Date.prototype.getUTCHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCHours.length !== false) { - $ERROR('#1: The Date.prototype.getUTCHours.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getUTCHours.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getUTCHours.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T3.js deleted file mode 100644 index 34ba3f0f17..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.19_A3_T3; - * @section: 15.9.5.19; - * @assertion: The Date.prototype.getUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.19_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.19_Date.prototype.getUTCHours/S15.9.5.19_A3_T3.js", - -assertion: "The Date.prototype.getUTCHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getUTCHours.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getUTCHours.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getUTCHours) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getUTCHours.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T1.js deleted file mode 100644 index 81fc51377f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.1_A1_T1; - * @section: 15.9.5.1; - * @assertion: The Date.prototype property "constructor" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.1_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T1.js", - -assertion: "The Date.prototype property \"constructor\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.constructor; -if(x === 1) - Date.prototype.constructor = 2; -else - Date.prototype.constructor = 1; -if (Date.prototype.constructor === x) { - $ERROR('#1: The Date.prototype.constructor has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T2.js deleted file mode 100644 index 6e2f138287..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.1_A1_T2; - * @section: 15.9.5.1; - * @assertion: The Date.prototype property "constructor" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.1_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T2.js", - -assertion: "The Date.prototype property \"constructor\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.constructor === false) { - $ERROR('#1: The Date.prototype.constructor property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('constructor')) { - $FAIL('#2: The Date.prototype.constructor property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T3.js deleted file mode 100644 index d0cea62518..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.1_A1_T3; - * @section: 15.9.5.1; - * @assertion: The Date.prototype property "constructor" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.1_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A1_T3.js", - -assertion: "The Date.prototype property \"constructor\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('constructor')) { - $ERROR('#1: The Date.prototype.constructor property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "constructor") { - $ERROR('#2: The Date.prototype.constructor has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A2_T1.js deleted file mode 100644 index a5a70cd8da..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.1_A2_T1; - * @section: 15.9.5.1; - * @assertion: The "length" property of the "constructor" is 7; - * @description: The "length" property of the "constructor" is 7; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.1_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A2_T1.js", - -assertion: "The \"length\" property of the \"constructor\" is 7", - -description: "The \"length\" property of the \"constructor\" is 7", - -test: function testcase() { - if(Date.prototype.constructor.hasOwnProperty("length") !== true){ - $ERROR('#1: The constructor has a "length" property'); -} - -if(Date.prototype.constructor.length !== 7){ - $ERROR('#2: The "length" property of the constructor is 7'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T1.js deleted file mode 100644 index 76b8868e4f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.1_A3_T1; - * @section: 15.9.5.1; - * @assertion: The Date.prototype.constructor property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.1_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T1.js", - -assertion: "The Date.prototype.constructor property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.constructor.length; -Date.prototype.constructor.length = 1; -if (Date.prototype.constructor.length !== x) { - $ERROR('#1: The Date.prototype.constructor.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2.js deleted file mode 100644 index c433b6f80f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.1_A3_T2; - * @section: 15.9.5.1; - * @assertion: The Date.prototype.constructor property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.1_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2.js", - -assertion: "The Date.prototype.constructor property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.constructor.length !== false) { - $ERROR('#1: The Date.prototype.constructor.length property has the attributes DontDelete'); -} - -if (!Date.prototype.constructor.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.constructor.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T3.js deleted file mode 100644 index cdcf7b2e0e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.1_A3_T3; - * @section: 15.9.5.1; - * @assertion: The Date.prototype.constructor property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.1_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T3.js", - -assertion: "The Date.prototype.constructor property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.constructor.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.constructor.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.constructor) { - if(x === "length") { - $ERROR('#2: The Date.prototype.constructor.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T1.js deleted file mode 100644 index b66c1b5b6b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.20_A1_T1; - * @section: 15.9.5.20; - * @assertion: The Date.prototype property "getMinutes" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.20_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T1.js", - -assertion: "The Date.prototype property \"getMinutes\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getMinutes; -if(x === 1) - Date.prototype.getMinutes = 2; -else - Date.prototype.getMinutes = 1; -if (Date.prototype.getMinutes === x) { - $ERROR('#1: The Date.prototype.getMinutes has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T2.js deleted file mode 100644 index 2d8e8c0c72..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.20_A1_T2; - * @section: 15.9.5.20; - * @assertion: The Date.prototype property "getMinutes" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.20_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T2.js", - -assertion: "The Date.prototype property \"getMinutes\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getMinutes === false) { - $ERROR('#1: The Date.prototype.getMinutes property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getMinutes')) { - $FAIL('#2: The Date.prototype.getMinutes property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T3.js deleted file mode 100644 index 7378bfb771..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.20_A1_T3; - * @section: 15.9.5.20; - * @assertion: The Date.prototype property "getMinutes" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.20_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A1_T3.js", - -assertion: "The Date.prototype property \"getMinutes\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getMinutes')) { - $ERROR('#1: The Date.prototype.getMinutes property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getMinutes") { - $ERROR('#2: The Date.prototype.getMinutes has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A2_T1.js deleted file mode 100644 index af258a939f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.20_A2_T1; - * @section: 15.9.5.20; - * @assertion: The "length" property of the "getMinutes" is 0; - * @description: The "length" property of the "getMinutes" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.20_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A2_T1.js", - -assertion: "The \"length\" property of the \"getMinutes\" is 0", - -description: "The \"length\" property of the \"getMinutes\" is 0", - -test: function testcase() { - if(Date.prototype.getMinutes.hasOwnProperty("length") !== true){ - $ERROR('#1: The getMinutes has a "length" property'); -} - -if(Date.prototype.getMinutes.length !== 0){ - $ERROR('#2: The "length" property of the getMinutes is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T1.js deleted file mode 100644 index 0d993c0131..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.20_A3_T1; - * @section: 15.9.5.20; - * @assertion: The Date.prototype.getMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.20_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T1.js", - -assertion: "The Date.prototype.getMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getMinutes.length; -Date.prototype.getMinutes.length = 1; -if (Date.prototype.getMinutes.length !== x) { - $ERROR('#1: The Date.prototype.getMinutes.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T2.js deleted file mode 100644 index e356aa35ea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.20_A3_T2; - * @section: 15.9.5.20; - * @assertion: The Date.prototype.getMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.20_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T2.js", - -assertion: "The Date.prototype.getMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getMinutes.length !== false) { - $ERROR('#1: The Date.prototype.getMinutes.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getMinutes.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getMinutes.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T3.js deleted file mode 100644 index 91662f1bc0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.20_A3_T3; - * @section: 15.9.5.20; - * @assertion: The Date.prototype.getMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.20_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.20_Date.prototype.getMinutes/S15.9.5.20_A3_T3.js", - -assertion: "The Date.prototype.getMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getMinutes.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getMinutes.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getMinutes) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getMinutes.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T1.js deleted file mode 100644 index 97d93d144b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.21_A1_T1; - * @section: 15.9.5.21; - * @assertion: The Date.prototype property "getUTCMinutes" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.21_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T1.js", - -assertion: "The Date.prototype property \"getUTCMinutes\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCMinutes; -if(x === 1) - Date.prototype.getUTCMinutes = 2; -else - Date.prototype.getUTCMinutes = 1; -if (Date.prototype.getUTCMinutes === x) { - $ERROR('#1: The Date.prototype.getUTCMinutes has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T2.js deleted file mode 100644 index 1f3210e604..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.21_A1_T2; - * @section: 15.9.5.21; - * @assertion: The Date.prototype property "getUTCMinutes" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.21_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T2.js", - -assertion: "The Date.prototype property \"getUTCMinutes\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCMinutes === false) { - $ERROR('#1: The Date.prototype.getUTCMinutes property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getUTCMinutes')) { - $FAIL('#2: The Date.prototype.getUTCMinutes property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T3.js deleted file mode 100644 index 15dfc193c6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.21_A1_T3; - * @section: 15.9.5.21; - * @assertion: The Date.prototype property "getUTCMinutes" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.21_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A1_T3.js", - -assertion: "The Date.prototype property \"getUTCMinutes\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getUTCMinutes')) { - $ERROR('#1: The Date.prototype.getUTCMinutes property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getUTCMinutes") { - $ERROR('#2: The Date.prototype.getUTCMinutes has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A2_T1.js deleted file mode 100644 index 61e4b0af81..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.21_A2_T1; - * @section: 15.9.5.21; - * @assertion: The "length" property of the "getUTCMinutes" is 0; - * @description: The "length" property of the "getUTCMinutes" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.21_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A2_T1.js", - -assertion: "The \"length\" property of the \"getUTCMinutes\" is 0", - -description: "The \"length\" property of the \"getUTCMinutes\" is 0", - -test: function testcase() { - if(Date.prototype.getUTCMinutes.hasOwnProperty("length") !== true){ - $ERROR('#1: The getUTCMinutes has a "length" property'); -} - -if(Date.prototype.getUTCMinutes.length !== 0){ - $ERROR('#2: The "length" property of the getUTCMinutes is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T1.js deleted file mode 100644 index abd36c950a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.21_A3_T1; - * @section: 15.9.5.21; - * @assertion: The Date.prototype.getUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.21_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T1.js", - -assertion: "The Date.prototype.getUTCMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCMinutes.length; -Date.prototype.getUTCMinutes.length = 1; -if (Date.prototype.getUTCMinutes.length !== x) { - $ERROR('#1: The Date.prototype.getUTCMinutes.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T2.js deleted file mode 100644 index 82e6031e8b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.21_A3_T2; - * @section: 15.9.5.21; - * @assertion: The Date.prototype.getUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.21_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T2.js", - -assertion: "The Date.prototype.getUTCMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCMinutes.length !== false) { - $ERROR('#1: The Date.prototype.getUTCMinutes.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getUTCMinutes.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getUTCMinutes.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T3.js deleted file mode 100644 index 56a7aa9438..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.21_A3_T3; - * @section: 15.9.5.21; - * @assertion: The Date.prototype.getUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.21_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.21_Date.prototype.getUTCMinutes/S15.9.5.21_A3_T3.js", - -assertion: "The Date.prototype.getUTCMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getUTCMinutes.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getUTCMinutes.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getUTCMinutes) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getUTCMinutes.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T1.js deleted file mode 100644 index cf637e6001..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.22_A1_T1; - * @section: 15.9.5.22; - * @assertion: The Date.prototype property "getSeconds" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.22_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T1.js", - -assertion: "The Date.prototype property \"getSeconds\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getSeconds; -if(x === 1) - Date.prototype.getSeconds = 2; -else - Date.prototype.getSeconds = 1; -if (Date.prototype.getSeconds === x) { - $ERROR('#1: The Date.prototype.getSeconds has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T2.js deleted file mode 100644 index 53d01d9107..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.22_A1_T2; - * @section: 15.9.5.22; - * @assertion: The Date.prototype property "getSeconds" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.22_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T2.js", - -assertion: "The Date.prototype property \"getSeconds\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getSeconds === false) { - $ERROR('#1: The Date.prototype.getSeconds property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getSeconds')) { - $FAIL('#2: The Date.prototype.getSeconds property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T3.js deleted file mode 100644 index d4daa423d1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.22_A1_T3; - * @section: 15.9.5.22; - * @assertion: The Date.prototype property "getSeconds" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.22_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A1_T3.js", - -assertion: "The Date.prototype property \"getSeconds\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getSeconds')) { - $ERROR('#1: The Date.prototype.getSeconds property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getSeconds") { - $ERROR('#2: The Date.prototype.getSeconds has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A2_T1.js deleted file mode 100644 index c5c74bf325..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.22_A2_T1; - * @section: 15.9.5.22; - * @assertion: The "length" property of the "getSeconds" is 0; - * @description: The "length" property of the "getSeconds" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.22_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A2_T1.js", - -assertion: "The \"length\" property of the \"getSeconds\" is 0", - -description: "The \"length\" property of the \"getSeconds\" is 0", - -test: function testcase() { - if(Date.prototype.getSeconds.hasOwnProperty("length") !== true){ - $ERROR('#1: The getSeconds has a "length" property'); -} - -if(Date.prototype.getSeconds.length !== 0){ - $ERROR('#2: The "length" property of the getSeconds is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T1.js deleted file mode 100644 index c0a8246f1c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.22_A3_T1; - * @section: 15.9.5.22; - * @assertion: The Date.prototype.getSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.22_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T1.js", - -assertion: "The Date.prototype.getSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getSeconds.length; -Date.prototype.getSeconds.length = 1; -if (Date.prototype.getSeconds.length !== x) { - $ERROR('#1: The Date.prototype.getSeconds.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T2.js deleted file mode 100644 index da0201f307..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.22_A3_T2; - * @section: 15.9.5.22; - * @assertion: The Date.prototype.getSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.22_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T2.js", - -assertion: "The Date.prototype.getSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getSeconds.length !== false) { - $ERROR('#1: The Date.prototype.getSeconds.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getSeconds.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getSeconds.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T3.js deleted file mode 100644 index 7d3f88b7c8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.22_A3_T3; - * @section: 15.9.5.22; - * @assertion: The Date.prototype.getSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.22_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.22_Date.prototype.getSeconds/S15.9.5.22_A3_T3.js", - -assertion: "The Date.prototype.getSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getSeconds.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getSeconds.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getSeconds) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getSeconds.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T1.js deleted file mode 100644 index 072569e49b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.23_A1_T1; - * @section: 15.9.5.23; - * @assertion: The Date.prototype property "getUTCSeconds" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.23_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T1.js", - -assertion: "The Date.prototype property \"getUTCSeconds\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCSeconds; -if(x === 1) - Date.prototype.getUTCSeconds = 2; -else - Date.prototype.getUTCSeconds = 1; -if (Date.prototype.getUTCSeconds === x) { - $ERROR('#1: The Date.prototype.getUTCSeconds has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T2.js deleted file mode 100644 index 7e675973eb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.23_A1_T2; - * @section: 15.9.5.23; - * @assertion: The Date.prototype property "getUTCSeconds" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.23_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T2.js", - -assertion: "The Date.prototype property \"getUTCSeconds\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCSeconds === false) { - $ERROR('#1: The Date.prototype.getUTCSeconds property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getUTCSeconds')) { - $FAIL('#2: The Date.prototype.getUTCSeconds property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T3.js deleted file mode 100644 index dcdaa33979..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.23_A1_T3; - * @section: 15.9.5.23; - * @assertion: The Date.prototype property "getUTCSeconds" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.23_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A1_T3.js", - -assertion: "The Date.prototype property \"getUTCSeconds\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getUTCSeconds')) { - $ERROR('#1: The Date.prototype.getUTCSeconds property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getUTCSeconds") { - $ERROR('#2: The Date.prototype.getUTCSeconds has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A2_T1.js deleted file mode 100644 index 43eb7dd75f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.23_A2_T1; - * @section: 15.9.5.23; - * @assertion: The "length" property of the "getUTCSeconds" is 0; - * @description: The "length" property of the "getUTCSeconds" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.23_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A2_T1.js", - -assertion: "The \"length\" property of the \"getUTCSeconds\" is 0", - -description: "The \"length\" property of the \"getUTCSeconds\" is 0", - -test: function testcase() { - if(Date.prototype.getUTCSeconds.hasOwnProperty("length") !== true){ - $ERROR('#1: The getUTCSeconds has a "length" property'); -} - -if(Date.prototype.getUTCSeconds.length !== 0){ - $ERROR('#2: The "length" property of the getUTCSeconds is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T1.js deleted file mode 100644 index 724bbad482..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.23_A3_T1; - * @section: 15.9.5.23; - * @assertion: The Date.prototype.getUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.23_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T1.js", - -assertion: "The Date.prototype.getUTCSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCSeconds.length; -Date.prototype.getUTCSeconds.length = 1; -if (Date.prototype.getUTCSeconds.length !== x) { - $ERROR('#1: The Date.prototype.getUTCSeconds.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T2.js deleted file mode 100644 index 5d7eb03264..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.23_A3_T2; - * @section: 15.9.5.23; - * @assertion: The Date.prototype.getUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.23_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T2.js", - -assertion: "The Date.prototype.getUTCSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCSeconds.length !== false) { - $ERROR('#1: The Date.prototype.getUTCSeconds.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getUTCSeconds.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getUTCSeconds.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T3.js deleted file mode 100644 index 4cee4a5e41..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.23_A3_T3; - * @section: 15.9.5.23; - * @assertion: The Date.prototype.getUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.23_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.23_Date.prototype.getUTCSeconds/S15.9.5.23_A3_T3.js", - -assertion: "The Date.prototype.getUTCSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getUTCSeconds.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getUTCSeconds.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getUTCSeconds) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getUTCSeconds.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T1.js deleted file mode 100644 index b2a3a7db17..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.24_A1_T1; - * @section: 15.9.5.24; - * @assertion: The Date.prototype property "getMilliseconds" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.24_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T1.js", - -assertion: "The Date.prototype property \"getMilliseconds\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getMilliseconds; -if(x === 1) - Date.prototype.getMilliseconds = 2; -else - Date.prototype.getMilliseconds = 1; -if (Date.prototype.getMilliseconds === x) { - $ERROR('#1: The Date.prototype.getMilliseconds has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T2.js deleted file mode 100644 index cfc5a90c6d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.24_A1_T2; - * @section: 15.9.5.24; - * @assertion: The Date.prototype property "getMilliseconds" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.24_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T2.js", - -assertion: "The Date.prototype property \"getMilliseconds\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getMilliseconds === false) { - $ERROR('#1: The Date.prototype.getMilliseconds property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getMilliseconds')) { - $FAIL('#2: The Date.prototype.getMilliseconds property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T3.js deleted file mode 100644 index a45c56c6e2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.24_A1_T3; - * @section: 15.9.5.24; - * @assertion: The Date.prototype property "getMilliseconds" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.24_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A1_T3.js", - -assertion: "The Date.prototype property \"getMilliseconds\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getMilliseconds')) { - $ERROR('#1: The Date.prototype.getMilliseconds property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getMilliseconds") { - $ERROR('#2: The Date.prototype.getMilliseconds has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A2_T1.js deleted file mode 100644 index 01eea0de7f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.24_A2_T1; - * @section: 15.9.5.24; - * @assertion: The "length" property of the "getMilliseconds" is 0; - * @description: The "length" property of the "getMilliseconds" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.24_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A2_T1.js", - -assertion: "The \"length\" property of the \"getMilliseconds\" is 0", - -description: "The \"length\" property of the \"getMilliseconds\" is 0", - -test: function testcase() { - if(Date.prototype.getMilliseconds.hasOwnProperty("length") !== true){ - $ERROR('#1: The getMilliseconds has a "length" property'); -} - -if(Date.prototype.getMilliseconds.length !== 0){ - $ERROR('#2: The "length" property of the getMilliseconds is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T1.js deleted file mode 100644 index 4e5bd9802e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.24_A3_T1; - * @section: 15.9.5.24; - * @assertion: The Date.prototype.getMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.24_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T1.js", - -assertion: "The Date.prototype.getMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getMilliseconds.length; -Date.prototype.getMilliseconds.length = 1; -if (Date.prototype.getMilliseconds.length !== x) { - $ERROR('#1: The Date.prototype.getMilliseconds.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T2.js deleted file mode 100644 index ac5ccdc71c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.24_A3_T2; - * @section: 15.9.5.24; - * @assertion: The Date.prototype.getMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.24_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T2.js", - -assertion: "The Date.prototype.getMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getMilliseconds.length !== false) { - $ERROR('#1: The Date.prototype.getMilliseconds.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getMilliseconds.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getMilliseconds.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T3.js deleted file mode 100644 index 95aa56c0c5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.24_A3_T3; - * @section: 15.9.5.24; - * @assertion: The Date.prototype.getMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.24_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.24_Date.prototype.getMilliseconds/S15.9.5.24_A3_T3.js", - -assertion: "The Date.prototype.getMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getMilliseconds.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getMilliseconds.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getMilliseconds) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getMilliseconds.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T1.js deleted file mode 100644 index 66f41f8e6d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.25_A1_T1; - * @section: 15.9.5.25; - * @assertion: The Date.prototype property "getUTCMilliseconds" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.25_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T1.js", - -assertion: "The Date.prototype property \"getUTCMilliseconds\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCMilliseconds; -if(x === 1) - Date.prototype.getUTCMilliseconds = 2; -else - Date.prototype.getUTCMilliseconds = 1; -if (Date.prototype.getUTCMilliseconds === x) { - $ERROR('#1: The Date.prototype.getUTCMilliseconds has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T2.js deleted file mode 100644 index 3419ebc5a6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.25_A1_T2; - * @section: 15.9.5.25; - * @assertion: The Date.prototype property "getUTCMilliseconds" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.25_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T2.js", - -assertion: "The Date.prototype property \"getUTCMilliseconds\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCMilliseconds === false) { - $ERROR('#1: The Date.prototype.getUTCMilliseconds property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getUTCMilliseconds')) { - $FAIL('#2: The Date.prototype.getUTCMilliseconds property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T3.js deleted file mode 100644 index 3ff055efe9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.25_A1_T3; - * @section: 15.9.5.25; - * @assertion: The Date.prototype property "getUTCMilliseconds" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.25_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A1_T3.js", - -assertion: "The Date.prototype property \"getUTCMilliseconds\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getUTCMilliseconds')) { - $ERROR('#1: The Date.prototype.getUTCMilliseconds property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getUTCMilliseconds") { - $ERROR('#2: The Date.prototype.getUTCMilliseconds has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A2_T1.js deleted file mode 100644 index 2c305248a9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.25_A2_T1; - * @section: 15.9.5.25; - * @assertion: The "length" property of the "getUTCMilliseconds" is 0; - * @description: The "length" property of the "getUTCMilliseconds" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.25_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A2_T1.js", - -assertion: "The \"length\" property of the \"getUTCMilliseconds\" is 0", - -description: "The \"length\" property of the \"getUTCMilliseconds\" is 0", - -test: function testcase() { - if(Date.prototype.getUTCMilliseconds.hasOwnProperty("length") !== true){ - $ERROR('#1: The getUTCMilliseconds has a "length" property'); -} - -if(Date.prototype.getUTCMilliseconds.length !== 0){ - $ERROR('#2: The "length" property of the getUTCMilliseconds is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T1.js deleted file mode 100644 index aac1932e68..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.25_A3_T1; - * @section: 15.9.5.25; - * @assertion: The Date.prototype.getUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.25_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T1.js", - -assertion: "The Date.prototype.getUTCMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getUTCMilliseconds.length; -Date.prototype.getUTCMilliseconds.length = 1; -if (Date.prototype.getUTCMilliseconds.length !== x) { - $ERROR('#1: The Date.prototype.getUTCMilliseconds.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T2.js deleted file mode 100644 index 3acd8237b3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.25_A3_T2; - * @section: 15.9.5.25; - * @assertion: The Date.prototype.getUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.25_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T2.js", - -assertion: "The Date.prototype.getUTCMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getUTCMilliseconds.length !== false) { - $ERROR('#1: The Date.prototype.getUTCMilliseconds.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getUTCMilliseconds.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getUTCMilliseconds.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T3.js deleted file mode 100644 index 4694255890..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.25_A3_T3; - * @section: 15.9.5.25; - * @assertion: The Date.prototype.getUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.25_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.25_Date.prototype.getUTCMilliseconds/S15.9.5.25_A3_T3.js", - -assertion: "The Date.prototype.getUTCMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getUTCMilliseconds.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getUTCMilliseconds.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getUTCMilliseconds) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getUTCMilliseconds.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T1.js deleted file mode 100644 index ecc4988aab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.26_A1_T1; - * @section: 15.9.5.26; - * @assertion: The Date.prototype property "getTimezoneOffset" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.26_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T1.js", - -assertion: "The Date.prototype property \"getTimezoneOffset\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getTimezoneOffset; -if(x === 1) - Date.prototype.getTimezoneOffset = 2; -else - Date.prototype.getTimezoneOffset = 1; -if (Date.prototype.getTimezoneOffset === x) { - $ERROR('#1: The Date.prototype.getTimezoneOffset has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T2.js deleted file mode 100644 index 43b6cfb9c7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.26_A1_T2; - * @section: 15.9.5.26; - * @assertion: The Date.prototype property "getTimezoneOffset" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.26_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T2.js", - -assertion: "The Date.prototype property \"getTimezoneOffset\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getTimezoneOffset === false) { - $ERROR('#1: The Date.prototype.getTimezoneOffset property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getTimezoneOffset')) { - $FAIL('#2: The Date.prototype.getTimezoneOffset property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T3.js deleted file mode 100644 index 0d39d9738d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.26_A1_T3; - * @section: 15.9.5.26; - * @assertion: The Date.prototype property "getTimezoneOffset" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.26_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A1_T3.js", - -assertion: "The Date.prototype property \"getTimezoneOffset\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getTimezoneOffset')) { - $ERROR('#1: The Date.prototype.getTimezoneOffset property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getTimezoneOffset") { - $ERROR('#2: The Date.prototype.getTimezoneOffset has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A2_T1.js deleted file mode 100644 index d4e85a02f8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.26_A2_T1; - * @section: 15.9.5.26; - * @assertion: The "length" property of the "getTimezoneOffset" is 0; - * @description: The "length" property of the "getTimezoneOffset" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.26_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A2_T1.js", - -assertion: "The \"length\" property of the \"getTimezoneOffset\" is 0", - -description: "The \"length\" property of the \"getTimezoneOffset\" is 0", - -test: function testcase() { - if(Date.prototype.getTimezoneOffset.hasOwnProperty("length") !== true){ - $ERROR('#1: The getTimezoneOffset has a "length" property'); -} - -if(Date.prototype.getTimezoneOffset.length !== 0){ - $ERROR('#2: The "length" property of the getTimezoneOffset is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T1.js deleted file mode 100644 index d855203950..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.26_A3_T1; - * @section: 15.9.5.26; - * @assertion: The Date.prototype.getTimezoneOffset property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.26_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T1.js", - -assertion: "The Date.prototype.getTimezoneOffset property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getTimezoneOffset.length; -Date.prototype.getTimezoneOffset.length = 1; -if (Date.prototype.getTimezoneOffset.length !== x) { - $ERROR('#1: The Date.prototype.getTimezoneOffset.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T2.js deleted file mode 100644 index b660926c9c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.26_A3_T2; - * @section: 15.9.5.26; - * @assertion: The Date.prototype.getTimezoneOffset property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.26_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T2.js", - -assertion: "The Date.prototype.getTimezoneOffset property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getTimezoneOffset.length !== false) { - $ERROR('#1: The Date.prototype.getTimezoneOffset.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getTimezoneOffset.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getTimezoneOffset.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T3.js deleted file mode 100644 index 21bdaaed85..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.26_A3_T3; - * @section: 15.9.5.26; - * @assertion: The Date.prototype.getTimezoneOffset property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.26_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.26_Date.prototype.getTimezoneOffset/S15.9.5.26_A3_T3.js", - -assertion: "The Date.prototype.getTimezoneOffset property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getTimezoneOffset.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getTimezoneOffset.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getTimezoneOffset) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getTimezoneOffset.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T1.js deleted file mode 100644 index 0f44d14226..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.27_A1_T1; - * @section: 15.9.5.27; - * @assertion: The Date.prototype property "setTime" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.27_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T1.js", - -assertion: "The Date.prototype property \"setTime\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setTime; -if(x === 1) - Date.prototype.setTime = 2; -else - Date.prototype.setTime = 1; -if (Date.prototype.setTime === x) { - $ERROR('#1: The Date.prototype.setTime has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T2.js deleted file mode 100644 index c4f3dc4ede..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.27_A1_T2; - * @section: 15.9.5.27; - * @assertion: The Date.prototype property "setTime" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.27_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T2.js", - -assertion: "The Date.prototype property \"setTime\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setTime === false) { - $ERROR('#1: The Date.prototype.setTime property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setTime')) { - $FAIL('#2: The Date.prototype.setTime property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T3.js deleted file mode 100644 index 13023c8f4e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.27_A1_T3; - * @section: 15.9.5.27; - * @assertion: The Date.prototype property "setTime" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.27_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A1_T3.js", - -assertion: "The Date.prototype property \"setTime\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setTime')) { - $ERROR('#1: The Date.prototype.setTime property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setTime") { - $ERROR('#2: The Date.prototype.setTime has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A2_T1.js deleted file mode 100644 index d39dbc3193..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.27_A2_T1; - * @section: 15.9.5.27; - * @assertion: The "length" property of the "setTime" is 1; - * @description: The "length" property of the "setTime" is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.27_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A2_T1.js", - -assertion: "The \"length\" property of the \"setTime\" is 1", - -description: "The \"length\" property of the \"setTime\" is 1", - -test: function testcase() { - if(Date.prototype.setTime.hasOwnProperty("length") !== true){ - $ERROR('#1: The setTime has a "length" property'); -} - -if(Date.prototype.setTime.length !== 1){ - $ERROR('#2: The "length" property of the setTime is 1'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T1.js deleted file mode 100644 index b150262616..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.27_A3_T1; - * @section: 15.9.5.27; - * @assertion: The Date.prototype.setTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.27_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T1.js", - -assertion: "The Date.prototype.setTime property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setTime.length; -Date.prototype.setTime.length = 1; -if (Date.prototype.setTime.length !== x) { - $ERROR('#1: The Date.prototype.setTime.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T2.js deleted file mode 100644 index b9a4b50550..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.27_A3_T2; - * @section: 15.9.5.27; - * @assertion: The Date.prototype.setTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.27_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T2.js", - -assertion: "The Date.prototype.setTime property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setTime.length !== false) { - $ERROR('#1: The Date.prototype.setTime.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setTime.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setTime.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T3.js deleted file mode 100644 index 192d143db5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.27_A3_T3; - * @section: 15.9.5.27; - * @assertion: The Date.prototype.setTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.27_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.27_Date.prototype.setTime/S15.9.5.27_A3_T3.js", - -assertion: "The Date.prototype.setTime property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setTime.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setTime.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setTime) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setTime.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T1.js deleted file mode 100644 index d10938a9d1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.28_A1_T1; - * @section: 15.9.5.28; - * @assertion: The Date.prototype property "setMilliseconds" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.28_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T1.js", - -assertion: "The Date.prototype property \"setMilliseconds\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setMilliseconds; -if(x === 1) - Date.prototype.setMilliseconds = 2; -else - Date.prototype.setMilliseconds = 1; -if (Date.prototype.setMilliseconds === x) { - $ERROR('#1: The Date.prototype.setMilliseconds has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T2.js deleted file mode 100644 index be953568e4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.28_A1_T2; - * @section: 15.9.5.28; - * @assertion: The Date.prototype property "setMilliseconds" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.28_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T2.js", - -assertion: "The Date.prototype property \"setMilliseconds\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setMilliseconds === false) { - $ERROR('#1: The Date.prototype.setMilliseconds property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setMilliseconds')) { - $FAIL('#2: The Date.prototype.setMilliseconds property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T3.js deleted file mode 100644 index 5ae91d9d3b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.28_A1_T3; - * @section: 15.9.5.28; - * @assertion: The Date.prototype property "setMilliseconds" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.28_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A1_T3.js", - -assertion: "The Date.prototype property \"setMilliseconds\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setMilliseconds')) { - $ERROR('#1: The Date.prototype.setMilliseconds property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setMilliseconds") { - $ERROR('#2: The Date.prototype.setMilliseconds has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A2_T1.js deleted file mode 100644 index 132bf73f03..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.28_A2_T1; - * @section: 15.9.5.28; - * @assertion: The "length" property of the "setMilliseconds" is 1; - * @description: The "length" property of the "setMilliseconds" is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.28_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A2_T1.js", - -assertion: "The \"length\" property of the \"setMilliseconds\" is 1", - -description: "The \"length\" property of the \"setMilliseconds\" is 1", - -test: function testcase() { - if(Date.prototype.setMilliseconds.hasOwnProperty("length") !== true){ - $ERROR('#1: The setMilliseconds has a "length" property'); -} - -if(Date.prototype.setMilliseconds.length !== 1){ - $ERROR('#2: The "length" property of the setMilliseconds is 1'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T1.js deleted file mode 100644 index 3073079f17..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.28_A3_T1; - * @section: 15.9.5.28; - * @assertion: The Date.prototype.setMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.28_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T1.js", - -assertion: "The Date.prototype.setMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setMilliseconds.length; -Date.prototype.setMilliseconds.length = 1; -if (Date.prototype.setMilliseconds.length !== x) { - $ERROR('#1: The Date.prototype.setMilliseconds.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T2.js deleted file mode 100644 index b6cd238a17..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.28_A3_T2; - * @section: 15.9.5.28; - * @assertion: The Date.prototype.setMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.28_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T2.js", - -assertion: "The Date.prototype.setMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setMilliseconds.length !== false) { - $ERROR('#1: The Date.prototype.setMilliseconds.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setMilliseconds.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setMilliseconds.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T3.js deleted file mode 100644 index bcd323d574..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.28_A3_T3; - * @section: 15.9.5.28; - * @assertion: The Date.prototype.setMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.28_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.28_Date.prototype.setMilliseconds/S15.9.5.28_A3_T3.js", - -assertion: "The Date.prototype.setMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setMilliseconds.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setMilliseconds.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setMilliseconds) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setMilliseconds.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T1.js deleted file mode 100644 index 5b87070384..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.29_A1_T1; - * @section: 15.9.5.29; - * @assertion: The Date.prototype property "setUTCMilliseconds" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.29_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T1.js", - -assertion: "The Date.prototype property \"setUTCMilliseconds\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCMilliseconds; -if(x === 1) - Date.prototype.setUTCMilliseconds = 2; -else - Date.prototype.setUTCMilliseconds = 1; -if (Date.prototype.setUTCMilliseconds === x) { - $ERROR('#1: The Date.prototype.setUTCMilliseconds has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T2.js deleted file mode 100644 index 38ea5a6eba..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.29_A1_T2; - * @section: 15.9.5.29; - * @assertion: The Date.prototype property "setUTCMilliseconds" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.29_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T2.js", - -assertion: "The Date.prototype property \"setUTCMilliseconds\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCMilliseconds === false) { - $ERROR('#1: The Date.prototype.setUTCMilliseconds property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setUTCMilliseconds')) { - $FAIL('#2: The Date.prototype.setUTCMilliseconds property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T3.js deleted file mode 100644 index 50277b3c8c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.29_A1_T3; - * @section: 15.9.5.29; - * @assertion: The Date.prototype property "setUTCMilliseconds" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.29_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A1_T3.js", - -assertion: "The Date.prototype property \"setUTCMilliseconds\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setUTCMilliseconds')) { - $ERROR('#1: The Date.prototype.setUTCMilliseconds property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setUTCMilliseconds") { - $ERROR('#2: The Date.prototype.setUTCMilliseconds has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A2_T1.js deleted file mode 100644 index a809e41fc8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.29_A2_T1; - * @section: 15.9.5.29; - * @assertion: The "length" property of the "setUTCMilliseconds" is 1; - * @description: The "length" property of the "setUTCMilliseconds" is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.29_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A2_T1.js", - -assertion: "The \"length\" property of the \"setUTCMilliseconds\" is 1", - -description: "The \"length\" property of the \"setUTCMilliseconds\" is 1", - -test: function testcase() { - if(Date.prototype.setUTCMilliseconds.hasOwnProperty("length") !== true){ - $ERROR('#1: The setUTCMilliseconds has a "length" property'); -} - -if(Date.prototype.setUTCMilliseconds.length !== 1){ - $ERROR('#2: The "length" property of the setUTCMilliseconds is 1'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T1.js deleted file mode 100644 index cb449bc297..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.29_A3_T1; - * @section: 15.9.5.29; - * @assertion: The Date.prototype.setUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.29_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T1.js", - -assertion: "The Date.prototype.setUTCMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCMilliseconds.length; -Date.prototype.setUTCMilliseconds.length = 1; -if (Date.prototype.setUTCMilliseconds.length !== x) { - $ERROR('#1: The Date.prototype.setUTCMilliseconds.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T2.js deleted file mode 100644 index 9ad296ef01..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.29_A3_T2; - * @section: 15.9.5.29; - * @assertion: The Date.prototype.setUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.29_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T2.js", - -assertion: "The Date.prototype.setUTCMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCMilliseconds.length !== false) { - $ERROR('#1: The Date.prototype.setUTCMilliseconds.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setUTCMilliseconds.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setUTCMilliseconds.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T3.js deleted file mode 100644 index 0a0021bf40..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.29_A3_T3; - * @section: 15.9.5.29; - * @assertion: The Date.prototype.setUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.29_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.29_Date.prototype.setUTCMilliseconds/S15.9.5.29_A3_T3.js", - -assertion: "The Date.prototype.setUTCMilliseconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setUTCMilliseconds.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setUTCMilliseconds.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setUTCMilliseconds) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setUTCMilliseconds.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T1.js deleted file mode 100644 index 6459ea533f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.2_A1_T1; - * @section: 15.9.5.2; - * @assertion: The Date.prototype property "toString" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.2_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T1.js", - -assertion: "The Date.prototype property \"toString\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toString; -if(x === 1) - Date.prototype.toString = 2; -else - Date.prototype.toString = 1; -if (Date.prototype.toString === x) { - $ERROR('#1: The Date.prototype.toString has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T2.js deleted file mode 100644 index a4533bc34f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.2_A1_T2; - * @section: 15.9.5.2; - * @assertion: The Date.prototype property "toString" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.2_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T2.js", - -assertion: "The Date.prototype property \"toString\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toString === false) { - $ERROR('#1: The Date.prototype.toString property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('toString')) { - $FAIL('#2: The Date.prototype.toString property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T3.js deleted file mode 100644 index 9129462a23..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.2_A1_T3; - * @section: 15.9.5.2; - * @assertion: The Date.prototype property "toString" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.2_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A1_T3.js", - -assertion: "The Date.prototype property \"toString\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('toString')) { - $ERROR('#1: The Date.prototype.toString property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "toString") { - $ERROR('#2: The Date.prototype.toString has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A2_T1.js deleted file mode 100644 index 3dddf3bd0f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.2_A2_T1; - * @section: 15.9.5.2; - * @assertion: The "length" property of the "toString" is 0; - * @description: The "length" property of the "toString" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.2_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A2_T1.js", - -assertion: "The \"length\" property of the \"toString\" is 0", - -description: "The \"length\" property of the \"toString\" is 0", - -test: function testcase() { - if(Date.prototype.toString.hasOwnProperty("length") !== true){ - $ERROR('#1: The toString has a "length" property'); -} - -if(Date.prototype.toString.length !== 0){ - $ERROR('#2: The "length" property of the toString is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T1.js deleted file mode 100644 index 5ea65c62eb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.2_A3_T1; - * @section: 15.9.5.2; - * @assertion: The Date.prototype.toString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.2_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T1.js", - -assertion: "The Date.prototype.toString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toString.length; -Date.prototype.toString.length = 1; -if (Date.prototype.toString.length !== x) { - $ERROR('#1: The Date.prototype.toString.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T2.js deleted file mode 100644 index 2fd482c61b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.2_A3_T2; - * @section: 15.9.5.2; - * @assertion: The Date.prototype.toString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.2_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T2.js", - -assertion: "The Date.prototype.toString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toString.length !== false) { - $ERROR('#1: The Date.prototype.toString.length property has the attributes DontDelete'); -} - -if (!Date.prototype.toString.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.toString.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T3.js deleted file mode 100644 index a5d960359f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.2_A3_T3; - * @section: 15.9.5.2; - * @assertion: The Date.prototype.toString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.2_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.2_Date.prototype.toString/S15.9.5.2_A3_T3.js", - -assertion: "The Date.prototype.toString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.toString.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.toString.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.toString) { - if(x === "length") { - $ERROR('#2: The Date.prototype.toString.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T1.js deleted file mode 100644 index 26542161ed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.30_A1_T1; - * @section: 15.9.5.30; - * @assertion: The Date.prototype property "setSeconds" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.30_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T1.js", - -assertion: "The Date.prototype property \"setSeconds\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setSeconds; -if(x === 1) - Date.prototype.setSeconds = 2; -else - Date.prototype.setSeconds = 1; -if (Date.prototype.setSeconds === x) { - $ERROR('#1: The Date.prototype.setSeconds has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T2.js deleted file mode 100644 index 8759082355..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.30_A1_T2; - * @section: 15.9.5.30; - * @assertion: The Date.prototype property "setSeconds" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.30_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T2.js", - -assertion: "The Date.prototype property \"setSeconds\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setSeconds === false) { - $ERROR('#1: The Date.prototype.setSeconds property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setSeconds')) { - $FAIL('#2: The Date.prototype.setSeconds property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T3.js deleted file mode 100644 index faa45117f7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.30_A1_T3; - * @section: 15.9.5.30; - * @assertion: The Date.prototype property "setSeconds" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.30_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A1_T3.js", - -assertion: "The Date.prototype property \"setSeconds\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setSeconds')) { - $ERROR('#1: The Date.prototype.setSeconds property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setSeconds") { - $ERROR('#2: The Date.prototype.setSeconds has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A2_T1.js deleted file mode 100644 index b50910bfe9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.30_A2_T1; - * @section: 15.9.5.30; - * @assertion: The "length" property of the "setSeconds" is 2; - * @description: The "length" property of the "setSeconds" is 2; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.30_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A2_T1.js", - -assertion: "The \"length\" property of the \"setSeconds\" is 2", - -description: "The \"length\" property of the \"setSeconds\" is 2", - -test: function testcase() { - if(Date.prototype.setSeconds.hasOwnProperty("length") !== true){ - $ERROR('#1: The setSeconds has a "length" property'); -} - -if(Date.prototype.setSeconds.length !== 2){ - $ERROR('#2: The "length" property of the setSeconds is 2'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T1.js deleted file mode 100644 index 298cc657dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.30_A3_T1; - * @section: 15.9.5.30; - * @assertion: The Date.prototype.setSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.30_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T1.js", - -assertion: "The Date.prototype.setSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setSeconds.length; -Date.prototype.setSeconds.length = 1; -if (Date.prototype.setSeconds.length !== x) { - $ERROR('#1: The Date.prototype.setSeconds.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T2.js deleted file mode 100644 index 42054e17d8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.30_A3_T2; - * @section: 15.9.5.30; - * @assertion: The Date.prototype.setSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.30_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T2.js", - -assertion: "The Date.prototype.setSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setSeconds.length !== false) { - $ERROR('#1: The Date.prototype.setSeconds.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setSeconds.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setSeconds.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T3.js deleted file mode 100644 index 25b6a235fd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.30_A3_T3; - * @section: 15.9.5.30; - * @assertion: The Date.prototype.setSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.30_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.30_Date.prototype.setSeconds/S15.9.5.30_A3_T3.js", - -assertion: "The Date.prototype.setSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setSeconds.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setSeconds.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setSeconds) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setSeconds.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T1.js deleted file mode 100644 index 73d209773e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.31_A1_T1; - * @section: 15.9.5.31; - * @assertion: The Date.prototype property "setUTCSeconds" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.31_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T1.js", - -assertion: "The Date.prototype property \"setUTCSeconds\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCSeconds; -if(x === 1) - Date.prototype.setUTCSeconds = 2; -else - Date.prototype.setUTCSeconds = 1; -if (Date.prototype.setUTCSeconds === x) { - $ERROR('#1: The Date.prototype.setUTCSeconds has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T2.js deleted file mode 100644 index edb8d7e0b9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.31_A1_T2; - * @section: 15.9.5.31; - * @assertion: The Date.prototype property "setUTCSeconds" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.31_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T2.js", - -assertion: "The Date.prototype property \"setUTCSeconds\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCSeconds === false) { - $ERROR('#1: The Date.prototype.setUTCSeconds property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setUTCSeconds')) { - $FAIL('#2: The Date.prototype.setUTCSeconds property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T3.js deleted file mode 100644 index efdaa69bc1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.31_A1_T3; - * @section: 15.9.5.31; - * @assertion: The Date.prototype property "setUTCSeconds" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.31_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A1_T3.js", - -assertion: "The Date.prototype property \"setUTCSeconds\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setUTCSeconds')) { - $ERROR('#1: The Date.prototype.setUTCSeconds property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setUTCSeconds") { - $ERROR('#2: The Date.prototype.setUTCSeconds has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A2_T1.js deleted file mode 100644 index 9c9511a92d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.31_A2_T1; - * @section: 15.9.5.31; - * @assertion: The "length" property of the "setUTCSeconds" is 2; - * @description: The "length" property of the "setUTCSeconds" is 2; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.31_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A2_T1.js", - -assertion: "The \"length\" property of the \"setUTCSeconds\" is 2", - -description: "The \"length\" property of the \"setUTCSeconds\" is 2", - -test: function testcase() { - if(Date.prototype.setUTCSeconds.hasOwnProperty("length") !== true){ - $ERROR('#1: The setUTCSeconds has a "length" property'); -} - -if(Date.prototype.setUTCSeconds.length !== 2){ - $ERROR('#2: The "length" property of the setUTCSeconds is 2'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T1.js deleted file mode 100644 index 4364ba7a24..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.31_A3_T1; - * @section: 15.9.5.31; - * @assertion: The Date.prototype.setUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.31_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T1.js", - -assertion: "The Date.prototype.setUTCSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCSeconds.length; -Date.prototype.setUTCSeconds.length = 1; -if (Date.prototype.setUTCSeconds.length !== x) { - $ERROR('#1: The Date.prototype.setUTCSeconds.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T2.js deleted file mode 100644 index c5aeff0269..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.31_A3_T2; - * @section: 15.9.5.31; - * @assertion: The Date.prototype.setUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.31_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T2.js", - -assertion: "The Date.prototype.setUTCSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCSeconds.length !== false) { - $ERROR('#1: The Date.prototype.setUTCSeconds.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setUTCSeconds.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setUTCSeconds.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T3.js deleted file mode 100644 index a49f582180..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.31_A3_T3; - * @section: 15.9.5.31; - * @assertion: The Date.prototype.setUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.31_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.31_Date.prototype.setUTCSeconds/S15.9.5.31_A3_T3.js", - -assertion: "The Date.prototype.setUTCSeconds property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setUTCSeconds.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setUTCSeconds.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setUTCSeconds) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setUTCSeconds.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T1.js deleted file mode 100644 index 44fe5cea6e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.32_A1_T1; - * @section: 15.9.5.32; - * @assertion: The Date.prototype property "setMinutes" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.32_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T1.js", - -assertion: "The Date.prototype property \"setMinutes\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setMinutes; -if(x === 1) - Date.prototype.setMinutes = 2; -else - Date.prototype.setMinutes = 1; -if (Date.prototype.setMinutes === x) { - $ERROR('#1: The Date.prototype.setMinutes has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T2.js deleted file mode 100644 index 7665405838..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.32_A1_T2; - * @section: 15.9.5.32; - * @assertion: The Date.prototype property "setMinutes" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.32_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T2.js", - -assertion: "The Date.prototype property \"setMinutes\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setMinutes === false) { - $ERROR('#1: The Date.prototype.setMinutes property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setMinutes')) { - $FAIL('#2: The Date.prototype.setMinutes property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T3.js deleted file mode 100644 index d265f3098b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.32_A1_T3; - * @section: 15.9.5.32; - * @assertion: The Date.prototype property "setMinutes" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.32_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A1_T3.js", - -assertion: "The Date.prototype property \"setMinutes\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setMinutes')) { - $ERROR('#1: The Date.prototype.setMinutes property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setMinutes") { - $ERROR('#2: The Date.prototype.setMinutes has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A2_T1.js deleted file mode 100644 index 28fdb940dc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.32_A2_T1; - * @section: 15.9.5.32; - * @assertion: The "length" property of the "setMinutes" is 3; - * @description: The "length" property of the "setMinutes" is 3; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.32_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A2_T1.js", - -assertion: "The \"length\" property of the \"setMinutes\" is 3", - -description: "The \"length\" property of the \"setMinutes\" is 3", - -test: function testcase() { - if(Date.prototype.setMinutes.hasOwnProperty("length") !== true){ - $ERROR('#1: The setMinutes has a "length" property'); -} - -if(Date.prototype.setMinutes.length !== 3){ - $ERROR('#2: The "length" property of the setMinutes is 3'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T1.js deleted file mode 100644 index 4ae0b85242..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.32_A3_T1; - * @section: 15.9.5.32; - * @assertion: The Date.prototype.setMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.32_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T1.js", - -assertion: "The Date.prototype.setMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setMinutes.length; -Date.prototype.setMinutes.length = 1; -if (Date.prototype.setMinutes.length !== x) { - $ERROR('#1: The Date.prototype.setMinutes.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T2.js deleted file mode 100644 index 0c9fdcf057..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.32_A3_T2; - * @section: 15.9.5.32; - * @assertion: The Date.prototype.setMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.32_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T2.js", - -assertion: "The Date.prototype.setMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setMinutes.length !== false) { - $ERROR('#1: The Date.prototype.setMinutes.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setMinutes.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setMinutes.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T3.js deleted file mode 100644 index f5097d332d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.32_A3_T3; - * @section: 15.9.5.32; - * @assertion: The Date.prototype.setMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.32_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.32_Date.prototype.setMinutes/S15.9.5.32_A3_T3.js", - -assertion: "The Date.prototype.setMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setMinutes.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setMinutes.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setMinutes) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setMinutes.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T1.js deleted file mode 100644 index 54bc955936..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.33_A1_T1; - * @section: 15.9.5.33; - * @assertion: The Date.prototype property "setUTCMinutes" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.33_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T1.js", - -assertion: "The Date.prototype property \"setUTCMinutes\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCMinutes; -if(x === 1) - Date.prototype.setUTCMinutes = 2; -else - Date.prototype.setUTCMinutes = 1; -if (Date.prototype.setUTCMinutes === x) { - $ERROR('#1: The Date.prototype.setUTCMinutes has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T2.js deleted file mode 100644 index 66b9dc89dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.33_A1_T2; - * @section: 15.9.5.33; - * @assertion: The Date.prototype property "setUTCMinutes" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.33_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T2.js", - -assertion: "The Date.prototype property \"setUTCMinutes\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCMinutes === false) { - $ERROR('#1: The Date.prototype.setUTCMinutes property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setUTCMinutes')) { - $FAIL('#2: The Date.prototype.setUTCMinutes property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T3.js deleted file mode 100644 index e71802168b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.33_A1_T3; - * @section: 15.9.5.33; - * @assertion: The Date.prototype property "setUTCMinutes" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.33_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A1_T3.js", - -assertion: "The Date.prototype property \"setUTCMinutes\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setUTCMinutes')) { - $ERROR('#1: The Date.prototype.setUTCMinutes property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setUTCMinutes") { - $ERROR('#2: The Date.prototype.setUTCMinutes has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A2_T1.js deleted file mode 100644 index 4a6b95a72a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.33_A2_T1; - * @section: 15.9.5.33; - * @assertion: The "length" property of the "setUTCMinutes" is 3; - * @description: The "length" property of the "setUTCMinutes" is 3; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.33_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A2_T1.js", - -assertion: "The \"length\" property of the \"setUTCMinutes\" is 3", - -description: "The \"length\" property of the \"setUTCMinutes\" is 3", - -test: function testcase() { - if(Date.prototype.setUTCMinutes.hasOwnProperty("length") !== true){ - $ERROR('#1: The setUTCMinutes has a "length" property'); -} - -if(Date.prototype.setUTCMinutes.length !== 3){ - $ERROR('#2: The "length" property of the setUTCMinutes is 3'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T1.js deleted file mode 100644 index 10deb1d1f5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.33_A3_T1; - * @section: 15.9.5.33; - * @assertion: The Date.prototype.setUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.33_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T1.js", - -assertion: "The Date.prototype.setUTCMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCMinutes.length; -Date.prototype.setUTCMinutes.length = 1; -if (Date.prototype.setUTCMinutes.length !== x) { - $ERROR('#1: The Date.prototype.setUTCMinutes.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T2.js deleted file mode 100644 index ac0e03b29b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.33_A3_T2; - * @section: 15.9.5.33; - * @assertion: The Date.prototype.setUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.33_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T2.js", - -assertion: "The Date.prototype.setUTCMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCMinutes.length !== false) { - $ERROR('#1: The Date.prototype.setUTCMinutes.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setUTCMinutes.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setUTCMinutes.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T3.js deleted file mode 100644 index dad8134d00..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.33_A3_T3; - * @section: 15.9.5.33; - * @assertion: The Date.prototype.setUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.33_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.33_Date.prototype.setUTCMinutes/S15.9.5.33_A3_T3.js", - -assertion: "The Date.prototype.setUTCMinutes property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setUTCMinutes.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setUTCMinutes.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setUTCMinutes) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setUTCMinutes.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T1.js deleted file mode 100644 index fbdcdcec4b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.34_A1_T1; - * @section: 15.9.5.34; - * @assertion: The Date.prototype property "setHours" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.34_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T1.js", - -assertion: "The Date.prototype property \"setHours\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setHours; -if(x === 1) - Date.prototype.setHours = 2; -else - Date.prototype.setHours = 1; -if (Date.prototype.setHours === x) { - $ERROR('#1: The Date.prototype.setHours has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T2.js deleted file mode 100644 index fe6a4f8091..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.34_A1_T2; - * @section: 15.9.5.34; - * @assertion: The Date.prototype property "setHours" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.34_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T2.js", - -assertion: "The Date.prototype property \"setHours\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setHours === false) { - $ERROR('#1: The Date.prototype.setHours property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setHours')) { - $FAIL('#2: The Date.prototype.setHours property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T3.js deleted file mode 100644 index 79deb8f49d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.34_A1_T3; - * @section: 15.9.5.34; - * @assertion: The Date.prototype property "setHours" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.34_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A1_T3.js", - -assertion: "The Date.prototype property \"setHours\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setHours')) { - $ERROR('#1: The Date.prototype.setHours property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setHours") { - $ERROR('#2: The Date.prototype.setHours has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A2_T1.js deleted file mode 100644 index 1166209de8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.34_A2_T1; - * @section: 15.9.5.34; - * @assertion: The "length" property of the "setHours" is 4; - * @description: The "length" property of the "setHours" is 4; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.34_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A2_T1.js", - -assertion: "The \"length\" property of the \"setHours\" is 4", - -description: "The \"length\" property of the \"setHours\" is 4", - -test: function testcase() { - if(Date.prototype.setHours.hasOwnProperty("length") !== true){ - $ERROR('#1: The setHours has a "length" property'); -} - -if(Date.prototype.setHours.length !== 4){ - $ERROR('#2: The "length" property of the setHours is 4'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T1.js deleted file mode 100644 index 144c13661e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.34_A3_T1; - * @section: 15.9.5.34; - * @assertion: The Date.prototype.setHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.34_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T1.js", - -assertion: "The Date.prototype.setHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setHours.length; -Date.prototype.setHours.length = 1; -if (Date.prototype.setHours.length !== x) { - $ERROR('#1: The Date.prototype.setHours.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T2.js deleted file mode 100644 index e6f6a03086..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.34_A3_T2; - * @section: 15.9.5.34; - * @assertion: The Date.prototype.setHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.34_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T2.js", - -assertion: "The Date.prototype.setHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setHours.length !== false) { - $ERROR('#1: The Date.prototype.setHours.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setHours.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setHours.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T3.js deleted file mode 100644 index 8a1486e446..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.34_A3_T3; - * @section: 15.9.5.34; - * @assertion: The Date.prototype.setHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.34_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.34_Date.prototype.setHours/S15.9.5.34_A3_T3.js", - -assertion: "The Date.prototype.setHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setHours.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setHours.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setHours) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setHours.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T1.js deleted file mode 100644 index b9ba5912d8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.35_A1_T1; - * @section: 15.9.5.35; - * @assertion: The Date.prototype property "setUTCHours" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.35_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T1.js", - -assertion: "The Date.prototype property \"setUTCHours\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCHours; -if(x === 1) - Date.prototype.setUTCHours = 2; -else - Date.prototype.setUTCHours = 1; -if (Date.prototype.setUTCHours === x) { - $ERROR('#1: The Date.prototype.setUTCHours has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T2.js deleted file mode 100644 index 41c66e62c0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.35_A1_T2; - * @section: 15.9.5.35; - * @assertion: The Date.prototype property "setUTCHours" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.35_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T2.js", - -assertion: "The Date.prototype property \"setUTCHours\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCHours === false) { - $ERROR('#1: The Date.prototype.setUTCHours property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setUTCHours')) { - $FAIL('#2: The Date.prototype.setUTCHours property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T3.js deleted file mode 100644 index 747e671e0f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.35_A1_T3; - * @section: 15.9.5.35; - * @assertion: The Date.prototype property "setUTCHours" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.35_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A1_T3.js", - -assertion: "The Date.prototype property \"setUTCHours\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setUTCHours')) { - $ERROR('#1: The Date.prototype.setUTCHours property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setUTCHours") { - $ERROR('#2: The Date.prototype.setUTCHours has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A2_T1.js deleted file mode 100644 index 716422e315..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.35_A2_T1; - * @section: 15.9.5.35; - * @assertion: The "length" property of the "setUTCHours" is 4; - * @description: The "length" property of the "setUTCHours" is 4; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.35_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A2_T1.js", - -assertion: "The \"length\" property of the \"setUTCHours\" is 4", - -description: "The \"length\" property of the \"setUTCHours\" is 4", - -test: function testcase() { - if(Date.prototype.setUTCHours.hasOwnProperty("length") !== true){ - $ERROR('#1: The setUTCHours has a "length" property'); -} - -if(Date.prototype.setUTCHours.length !== 4){ - $ERROR('#2: The "length" property of the setUTCHours is 4'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T1.js deleted file mode 100644 index 6f3e27c2a7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.35_A3_T1; - * @section: 15.9.5.35; - * @assertion: The Date.prototype.setUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.35_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T1.js", - -assertion: "The Date.prototype.setUTCHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCHours.length; -Date.prototype.setUTCHours.length = 1; -if (Date.prototype.setUTCHours.length !== x) { - $ERROR('#1: The Date.prototype.setUTCHours.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T2.js deleted file mode 100644 index f934c73a41..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.35_A3_T2; - * @section: 15.9.5.35; - * @assertion: The Date.prototype.setUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.35_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T2.js", - -assertion: "The Date.prototype.setUTCHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCHours.length !== false) { - $ERROR('#1: The Date.prototype.setUTCHours.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setUTCHours.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setUTCHours.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T3.js deleted file mode 100644 index 17314c49ed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.35_A3_T3; - * @section: 15.9.5.35; - * @assertion: The Date.prototype.setUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.35_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.35_Date.prototype.setUTCHours/S15.9.5.35_A3_T3.js", - -assertion: "The Date.prototype.setUTCHours property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setUTCHours.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setUTCHours.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setUTCHours) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setUTCHours.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T1.js deleted file mode 100644 index 3802e4f2da..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.36_A1_T1; - * @section: 15.9.5.36; - * @assertion: The Date.prototype property "setDate" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.36_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T1.js", - -assertion: "The Date.prototype property \"setDate\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setDate; -if(x === 1) - Date.prototype.setDate = 2; -else - Date.prototype.setDate = 1; -if (Date.prototype.setDate === x) { - $ERROR('#1: The Date.prototype.setDate has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T2.js deleted file mode 100644 index 058139db24..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.36_A1_T2; - * @section: 15.9.5.36; - * @assertion: The Date.prototype property "setDate" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.36_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T2.js", - -assertion: "The Date.prototype property \"setDate\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setDate === false) { - $ERROR('#1: The Date.prototype.setDate property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setDate')) { - $FAIL('#2: The Date.prototype.setDate property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T3.js deleted file mode 100644 index d9f218f3cc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.36_A1_T3; - * @section: 15.9.5.36; - * @assertion: The Date.prototype property "setDate" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.36_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A1_T3.js", - -assertion: "The Date.prototype property \"setDate\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setDate')) { - $ERROR('#1: The Date.prototype.setDate property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setDate") { - $ERROR('#2: The Date.prototype.setDate has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A2_T1.js deleted file mode 100644 index 810d11d862..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.36_A2_T1; - * @section: 15.9.5.36; - * @assertion: The "length" property of the "setDate" is 1; - * @description: The "length" property of the "setDate" is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.36_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A2_T1.js", - -assertion: "The \"length\" property of the \"setDate\" is 1", - -description: "The \"length\" property of the \"setDate\" is 1", - -test: function testcase() { - if(Date.prototype.setDate.hasOwnProperty("length") !== true){ - $ERROR('#1: The setDate has a "length" property'); -} - -if(Date.prototype.setDate.length !== 1){ - $ERROR('#2: The "length" property of the setDate is 1'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T1.js deleted file mode 100644 index b9a64bd34f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.36_A3_T1; - * @section: 15.9.5.36; - * @assertion: The Date.prototype.setDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.36_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T1.js", - -assertion: "The Date.prototype.setDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setDate.length; -Date.prototype.setDate.length = 1; -if (Date.prototype.setDate.length !== x) { - $ERROR('#1: The Date.prototype.setDate.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T2.js deleted file mode 100644 index b4ed2e03d9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.36_A3_T2; - * @section: 15.9.5.36; - * @assertion: The Date.prototype.setDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.36_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T2.js", - -assertion: "The Date.prototype.setDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setDate.length !== false) { - $ERROR('#1: The Date.prototype.setDate.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setDate.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setDate.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T3.js deleted file mode 100644 index 7572eec39e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.36_A3_T3; - * @section: 15.9.5.36; - * @assertion: The Date.prototype.setDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.36_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.36_Date.prototype.setDate/S15.9.5.36_A3_T3.js", - -assertion: "The Date.prototype.setDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setDate.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setDate.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setDate) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setDate.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T1.js deleted file mode 100644 index ae7fcde091..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.37_A1_T1; - * @section: 15.9.5.37; - * @assertion: The Date.prototype property "setUTCDate" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.37_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T1.js", - -assertion: "The Date.prototype property \"setUTCDate\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCDate; -if(x === 1) - Date.prototype.setUTCDate = 2; -else - Date.prototype.setUTCDate = 1; -if (Date.prototype.setUTCDate === x) { - $ERROR('#1: The Date.prototype.setUTCDate has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T2.js deleted file mode 100644 index cb85cb78d3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.37_A1_T2; - * @section: 15.9.5.37; - * @assertion: The Date.prototype property "setUTCDate" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.37_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T2.js", - -assertion: "The Date.prototype property \"setUTCDate\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCDate === false) { - $ERROR('#1: The Date.prototype.setUTCDate property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setUTCDate')) { - $FAIL('#2: The Date.prototype.setUTCDate property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T3.js deleted file mode 100644 index a7725db6c8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.37_A1_T3; - * @section: 15.9.5.37; - * @assertion: The Date.prototype property "setUTCDate" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.37_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A1_T3.js", - -assertion: "The Date.prototype property \"setUTCDate\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setUTCDate')) { - $ERROR('#1: The Date.prototype.setUTCDate property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setUTCDate") { - $ERROR('#2: The Date.prototype.setUTCDate has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_T1.js deleted file mode 100644 index 2e7fdfc67e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.37_A2_T1; - * @section: 15.9.5.37; - * @assertion: The "length" property of the "setUTCDate" is 1; - * @description: The "length" property of the "setUTCDate" is 1; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.37_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_T1.js", - -assertion: "The \"length\" property of the \"setUTCDate\" is 1", - -description: "The \"length\" property of the \"setUTCDate\" is 1", - -test: function testcase() { - if(Date.prototype.setUTCDate.hasOwnProperty("length") !== true){ - $ERROR('#1: The setUTCDate has a "length" property'); -} - -if(Date.prototype.setUTCDate.length !== 1){ - $ERROR('#2: The "length" property of the setUTCDate is 1'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T1.js deleted file mode 100644 index 5c9b94ef69..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.37_A3_T1; - * @section: 15.9.5.37; - * @assertion: The Date.prototype.setUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.37_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T1.js", - -assertion: "The Date.prototype.setUTCDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCDate.length; -Date.prototype.setUTCDate.length = 1; -if (Date.prototype.setUTCDate.length !== x) { - $ERROR('#1: The Date.prototype.setUTCDate.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T2.js deleted file mode 100644 index a96a90d8b9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.37_A3_T2; - * @section: 15.9.5.37; - * @assertion: The Date.prototype.setUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.37_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T2.js", - -assertion: "The Date.prototype.setUTCDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCDate.length !== false) { - $ERROR('#1: The Date.prototype.setUTCDate.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setUTCDate.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setUTCDate.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T3.js deleted file mode 100644 index 701a1eb62d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.37_A3_T3; - * @section: 15.9.5.37; - * @assertion: The Date.prototype.setUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.37_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A3_T3.js", - -assertion: "The Date.prototype.setUTCDate property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setUTCDate.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setUTCDate.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setUTCDate) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setUTCDate.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T1.js deleted file mode 100644 index 6fdbfd2ad7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.38_A1_T1; - * @section: 15.9.5.38; - * @assertion: The Date.prototype property "setMonth" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.38_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T1.js", - -assertion: "The Date.prototype property \"setMonth\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setMonth; -if(x === 1) - Date.prototype.setMonth = 2; -else - Date.prototype.setMonth = 1; -if (Date.prototype.setMonth === x) { - $ERROR('#1: The Date.prototype.setMonth has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T2.js deleted file mode 100644 index 7ab9791540..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.38_A1_T2; - * @section: 15.9.5.38; - * @assertion: The Date.prototype property "setMonth" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.38_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T2.js", - -assertion: "The Date.prototype property \"setMonth\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setMonth === false) { - $ERROR('#1: The Date.prototype.setMonth property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setMonth')) { - $FAIL('#2: The Date.prototype.setMonth property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T3.js deleted file mode 100644 index 0b51aba368..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.38_A1_T3; - * @section: 15.9.5.38; - * @assertion: The Date.prototype property "setMonth" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.38_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A1_T3.js", - -assertion: "The Date.prototype property \"setMonth\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setMonth')) { - $ERROR('#1: The Date.prototype.setMonth property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setMonth") { - $ERROR('#2: The Date.prototype.setMonth has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A2_T1.js deleted file mode 100644 index 9bf464de5d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.38_A2_T1; - * @section: 15.9.5.38; - * @assertion: The "length" property of the "setMonth" is 2; - * @description: The "length" property of the "setMonth" is 2; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.38_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A2_T1.js", - -assertion: "The \"length\" property of the \"setMonth\" is 2", - -description: "The \"length\" property of the \"setMonth\" is 2", - -test: function testcase() { - if(Date.prototype.setMonth.hasOwnProperty("length") !== true){ - $ERROR('#1: The setMonth has a "length" property'); -} - -if(Date.prototype.setMonth.length !== 2){ - $ERROR('#2: The "length" property of the setMonth is 2'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T1.js deleted file mode 100644 index 2595dcded7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.38_A3_T1; - * @section: 15.9.5.38; - * @assertion: The Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.38_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T1.js", - -assertion: "The Date.prototype.setMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setMonth.length; -Date.prototype.setMonth.length = 1; -if (Date.prototype.setMonth.length !== x) { - $ERROR('#1: The Date.prototype.setMonth.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T2.js deleted file mode 100644 index 7b16bbcad2..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.38_A3_T2; - * @section: 15.9.5.38; - * @assertion: The Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.38_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T2.js", - -assertion: "The Date.prototype.setMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setMonth.length !== false) { - $ERROR('#1: The Date.prototype.setMonth.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setMonth.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setMonth.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T3.js deleted file mode 100644 index f7c77a66ce..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.38_A3_T3; - * @section: 15.9.5.38; - * @assertion: The Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.38_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.38_Date.prototype.setMonth/S15.9.5.38_A3_T3.js", - -assertion: "The Date.prototype.setMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setMonth.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setMonth.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setMonth) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setMonth.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T1.js deleted file mode 100644 index 5775561a5f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.39_A1_T1; - * @section: 15.9.5.39; - * @assertion: The Date.prototype property "setUTCMonth" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.39_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T1.js", - -assertion: "The Date.prototype property \"setUTCMonth\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCMonth; -if(x === 1) - Date.prototype.setUTCMonth = 2; -else - Date.prototype.setUTCMonth = 1; -if (Date.prototype.setUTCMonth === x) { - $ERROR('#1: The Date.prototype.setUTCMonth has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T2.js deleted file mode 100644 index 22be69d48c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.39_A1_T2; - * @section: 15.9.5.39; - * @assertion: The Date.prototype property "setUTCMonth" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.39_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T2.js", - -assertion: "The Date.prototype property \"setUTCMonth\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCMonth === false) { - $ERROR('#1: The Date.prototype.setUTCMonth property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setUTCMonth')) { - $FAIL('#2: The Date.prototype.setUTCMonth property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T3.js deleted file mode 100644 index 2aad896a9d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.39_A1_T3; - * @section: 15.9.5.39; - * @assertion: The Date.prototype property "setUTCMonth" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.39_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A1_T3.js", - -assertion: "The Date.prototype property \"setUTCMonth\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setUTCMonth')) { - $ERROR('#1: The Date.prototype.setUTCMonth property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setUTCMonth") { - $ERROR('#2: The Date.prototype.setUTCMonth has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A2_T1.js deleted file mode 100644 index bac2888561..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.39_A2_T1; - * @section: 15.9.5.39; - * @assertion: The "length" property of the "setUTCMonth" is 2; - * @description: The "length" property of the "setUTCMonth" is 2; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.39_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A2_T1.js", - -assertion: "The \"length\" property of the \"setUTCMonth\" is 2", - -description: "The \"length\" property of the \"setUTCMonth\" is 2", - -test: function testcase() { - if(Date.prototype.setUTCMonth.hasOwnProperty("length") !== true){ - $ERROR('#1: The setUTCMonth has a "length" property'); -} - -if(Date.prototype.setUTCMonth.length !== 2){ - $ERROR('#2: The "length" property of the setUTCMonth is 2'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T1.js deleted file mode 100644 index 3c78ced4cf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.39_A3_T1; - * @section: 15.9.5.39; - * @assertion: The Date.prototype.setUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.39_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T1.js", - -assertion: "The Date.prototype.setUTCMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCMonth.length; -Date.prototype.setUTCMonth.length = 1; -if (Date.prototype.setUTCMonth.length !== x) { - $ERROR('#1: The Date.prototype.setUTCMonth.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T2.js deleted file mode 100644 index 48d7df3bd5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.39_A3_T2; - * @section: 15.9.5.39; - * @assertion: The Date.prototype.setUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.39_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T2.js", - -assertion: "The Date.prototype.setUTCMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCMonth.length !== false) { - $ERROR('#1: The Date.prototype.setUTCMonth.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setUTCMonth.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setUTCMonth.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T3.js deleted file mode 100644 index 5f73811573..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.39_A3_T3; - * @section: 15.9.5.39; - * @assertion: The Date.prototype.setUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.39_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.39_Date.prototype.setUTCMonth/S15.9.5.39_A3_T3.js", - -assertion: "The Date.prototype.setUTCMonth property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setUTCMonth.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setUTCMonth.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setUTCMonth) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setUTCMonth.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T1.js deleted file mode 100644 index 572e8c040f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.3_A1_T1; - * @section: 15.9.5.3; - * @assertion: The Date.prototype property "toDateString" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.3_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T1.js", - -assertion: "The Date.prototype property \"toDateString\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toDateString; -if(x === 1) - Date.prototype.toDateString = 2; -else - Date.prototype.toDateString = 1; -if (Date.prototype.toDateString === x) { - $ERROR('#1: The Date.prototype.toDateString has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T2.js deleted file mode 100644 index 458d4643dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.3_A1_T2; - * @section: 15.9.5.3; - * @assertion: The Date.prototype property "toDateString" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.3_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T2.js", - -assertion: "The Date.prototype property \"toDateString\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toDateString === false) { - $ERROR('#1: The Date.prototype.toDateString property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('toDateString')) { - $FAIL('#2: The Date.prototype.toDateString property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T3.js deleted file mode 100644 index df6e033c51..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.3_A1_T3; - * @section: 15.9.5.3; - * @assertion: The Date.prototype property "toDateString" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.3_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A1_T3.js", - -assertion: "The Date.prototype property \"toDateString\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('toDateString')) { - $ERROR('#1: The Date.prototype.toDateString property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "toDateString") { - $ERROR('#2: The Date.prototype.toDateString has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A2_T1.js deleted file mode 100644 index 6f8222767f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.3_A2_T1; - * @section: 15.9.5.3; - * @assertion: The "length" property of the "toDateString" is 0; - * @description: The "length" property of the "toDateString" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.3_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A2_T1.js", - -assertion: "The \"length\" property of the \"toDateString\" is 0", - -description: "The \"length\" property of the \"toDateString\" is 0", - -test: function testcase() { - if(Date.prototype.toDateString.hasOwnProperty("length") !== true){ - $ERROR('#1: The toDateString has a "length" property'); -} - -if(Date.prototype.toDateString.length !== 0){ - $ERROR('#2: The "length" property of the toDateString is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T1.js deleted file mode 100644 index 8a3d9fc45a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.3_A3_T1; - * @section: 15.9.5.3; - * @assertion: The Date.prototype.toDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.3_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T1.js", - -assertion: "The Date.prototype.toDateString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toDateString.length; -Date.prototype.toDateString.length = 1; -if (Date.prototype.toDateString.length !== x) { - $ERROR('#1: The Date.prototype.toDateString.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T2.js deleted file mode 100644 index 5a299e9738..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.3_A3_T2; - * @section: 15.9.5.3; - * @assertion: The Date.prototype.toDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.3_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T2.js", - -assertion: "The Date.prototype.toDateString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toDateString.length !== false) { - $ERROR('#1: The Date.prototype.toDateString.length property has the attributes DontDelete'); -} - -if (!Date.prototype.toDateString.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.toDateString.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T3.js deleted file mode 100644 index d3c6042868..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.3_A3_T3; - * @section: 15.9.5.3; - * @assertion: The Date.prototype.toDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.3_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.3_Date.prototype.toDateString/S15.9.5.3_A3_T3.js", - -assertion: "The Date.prototype.toDateString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.toDateString.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.toDateString.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.toDateString) { - if(x === "length") { - $ERROR('#2: The Date.prototype.toDateString.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T1.js deleted file mode 100644 index b2f11277b1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.40_A1_T1; - * @section: 15.9.5.40; - * @assertion: The Date.prototype property "setFullYear" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.40_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T1.js", - -assertion: "The Date.prototype property \"setFullYear\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setFullYear; -if(x === 1) - Date.prototype.setFullYear = 2; -else - Date.prototype.setFullYear = 1; -if (Date.prototype.setFullYear === x) { - $ERROR('#1: The Date.prototype.setFullYear has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T2.js deleted file mode 100644 index 1e3de9b50a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.40_A1_T2; - * @section: 15.9.5.40; - * @assertion: The Date.prototype property "setFullYear" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.40_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T2.js", - -assertion: "The Date.prototype property \"setFullYear\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setFullYear === false) { - $ERROR('#1: The Date.prototype.setFullYear property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setFullYear')) { - $FAIL('#2: The Date.prototype.setFullYear property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T3.js deleted file mode 100644 index 6c7cc0178f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.40_A1_T3; - * @section: 15.9.5.40; - * @assertion: The Date.prototype property "setFullYear" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.40_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A1_T3.js", - -assertion: "The Date.prototype property \"setFullYear\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setFullYear')) { - $ERROR('#1: The Date.prototype.setFullYear property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setFullYear") { - $ERROR('#2: The Date.prototype.setFullYear has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A2_T1.js deleted file mode 100644 index a80afce55d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.40_A2_T1; - * @section: 15.9.5.40; - * @assertion: The "length" property of the "setFullYear" is 3; - * @description: The "length" property of the "setFullYear" is 3; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.40_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A2_T1.js", - -assertion: "The \"length\" property of the \"setFullYear\" is 3", - -description: "The \"length\" property of the \"setFullYear\" is 3", - -test: function testcase() { - if(Date.prototype.setFullYear.hasOwnProperty("length") !== true){ - $ERROR('#1: The setFullYear has a "length" property'); -} - -if(Date.prototype.setFullYear.length !== 3){ - $ERROR('#2: The "length" property of the setFullYear is 3'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T1.js deleted file mode 100644 index 4cc1d815e8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.40_A3_T1; - * @section: 15.9.5.40; - * @assertion: The Date.prototype.setFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.40_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T1.js", - -assertion: "The Date.prototype.setFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setFullYear.length; -Date.prototype.setFullYear.length = 1; -if (Date.prototype.setFullYear.length !== x) { - $ERROR('#1: The Date.prototype.setFullYear.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T2.js deleted file mode 100644 index 007e8473e4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.40_A3_T2; - * @section: 15.9.5.40; - * @assertion: The Date.prototype.setFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.40_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T2.js", - -assertion: "The Date.prototype.setFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setFullYear.length !== false) { - $ERROR('#1: The Date.prototype.setFullYear.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setFullYear.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setFullYear.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T3.js deleted file mode 100644 index 9fac51e465..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.40_A3_T3; - * @section: 15.9.5.40; - * @assertion: The Date.prototype.setFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.40_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.40_Date.prototype.setFullYear/S15.9.5.40_A3_T3.js", - -assertion: "The Date.prototype.setFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setFullYear.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setFullYear.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setFullYear) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setFullYear.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T1.js deleted file mode 100644 index 282c7aaaf5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.41_A1_T1; - * @section: 15.9.5.41; - * @assertion: The Date.prototype property "setUTCFullYear" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.41_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T1.js", - -assertion: "The Date.prototype property \"setUTCFullYear\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCFullYear; -if(x === 1) - Date.prototype.setUTCFullYear = 2; -else - Date.prototype.setUTCFullYear = 1; -if (Date.prototype.setUTCFullYear === x) { - $ERROR('#1: The Date.prototype.setUTCFullYear has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T2.js deleted file mode 100644 index 91d755d955..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.41_A1_T2; - * @section: 15.9.5.41; - * @assertion: The Date.prototype property "setUTCFullYear" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.41_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T2.js", - -assertion: "The Date.prototype property \"setUTCFullYear\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCFullYear === false) { - $ERROR('#1: The Date.prototype.setUTCFullYear property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('setUTCFullYear')) { - $FAIL('#2: The Date.prototype.setUTCFullYear property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T3.js deleted file mode 100644 index e2084b9d56..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.41_A1_T3; - * @section: 15.9.5.41; - * @assertion: The Date.prototype property "setUTCFullYear" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.41_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A1_T3.js", - -assertion: "The Date.prototype property \"setUTCFullYear\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('setUTCFullYear')) { - $ERROR('#1: The Date.prototype.setUTCFullYear property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "setUTCFullYear") { - $ERROR('#2: The Date.prototype.setUTCFullYear has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A2_T1.js deleted file mode 100644 index effbee6223..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.41_A2_T1; - * @section: 15.9.5.41; - * @assertion: The "length" property of the "setUTCFullYear" is 3; - * @description: The "length" property of the "setUTCFullYear" is 3; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.41_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A2_T1.js", - -assertion: "The \"length\" property of the \"setUTCFullYear\" is 3", - -description: "The \"length\" property of the \"setUTCFullYear\" is 3", - -test: function testcase() { - if(Date.prototype.setUTCFullYear.hasOwnProperty("length") !== true){ - $ERROR('#1: The setUTCFullYear has a "length" property'); -} - -if(Date.prototype.setUTCFullYear.length !== 3){ - $ERROR('#2: The "length" property of the setUTCFullYear is 3'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T1.js deleted file mode 100644 index 3ffb4d3cf3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.41_A3_T1; - * @section: 15.9.5.41; - * @assertion: The Date.prototype.setUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.41_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T1.js", - -assertion: "The Date.prototype.setUTCFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.setUTCFullYear.length; -Date.prototype.setUTCFullYear.length = 1; -if (Date.prototype.setUTCFullYear.length !== x) { - $ERROR('#1: The Date.prototype.setUTCFullYear.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T2.js deleted file mode 100644 index b2f1b7e360..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.41_A3_T2; - * @section: 15.9.5.41; - * @assertion: The Date.prototype.setUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.41_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T2.js", - -assertion: "The Date.prototype.setUTCFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.setUTCFullYear.length !== false) { - $ERROR('#1: The Date.prototype.setUTCFullYear.length property has the attributes DontDelete'); -} - -if (!Date.prototype.setUTCFullYear.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.setUTCFullYear.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T3.js deleted file mode 100644 index df6d6c841f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.41_A3_T3; - * @section: 15.9.5.41; - * @assertion: The Date.prototype.setUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.41_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.41_Date.prototype.setUTCFullYear/S15.9.5.41_A3_T3.js", - -assertion: "The Date.prototype.setUTCFullYear property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.setUTCFullYear.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.setUTCFullYear.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.setUTCFullYear) { - if(x === "length") { - $ERROR('#2: The Date.prototype.setUTCFullYear.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T1.js deleted file mode 100644 index 25ac82a936..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.42_A1_T1; - * @section: 15.9.5.42; - * @assertion: The Date.prototype property "toUTCString" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.42_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T1.js", - -assertion: "The Date.prototype property \"toUTCString\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toUTCString; -if(x === 1) - Date.prototype.toUTCString = 2; -else - Date.prototype.toUTCString = 1; -if (Date.prototype.toUTCString === x) { - $ERROR('#1: The Date.prototype.toUTCString has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T2.js deleted file mode 100644 index 435ac1af3e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.42_A1_T2; - * @section: 15.9.5.42; - * @assertion: The Date.prototype property "toUTCString" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.42_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T2.js", - -assertion: "The Date.prototype property \"toUTCString\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toUTCString === false) { - $ERROR('#1: The Date.prototype.toUTCString property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('toUTCString')) { - $FAIL('#2: The Date.prototype.toUTCString property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T3.js deleted file mode 100644 index ad40056699..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.42_A1_T3; - * @section: 15.9.5.42; - * @assertion: The Date.prototype property "toUTCString" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.42_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A1_T3.js", - -assertion: "The Date.prototype property \"toUTCString\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('toUTCString')) { - $ERROR('#1: The Date.prototype.toUTCString property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "toUTCString") { - $ERROR('#2: The Date.prototype.toUTCString has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A2_T1.js deleted file mode 100644 index 581e306c63..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.42_A2_T1; - * @section: 15.9.5.42; - * @assertion: The "length" property of the "toUTCString" is 0; - * @description: The "length" property of the "toUTCString" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.42_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A2_T1.js", - -assertion: "The \"length\" property of the \"toUTCString\" is 0", - -description: "The \"length\" property of the \"toUTCString\" is 0", - -test: function testcase() { - if(Date.prototype.toUTCString.hasOwnProperty("length") !== true){ - $ERROR('#1: The toUTCString has a "length" property'); -} - -if(Date.prototype.toUTCString.length !== 0){ - $ERROR('#2: The "length" property of the toUTCString is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T1.js deleted file mode 100644 index 62cf7e31a4..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.42_A3_T1; - * @section: 15.9.5.42; - * @assertion: The Date.prototype.toUTCString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.42_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T1.js", - -assertion: "The Date.prototype.toUTCString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toUTCString.length; -Date.prototype.toUTCString.length = 1; -if (Date.prototype.toUTCString.length !== x) { - $ERROR('#1: The Date.prototype.toUTCString.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T2.js deleted file mode 100644 index f6c497f7b1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.42_A3_T2; - * @section: 15.9.5.42; - * @assertion: The Date.prototype.toUTCString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.42_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T2.js", - -assertion: "The Date.prototype.toUTCString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toUTCString.length !== false) { - $ERROR('#1: The Date.prototype.toUTCString.length property has the attributes DontDelete'); -} - -if (!Date.prototype.toUTCString.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.toUTCString.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T3.js deleted file mode 100644 index 789a0ae8bb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.42_A3_T3; - * @section: 15.9.5.42; - * @assertion: The Date.prototype.toUTCString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.42_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.42_Date.prototype.toUTCString/S15.9.5.42_A3_T3.js", - -assertion: "The Date.prototype.toUTCString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.toUTCString.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.toUTCString.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.toUTCString) { - if(x === "length") { - $ERROR('#2: The Date.prototype.toUTCString.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T1.js deleted file mode 100644 index 21c26d2cca..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.4_A1_T1; - * @section: 15.9.5.4; - * @assertion: The Date.prototype property "toTimeString" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.4_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T1.js", - -assertion: "The Date.prototype property \"toTimeString\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toTimeString; -if(x === 1) - Date.prototype.toTimeString = 2; -else - Date.prototype.toTimeString = 1; -if (Date.prototype.toTimeString === x) { - $ERROR('#1: The Date.prototype.toTimeString has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T2.js deleted file mode 100644 index 63bc7fe7f5..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.4_A1_T2; - * @section: 15.9.5.4; - * @assertion: The Date.prototype property "toTimeString" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.4_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T2.js", - -assertion: "The Date.prototype property \"toTimeString\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toTimeString === false) { - $ERROR('#1: The Date.prototype.toTimeString property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('toTimeString')) { - $FAIL('#2: The Date.prototype.toTimeString property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T3.js deleted file mode 100644 index c8b44b691b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.4_A1_T3; - * @section: 15.9.5.4; - * @assertion: The Date.prototype property "toTimeString" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.4_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A1_T3.js", - -assertion: "The Date.prototype property \"toTimeString\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('toTimeString')) { - $ERROR('#1: The Date.prototype.toTimeString property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "toTimeString") { - $ERROR('#2: The Date.prototype.toTimeString has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A2_T1.js deleted file mode 100644 index c08fcef3ad..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.4_A2_T1; - * @section: 15.9.5.4; - * @assertion: The "length" property of the "toTimeString" is 0; - * @description: The "length" property of the "toTimeString" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.4_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A2_T1.js", - -assertion: "The \"length\" property of the \"toTimeString\" is 0", - -description: "The \"length\" property of the \"toTimeString\" is 0", - -test: function testcase() { - if(Date.prototype.toTimeString.hasOwnProperty("length") !== true){ - $ERROR('#1: The toTimeString has a "length" property'); -} - -if(Date.prototype.toTimeString.length !== 0){ - $ERROR('#2: The "length" property of the toTimeString is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T1.js deleted file mode 100644 index dd3d16bd2f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.4_A3_T1; - * @section: 15.9.5.4; - * @assertion: The Date.prototype.toTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.4_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T1.js", - -assertion: "The Date.prototype.toTimeString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toTimeString.length; -Date.prototype.toTimeString.length = 1; -if (Date.prototype.toTimeString.length !== x) { - $ERROR('#1: The Date.prototype.toTimeString.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T2.js deleted file mode 100644 index 8b3efb1176..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.4_A3_T2; - * @section: 15.9.5.4; - * @assertion: The Date.prototype.toTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.4_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T2.js", - -assertion: "The Date.prototype.toTimeString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toTimeString.length !== false) { - $ERROR('#1: The Date.prototype.toTimeString.length property has the attributes DontDelete'); -} - -if (!Date.prototype.toTimeString.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.toTimeString.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T3.js deleted file mode 100644 index f77f8f63be..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.4_A3_T3; - * @section: 15.9.5.4; - * @assertion: The Date.prototype.toTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.4_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.4_Date.prototype.toTimeString/S15.9.5.4_A3_T3.js", - -assertion: "The Date.prototype.toTimeString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.toTimeString.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.toTimeString.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.toTimeString) { - if(x === "length") { - $ERROR('#2: The Date.prototype.toTimeString.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T1.js deleted file mode 100644 index 36ba46e9cb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.5_A1_T1; - * @section: 15.9.5.5; - * @assertion: The Date.prototype property "toLocaleString" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.5_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T1.js", - -assertion: "The Date.prototype property \"toLocaleString\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toLocaleString; -if(x === 1) - Date.prototype.toLocaleString = 2; -else - Date.prototype.toLocaleString = 1; -if (Date.prototype.toLocaleString === x) { - $ERROR('#1: The Date.prototype.toLocaleString has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T2.js deleted file mode 100644 index 703b13356e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.5_A1_T2; - * @section: 15.9.5.5; - * @assertion: The Date.prototype property "toLocaleString" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.5_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T2.js", - -assertion: "The Date.prototype property \"toLocaleString\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toLocaleString === false) { - $ERROR('#1: The Date.prototype.toLocaleString property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('toLocaleString')) { - $FAIL('#2: The Date.prototype.toLocaleString property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T3.js deleted file mode 100644 index d5c0ad649e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.5_A1_T3; - * @section: 15.9.5.5; - * @assertion: The Date.prototype property "toLocaleString" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.5_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A1_T3.js", - -assertion: "The Date.prototype property \"toLocaleString\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('toLocaleString')) { - $ERROR('#1: The Date.prototype.toLocaleString property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "toLocaleString") { - $ERROR('#2: The Date.prototype.toLocaleString has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A2_T1.js deleted file mode 100644 index 21181d3879..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.5_A2_T1; - * @section: 15.9.5.5; - * @assertion: The "length" property of the "toLocaleString" is 0; - * @description: The "length" property of the "toLocaleString" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.5_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A2_T1.js", - -assertion: "The \"length\" property of the \"toLocaleString\" is 0", - -description: "The \"length\" property of the \"toLocaleString\" is 0", - -test: function testcase() { - if(Date.prototype.toLocaleString.hasOwnProperty("length") !== true){ - $ERROR('#1: The toLocaleString has a "length" property'); -} - -if(Date.prototype.toLocaleString.length !== 0){ - $ERROR('#2: The "length" property of the toLocaleString is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T1.js deleted file mode 100644 index 92e07c4221..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.5_A3_T1; - * @section: 15.9.5.5; - * @assertion: The Date.prototype.toLocaleString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.5_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T1.js", - -assertion: "The Date.prototype.toLocaleString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toLocaleString.length; -Date.prototype.toLocaleString.length = 1; -if (Date.prototype.toLocaleString.length !== x) { - $ERROR('#1: The Date.prototype.toLocaleString.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T2.js deleted file mode 100644 index 1fcd2a6a86..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.5_A3_T2; - * @section: 15.9.5.5; - * @assertion: The Date.prototype.toLocaleString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.5_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T2.js", - -assertion: "The Date.prototype.toLocaleString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toLocaleString.length !== false) { - $ERROR('#1: The Date.prototype.toLocaleString.length property has the attributes DontDelete'); -} - -if (!Date.prototype.toLocaleString.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.toLocaleString.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T3.js deleted file mode 100644 index 25df1cbb73..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.5_A3_T3; - * @section: 15.9.5.5; - * @assertion: The Date.prototype.toLocaleString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.5_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.5_Date.prototype.toLocaleString/S15.9.5.5_A3_T3.js", - -assertion: "The Date.prototype.toLocaleString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.toLocaleString.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.toLocaleString.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.toLocaleString) { - if(x === "length") { - $ERROR('#2: The Date.prototype.toLocaleString.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T1.js deleted file mode 100644 index 5c3777f658..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.6_A1_T1; - * @section: 15.9.5.6; - * @assertion: The Date.prototype property "toLocaleDateString" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.6_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T1.js", - -assertion: "The Date.prototype property \"toLocaleDateString\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toLocaleDateString; -if(x === 1) - Date.prototype.toLocaleDateString = 2; -else - Date.prototype.toLocaleDateString = 1; -if (Date.prototype.toLocaleDateString === x) { - $ERROR('#1: The Date.prototype.toLocaleDateString has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T2.js deleted file mode 100644 index 40076b2ed7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.6_A1_T2; - * @section: 15.9.5.6; - * @assertion: The Date.prototype property "toLocaleDateString" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.6_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T2.js", - -assertion: "The Date.prototype property \"toLocaleDateString\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toLocaleDateString === false) { - $ERROR('#1: The Date.prototype.toLocaleDateString property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('toLocaleDateString')) { - $FAIL('#2: The Date.prototype.toLocaleDateString property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T3.js deleted file mode 100644 index 2d9004fa49..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.6_A1_T3; - * @section: 15.9.5.6; - * @assertion: The Date.prototype property "toLocaleDateString" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.6_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A1_T3.js", - -assertion: "The Date.prototype property \"toLocaleDateString\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('toLocaleDateString')) { - $ERROR('#1: The Date.prototype.toLocaleDateString property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "toLocaleDateString") { - $ERROR('#2: The Date.prototype.toLocaleDateString has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A2_T1.js deleted file mode 100644 index 851fd806f0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.6_A2_T1; - * @section: 15.9.5.6; - * @assertion: The "length" property of the "toLocaleDateString" is 0; - * @description: The "length" property of the "toLocaleDateString" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.6_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A2_T1.js", - -assertion: "The \"length\" property of the \"toLocaleDateString\" is 0", - -description: "The \"length\" property of the \"toLocaleDateString\" is 0", - -test: function testcase() { - if(Date.prototype.toLocaleDateString.hasOwnProperty("length") !== true){ - $ERROR('#1: The toLocaleDateString has a "length" property'); -} - -if(Date.prototype.toLocaleDateString.length !== 0){ - $ERROR('#2: The "length" property of the toLocaleDateString is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T1.js deleted file mode 100644 index 4608a110b1..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.6_A3_T1; - * @section: 15.9.5.6; - * @assertion: The Date.prototype.toLocaleDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.6_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T1.js", - -assertion: "The Date.prototype.toLocaleDateString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toLocaleDateString.length; -Date.prototype.toLocaleDateString.length = 1; -if (Date.prototype.toLocaleDateString.length !== x) { - $ERROR('#1: The Date.prototype.toLocaleDateString.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T2.js deleted file mode 100644 index ceab0dd5dd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.6_A3_T2; - * @section: 15.9.5.6; - * @assertion: The Date.prototype.toLocaleDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.6_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T2.js", - -assertion: "The Date.prototype.toLocaleDateString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toLocaleDateString.length !== false) { - $ERROR('#1: The Date.prototype.toLocaleDateString.length property has the attributes DontDelete'); -} - -if (!Date.prototype.toLocaleDateString.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.toLocaleDateString.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T3.js deleted file mode 100644 index 6f8e91a3f6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.6_A3_T3; - * @section: 15.9.5.6; - * @assertion: The Date.prototype.toLocaleDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.6_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.6_Date.prototype.toLocaleDateString/S15.9.5.6_A3_T3.js", - -assertion: "The Date.prototype.toLocaleDateString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.toLocaleDateString.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.toLocaleDateString.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.toLocaleDateString) { - if(x === "length") { - $ERROR('#2: The Date.prototype.toLocaleDateString.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T1.js deleted file mode 100644 index ad9d0adb99..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.7_A1_T1; - * @section: 15.9.5.7; - * @assertion: The Date.prototype property "toLocaleTimeString" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.7_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T1.js", - -assertion: "The Date.prototype property \"toLocaleTimeString\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toLocaleTimeString; -if(x === 1) - Date.prototype.toLocaleTimeString = 2; -else - Date.prototype.toLocaleTimeString = 1; -if (Date.prototype.toLocaleTimeString === x) { - $ERROR('#1: The Date.prototype.toLocaleTimeString has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T2.js deleted file mode 100644 index 579cfb0dea..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.7_A1_T2; - * @section: 15.9.5.7; - * @assertion: The Date.prototype property "toLocaleTimeString" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.7_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T2.js", - -assertion: "The Date.prototype property \"toLocaleTimeString\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toLocaleTimeString === false) { - $ERROR('#1: The Date.prototype.toLocaleTimeString property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('toLocaleTimeString')) { - $FAIL('#2: The Date.prototype.toLocaleTimeString property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T3.js deleted file mode 100644 index ed1d2e073b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.7_A1_T3; - * @section: 15.9.5.7; - * @assertion: The Date.prototype property "toLocaleTimeString" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.7_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A1_T3.js", - -assertion: "The Date.prototype property \"toLocaleTimeString\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('toLocaleTimeString')) { - $ERROR('#1: The Date.prototype.toLocaleTimeString property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "toLocaleTimeString") { - $ERROR('#2: The Date.prototype.toLocaleTimeString has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A2_T1.js deleted file mode 100644 index c3ba211185..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.7_A2_T1; - * @section: 15.9.5.7; - * @assertion: The "length" property of the "toLocaleTimeString" is 0; - * @description: The "length" property of the "toLocaleTimeString" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.7_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A2_T1.js", - -assertion: "The \"length\" property of the \"toLocaleTimeString\" is 0", - -description: "The \"length\" property of the \"toLocaleTimeString\" is 0", - -test: function testcase() { - if(Date.prototype.toLocaleTimeString.hasOwnProperty("length") !== true){ - $ERROR('#1: The toLocaleTimeString has a "length" property'); -} - -if(Date.prototype.toLocaleTimeString.length !== 0){ - $ERROR('#2: The "length" property of the toLocaleTimeString is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T1.js deleted file mode 100644 index 523e25a8ef..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.7_A3_T1; - * @section: 15.9.5.7; - * @assertion: The Date.prototype.toLocaleTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.7_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T1.js", - -assertion: "The Date.prototype.toLocaleTimeString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.toLocaleTimeString.length; -Date.prototype.toLocaleTimeString.length = 1; -if (Date.prototype.toLocaleTimeString.length !== x) { - $ERROR('#1: The Date.prototype.toLocaleTimeString.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T2.js deleted file mode 100644 index 46a020a07c..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.7_A3_T2; - * @section: 15.9.5.7; - * @assertion: The Date.prototype.toLocaleTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.7_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T2.js", - -assertion: "The Date.prototype.toLocaleTimeString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.toLocaleTimeString.length !== false) { - $ERROR('#1: The Date.prototype.toLocaleTimeString.length property has the attributes DontDelete'); -} - -if (!Date.prototype.toLocaleTimeString.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.toLocaleTimeString.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T3.js deleted file mode 100644 index 824a2840aa..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.7_A3_T3; - * @section: 15.9.5.7; - * @assertion: The Date.prototype.toLocaleTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.7_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.7_Date.prototype.toLocaleTimeString/S15.9.5.7_A3_T3.js", - -assertion: "The Date.prototype.toLocaleTimeString property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.toLocaleTimeString.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.toLocaleTimeString.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.toLocaleTimeString) { - if(x === "length") { - $ERROR('#2: The Date.prototype.toLocaleTimeString.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T1.js deleted file mode 100644 index 94ebb0d58a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.8_A1_T1; - * @section: 15.9.5.8; - * @assertion: The Date.prototype property "valueOf" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.8_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T1.js", - -assertion: "The Date.prototype property \"valueOf\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.valueOf; -if(x === 1) - Date.prototype.valueOf = 2; -else - Date.prototype.valueOf = 1; -if (Date.prototype.valueOf === x) { - $ERROR('#1: The Date.prototype.valueOf has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T2.js deleted file mode 100644 index 0afee1f507..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.8_A1_T2; - * @section: 15.9.5.8; - * @assertion: The Date.prototype property "valueOf" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.8_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T2.js", - -assertion: "The Date.prototype property \"valueOf\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.valueOf === false) { - $ERROR('#1: The Date.prototype.valueOf property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('valueOf')) { - $FAIL('#2: The Date.prototype.valueOf property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T3.js deleted file mode 100644 index bcff5b04e3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.8_A1_T3; - * @section: 15.9.5.8; - * @assertion: The Date.prototype property "valueOf" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.8_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A1_T3.js", - -assertion: "The Date.prototype property \"valueOf\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('valueOf')) { - $ERROR('#1: The Date.prototype.valueOf property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "valueOf") { - $ERROR('#2: The Date.prototype.valueOf has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A2_T1.js deleted file mode 100644 index 752ca5b388..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.8_A2_T1; - * @section: 15.9.5.8; - * @assertion: The "length" property of the "valueOf" is 0; - * @description: The "length" property of the "valueOf" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.8_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A2_T1.js", - -assertion: "The \"length\" property of the \"valueOf\" is 0", - -description: "The \"length\" property of the \"valueOf\" is 0", - -test: function testcase() { - if(Date.prototype.valueOf.hasOwnProperty("length") !== true){ - $ERROR('#1: The valueOf has a "length" property'); -} - -if(Date.prototype.valueOf.length !== 0){ - $ERROR('#2: The "length" property of the valueOf is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T1.js deleted file mode 100644 index bcb82cb9ab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.8_A3_T1; - * @section: 15.9.5.8; - * @assertion: The Date.prototype.valueOf property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.8_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T1.js", - -assertion: "The Date.prototype.valueOf property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.valueOf.length; -Date.prototype.valueOf.length = 1; -if (Date.prototype.valueOf.length !== x) { - $ERROR('#1: The Date.prototype.valueOf.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T2.js deleted file mode 100644 index 37e3a6eecd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.8_A3_T2; - * @section: 15.9.5.8; - * @assertion: The Date.prototype.valueOf property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.8_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T2.js", - -assertion: "The Date.prototype.valueOf property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.valueOf.length !== false) { - $ERROR('#1: The Date.prototype.valueOf.length property has the attributes DontDelete'); -} - -if (!Date.prototype.valueOf.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.valueOf.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T3.js deleted file mode 100644 index 72daed8634..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.8_A3_T3; - * @section: 15.9.5.8; - * @assertion: The Date.prototype.valueOf property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.8_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.8_Date.prototype.valueOf/S15.9.5.8_A3_T3.js", - -assertion: "The Date.prototype.valueOf property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.valueOf.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.valueOf.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.valueOf) { - if(x === "length") { - $ERROR('#2: The Date.prototype.valueOf.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T1.js deleted file mode 100644 index e1eff6841d..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T1.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.9_A1_T1; - * @section: 15.9.5.9; - * @assertion: The Date.prototype property "getTime" has { DontEnum } attributes; - * @description: Checking absence of ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.9_A1_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T1.js", - -assertion: "The Date.prototype property \"getTime\" has { DontEnum } attributes", - -description: "Checking absence of ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getTime; -if(x === 1) - Date.prototype.getTime = 2; -else - Date.prototype.getTime = 1; -if (Date.prototype.getTime === x) { - $ERROR('#1: The Date.prototype.getTime has not the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T2.js deleted file mode 100644 index 3dfaef5954..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.9_A1_T2; - * @section: 15.9.5.9; - * @assertion: The Date.prototype property "getTime" has { DontEnum } attributes; - * @description: Checking absence of DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.9_A1_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T2.js", - -assertion: "The Date.prototype property \"getTime\" has { DontEnum } attributes", - -description: "Checking absence of DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getTime === false) { - $ERROR('#1: The Date.prototype.getTime property has not the attributes DontDelete'); -} - -if (Date.prototype.hasOwnProperty('getTime')) { - $FAIL('#2: The Date.prototype.getTime property has not the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T3.js deleted file mode 100644 index ee1f8c98b3..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.9_A1_T3; - * @section: 15.9.5.9; - * @assertion: The Date.prototype property "getTime" has { DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.9_A1_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A1_T3.js", - -assertion: "The Date.prototype property \"getTime\" has { DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.propertyIsEnumerable('getTime')) { - $ERROR('#1: The Date.prototype.getTime property has the attribute DontEnum'); -} - -for(x in Date.prototype) { - if(x === "getTime") { - $ERROR('#2: The Date.prototype.getTime has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A2_T1.js deleted file mode 100644 index 382f0d8ccc..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A2_T1.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.9_A2_T1; - * @section: 15.9.5.9; - * @assertion: The "length" property of the "getTime" is 0; - * @description: The "length" property of the "getTime" is 0; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.9_A2_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A2_T1.js", - -assertion: "The \"length\" property of the \"getTime\" is 0", - -description: "The \"length\" property of the \"getTime\" is 0", - -test: function testcase() { - if(Date.prototype.getTime.hasOwnProperty("length") !== true){ - $ERROR('#1: The getTime has a "length" property'); -} - -if(Date.prototype.getTime.length !== 0){ - $ERROR('#2: The "length" property of the getTime is 0'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T1.js deleted file mode 100644 index ee74225c8b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T1.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.9_A3_T1; - * @section: 15.9.5.9; - * @assertion: The Date.prototype.getTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking ReadOnly attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.9_A3_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T1.js", - -assertion: "The Date.prototype.getTime property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking ReadOnly attribute", - -test: function testcase() { - x = Date.prototype.getTime.length; -Date.prototype.getTime.length = 1; -if (Date.prototype.getTime.length !== x) { - $ERROR('#1: The Date.prototype.getTime.length has the attribute ReadOnly'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T2.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T2.js deleted file mode 100644 index 223d5b1f06..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T2.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.9_A3_T2; - * @section: 15.9.5.9; - * @assertion: The Date.prototype.getTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontDelete attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.9_A3_T2", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T2.js", - -assertion: "The Date.prototype.getTime property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontDelete attribute", - -test: function testcase() { - if (delete Date.prototype.getTime.length !== false) { - $ERROR('#1: The Date.prototype.getTime.length property has the attributes DontDelete'); -} - -if (!Date.prototype.getTime.hasOwnProperty('length')) { - $FAIL('#2: The Date.prototype.getTime.length property has the attributes DontDelete'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T3.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T3.js deleted file mode 100644 index c62b948c1f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T3.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5.9_A3_T3; - * @section: 15.9.5.9; - * @assertion: The Date.prototype.getTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes; - * @description: Checking DontEnum attribute; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5.9_A3_T3", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.9_Date.prototype.getTime/S15.9.5.9_A3_T3.js", - -assertion: "The Date.prototype.getTime property \"length\" has { ReadOnly, DontDelete, DontEnum } attributes", - -description: "Checking DontEnum attribute", - -test: function testcase() { - if (Date.prototype.getTime.propertyIsEnumerable('length')) { - $ERROR('#1: The Date.prototype.getTime.length property has the attribute DontEnum'); -} - -for(x in Date.prototype.getTime) { - if(x === "length") { - $ERROR('#2: The Date.prototype.getTime.length has the attribute DontEnum'); - } -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A01_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A01_T1.js deleted file mode 100644 index 7e817fbea8..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A01_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A01_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "constructor"; - * @description: The Date.prototype has the property "constructor"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A01_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A01_T1.js", - -assertion: "The Date.prototype has the property \"constructor\"", - -description: "The Date.prototype has the property \"constructor\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("constructor") !== true){ - $ERROR('#1: The Date.prototype has the property "constructor"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A02_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A02_T1.js deleted file mode 100644 index 915ab69e9b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A02_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A02_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "toString"; - * @description: The Date.prototype has the property "toString"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A02_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A02_T1.js", - -assertion: "The Date.prototype has the property \"toString\"", - -description: "The Date.prototype has the property \"toString\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("toString") !== true){ - $ERROR('#1: The Date.prototype has the property "toString"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A03_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A03_T1.js deleted file mode 100644 index 173193f9ed..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A03_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A03_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "toDateString"; - * @description: The Date.prototype has the property "toDateString"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A03_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A03_T1.js", - -assertion: "The Date.prototype has the property \"toDateString\"", - -description: "The Date.prototype has the property \"toDateString\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("toDateString") !== true){ - $ERROR('#1: The Date.prototype has the property "toDateString"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A04_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A04_T1.js deleted file mode 100644 index 90d0b22eab..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A04_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A04_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "toTimeString"; - * @description: The Date.prototype has the property "toTimeString"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A04_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A04_T1.js", - -assertion: "The Date.prototype has the property \"toTimeString\"", - -description: "The Date.prototype has the property \"toTimeString\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("toTimeString") !== true){ - $ERROR('#1: The Date.prototype has the property "toTimeString"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A05_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A05_T1.js deleted file mode 100644 index 94d12fe28f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A05_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A05_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "toLocaleString"; - * @description: The Date.prototype has the property "toLocaleString"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A05_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A05_T1.js", - -assertion: "The Date.prototype has the property \"toLocaleString\"", - -description: "The Date.prototype has the property \"toLocaleString\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("toLocaleString") !== true){ - $ERROR('#1: The Date.prototype has the property "toLocaleString"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A06_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A06_T1.js deleted file mode 100644 index f224600775..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A06_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A06_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "toLocaleDateString"; - * @description: The Date.prototype has the property "toLocaleDateString"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A06_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A06_T1.js", - -assertion: "The Date.prototype has the property \"toLocaleDateString\"", - -description: "The Date.prototype has the property \"toLocaleDateString\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("toLocaleDateString") !== true){ - $ERROR('#1: The Date.prototype has the property "toLocaleDateString"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A07_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A07_T1.js deleted file mode 100644 index bec766899b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A07_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A07_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "toLocaleTimeString"; - * @description: The Date.prototype has the property "toLocaleTimeString"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A07_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A07_T1.js", - -assertion: "The Date.prototype has the property \"toLocaleTimeString\"", - -description: "The Date.prototype has the property \"toLocaleTimeString\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("toLocaleTimeString") !== true){ - $ERROR('#1: The Date.prototype has the property "toLocaleTimeString"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A08_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A08_T1.js deleted file mode 100644 index b0f896e1bb..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A08_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A08_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "valueOf"; - * @description: The Date.prototype has the property "valueOf"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A08_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A08_T1.js", - -assertion: "The Date.prototype has the property \"valueOf\"", - -description: "The Date.prototype has the property \"valueOf\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("valueOf") !== true){ - $ERROR('#1: The Date.prototype has the property "valueOf"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A09_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A09_T1.js deleted file mode 100644 index 6fb676d688..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A09_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A09_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getTime"; - * @description: The Date.prototype has the property "getTime"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A09_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A09_T1.js", - -assertion: "The Date.prototype has the property \"getTime\"", - -description: "The Date.prototype has the property \"getTime\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getTime") !== true){ - $ERROR('#1: The Date.prototype has the property "getTime"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A10_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A10_T1.js deleted file mode 100644 index a62bbbfe4b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A10_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A10_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getFullYear"; - * @description: The Date.prototype has the property "getFullYear"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A10_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A10_T1.js", - -assertion: "The Date.prototype has the property \"getFullYear\"", - -description: "The Date.prototype has the property \"getFullYear\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getFullYear") !== true){ - $ERROR('#1: The Date.prototype has the property "getFullYear"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A11_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A11_T1.js deleted file mode 100644 index 5488282fc7..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A11_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A11_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getUTCFullYear"; - * @description: The Date.prototype has the property "getUTCFullYear"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A11_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A11_T1.js", - -assertion: "The Date.prototype has the property \"getUTCFullYear\"", - -description: "The Date.prototype has the property \"getUTCFullYear\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getUTCFullYear") !== true){ - $ERROR('#1: The Date.prototype has the property "getUTCFullYear"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A12_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A12_T1.js deleted file mode 100644 index b12a5a8a35..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A12_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A12_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getMonth"; - * @description: The Date.prototype has the property "getMonth"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A12_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A12_T1.js", - -assertion: "The Date.prototype has the property \"getMonth\"", - -description: "The Date.prototype has the property \"getMonth\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getMonth") !== true){ - $ERROR('#1: The Date.prototype has the property "getMonth"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A13_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A13_T1.js deleted file mode 100644 index 71a3069ee0..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A13_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A13_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getUTCMonth"; - * @description: The Date.prototype has the property "getUTCMonth"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A13_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A13_T1.js", - -assertion: "The Date.prototype has the property \"getUTCMonth\"", - -description: "The Date.prototype has the property \"getUTCMonth\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getUTCMonth") !== true){ - $ERROR('#1: The Date.prototype has the property "getUTCMonth"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A14_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A14_T1.js deleted file mode 100644 index 6f2ad6193a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A14_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A14_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getDate"; - * @description: The Date.prototype has the property "getDate"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A14_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A14_T1.js", - -assertion: "The Date.prototype has the property \"getDate\"", - -description: "The Date.prototype has the property \"getDate\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getDate") !== true){ - $ERROR('#1: The Date.prototype has the property "getDate"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A15_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A15_T1.js deleted file mode 100644 index 61b82fc99e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A15_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A15_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getUTCDate"; - * @description: The Date.prototype has the property "getUTCDate"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A15_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A15_T1.js", - -assertion: "The Date.prototype has the property \"getUTCDate\"", - -description: "The Date.prototype has the property \"getUTCDate\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getUTCDate") !== true){ - $ERROR('#1: The Date.prototype has the property "getUTCDate"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js deleted file mode 100644 index df16d408ae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A16_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getDay"; - * @description: The Date.prototype has the property "getDay"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A16_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js", - -assertion: "The Date.prototype has the property \"getDay\"", - -description: "The Date.prototype has the property \"getDay\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getDay") !== true){ - $ERROR('#1: The Date.prototype has the property "getDay"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A17_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A17_T1.js deleted file mode 100644 index d8c15f2a30..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A17_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A17_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getUTCDay"; - * @description: The Date.prototype has the property "getUTCDay"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A17_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A17_T1.js", - -assertion: "The Date.prototype has the property \"getUTCDay\"", - -description: "The Date.prototype has the property \"getUTCDay\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getUTCDay") !== true){ - $ERROR('#1: The Date.prototype has the property "getUTCDay"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A18_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A18_T1.js deleted file mode 100644 index 2887c56548..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A18_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A18_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getHours"; - * @description: The Date.prototype has the property "getHours"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A18_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A18_T1.js", - -assertion: "The Date.prototype has the property \"getHours\"", - -description: "The Date.prototype has the property \"getHours\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getHours") !== true){ - $ERROR('#1: The Date.prototype has the property "getHours"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A19_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A19_T1.js deleted file mode 100644 index 6873fee2ec..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A19_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A19_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getUTCHours"; - * @description: The Date.prototype has the property "getUTCHours"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A19_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A19_T1.js", - -assertion: "The Date.prototype has the property \"getUTCHours\"", - -description: "The Date.prototype has the property \"getUTCHours\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getUTCHours") !== true){ - $ERROR('#1: The Date.prototype has the property "getUTCHours"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A20_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A20_T1.js deleted file mode 100644 index f4f051284e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A20_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A20_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getMinutes"; - * @description: The Date.prototype has the property "getMinutes"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A20_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A20_T1.js", - -assertion: "The Date.prototype has the property \"getMinutes\"", - -description: "The Date.prototype has the property \"getMinutes\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getMinutes") !== true){ - $ERROR('#1: The Date.prototype has the property "getMinutes"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A21_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A21_T1.js deleted file mode 100644 index 9ea2b2959e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A21_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A21_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getUTCMinutes"; - * @description: The Date.prototype has the property "getUTCMinutes"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A21_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A21_T1.js", - -assertion: "The Date.prototype has the property \"getUTCMinutes\"", - -description: "The Date.prototype has the property \"getUTCMinutes\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getUTCMinutes") !== true){ - $ERROR('#1: The Date.prototype has the property "getUTCMinutes"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A22_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A22_T1.js deleted file mode 100644 index 572d4e7e17..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A22_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A22_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getSeconds"; - * @description: The Date.prototype has the property "getSeconds"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A22_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A22_T1.js", - -assertion: "The Date.prototype has the property \"getSeconds\"", - -description: "The Date.prototype has the property \"getSeconds\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getSeconds") !== true){ - $ERROR('#1: The Date.prototype has the property "getSeconds"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A23_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A23_T1.js deleted file mode 100644 index 0dfc7e5412..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A23_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A23_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getUTCSeconds"; - * @description: The Date.prototype has the property "getUTCSeconds"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A23_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A23_T1.js", - -assertion: "The Date.prototype has the property \"getUTCSeconds\"", - -description: "The Date.prototype has the property \"getUTCSeconds\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getUTCSeconds") !== true){ - $ERROR('#1: The Date.prototype has the property "getUTCSeconds"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A24_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A24_T1.js deleted file mode 100644 index 4a13439e7e..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A24_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A24_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getMilliseconds"; - * @description: The Date.prototype has the property "getMilliseconds"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A24_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A24_T1.js", - -assertion: "The Date.prototype has the property \"getMilliseconds\"", - -description: "The Date.prototype has the property \"getMilliseconds\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getMilliseconds") !== true){ - $ERROR('#1: The Date.prototype has the property "getMilliseconds"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A25_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A25_T1.js deleted file mode 100644 index e45ecedb52..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A25_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A25_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getUTCMilliseconds"; - * @description: The Date.prototype has the property "getUTCMilliseconds"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A25_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A25_T1.js", - -assertion: "The Date.prototype has the property \"getUTCMilliseconds\"", - -description: "The Date.prototype has the property \"getUTCMilliseconds\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getUTCMilliseconds") !== true){ - $ERROR('#1: The Date.prototype has the property "getUTCMilliseconds"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A26_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A26_T1.js deleted file mode 100644 index 5416146c23..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A26_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A26_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "getTimezoneOffset"; - * @description: The Date.prototype has the property "getTimezoneOffset"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A26_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A26_T1.js", - -assertion: "The Date.prototype has the property \"getTimezoneOffset\"", - -description: "The Date.prototype has the property \"getTimezoneOffset\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("getTimezoneOffset") !== true){ - $ERROR('#1: The Date.prototype has the property "getTimezoneOffset"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A27_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A27_T1.js deleted file mode 100644 index 25eb3cc112..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A27_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A27_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setTime"; - * @description: The Date.prototype has the property "setTime"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A27_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A27_T1.js", - -assertion: "The Date.prototype has the property \"setTime\"", - -description: "The Date.prototype has the property \"setTime\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setTime") !== true){ - $ERROR('#1: The Date.prototype has the property "setTime"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A28_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A28_T1.js deleted file mode 100644 index 2753ae1934..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A28_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A28_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setMilliseconds"; - * @description: The Date.prototype has the property "setMilliseconds"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A28_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A28_T1.js", - -assertion: "The Date.prototype has the property \"setMilliseconds\"", - -description: "The Date.prototype has the property \"setMilliseconds\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setMilliseconds") !== true){ - $ERROR('#1: The Date.prototype has the property "setMilliseconds"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A29_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A29_T1.js deleted file mode 100644 index 5c84e89c2f..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A29_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A29_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setUTCMilliseconds"; - * @description: The Date.prototype has the property "setUTCMilliseconds"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A29_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A29_T1.js", - -assertion: "The Date.prototype has the property \"setUTCMilliseconds\"", - -description: "The Date.prototype has the property \"setUTCMilliseconds\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setUTCMilliseconds") !== true){ - $ERROR('#1: The Date.prototype has the property "setUTCMilliseconds"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A30_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A30_T1.js deleted file mode 100644 index cb656c66bd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A30_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A30_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setSeconds"; - * @description: The Date.prototype has the property "setSeconds"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A30_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A30_T1.js", - -assertion: "The Date.prototype has the property \"setSeconds\"", - -description: "The Date.prototype has the property \"setSeconds\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setSeconds") !== true){ - $ERROR('#1: The Date.prototype has the property "setSeconds"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A31_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A31_T1.js deleted file mode 100644 index eb72dd04e9..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A31_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A31_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setUTCSeconds"; - * @description: The Date.prototype has the property "setUTCSeconds"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A31_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A31_T1.js", - -assertion: "The Date.prototype has the property \"setUTCSeconds\"", - -description: "The Date.prototype has the property \"setUTCSeconds\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setUTCSeconds") !== true){ - $ERROR('#1: The Date.prototype has the property "setUTCSeconds"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A32_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A32_T1.js deleted file mode 100644 index aca815fcae..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A32_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A32_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setMinutes"; - * @description: The Date.prototype has the property "setMinutes"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A32_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A32_T1.js", - -assertion: "The Date.prototype has the property \"setMinutes\"", - -description: "The Date.prototype has the property \"setMinutes\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setMinutes") !== true){ - $ERROR('#1: The Date.prototype has the property "setMinutes"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A33_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A33_T1.js deleted file mode 100644 index c6b7ac86f6..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A33_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A33_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setUTCMinutes"; - * @description: The Date.prototype has the property "setUTCMinutes"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A33_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A33_T1.js", - -assertion: "The Date.prototype has the property \"setUTCMinutes\"", - -description: "The Date.prototype has the property \"setUTCMinutes\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setUTCMinutes") !== true){ - $ERROR('#1: The Date.prototype has the property "setUTCMinutes"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A34_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A34_T1.js deleted file mode 100644 index 3490b56d51..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A34_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A34_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setHours"; - * @description: The Date.prototype has the property "setHours"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A34_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A34_T1.js", - -assertion: "The Date.prototype has the property \"setHours\"", - -description: "The Date.prototype has the property \"setHours\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setHours") !== true){ - $ERROR('#1: The Date.prototype has the property "setHours"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A35_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A35_T1.js deleted file mode 100644 index da00c6a110..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A35_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A35_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setUTCHours"; - * @description: The Date.prototype has the property "setUTCHours"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A35_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A35_T1.js", - -assertion: "The Date.prototype has the property \"setUTCHours\"", - -description: "The Date.prototype has the property \"setUTCHours\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setUTCHours") !== true){ - $ERROR('#1: The Date.prototype has the property "setUTCHours"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A36_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A36_T1.js deleted file mode 100644 index 79ec47f474..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A36_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A36_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setDate"; - * @description: The Date.prototype has the property "setDate"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A36_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A36_T1.js", - -assertion: "The Date.prototype has the property \"setDate\"", - -description: "The Date.prototype has the property \"setDate\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setDate") !== true){ - $ERROR('#1: The Date.prototype has the property "setDate"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A37_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A37_T1.js deleted file mode 100644 index dd5d7b1934..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A37_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A37_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setUTCDate"; - * @description: The Date.prototype has the property "setUTCDate"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A37_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A37_T1.js", - -assertion: "The Date.prototype has the property \"setUTCDate\"", - -description: "The Date.prototype has the property \"setUTCDate\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setUTCDate") !== true){ - $ERROR('#1: The Date.prototype has the property "setUTCDate"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A38_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A38_T1.js deleted file mode 100644 index 5bf524c511..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A38_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A38_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setMonth"; - * @description: The Date.prototype has the property "setMonth"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A38_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A38_T1.js", - -assertion: "The Date.prototype has the property \"setMonth\"", - -description: "The Date.prototype has the property \"setMonth\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setMonth") !== true){ - $ERROR('#1: The Date.prototype has the property "setMonth"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A39_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A39_T1.js deleted file mode 100644 index 20e8b49cbd..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A39_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A39_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setUTCMonth"; - * @description: The Date.prototype has the property "setUTCMonth"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A39_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A39_T1.js", - -assertion: "The Date.prototype has the property \"setUTCMonth\"", - -description: "The Date.prototype has the property \"setUTCMonth\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setUTCMonth") !== true){ - $ERROR('#1: The Date.prototype has the property "setUTCMonth"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A40_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A40_T1.js deleted file mode 100644 index 8199de524b..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A40_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A40_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setFullYear"; - * @description: The Date.prototype has the property "setFullYear"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A40_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A40_T1.js", - -assertion: "The Date.prototype has the property \"setFullYear\"", - -description: "The Date.prototype has the property \"setFullYear\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setFullYear") !== true){ - $ERROR('#1: The Date.prototype has the property "setFullYear"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A41_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A41_T1.js deleted file mode 100644 index 8689d02f2a..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A41_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A41_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "setUTCFullYear"; - * @description: The Date.prototype has the property "setUTCFullYear"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A41_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A41_T1.js", - -assertion: "The Date.prototype has the property \"setUTCFullYear\"", - -description: "The Date.prototype has the property \"setUTCFullYear\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("setUTCFullYear") !== true){ - $ERROR('#1: The Date.prototype has the property "setUTCFullYear"'); -} - - - } -}); - diff --git a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A42_T1.js b/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A42_T1.js deleted file mode 100644 index 5566b0eccf..0000000000 --- a/test/suite/sputnik_converted/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A42_T1.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.9.5_A42_T1; - * @section: 15.9.5; - * @assertion: The Date.prototype has the property "toUTCString"; - * @description: The Date.prototype has the property "toUTCString"; - */ - - -// Converted for Test262 from original Sputnik source - -ES5Harness.registerTest( { -id: "S15.9.5_A42_T1", - -path: "TestCases/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A42_T1.js", - -assertion: "The Date.prototype has the property \"toUTCString\"", - -description: "The Date.prototype has the property \"toUTCString\"", - -test: function testcase() { - if(Date.prototype.hasOwnProperty("toUTCString") !== true){ - $ERROR('#1: The Date.prototype has the property "toUTCString"'); -} - - - } -}); -